summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2008-12-05Factor computation of fg/bg.Emanuele Giaquinta
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4943 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-12-03Manually inline cell_width.Emanuele Giaquinta
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4942 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-12-03Simplify.Emanuele Giaquinta
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4941 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-12-02Recode outgoing irc quit messages.Emanuele Giaquinta
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4940 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-12-02Fix r1569, assign a proper mask to PRINT_FLAG_UNSET_LINE_START.Emanuele Giaquinta
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4939 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-12-01Aux-sort settings by key in settings_get_sorted.Emanuele Giaquinta
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4938 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-12-01Factor the code to send an irc action into a function.Emanuele Giaquinta
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4937 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-12-01Add function to set minimum/maximum size for a statusbar item.Emanuele Giaquinta
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4936 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-12-01Add public header with interfaces to manage statusbar items, bug #535.Emanuele Giaquinta
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4935 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-11-30Simplify statusbar_item_default_handler by merging update_statusbar_bg andEmanuele Giaquinta
reverse_controls and by using a GString. git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4934 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-11-30Improve SSL error display.Jilles Tjoelker
Display more detailed error messages about SSL and fix assertion failure warnings on some SSL errors. git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4933 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-11-30Make needlessly global variable local where used.Emanuele Giaquinta
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4932 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-11-30Do not check for fcntl.Emanuele Giaquinta
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4931 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-11-29Revert r4924, the comment is correct after all.Jilles Tjoelker
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4930 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-11-29Remove obsolete part of comment.Emanuele Giaquinta
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4929 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-11-29Amend fix for bug #392, assume utf-8 encoding for an ascii string inEmanuele Giaquinta
which no escape character occurs. git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4928 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-11-29Fix r4920 change.Emanuele Giaquinta
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4927 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-11-28Factor code to check if a string is ascii only into a function.Emanuele Giaquinta
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4926 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-11-28Allow /ban, /unban, /kickban, /knockout if channel is not synced.Jilles Tjoelker
Requesting ban lists from an unsynced channel will ask them from the server, banning a user whose u@h irssi does not know will ban nick!*@* and only bans irssi knows about can be removed. git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4925 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-11-28Remove obsolete/wrong part of comment (irc server cmdcount).Jilles Tjoelker
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4924 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-11-28Allow storing multiple "other" prefixes such as +q and +a.Jilles Tjoelker
Original patch by JasonX, somewhat changed by exg and me. git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4922 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-11-24Do not strip the comma in a mirc color if it is not followed by a digit, bugEmanuele Giaquinta
#250. git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4920 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-11-23Remove apparently useless indirection through stub libtool libraryEmanuele Giaquinta
files for libperl.a and DynaLoader.a when building perl support as module. git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4919 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-11-18Move check on term_type outside of strlen_big5.Emanuele Giaquinta
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4917 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-11-18Revert r4912.Emanuele Giaquinta
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4916 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-11-16Do not call skip_target on a non irc server in irc 'own_public'Emanuele Giaquinta
handler, based on a patch by Gabor Adam Toth. git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4915 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-11-16Do not check in irc cmd_away that the active item server is an ircEmanuele Giaquinta
server, it prevents /away from working when the active item server is not an irc one. The check is already performed in irc_server_send_away, so /away -one is unchanged. Patch by Gabor Adam Toth. git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4914 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-11-16Simplify sending of the first pasted line.Emanuele Giaquinta
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4912 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-11-15Handle indent in textbuffer_line2text. This fixes indentation in /lastlog ↵Wouter Coekaerts
and buf.pl. git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4910 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-11-15Handle bold/blink attributes like other attributes rather than mapping them toEmanuele Giaquinta
the eighth bit of the color. The formats KBGCRMYW and the mirc colors are now mapped to colors 8-15. fe-text translates colors 8-15 to bold/blink+0-7 if the terminal supports only 8 colors. git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4909 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-11-12Simplify, use 'o' printf conversion specifier to print number in octal.Emanuele Giaquinta
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4904 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-11-12Remove /wallchops, do not suggest other commands in /help wall.Jilles Tjoelker
The only major ircd supporting /wallchops also supports /notice @#channel. The /wall command has used /notice @#channel (if it is supported which is pretty much everywhere) for a while and so it can be used without problems on large channels. git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4902 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-11-12Recode outgoing irc away messages, bug #412.Emanuele Giaquinta
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4901 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-11-12Export server_send_away and use it in irc-servers-reconnect.c:sig_connectedEmanuele Giaquinta
instead of duplicating the code. git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4900 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-11-12Add perl __WARN__ handler for scripts, bug #427.Emanuele Giaquinta
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4898 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-11-11Add Irssi::command_parse_options function to parse options for a command whichEmanuele Giaquinta
have been set with Irssi::command_set_options. git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4896 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-11-10Remove get_utf8_char/utf16_char_to_utf8 in favour of glibEmanuele Giaquinta
g_utf8_get_char_validated/g_unichar_to_utf8. git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4893 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-11-10recode.h include fixup.Emanuele Giaquinta
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4892 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-11-09Emit message irc own_{action,notice,wall} and message dcc own{,_action} withEmanuele Giaquinta
message in client encoding. git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4891 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-11-09Move recoding of outgoing messages into irc send_message routine. Handlers forEmanuele Giaquinta
message own_{private,public} now receive the message in the client encoding. git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4890 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-11-09Move recoding of incoming quit messages to irc 'event quit' handler.Emanuele Giaquinta
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4889 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-11-09Revert part of r4041. It is not clear which bug it is supposed to fix, and theEmanuele Giaquinta
change seems wrong anyway because notice/action message is already recoded in fe-events.c:event_notice/ctcp_action. git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4888 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-11-08Recode a WALL message also when sending a notice to @#channel.Emanuele Giaquinta
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4887 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-11-04Recode an incoming quit message once with a nick charset preference rather thanEmanuele Giaquinta
doing it for every joined channel the user was in with a channel charset preference. git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4885 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-11-02When returning G_IO_STATUS_ERROR in irssi_ssl_{read,write} create a GError withEmanuele Giaquinta
the openssl error string. git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4884 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-11-02Cleanup error handling in irssi_ssl_{read,write}. Return G_IO_STATUS_AGAIN ifEmanuele Giaquinta
openssl error is SSL_WANT_{READ,WRITE}, G_IO_STATUS_ERROR otherwise. git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4883 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-11-02introduce the type Irssi::Irc::Client and signals to communicate with proxy Jochen Eisinger
clients to allow for scripting parts of the irssi-proxy. git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4882 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-11-02Fix r4879 change.Emanuele Giaquinta
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4881 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-11-01Remove the refcount on LINE_REC.Jilles Tjoelker
It seems to have no clear purpose. git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4879 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-10-31Fix a memory leak with /lastlog -count and rejected (too much) /lastlog.Jilles Tjoelker
The matched lines would not be freed when they expired from the buffer. git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4878 dbcabf3a-b0e7-0310-adc4-f8d773084564