1
0
mirror of https://github.com/irssi/irssi.git synced 2024-09-29 04:45:57 -04:00
Commit Graph

57 Commits

Author SHA1 Message Date
LemonBoy
d4676c9855 Use the PARAM_FLAG_STRIP_TRAILING_WS flag wherever possible. 2015-11-09 23:02:41 +01:00
Alexander Færøy
eb0f09073c Merge pull request #199 from ailin-nemui/config-parser
Make config parser more robust
2015-04-17 21:23:03 +02:00
dequis
f14199d9c1 Change all strcmp() to g_strcmp0() to handle nulls gracefully
Just a string replacement (but i did check every one of them)

    sed -i 's/strcmp(/g_strcmp0(/g' **/*.c
2015-04-07 22:41:05 -03:00
Ailin Nemui
96d4fb9156 add CONFIG_REC to config_node_section* APIs
this adds the CONFIG_REC * to the config_node_section and
config_node_section_index APIs as they will require access to the config
cache later on to make the config parser more robust.
2015-02-17 09:50:55 +01:00
Dave Reisner
f0925de16b s/INCLUDES/AM_CPPFLAGS/g
Silences warnings on recent automake such as:

src/core/Makefile.am:3: warning: 'INCLUDES' is the old name for
'AM_CPPFLAGS' (or '*_CPPFLAGS')
2014-06-27 09:06:21 -04:00
David Hill
0d4f13d20f Replace deprecated g_str[n]casecmp with g_ascii_str[n]cmp. 2014-06-10 12:06:19 -04:00
Emanuele Giaquinta
4ec53567a5 Remove leftover.
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@5059 dbcabf3a-b0e7-0310-adc4-f8d773084564
2009-04-05 19:04:25 +00:00
Wouter Coekaerts
dde30e63d6 Correct previous commit: fix away checking
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@5040 dbcabf3a-b0e7-0310-adc4-f8d773084564
2009-03-15 16:25:42 +00:00
Wouter Coekaerts
d81ec45378 Fix /NOTIFY list when nick is seen joining (bug #642)
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@5039 dbcabf3a-b0e7-0310-adc4-f8d773084564
2009-03-10 22:18:01 +00:00
Alexander Færøy
c561ba35e6 Code Cleanup:
Use g_string_append_printf() instead of g_string_sprintfa() (which is considered deprecated.)


git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@5003 dbcabf3a-b0e7-0310-adc4-f8d773084564
2009-02-08 17:22:42 +00:00
Emanuele Giaquinta
3c7c3941d7 Remove .cvsignore files.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4672 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-01-21 11:49:10 +00:00
Jilles Tjoelker
78dad04c7b Remove /notify -idle, it can only work with not-nice automated remote whois.
(causes infrequent "server load too heavy" etc)
If people really want this, they should write a script.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4632 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-10-31 22:58:44 +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
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
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
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
Timo Sirainen
777bb76195 noinst_HEADERS -> pkginc_HEADERS
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3250 dbcabf3a-b0e7-0310-adc4-f8d773084564
2004-05-10 20:30:57 +00:00
Timo Sirainen
2d4a7d3595 0.8.8 with a few backwards compatibility fixes
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3187 dbcabf3a-b0e7-0310-adc4-f8d773084564
2003-11-23 14:25:34 +00:00
Timo Sirainen
43020c2e5f day -> 1day, hour -> 1hour
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3084 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-12-29 16:02:49 +00:00
Timo Sirainen
bd6fe052bc Added time, size and level setting types. Breaks some settings - I'll add
automatic converter to these settings later. Meanwhile you CVS users can
fix your config files yourself :)

Time settings allow using "days", "hours", "minutes", "seconds" and
"milliseconds" or several of their abbreviations. For example "5d 4h
5msecs".

Size settings allow using "gbytes", "mbytes", "kbytes" and "bytes" or their
abbrevations. For example "5MB".

Level settings are currently handled pretty much the way they were before.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3080 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-12-28 17:54:13 +00:00
Timo Sirainen
0ce3f8243e Comments are now allowed everywhere in config files.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2374 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-02-02 17:37:44 +00:00
Timo Sirainen
84abc35a81 Fixed a memory leak and a crash when notifylist_check_join() was called with NULL realname.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2185 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-12-03 19:51:00 +00:00
Timo Sirainen
25d0d40d5a Small optimization for whois-redirecting.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2012 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-15 00:08:26 +00:00
Timo Sirainen
da6170d4d7 WHOIS command should be sent after redirecting, not before..
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2010 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-14 23:37:39 +00:00
Timo Sirainen
e66ec6cf8b Redirection fixes - added count parameter.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1999 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-12 22:15:04 +00:00
Timo Sirainen
850cf993eb Moved rewritten server redirection code from core to irc. This new code
should be able to do the redirecting a lot more error-proof. Changed
lag-checking to use PINGs instead of NOTIFYs. This breaks scripts using
redirection. Hopefully this doesn't break too much things in irssi :)


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1980 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-11 18:59:19 +00:00
Timo Sirainen
6a82e806b4 Moved $(GLIB_CFLAGS) after -I includes, to make sure our own .h files get before possibly identically named headers in the glib's include directory.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1975 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-05 14:48:03 +00:00
Timo Sirainen
f354fe54c7 Moved some stuff from irc to core. Added command_bind_proto() function to
bind protocol-specific commands. Added #define command_bind_irc() for easier
access. CMD_IRC_SERVER(server) check should be done at the beginning of each
command requiring IRC server as active server, it handles it correctly the
cases when it is not. Did some other cleanups as well.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1955 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-02 01:05:14 +00:00
Timo Sirainen
9dc3176efd just some extra check - might fix some crash..
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1892 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-10-22 12:19:27 +00:00
Timo Sirainen
c988af4150 Added MODULE_DATA_UNSET() macro and started using it. Just to make sure we
don't try to access free'd data.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1818 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-10-02 07:55:51 +00:00
Timo Sirainen
803d805016 Module loading updates - /LOAD shows now also the statically loaded modules.
You can't /LOAD the same module twice. Syntax changed to /LOAD <module>
[<submodule>], /UNLOAD <module> [<submodule>].

NOTE: all modules now need to call register_module() in their init()
function.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1748 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-08-14 00:41:59 +00:00
Timo Sirainen
fc3918b0f0 dcc, flood and notifylist aren't compiled as loadable modules anymore,
no-one wants that and irssi crashes in AIX because of it.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1530 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-06-01 18:39:45 +00:00
Timo Sirainen
acf60a729c small extra checks to /whois redirect checking
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1039 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-01 14:42:22 +00:00
Timo Sirainen
9f2f1dc70a Server events: switched order of data and server parameters. it's now
SERVER_REC *server, const char *data, .. hope this doesn't cause too
many problems :)


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@967 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-12-05 21:12:52 +00:00
Timo Sirainen
d1eaeca255 Split expandos from special-vars.c to expandos.c. Added list of signals
to each expando that can might change it's value.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@964 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-12-05 00:53:04 +00:00
Timo Sirainen
0d8239e40e config changes, CONFIG_REC is now required parameter for
config_node_set_int/bool() and config_node_add_list()


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@886 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-11-26 10:24:30 +00:00
Timo Sirainen
1fd6f8faf6 more changes from int xx:1 to unsigned int xx:1
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@861 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-11-23 22:57:59 +00:00
Timo Sirainen
0f4ec3deac "NOTIFY" was missing from syntax
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@829 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-11-09 23:40:48 +00:00
Timo Sirainen
8c4b167327 multiprotocol fixes
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@749 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-10-14 02:41:46 +00:00
Timo Sirainen
6fc2a34121 Added -avoid-version options and disable-static for SILC module.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@714 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-10-02 01:11:53 +00:00
Timo Sirainen
3eea53d2ee minor updates
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@696 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-09-29 23:57:30 +00:00
Timo Sirainen
c91e8f98a4 multiprotocol fixes
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@691 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-09-28 00:32:56 +00:00
Timo Sirainen
9843c46cc7 fixes
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@690 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-09-28 00:28:48 +00:00
Timo Sirainen
e395e87ded Lots of moving stuff around - hopefully I didn't break too much :)
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@632 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-08-26 15:39:44 +00:00
Timo Sirainen
4476029fdd plugin -> module
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@614 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-08-16 00:49:02 +00:00
Timo Sirainen
c529fe0096 Added syntaxes of all commands in comments, they're going to be used to
autogenerate help files.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@529 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-07-23 23:19:22 +00:00
Timo Sirainen
e322876342 /NOTIFY -idle fixes.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@515 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-07-23 11:55:16 +00:00
Timo Sirainen
a5d31a195d Changed option handling in /commands. Irssi will now complain about
unknown options and missing option arguments.

Renamed /SERVER -add, -remove and -list to /SERVER ADD, REMOVE and LIST.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@365 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-06-18 01:18:12 +00:00
Timo Sirainen
7755aae26b 0.7.90 released.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@292 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-06-04 16:01:19 +00:00