Sebastien Helleu
32703ae42b
core: set option weechat.look.buffer_search_where to prefix_message by default
2014-03-07 20:47:28 +01:00
Sebastien Helleu
dc2365104f
core: add option weechat.look.hotlist_add_conditions, remove option weechat.look.hotlist_add_buffer_if_away
2014-03-06 19:29:08 +01:00
Sebastien Helleu
6fbba54bf0
core: fix recursive calls to function eval_expression
2014-03-06 18:23:20 +01:00
Sebastien Helleu
6b7d96f4b4
core: mute all buffers by default in command /mute (replace option -all by -core)
2014-03-04 16:12:56 +01:00
Sebastien Helleu
12b82146aa
core: save and restore mute state in command /mute (bug #41748 )
2014-03-04 14:42:35 +01:00
Sebastien Helleu
be9046741f
core: fix memory in execution of commands
...
This memory leak was introduced by commit aa81067ad0
2014-03-02 17:59:40 +01:00
Sebastien Helleu
32a4f4e1d5
core: fix memory leak when removing a hdata
2014-03-02 17:59:08 +01:00
Sebastien Helleu
4b57c95494
core: fix memory leak in evaluation of sub-conditions
2014-03-02 17:43:19 +01:00
Sebastien Helleu
cf48fa4642
irc: evaluate content of server options "username" and "realname"
2014-02-28 15:00:39 +01:00
Sebastien Helleu
a4c385db99
core: fix output of /eval -n when there is a tab in output
2014-02-28 14:34:49 +01:00
Sebastien Helleu
ea71121723
api: add support of escaped strings in function string_eval_expression and command /eval
2014-02-28 14:31:40 +01:00
Sebastien Helleu
c8cd6c4639
core: fix size used in some snprintf
2014-02-26 09:17:20 +01:00
Sebastien Helleu
1aae49a2eb
core: fix malloc size when building filename of upgrade file
2014-02-25 09:20:44 +01:00
Sebastien Helleu
59f4fe05bc
core: fix size used in snprintf when reading a configuration file
2014-02-24 10:41:51 +01:00
Sebastien Helleu
76469269ce
core: fix uninitialized value in functions secure_{encrypt|decrypt}_data (in case of insufficient memory)
2014-02-22 20:20:57 +01:00
Sebastien Helleu
88d5ff3f20
core: fix possible zero bytes allocation in /help command
2014-02-22 20:03:34 +01:00
Sebastien Helleu
4d7e6c1664
core: fix potential dereference of NULL pointer in function command_set_display_option
2014-02-22 19:54:02 +01:00
Sebastien Helleu
bcf0a94bf4
core: comment unneeded assignment in function string_split_shell (make C static analyzer happy)
2014-02-22 12:50:38 +01:00
Sebastien Helleu
913de0c29b
core: fix uninitialized value in function string_decode_base64
2014-02-22 12:46:57 +01:00
Sebastien Helleu
9ce8fc7068
core: fix memory leak and use of invalid pointer in split of string (in case of insufficient memory)
2014-02-22 12:28:19 +01:00
Sebastien Helleu
f907ea17d5
Merge branch 'trigger'
2014-02-21 15:36:14 +01:00
Sebastien Helleu
aa81067ad0
core: use same return code and message in all commands when arguments are wrong/missing
2014-02-21 13:08:20 +01:00
Sebastien Helleu
f376893681
core: add option "-beep" in command /print
2014-02-20 11:00:24 +01:00
Sebastien Helleu
36641bc3d3
core: add missing option "rename" in /help filter and in command completion
2014-02-19 10:35:39 +01:00
Sebastien Helleu
652ec24449
core: allow empty arguments for command /print
2014-02-17 11:12:36 +01:00
Sebastien Helleu
39be4e3387
core: add bare display mode (for easy text selection and click on URLs)
...
New key: alt+"!", to swith to bare display (same key to come back to
standard display).
New options:
- weechat.look.bare_display_exit_on_input (default: on): by default
any changes in input will return to standard display
- weechat.look.bare_display_time_format (default: "%H:%M"): the format
of time used in bare display.
2014-02-16 11:29:03 +01:00
Sebastien Helleu
360f900d92
core: move function string_replace before string_replace_regex
2014-02-15 12:59:05 +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
fa2600f496
doc: add function string_split_shell in plugin API reference
2014-02-14 11:15:09 +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
a9aca06545
core: ignore return value of 'write' in function hook_set (fix compiler warning)
2014-02-11 11:55:05 +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
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
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
6bc7c456d7
core: add argument "num_items" in function string_split_shell
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
f3d614460b
core: fix typos in translations and docs
2014-01-29 22:37:33 +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
97cede06b5
core: add support of escaped unicode chars in commands /print and "/input insert"
2014-01-24 12:53:23 +01:00
Sebastien Helleu
48797574ff
core: revert the rename of option weechat.look.save_layout_on_exit
2014-01-22 18:50:24 +01:00
Sebastien Helleu
b49f825d0a
core: fix typo in /help print
2014-01-22 15:44:00 +01:00
Sebastien Helleu
a763797d36
api: add function "infolist_search_var"
2014-01-22 15:08:50 +01:00
Sebastien Helleu
79f2f46dec
core: rename option weechat.look.save_layout_on_exit to weechat.look.store_layout_on_exit, replace "save" by "store" for layouts
2014-01-21 22:03:12 +01:00
Sebastien Helleu
26dfd69f87
core: change format of buffer name in output of /buffer
...
Now the full name of buffer is displayed, without parentheses around the
plugin name.
The old ouput was:
[1] (core) weechat (notification: all)
[1] (irc) server.freenode (notification: all)
[2] (irc) freenode.#weechat (notification: all)
Now it is:
[1] core.weechat (notification: all)
[1] irc.server.freenode (notification: all)
[2] irc.freenode.#weechat (notification: all)
2014-01-21 15:32:09 +01:00
Sebastien Helleu
4da8fcf34d
core: add command /print
2014-01-19 23:29:00 +01:00
Sebastien Helleu
49f4c8e9ef
core: fix typo in arguments description of command /mute
2014-01-18 21:27:22 +01:00
Sebastien Helleu
8fc7515322
core: reformat hook_command arguments
2014-01-18 20:33:19 +01:00
Sebastien Helleu
facd73734d
core: update some function comments
2014-01-18 09:09:23 +01:00