Sebastien Helleu
508437b6e7
doc: fix typo in prototypes of functions hashtable_map/hashtable_map_string (plugin API reference)
2014-02-15 13:16:00 +01:00
Sebastien Helleu
360f900d92
core: move function string_replace before string_replace_regex
2014-02-15 12:59:05 +01:00
Sebastien Helleu
7aba5f713f
core: add trigger plugin in Cygwin packaging
2014-02-15 12:48:49 +01:00
Sebastien Helleu
e664e7f698
core: add trigger plugin in debian packaging (in package weechat-plugins)
2014-02-15 12:48:31 +01:00
Sebastien Helleu
1637c2b64f
doc: add trigger plugin in docgen.py
2014-02-15 12:47:52 +01:00
Sebastien Helleu
69ee211b26
trigger: add file trigger.conf in man page
2014-02-15 12:47:02 +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
4028e5c200
trigger: update help of options trigger.trigger.xxx.{arguments|command}
2014-02-15 11:18:39 +01:00
Sebastien Helleu
2a5b2c6705
trigger: add trigger plugin in developer's guide
2014-02-15 10:48:45 +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
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