summaryrefslogtreecommitdiff
path: root/src/fe-common/core/fe-core-commands.c
AgeCommit message (Collapse)Author
2003-10-31Invalid time error message was wrong. Patch by c0ffee.Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3136 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-12-28Added time, size and level setting types. Breaks some settings - I'll addTimo Sirainen
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-06-07Empty lines can be now sent to /EXEC -interactive windows.Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2849 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-06-05Finally - /^msg nick never autocreates an empty window anymore. Added newTimo Sirainen
extern int command_hide_output which can be used to check if /^ was used. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2839 dbcabf3a-b0e7-0310-adc4-f8d773084564
2002-03-10/CAT prints files now with CLIENTCRAP + NEVER level, so timestamps aren'tTimo Sirainen
printed. Also since /AWAY prints the awaylog using /CAT, we don't get timestamps there either now. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2554 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-12-20Added WINDOW_REC declaration to common.h, removed unneeded #include ↵Timo Sirainen
"servers.h" from fe-windows.h which broke several files, added the #include in them. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2272 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-12-16/VERSION printed time wrong, hopefully the last version fix..Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2262 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-15Print IRSSI_VERSION_TIME in /VERSION too.Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2259 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-20using signal_add() instead of signal_add_first() again. the ..first() wasn'tTimo Sirainen
really needed and it broke autoaway.pl script .. which is because /DISCONNECT and /UPGRADE commands destroy the server record, but it's still left in the signal's parameter. Guess I'll need to add reference counting to server record as well.. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2128 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-11-20Previous commit in core/commands.c broke /^cmd (command output hiding).Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2116 dbcabf3a-b0e7-0310-adc4-f8d773084564
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-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-05-31removed "print text stripped" signal, the stripped text is now sent inTimo Sirainen
"print text" signal's third parameter git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1526 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-03-03Removed all beep handling from text printing. If you want to beep justTimo Sirainen
send "beep" signal. /LAST -clear crashed if window contained only lastlog lines. Some other minor cleanups. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1312 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-02-19Moved /HELP to fe-help.cTimo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1252 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-02-10/SET names_max_columns, /SET names_max_width: Limit width of /NAMES list.Timo Sirainen
Forced max. 6 columns limit to /HELP git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1199 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-28/HELP, /NAMES: using now the column helper function in misc.c. /NAMESTimo Sirainen
moved to core and is printed immediately instead of sending /NAMES request to server. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1162 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-14/HELP without any parameters read data outside it's bufferTimo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1117 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-07In core/module-formats.h: IRCTXT_ -> TXT_Timo Sirainen
Added "message irc ctcp" signal to print CTCPs git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1094 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-07When using a /command that has only subcommands, print the list of theTimo Sirainen
subcommands instead of just "unknown command" text. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1093 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-05/HELP: Set indent to 0 when printing text. syntax.pl now changes tabsTimo Sirainen
to 9 spaces at the start of lines in help files. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1075 dbcabf3a-b0e7-0310-adc4-f8d773084564
2001-01-05Added printtext_string() which works like printtext(), except it printsTimo Sirainen
text from a string, so that %s, %d, etc. don't work. Changed perl's Irssi::print() use this instead as well as /HELP printer. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1072 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-12-30pidwait: send status as second agument.Timo Sirainen
Implemented EPIC-compatible /EXEC git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1030 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-12-19security fixes from 0.7.97.2Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1017 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-12-04/^command should stop also "print starting" and "print format" signals.Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@957 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-11-26Added -current, -window and -level options to /echoTimo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@879 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-11-23several fixes to make irssi compile without warnings with MIPSproTimo Sirainen
also fixed ctcp_queue_clean() - it might have crashed sometimes.. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@859 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-11-18Win32 fixes - Irssi now compiles with MSVC++ :)Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@851 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-11-17windows.h conflicted with microsoft's windows.h :) renamed windows.[ch] toTimo Sirainen
fe-windows.[ch] git-svn-id: http://svn.irssi.org/repos/irssi/trunk@846 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-10-28Cleaned up printtext.c, split part of it to formats.cTimo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@796 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-10-27A simple /EXEC command by Tinuk.Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@788 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-09-27Show help with "clientcrap" message level, not "never".Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@681 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-07-26/ECHO didn't print to active window if it was empty and status windowTimo Sirainen
existed. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@544 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-07-23Added syntaxes of all commands in comments, they're going to be used toTimo Sirainen
autogenerate help files. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@529 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-07-22/HELP wasn't working.Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@504 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-07-09Moved is_base_command() from command completion to command_have_sub()Timo Sirainen
in core/commands. /HELP <command with subcommands> works now right. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@437 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-07-04/CAT, /HELP xx and reading autorun commands stuck irssi to infiniteTimo Sirainen
loop. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@431 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-07-02If you're pasting text to channel and some of it starts with /, IrssiTimo Sirainen
will send the "/command" to channel if it doesn't exist (instead of just printing "unknown command"). git-svn-id: http://svn.irssi.org/repos/irssi/trunk@419 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-07-02Fixed a couple of potential problems if there was longer lines than 64kTimo Sirainen
in help files, autorun file or /catted file. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@417 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-07-02/^command hides the output of the command, it's not written to logTimo Sirainen
either. Good for sending passwords for example. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@416 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-06-28Automatic command completion and a few other fixes.Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@387 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-06-28-options can now be completed with tabulator. There's also automaticTimo Sirainen
completion for them, like instead of /join -invite you can use just /join -i. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@385 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-06-18Changed option handling in /commands. Irssi will now complain aboutTimo Sirainen
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-10if command is unknown, and cmdchar is found inside the command name, weTimo Sirainen
probably want to send the whole line to channel. for example when pasting a path /usr/bin/xxx git-svn-id: http://svn.irssi.org/repos/irssi/trunk@318 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-06-02/CAT <file name> [seek position]Timo Sirainen
If we don't want to print the file from beginning. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@274 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-05-15Lots of changes again. Biggest ones:Timo Sirainen
- window's text buffer should work better - themes are almost working, you can change the text formats with /format - automatically try to rejoin the channel after 5 minutes if the join there failed because it was "temporarily unavailable" (netsplits) - generally cleaning code.. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@216 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-05-04.. lots of changes ..Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@197 dbcabf3a-b0e7-0310-adc4-f8d773084564
2000-04-26..adding new files..Timo Sirainen
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@171 dbcabf3a-b0e7-0310-adc4-f8d773084564