irssi/src/core
LemonBoy 750df38e8c Rewrite some faulty logic handling the saved channels.
Issue #340 brought to our attention the fact that under certain
circumstances irssi would go on a wild rampage and carelessly overwrite
some saved channel records in the configuration file.
This happened because the code didn't take into account the case where
the channel index in setupchannels wouldn't match the one in the
configuration; this actually happens when the user removes a chatnet
without removing the associated channels.
2015-12-09 00:34:39 +01:00
..
args.c Remove popt and use glib GOption commandline option parser 2008-02-03 16:48:02 +00:00
args.h Remove popt and use glib GOption commandline option parser 2008-02-03 16:48:02 +00:00
channel-rec.h speed up window_item_find by interning name and removing call to channel_find 2014-06-15 23:37:13 +02:00
channel-setup-rec.h Config file: ircnets -> chatnets, added type = "chat protocol" to 2001-02-17 19:44:22 +00:00
channels-setup.c Rewrite some faulty logic handling the saved channels. 2015-12-09 00:34:39 +01:00
channels-setup.h Updated server removal 2015-10-01 22:36:02 +02:00
channels.c Change all strcmp() to g_strcmp0() to handle nulls gracefully 2015-04-07 22:41:05 -03:00
channels.h !channel fixes. 2002-05-17 15:22:05 +00:00
chat-commands.c Revert "Network and IPv{4,6} related changes" 2015-09-22 21:59:17 +02:00
chat-protocols.c Replace deprecated g_str[n]casecmp with g_ascii_str[n]cmp. 2014-06-10 12:06:19 -04:00
chat-protocols.h /UPGRADE was broken, changed again the server connection code. 2002-05-20 04:12:12 +00:00
chatnet-rec.h Revert "Network and IPv{4,6} related changes" 2015-09-22 21:59:17 +02:00
chatnets.c add CONFIG_REC to config_node_section* APIs 2015-02-17 09:50:55 +01:00
chatnets.h Config file: ircnets -> chatnets, added type = "chat protocol" to 2001-02-17 19:44:22 +00:00
commands.c Strip the trailing whitespace from /join commands. 2015-11-09 18:42:49 +01:00
commands.h Add an option to strip trailing whitespace when parsing commands 2015-11-09 17:32:51 +01:00
core.c Add missing null terminator to the g_build_path() varargs 2015-10-02 13:48:23 -03:00
core.h Cleanup option handling. 2007-05-24 00:25:36 +00:00
expandos.c Fix use-after-free bug with cached settings values 2014-09-30 18:07:13 +02:00
expandos.h Exported expando interface to perl. Fix for statusbar deinit. 2002-10-27 22:30:41 +00:00
ignore.c Let ignore_check do its work when server is NULL 2015-11-22 17:20:00 +01:00
ignore.h Change NO_ACT so it can be used in addition to other ignores 2014-06-30 00:31:53 +01:00
levels.c Change all strcmp() to g_strcmp0() to handle nulls gracefully 2015-04-07 22:41:05 -03:00
levels.h Reject invalid level specifications in /set. 2009-02-21 21:17:51 +00:00
line-split.c Always use g_realloc rather than using g_malloc when the pointer 2008-04-02 11:07:03 +00:00
line-split.h Added/moved several "typedef struct _XXX XXX;" to common.h so that 2001-01-01 07:45:54 +00:00
log-away.c Include write-buffer.h in log-away.c 2015-10-03 14:32:38 +02:00
log.c Merge pull request #199 from ailin-nemui/config-parser 2015-04-17 21:23:03 +02:00
log.h Create log file directories using /set log_create_file_mode + exec-bit. 2002-11-21 20:18:24 +00:00
Makefile.am s/INCLUDES/AM_CPPFLAGS/g 2014-06-27 09:06:21 -04:00
masks.c Replace deprecated g_str[n]casecmp with g_ascii_str[n]cmp. 2014-06-10 12:06:19 -04:00
masks.h Added/moved several "typedef struct _XXX XXX;" to common.h so that 2001-01-01 07:45:54 +00:00
misc.c strsplit_len: make it look more like the original version 2015-11-09 06:46:40 -03:00
misc.h Implement support for IRCv3.1 CAP negotiation 2015-05-05 23:14:26 +02:00
module.h ..adding new files.. 2000-04-26 08:03:38 +00:00
modules-load.c Change all strcmp() to g_strcmp0() to handle nulls gracefully 2015-04-07 22:41:05 -03:00
modules-load.h Module loading updates - /LOAD shows now also the statically loaded modules. 2001-08-14 00:41:59 +00:00
modules.c Change all strcmp() to g_strcmp0() to handle nulls gracefully 2015-04-07 22:41:05 -03:00
modules.h deinit() function is now checked and saved when loading module. Unloading 2001-10-21 16:23:43 +00:00
net-disconnect.c Remove trailing whitespace. 2008-02-04 15:30:38 +00:00
net-disconnect.h Move net_disconnect_later declaration from network.h to net-disconnect.h. 2008-03-29 10:25:15 +00:00
net-nonblock.c Revert "Network and IPv{4,6} related changes" 2015-09-22 21:59:17 +02:00
net-nonblock.h Revert "Network and IPv{4,6} related changes" 2015-09-22 21:59:17 +02:00
net-sendbuffer.c typo fixes - https://github.com/vlajos/misspell_fixer 2014-11-08 22:26:53 +00:00
net-sendbuffer.h typo fixes - https://github.com/vlajos/misspell_fixer 2014-11-08 22:26:53 +00:00
network-openssl.c ssl: Fixed call to SSL_CTX_set_cipher_list() only when ssl_ciphers specified and warn when no cipher suite could be selected. 2015-04-15 00:44:07 +10:00
network.c Revert "Network and IPv{4,6} related changes" 2015-09-22 21:59:17 +02:00
network.h Revert "Network and IPv{4,6} related changes" 2015-09-22 21:59:17 +02:00
nick-rec.h Allow storing multiple "other" prefixes such as +q and +a. 2008-11-28 00:16:51 +00:00
nicklist.c Fix return value from nick_match_msg_everywhere, remove #include 'settings.h' 2015-09-22 23:16:41 +02:00
nicklist.h Add new setting to optionally modify behaviour of hilight_nick_matches 2015-09-22 22:49:50 +02:00
nickmatch-cache.c Oops. Update address correctly now. 2007-05-08 18:41:10 +00:00
nickmatch-cache.h Nickmatch cache. A couple of helper functions to check if channel nicks 2001-01-21 04:09:48 +00:00
pidwait.c Rewrite pidwait using g_child_watch_add. 2008-12-30 11:51:27 +00:00
pidwait.h Still forgot to add pidwait_get_pids() here. 2001-11-20 20:54:21 +00:00
queries.c Replace deprecated g_str[n]casecmp with g_ascii_str[n]cmp. 2014-06-10 12:06:19 -04:00
queries.h Config file: ircnets -> chatnets, added type = "chat protocol" to 2001-02-17 19:44:22 +00:00
query-rec.h typo fixes - https://github.com/vlajos/misspell_fixer 2014-11-08 22:26:53 +00:00
rawlog.c Added functionality to create dir if dir specified in rawlog filename 2015-09-24 11:59:18 +02:00
rawlog.h Added/moved several "typedef struct _XXX XXX;" to common.h so that 2001-01-01 07:45:54 +00:00
recode.c Try to split long lines on spaces 2014-10-19 17:03:20 +02:00
recode.h Try to split long lines on spaces 2014-10-19 17:03:20 +02:00
server-connect-rec.h Revert "Network and IPv{4,6} related changes" 2015-09-22 21:59:17 +02:00
server-rec.h Properly split long IRC messages 2014-07-06 23:24:09 +02:00
server-setup-rec.h Revert "Network and IPv{4,6} related changes" 2015-09-22 21:59:17 +02:00
servers-reconnect.c Fix /reconnect RECON-1 saying "Reconnection tag 1 not found" 2015-10-08 00:06:17 -03:00
servers-reconnect.h Added reference counter to SERVER_CONNECT_REC. Since it's being moved around 2001-10-21 13:59:07 +00:00
servers-setup.c Fix return value of server_setup_remove_chatnet 2015-10-01 22:53:34 +02:00
servers-setup.h Updated server removal 2015-10-01 22:36:02 +02:00
servers.c Revert "Network and IPv{4,6} related changes" 2015-09-22 21:59:17 +02:00
servers.h Revert "Network and IPv{4,6} related changes" 2015-09-22 21:59:17 +02:00
session.c Merge pull request #199 from ailin-nemui/config-parser 2015-04-17 21:23:03 +02:00
session.h Cleanup option handling. 2007-05-24 00:25:36 +00:00
settings.c Add SETTING_TYPE_ANY and replace -1 with it. 2015-10-03 19:01:16 +02:00
settings.h Add SETTING_TYPE_ANY and replace -1 with it. 2015-10-03 19:01:16 +02:00
signals.c Oops. Update address correctly now. 2007-05-08 18:41:10 +00:00
signals.h added signal_continue() for continuing signal emission with new parameters. 2002-04-27 21:53:25 +00:00
special-vars.c Remove warnings about uninitialized variables. 2010-04-04 12:19:54 +00:00
special-vars.h added expando_get_signals() and special_vars_get_signals() to return list 2001-09-23 17:32:05 +00:00
window-item-def.h Added/moved several "typedef struct _XXX XXX;" to common.h so that 2001-01-01 07:45:54 +00:00
window-item-rec.h speed up window_item_find by interning name and removing call to channel_find 2014-06-15 23:37:13 +02:00
write-buffer.c Check return values from some syscalls and warn if they fail 2014-07-06 21:52:03 +01:00
write-buffer.h Write buffer - logs and rawlogs write to files through this. By default 2001-02-10 05:54:35 +00:00