Sébastien Helleu
c44b79dce7
core: update copyright dates
2022-01-17 18:41:06 +01:00
Sébastien Helleu
dee7313fcc
trigger: fix search of triggers with UTF-8 chars in name (issue #1739 )
2022-01-15 09:36:02 +01:00
Sébastien Helleu
dccf605e66
typing: add typing plugin
2021-07-04 13:27:32 +02:00
Sébastien Helleu
937ecb62c4
trigger: remove useless test
2021-04-10 12:21:16 +02:00
Sébastien Helleu
2e67b13edd
trigger: check that option is not NULL in function trigger_search_with_option
2021-04-09 21:36:12 +02:00
Sébastien Helleu
7c5cbefd51
trigger: fix description of function trigger_name_valid
2021-04-08 20:56:37 +02:00
Sébastien Helleu
b6b78df3d2
trigger: check that trigger is not NULL in functions trigger_rename and trigger_copy
2021-04-08 20:55:37 +02:00
Sébastien Helleu
efc7a588d6
core: update copyright dates
2021-01-02 21:34:16 +01:00
Sébastien Helleu
b9c8569422
trigger: add variable "${tg_trigger_name}" in command trigger evaluated strings ( closes #1580 )
...
${tg_trigger_name} is replaced by the trigger name in these command strings:
- description
- arguments
- description of arguments
- completion
2020-11-14 09:32:24 +01:00
Sébastien Helleu
8bdd540df7
trigger: evaluate arguments of command when the trigger is created ( closes #1472 )
2020-04-12 09:30:56 +02:00
Sébastien Helleu
feb6258910
core: update copyright dates
2020-01-04 10:41:26 +01:00
Sébastien Helleu
1d6714e428
core: auto disable upgrade process (command line option "--upgrade") if the file weechat.upgrade is not found
2019-06-24 21:35:37 +02:00
Sébastien Helleu
9178156354
api: add argument "strip_items" in function string_split
2019-06-15 20:47:14 +02:00
Sébastien Helleu
30768d4d24
trigger: add hook "info_hashtable"
2019-04-13 13:53:16 +02:00
Sébastien Helleu
8bc06ea101
trigger: add hook "info"
2019-04-13 08:52:40 +02:00
Sébastien Helleu
2b70d71aa1
core: replace argument "keep_eol" by "flags" in function string_split ( closes #1322 )
2019-03-10 18:29:16 +01:00
Sébastien Helleu
8aa5f5375e
core: add value -1 for keep_eol in function string_strip (issue #1322 )
...
The value -1 means it's a standard split, but empty items are kept, and
separators are not removed at beginning/end of string.
2019-03-09 21:56:05 +01:00
Sébastien Helleu
2b0057239b
core: update copyright dates
2019-01-01 15:40:51 +01:00
Sébastien Helleu
4712d0bb06
core: use https for links to GNU GPL license
2018-11-29 23:16:07 +01:00
Sébastien Helleu
66d11b7e46
trigger: add missing values for line trigger
2018-08-15 09:02:58 +02:00
Sébastien Helleu
42be1a74a0
api: add function hook_line
2018-08-12 21:45:00 +02:00
Sébastien Helleu
ed4837b2f6
core: update copyright dates
2018-01-05 00:54:18 +01:00
Sébastien Helleu
e579e86929
fset: shift plugins priority to insert fset plugin between buflist and fifo
2017-06-25 21:22:36 +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
c18be9da21
buflist: load plugin after some other plugins by shifting plugins priority
2017-03-25 14:18:19 +01:00
Sébastien Helleu
a5b00ec979
trigger: check that regex pointers are not NULL in function "trigger_regex_free"
2017-03-25 14:09:01 +01:00
Sébastien Helleu
705d86e684
core: update copyright dates
2017-01-01 11:32:04 +01:00
Sébastien Helleu
de7dc59c87
trigger: rename "once action" to "post action"
2016-08-09 21:35:39 +02:00
Sébastien Helleu
810077fc12
Merge remote-tracking branch 'origin/pr/509'
2016-08-09 21:05:34 +02:00
Sébastien Helleu
cf6aca1619
core: add pointer in some callbacks ( closes #406 )
...
This pointer is the first argument received by callbacks, and the
existing argument "data" is now automatically freed by WeeChat when the
object containing the callback is removed.
With this new pointer, the linked list of callbacks in scripts has been
removed. This will improve speed of scripts (using a lot of hooks),
reduce memory used by scripts and reduce time to unload scripts.
Following functions are affected in the C API:
* exec_on_files
* config_new
* config_new_section
* config_new_option
* hook_command
* hook_command_run
* hook_timer
* hook_fd
* hook_process
* hook_process_hashtable
* hook_connect
* hook_print
* hook_signal
* hook_hsignal
* hook_config
* hook_completion
* hook_modifier
* hook_info
* hook_info_hashtable
* hook_infolist
* hook_hdata
* hook_focus
* unhook_all_plugin
* buffer_new
* bar_item_new
* upgrade_new
* upgrade_read
2016-03-21 18:11:21 +01:00
Sébastien Helleu
fe0c9dbc93
trigger: add info in error messages
2016-01-05 07:53:38 +01:00
Sébastien Helleu
3330724574
core: update copyright dates
2016-01-01 11:09:53 +01:00
Simmo Saan
1d3a75333e
trigger: add support for one-time triggers ( closes #399 )
2015-08-22 12:22:51 +03:00
Sébastien Helleu
1054339be7
trigger: do not hook anything if the trigger is disabled ( closes #405 )
2015-04-18 10:04:26 +02:00
Sébastien Helleu
cf5501f69c
core: add priority in plugins to initialize them in order
...
Current order is: charset, logger, exec, trigger, aspell, alias, fifo, xfer,
irc, relay, guile/lua/perl/python/ruby/tcl, script.
2015-01-15 07:40:38 +01:00
Sébastien Helleu
a020c28ea6
core: update copyright dates
2015-01-01 09:23:23 +01:00
Sébastien Helleu
125adea650
trigger: fix memory leak when allocating a new trigger with several regex
2014-10-26 12:32:29 +01:00
Sébastien Helleu
ad07527007
trigger: fix hook count on 32-bit systems
2014-08-02 16:21:00 +02:00
Sébastien Helleu
d9d36c8dd4
trigger: update comment
2014-07-23 07:49:05 +02:00
Andrew Potter
197cd30379
trigger: refuse triggers with . in their name
2014-07-22 22:27:14 -07:00
Sébastien Helleu
e901d14a1f
trigger: interpret escaped chars in regex
2014-04-12 09:31:24 +02:00
Sébastien Helleu
d0d4d2ef5b
trigger: remove obsolete comment
2014-04-12 08:44:16 +02:00
Sébastien Helleu
3b32d62fa6
trigger: add filter in trigger monitor buffer
...
The filter can be set with /trigger monitor <filter> or by entering data
in the trigger monitor input.
2014-04-01 14:26:02 +02:00
Sebastien Helleu
d6fbe95090
trigger: set default variable "tg_remaining_calls" for regex in timer callback
2014-03-17 18:23:11 +01:00
Sebastien Helleu
acb24d9d2a
trigger: add plugin name in error messages
2014-03-10 21:10:23 +01:00
Sebastien Helleu
765b603cb2
trigger: remove unneeded code to make C compiler happy
2014-03-09 09:13:29 +01:00
Sebastien Helleu
fba765cb8f
trigger: update description of trigger plugin
2014-03-04 21:48:23 +01:00
Sebastien Helleu
cc5ab76186
trigger: allow chars '\' and '(' as delimiter in regex
2014-03-02 08:40:17 +01:00
Sebastien Helleu
ddf3e9043b
trigger: do not create the trigger with /trigger add if the regex is invalid
2014-03-02 08:32:05 +01:00
Sebastien Helleu
44b8447ff0
trigger: make optional the alignment on second and max calls (in hook timer)
2014-03-01 17:25:48 +01:00