summaryrefslogtreecommitdiff
path: root/src/fe-common/core/fe-core-commands.c
AgeCommit message (Collapse)Author
2018-02-16Document second parameter (seek position) of /cat commanddequis
2017-09-08Fix /back in Capsicum capability mode.Edward Tomasz Napierala
Signed-off-by: Edward Tomasz Napierala <trasz@FreeBSD.org>
2016-03-19Throw an error when a chatnet has no available urlLemonBoy
If you type /connect <CN> and the chatnet <CN> has no url available let's just throw an error instead of trying to process <CN> as a url.
2014-06-10Don't assume the size of time_t.David Hill
2014-06-10Replace deprecated g_str[n]casecmp with g_ascii_str[n]cmp.David Hill
2009-04-17Ensure type matches format string in /uptime.Jilles Tjoelker
Garbled output could happen if time_t was a different size from long. bug #665 git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@5060 dbcabf3a-b0e7-0310-adc4-f8d773084564
2009-02-27Move to a single /join function, avoiding confusion on "/join -window".Jilles Tjoelker
patch by exg bug #644, thanks for the useful bug report git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@5023 dbcabf3a-b0e7-0310-adc4-f8d773084564
2009-02-21Reject invalid level specifications in /set.Jilles Tjoelker
Most of these have names that end in "_level". git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@5021 dbcabf3a-b0e7-0310-adc4-f8d773084564
2009-02-08Code Cleanup:Alexander Færøy
Use g_string_append_printf() instead of g_string_sprintfa() (which is considered deprecated.) git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@5003 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-08-01Set null encoding for file channels.Emanuele Giaquinta
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4866 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-03-30Use g_io_channel_unref rather than g_io_channel_close for fileEmanuele Giaquinta
channels. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4789 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-03-09Fix indentation.Emanuele Giaquinta
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4737 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-03-09Use GIOChannel API to read a file linewise.Emanuele Giaquinta
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4736 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-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
2006-09-18Apply 05upgrade-check-binary.dpatch with some modifications.Emanuele Giaquinta
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4366 dbcabf3a-b0e7-0310-adc4-f8d773084564
2005-07-17Fix /eval recursion crashing (debian/patches/04eval_recurse.dpatch by David ↵Wouter Coekaerts
Pashley) git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3865 dbcabf3a-b0e7-0310-adc4-f8d773084564
2005-01-03Fix recursive ^ prefixed commands blocking all output (Bug 159)Wouter Coekaerts
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3695 dbcabf3a-b0e7-0310-adc4-f8d773084564
2004-09-15Fixed memleak in recode.c, fixed typo in special_vars.txt, fixed bug 105, ↵Valentin Batz
fixed bug 106 git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3295 dbcabf3a-b0e7-0310-adc4-f8d773084564
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