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
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
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
Sebastien Helleu
d8b9e0a6bf
ruby: add detection and fix compilation with Ruby 2.0 (patch #8209 )
...
Now the search for Ruby is first performed with pkg-config and includes
detection of Ruby 2.0.
If not found, the old code for detection is used (for old distros or
old Ruby versions).
The specific test on Ruby 1.9.0 (to disable this version) has been
removed (1.9.0 was a dev/unstable version from 2007, quite old now).
2014-02-05 17:27:36 +01:00
Patrick Steinhardt
47ced4833d
core: fix installation of weechat-plugin.h with autotools (patch #8305 )
2014-02-04 22:18:12 +01:00
Sebastien Helleu
a3b5ae5e65
alias: add default alias /beep => /print -stderr \a
2014-02-04 16:20:55 +01:00
Sebastien Helleu
b91378fedc
core: use structure itself for sizeof in two malloc
2014-02-04 08:34:05 +01:00
Sebastien Helleu
a2839fabb5
ruby: fix compilation warning
2014-02-02 20:33:03 +01:00
Sebastien Helleu
6c47428e78
core: fix compilation on Android (replace include of sys/termios.h by termios.h) (bug #41434 )
2014-02-02 15:12:37 +01:00
Sebastien Helleu
01fb345fe0
core: fix compilation on Android (replace calls to rindex by strrchr) (bug #41420 , patch #8301 )
2014-02-02 09:00:46 +01:00
Sebastien Helleu
9db356bd9b
core: fix crash when creating two bars with same name but different case (bug #41418 )
2014-02-01 09:12:51 +01:00
Sebastien Helleu
219f75b225
irc: clear the gnutls session in all cases after SSL connection error
2014-01-31 19:24:26 +01:00
Sebastien Helleu
59481611dd
relay: send backlog for irc private buffers
2014-01-31 16:41:12 +01:00
Sebastien Helleu
f3d614460b
core: fix typos in translations and docs
2014-01-29 22:37:33 +01:00
Sebastien Helleu
f285fdafa0
irc: add value "353" in option irc.look.display_join_message
...
So now the values mean:
- 353: names on channel
- 366: names count (before this commit it meant 353 + 366)
2014-01-28 18:31:03 +01:00
Sebastien Helleu
1b2f4108fd
core: fix display of read marker when all buffers line are unread
...
The bug is when all buffer lines are unread (so "last_read_line" pointer
is NULL), and that the option weechat.look.read_marker_always_show is on.
The read marker was displayed at bottom after switch to the buffer.
Thanks to Nils Görs.
2014-01-27 18:32:32 +01:00
Sebastien Helleu
b8ffa87b5c
logger: replace backslashs in name by logger replacement char under Cygwin (bug #41207 )
2014-01-27 16:31:36 +01:00
Sebastien Helleu
58c615f33b
core: fix memory leak in regex matching when evaluating expression
2014-01-26 20:04:05 +01:00
Sebastien Helleu
0fbbbb4435
irc: add command "monitor" in /help irc.look.notify_tags_ison
2014-01-25 13:37:41 +01:00
Sebastien Helleu
86a99af606
scripts: fix script interpreter used after register during load of script in python/perl/ruby/lua/guile plugins (bug #41345 )
2014-01-25 13:04:25 +01:00
Sebastien Helleu
97cede06b5
core: add support of escaped unicode chars in commands /print and "/input insert"
2014-01-24 12:53:23 +01:00