Sébastien Helleu
ae013b7881
core: fix regex replace in eval_expression when regex or regex_replace is empty
2014-11-23 08:31:29 +01:00
Sébastien Helleu
3fac3b1bf9
api: fix truncated process output in hook_process() ( closes #266 )
2014-11-22 19:33:48 +01:00
Sébastien Helleu
1ef3237b6b
api: return value in function command(), remove WeeChat error after command callback if return code is WEECHAT_RC_ERROR
2014-11-22 08:14:29 +01:00
Sébastien Helleu
91140b2ebc
core: add constant for libcurl >= 7.38.0
2014-11-15 15:58:57 +01:00
Sébastien Helleu
cf9e8d140a
core: regroup libcurl constants/options by version
2014-11-15 15:49:21 +01:00
Sébastien Helleu
c58a195590
core: add debug message in hook_process when core debug >= 1
2014-11-15 10:53:57 +01:00
Sébastien Helleu
af0397fb87
core: add option weechat.completion.command_inline (task #12491 )
2014-11-09 12:29:41 +01:00
Sébastien Helleu
5882fe6abd
core: update translations
2014-11-06 20:23:56 +01:00
Nils Görs
ee7c280d7e
core: add bar item "mouse_status", new options weechat.look.item_mouse_status and weechat.color.status_mouse
2014-11-06 08:06:00 +01:00
Sébastien Helleu
a2c7420262
core: send mouse code only one time after delay with command /mouse enable|disable|toggle <delay>
2014-11-01 23:00:30 +01:00
Sébastien Helleu
1a3051188c
core: send mouse code only one time to terminal with command /mouse enable|disable|toggle
2014-11-01 22:32:57 +01:00
Sébastien Helleu
a092e72731
core: add note about option weechat.look.color_nick_offline in help of color options for offline nick
2014-10-26 13:13:17 +01:00
Sébastien Helleu
65d15042d3
api: fix crash when reading config options with NULL value ( closes #238 )
2014-10-23 21:53:35 +02:00
Sébastien Helleu
633a32ccd3
api: add regex replace feature in function string_eval_expression
2014-10-22 21:19:54 +02:00
Sébastien Helleu
972bd26e5e
core: call "callback_free" in functions arraylist_{remove|clear|free}
...
This fixes a memory leak in completions which are using this callback
to free words in the completion list.
2014-10-17 07:55:21 +02:00
Sébastien Helleu
f62f759c3d
core: add hide of chars in string in evaluation of expressions
...
The syntax is: ${hide:char,string}.
All chars in string are replaced with char (which can be one or more chars).
2014-10-16 20:46:06 +02:00
Sébastien Helleu
9d849db85a
core: move default prefix/suffix for evaluation in wee-eval.h
2014-10-12 18:22:02 +02:00
Sébastien Helleu
b8b5cd26bc
core: remove extra spaces in a comment
2014-10-12 12:02:41 +02:00
Sébastien Helleu
2867996d1f
core: fix search/insert of elements in sorted arraylist with duplicates
...
The pointer and index returned is now the first element found with the value
(with the lower index if there are many elements with same value).
And the index for insert is the last element with same value + 1
(the higher index + 1).
2014-10-11 15:47:09 +02:00
Sébastien Helleu
f53baf628e
Merge branch 'arraylist'
2014-10-05 08:35:17 +02:00
Sébastien Helleu
4d0a9d5b4c
core: remove sort on configuration files and sections
...
The sort was causing bugs because some options were missing while reading
other options, so the order of sections is important, they must not be
sorted.
This is a partial revert of commit 56f099bec6 .
2014-09-29 20:35:25 +02:00
Sébastien Helleu
08d2b9aaeb
core: check that data is not NULL in function string_iconv_fprintf
2014-09-28 08:20:08 +02:00
Sébastien Helleu
f0aa0a21b2
core: optimize completion by using arraylists
...
With arraylist (vs weelist), the completion is about 50x faster.
It is visible on "/help [+tab]".
2014-09-01 11:51:04 +02:00
Sébastien Helleu
8430708fad
core: add comment about argument "index" of function arraylist_search
2014-09-01 11:51:03 +02:00
Sébastien Helleu
41fd4cb254
core: reset data contents in function arraylist_clear if size_alloc_min > 0
2014-09-01 11:51:03 +02:00
Sébastien Helleu
e0f2184987
core: add extra check on arraylist pointer in arraylist functions
2014-09-01 11:51:03 +02:00
Sébastien Helleu
a4dfda9304
core: add functions to manage array lists
2014-09-01 11:51:03 +02:00
Sébastien Helleu
0a641bdf0b
core: add debug functions to measure time spent in code/functions
2014-08-30 16:07:37 +02:00
Sébastien Helleu
421c0752d8
core: fix window/buffer pointers used in command /eval
2014-08-29 19:11:07 +02:00
Sébastien Helleu
dda2170d94
core: add another example of buffer name in /help filter
2014-08-29 18:21:48 +02:00
Sébastien Helleu
7b546bea2e
api: use microseconds instead of milliseconds in functions util_timeval_diff and util_timeval_add
2014-08-29 18:17:27 +02:00
Sébastien Helleu
9fe6ce1cdc
api: fix bug in function hdata_move when absolute value of count is greater than 1
2014-08-27 07:34:54 +02:00
Sébastien Helleu
56f099bec6
core: sort linked lists with configuration files and sections by name
2014-08-24 19:18:09 +02:00
Sébastien Helleu
23ea7cd67d
core: add missing return code in comment of function hook_command_exec
2014-08-23 12:39:02 +02:00
Sébastien Helleu
eac426f625
core: fix error message in case of ambiguous incomplete command
2014-08-23 12:37:01 +02:00
Sébastien Helleu
bde38c87ea
core: fix typo: too much calls -> too many calls
2014-08-23 12:34:04 +02:00
Sébastien Helleu
e887592b78
core: fix typo: unambigous -> unambiguous
2014-08-23 12:30:54 +02:00
Sébastien Helleu
8c586eb49a
core: allow incomplete commands if unambiguous (task #5419 )
2014-08-23 12:13:11 +02:00
Sébastien Helleu
d918c3d1b0
core: fix translation of message displayed after /upgrade
2014-08-16 11:50:15 +02:00
Sébastien Helleu
0f363218b6
core: make argument "errors" optional in function string_replace_with_callback
2014-08-13 07:33:49 +02:00
Andrew Potter
62d891aea9
core: callback_free_key shouldn't point to already free'd value
2014-08-11 22:51:20 +02:00
Sébastien Helleu
4faa227a2d
core: check that callback is not NULL in function string_replace_with_callback
2014-08-11 07:47:55 +02:00
Sébastien Helleu
93d472e3d0
core: fix potential crash in case of malloc error when resetting config option
2014-08-10 15:51:35 +02:00
Sébastien Helleu
890a9e54be
core: remove dead assignment in function hook_process_child
2014-08-10 15:50:18 +02:00
Sébastien Helleu
15bb7656a5
core: remove dead assignment in function hook_command_exec
2014-08-10 15:50:18 +02:00
Sébastien Helleu
068776b5a7
core: fix zero-length malloc of an hashtable item with type "buffer"
2014-08-10 13:42:48 +02:00
Sébastien Helleu
53a9a161f4
core: fix memory leak on /upgrade when file signature in upgrade file is invalid
2014-08-10 10:52:04 +02:00
Sébastien Helleu
27dd6cf72f
core: fix memory leak in completion of config options values
2014-08-09 23:17:25 +02:00
Sébastien Helleu
fc71ce0d43
core: fix bug with several arguments for command /buffer clear|hide|unhide
2014-08-09 18:19:27 +02:00
Sébastien Helleu
5597c93b64
core: check that regex is not NULL in function string_replace_regex
2014-08-08 07:33:37 +02:00