1
0
mirror of https://github.com/irssi/irssi.git synced 2024-12-04 14:46:39 -05:00
Commit Graph

2895 Commits

Author SHA1 Message Date
Jochen Eisinger
433c3795ae add fe_common to the list of possible submodules
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4503 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-05-20 16:38:28 +00:00
Emanuele Giaquinta
9dc678e1d3 Factor common code in recode_{in,out}.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4499 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-05-18 14:41:44 +00:00
Emanuele Giaquinta
4058a9338f Use CASEMAPPING dependent comparison to match channel names.
Patch by Jon Mayo, bug #436.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4497 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-05-18 09:56:08 +00:00
Emanuele Giaquinta
38c3984d10 Fix irc_nickcmp_ascii by mapping only ASCII 65-90 to the corresponding
lowercase counterparts.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4496 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-05-18 09:51:30 +00:00
Emanuele Giaquinta
0e4fc15add Use rfc1459 comparison for nicks by default (it is not a functional change
because irc_nickcmp_ascii is bogusly the same as irc_nickcmp_rfc1459).


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4495 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-05-18 09:49:11 +00:00
Emanuele Giaquinta
c235c679cc Remove code duplication.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4493 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-05-14 21:22:41 +00:00
Wouter Coekaerts
0a9a05c5c0 Update chanop flag before emitting nick mode changed signal (patch by Johan Kiviniemi)
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4492 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-05-12 13:19:35 +00:00
Emanuele Giaquinta
a7f2fc3535 Allow logging of lines with no target only to logs with no items or with a
wildcard item.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4491 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-05-10 20:33:02 +00:00
Wouter Coekaerts
9c2d621cc6 Oops. Update address correctly now.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4490 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-05-08 18:41:10 +00:00
Wouter Coekaerts
023026e12b Update FSF address
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4489 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-05-08 18:16:58 +00:00
Emanuele Giaquinta
2b2b904ada Do not call iconfig_get_str when target is NULL.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4487 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-05-06 16:22:09 +00:00
Emanuele Giaquinta
6f9dbc794d Do not recode the channel name used as target for the recoding of
input line.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4486 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-05-06 16:15:31 +00:00
Emanuele Giaquinta
7ae34b2877 Off-by-one in parsing the channel name.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4485 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-05-06 15:13:30 +00:00
Emanuele Giaquinta
bfc0b362e8 Move input recoding in irc_server_event.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4483 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-05-05 15:37:58 +00:00
Emanuele Giaquinta
56902320b4 Revert, do not use IS_PRINTABLE in reverse_controls.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4475 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-05-03 21:37:43 +00:00
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
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
Emanuele Giaquinta
41d619cb82 Fix %k and %K mappings.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4355 dbcabf3a-b0e7-0310-adc4-f8d773084564
2006-09-17 19:06:54 +00:00
Emanuele Giaquinta
e3cf9a4be5 Remove useless check.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4354 dbcabf3a-b0e7-0310-adc4-f8d773084564
2006-09-17 12:39:37 +00:00
Emanuele Giaquinta
d5c60cec4f Simplify.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4353 dbcabf3a-b0e7-0310-adc4-f8d773084564
2006-09-17 12:32:40 +00:00
Emanuele Giaquinta
8264b65939 Fix off-by-one error.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4352 dbcabf3a-b0e7-0310-adc4-f8d773084564
2006-09-17 12:26:04 +00:00
Emanuele Giaquinta
07be2f048d Fix Irssi::settings_get_str to return Nullsv when settings_get_str returns NULL.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4351 dbcabf3a-b0e7-0310-adc4-f8d773084564
2006-09-15 18:22:18 +00:00
Emanuele Giaquinta
9c835d33b5 Set view->startline to NULL when the line to delete is the first of the view
buffer and there are no more lines in the view.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4350 dbcabf3a-b0e7-0310-adc4-f8d773084564
2006-09-14 22:11:19 +00:00
Emanuele Giaquinta
9bd7272d47 Revert r4343.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4349 dbcabf3a-b0e7-0310-adc4-f8d773084564
2006-09-14 20:57:22 +00:00
Emanuele Giaquinta
195f819847 Modify scrollback clear to accept the same arguments as clear.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4348 dbcabf3a-b0e7-0310-adc4-f8d773084564
2006-09-13 22:54:38 +00:00
Emanuele Giaquinta
9b675ca03f Make indentation of cmd_clear consistent.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4347 dbcabf3a-b0e7-0310-adc4-f8d773084564
2006-09-13 22:42:39 +00:00
Emanuele Giaquinta
3ff0ddeac4 Remove redundant variable.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4346 dbcabf3a-b0e7-0310-adc4-f8d773084564
2006-09-13 17:11:36 +00:00
Emanuele Giaquinta
904e01175c Revert r4342.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4345 dbcabf3a-b0e7-0310-adc4-f8d773084564
2006-09-12 22:33:14 +00:00
Emanuele Giaquinta
f57b551a86 Refactoring to avoid code duplication.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4344 dbcabf3a-b0e7-0310-adc4-f8d773084564
2006-09-12 17:23:46 +00:00
Emanuele Giaquinta
9cdea0d608 Missing update of view->startline when the line to delete is the first of the
view and the first of the view buffer.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4343 dbcabf3a-b0e7-0310-adc4-f8d773084564
2006-09-12 17:19:47 +00:00
Emanuele Giaquinta
c08a754d1e Do not restore the previous view when deleting the first line of the current one.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4342 dbcabf3a-b0e7-0310-adc4-f8d773084564
2006-09-12 16:06:14 +00:00