Sebastien Helleu
4fc2db8df4
trigger: fix return code of focus callback
2014-02-14 19:07:31 +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
ac82063928
core: add asciidoc attributes in files ChangeLog/NEWS
2014-02-14 15:06:02 +01:00
Sebastien Helleu
e782020b14
core: fix completion template used in command completion when first argument in template has pipes
2014-02-14 14:50:31 +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
90c233a364
doc: add function string_convert_escaped_chars in plugin API reference
2014-02-14 12:25:36 +01:00
Sebastien Helleu
fa2600f496
doc: add function string_split_shell in plugin API reference
2014-02-14 11:15:09 +01:00
Sebastien Helleu
05eda016ec
doc: add function string_replace_regex in plugin API reference
2014-02-14 10:55:18 +01:00
Sebastien Helleu
0bfacb5592
core: change text in comment of function string_replace_regex
2014-02-14 10:54:38 +01:00
Sebastien Helleu
f4606ef0a9
doc: add function hashtable_dup in plugin API reference
2014-02-14 09:19:03 +01:00
Sebastien Helleu
ec9adea198
core: use item "buffer_last_number" instead of "buffer_count" by default in status bar
2014-02-13 22:34:20 +01:00
Sebastien Helleu
03abd78355
core: sync debian files with debian git repository
2014-02-13 22:10:27 +01:00
Sebastien Helleu
b530aa5f5a
trigger: add strings without colors in hashtable for modifier "weechat_print" and hook print
...
For modifier "weechat_print", variables added:
- tg_string_nocolor (same as tg_string, without colors)
- tg_prefix_nocolor (same as tg_prefix, without colors)
- tg_message_nocolor (same as tg_message, without colors)
For hook print, variables added:
- tg_prefix_nocolor (same as tg_prefix, without colors)
- tg_message_nocolor (same as tg_message, without colors)
2014-02-13 19:31:48 +01:00
Sebastien Helleu
7356d1889a
trigger: add "tg_prefix" and "tg_message" in hashtable for modifier "weechat_print"
2014-02-13 18:53:13 +01:00
Sebastien Helleu
0ac6ebe532
trigger: escape chars in regex replacement (when trigger is created)
2014-02-13 18:44:43 +01:00
Sebastien Helleu
c06cfb25ce
api: add function string_convert_escaped_chars
2014-02-13 18:39:55 +01:00
Sebastien Helleu
a9550dbf8f
trigger: display arguments of triggers on monitor buffer
2014-02-13 18:33:11 +01:00
Sebastien Helleu
a7dbaf8162
trigger: evaluate regex replacement on execution of trigger (and not when creating the trigger)
2014-02-13 18:20:00 +01:00
Sebastien Helleu
d74259303f
trigger: fix call of IRC message parser on non-IRC messages in modifier callback
2014-02-13 17:37:22 +01:00
Jason A. Donenfeld
c324610226
core: fix freeze/crash in gnutls (bug #41576 )
...
The link is now made against pthread on all platforms.
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2014-02-13 16:09:35 +01:00
Sebastien Helleu
e36c49995b
trigger: add "server" in hashtable after parsing of IRC message
2014-02-13 15:04:54 +01:00
Sebastien Helleu
65b40ab5cc
trigger: parse IRC messages received in signal/modifier hook callbacks
...
The parsed message is added into hashtable "extra_vars".
For example, signal "freenode,irc_in_PRIVMSG" received with the message
"hello world!" on channel #weechat gives in the hashtable:
extra_vars:
tags: ""
host: "tester!user@host.com"
tg_signal: "freenode,irc_in_PRIVMSG"
channel: "#weechat"
tg_signal_data: ":tester!user@host.com PRIVMSG #weechat :hello world!"
arguments: "#weechat :hello world!"
nick: "tester"
command: "PRIVMSG"
message_without_tags: ":tester!user@host.com PRIVMSG #weechat :hello world!"
2014-02-13 13:38:10 +01:00
Sebastien Helleu
c103bc6584
trigger: refactor some code in hook callbacks using macros
2014-02-13 12:52:06 +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
bc3eaa8d62
trigger: add extra colors in trigger monitor buffer
2014-02-13 11:24:03 +01:00
Sebastien Helleu
8ffba2ad9e
trigger: add the name of buffer on trigger monitor when executing a command
2014-02-13 11:21:30 +01:00
Sebastien Helleu
f821a94cc4
irc: use a more explicit error when the creation of a temporary server failed
2014-02-13 10:06:25 +01:00
Sebastien Helleu
f057e86390
doc: update auto-generated files with hdata
2014-02-13 10:05:17 +01:00
Sebastien Helleu
271f92a66d
doc: fix typo in plugin API reference
2014-02-12 13:31:22 +01:00
Sebastien Helleu
44411f123a
core: fix cmake warning CMP0007 on "make uninstall" (bug #41528 )
2014-02-12 10:33:21 +01:00
Sebastien Helleu
f324a1589d
core: add signals "key_combo_{default|search|cursor}"
2014-02-11 20:09:02 +01:00
Sebastien Helleu
a9aca06545
core: ignore return value of 'write' in function hook_set (fix compiler warning)
2014-02-11 11:55:05 +01:00
Sebastien Helleu
04cb8dd4da
core: replace compiler flag -W by -Wextra (new name)
2014-02-11 11:50:05 +01:00
Sebastien Helleu
4f5865ddfe
core: sync debian files with debian git repository
2014-02-11 10:29:54 +01:00
Sebastien Helleu
4f0be6edb3
trigger: add option "show" in command /trigger
2014-02-10 22:25:25 +01:00
Sebastien Helleu
eef3b57075
core: split key command when the key is created (improve speed when executing commands of a key)
2014-02-10 21:10:45 +01:00
Sebastien Helleu
437767c0ca
api: add integer return code for functions hook_{signal|hsignal}_send
2014-02-10 17:42:53 +01:00
Sebastien Helleu
93d3375440
trigger: add option trigger.look.monitor_strip_colors
2014-02-10 13:28:45 +01:00
Sebastien Helleu
9b3d2eeec7
trigger: add hook config
2014-02-10 13:08:40 +01:00
Sebastien Helleu
614f34adbc
trigger: add missing hook "command_run" in /help trigger
2014-02-10 13:01:20 +01:00
Sebastien Helleu
32facbe783
trigger: update actions performed in the trigger (in /help trigger)
2014-02-10 09:48:33 +01:00
Sebastien Helleu
d877510825
trigger: add condition "${tg_tag_nick}" in trigger example "effects" (/help trigger)
2014-02-09 19:22:42 +01:00
Sebastien Helleu
8b17981d1f
trigger: set variables in hashtable using message tags
2014-02-09 19:20:53 +01:00
Sebastien Helleu
471a2b1da1
trigger: add examples of triggers using "signal_sigwinch" in /help trigger
2014-02-09 17:17:20 +01:00
Sebastien Helleu
75e1c5320e
trigger: add options trigger.color.flag_{command|conditions|regex|return_code}
2014-02-09 17:01:36 +01:00
Sebastien Helleu
6ab17dfec1
trigger: add default triggers
2014-02-09 16:17:11 +01:00