Commit graph

  • fc85d71d12 Cleanup error handling in irssi_ssl_{read,write}. Return G_IO_STATUS_AGAIN if openssl error is SSL_WANT_{READ,WRITE}, G_IO_STATUS_ERROR otherwise. Emanuele Giaquinta 2008-11-02 14:02:00 +00:00
  • f8461d39bc introduce the type Irssi::Irc::Client and signals to communicate with proxy clients to allow for scripting parts of the irssi-proxy. Jochen Eisinger 2008-11-02 12:13:36 +00:00
  • 73b18f2672 Fix r4879 change. Emanuele Giaquinta 2008-11-02 07:34:35 +00:00
  • 200caf1ac6 Factor the code to update svn changelog into a script. Emanuele Giaquinta 2008-11-01 23:50:58 +00:00
  • aa39fba88d Remove the refcount on LINE_REC. It seems to have no clear purpose. Jilles Tjoelker 2008-11-01 17:56:56 +00:00
  • 875adf35a0 Fix a memory leak with /lastlog -count and rejected (too much) /lastlog. The matched lines would not be freed when they expired from the buffer. Jilles Tjoelker 2008-10-31 10:57:32 +00:00
  • c955bcd672 Also display 407 numerics that are not "duplicate channel". Jilles Tjoelker 2008-10-28 17:29:49 +00:00
  • 86a5e8085a Remove scrollback_levelclear_levels setting and add a 'level' option to 'sb levelclear' to specify a comma separated list of levels. Emanuele Giaquinta 2008-10-21 11:09:51 +00:00
  • 5e4c08d8a1 Fix r4743 change, avoid sign extension. Emanuele Giaquinta 2008-10-08 22:58:27 +00:00
  • e563de4b81 Fix display of ratbox-style operspy whois (/whois !nick). Jilles Tjoelker 2008-08-30 23:55:04 +00:00
  • 6e1d887a7a Ignore DNS not found errors when considering reconnect. Contrary to the standards, these are often transient. Jilles Tjoelker 2008-08-25 16:34:02 +00:00
  • 84e1e871e7 Fix crash on startup if perl is compiled in. bug #618 Jilles Tjoelker 2008-08-23 16:05:47 +00:00
  • 47f129e0a5 Call PERL_SYS_INIT3() and PERL_SYS_TERM() as documented in perlembed(1), patch by Gerfried Fuchs (debian bug #495059). Emanuele Giaquinta 2008-08-22 11:54:32 +00:00
  • 7e3bf21139 Remove duplicated help file. Emanuele Giaquinta 2008-08-22 11:47:21 +00:00
  • 7c3e1437f3 Update NEWS. Emanuele Giaquinta 2008-08-06 09:43:40 +00:00
  • a7419662f7 Add some changes of mine to NEWS. Jilles Tjoelker 2008-08-06 00:47:59 +00:00
  • 9fa8cbe7a2 Revert recode changes r4483 and r4715. Emanuele Giaquinta 2008-08-02 13:15:38 +00:00
  • d788673eb9 Set null encoding for file channels. Emanuele Giaquinta 2008-08-01 12:38:58 +00:00
  • 13849ba4f2 Fix typos. Emanuele Giaquinta 2008-08-01 12:27:37 +00:00
  • 3540d21ee1 Include various overheads in /sb status memory count. Overheads caused by the "view" cache are not included. Jilles Tjoelker 2008-06-19 21:57:52 +00:00
  • 9d28437a57 Updated irssi.conf - Added new networks: Rizon, GameSurge, LinkNet, WebChat, OFTC - Changed the default IPv6 and IPv4 IRCnet servers Geert Hauwaerts 2008-06-18 21:52:36 +00:00
  • 21abb51130 Cache charset related data rather than computing it everytime recode_{in,out} is called. Emanuele Giaquinta 2008-06-10 22:49:00 +00:00
  • bd63e4c746 s/nickserv ident/nickserv identify/ Emanuele Giaquinta 2008-06-10 10:49:25 +00:00
  • f84a7d9e2b Add 'actlist_names' option to add active items names in 'act' statusbar item. Emanuele Giaquinta 2008-06-10 10:21:00 +00:00
  • 8c482d03a9 Pass NULL to settings_set_str to reset term_charset to its default value rather than hardcoding the string. Emanuele Giaquinta 2008-06-06 22:19:57 +00:00
  • 1aa6cbc3f9 Remove kludge and add the 'setup changed' handler with higher priority so that term_charset validation is performed before any use. Emanuele Giaquinta 2008-06-06 22:07:56 +00:00
  • 1a79bd055c Fix /set hilight_level not taking effect immediately (bug #598). Patch by exg. Wouter Coekaerts 2008-06-04 19:33:00 +00:00
  • 1e3e062b24 Simplify, append directly to GString rather than allocating a temporary string. Emanuele Giaquinta 2008-05-31 13:18:43 +00:00
  • 278dfd7f76 Reduce some memory waste in the scrollback buffer. Formerly, TEXT_CHUNK_REC was slightly more than a page. Due to glib changes (GMemChunk -> GSlice), this is now malloced directly, and many mallocs round up allocations larger than a page to page boundaries. On a whole this seems to save about 10%. Jilles Tjoelker 2008-05-30 23:17:37 +00:00
  • 7bf2ef0f6d Fix typo. Emanuele Giaquinta 2008-05-27 18:20:23 +00:00
  • a01f13202f Fix leak. Emanuele Giaquinta 2008-05-27 18:19:34 +00:00
  • 647c3cb4da Read more bytes at a time from servers. (at most 2048 instead of 512) This should reduce syscalls and TCP packets. Jilles Tjoelker 2008-05-24 20:55:27 +00:00
  • d917a439da Cosmetic. Emanuele Giaquinta 2008-05-24 15:43:12 +00:00
  • 58d050db7c Fix minor leak. Emanuele Giaquinta 2008-05-23 11:19:43 +00:00
  • 82d6797306 Reindent. Emanuele Giaquinta 2008-05-23 10:05:44 +00:00
  • 3236daa97a Fix leaks. Emanuele Giaquinta 2008-05-23 09:59:59 +00:00
  • 54f5beb8f5 Do nothing in word_complete if erase is true and we are not continuing a completion. Emanuele Giaquinta 2008-05-23 09:47:40 +00:00
  • 8e8d46f211 Update NEWS. Emanuele Giaquinta 2008-05-23 07:51:10 +00:00
  • ae18e36735 Fix command description. Emanuele Giaquinta 2008-05-23 07:44:16 +00:00
  • f053542dcf Extend net_sendbuffer by adding a LINEBUF_REC member and a net_sendbuffer_receive_line function to read linewise from the associated io channel. Rewrite irc/dcc/proxy read logic on top of it. Emanuele Giaquinta 2008-05-22 22:38:29 +00:00
  • 9f99376a8a Allow increasing the send buffer to 1MB/connection, and warn if that is exceeded. It should really close connections that exceed the limit, but does not do that yet. Jilles Tjoelker 2008-05-22 21:42:29 +00:00
  • ba80576b1e Remove some global variables used to store settings values, instead get the values when needed. Emanuele Giaquinta 2008-05-19 21:55:04 +00:00
  • 547e3defc2 Add 'list' option to bind command to list all the available commands and remove hardcoded list in bind help. Emanuele Giaquinta 2008-05-19 11:25:14 +00:00
  • f9376ec8e7 Improve descriptions of key bind items Wouter Coekaerts 2008-05-18 20:49:20 +00:00
  • 87e1889e83 Update option names after r3080. Emanuele Giaquinta 2008-05-18 14:47:01 +00:00
  • 9b730ecab6 Remove duplicated help file. Emanuele Giaquinta 2008-05-18 14:31:03 +00:00
  • ad5059da77 Clarify the meaning of 'port' option for 'server add', patch by Dyana Wu. Emanuele Giaquinta 2008-05-18 14:03:35 +00:00
  • 548e5115bb Add 'word_completion_backward' command to scroll backwards in the completion list, bug #313. Emanuele Giaquinta 2008-05-17 13:12:21 +00:00
  • 4faa743972 Pass NULL to settings_set_str to reset recode_fallback to its default value rather than hardcoding the string, fixes also a possible invalid g_free reported by Sven Wegener. Emanuele Giaquinta 2008-05-17 09:42:23 +00:00
  • b8ac543f82 Stop the 'complete word' signal in the default completer when the channel name completion list is non empty, bug #316. Emanuele Giaquinta 2008-05-16 12:46:09 +00:00
  • 24fe627a25 Complete server tags for /window server. Emanuele Giaquinta 2008-05-15 17:17:53 +00:00
  • 37b8c55640 Use a GString rather than g_strdup_printf to build the format string. Emanuele Giaquinta 2008-05-15 16:54:01 +00:00
  • afd7bef736 Do not check for mkfifo, it is not used. Emanuele Giaquinta 2008-05-15 12:53:49 +00:00
  • aa002fa78c Re-add sort by level / aux-sort by refnum and re-map actlist_sort 'level' value to it. Add 'level,recent' value for sort by level / aux-sort by most recent activity. Requested by tomaw. Emanuele Giaquinta 2008-05-15 10:54:03 +00:00
  • f71679ca69 Remove check for nl_langinfo, we do not use it anymore. Emanuele Giaquinta 2008-05-14 09:13:04 +00:00
  • 764f311a8b Use g_get_charset to check if the locale codeset is UTF-8. Emanuele Giaquinta 2008-05-14 09:11:31 +00:00
  • b44bcd68cb Use g_get_charset to retrieve the locale codeset. Emanuele Giaquinta 2008-05-14 08:58:04 +00:00
  • c54fa04781 Remove theme format and signal doc for no more notify idle code. Emanuele Giaquinta 2008-05-14 08:29:33 +00:00
  • fd44be823e Use g_input_add_poll to create a watcher for an fd. Emanuele Giaquinta 2008-05-13 14:43:33 +00:00
  • e592a1f085 Remove note about the need to restart irssi in windows_layout_saved theme format, bindings are instantly effective now. Emanuele Giaquinta 2008-05-13 14:35:02 +00:00
  • 97da8b64f4 Set PL_perl_destruct_level to 1 before calling perl_destruct, without it /script reset may cause irssi to crash. Emanuele Giaquinta 2008-05-13 14:27:03 +00:00
  • b85e843297 Update notify_list theme format for idle option removal. Emanuele Giaquinta 2008-05-12 23:46:33 +00:00
  • 09afda5234 Make some functions static. Emanuele Giaquinta 2008-04-28 22:35:31 +00:00
  • e32e6fea4b Make some variables static. Emanuele Giaquinta 2008-04-28 09:27:13 +00:00
  • cad6fb2e19 Refactor code to create a watcher for an fd into a function. Emanuele Giaquinta 2008-04-25 08:42:47 +00:00
  • e88bd31323 Use term_add_unichar to print ucs-4 chars. Emanuele Giaquinta 2008-04-21 20:44:04 +00:00
  • 83ad9855e7 Reindent. Emanuele Giaquinta 2008-04-21 20:23:17 +00:00
  • a6090c7f8f Remove no longer needed kludge to inhibit writing in the last cell. Emanuele Giaquinta 2008-04-21 17:32:55 +00:00
  • 951a0de704 Fix leak with $L expando. Emanuele Giaquinta 2008-04-21 14:00:02 +00:00
  • eb6ee3136f Simplify. Emanuele Giaquinta 2008-04-20 10:27:32 +00:00
  • 0957ac5dfe Simplify computation of TERM_REC fields offsets using G_STRUCT_OFFSET/G_STRUCT_MEMBER_P. Emanuele Giaquinta 2008-04-20 09:24:12 +00:00
  • 7bd938542e Remove non-working detach/attach code. Emanuele Giaquinta 2008-04-19 15:01:16 +00:00
  • e361d2f498 Remove the need to buffer input by moving the 'gui key pressed' events generation into term_gets. Emanuele Giaquinta 2008-04-16 21:14:05 +00:00
  • 77dd63ac83 Make last_{fg,bg,flags} members of TEXT_BUFFER_REC. Emanuele Giaquinta 2008-04-16 20:32:36 +00:00
  • 2aac604293 Remove workaround no longer needed. Emanuele Giaquinta 2008-04-11 21:27:12 +00:00
  • 0b9a3f4aef Factor strchr call. Emanuele Giaquinta 2008-04-08 13:02:56 +00:00
  • b2c8ba134b Slightly optimize update of activity list when a window is destroyed. Emanuele Giaquinta 2008-04-06 19:19:46 +00:00
  • 2e78cb54e0 Really make actlist_sort = level match active_window ordering. Emanuele Giaquinta 2008-04-06 19:07:38 +00:00
  • e2362f7884 Partly revert r4796, it is not a bug but by design that recode_fallback is honored only when the terminal encoding is utf-8. Emanuele Giaquinta 2008-04-05 17:07:37 +00:00
  • c280030608 Restore the behaviour of active_window to go to the window with most recent activity between the ones with highest data level, and make actlist_sort = level match this ordering. Emanuele Giaquinta 2008-04-05 14:09:01 +00:00
  • 68763eb4e8 Cosmetics. Emanuele Giaquinta 2008-04-05 13:11:22 +00:00
  • 76fb9b6ac2 Fix logic in recode_in: Honour recode_fallback also when the terminal encoding is not utf-8. Return the string as it is when the terminal encoding is utf-8, the string is valid utf-8, and the first conversion failed, rather than trying again the same conversion. Emanuele Giaquinta 2008-04-05 13:07:26 +00:00
  • 2f13aacf43 Change type of 'chr' argument in terminfo_repeat/term_addch to 'char'. Emanuele Giaquinta 2008-04-04 08:41:44 +00:00
  • e8ae6d827d Always use g_realloc rather than using g_malloc when the pointer is NULL. Emanuele Giaquinta 2008-04-02 11:07:03 +00:00
  • d39d949b79 Print warning messages to stderr rather than to stdout. Emanuele Giaquinta 2008-03-31 21:55:12 +00:00
  • f50b700ed3 Set is_readable/is_writeable/use_buffer flags. Emanuele Giaquinta 2008-03-30 14:13:52 +00:00
  • f34b9bba3b Make irssi_ssl_{seek,close} call giochan->funcs->io_{seek,close} rather than g_io_channel_{seek,close}. Emanuele Giaquinta 2008-03-30 14:05:39 +00:00
  • 23459ac90d Add todo for gnutls. Emanuele Giaquinta 2008-03-30 13:53:33 +00:00
  • 26a1d639e7 Use g_io_channel_unref rather than g_io_channel_close for file channels. Emanuele Giaquinta 2008-03-30 13:30:52 +00:00
  • 1ffed412c6 Implement linebuf_find using memchr. Emanuele Giaquinta 2008-03-30 13:23:12 +00:00
  • fa50bb7209 Remove useless assignment. Emanuele Giaquinta 2008-03-30 09:54:53 +00:00
  • 77d06220da Fix test server linking. Emanuele Giaquinta 2008-03-30 09:42:24 +00:00
  • 683738e935 Move autorun_startup in fe-common-core.c and remove autorun.{c,h}. Emanuele Giaquinta 2008-03-29 18:15:34 +00:00
  • 7e4bc5c7f4 Remove unneeded includes. Emanuele Giaquinta 2008-03-29 10:26:05 +00:00
  • 7e1128029f Move net_disconnect_later declaration from network.h to net-disconnect.h. Emanuele Giaquinta 2008-03-29 10:25:15 +00:00
  • d198fa0abb Use g_io_channel_seek_position in irssi_ssl_seek. Emanuele Giaquinta 2008-03-28 23:03:17 +00:00
  • cd9e7e110a Remove useless uses of replace_chars. Emanuele Giaquinta 2008-03-28 18:30:26 +00:00
  • 1e4b9c024d Do not abort if libtool static libraries are disabled. Emanuele Giaquinta 2008-03-28 17:26:30 +00:00
  • aca21b89f2 Simplify libtool/gmodule test. Emanuele Giaquinta 2008-03-28 17:15:39 +00:00
  • cdaf0c72e8 Make strstr_full_case internal. Emanuele Giaquinta 2008-03-28 12:59:26 +00:00