5447 Commits

Author SHA1 Message Date
Sebastien Helleu
7c0d9fe850 core: improve the string_replace_regex function (add reference char, change syntax for match refs)
The reference char is now an argument for the function.
The references are now $0 .. $99 and $+ was added (last match, with
highest number).
The syntax to replace a match with one char is now: $.cN or $.c+
(for example: "$.*3").
2014-02-09 15:14:07 +01:00
Sebastien Helleu
f666a356d7 trigger: add missing init of buffer pointer in modifier callback 2014-02-09 12:55:41 +01:00
Sebastien Helleu
7b496197ef trigger: fix crash in callback if one regex is NULL (invalid) 2014-02-09 12:55:41 +01:00
Sebastien Helleu
f04eb4ae23 trigger: add buffer pointer in modifier callback 2014-02-09 12:55:41 +01:00
Sebastien Helleu
d9bd1986ad trigger: refactor some code in hook callbacks (debug, conditions, regex, command) 2014-02-09 12:55:41 +01:00
Sebastien Helleu
53921acc38 trigger: fix evaluated command in callback 2014-02-09 12:55:41 +01:00
Sebastien Helleu
09c75714f9 trigger: add option "listfull" in command /trigger 2014-02-09 12:55:41 +01:00
Sebastien Helleu
717d89a1f7 trigger: split trigger command on creation, not when executing the callback 2014-02-09 12:55:41 +01:00
Sebastien Helleu
4a9c9a0b07 trigger: add options trigger.color.trigger{_disabled} 2014-02-09 12:55:41 +01:00
Sebastien Helleu
adf547a47c trigger: add option "addinput" in command /trigger 2014-02-09 12:55:41 +01:00
Sebastien Helleu
77e49a99e6 trigger: add missing value in trigger_hook_default_regex 2014-02-09 12:55:41 +01:00
Sebastien Helleu
9dab03fab2 trigger: do not sort completions for hook type (use order defined in trigger.h) 2014-02-09 12:55:41 +01:00
Sebastien Helleu
b712eebece trigger: add callback for changes on hook option (trigger.trigger.xxx.hook) 2014-02-09 12:55:41 +01:00
Sebastien Helleu
f8ffe9d590 trigger: reorder internal trigger vars 2014-02-09 12:55:41 +01:00
Sebastien Helleu
a03653273c core: replace "regex_t *" by "void *" in string functions (fix ruby compilation error with autotools) 2014-02-09 12:55:40 +01:00
Sebastien Helleu
66158f41f2 trigger: add hook command_run 2014-02-09 12:55:40 +01:00
Sebastien Helleu
639ac51593 trigger: use case insensitive comparison when searching for a trigger name 2014-02-09 12:55:40 +01:00
Sebastien Helleu
63a3837d14 trigger: add option "restart" in command /trigger 2014-02-09 12:55:40 +01:00
Sebastien Helleu
a09e46f456 trigger: remove the timer hook pointer during the last timer call 2014-02-09 12:55:40 +01:00
Sebastien Helleu
1496c8a25c trigger: add completion for all arguments of command /trigger add 2014-02-09 12:55:40 +01:00
Sebastien Helleu
e372b8c8cb trigger: sort triggers by name 2014-02-09 12:55:40 +01:00
Sebastien Helleu
bb48af29b6 trigger: split arguments like shell in "/trigger add", to create a whole trigger with one command 2014-02-09 12:55:40 +01:00
Sebastien Helleu
b5bfeb7b8d api: add function string_split_shell 2014-02-09 12:55:40 +01:00
Sebastien Helleu
6bc7c456d7 core: add argument "num_items" in function string_split_shell 2014-02-09 12:55:40 +01:00
Sebastien Helleu
a703fc8c17 trigger: add timer 2014-02-09 12:55:40 +01:00
Sebastien Helleu
8368fc8b1e trigger: execute callback even if regex/command are not set in the trigger 2014-02-09 12:55:40 +01:00
Sebastien Helleu
2c1ce41faa trigger: remove quotes around value in command /trigger set 2014-02-09 12:55:40 +01:00
Sebastien Helleu
e0de501a0a trigger: add hsignal 2014-02-09 12:55:40 +01:00
Sebastien Helleu
2e28f7c6be api: add function hashtable_dup 2014-02-09 12:55:40 +01:00
Sebastien Helleu
be8e32dd1b trigger: add support of variable in regex option
Examples with new format:
  /regex/text/
  /regex/text/var
  /regex1/text1/ /regex2/text2/
  /regex1/text1/var /regex2/text2/var
2014-02-09 12:55:40 +01:00
Sebastien Helleu
bcff9162a7 trigger: enable many trigger names and value "-all" in command /trigger {enable|disable|toggle} 2014-02-09 12:55:40 +01:00
Sebastien Helleu
c9b1444b8f trigger: fix regex result in a hook print 2014-02-09 12:55:40 +01:00
Sebastien Helleu
356ac05e07 trigger: display regex changes in monitor buffer 2014-02-09 12:55:40 +01:00
Sebastien Helleu
a0a2103828 trigger: minor change in output of /trigger for regex 2014-02-09 12:55:40 +01:00
Sebastien Helleu
e9e32931aa trigger: add more help in trigger options 2014-02-09 12:55:40 +01:00
Sebastien Helleu
4205f7c498 trigger: add option "rename" in command /trigger 2014-02-09 12:55:40 +01:00
Sebastien Helleu
f92d6e9da3 trigger: do not allow a name starting with "-" 2014-02-09 12:55:40 +01:00
Sebastien Helleu
30942f7f62 trigger: add trigger plugin 2014-02-09 12:55:40 +01:00
Sebastien Helleu
a0bf3938f1 core: display a warning in case of inconsistency between the options weechat.look.save_{config|layout}_on_exit 2014-02-09 12:51:34 +01:00
Sebastien Helleu
190f5dd5f2 core: add more info in /help weechat.look.hotlist_sort 2014-02-09 12:43:18 +01:00
Sebastien Helleu
8564d9c7ef Version 0.4.4-dev 2014-02-09 12:04:13 +01:00
Sebastien Helleu
f25dd0c81e Version 0.4.3 v0.4.3 2014-02-09 09:52:53 +01:00
Sebastien Helleu
2b4401339a doc: clean temporary files used to build man pages (autotools) 2014-02-08 23:40:21 +01:00
Sebastien Helleu
7b0e01265b doc: add missing Polish docs in Makefile.am 2014-02-08 23:38:31 +01:00
Ryuunosuke Ayanokouzi
1eedace713 doc: update Japanese translations, user/developer's guide and plugin API reference 2014-02-08 15:15:18 +01:00
Sebastien Helleu
43fb54f51d core: fix apply of layout when buffers that are not in layout are before some buffers in layout
Now when a layout is applied, the buffers in layout are inserted/sorted
first in the new list. Then the other buffers (not in layout) are added
after this loop, and then they are added after all layout buffers.
2014-02-07 17:07:45 +01:00
Sebastien Helleu
bbd212c675 weercd.py: use /usr/bin/env in python shebang 2014-02-07 15:01:39 +01:00
Sebastien Helleu
52fb9fc237 core: fix typo in FindGnuTLS.cmake 2014-02-06 17:26:36 +01:00
Sebastien Helleu
0ffb61617a core: fix hotlist problems after apply of a layout (bug #41481)
This commit fixes a problem when computing the value of "num_displayed"
in all buffers. For merged buffers (with same number), the num_displayed
of each merged buffer must be incremented (and not only the current
active buffer).
2014-02-06 15:17:00 +01:00
Krzysztof Koroscik
6c33b0d6e6 doc: update Polish translations and user's guide 2014-02-06 11:25:35 +01:00