summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
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
2008-12-13Preserve op/halfop/voice when /upgrading from before the prefixes changeJilles Tjoelker
(r4922). This also restores them when /upgrading from a revision between r4922 and this one. Note that other prefixes are still lost when /upgrading from pre-r4922 irssi. git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4968 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-12-12prefix_add(): copy correct number of bytesJilles Tjoelker
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4967 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-12-12Revert r4964, at least one script uses ypos.Emanuele Giaquinta
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4965 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-12-11Remove ypos field of TEXT_BUFFER_VIEW_REC, it is used to compute the rowEmanuele Giaquinta
position where to draw a new line and if the view is at the bottom of the textbuffer, but the same information can be computed more easily by other means. git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4964 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-12-10Remove methods to create/destroy TextBuffer and TextBufferView and low levelEmanuele Giaquinta
api to add/remove lines, scripts should be fine using Window::print_after and TextBufferView::remove_line. git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4963 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-12-10Add print_after method to Window perl object analogous toEmanuele Giaquinta
gui_printtext_after but which also expands formats and forces a full line. git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4962 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-12-09Clean up script loading in general.Emanuele Giaquinta
Don't leak local variables to eval'd code. Set filename/line number to get better error messages from perl. Use three-arg open and lexical filehandles to avoid surprises. Include error reason in message for unopenable scripts. Don't wrap script code in sub handler { } - this avoids spurious warnings and should at least allow __END__ to work properly. Patch by Lukas Mai. git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4961 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-12-09Fix undefined behavior due to modifying PL_na twice between sequence points.Emanuele Giaquinta
Patch by Lukas Mai. git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4960 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-12-09Remove resize method of TextBufferView perl object, it is not usefulEmanuele Giaquinta
and dangerous. git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4959 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-12-09Remove internal utf8 functions in favour of glib ones.Emanuele Giaquinta
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4958 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-12-09Cosmetic.Emanuele Giaquinta
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4957 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-12-08Make some functions static.Emanuele Giaquinta
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4956 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-12-08Simplify.Emanuele Giaquinta
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4954 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-12-08Add perl_signal_args_to_c() to convert signal parameters from Perl to C values,Emanuele Giaquinta
and make Irssi::signal_emit/Irssi::signal_continue use it. Also make perl_call_signal() turn NULLs into undef, so we can recover them in perl_signal_args_to_c(), which is its inverse operation. Patch by Lukas Mai. git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4953 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-12-08Fix NETSPLIT_SERVER_REC substitution in get-signals.pl, reported by Lukas Mai.Emanuele Giaquinta
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4952 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-12-07Simplify, isalnum && !isdigit == isalpha.Emanuele Giaquinta
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4950 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-12-07Simplify and remove dead code.Emanuele Giaquinta
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4949 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-12-06Simplify and remove dead code, MAIN_WINDOW_TEXT_HEIGHT(rec) >= WINDOW_MIN_SIZEEmanuele Giaquinta
always holds. git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4948 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-12-06Always preserve the active mainwindow in mainwindows_resize_smaller,Emanuele Giaquinta
prompted by report by Henri Kemppainen. git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4947 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-12-06Fix leak introduced in r1855.Emanuele Giaquinta
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4946 dbcabf3a-b0e7-0310-adc4-f8d773084564
2008-12-05Add a notice to src/perl/perl-signals-list.h that it is autogenerated.Jilles Tjoelker
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4944 dbcabf3a-b0e7-0310-adc4-f8d773084564
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