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
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
Wouter Coekaerts
20bc8df655 Fix notify with more nicks than max_whois_in_cmd (Bug 257), based on patch by Krzysztof Kowalik (Borys)
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3932 dbcabf3a-b0e7-0310-adc4-f8d773084564
2005-08-15 23:04:06 +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
Valentin Batz
a65e346f83 Fixed recode for incoming messages, private messages didn't work properly. (Bug http://bugs.irssi.org/?do=details&id=286)
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3896 dbcabf3a-b0e7-0310-adc4-f8d773084564
2005-08-04 08:41:33 +00:00
Wouter Coekaerts
6d42a00287 Fix dcc resume crash (only in the rc's and svn) (Bug 287)
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3895 dbcabf3a-b0e7-0310-adc4-f8d773084564
2005-08-01 16:07:22 +00:00
Valentin Batz
240a7df160 Forgot to add the additional parameter to g_convert_with_fallback (This always happens when I'm applying patches manually :( )
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3882 dbcabf3a-b0e7-0310-adc4-f8d773084564
2005-07-24 20:01:06 +00:00
Valentin Batz
56041a3144 Added an option to specify a charset for a whole network. For example /recode add IRCnet iso-8859-1 (http://bugs.irssi.org/index.php?do=details&id=284) Patch by Sergey Safonov. Replaced g_convert by g_convert_with_fallback in recode_in (http://bugs.irssi.org/index.php?do=details&id=241) Patch by Kuang-che Wu.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3881 dbcabf3a-b0e7-0310-adc4-f8d773084564
2005-07-24 19:16:14 +00:00
Wouter Coekaerts
547065cb42 Fix /eval recursion crashing (debian/patches/04eval_recurse.dpatch by David Pashley)
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3865 dbcabf3a-b0e7-0310-adc4-f8d773084564
2005-07-17 16:43:18 +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
Wouter Coekaerts
a72e65d9ed Print glib errors nicely (debian/patches/01glib-errors.dpatch by David Pashley)
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3862 dbcabf3a-b0e7-0310-adc4-f8d773084564
2005-07-17 16:40:06 +00:00
Valentin Batz
eefd999fa4 Added a new boolean setting 'recode' to provide an opportunity to turn off recode completely
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3805 dbcabf3a-b0e7-0310-adc4-f8d773084564
2005-06-29 07:47:45 +00:00
Wouter Coekaerts
37941e84fe Fix server->last_nick leak by Toby (Bug 267)
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3794 dbcabf3a-b0e7-0310-adc4-f8d773084564
2005-06-24 16:43:18 +00:00
Valentin Batz
5a280a620d Fixed a bug where the completion history can grow without bound, patch by Toby Peterson
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3755 dbcabf3a-b0e7-0310-adc4-f8d773084564
2005-05-14 18:01:07 +00:00
Valentin Batz
c371640471 Fixed leaking in chat-completion (http://bugs.irssi.org/?do=details&id=249), patch by Toby Peterson
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3754 dbcabf3a-b0e7-0310-adc4-f8d773084564
2005-05-14 17:53:49 +00:00
Valentin Batz
4d5200a4e1 Fixed a bug with isupport, after an upgrade from 0.8.9 prefix very well can be NULL, so check for it
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3750 dbcabf3a-b0e7-0310-adc4-f8d773084564
2005-05-14 12:32:03 +00:00
Valentin Batz
c79e690e88 Fixed a bug where the channel list to join/rejoin on reconnect gets too long, not all channels will be joined. The channel list is splitted into multiple lines right now when it's too long. (http://bugs.irssi.org/index.php?id=108&do=details)
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3746 dbcabf3a-b0e7-0310-adc4-f8d773084564
2005-05-11 18:52:12 +00:00
Valentin Batz
c474f1a2a0 Updated the syntax definition for /recode add in fe-recode.c
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3740 dbcabf3a-b0e7-0310-adc4-f8d773084564
2005-05-09 21:31:47 +00:00
Valentin Batz
8b41206248 Fixed a leak in fe-events-numeric.c, patch by Toby Peterson
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3738 dbcabf3a-b0e7-0310-adc4-f8d773084564
2005-05-09 15:30:59 +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
Wouter Coekaerts
b25310faf1 Fix tr_TR locale problem for glib2 (still a bug with glib1.2) by David Pashley
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3728 dbcabf3a-b0e7-0310-adc4-f8d773084564
2005-04-26 12:25:19 +00:00
Wouter Coekaerts
e4c55c9d1f Remember alternate_nick and max_whois on reconnect (Bug 181)
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3727 dbcabf3a-b0e7-0310-adc4-f8d773084564
2005-04-26 11:51:40 +00:00
Wouter Coekaerts
57d78e276f Compile fix for gcc 4 (Bug 219)
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3726 dbcabf3a-b0e7-0310-adc4-f8d773084564
2005-04-25 22:21:19 +00:00
Wouter Coekaerts
0e878b22f9 Fix displaying of ctcp userinfo and clientinfo (Bug 222)
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3725 dbcabf3a-b0e7-0310-adc4-f8d773084564
2005-04-25 20:31:12 +00:00
Valentin Batz
dca0d7a2bc Use char* instead of const char* in read_settings, so memory can be freed without compiler warnings, by Toby Peterson (related to bug 210)
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3723 dbcabf3a-b0e7-0310-adc4-f8d773084564
2005-03-07 17:10:45 +00:00
Wouter Coekaerts
e1c7d7e260 Don't use a retarted ip for passive DCC
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3722 dbcabf3a-b0e7-0310-adc4-f8d773084564
2005-03-07 16:02:06 +00:00
Wouter Coekaerts
9124723ce1 Fix /script reset, which caused crashes (Bug 48)
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3721 dbcabf3a-b0e7-0310-adc4-f8d773084564
2005-03-07 15:37:31 +00:00
Wouter Coekaerts
bfb951d3be Don't apply emphasis on _foo_^ if it's a nick (Bug 52)
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3720 dbcabf3a-b0e7-0310-adc4-f8d773084564
2005-03-07 14:17:07 +00:00
Valentin Batz
8ec7c164d6 Free the right memory in fe-recode.c (related to bug 210)
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3719 dbcabf3a-b0e7-0310-adc4-f8d773084564
2005-03-07 06:20:55 +00:00
Valentin Batz
49c8ba4058 Fixed memleak when preserving valid charsets in read_settings in fe-recode.c (Bug 210)
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3718 dbcabf3a-b0e7-0310-adc4-f8d773084564
2005-03-06 21:49:57 +00:00
Wouter Coekaerts
418136656d Fix memleak in /UNBAN, by Toby Peterson (Bug 215)
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3717 dbcabf3a-b0e7-0310-adc4-f8d773084564
2005-03-06 19:30:08 +00:00
Wouter Coekaerts
e159d8b2f0 Fix memleak in dcc get, by Toby Peterson (Bug 214)
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3716 dbcabf3a-b0e7-0310-adc4-f8d773084564
2005-03-06 18:47:05 +00:00
Wouter Coekaerts
bd8712dde1 Fix memleak in several commands that used cmd_return_error when they should be using cmd_param_error, by Toby Peterson (Bug 213)
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3715 dbcabf3a-b0e7-0310-adc4-f8d773084564
2005-03-06 18:45:47 +00:00
Wouter Coekaerts
abb28cae20 Add libtool's -module flag to get built properly on all platforms, by Toby Peterson (Bug 212)
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3714 dbcabf3a-b0e7-0310-adc4-f8d773084564
2005-03-06 18:43:39 +00:00
Wouter Coekaerts
2e81e13842 Fix command_unbind memleak by Toby Peterson (Bug 211)
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3713 dbcabf3a-b0e7-0310-adc4-f8d773084564
2005-03-06 18:42:10 +00:00
Valentin Batz
5a8b583347 Fixed output of /hilight (add a space after -levels if any).
Added recode to dcc-chat, patch by Jean-Yves Lefort

git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3708 dbcabf3a-b0e7-0310-adc4-f8d773084564
2005-02-11 17:27:09 +00:00
Valentin Batz
19e800cf23 Fixed memory leaks when destroying a channel, when loading nonexisten scripts and in topics, patch by Toby Peterson
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3707 dbcabf3a-b0e7-0310-adc4-f8d773084564
2005-02-06 21:31:58 +00:00
Wouter Coekaerts
e7b3362bd5 Compile fix: make it c99 again, by Timothy Hatcher (Bug 184)
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3705 dbcabf3a-b0e7-0310-adc4-f8d773084564
2005-02-04 22:28:08 +00:00
Valentin Batz
cc10292c21 Update our own nickrec->gone flag on /away <reason> or on /away
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3704 dbcabf3a-b0e7-0310-adc4-f8d773084564
2005-02-03 15:51:03 +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
f4c1b605ed call setlocale(LC_ALL, ) before g_get_charset to properly return the user's charset
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3702 dbcabf3a-b0e7-0310-adc4-f8d773084564
2005-01-12 12:10:48 +00:00
Wouter Coekaerts
ecae975c2b Added IRCNET command again, as a deprecated alias for NETWORK
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3701 dbcabf3a-b0e7-0310-adc4-f8d773084564
2005-01-12 02:09:07 +00:00
Valentin Batz
d8cfab7f43 Fixed a bug with /me, use the right arguments for "message irc own_action"
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3700 dbcabf3a-b0e7-0310-adc4-f8d773084564
2005-01-04 12:13:47 +00:00
Valentin Batz
7020ba8751 Updated the changed arguments for ban_remove
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3699 dbcabf3a-b0e7-0310-adc4-f8d773084564
2005-01-04 10:30:53 +00:00
Wouter Coekaerts
b52bbcfbbf improve queuing commands, patch by Timothy Hatcher (Bug 168)
(patch changed so it doesn't wait one second after the 001 event)

git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3698 dbcabf3a-b0e7-0310-adc4-f8d773084564
2005-01-03 19:22:53 +00:00
Wouter Coekaerts
a38c7d1631 Fix multiple entries for local IP in /etc/hosts prevents connecting, patch by eridius (Bug 167)
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3697 dbcabf3a-b0e7-0310-adc4-f8d773084564
2005-01-03 18:57:08 +00:00
Wouter Coekaerts
124e79aeeb "ban remove" signal should pass who removed it, patch by Timothy Hatcher (Bug 166)
added it to docs/signals.txt too


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3696 dbcabf3a-b0e7-0310-adc4-f8d773084564
2005-01-03 18:54:39 +00:00
Wouter Coekaerts
1074f0377e Fix recursive ^ prefixed commands blocking all output (Bug 159)
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3695 dbcabf3a-b0e7-0310-adc4-f8d773084564
2005-01-03 18:09:45 +00:00
Valentin Batz
df1e690a1e Don't crash with an empty nick argument from the command line.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3694 dbcabf3a-b0e7-0310-adc4-f8d773084564
2004-12-22 18:47:38 +00:00
Valentin Batz
8b772ff6ec Fixed target handling in recode_out
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3693 dbcabf3a-b0e7-0310-adc4-f8d773084564
2004-12-20 15:06:29 +00:00
Valentin Batz
7be7dd374c Added <tag>/<target> support for recode.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3692 dbcabf3a-b0e7-0310-adc4-f8d773084564
2004-12-20 13:59:15 +00:00
Valentin Batz
5f81451df6 Fixed a memleak, when using recode_out you have too free the memory it allocates for you.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3691 dbcabf3a-b0e7-0310-adc4-f8d773084564
2004-12-07 17:48:21 +00:00
Wouter Coekaerts
2ffae72fc0 If available, send who set topic and when to irssi-proxy clients
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3690 dbcabf3a-b0e7-0310-adc4-f8d773084564
2004-12-07 17:02:40 +00:00
Valentin Batz
d5fb3039e2 Fixed printing of the recoded realname in whowas
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3686 dbcabf3a-b0e7-0310-adc4-f8d773084564
2004-11-29 15:59:21 +00:00
Valentin Batz
f451305234 Reverting bugfix for 'usermode activates after autosendcmd' because it breaks usermode for reconnections
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3684 dbcabf3a-b0e7-0310-adc4-f8d773084564
2004-11-23 17:06:06 +00:00
Wouter Coekaerts
3c3ae53516 Fix typo in help for window close
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3683 dbcabf3a-b0e7-0310-adc4-f8d773084564
2004-11-22 18:25:03 +00:00
Valentin Batz
ed88bc5e42 Fixed bug where usermode was not sent correctly
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3681 dbcabf3a-b0e7-0310-adc4-f8d773084564
2004-11-19 17:25:18 +00:00
Valentin Batz
7a8c5f6763 Fixed bug with time settings where hours actually returned 60*hours
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3679 dbcabf3a-b0e7-0310-adc4-f8d773084564
2004-11-04 15:08:57 +00:00
Valentin Batz
99c2aaca4c /UPGRADE saves now server->version
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3324 dbcabf3a-b0e7-0310-adc4-f8d773084564
2004-10-18 14:40:33 +00:00
Wouter Coekaerts
9999862664 Make cmd_window_item_goto use cmd_get_params, so "/WINDOW ITEM GOTO item<space>" (for example) works
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3323 dbcabf3a-b0e7-0310-adc4-f8d773084564
2004-10-18 14:19:07 +00:00
Valentin Batz
569b9efc7e Added recode for the away-messages
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3321 dbcabf3a-b0e7-0310-adc4-f8d773084564
2004-10-16 02:10:47 +00:00
Valentin Batz
1d834b39b3 Fixed /join -invite -window bug if there is no invite
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3320 dbcabf3a-b0e7-0310-adc4-f8d773084564
2004-10-16 00:08:21 +00:00
Valentin Batz
5a7e889f4f Fixed bug 120 where proxy doesn't set the server_rec->away_reason
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3319 dbcabf3a-b0e7-0310-adc4-f8d773084564
2004-10-14 16:41:02 +00:00
Wouter Coekaerts
2a0ba14c0c Fix crash with non-irc servers
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3318 dbcabf3a-b0e7-0310-adc4-f8d773084564
2004-10-12 17:06:11 +00:00
Valentin Batz
6c86a59183 Added recode to whois_channels event
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3317 dbcabf3a-b0e7-0310-adc4-f8d773084564
2004-10-10 23:04:04 +00:00
Wouter Coekaerts
4b40495a5c Also remember other (not k or l) modes with arguments
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3316 dbcabf3a-b0e7-0310-adc4-f8d773084564
2004-10-10 21:23:38 +00:00
Wouter Coekaerts
8b8c58f4ef Remember key not only with channel->key, but also in channel->mode (in the statusbar) on key-hiding-servers, like before isupport
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3315 dbcabf3a-b0e7-0310-adc4-f8d773084564
2004-10-10 21:09:02 +00:00
Valentin Batz
0d96d40b30 Fixed bug with logging where item names starting with the same string were not logged properly.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3314 dbcabf3a-b0e7-0310-adc4-f8d773084564
2004-10-10 18:10:30 +00:00
Wouter Coekaerts
b832f1f7b2 add d,q,f and J to CHANMODES default, to work a bit better with dancer and possibly others
(Dear irc server coder, please send isupport with CHANMODES, thank you)


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3313 dbcabf3a-b0e7-0310-adc4-f8d773084564
2004-10-08 11:58:06 +00:00
Wouter Coekaerts
c08f9f3867 And the same for signal_continue
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3312 dbcabf3a-b0e7-0310-adc4-f8d773084564
2004-10-06 20:48:25 +00:00
Wouter Coekaerts
64c6af7865 Recognise a param of signal_emit from perl if it's an int
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3311 dbcabf3a-b0e7-0310-adc4-f8d773084564
2004-10-06 20:11:26 +00:00
Valentin Batz
3beaacf9ee Fixed possible printing bug with quit messages when the message is printed in the statuswindow
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3310 dbcabf3a-b0e7-0310-adc4-f8d773084564
2004-10-06 16:48:59 +00:00
Wouter Coekaerts
fa80d4913b Fix HILIGHT -actcolor -mask (Bug 131)
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3309 dbcabf3a-b0e7-0310-adc4-f8d773084564
2004-10-06 16:25:34 +00:00
Wouter Coekaerts
c5982338c1 Fix own nick changes in irssi-proxy
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3308 dbcabf3a-b0e7-0310-adc4-f8d773084564
2004-10-05 12:36:57 +00:00
Valentin Batz
a26038c664 Changed the order of recode_out_default_charset, it doesn't override /recode add anymore. The string returned by nl_langinfo(CODESET) may be empty, use ISO8859-1 in this case
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3306 dbcabf3a-b0e7-0310-adc4-f8d773084564
2004-09-20 12:45:49 +00:00
Geert Hauwaerts
4cc4ddc1a7 Fixed /KNOCK support.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3305 dbcabf3a-b0e7-0310-adc4-f8d773084564
2004-09-18 20:56:33 +00:00
Valentin Batz
19ca0eb059 Forgot g_free(translit_to); in recode_in
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3304 dbcabf3a-b0e7-0310-adc4-f8d773084564
2004-09-18 03:42:59 +00:00
Valentin Batz
6207383bd1 Added event 317, 319, 313, 330, 377, 378, 379, 327, 326 to src/fe-common/irc/fe-whois.c, fixes the printing of /whois -yes * (Bug 123)
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3303 dbcabf3a-b0e7-0310-adc4-f8d773084564
2004-09-17 15:55:34 +00:00
Valentin Batz
c9d21e7807 Fixed /WHOWAS bug, where "event 312" was not printed right, Recent WHOIS changes broke it.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3301 dbcabf3a-b0e7-0310-adc4-f8d773084564
2004-09-16 09:00:42 +00:00
Valentin Batz
0a4b38295d Added recoding of realname to who and whois replies
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3300 dbcabf3a-b0e7-0310-adc4-f8d773084564
2004-09-16 08:31:59 +00:00
Geert Hauwaerts
adfa7aff12 Bugfix: http://bugs.irssi.org/?do=details&id=121
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3299 dbcabf3a-b0e7-0310-adc4-f8d773084564
2004-09-15 21:27:22 +00:00
Geert Hauwaerts
f888f2c9dc Bugfix: http://bugs.irssi.org/?do=details&id=99
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3298 dbcabf3a-b0e7-0310-adc4-f8d773084564
2004-09-15 19:29:55 +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
Wouter Coekaerts
55bcc420a7 Fix messages to @#channel showed *your* nickmode, not the one of the sender (part of Bug 80)
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3294 dbcabf3a-b0e7-0310-adc4-f8d773084564
2004-09-13 22:09:54 +00:00
Wouter Coekaerts
efb20d7cc2 Fix readded (changed) hilights being in config twice, resulted in duplicate hilights or removed hilights coming back (Bug 39)
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3293 dbcabf3a-b0e7-0310-adc4-f8d773084564
2004-09-13 19:02:02 +00:00
Wouter Coekaerts
2f81d1f160 Make /JOIN -tag #channel and /JOIN #channel<space> switch to that channel (Bugs 13 and 93)
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3292 dbcabf3a-b0e7-0310-adc4-f8d773084564
2004-09-13 16:54:28 +00:00
Wouter Coekaerts
f84f03706c Fix /WHOIS -yes (Bug 67)
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3291 dbcabf3a-b0e7-0310-adc4-f8d773084564
2004-09-12 22:45:36 +00:00
Timo Sirainen
7974c252a0 Recent WHOIS changes broke nick's gone/oper flags. Patch by Valentin Batz
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3290 dbcabf3a-b0e7-0310-adc4-f8d773084564
2004-09-12 13:12:34 +00:00
Timo Sirainen
119c028945 send max 15 005 parameters at once. Patch by Valentin Batz
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3288 dbcabf3a-b0e7-0310-adc4-f8d773084564
2004-08-31 22:32:58 +00:00
Timo Sirainen
259331e0b1 Allow '@' characters in nick.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3287 dbcabf3a-b0e7-0310-adc4-f8d773084564
2004-08-24 06:31:08 +00:00
Timo Sirainen
82052118a7 Bug #104 recode treats multibyte jp characters as utf8. Patch by Valentin
Batz


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3285 dbcabf3a-b0e7-0310-adc4-f8d773084564
2004-08-21 07:05:16 +00:00
Timo Sirainen
df9f46cf4d forgot to add
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3284 dbcabf3a-b0e7-0310-adc4-f8d773084564
2004-08-20 00:27:05 +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
924ac8f91f Patch by jimmy: Details In 0.8.9 it is not possible to log all activity on a given
server; you must confine the logging to a window or a set of targets. This
patch adds a default "*" target which matches everything on the server,
including NULL items associated with it:


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3282 dbcabf3a-b0e7-0310-adc4-f8d773084564
2004-08-19 23:34:00 +00:00
Timo Sirainen
334b07ac28 005 fix. Patch by Valentin Batz
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3281 dbcabf3a-b0e7-0310-adc4-f8d773084564
2004-08-19 23:24:24 +00:00
Timo Sirainen
169086ab51 /DCC SEND didn't actually use /SET dcc_upload_path
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3279 dbcabf3a-b0e7-0310-adc4-f8d773084564
2004-08-19 20:41:47 +00:00
Timo Sirainen
e5148aca0e /SERVER, /CONNECT -network wasn't working
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3278 dbcabf3a-b0e7-0310-adc4-f8d773084564
2004-08-19 18:58:17 +00:00
Timo Sirainen
e4f6e3dc75 /SET -default fix
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3277 dbcabf3a-b0e7-0310-adc4-f8d773084564
2004-08-19 18:55:15 +00:00
Timo Sirainen
9e37659926 After /LAYOUT SAVE changing settings created new windows.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3276 dbcabf3a-b0e7-0310-adc4-f8d773084564
2004-08-19 18:53:23 +00:00
Timo Sirainen
6e54baaa0c /network fixes
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3275 dbcabf3a-b0e7-0310-adc4-f8d773084564
2004-08-19 18:47:41 +00:00
Timo Sirainen
591161b34e Handle 432 numeric (errorneus nickname) as "nick in use". Fixes problems
with ircnet 2.11 ircd when irssi tries to reconnect using UID as nick. Patch
by Petr Baudis


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3274 dbcabf3a-b0e7-0310-adc4-f8d773084564
2004-07-14 12:12:10 +00:00
Timo Sirainen
034c03fa0c /EXEC crashed with 64bit systems. Patch by Soren Jacobsen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3272 dbcabf3a-b0e7-0310-adc4-f8d773084564
2004-07-14 12:04:47 +00:00