Sébastien Helleu
4b784a631c
core: remove unneeded test on variable argv
2018-05-19 08:14:52 +02:00
Sébastien Helleu
25951cf56d
core: remove unused variable
2018-05-19 08:13:12 +02:00
Sébastien Helleu
26d972dd57
script: fix memory leak in case of invalid XML content in list of scripts
2018-05-18 23:01:57 +02:00
Sébastien Helleu
4aeed262f8
php: add comments about C compiler happiness
2018-05-17 22:04:19 +02:00
Sébastien Helleu
8b876bd668
scripts: remove double return in info eval callback functions not yet implemented
2018-05-17 22:02:10 +02:00
Sébastien Helleu
f3a31f609a
php: ensure vbuffer is not NULL before using it
2018-05-17 21:59:20 +02:00
Sébastien Helleu
b0fc579955
fset: ensure option_name is not NULL before comparing it
2018-05-17 21:51:09 +02:00
Sébastien Helleu
76f3be5260
core: fix infinite loop in evaluation of strings ( closes #1183 )
2018-04-17 20:27:48 +02:00
Sébastien Helleu
7877e1b8c2
core: add an eval context structure
...
A pointer to this structure is given as parameter in each eval function called:
- eval_replace_vars
- eval_expression_condition
- eval_replace_regex
2018-04-17 20:27:12 +02:00
Sébastien Helleu
1a5527cf2e
core: do not set terminal title by default (option weechat.look.window_title) ( closes #1182 )
2018-04-16 21:25:40 +02:00
Sébastien Helleu
d9425f3765
core: add example of secured data in /help eval
2018-04-15 10:15:17 +02:00
Sébastien Helleu
9265acf879
scripts: fix memory leak in hook_info callback
2018-04-13 19:55:20 +02:00
Sébastien Helleu
41d63511b4
scripts: fix return value of hook_infolist callback (pointer instead of string)
2018-04-12 00:12:20 +02:00
Sébastien Helleu
da960e9176
core: initialize size to 0 when it is not used in the infolist variable
2018-04-11 22:44:23 +02:00
Sébastien Helleu
3467d6eb43
scripts: return long integer instead of string in function infolist_time
2018-04-10 21:26:15 +02:00
Sébastien Helleu
4001ed956f
php: return long instead of int in function hdata_time
2018-04-10 19:34:43 +02:00
Sébastien Helleu
9d83cefdbf
php: fix return code of functions config_write_option and config_write_line
2018-04-10 19:34:31 +02:00
Sébastien Helleu
ab61ddd4ab
scripts: do not allocate memory when converting pointers to strings
2018-04-10 19:33:14 +02:00
Sébastien Helleu
c89035327c
ruby: fix memory leak in 7 functions returning allocated strings
...
Fixed functions:
- list_new
- list_add
- list_search
- list_casesearch
- list_get
- list_next
- list_prev
2018-04-10 19:31:39 +02:00
Sébastien Helleu
e7b2e3cb02
guile: fix memory leak in 7 functions returning allocated strings
...
Fixed functions:
- list_new
- list_add
- list_search
- list_casesearch
- list_get
- list_next
- list_prev
2018-04-10 19:31:14 +02:00
Sébastien Helleu
c3d1c9734b
php: fix memory leak in 72 functions returning allocated strings
...
Fixed functions:
- iconv_to_internal
- iconv_from_internal
- string_mask_to_regex
- string_format_size
- string_remove_color
- string_eval_expression
- string_eval_path_home
- list_new
- list_add
- list_search
- list_casesearch
- list_get
- list_next
- list_prev
- config_new
- config_new_section
- config_search_section
- config_new_option
- config_search_option
- config_get
- hook_command
- hook_completion
- hook_command_run
- hook_timer
- hook_fd
- hook_process
- hook_process_hashtable
- hook_connect
- hook_print
- hook_signal
- hook_hsignal
- hook_config
- hook_modifier
- hook_modifier_exec
- hook_info
- hook_info_hashtable
- hook_infolist
- hook_focus
- buffer_new
- buffer_search
- buffer_search_main
- current_buffer
- buffer_get_pointer
- buffer_string_replace_local_var
- current_window
- window_search_with_buffer
- window_get_pointer
- nicklist_add_group
- nicklist_search_group
- nicklist_add_nick
- nicklist_search_nick
- nicklist_group_get_pointer
- nicklist_nick_get_pointer
- bar_item_search
- bar_item_new
- bar_search
- bar_new
- infolist_new
- infolist_new_item
- infolist_new_var_integer
- infolist_new_var_string
- infolist_new_var_pointer
- infolist_new_var_time
- infolist_search_var
- infolist_get
- infolist_pointer
- hdata_get
- hdata_get_list
- hdata_move
- hdata_search
- hdata_pointer
- upgrade_new
2018-04-07 21:52:49 +02:00
Sébastien Helleu
6de98179bc
api: add function string_format_size in scripting API
2018-04-07 13:20:58 +02:00
Sébastien Helleu
974c25df76
irc: replace "server" by "name" in /help server
2018-04-06 21:26:16 +02:00
Sébastien Helleu
70a930516d
irc: always set nick away status on WHO response (sent manually or automatically with server option "away_check")
2018-04-02 10:36:36 +02:00
Sébastien Helleu
3ce882daee
irc: allocate the string "prefix" in nick
...
This fixes a crash when calling the function hdata_string on the "prefix"
variable in the nick.
2018-04-02 09:58:08 +02:00
Sébastien Helleu
bbd6471197
irc: add missing parameter "-server" in /help list (issue #1165 )
2018-04-01 08:43:50 +02:00
Sébastien Helleu
5314aa394a
irc: add option "-server" in command /list ( closes #1165 )
2018-04-01 08:38:15 +02:00
Sébastien Helleu
fc2395ca4f
irc: replace "server" by "target" in help of commands when the argument is not an internal WeeChat server (issue #1165 )
2018-04-01 08:00:59 +02:00
Sébastien Helleu
230e827d24
core: fix help on option weechat.look.hotlist_count_max
2018-03-31 15:57:38 +02:00
Sébastien Helleu
e3ff69d669
core: improve help on option weechat.look.hotlist_count_max
2018-03-31 15:37:25 +02:00
Sébastien Helleu
11b4186f54
core: update translations (issue #1171 )
2018-03-31 13:56:49 +02:00
Sébastien Helleu
4306613536
xfer: improve help on option xfer.network.send_ack (issue #1171 )
2018-03-31 13:39:20 +02:00
Sébastien Helleu
5a58b92044
xfer: fix code style and comments (issue #1171 )
2018-03-31 13:39:16 +02:00
Sébastien Helleu
b32ea2e373
xfer: move option "send_ack" (sort options by name) (issue #1171 )
2018-03-31 13:39:04 +02:00
Sébastien Helleu
060ba763f2
Merge remote-tracking branch 'origin/pr/1171'
2018-03-31 13:30:21 +02:00
Sébastien Helleu
3d5ea005e0
irc: fix split of messages when server option "split_msg_max_length" is set to 0 (no split) ( closes #1173 )
2018-03-31 10:06:22 +02:00
Dominique Martinet
dd627f3a53
xfer: add xfer.network.send_ack option
...
This option disables sending acks during transfer, leaving only the final ack,
as would naturally happen if sending ack ever returns EWOULDBLOCK.
2018-03-28 09:35:35 +02:00
Dominique Martinet
57e8c99546
xfer: set TCP_NODELAY on recv side
...
This works around hangs where only a couple of bytes could be sent
to the socket and retrying to send the last bytes of the ack never
seem to work.
Closes #1167 .
2018-03-28 09:32:18 +02:00
Sébastien Helleu
54bd959300
core: add missing completion with buffer names for command /buffer merge (issue #1108 , issue #1159 )
2018-03-25 21:43:20 +02:00
Sébastien Helleu
c90572babe
irc: send whole IRC message including IRCv3 tags in the signals irc_in, irc_in2, irc_raw_in and irc_raw_in2 (issue #787 )
2018-03-25 20:05:12 +02:00
Sébastien Helleu
aaad4ca6e5
irc: update URL with IRCv3.2 message tags specification
2018-03-25 17:46:25 +02:00
Sébastien Helleu
9dd8cc0d6a
irc: fix memory leak when receiving a message with tags
2018-03-25 17:27:15 +02:00
Sébastien Helleu
10f5f6d3ae
core: update translations
2018-03-25 10:23:19 +02:00
Sébastien Helleu
91bfd809e6
irc: fix help on commands /unban and /unquiet
2018-03-25 10:09:15 +02:00
Sébastien Helleu
0d74b03004
irc: rename functions to search modelist items
2018-03-25 10:05:58 +02:00
Sébastien Helleu
8f3c9a7378
irc: reorder modelist functions
2018-03-25 10:01:36 +02:00
Sébastien Helleu
126a825924
irc: add completion with modelist numbers for commands /unban and /unquiet
2018-03-25 08:38:42 +02:00
Sébastien Helleu
5793181ead
irc: factorize code to set state of modelists in a channel
2018-03-25 08:18:54 +02:00
Sébastien Helleu
1dff661356
irc: clear the modelist if nothing was received before the end of list (invite/exception/ban/quiet)
2018-03-24 19:02:01 +01:00
Sébastien Helleu
4bdda6dd0a
irc: fix indenting in debug print of modelist
2018-03-24 18:53:11 +01:00