1
0
mirror of https://github.com/irssi/irssi.git synced 2024-06-23 06:35:36 +00:00
Commit Graph

548 Commits

Author SHA1 Message Date
Valentin Batz
2998ce6daa Implementation of the meta-[cult] (capitalize words, upcase word, downcase word, transpose words) key-bindings from the TODO by Peder Stray
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3963 dbcabf3a-b0e7-0310-adc4-f8d773084564
2005-08-27 22:06:34 +00:00
Wouter Coekaerts
e24bcb43df fix minor textbuffer leak, Bug 288 by Toby
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3897 dbcabf3a-b0e7-0310-adc4-f8d773084564
2005-08-05 02:24:29 +00:00
Wouter Coekaerts
181f00c15e Handle ^Z better (debian/patches/03sigtstp.dpatch by David Pashley, http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=177108)
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3864 dbcabf3a-b0e7-0310-adc4-f8d773084564
2005-07-17 16:41:23 +00:00
Valentin Batz
721a4ef9ea Fixed bug where pasting is not using the character translation (http://bugs.irssi.org/index.php?id=151) patch by Unknown
Fixed a bug in scripts/autorejoin.pl so you can really use a space or a comma for separating the channels in /set autorejoin_channels
Changed svn:mime-type of .pl and .sh files into the text/x- version, so you can diff them

git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3737 dbcabf3a-b0e7-0310-adc4-f8d773084564
2005-05-09 15:18:24 +00:00
Valentin Batz
b5f93b6164 call setlocale(LC_ALL, ) once in fe-text/irssi.c and not everytime recode_get_charset() is called in recode.c
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3703 dbcabf3a-b0e7-0310-adc4-f8d773084564
2005-01-12 16:40:44 +00:00
Valentin Batz
8ea717b676 Fixed memleak in recode.c, fixed typo in special_vars.txt, fixed bug 105, fixed bug 106
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3295 dbcabf3a-b0e7-0310-adc4-f8d773084564
2004-09-15 12:11:43 +00:00
Timo Sirainen
226a567562 Recode patch by decadix/senneth
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3283 dbcabf3a-b0e7-0310-adc4-f8d773084564
2004-08-20 00:03:40 +00:00
Timo Sirainen
84b23e20c2 Added /MANUAL-WINDOWS alias which removes all automated windowing stuff.
Startup message also mentions it.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3261 dbcabf3a-b0e7-0310-adc4-f8d773084564
2004-07-11 14:41:46 +00:00
Timo Sirainen
5df03ca730 Pasting multibyte chars was buggy, patch by Kuang-che Wu
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3251 dbcabf3a-b0e7-0310-adc4-f8d773084564
2004-05-14 12:25:49 +00:00
Timo Sirainen
db705a8396 Fixes for Chinese multibyte characters handling and cursor movement, patch
by Wang WenRui


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3244 dbcabf3a-b0e7-0310-adc4-f8d773084564
2004-03-24 17:28:55 +00:00
Timo Sirainen
2a12dfb9d0 Added /SET paste_detect_keycount back. Pasting isn't detected until so
many keypresses have been detected as pasting. Also we don't anymore count
repeated keypresses more than once.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3235 dbcabf3a-b0e7-0310-adc4-f8d773084564
2004-03-23 21:17:40 +00:00
Timo Sirainen
827a3a6311 fixed /BIND escape_char
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3234 dbcabf3a-b0e7-0310-adc4-f8d773084564
2004-03-23 20:52:33 +00:00
Timo Sirainen
662c4d30ab add space between merged lines
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3217 dbcabf3a-b0e7-0310-adc4-f8d773084564
2004-01-24 22:08:56 +00:00
Timo Sirainen
3ccbd0405b fix
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3210 dbcabf3a-b0e7-0310-adc4-f8d773084564
2004-01-19 19:28:15 +00:00
Timo Sirainen
f239784fd0 fix
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3207 dbcabf3a-b0e7-0310-adc4-f8d773084564
2004-01-19 19:00:25 +00:00
Timo Sirainen
4c1628e25d Added /SET paste_join_multiline - it attempts to be smart and detect when
you're copy&pasting indented lines, and merge them together to one long
line, but splits them to max. 400 chars per line.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3206 dbcabf3a-b0e7-0310-adc4-f8d773084564
2004-01-19 18:59:17 +00:00
Timo Sirainen
2199b35892 add pasted lines to command history
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3205 dbcabf3a-b0e7-0310-adc4-f8d773084564
2004-01-19 17:59:42 +00:00
Timo Sirainen
715d8fb062 If pasted line starts with command char, treat it as command always. Paste
detection can go on too easily with lagged connections.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3189 dbcabf3a-b0e7-0310-adc4-f8d773084564
2003-11-26 17:26:47 +00:00
Timo Sirainen
c074f551bf Don't count linefeeds in paste detection to avoid it going on when holding
enter key down


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3182 dbcabf3a-b0e7-0310-adc4-f8d773084564
2003-11-23 12:17:16 +00:00
Timo Sirainen
0f22561777 Removed /SET paste_detect_keycount - don't really need it anymore.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3181 dbcabf3a-b0e7-0310-adc4-f8d773084564
2003-11-21 20:52:13 +00:00
Timo Sirainen
7765290447 pasting fixes. changed key to ^K from ^O since ^O is working strangely in
some systems..


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3180 dbcabf3a-b0e7-0310-adc4-f8d773084564
2003-11-21 18:15:11 +00:00
Timo Sirainen
6f67475c3b Fixed paste_warning format
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3177 dbcabf3a-b0e7-0310-adc4-f8d773084564
2003-11-17 19:35:29 +00:00
Timo Sirainen
787b310333 disabling paste detection works again
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3176 dbcabf3a-b0e7-0310-adc4-f8d773084564
2003-11-17 18:36:56 +00:00
Timo Sirainen
3a0796630a again changed the paste_detect defaults.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3174 dbcabf3a-b0e7-0310-adc4-f8d773084564
2003-11-17 18:20:35 +00:00
Timo Sirainen
4405092282 potential crashfix
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3173 dbcabf3a-b0e7-0310-adc4-f8d773084564
2003-11-17 18:13:17 +00:00
Timo Sirainen
f02d35a8de paste texts are themeable now.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3171 dbcabf3a-b0e7-0310-adc4-f8d773084564
2003-11-17 14:09:15 +00:00
Timo Sirainen
8c717cd73b When pasting to empty window, don't ask about if pasting was wanted or not.
Also paste them as commands, not as text to active (non-existing)
channel/query.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3170 dbcabf3a-b0e7-0310-adc4-f8d773084564
2003-11-17 13:23:22 +00:00
Timo Sirainen
4d3d559f93 paste detection fixes
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3169 dbcabf3a-b0e7-0310-adc4-f8d773084564
2003-11-17 12:17:57 +00:00
Timo Sirainen
8e29932db3 crashfix when quitting
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3165 dbcabf3a-b0e7-0310-adc4-f8d773084564
2003-11-17 00:18:40 +00:00
Timo Sirainen
0de9bcc3df more initializing..
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3164 dbcabf3a-b0e7-0310-adc4-f8d773084564
2003-11-17 00:02:51 +00:00
Timo Sirainen
add0bbda50 initialize prev_entry
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3163 dbcabf3a-b0e7-0310-adc4-f8d773084564
2003-11-17 00:01:17 +00:00
Timo Sirainen
90c61c5548 paste detection growed.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3161 dbcabf3a-b0e7-0310-adc4-f8d773084564
2003-11-16 23:33:01 +00:00
Timo Sirainen
130030c506 pasting fixes
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3158 dbcabf3a-b0e7-0310-adc4-f8d773084564
2003-11-16 22:56:26 +00:00
Timo Sirainen
093f2c44de If pasting more lines than /SET paste_verify_line_count, ask before doing
it.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3157 dbcabf3a-b0e7-0310-adc4-f8d773084564
2003-11-16 21:49:15 +00:00
Timo Sirainen
0fd26895e1 changed /set pster_detect_keycount 5 -> 6 to fix function keys
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3156 dbcabf3a-b0e7-0310-adc4-f8d773084564
2003-11-16 20:33:17 +00:00
Timo Sirainen
d79cc02a10 Added pasting detection. All keys except CR and LF are pasted as-is into
prompt in pasting mode.

/SET paste_detect_time controls how closely each others characters must
occur for it to be considered pasting. Pasting mode goes on after /SET
paste_detect_keycount characters have been received and detected as pasting.

The first paste_detect_keycount characters can also contain some command
characters. They are executed, but their action in entry line is reverted
once pasting is detected. Of course, if any such character was followed by
CR/LF, it was already sent to channel/query and is unreversable.

What this means in practise is that even if you have TABs (assuming TAB is
completion key) in the first few pasted characters, they get pasted as TABs
as long as they weren't immediately followed by CR/LF.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3153 dbcabf3a-b0e7-0310-adc4-f8d773084564
2003-11-16 19:37:31 +00:00
Timo Sirainen
b2d07ffd1d BIG5 stuff is used only if term_type is big5
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3135 dbcabf3a-b0e7-0310-adc4-f8d773084564
2003-10-26 05:31:19 +00:00
Timo Sirainen
7eb2fc70e3 BIG5 fixes by vanilla@FreeBSD.org(?)
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3134 dbcabf3a-b0e7-0310-adc4-f8d773084564
2003-10-19 19:09:51 +00:00
Timo Sirainen
ae5b5f38bd Crashfix when sometimes closing a split window.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3123 dbcabf3a-b0e7-0310-adc4-f8d773084564
2003-07-09 21:46:08 +00:00
Timo Sirainen
4431f7c994 didn't compile without gc
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3103 dbcabf3a-b0e7-0310-adc4-f8d773084564
2003-01-25 21:19:41 +00:00
Timo Sirainen
0e61b4c829 Lets see if GC happens to work now without explicit free() calls. Perl
objects now set the C pointer to NULL once they're done with it, so this
might just work without leaking..


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3101 dbcabf3a-b0e7-0310-adc4-f8d773084564
2003-01-25 03:19:40 +00:00
Timo Sirainen
b687ace2b1 Check for gc.h too
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3095 dbcabf3a-b0e7-0310-adc4-f8d773084564
2003-01-11 00:24:30 +00:00
Timo Sirainen
3ddf3ce6b4 lag_min_show should default to 1 sec, not 0.1sec
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3089 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-12-31 12:36:56 +00:00
Timo Sirainen
f3d43d9137 Don't access free'd memory.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3087 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-12-30 23:10:57 +00:00
Timo Sirainen
43020c2e5f day -> 1day, hour -> 1hour
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3084 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-12-29 16:02:49 +00:00
Timo Sirainen
dcb0c6e4dd Added /REDRAW command that does the same as ^L.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3081 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-12-28 18:19:34 +00:00
Timo Sirainen
bd6fe052bc Added time, size and level setting types. Breaks some settings - I'll add
automatic converter to these settings later. Meanwhile you CVS users can
fix your config files yourself :)

Time settings allow using "days", "hours", "minutes", "seconds" and
"milliseconds" or several of their abbreviations. For example "5d 4h
5msecs".

Size settings allow using "gbytes", "mbytes", "kbytes" and "bytes" or their
abbrevations. For example "5MB".

Level settings are currently handled pretty much the way they were before.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3080 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-12-28 17:54:13 +00:00
Timo Sirainen
cdc52b773e --with-gc enables now support for Boehm's GC, if it's found and glib2 is
used. This also enables an extra check for perl library to verify scripts
aren't using objects that have already been free'd - while not a fully safe
solution it's much better than before :)


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3063 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-12-23 06:06:14 +00:00
Timo Sirainen
6825f1e67e GC fixes.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3056 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-12-10 20:30:03 +00:00
Timo Sirainen
bb55d3ff4d A few fixes to make irssi work with garbage collected GLIB.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3055 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-12-10 17:31:26 +00:00