Emanuele Giaquinta
7c84b6fc2e
Add common IS_PRINTABLE macro.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4474 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-05-03 15:49:19 +00:00
Emanuele Giaquinta
b8380772e2
Remove broken code that prevents unloading of a script in some cases.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4473 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-05-03 08:42:33 +00:00
Emanuele Giaquinta
f866799bb0
Use dynamic storage for return value of channel_get_nickmode.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4471 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-04-29 12:26:02 +00:00
Emanuele Giaquinta
983ee1db88
Factor out code from set_print into a function to get a printable
...
representation of a setting.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4470 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-04-29 11:20:36 +00:00
Emanuele Giaquinta
09f2bf2c05
Slightly optimize activity_hide_targets matching.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4469 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-04-29 09:15:36 +00:00
Emanuele Giaquinta
aa172e0afb
Do not send hostname to server, rather use username as the second
...
argument to USER, patch by Alex Tarkovsky (bug #488 ).
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4468 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-04-28 14:11:02 +00:00
Emanuele Giaquinta
83c178c169
Increment paste_keycount when the key before the one that starts a
...
possible pasting is not a '\r' or '\n'.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4467 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-04-28 11:45:34 +00:00
Emanuele Giaquinta
39d15501c8
Ignore empty lines when pasting.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4466 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-04-28 10:55:57 +00:00
Emanuele Giaquinta
2f86e39e84
When sending a line as non-pasted reset also paste_entry, bug #405 .
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4465 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-04-28 10:52:11 +00:00
Emanuele Giaquinta
423fb7805b
Remove useless function.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4463 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-04-25 20:37:21 +00:00
Emanuele Giaquinta
a42b4202f2
Fix DCC get when file size is 0, bug #494 .
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4462 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-04-25 19:22:39 +00:00
Emanuele Giaquinta
362933c29e
Add workaround for gcc 4.0.0/4.0.1, bug #219 .
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4458 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-04-23 08:30:36 +00:00
Emanuele Giaquinta
08340b72be
Fix typos.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4457 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-04-19 08:21:51 +00:00
Wouter Coekaerts
eb87e8aa72
revert last change. Already possible with /format -delete daychange (fixed in r4428)
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4454 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-04-16 19:10:46 +00:00
Geert Hauwaerts
c1abb843b2
Hide daychange.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4453 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-04-16 18:55:15 +00:00
Emanuele Giaquinta
27ec7f0f1e
Properly initialize reference count for a new setting, bug #235 .
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4452 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-04-16 00:27:43 +00:00
Emanuele Giaquinta
ac4bbd4a22
Reindent.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4450 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-04-14 20:26:22 +00:00
Emanuele Giaquinta
e2cc91c19a
Modify gui_entry_draw_from to clear to end of line only if it has not
...
written till the last column.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4449 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-04-14 20:20:37 +00:00
Emanuele Giaquinta
ace371b2a3
Revert r4352.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4444 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-04-14 11:09:37 +00:00
Emanuele Giaquinta
d701ef4024
Make completer for action/msg/query more self-contained by completing nicks in
...
the active channel.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4443 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-04-14 11:01:56 +00:00
Geert Hauwaerts
9898328865
Local opers on IRCnet (umode +O) get the server->server_operator flag.
...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4442 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-04-09 14:55:42 +00:00
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