Sebastien Helleu
476729b897
core: fix crash when buffer is closed during execution of multiple commands ( closes #27 )
2014-03-18 11:50:44 +01:00
Sebastien Helleu
f09e1c136c
core: remove trailing space in log message when writing a configuration file
2014-03-18 09:25:15 +01:00
Sebastien Helleu
a4a4e2f38f
core: fix compilation on SmartOS (bug #40981 , closes #23 )
2014-03-16 19:18:16 +01:00
Sebastien Helleu
d920f87455
core: fix some compilation problems on SmartOS
2014-03-16 17:46:56 +01:00
Sebastien Helleu
85abcaedaa
Merge branch 'exec'
2014-03-15 12:28:07 +01:00
Sebastien Helleu
9e659d9f2e
core: add options "term2rgb" and "rgb2term" in command /color
2014-03-14 19:51:52 +01:00
Sebastien Helleu
eb21248ae7
core: fix highlight problem with "(?-i)" and upper case letters in option weechat.look.highlight
2014-03-13 14:14:10 +01:00
Sebastien Helleu
cd65198c71
api: add callback in function string_replace_regex
2014-03-13 10:59:58 +01:00
Sebastien Helleu
9543f9c034
core: add missing \0 at the end of stderr buffer in hook_process
2014-03-11 21:11:54 +01:00
Sebastien Helleu
4f48c7a566
api: add option "detached" in function hook_process_hashtable
2014-03-11 17:48:52 +01:00
Sebastien Helleu
42b416af19
api: add option "signal" in function hook_set to send a signal to the child process
2014-03-11 11:14:07 +01:00
Sebastien Helleu
b6da2c3fa5
core: fix detection of terminated process in hook_process
...
Check if the process is finished, even if stdout/stderr are not closed.
Moreover, if the process was terminated by a signal, the return code is
set to WEECHAT_HOOK_PROCESS_ERROR.
2014-03-11 11:01:00 +01:00
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