summaryrefslogtreecommitdiff
path: root/src/fe-common/core
AgeCommit message (Collapse)Author
2001-11-02Moved some stuff from irc to core. Added command_bind_proto() function toTimo Sirainen
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-01server->ischannel(char *) -> server->ischannel(SERVER_REC *, char *). AddedTimo Sirainen
#define server_ischannel(server, data) and it's now used everywhere.. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1954 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-10-29/WINDOW SERVER -unsticky crashed irssi if it was used when you weren't ↵Timo Sirainen
connected to server. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1939 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-10-28Added support for using terminfo/termcap instead of curses. By default,Timo Sirainen
configure chooses to use ncurses if found, of terminfo if only curses was found. --with-terminfo parameter can be used to specify if you want it or not. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1924 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-10-24Added support for changing indentation behaviour with modules.Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1912 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-21Don't expand %{ and %} in themes to { and } - they could be treated asTimo Sirainen
abstracts again. Printing %{ and %} now prints just { and }. This fixes printing {stuff} in statusbar (eg. {nick}). git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1885 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-10-21/TOPIC <tab> inserts the topic in active channel.Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1876 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-10-20When printing server disconnection texts, use the server parameter forTimo Sirainen
printformat() so the texts go to correct windows. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1865 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-10-20/BIND -delete doesn't anymore leave empty {} blocks in configuration file.Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1856 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-10-15-ansicolors -mirccolors => -colors in /LOG OPEN syntax, since there's only ↵Timo Sirainen
-colors currently.. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1841 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-10-14$winname expando didn't change on "window changed" signal.Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1832 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-10-13Configurable statusbar - see default config file (irssi.conf) for exampleTimo Sirainen
how to configure it. Added %> format which clears to end of line using the current bg color. Added support for multiple input lines (just the core, not used anywhere yet). git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1821 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-10-01/SET translation was broken - fixed by lam@e-gate.pl.Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1815 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-09-22/SET translation now says if there were any errorsTimo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1810 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-09-21bind_key format updated. Doesn't truncate the key now.Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1807 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-09-20PARAMS -> ARGS fix again..Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1805 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-18"Unknown chat network" error now tells to create it with /IRCNET ADDTimo Sirainen
(..which is a bit wrong with non-IRC..) git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1799 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-09-17Print the log's expanded file name when complaining about not being able toTimo Sirainen
create log file. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1798 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-09-11/BIND ^W-1 was treated as ^W + '-' + '1', not as ^W + '1'..Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1794 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-09-11escape_target() didn't escape / chars properly, it just crashed irssi..Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1793 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-09-11It's now possible to stop single character /BINDs from printing to inputTimo Sirainen
line. Hiascii characters didn't work properly with /BIND. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1792 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-08/WINDOW ITEM MOVE didn't work properly if there was space after parameterTimo Sirainen
(..which tab-completion added..) git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1779 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-08-31Print the server tag in "query started" messages with query->server_tag, notTimo Sirainen
query->server->tag since query->server can be NULL when restoring window layout. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1773 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-08-28Check that word isn't empty instead of just assuming it isn't. This oneTimo Sirainen
probably caused several completion problems. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1771 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-08-23removed accidental 'i' :)Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1768 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-08-23Added server tag to query_start format.Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1767 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-08-20Added option /SET autolog_colors. Colors are now off by default for /WINDOWTimo Sirainen
LOGs too. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1764 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-14Typofix - might have caused a crash if channel was destroyed with /WINDOWTimo Sirainen
CLOSE. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1753 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-13"IRC Net" -> "Network" in /SERVER LIST and /CHANNEL LISTTimo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1746 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-12One more limit to "key" names - it can't start with a digit. This allows usTimo Sirainen
to use /BIND foo meta2-18~ etc. more easily. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1740 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-08-12Bugfix to keyb. code :) And now the "key" names can contain onlyTimo Sirainen
alphanumeric + '_' characters, which makes /BIND foo meta-5~ work again because 5~ are treated separately, not as one "key" name. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1739 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-08-12Keyboard code fixes - meta-arrows etc. should work now correctly.Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1738 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-08-12/WINDOW CLOSE <first> didn't work if <last> too wasn't specified..Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1737 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-08-09/VERSION command and /SV alias now print the version date too.Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1732 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-08Restoring window layout shouldn't make the queries active.Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1726 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-08-08Changed signal / function names for /LAYOUT stuff. /LAYOUT RESET now resetsTimo Sirainen
the split windows too. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1725 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-08-08Fixed leaking window binds. They were added but rarely removed.Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1721 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-08-08/SET autofocus_new_items ON - if newly created window items should be setTimo Sirainen
active automatically. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1718 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-08-07Restoring layout for split windows works betters now. Some sticky windowTimo Sirainen
changes/fixes. Renamed /WINDOW MOVE LEFT|RIGHT -> PREV|NEXT, added commands /WINDOW MOVE UP|DOWN|LEFT|RIGHT. The new LEFT|RIGHT now moves the window only inside split windows. mainwindows-save.c -> mainwindows-layout.c git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1710 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-08-04/UNIGNORE - skip spaces at end of line.Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1703 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-08-03Added sticky window information to /WINDOW.Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1701 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-08-03Minor cleanup.Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1700 dbcabf3a-b0e7-0310-adc4-f8d773084564