233 Commits

Author SHA1 Message Date
Sebastien Helleu
387cc5048a irc: fix truncated read on socket with SSL (bug #41558)
If there are still data on socket with SSL
(if gnutls_record_check_pending(session) returns > 0), then call
gnutls_record_recv() again to read all available data.

The problem was that some data remained in the gnutls buffers and the recv
callback was not called any more (nothing available on raw socket).
2014-03-18 13:27:18 +01:00
Sebastien Helleu
ffb0ec47c2 core: check validity of buffer pointer when data is sent to a buffer 2014-03-18 12:08:11 +01:00
Sebastien Helleu
476729b897 core: fix crash when buffer is closed during execution of multiple commands (closes #27) 2014-03-18 11:50:44 +01:00
Sebastien Helleu
e84eaafe8e script: set option script.scripts.cache_expire to 1440 by default 2014-03-17 12:59:46 +01:00
Sebastien Helleu
a4a4e2f38f core: fix compilation on SmartOS (bug #40981, closes #23) 2014-03-16 19:18:16 +01:00
Sebastien Helleu
907e099f86 api: allow negative value for y in function printf_y 2014-03-16 17:21:35 +01:00
Sebastien Helleu
fa28d23c4d ruby: fix crash when trying to load a directory with /ruby load 2014-03-16 16:49:41 +01:00
Sebastien Helleu
7f54a1adc1 ruby: add detection of Ruby 2.1 2014-03-16 11:26:47 +01:00
Sebastien Helleu
520509d62c core: update ChangeLog 2014-03-15 12:31:11 +01:00
Sebastien Helleu
85abcaedaa Merge branch 'exec' 2014-03-15 12:28:07 +01:00
Sebastien Helleu
5c5084c37f xfer: fix connection to remote host in DCC receive on Mac OS X (closes #25) 2014-03-14 09:29:41 +01:00
Sebastien Helleu
d52e5d8c8a core: update ChangeLog (closes #24) 2014-03-13 14:17:04 +01:00
Sebastien Helleu
eb21248ae7 core: fix highlight problem with "(?-i)" and upper case letters in option weechat.look.highlight 2014-03-13 14:14:10 +01:00
Sebastien Helleu
1a30be392b core: update ChangeLog 2014-03-12 22:26:14 +01:00
Sebastien Helleu
86e12946a5 irc: add "#" before any channel in /join, even /join 0 (closes #20) 2014-03-12 22:00:05 +01:00
Sebastien Helleu
0b73de9e98 core: update ChangeLog 2014-03-12 09:44:39 +01:00
Sebastien Helleu
19d93d28ab core: update ChangeLog 2014-03-12 09:30:09 +01:00
Sebastien Helleu
9543f9c034 core: add missing \0 at the end of stderr buffer in hook_process 2014-03-11 21:11:54 +01:00
Sebastien Helleu
4f48c7a566 api: add option "detached" in function hook_process_hashtable 2014-03-11 17:48:52 +01:00
Sebastien Helleu
9c838d2628 api: add support of case insensitive search and search by buffer full name in function buffer_search (bug #34318) 2014-03-11 15:07:36 +01:00
Sebastien Helleu
42b416af19 api: add option "signal" in function hook_set to send a signal to the child process 2014-03-11 11:14:07 +01:00
Sebastien Helleu
b6da2c3fa5 core: fix detection of terminated process in hook_process
Check if the process is finished, even if stdout/stderr are not closed.
Moreover, if the process was terminated by a signal, the return code is
set to WEECHAT_HOOK_PROCESS_ERROR.
2014-03-11 11:01:00 +01:00
Sebastien Helleu
32703ae42b core: set option weechat.look.buffer_search_where to prefix_message by default 2014-03-07 20:47:28 +01:00
Sebastien Helleu
f62472e377 script: fix scroll on script buffer in the detailed view of script (closes #6) 2014-03-07 17:50:18 +01:00
Sebastien Helleu
8fac1eea40 core: fix "/window scroll -N" on a buffer with free content 2014-03-07 17:46:51 +01:00
Sebastien Helleu
7a191c2de1 relay: fix crash on /upgrade received from a client (weechat protocol)
Some commands like /upgrade sent by relay client can cause problems, because
they were executed immediately (while relay code is running). The /upgrade
command unloads all plugins, so the result is unpredictable (it can cause a
crash).

This commit adds a timer (1 millisecond) to delay the execution of command
after we go back in the WeeChat main loop.
2014-03-07 09:22:21 +01:00
Sebastien Helleu
dc2365104f core: add option weechat.look.hotlist_add_conditions, remove option weechat.look.hotlist_add_buffer_if_away 2014-03-06 19:29:08 +01:00
Sebastien Helleu
6fbba54bf0 core: fix recursive calls to function eval_expression 2014-03-06 18:23:20 +01:00
Sebastien Helleu
59f0927c9b core: rename file NEWS.asciidoc to ReleaseNotes.asciidoc 2014-03-05 12:21:54 +01:00
Sebastien Helleu
2d7778292a relay: add info "relay_client_count" with optional status name as argument
Use in evaluated strings (for example in /eval or triggers):
- "${info:relay_client_count}": total number of relay clients (any status)

With a specific status:
- "${info:relay_client_count,connecting}"
- "${info:relay_client_count,waiting_auth}"
- "${info:relay_client_count,connected}"
- "${info:relay_client_count,auth_failed}"
- "${info:relay_client_count,disconnected}"
2014-03-05 11:49:25 +01:00
Sebastien Helleu
0995eb334f relay: add signals "relay_client_xxx" for client status changes (closes #2)
New signals:
- relay_client_connecting
- relay_client_waiting_auth
- relay_client_connected
- relay_client_auth_failed
- relay_client_disconnected
2014-03-05 11:43:32 +01:00
Sebastien Helleu
7115f8306a core: add link to formatted version of {ChangeLog|NEWS}.asciidoc 2014-03-05 11:06:49 +01:00
Tor Hveem
0c05c82f77 Use asciidoc file ending for all asciidoc files 2014-03-04 23:39:07 +01:00