Emanuele Giaquinta
3ae155f100
Only consider autolog logs when looking for an open log in autolog_open.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4441 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-04-07 15:00:25 +00:00
Emanuele Giaquinta
01a2e609ab
Bind also CSI 1 ; 5 D to key cleft and CSI 1 ; 5 C to key cright.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4440 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-04-07 14:57:58 +00:00
Emanuele Giaquinta
a6ecce1d39
Allow logging of lines with no target to matching non autolog logs.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4439 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-04-07 14:38:53 +00:00
Emanuele Giaquinta
00df474df4
Remove unused gettext code.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4438 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-04-07 14:33:45 +00:00
Emanuele Giaquinta
b549e83321
Fix core_init definition.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4437 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-04-07 14:20:00 +00:00
Emanuele Giaquinta
827696bbb9
Forbid "window show" when the target window is sticky rather than when there is
...
at least one window bound to the container of the target window.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4436 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-04-05 18:25:29 +00:00
Emanuele Giaquinta
87ee8e85ca
When removing a line from the view also unconditionally remove any bookmark for
...
that line rather than moving it to the next/previous line, if any.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4433 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-03-12 22:54:45 +00:00
Emanuele Giaquinta
295e5980d3
Remove superflous empty lines.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4432 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-03-12 00:12:17 +00:00
Emanuele Giaquinta
80976505f0
Call signal_stop also when the completion list for the command options/parameters is not empty.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4431 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-03-12 00:08:58 +00:00
Emanuele Giaquinta
1d54d999d5
Add completion for /window goto.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4429 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-02-25 18:05:53 +00:00
Emanuele Giaquinta
d00a44ca0b
Do not print an empty line for "daychange" if the formatted string is empty.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4428 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-02-25 17:42:54 +00:00
Timo Sirainen
e9681e4b9e
UTF-8 0x80-0x9f characters weren't treated as control chars as they should have
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4425 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-02-20 12:39:17 +00:00
Emanuele Giaquinta
d446ee2f6f
Add crapbuster-like "scrollback levelclear" command.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4420 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-02-18 14:59:54 +00:00
Emanuele Giaquinta
541fa72f46
Generalize window_lastlog_clear in textbuffer_view_remove_lines_by_level.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4419 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-02-17 15:31:10 +00:00
Emanuele Giaquinta
c536d1f19c
Fix format_real_length to return the correct length when the input string
...
includes a trailing wide char.
Change statusbar_item_default_handler to compute padding also when
item->size < item->min_size, needed after the fix to format_real_length.
Patch by Yi-Hsuan Hsin, bug #452 .
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4416 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-02-14 10:59:27 +00:00
Emanuele Giaquinta
6d11f6f897
Replace last occurrence of IRSSI_DIR_SHORT with get_irssi_dir() and remove it.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4415 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-02-14 10:43:34 +00:00
Emanuele Giaquinta
4f49a38402
Redraw input line correctly in an utf8 locale when deleting a
...
nonspacing char by taking in account the cell width, bug #459 .
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4414 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-02-07 18:20:49 +00:00
Emanuele Giaquinta
7c48fc2fb3
Amend check for non printable chars to filter control chars 80-9F in an utf8 locale, bug #460 .
...
Note: this was and is still broken with koi8-r.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4413 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-02-06 23:25:17 +00:00
Emanuele Giaquinta
9d72e78ccd
Revert perl utf8 stuff for now.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4412 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-02-06 23:06:14 +00:00
Emanuele Giaquinta
67e5a315b0
When connecting and the nick is invalid, abort the connection instead of looping indefinitely in event_nick_in_use.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4411 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-01-17 15:07:14 +00:00
Emanuele Giaquinta
bcbadbb74f
Allow identifiers to start with a digit, bug #177 .
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4409 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-01-11 23:11:30 +00:00
Emanuele Giaquinta
4c389186b5
Modify Irssi::UI::Window::command to restore the original active window only if the command executed has not made another one active, bug #403 .
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4408 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-01-11 22:51:02 +00:00
Emanuele Giaquinta
7484c8b373
Remove dcc_queue_add_passive, use instead another argument in dcc_queue_add to initialize rec->passive.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4407 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-01-08 19:02:20 +00:00
Emanuele Giaquinta
b9cf14359a
Make awaylog_file respect --home, bug #304 .
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4406 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-01-07 19:16:59 +00:00
Emanuele Giaquinta
ef0cc3feca
Reindent.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4405 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-01-06 16:08:29 +00:00
Emanuele Giaquinta
646e3ecb5d
Remove the target != NULL constraint in recode_out.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4404 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-01-06 16:00:45 +00:00
Emanuele Giaquinta
721650c300
Simplify.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4403 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-01-06 15:52:22 +00:00
Emanuele Giaquinta
3cfc7f92f6
Declare str in PREINIT section.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4400 dbcabf3a-b0e7-0310-adc4-f8d773084564
2006-12-10 15:53:19 +00:00
Wouter Coekaerts
f0fb4c19d4
Remove CR and LF from Perl commands, to make it harder to introduce a security bug
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4396 dbcabf3a-b0e7-0310-adc4-f8d773084564
2006-12-08 21:38:55 +00:00
Geert Hauwaerts
0aca74b6e3
The attached patch fixes bug #164 , which triggers a failed assertion
...
message when the config file is unreadable to irssi.
By Daniel Koning <dkoning@seas.smu.edu>
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4395 dbcabf3a-b0e7-0310-adc4-f8d773084564
2006-11-02 09:09:34 +00:00
Emanuele Giaquinta
d33fc2db8a
Include common.h rather than time.h directly to honour config.h.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4393 dbcabf3a-b0e7-0310-adc4-f8d773084564
2006-10-27 18:11:19 +00:00
Emanuele Giaquinta
66c9e22622
Fix memory leaks in expandos_deinit by Nicolas Collignon, bug #419 .
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4390 dbcabf3a-b0e7-0310-adc4-f8d773084564
2006-10-23 10:36:47 +00:00
Emanuele Giaquinta
9da0ca72a5
uptime command by Lauri Nurmi with some modifications by me, bug #458 .
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4389 dbcabf3a-b0e7-0310-adc4-f8d773084564
2006-10-20 12:50:08 +00:00
Emanuele Giaquinta
49d7e3981e
Change default value of override_coredump_limit to FALSE.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4388 dbcabf3a-b0e7-0310-adc4-f8d773084564
2006-10-20 12:14:06 +00:00
Emanuele Giaquinta
f082f90121
Add missing format string argument in printtext_dest call, patch by loafier.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4384 dbcabf3a-b0e7-0310-adc4-f8d773084564
2006-10-01 10:21:15 +00:00
Emanuele Giaquinta
746649ae77
In line_split set *output _after_ calling remove_newline because it
...
could reallocate rec->str, fixes bug #439 .
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4381 dbcabf3a-b0e7-0310-adc4-f8d773084564
2006-09-24 21:43:12 +00:00
Emanuele Giaquinta
da9582e5aa
Modify term_move to accept only non negative coordinates.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4380 dbcabf3a-b0e7-0310-adc4-f8d773084564
2006-09-24 21:06:46 +00:00
Emanuele Giaquinta
9070ecdcf7
Revert second hunk of the previous patch, we want to check existence and
...
execute permission for irssi_binary when upgrading.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4379 dbcabf3a-b0e7-0310-adc4-f8d773084564
2006-09-22 16:05:55 +00:00
Emanuele Giaquinta
46bc99acf8
Compute absolute path name of argv[0] at startup to make Irssi::get_irssi_binary
...
useful again.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4377 dbcabf3a-b0e7-0310-adc4-f8d773084564
2006-09-22 14:04:53 +00:00
Wouter Coekaerts
ea9f3be18c
This patch fixes the problem that irssi keeps saying Netsplit over for joins from a certain user, if that user split and then rejoined some but not all channels they used to be in. (by Jilles Tjoelker)
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4376 dbcabf3a-b0e7-0310-adc4-f8d773084564
2006-09-22 08:49:10 +00:00
Emanuele Giaquinta
93184ce08d
Fixes for srcdir != builddir.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4375 dbcabf3a-b0e7-0310-adc4-f8d773084564
2006-09-21 23:43:09 +00:00
Emanuele Giaquinta
406c70c530
Fix bold on monochrome terminals.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4373 dbcabf3a-b0e7-0310-adc4-f8d773084564
2006-09-20 23:56:59 +00:00
Emanuele Giaquinta
66ae6d0876
Cosmetic.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4372 dbcabf3a-b0e7-0310-adc4-f8d773084564
2006-09-20 23:47:20 +00:00
Emanuele Giaquinta
4d9895ea77
Add support for utf8 to Irssi::TextUI::Line::get_text.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4371 dbcabf3a-b0e7-0310-adc4-f8d773084564
2006-09-20 23:29:41 +00:00
Emanuele Giaquinta
f6f4941968
Turn on the utf8 status only if the charset is utf8.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4370 dbcabf3a-b0e7-0310-adc4-f8d773084564
2006-09-20 23:21:44 +00:00
Emanuele Giaquinta
a7b0e6b3f2
Make compilation of is_translit conditional on glib-2.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4369 dbcabf3a-b0e7-0310-adc4-f8d773084564
2006-09-20 23:11:17 +00:00
Emanuele Giaquinta
3cdf50170f
Add public is_utf8 function by refactoring existing code.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4368 dbcabf3a-b0e7-0310-adc4-f8d773084564
2006-09-20 23:04:40 +00:00
Emanuele Giaquinta
6e3870af5c
Simplify using new_pv.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4367 dbcabf3a-b0e7-0310-adc4-f8d773084564
2006-09-19 13:15:48 +00:00
Emanuele Giaquinta
8ca4e8544b
Apply 05upgrade-check-binary.dpatch with some modifications.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4366 dbcabf3a-b0e7-0310-adc4-f8d773084564
2006-09-18 22:32:33 +00:00
Emanuele Giaquinta
9f0cd484e5
Add missing free.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4365 dbcabf3a-b0e7-0310-adc4-f8d773084564
2006-09-18 21:56:18 +00:00