summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2009-03-01Remove unused variables.Jilles Tjoelker
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@5032 dbcabf3a-b0e7-0310-adc4-f8d773084564
2009-02-28Remove unused variable.Jilles Tjoelker
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@5031 dbcabf3a-b0e7-0310-adc4-f8d773084564
2009-02-28Ensure variable is initialized.Jilles Tjoelker
Make sure not to set connection_lost if the server was already disconnected. git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@5030 dbcabf3a-b0e7-0310-adc4-f8d773084564
2009-02-28Remove unused variable.Emanuele Giaquinta
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@5029 dbcabf3a-b0e7-0310-adc4-f8d773084564
2009-02-28Remove unused variable.Emanuele Giaquinta
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@5028 dbcabf3a-b0e7-0310-adc4-f8d773084564
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-28Add the command send/expire timeout only when needed.Jilles Tjoelker
This was the last always-on <1s timer. git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@5026 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
2009-02-28Check for stale flood entries when lines come in, avoiding a 0.5 second timeout.Jilles Tjoelker
The timeout is now every 5 seconds and serves to remove entries that do not send messages anymore. git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@5024 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-27Check for SIGCONT using a custom GSource instead of every 0.5 second.Jilles Tjoelker
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@5022 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-21Make explicit how long the arrays for prefix_add and prefix_del are.Jilles Tjoelker
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@5020 dbcabf3a-b0e7-0310-adc4-f8d773084564
2009-02-21Use i_isspace to make this clearer.Jilles Tjoelker
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@5019 dbcabf3a-b0e7-0310-adc4-f8d773084564
2009-02-21Make an invalid boolean /set a CLIENTERROR instead of CLIENTCRAP.Jilles Tjoelker
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@5018 dbcabf3a-b0e7-0310-adc4-f8d773084564
2009-02-21Reject obviously invalid numbers in /set.Jilles Tjoelker
A limitation of the settings model is that any value that fits in an int is accepted, e.g. negative port numbers. git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@5017 dbcabf3a-b0e7-0310-adc4-f8d773084564
2009-02-13emit "window item moved" instead of "window item remove" and "window item ↵Wouter Coekaerts
new" when a window item is moved to another window git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@5012 dbcabf3a-b0e7-0310-adc4-f8d773084564
2009-02-10Prefer g_path_get_dirname() over g_dirname().Alexander Færøy
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@5010 dbcabf3a-b0e7-0310-adc4-f8d773084564
2009-02-09Add /set autolog_ignore_targets.Alexander Færøy
Allows you to avoid specific targets from being logged via autolog. git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@5006 dbcabf3a-b0e7-0310-adc4-f8d773084564
2009-02-09Don't tokenizee target since it wont contain more than one entry anyway.Alexander Færøy
Poke me if this breaks for you. git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@5005 dbcabf3a-b0e7-0310-adc4-f8d773084564
2009-02-08Code Cleanup:Alexander Færøy
Use g_string_printf() instead of g_string_sprintf() (which is considered deprecated.) git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@5004 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
2009-02-07Add strarray_find_dest(). Useful for checking whether a server_tag/target or ↵Alexander Færøy
target is found in a vector of strings. git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@5002 dbcabf3a-b0e7-0310-adc4-f8d773084564
2009-01-23Call PERL_SYS_INIT3() and PERL_SYS_TERM() as documented in perlembed(1).Emanuele Giaquinta
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4998 dbcabf3a-b0e7-0310-adc4-f8d773084564
2009-01-20Fix 'defination' typo.Emanuele Giaquinta
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4996 dbcabf3a-b0e7-0310-adc4-f8d773084564
2009-01-18Replace invalid utf-8 bytes with U+FFFD when drawing a line.Emanuele Giaquinta
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4995 dbcabf3a-b0e7-0310-adc4-f8d773084564
2009-01-18Emit 'print starting' with the correct argument in printtext_string{,window}.Emanuele Giaquinta
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4994 dbcabf3a-b0e7-0310-adc4-f8d773084564
2009-01-17Add Irssi::UI::Window::get_history_lines to get the content of a window'sEmanuele Giaquinta
history. git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4993 dbcabf3a-b0e7-0310-adc4-f8d773084564
2009-01-17Revert r4871, it breaks /script reset.Emanuele Giaquinta
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4992 dbcabf3a-b0e7-0310-adc4-f8d773084564
2009-01-16Properly unload the original script when using /script load to reload it.Emanuele Giaquinta
bug #525, patch by Lukas Mai. git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4991 dbcabf3a-b0e7-0310-adc4-f8d773084564
2009-01-16Use an io channel to write the config file.Emanuele Giaquinta
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4990 dbcabf3a-b0e7-0310-adc4-f8d773084564
2009-01-15Use PERL_SYS_INIT3 with the correct pointer type for argv.Jilles Tjoelker
This fixes perl crashes on startup on some machines. git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4989 dbcabf3a-b0e7-0310-adc4-f8d773084564
2009-01-15Fix minor leak.Emanuele Giaquinta
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4987 dbcabf3a-b0e7-0310-adc4-f8d773084564
2009-01-14Remove unused and odd function.Emanuele Giaquinta
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4985 dbcabf3a-b0e7-0310-adc4-f8d773084564
2009-01-14Fix typos.Emanuele Giaquinta
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4984 dbcabf3a-b0e7-0310-adc4-f8d773084564
2009-01-13Fix last change.Emanuele Giaquinta
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4983 dbcabf3a-b0e7-0310-adc4-f8d773084564
2009-01-13Remove broken and unused format to add an indent function to a line.Emanuele Giaquinta
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4982 dbcabf3a-b0e7-0310-adc4-f8d773084564
2009-01-10Remove buggy /scrollback redraw - scrollback_save_formats.Emanuele Giaquinta
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4981 dbcabf3a-b0e7-0310-adc4-f8d773084564
2009-01-10Use window_get_theme.Emanuele Giaquinta
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4980 dbcabf3a-b0e7-0310-adc4-f8d773084564
2009-01-10Factor out printformat_module_dest_charargs function fromEmanuele Giaquinta
printformat_module_dest_args and use it in printformat_perl to remove code duplication. git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4979 dbcabf3a-b0e7-0310-adc4-f8d773084564
2009-01-08Remove memory chunks in favour of memory slices.Emanuele Giaquinta
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4978 dbcabf3a-b0e7-0310-adc4-f8d773084564
2009-01-08Add defines for memory slices functions for compatibility with glibEmanuele Giaquinta
versions older than 2.10. git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4977 dbcabf3a-b0e7-0310-adc4-f8d773084564
2009-01-04Remove useless code, cur_line is always the last line of the textbuffer.Emanuele Giaquinta
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4976 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-12-30Rewrite pidwait using g_child_watch_add.Emanuele Giaquinta
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4975 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-12-30recvlen must be signed.Emanuele Giaquinta
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4974 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-12-30Use net_receive in sig_exec_input_reader.Emanuele Giaquinta
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4973 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-12-22Check server's connected flag rather than net-sendbuffer pointers inEmanuele Giaquinta
sig_server_quit. git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4972 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-12-22Remove useless net-sendbuffer init/deinit functions.Emanuele Giaquinta
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4971 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-12-22Remove buffers GSList, it is unused since r1023.Emanuele Giaquinta
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4970 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-12-17Fix r4961 change, irssi-core.pl is transformed in a format string so literalsEmanuele Giaquinta
% must be escaped. Patch by Lukas Mai. git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4969 dbcabf3a-b0e7-0310-adc4-f8d773084564