1
0
mirror of https://github.com/irssi/irssi.git synced 2024-11-03 04:27:19 -05:00
Commit Graph

2835 Commits

Author SHA1 Message Date
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
Emanuele Giaquinta
35574b10c4 Do not crash when settings_get_str returns NULL.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4341 dbcabf3a-b0e7-0310-adc4-f8d773084564
2006-09-12 15:52:04 +00:00
Wouter Coekaerts
b25c8cf1d1 Don't crash on /quit with scripts causing and catching signals during UNLOAD (thanks senneth)
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4340 dbcabf3a-b0e7-0310-adc4-f8d773084564
2006-09-12 09:37:18 +00:00
Emanuele Giaquinta
714aa30b4e Add support for utf8 to Irssi::settings_get_str.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4339 dbcabf3a-b0e7-0310-adc4-f8d773084564
2006-09-11 09:29:58 +00:00
Emanuele Giaquinta
cf1d60203b Fix compilation with glib-1.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4334 dbcabf3a-b0e7-0310-adc4-f8d773084564
2006-09-10 17:39:00 +00:00
Emanuele Giaquinta
e6d43a9796 Add extra libs to irssi_LDADD, not to irssi_LDFLAGS.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4333 dbcabf3a-b0e7-0310-adc4-f8d773084564
2006-09-09 16:54:26 +00:00
Emanuele Giaquinta
1d42194902 Cosmetic, merge two statements and reindent with tabs.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4332 dbcabf3a-b0e7-0310-adc4-f8d773084564
2006-09-09 14:01:21 +00:00
Emanuele Giaquinta
40d97468ca Add support for wide curses.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4331 dbcabf3a-b0e7-0310-adc4-f8d773084564
2006-09-09 13:56:00 +00:00
Wouter Coekaerts
7e7c841ead Don't get confused by a join command with too many arguments; keys can't have spaces in them. (Bug 437)
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4322 dbcabf3a-b0e7-0310-adc4-f8d773084564
2006-08-20 17:56:06 +00:00
Wouter Coekaerts
59f91046c1 don't wait for all /names replies before syncing if we can't combine queries anyways. Patch by jilles
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4321 dbcabf3a-b0e7-0310-adc4-f8d773084564
2006-08-20 13:40:03 +00:00
Wouter Coekaerts
dee4238e9b compile with glib1 again
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4320 dbcabf3a-b0e7-0310-adc4-f8d773084564
2006-08-20 13:07:54 +00:00
nattfodd
8b75299729 Merge of cuix back in trunk
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4309 dbcabf3a-b0e7-0310-adc4-f8d773084564
2006-08-08 21:11:20 +00:00
Jochen Eisinger
bd3a137c81 reset the PRNG, because a some OSs clear the seed when forking
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4304 dbcabf3a-b0e7-0310-adc4-f8d773084564
2006-08-01 20:31:38 +00:00
Valentin Batz
da965109ed Don't assume that 7bit ascii strings are encoded in UTF-8, only validate the strings when they contain octest with highest bit set. (patch by Mikko Rauhala)
fixes http://bugs.irssi.org/index.php?do=details&id=392

git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4300 dbcabf3a-b0e7-0310-adc4-f8d773084564
2006-07-25 11:02:10 +00:00
Jochen Eisinger
7602b7eff5 Since the fe-common modules are named fe_common_$protocol, the module loader
should also check for these files.



git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4298 dbcabf3a-b0e7-0310-adc4-f8d773084564
2006-07-18 20:07:16 +00:00
Wouter Coekaerts
e76afb528d Fix whois_hide_safe_channel_id: only look at the beginning of a channel name, not in the middle
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4268 dbcabf3a-b0e7-0310-adc4-f8d773084564
2006-05-18 12:33:07 +00:00
Wouter Coekaerts
740987a39b New perl command send_raw_first, patch by ComradeP (Bug 413)
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4265 dbcabf3a-b0e7-0310-adc4-f8d773084564
2006-05-04 10:07:23 +00:00
Jochen Eisinger
4de9baf8f1 Removed all srand calls and added a single srand invokation in at startup
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4264 dbcabf3a-b0e7-0310-adc4-f8d773084564
2006-03-26 08:42:34 +00:00
Jochen Eisinger
47704b800d prefixed all calls to rand() with a call to srand(time(NULL)), so we get
halfway random behaviour.



git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4263 dbcabf3a-b0e7-0310-adc4-f8d773084564
2006-03-25 21:59:57 +00:00
Wouter Coekaerts
71db22a171 Ignore joins without a nick from broken servers
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4248 dbcabf3a-b0e7-0310-adc4-f8d773084564
2006-03-01 00:02:48 +00:00
Wouter Coekaerts
461f653d9b sort nicks with custom prefix by the order defined in isupport in /NAMES
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4247 dbcabf3a-b0e7-0310-adc4-f8d773084564
2006-02-20 11:20:57 +00:00
Valentin Batz
3eedfa4e12 leave parameter count check as it was before
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4245 dbcabf3a-b0e7-0310-adc4-f8d773084564
2006-02-17 23:18:34 +00:00
Valentin Batz
39d58af912 check the paramcount for DCC RESUME more strictly
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4244 dbcabf3a-b0e7-0310-adc4-f8d773084564
2006-02-17 23:07:02 +00:00
Wouter Coekaerts
945d10ebb7 make negative scroll_page_count scroll screensize-n lines (Patch by Chris Moore)
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4232 dbcabf3a-b0e7-0310-adc4-f8d773084564
2006-02-01 09:56:42 +00:00
Valentin Batz
5da4a4fe89 Fix colors with TERM=xterm-{88,256}color, patch by Emanuele Giaquinta
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4231 dbcabf3a-b0e7-0310-adc4-f8d773084564
2006-01-31 19:06:20 +00:00
Valentin Batz
7e58590958 Only send QUOTE immediately when server didn't yet sent the 001 event
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4230 dbcabf3a-b0e7-0310-adc4-f8d773084564
2006-01-30 18:48:44 +00:00
Valentin Batz
0d10e2cc06 Fixed a bug where tab-complete didn't worked with utf8/big5 multibyte characters properly
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4229 dbcabf3a-b0e7-0310-adc4-f8d773084564
2006-01-29 22:37:24 +00:00
Timo Sirainen
a975788d15 If dcc_own_ip contains IPv4 address, listen only in IPv4.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4228 dbcabf3a-b0e7-0310-adc4-f8d773084564
2006-01-28 16:04:44 +00:00
Valentin Batz
f517f0cd46 changed /QUOTE to be sent immediately, since the queueing was changed, it's not possible to do things like /quote PONG :cookie before event 001 has been received (required on some EFNet servers when you haven't got an identd)
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4225 dbcabf3a-b0e7-0310-adc4-f8d773084564
2006-01-26 21:54:02 +00:00
Wouter Coekaerts
df69be65d4 fix segfault on /quit by using a linked list node after freeing it (by Chris Moore)
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4202 dbcabf3a-b0e7-0310-adc4-f8d773084564
2006-01-17 20:20:28 +00:00
Valentin Batz
0bf5adcb93 Initialize the isupport functions on /upgrade aswell
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4096 dbcabf3a-b0e7-0310-adc4-f8d773084564
2005-11-24 18:17:57 +00:00
Valentin Batz
fb6bdac677 replace guint by gsize for the glib2 version of irssi_ssl_read
like it's defined in GIOFuncs for glib2
moved src/fe-text/utf8.* to src/fe-common/core
changed get_utf8_char so it returns a status code and the unichar argument pointer
to the value that it returned before if there were no errors,
so you can check for a negative value an handle the error


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4091 dbcabf3a-b0e7-0310-adc4-f8d773084564
2005-11-23 18:30:22 +00:00
Valentin Batz
870253e12c removed utf8.c utf8.h, going to move them from src/fe-text to here
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4090 dbcabf3a-b0e7-0310-adc4-f8d773084564
2005-11-23 18:17:11 +00:00
Timo Sirainen
c9e1246200 g_log_set_default_handler() came only in glib 2.6.0. Don't use it for older
glibs.



git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4083 dbcabf3a-b0e7-0310-adc4-f8d773084564
2005-11-20 14:33:32 +00:00
Timo Sirainen
342141fcb2 If transliterations don't work in the system (eg. Solaris), don't allow
recode_transliterate setting to be enabled.



git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4082 dbcabf3a-b0e7-0310-adc4-f8d773084564
2005-11-19 18:13:18 +00:00
Timo Sirainen
5178a643bb With GLIB2 hook all glib logging functions no matter what the domains are.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4081 dbcabf3a-b0e7-0310-adc4-f8d773084564
2005-11-19 17:28:50 +00:00
Timo Sirainen
429bb1e05b Using "/VER" in channel now doesn't directly ask CTCP VERSION from it.
Channel name or "*" is required as parameter. It still works in query
though.



git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4080 dbcabf3a-b0e7-0310-adc4-f8d773084564
2005-11-19 16:44:28 +00:00
Timo Sirainen
2e75479637 Default recode_transliterate to yes
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4079 dbcabf3a-b0e7-0310-adc4-f8d773084564
2005-11-19 16:15:55 +00:00
Timo Sirainen
638794878d When looking up IP addresses, return random IP instead of the first one.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4077 dbcabf3a-b0e7-0310-adc4-f8d773084564
2005-11-19 16:12:40 +00:00
Jochen Eisinger
f9345a7d3c Fixed return code of term_init (resulted in segfault with invalid TERM and
termcap)



git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4076 dbcabf3a-b0e7-0310-adc4-f8d773084564
2005-11-15 23:38:01 +00:00
Valentin Batz
68e4516d0b changed recode_fallback to CP1252
added recode_autodetect_utf8, it's on by default
removed settings_remove calls from recode_deinit since I don't see any other internal module doing it


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4067 dbcabf3a-b0e7-0310-adc4-f8d773084564
2005-11-07 19:06:42 +00:00
Wouter Coekaerts
a0a30db489 Compile with glib1 again (part of patch from peder). g_unichar_*-ifying (making more things unicode aware) will probably have to wait till .11
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4063 dbcabf3a-b0e7-0310-adc4-f8d773084564
2005-11-02 21:05:24 +00:00
Wouter Coekaerts
0e7af32922 Don't crash if receiving broken privmsg without source (which bitlbee can send if you msg yourself)
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4062 dbcabf3a-b0e7-0310-adc4-f8d773084564
2005-11-02 20:40:21 +00:00
Wouter Coekaerts
0f54aa2285 Fix crash on netsplit+join after /upgrade from 0.8.9
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4047 dbcabf3a-b0e7-0310-adc4-f8d773084564
2005-10-18 19:50:09 +00:00
Wouter Coekaerts
9548cbfadb Fix warnings caused by r4043
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4046 dbcabf3a-b0e7-0310-adc4-f8d773084564
2005-10-18 17:43:48 +00:00
Wouter Coekaerts
5b7df6b3d7 Fix delete_{next,previous}_word bindings, patch by Emanuele Giaquinta
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4043 dbcabf3a-b0e7-0310-adc4-f8d773084564
2005-10-18 11:59:26 +00:00
Valentin Batz
0b8a23ad63 fixed a bug in recode when target is NULL and really use the recoded string for printing
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4042 dbcabf3a-b0e7-0310-adc4-f8d773084564
2005-10-16 11:16:33 +00:00
Valentin Batz
4a7107437d fixed recode for actions and added recode for numeric events
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4041 dbcabf3a-b0e7-0310-adc4-f8d773084564
2005-10-15 18:45:25 +00:00
Valentin Batz
674eec8fd2 Remove the inline declarations, patch by nailbiter
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4040 dbcabf3a-b0e7-0310-adc4-f8d773084564
2005-10-15 08:46:35 +00:00
Valentin Batz
d8d47ef37f fixed recoding of own messages.
recode after expand_emphasis
remove the redundant call to setlocale(LC_CTYPE, )


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4038 dbcabf3a-b0e7-0310-adc4-f8d773084564
2005-10-12 18:22:14 +00:00
Valentin Batz
fd476e8b31 Make the compiler happy by replacing 'const char *' by 'char *'.
Pass the pointer to the SERVER_REC to dcc_ctcp_message.
Recode 'own' messages back for printing just before they actually get printed. (ugly but more effective than adding all the signals in fe-recode and doing it there)
Replaced SERVER_REC by IRC_SERVER_REC in dcc-chat.c since it's belongs to IRC(makes the compiler happy again).

git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4034 dbcabf3a-b0e7-0310-adc4-f8d773084564
2005-10-10 18:32:32 +00:00
Wouter Coekaerts
c701330433 Don't crash with /me in dcc, or dcc message on disconnected server, with recode (Bug 330)
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4033 dbcabf3a-b0e7-0310-adc4-f8d773084564
2005-10-10 10:04:51 +00:00
Wouter Coekaerts
aea901728e Fix compilation with gcc4 and --with-gc, Patch by Michael Poole
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4013 dbcabf3a-b0e7-0310-adc4-f8d773084564
2005-09-29 21:02:31 +00:00
Wouter Coekaerts
fd6c2df7f4 don't crash if server sends weird NICK line, patch by Jarno Honkanen (Bug 216)
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3992 dbcabf3a-b0e7-0310-adc4-f8d773084564
2005-09-10 13:30:23 +00:00
Wouter Coekaerts
d5c5883867 fix completion for /format (Bug 143)
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3991 dbcabf3a-b0e7-0310-adc4-f8d773084564
2005-09-10 13:19:20 +00:00
Wouter Coekaerts
f55a35185a Make parse_time_interval recognize negative times. Patch by Danijel Tasov and Elmar Hoffmann (Bug 23)
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3990 dbcabf3a-b0e7-0310-adc4-f8d773084564
2005-09-10 12:51:43 +00:00
Wouter Coekaerts
262086c781 with unknown (special) lines in whois, display the full content, not just the first parameter
(this may include "real content" as well as the description of what that field means)


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3989 dbcabf3a-b0e7-0310-adc4-f8d773084564
2005-09-10 03:23:27 +00:00
Wouter Coekaerts
4a8ebb150a - rename "whois not found" to "whois try whowas", because that's what needs to be done when the signal is sent (and it doesn't mean whois_not_found should be printed)
- rename "whois event noserver" to "whois event not found", because the signal means the nickname wasn't found (but it comes as a "no such server" because it was a /whois nick nick), whois_not_found should be printed, and so it makes sense to also use it for the next fix:
- send "whois event not found" for 401, when auto_whowas is off, so the message is displayed correctly (Bug 295)
- handle 402 the same with auto_whowas off as with on, (fixes /whois with not existing server specified, with auto_whowas off).
- and since the auto_whowas on and off cases are similar now, merge them together, so they stay consistent.

- pass every argument given to /whowas to the server, not just the first (count). Fixes remote whowas (Bug 256)


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3988 dbcabf3a-b0e7-0310-adc4-f8d773084564
2005-09-10 01:36:06 +00:00
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
Valentin Batz
e4a562d9ef moved the _NET_SENDBUF_REC definition out of core/net-sendbuffer.c and irc/proxy/listen.c into core/net-sendbuffer.h
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3948 dbcabf3a-b0e7-0310-adc4-f8d773084564
2005-08-24 19:42:17 +00:00
Valentin Batz
bc91469cf7 replaced net_transmit by net_sendbuffer_send in the irssi-proxy module, there were no checks if the buffer was sent completely with net_transmit
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3947 dbcabf3a-b0e7-0310-adc4-f8d773084564
2005-08-24 19:25:47 +00:00