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
Sebastien Helleu
110f558629
core: set max value for option weechat.look.hotlist_names_count to GUI_BUFFERS_MAX (10000)
2014-01-16 23:09:44 +01:00
Sebastien Helleu
4b7e90c679
core: add option weechat.look.tab_width
2014-01-15 15:10:54 +01:00
Sebastien Helleu
70ffe0a14f
core: add completion "plugins_installed"
2014-01-14 13:27:43 +01:00
Sebastien Helleu
31e1b28c90
core: fix typo in /help weechat.look.highlight_regex
2014-01-13 16:09:01 +01:00
Sebastien Helleu
48837c35bc
api: add stdin options in functions hook_process_hashtable and hook_set (task #10847 , task #13031 )
...
The function hook_set has been added in script API.
2014-01-11 09:12:04 +01:00
Sebastien Helleu
02868b4dc0
core: optimize xxx_valid() functions: return immediately if pointer is NULL
2014-01-09 19:28:51 +01:00
Sebastien Helleu
73eb2564f3
core: add "POSIX extended" in description of options/commands/functions using regular expressions
2014-01-09 17:21:19 +01:00
Andrew Potter
144dc60d0a
xfer: add support of IPv6 for DCC chat/file (patch #7992 )
2014-01-09 12:48:54 +01:00
Sebastien Helleu
9040dfbf52
core: fix crash in /eval when config option has a NULL value
2014-01-08 09:05:58 +01:00
Sebastien Helleu
f878997828
core: fix typo in comment
2014-01-07 09:27:03 +01:00
Sebastien Helleu
fa73f5357b
core: add missing type "shared_string" in hdata_type_string[]
2014-01-06 11:25:14 +01:00
Sebastien Helleu
846dde00aa
core: fix crash with hdata_update on shared strings, add hdata type "shared_string" (bug #41104 )
2014-01-05 14:37:27 +01:00
Sebastien Helleu
d48896cfa4
core: replace calls to sprintf() with snprintf()
2014-01-05 10:44:53 +01:00
Sebastien Helleu
a571d599d3
core: fix compilation warnings on OpenBSD
...
On OpenBSD, the variable "tv_sec" in struct timeval has type "long"
(type "time_t" under Linux).
So we need to copy this value to a temporary variable before using its
pointer with function localtime().
2014-01-05 10:42:49 +01:00
Sebastien Helleu
892aa79fb5
core: update copyright dates
2014-01-01 00:14:12 +01:00