Commit graph

  • 2f06196ffb Fix last change. Emanuele Giaquinta 2009-01-13 18:51:25 +00:00
  • fd6bd4d829 Remove broken and unused format to add an indent function to a line. Emanuele Giaquinta 2009-01-13 18:31:31 +00:00
  • 9dcea776a1 Remove buggy /scrollback redraw - scrollback_save_formats. Emanuele Giaquinta 2009-01-10 18:38:08 +00:00
  • b9cbba2ae2 Use window_get_theme. Emanuele Giaquinta 2009-01-10 17:57:38 +00:00
  • 5b4e05c553 Factor out printformat_module_dest_charargs function from printformat_module_dest_args and use it in printformat_perl to remove code duplication. Emanuele Giaquinta 2009-01-10 15:00:06 +00:00
  • edc7dc26fe Remove memory chunks in favour of memory slices. Emanuele Giaquinta 2009-01-08 12:39:11 +00:00
  • 79df89b30a Add defines for memory slices functions for compatibility with glib versions older than 2.10. Emanuele Giaquinta 2009-01-08 11:39:27 +00:00
  • 5b76b1585f Remove useless code, cur_line is always the last line of the textbuffer. Emanuele Giaquinta 2009-01-04 15:56:54 +00:00
  • 8cc7a02b4d Rewrite pidwait using g_child_watch_add. Emanuele Giaquinta 2008-12-30 11:51:27 +00:00
  • baba2b7505 recvlen must be signed. Emanuele Giaquinta 2008-12-30 10:39:21 +00:00
  • c1e214367d Use net_receive in sig_exec_input_reader. Emanuele Giaquinta 2008-12-30 01:20:09 +00:00
  • 725ccc249d Check server's connected flag rather than net-sendbuffer pointers in sig_server_quit. Emanuele Giaquinta 2008-12-22 01:07:11 +00:00
  • ad66af3c10 Remove useless net-sendbuffer init/deinit functions. Emanuele Giaquinta 2008-12-22 00:11:33 +00:00
  • 590ce173b3 Remove buffers GSList, it is unused since r1023. Emanuele Giaquinta 2008-12-22 00:06:49 +00:00
  • bae9c1db7a Fix r4961 change, irssi-core.pl is transformed in a format string so literals % must be escaped. Patch by Lukas Mai. Emanuele Giaquinta 2008-12-17 18:56:56 +00:00
  • fe4c5abe28 Preserve op/halfop/voice when /upgrading from before the prefixes change (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. Jilles Tjoelker 2008-12-13 21:42:42 +00:00
  • 251d956ddc prefix_add(): copy correct number of bytes Jilles Tjoelker 2008-12-12 22:04:37 +00:00
  • 8c510be0a6 Document Irssi::signal_continue() and clarify new signal registration requirements (r4953). Jilles Tjoelker 2008-12-12 21:01:48 +00:00
  • 1b7296dc5f Revert r4964, at least one script uses ypos. Emanuele Giaquinta 2008-12-12 10:42:14 +00:00
  • feb95100ce Remove ypos field of TEXT_BUFFER_VIEW_REC, it is used to compute the row 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. Emanuele Giaquinta 2008-12-11 20:59:21 +00:00
  • f9f031826f Remove methods to create/destroy TextBuffer and TextBufferView and low level api to add/remove lines, scripts should be fine using Window::print_after and TextBufferView::remove_line. Emanuele Giaquinta 2008-12-10 10:21:04 +00:00
  • 29a56d7974 Add print_after method to Window perl object analogous to gui_printtext_after but which also expands formats and forces a full line. Emanuele Giaquinta 2008-12-10 09:35:25 +00:00
  • 0327b7d5dc Clean up script loading in general. 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. Emanuele Giaquinta 2008-12-09 21:42:51 +00:00
  • 7982a86420 Fix undefined behavior due to modifying PL_na twice between sequence points. Patch by Lukas Mai. Emanuele Giaquinta 2008-12-09 18:16:49 +00:00
  • 20c362a93d Remove resize method of TextBufferView perl object, it is not useful and dangerous. Emanuele Giaquinta 2008-12-09 18:02:53 +00:00
  • d71aea5b2b Remove internal utf8 functions in favour of glib ones. Emanuele Giaquinta 2008-12-09 11:59:16 +00:00
  • cba6199958 Cosmetic. Emanuele Giaquinta 2008-12-09 11:45:23 +00:00
  • 48d0135d3e Make some functions static. Emanuele Giaquinta 2008-12-08 17:11:00 +00:00
  • 8a5aa22ed8 Document command syntax. Emanuele Giaquinta 2008-12-08 16:55:29 +00:00
  • 770c906a1c Simplify. Emanuele Giaquinta 2008-12-08 16:32:56 +00:00
  • 8c64738cdc Add perl_signal_args_to_c() to convert signal parameters from Perl to C values, 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. Emanuele Giaquinta 2008-12-08 16:06:11 +00:00
  • 0cea011470 Fix NETSPLIT_SERVER_REC substitution in get-signals.pl, reported by Lukas Mai. Emanuele Giaquinta 2008-12-08 15:45:49 +00:00
  • 8a1e8acfc4 Change get-signals.pl mime type to text/x-perl. Emanuele Giaquinta 2008-12-08 15:39:12 +00:00
  • 9ef51b0567 Simplify, isalnum && !isdigit == isalpha. Emanuele Giaquinta 2008-12-07 23:30:00 +00:00
  • 43bed5bb09 Simplify and remove dead code. Emanuele Giaquinta 2008-12-07 15:49:04 +00:00
  • 04a028d8c9 Simplify and remove dead code, MAIN_WINDOW_TEXT_HEIGHT(rec) >= WINDOW_MIN_SIZE always holds. Emanuele Giaquinta 2008-12-06 17:02:27 +00:00
  • fe9b63ef65 Always preserve the active mainwindow in mainwindows_resize_smaller, prompted by report by Henri Kemppainen. Emanuele Giaquinta 2008-12-06 12:36:41 +00:00
  • a644a200c1 Fix leak introduced in r1855. Emanuele Giaquinta 2008-12-06 12:29:51 +00:00
  • 861781bac5 Add brief documentation for Irssi::signal_register() perl function. Jilles Tjoelker 2008-12-06 00:14:19 +00:00
  • 8994731d1b Add a notice to src/perl/perl-signals-list.h that it is autogenerated. Jilles Tjoelker 2008-12-05 23:59:49 +00:00
  • 14b9462ae4 Factor computation of fg/bg. Emanuele Giaquinta 2008-12-05 13:55:23 +00:00
  • 6c0463fbf7 Manually inline cell_width. Emanuele Giaquinta 2008-12-03 20:14:58 +00:00
  • a266ce8d97 Simplify. Emanuele Giaquinta 2008-12-03 19:09:54 +00:00
  • a065f97f87 Recode outgoing irc quit messages. Emanuele Giaquinta 2008-12-02 16:13:15 +00:00
  • 9459ac8127 Fix r1569, assign a proper mask to PRINT_FLAG_UNSET_LINE_START. Emanuele Giaquinta 2008-12-02 13:14:09 +00:00
  • cba15593f2 Aux-sort settings by key in settings_get_sorted. Emanuele Giaquinta 2008-12-01 19:29:41 +00:00
  • 997a25c522 Factor the code to send an irc action into a function. Emanuele Giaquinta 2008-12-01 18:35:10 +00:00
  • 3f9148d0e3 Add function to set minimum/maximum size for a statusbar item. Emanuele Giaquinta 2008-12-01 18:18:59 +00:00
  • 545b0d5de8 Add public header with interfaces to manage statusbar items, bug #535. Emanuele Giaquinta 2008-12-01 18:12:52 +00:00
  • 227e90e52b Simplify statusbar_item_default_handler by merging update_statusbar_bg and reverse_controls and by using a GString. Emanuele Giaquinta 2008-11-30 23:14:43 +00:00
  • 672022461a Improve SSL error display. Jilles Tjoelker 2008-11-30 22:48:39 +00:00
  • c335a16f71 Make needlessly global variable local where used. Emanuele Giaquinta 2008-11-30 14:48:54 +00:00
  • 75666168b7 Do not check for fcntl. Emanuele Giaquinta 2008-11-30 14:33:14 +00:00
  • ee34525905 Revert r4924, the comment is correct after all. Jilles Tjoelker 2008-11-29 19:38:00 +00:00
  • 184e4071c1 Remove obsolete part of comment. Emanuele Giaquinta 2008-11-29 18:01:04 +00:00
  • a8680fb7da Amend fix for bug #392, assume utf-8 encoding for an ascii string in which no escape character occurs. Emanuele Giaquinta 2008-11-29 10:45:58 +00:00
  • ccb8e04a01 Fix r4920 change. Emanuele Giaquinta 2008-11-29 08:31:42 +00:00
  • d6be6b9cff Factor code to check if a string is ascii only into a function. Emanuele Giaquinta 2008-11-28 23:01:45 +00:00
  • 3ddd984bfc Allow /ban, /unban, /kickban, /knockout if channel is not synced. Jilles Tjoelker 2008-11-28 20:43:59 +00:00
  • 6fe433ca0b Remove obsolete/wrong part of comment (irc server cmdcount). Jilles Tjoelker 2008-11-28 18:49:31 +00:00
  • 41be9d6085 Update NEWS. Emanuele Giaquinta 2008-11-28 09:54:23 +00:00
  • 89cd47bf3a Allow storing multiple "other" prefixes such as +q and +a. Original patch by JasonX, somewhat changed by exg and me. Jilles Tjoelker 2008-11-28 00:16:51 +00:00
  • aefa7b47c1 Add foreign to automake options. Emanuele Giaquinta 2008-11-24 23:44:50 +00:00
  • 3f0743e749 Do not strip the comma in a mirc color if it is not followed by a digit, bug #250. Emanuele Giaquinta 2008-11-24 23:22:44 +00:00
  • be57a4e3e1 Remove apparently useless indirection through stub libtool library files for libperl.a and DynaLoader.a when building perl support as module. Emanuele Giaquinta 2008-11-23 09:48:48 +00:00
  • 51d9d6947d Typo fix by Richard Hartmann (RichiH) Geert Hauwaerts 2008-11-22 12:43:39 +00:00
  • da86080d40 Move check on term_type outside of strlen_big5. Emanuele Giaquinta 2008-11-18 09:59:54 +00:00
  • ba002bbc13 Revert r4912. Emanuele Giaquinta 2008-11-18 09:21:36 +00:00
  • 9e247274d1 Do not call skip_target on a non irc server in irc 'own_public' handler, based on a patch by Gabor Adam Toth. Emanuele Giaquinta 2008-11-16 16:28:09 +00:00
  • 718d85ceab Do not check in irc cmd_away that the active item server is an irc 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. Emanuele Giaquinta 2008-11-16 16:09:44 +00:00
  • 25358fa1ec Fix regression introduced in r4906, remove leading zeros from IRSSI_VERSION_TIME value. Emanuele Giaquinta 2008-11-16 15:38:33 +00:00
  • ca5f4ec1f9 Simplify sending of the first pasted line. Emanuele Giaquinta 2008-11-16 09:19:27 +00:00
  • 136a1ec360 Update NEWS Wouter Coekaerts 2008-11-15 22:07:31 +00:00
  • f5d38ab5a2 Handle indent in textbuffer_line2text. This fixes indentation in /lastlog and buf.pl. Wouter Coekaerts 2008-11-15 22:04:57 +00:00
  • 621761cff3 Handle bold/blink attributes like other attributes rather than mapping them to 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. Emanuele Giaquinta 2008-11-15 21:51:07 +00:00
  • efe2bad590 Do not update the version file if it is unchanged. Emanuele Giaquinta 2008-11-15 16:47:31 +00:00
  • 6597a0a60a Add sb_search.pl in Makefile.am Wouter Coekaerts 2008-11-15 16:44:20 +00:00
  • 52b506e13a Move irssi-version.h generation out of configure and add suport for getting the date of the last change with svn info/git log. Emanuele Giaquinta 2008-11-13 23:35:48 +00:00
  • 5497b07c8a Merge findsyntax.pl in syntax.pl. Emanuele Giaquinta 2008-11-13 10:22:35 +00:00
  • 169c55b949 Simplify, use 'o' printf conversion specifier to print number in octal. Emanuele Giaquinta 2008-11-12 23:13:57 +00:00
  • 289b1ab81c Remove reference to wallchops. Jilles Tjoelker 2008-11-12 21:47:21 +00:00
  • c5109787eb Remove /wallchops, do not suggest other commands in /help wall. Jilles Tjoelker 2008-11-12 21:00:05 +00:00
  • 27be963a86 Recode outgoing irc away messages, bug #412. Emanuele Giaquinta 2008-11-12 20:49:48 +00:00
  • cf41f6d45d Export server_send_away and use it in irc-servers-reconnect.c:sig_connected instead of duplicating the code. Emanuele Giaquinta 2008-11-12 20:31:41 +00:00
  • ee6133f324 Add script for /scrollback search Wouter Coekaerts 2008-11-12 19:04:17 +00:00
  • 877c64a08c Add perl __WARN__ handler for scripts, bug #427. Emanuele Giaquinta 2008-11-12 18:04:39 +00:00
  • e39a087979 Fix punctuation. Emanuele Giaquinta 2008-11-11 23:49:59 +00:00
  • f0647439a9 Add Irssi::command_parse_options function to parse options for a command which have been set with Irssi::command_set_options. Emanuele Giaquinta 2008-11-11 23:33:47 +00:00
  • f4e9745c9f Fix broken url. Emanuele Giaquinta 2008-11-11 18:16:24 +00:00
  • d63f6d4a88 Fix typo. Emanuele Giaquinta 2008-11-11 14:28:55 +00:00
  • 7b529aa530 Remove get_utf8_char/utf16_char_to_utf8 in favour of glib g_utf8_get_char_validated/g_unichar_to_utf8. Emanuele Giaquinta 2008-11-10 11:59:31 +00:00
  • 04ea54a1a0 recode.h include fixup. Emanuele Giaquinta 2008-11-10 00:31:00 +00:00
  • 1b27be4abc Emit message irc own_{action,notice,wall} and message dcc own{,_action} with message in client encoding. Emanuele Giaquinta 2008-11-09 23:53:40 +00:00
  • 9003a61629 Move recoding of outgoing messages into irc send_message routine. Handlers for message own_{private,public} now receive the message in the client encoding. Emanuele Giaquinta 2008-11-09 23:33:24 +00:00
  • 9ce4352e1d Move recoding of incoming quit messages to irc 'event quit' handler. Emanuele Giaquinta 2008-11-09 23:06:37 +00:00
  • c647f8b206 Revert part of r4041. It is not clear which bug it is supposed to fix, and the change seems wrong anyway because notice/action message is already recoded in fe-events.c:event_notice/ctcp_action. Emanuele Giaquinta 2008-11-09 19:37:25 +00:00
  • 110f94ceb6 Recode a WALL message also when sending a notice to @#channel. Emanuele Giaquinta 2008-11-08 22:09:20 +00:00
  • b230d73dd8 Fix r4880 change. Emanuele Giaquinta 2008-11-04 23:04:41 +00:00
  • 483589efb5 Recode an incoming quit message once with a nick charset preference rather than doing it for every joined channel the user was in with a channel charset preference. Emanuele Giaquinta 2008-11-04 14:05:57 +00:00
  • b555e18985 When returning G_IO_STATUS_ERROR in irssi_ssl_{read,write} create a GError with the openssl error string. Emanuele Giaquinta 2008-11-02 14:49:48 +00:00