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

1053 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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