Sébastien Helleu
aeeec38d6f
core: fix cast of time_t (to "long long" instead of "long") ( closes #1051 )
2017-08-12 18:36:45 +02:00
Sébastien Helleu
9bad3f44db
core: remove value for first #define in headers, add "PLUGIN" in plugin headers
2017-08-10 20:05:16 +02:00
Sébastien Helleu
c58716809c
core: remove unneeded argument in call to string_fprintf
2017-08-10 19:55:29 +02:00
Sébastien Helleu
33e5991791
core: replace /iset by /fset in welcome message
2017-07-22 12:45:39 +02:00
Sébastien Helleu
f1cd765e1a
core: call the config hook when options are renamed
2017-07-08 14:45:14 +02:00
Sébastien Helleu
8fdd6164ef
core: call the config hook when options are removed
2017-07-08 14:44:28 +02:00
Sébastien Helleu
94cd1b037f
core: add constant WEECHAT_EXTRA_LIBDIR
2017-07-05 19:56:41 +02:00
Linus Heckemann
d6c1d02eca
core: search WEECHAT_EXTRA_LIBDIR for plugins ( closes #971 , issue #979 )
...
In addition to searching the statically configured WEECHAT_LIBDIR
(weechat's installation directory) for plugins, search the path
given in the environment variable WEECHAT_EXTRA_LIBDIR. This makes
departing from the FHS standard while keeping the plugins packaged
separately easier. This change was made specifically with the Nix
package manager in mind, but can easily be used by others.
2017-07-05 19:52:48 +02:00
Sébastien Helleu
b276d0621c
core: add arguments in function plugin_auto_load to load plugins only from custom path or lib dir
2017-07-04 22:14:44 +02:00
Sébastien Helleu
f70c2e521e
core: use PATH_MAX for size of variable with complete filename in exec_on_files
2017-07-04 22:14:44 +02:00
Sébastien Helleu
ff448b9096
api: add argument "recurse_subdirs" in function exec_on_files()
2017-07-04 22:01:14 +02:00
Sébastien Helleu
d71524c582
fset: add ${file}, ${section}, ${option}, add color options
2017-06-25 16:35:27 +02:00
Sébastien Helleu
77cefb7621
core: limit hook_command_run to the exact given command (when no "*" are in command hook)
2017-06-25 16:35:27 +02:00
Sébastien Helleu
3dc72b2e5f
core: free use of pointer after free in case of error in function string_dyn_concat
2017-06-10 17:35:47 +02:00
Sébastien Helleu
54bf589d7d
core, plugins: fix conditions to insert elements in linked lists
...
This removes scan-build warnings about dereference of last_xxx null pointers.
2017-06-10 16:21:11 +02:00
Sébastien Helleu
f2d250a78f
core: remove unused function upgrade_file_read_string_utf8 (issue #1012 )
2017-06-10 15:02:34 +02:00
Sébastien Helleu
ad9c75f234
core: remove unused functions secure_search_hash_algo and secure_search_cipher (issue #1012 )
2017-06-10 15:01:58 +02:00
Sébastien Helleu
3af24d9739
core: remove unused function proxy_search_with_option_name (issue #1012 )
2017-06-10 15:01:21 +02:00
Sébastien Helleu
193ff0db37
core: remove unused functions config_file_config_insert and config_file_section_insert_in_config (issue #1012 )
2017-06-09 07:54:27 +02:00
Sébastien Helleu
111962c65a
core: remove unused function command_secure_display_data (issue #1012 )
2017-06-07 07:16:07 +02:00
Simmo Saan
dab0792029
core, script: remove unused config section variables
2017-06-03 15:59:12 +03:00
Simmo Saan
7a0bbd802b
core: forward declare structs to avoid implicit declarations
2017-06-03 15:58:07 +03:00
Simmo Saan
824e6603cc
core: fix gui_color_dump called with excess arguments
2017-06-03 15:56:26 +03:00
Miroslav Koskar
ab6ca6b065
core: remove config_look_hotlist_add_buffer_if_away completely
2017-06-01 01:10:54 +02:00
Sébastien Helleu
7621939a7a
api: add function hdata_compare
2017-05-30 20:29:17 +02:00
Sébastien Helleu
f6a8c28d2d
api: add function config_option_get_string in plugin API
2017-05-30 20:28:01 +02:00
Sébastien Helleu
a0f1f3fd68
core: remove unused variable "index" in function eval_hdata_get_value
2017-05-28 08:25:41 +02:00
Sébastien Helleu
c88d578d2d
core: fix potential use of NULL pointer in function arraylist_clear
2017-05-22 11:29:12 +02:00
Sébastien Helleu
925e8b79a8
core: allow index for hdata arrays in evaluation of expressions
2017-05-20 00:05:31 +02:00
Sébastien Helleu
df00926d35
core: add option weechat.completion.nick_case_sensitive ( closes #981 )
2017-05-06 10:18:44 +02:00
Sébastien Helleu
1fc06ba0ac
core: improve translation of /help eval
2017-04-29 17:39:50 +02:00
Simmo Saan
1329dfb57a
core: add wildcard matching operators to eval ( closes #608 )
2017-04-29 17:04:44 +02:00
Sébastien Helleu
49cdbaab38
core: fix check of condition in ${if:...} (evaluated strings)
2017-04-25 19:41:49 +02:00
Sébastien Helleu
2a43f45947
core: fix command /cursor stop (do not toggle cursor mode) ( closes #964 )
2017-04-25 07:20:34 +02:00
Sébastien Helleu
a96d27f236
core: add new cut formats in function comment
2017-04-25 07:19:02 +02:00
Sébastien Helleu
112bebcddf
core: add a way to count the suffix length in max chars displayed in cut of string ("cut:" and "cutscr:") ( closes #963 )
...
The format to use is one of:
- ${cut:+max,suffix,string}
- ${cutscr:+max,suffix,string}
With the "+" before max, WeeChat ensures there are at most "max" chars in
output, including the length of suffix string.
2017-04-24 22:37:49 +02:00
Sébastien Helleu
94355e2e38
core: ensure length is not negative in function string_strndup
2017-04-22 15:15:54 +02:00
Sébastien Helleu
90029f9abd
doc: fix translation of command "eval" in user's guide
2017-04-21 21:59:52 +02:00
Sébastien Helleu
5a8fb043ab
core: add link to function color (plugin API reference) in /help eval
2017-04-21 07:36:22 +02:00
arza
442940942a
core: fix typo in /help buffer
2017-04-08 15:35:47 +03:00
Sébastien Helleu
45de475c74
Merge pull request #944 from arza-zara/duplicate_sigquit
...
core: remove duplicate util_catch_signal for SIGQUIT
2017-04-07 22:31:34 +02:00
arza
e7edebfaee
core: remove duplicate util_catch_signal for SIGQUIT
2017-04-07 20:46:47 +03:00
Sébastien Helleu
fab7a8bdfd
core: add Curl options for versions 7.50.0 to 7.52.0
2017-04-06 07:23:52 +02:00
Sébastien Helleu
c652598ad7
api: fix memory leak in function string_dyn_free()
...
Bug was introduced by commit af138840b3 .
2017-04-02 08:39:29 +02:00
Sébastien Helleu
af138840b3
api: return pointer to string in function string_dyn_free() if argument "free_string" is 0
2017-04-01 12:04:28 +02:00
Sébastien Helleu
bb00b6b8fb
core: add ${re:#} to get the index of last group captured in evaluation of expressions
2017-03-30 22:13:14 +02:00
Sébastien Helleu
467f482ea6
core: make "callback_cmp" optional in call to function arraylist_new()
...
If no callback is given, a default callback is used, which just compares
pointers.
2017-03-30 20:35:16 +02:00
Sébastien Helleu
f99c866f35
core: add cut of string with max chars displayed in evaluation of expressions
...
The syntax is: ${cutscr:max,suffix,string}.
The string is cut after max chars displayed on screen. If the string is cut,
the optional suffix is added after.
2017-03-27 21:14:51 +02:00
arza
24fd69e42c
core: support local variables in /buffer get
2017-03-26 08:14:41 +03:00
Sébastien Helleu
fb66eeec79
core: update translations
2017-03-25 15:13:18 +01:00