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
6d217ca8c5
doc: fix regex examples to be compatible with FreeBSD
...
The following special sequences are not supported in regular expressions on
FreeBSD:
- "\w": replaced with "[a-zA-Z0-9_]"
- "\S": replaced with "[^ ]" (it should be "[^ \t\n\r\f\v]", but in practice
only spaces could be a problem when we use this sequence).
2019-01-26 10:15:35 +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
cb8b60028b
trigger: fix /help trigger
2018-08-15 12:35:42 +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
338e05a2f4
trigger: fix typo in /help trigger
2017-11-15 07:25:17 +01:00
Sébastien Helleu
705d86e684
core: update copyright dates
2017-01-01 11:32:04 +01:00
Sébastien Helleu
db76d6a097
trigger: add missing step with post action in /help trigger
2016-08-10 22:31:49 +02:00
Sébastien Helleu
73db57f245
trigger: add post action in command line built by /trigger input|output|recreate
2016-08-09 22:12:17 +02: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
20c86db0d8
api: remove functions printf_date() and printf_tags()
2016-06-18 08:49:35 +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
a020c28ea6
core: update copyright dates
2015-01-01 09:23:23 +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
e0810ae6d5
trigger: fix trigger example "effects" in /help trigger (update regex to new format)
2014-11-01 20:34:52 +01:00
Sébastien Helleu
d1b4281d20
trigger: do not allow any changes on a trigger when it is currently running ( closes #189 )
2014-09-20 14:51:09 +02:00
Sébastien Helleu
2ae5660cc3
trigger: add option "restore" in command /trigger
2014-08-23 09:11:13 +02:00
Sébastien Helleu
34723d2acc
api: allow wildcard "*" inside the mask in function string_match
2014-04-12 23:07:06 +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
acb24d9d2a
trigger: add plugin name in error messages
2014-03-10 21:10:23 +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
8f0294f8d0
trigger: fix typo in /help trigger
2014-03-01 19:00:54 +01:00
Sebastien Helleu
7a1798a7fb
trigger: fix typo in /help trigger
2014-03-01 17:42:28 +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
Sebastien Helleu
13b0a88f21
trigger: allow empty return code in command /trigger {add|addoff|addreplace}
2014-02-28 11:48:59 +01:00
Sebastien Helleu
3847318497
core: update translations
2014-02-21 16:32:34 +01:00
Sebastien Helleu
d6e7c9fda6
trigger: return WEECHAT_RC_ERROR in command /trigger if arguments are wrong/missing
2014-02-21 14:48:23 +01:00
Sebastien Helleu
b400be0486
trigger: add option "addreplace" in command /trigger (used by /trigger recreate)
...
Now the command "/trigger recreate" does not delete the trigger any more.
Instead the option "addreplace" is used in input, so the existing trigger
is overwritten if the command is sent.
2014-02-20 11:20:23 +01:00
Sebastien Helleu
86b0c99029
trigger: add option "addoff" in command /trigger (add a trigger in disabled state)
2014-02-16 18:57:43 +01:00
Sebastien Helleu
56f74ae768
trigger: remove triggers in /help trigger that are already default triggers
2014-02-15 11:25:19 +01:00
Sebastien Helleu
151a0c0190
trigger: update description of command /trigger
2014-02-14 19:42:12 +01:00
Sebastien Helleu
b32193bee5
trigger: remove the return code with /trigger input/output/recreate for modifier and focus hooks
2014-02-14 19:17:27 +01:00
Sebastien Helleu
fe33f7d019
trigger: allow restart of trigger only if trigger is enabled
2014-02-14 18:41:15 +01:00
Sebastien Helleu
8e63a9a52f
trigger: add option trigger.look.enabled (can be changed with /trigger enable|disable|toggle)
2014-02-14 18:35:29 +01:00
Sebastien Helleu
f52770137f
trigger: add option "recreate" in command /trigger
...
The "recreate" option is the same as "input" but the trigger is first
deleted. So this lets you recreate the same trigger and edit some things
if needed.
2014-02-14 15:15:21 +01:00
Sebastien Helleu
c25bd9c26b
trigger: add option "copy" in command /trigger
2014-02-14 14:21:24 +01:00
Sebastien Helleu
93038a3634
trigger: add options "input" and "output" in command /trigger
2014-02-14 12:37:34 +01:00
Sebastien Helleu
132b09bde9
trigger: add hook focus
2014-02-13 12:06:46 +01:00
Sebastien Helleu
00402b87c2
trigger: add hook command
2014-02-13 11:33:16 +01:00
Sebastien Helleu
4f0be6edb3
trigger: add option "show" in command /trigger
2014-02-10 22:25:25 +01:00