summaryrefslogtreecommitdiff
path: root/src/core/expandos.c
AgeCommit message (Collapse)Author
2017-03-31Fix off by one error with char_expandosJoseph Bisch
2015-12-10module check irssi versionailin-nemui
Add explicit checks into every module to match the ABI version defined in common.h
2014-09-30Fix use-after-free bug with cached settings valuesAlexander Færøy
This patch fixes a couple of use-after-free bugs when caching various string related setting values. Fixes: #143
2009-02-28Correct assertions.Jilles Tjoelker
Found using llvm static analyzer. git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@5027 dbcabf3a-b0e7-0310-adc4-f8d773084564
2009-02-28Once a second seems sufficient for the expando timer.Jilles Tjoelker
These seem to change once a second at most, typically. git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@5025 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-04-08Factor strchr call.Emanuele Giaquinta
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4802 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-02-04Remove trailing whitespace.Emanuele Giaquinta
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4705 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-08-07Use autoconf PACKAGE_TARNAME/PACKAGE_VERSION macros rather than automakeEmanuele Giaquinta
PACKAGE/VERSION ones. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4597 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-05-08Oops. Update address correctly now.Wouter Coekaerts
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4490 dbcabf3a-b0e7-0310-adc4-f8d773084564
2007-05-08Update FSF addressWouter Coekaerts
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4489 dbcabf3a-b0e7-0310-adc4-f8d773084564
2006-10-23Fix memory leaks in expandos_deinit by Nicolas Collignon, bug #419.Emanuele Giaquinta
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4390 dbcabf3a-b0e7-0310-adc4-f8d773084564
2006-10-20uptime command by Lauri Nurmi with some modifications by me, bug #458.Emanuele Giaquinta
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4389 dbcabf3a-b0e7-0310-adc4-f8d773084564
2003-12-10chanmode_expando_strip setting was reversed - patch by c0ffeeTimo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3191 dbcabf3a-b0e7-0310-adc4-f8d773084564
2003-11-20/SET chanmode_verbose -> chanmode_expando_stripTimo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3179 dbcabf3a-b0e7-0310-adc4-f8d773084564
2003-11-16Fixed some gcc aliasing warningsTimo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3147 dbcabf3a-b0e7-0310-adc4-f8d773084564
2003-10-31Added /set chanmode_verbose. patch by c0ffee.Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3137 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-10-27Exported expando interface to perl. Fix for statusbar deinit.Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2975 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-10-14The setting is of course "cmdchars", not "cmdchar"Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2958 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-10-14$k - first character in CMDCHARSTimo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2955 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-10-14$chatnet, $tag, $Y and $N expandos' change signals were incorrectly set,Timo Sirainen
resulting non-updating statusbar git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2941 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-09-14statusbar is now also updated for connecting-servers.Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2922 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-05-17!channel fixes.Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2803 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-05-16Better !channel support - window items now have "visual_name" and channelsTimo Sirainen
and queries also have "name". Normally they're identical but with !channels the visible_name contains the short !channel name, while name contains full !ABCDEchannel name. The visible_name should be used whenever displaying the channel name, or as printtext()'s target. So, this breaks a few scripts in !channels, they need to be modified to use $channel->{visible_name} instead. Also /LAYOUT SAVE should finally work properly with !channels. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2797 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-05-11moved timestamp_format into lookandfeel categoryTimo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2775 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-04-16fixes for new signaling code.Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2691 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-04-15Rewritten signal handling code - it wasn't supposed to come before 0.9 irssiTimo Sirainen
but it doesn't break much things and is needed for Qt port :) git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2682 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-03-23$topic shouldn't crash if query doesn't have a valid address set yet.Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2639 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-03-22Add server tag as well to topicbar with queriesTimo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2638 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-12-16Leading zeros didn't work well in IRSSI_VERSION_TIME.Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2261 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-12-15Added $versiontime and Irssi::version_time()Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2257 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-12-15IRSSI_VERSION_DATE is now a number, so you can do #iffing with itTimo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2252 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-12%X should generate "time changed" every second too.Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1998 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-12extra check to make sure the "timer changed" signal is sent at startup.Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1993 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-10-21Check time changes every half a second instead of every second.Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1874 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-09-23added expando_get_signals() and special_vars_get_signals() to return listTimo Sirainen
of signals the expandos use. Also added "time changed" signal which gets emitted when $Z changes. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1814 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-08-31Expando lookup crashed with hi-ascii chars.Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1774 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-07-25fixed using already free'd memory.Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1648 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-07-13uname() returns non-negative if successful, not necessarily 0.Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1613 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-04-20added $sysarchTimo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1454 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-03-15signal_add_first("setup changed", .. so if some other "setup changed"Timo Sirainen
handler wants to ask $Z it works properly. This fix is kind of a kludge, some better way should be found to fix these kind of problems (just g_strdup() them?) git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1389 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-28/SET timestamp_format now specifies format of $Z. timestamp msg formatTimo Sirainen
now uses $Z instead of that horrible $[-2.0]3:$[-2.0]4 that no-one understood :) It's still possible to use the old method too. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1153 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-15Fixed some signedness warnings and memdebug.h should compile now fineTimo Sirainen
with -ansi. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1124 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-01added "message own_public" and "message own_private" events that areTimo Sirainen
sent when /msg command is used. this way we don't need to parse the /msg's options everywhere. also efnet @#channels support works now better. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1041 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-01Added/moved several "typedef struct _XXX XXX;" to common.h so thatTimo Sirainen
they're known to all files and I don't need those stupid "void *xxx" anymore just to avoid useless #include. Header files themselves don't either include others as often anymore. Added channel->ownnick to point to our NICK_REC in channel's nicks. Gives a minor speedup in few places :) Moved completion specific lastmsgs from channel/server core records to fe-common/core specific records. Also changed the nick completion logic a bit so it should work better now. Removed completion_keep_publics_count setting, but changed the meaning of completion_keep_publics to same as _count was before. Nick completion doesn't have any time specific code anymore. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1034 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-12-17/SET prompt, /SET prompt_window - Specifies the text in prompt.Timo Sirainen
'prompt' is used when channel or query is active in window and 'prompt_window' is used with empty windows. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1005 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-12-10fixed $topic uninitTimo Sirainen
added $winref git-svn-id: http://svn.irssi.org/repos/irssi/trunk@989 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-12-10added $topic expandoTimo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@988 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-12-10$T in empty window crashedTimo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@987 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-12-06Use hardcoded array for signals instead of dynamic (pretty useless, "10Timo Sirainen
is enough for everybody" :). Check sysname/sysrelease only once at beginning and use those values rest of the time. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@970 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-12-05Split expandos from special-vars.c to expandos.c. Added list of signalsTimo Sirainen
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