summaryrefslogtreecommitdiff
path: root/src/core
AgeCommit message (Collapse)Author
2001-10-31changed default log directory mode to 0700 and file mode to 0600.Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1949 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-10-24Added a bit better error reporting.Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1911 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-10-22When logs are rotated, automatically create the new directory where to openTimo Sirainen
the log if it has changed. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1897 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-10-22Checking that autojoined channels weren't already joined in same chatnet hadTimo Sirainen
a typo so it checked all servers that the channel wasn't joined. s/servers/chatnet_servers/ git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1890 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-10-21if \x isn't a known escape sequence, it should print just x, not \x.Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1887 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-10-21deinit() function is now checked and saved when loading module. UnloadingTimo Sirainen
modules that had module_deinit() function (not module_core_deinit()) wasn't called before. Also, error message wasn't printed if module didn't have the _core part and wasn't really irssi module. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1882 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-10-21Added reference counter to SERVER_CONNECT_REC. Since it's being moved aroundTimo Sirainen
a lot in reconnects etc. this should make it easier to track when it's supposed to be destroyed. Hopefully fixes a crash I assume is related to this but couldn't find.. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1880 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-10-21added irssi_init_finished variable to core.h which is TRUE after "irssi initTimo Sirainen
finished" signal is sent. Perl scripts aren't now autoloaded until irssi_init_finished is TRUE (fixes the crash at startup). git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1879 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-10-21Don't autojoin channels that have already been joined in some other serverTimo Sirainen
connection in same chat network. This has mostly been just annoying, and this enables us to add eg. 20 channels autojoinable, then create 2 server connections and irssi will automatically join the first 10 in first connection and 10 other in the later (well, or at least if the 10 later channels get "not enough channels" message from server before the connection is finished, which well might not happen .. problem :) git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1875 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-10-20fix a fixTimo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1869 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-10-20When assiging chatnet to server connect record, always try to get the nameTimo Sirainen
from chatnets list so the case will be correct. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1868 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-10-20$~ crashed if arglist was emptyTimo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1858 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-10-15fixed a small memleak when unloading moduleTimo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1843 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-10-14Fixed some memory leaks.Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1837 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-10-13"extern const char *default_config;" - some other parts of irssi might wantTimo Sirainen
to use the default config also. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1819 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-10-02Added MODULE_DATA_UNSET() macro and started using it. Just to make sure weTimo Sirainen
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-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-09-20s/PARAM_FLAGS_ONLY_PARAMS/PARAM_FLAG_ONLY_ARGS/ since they're calledTimo Sirainen
arguments everywhere :) git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1804 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-09-20$*, $~ and $-n should still work with PARAM_FLAG_ONLY_PARAMS.Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1803 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-09-20special vars: added PARSE_FLAG_ONLY_PARAMS. Theme loading now uses it soTimo Sirainen
you can use $C etc. in themes to print the active channel. printformat() also expands it now correctly to the server/target where the message was printed, not to the active window's server/target. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1802 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-09-11autolog: target name is now always lowercased with irc protocol.Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1789 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-09-11/LOAD fixes for modules with no core part, and /LOAD ~/...Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1788 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-09-10/SET override_coredump_limit - sets core file size to unlimited if set ONTimo Sirainen
(default). git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1783 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-09-08Loading modules that didn't have "core" part didn't work (eg. irc_proxy).Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1778 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-08-17Module loading fixes.Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1762 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-08-14Some internal changes how /SERVER command works. Added /SERVER PURGETimo Sirainen
[<target>] command. The channel output is purged at /PART if the output queue is larger than 10. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1759 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-08-14Module loading updates - /LOAD shows now also the statically loaded modules.Timo Sirainen
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-14minor speedups and signal removing fixesTimo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1747 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-08-13/LOG OPEN -color, /SET awaylog_colors - specifies that the color codesTimo Sirainen
should be written to log file. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1742 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-08-08Added function expand_escapes() which handles now escaping /EVAL and inputTimo Sirainen
line if /SET expand_escapes is set. Supported escapes are \t, \r, \n, \e (ESC), \x (HEX, \x1b), \c (CTRL char, \cA), \000 (octal, \033) git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1727 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-08-08If we receive INVITE for a channel that is added with /CHANNEL ADD -auto,Timo Sirainen
join it immediately. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1724 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-08-05/MSG * in empty window now prints "not joined" errorTimo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1707 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-07-29Signals weren't removed correctly.Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1683 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-07-29Fixed /RELOAD crashing without parameters.Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1664 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-07-26added destroy() function to WI_ITEM_REC. This fixes a potential crash whenTimo Sirainen
"window item destroy" signal was being used. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1655 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-16command_runsub() - ignore multiple spaces between /COMMAND SUBCOMMANDTimo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1640 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-07-16--home, --config parameters now expand relative paths to absolute at startup.Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1635 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-07-15New /IGNOREs weren't immediately effective for nicks in channel. Some smallTimo Sirainen
fixes for unignoring levels with /IGNORE. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1630 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-07-15Moved awaylog to core.Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1629 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-07-15Another /FOREACH update - it only goes through the currentTimo Sirainen
servers/channels/queries, if the command creates new ones it skips them (ie. /FOREACH CHANNEL /CYCLE works now). git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1628 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-07-15Added --home and --config command line parameters to irssi to specifyTimo Sirainen
locations for ~/.irssi and ~/.irssi/config git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1626 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-07-14/FOREACH won't crash now if the command removes the item being accessedTimo Sirainen
(ie. /foreach server disconnect should work) git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1625 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-07-14"gui dialog" signals can now be safely emitted before the GUI is initializedTimo Sirainen
- the texts are queued until the GUI initialization is done and re-emitted. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1618 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-07-05Moved location of config, theme and doc files. Added debian dir for building ↵Timo Sirainen
a .deb easily. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1607 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-06-27Using different ports in one server for different chat networks didn't workTimo Sirainen
properly. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1580 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-06-26"log rotate" -> "log rotated"Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1565 dbcabf3a-b0e7-0310-adc4-f8d773084564