Sebastien Helleu
0f749dc65d
core: fix compilation warning on FreeBSD
2012-12-19 09:37:26 +01:00
Sebastien Helleu
2b78673aa9
core: add git version in build, display it in "weechat-curses --help" and /version
2012-12-16 23:07:33 +01:00
Sebastien Helleu
7eb5cc4b97
core: move comments with description of C file to top of files
2012-12-15 12:27:57 +01:00
Sebastien Helleu
7d34812f1c
core: reformat comments for functions
2012-12-13 18:51:44 +01:00
Sebastien Helleu
641de51bdb
api: allow creation of structure with hdata_update (allowed for hdata "history")
2012-12-08 23:54:07 +01:00
Sebastien Helleu
eabf103e71
core: expand char '~' with user home in first argument of hook_process
2012-12-06 13:52:13 +01:00
Sebastien Helleu
822ae76543
core: fix crash in child process of hook_process_hashtable when arguments are given in hashtable and that execvp() failed
2012-12-06 13:43:31 +01:00
Sebastien Helleu
f411a59a7d
core: use high priority (50000) for commands /command and /input so that an alias will not take precedence over these commands (bug #36353 )
2012-12-02 13:15:31 +01:00
Sebastien Helleu
c89124aadc
core: execute command with higher priority when many commands with same name are found with different priorities
2012-12-02 13:12:07 +01:00
Nils Görs
2ae8d81b1f
core: add color support in options weechat.look.prefix_{action|error|join|network|quit} (task #9555 )
2012-12-01 16:03:20 +01:00
Sebastien Helleu
ab1d5404d4
core: do not display default value for options plugins.* in output of /set
2012-11-27 13:44:41 +01:00
Peter Boström
1585593bda
core: display default values for changed config options in output of /set
2012-11-27 12:30:57 +01:00
Sebastien Helleu
1281b18688
api: use hashtable "options" for command arguments in function hook_process_hashtable (optional, default is a split of string with command)
2012-11-22 19:55:38 +01:00
Sebastien Helleu
efb795c74f
core: do not call shell to execute command in hook_process (fix security problem when a plugin/script gives untrusted command) (bug #37764 )
2012-11-18 10:38:30 +01:00
Sebastien Helleu
4d436e3ac6
core: expand buffer local variables in evaluation of expressions (command /eval and function "string_eval_expression" in plugin API)
2012-11-02 15:40:15 +01:00
Sebastien Helleu
f7b53fe6aa
core: support many commands in /eval (separated by semicolons)
2012-11-02 15:28:48 +01:00
Sebastien Helleu
32c93b5c0a
core: add command /eval, use expression in conditions for bars, add function "string_eval_expression" in plugin API
2012-11-02 09:37:15 +01:00
Sebastien Helleu
3ec0ad7c62
core: remove duplicated #include
2012-10-21 19:43:12 +02:00
stfn
c2b26972da
core: fix gnutls warnings
2012-10-18 22:36:52 +02:00
Sebastien Helleu
ed506558e8
core: add option "-quit" for command /upgrade (save session and quit without restarting WeeChat, for delayed restoration)
2012-10-18 20:59:56 +02:00
Simon Arlott
d5f140805b
core: fix sendmsg/recvmsg on BSD/OSX by sending 1 byte of data (in hook_connect)
2012-10-17 17:32:56 +02:00
Sebastien Helleu
066f184605
core: fix connection to servers on OS X
2012-10-17 12:17:10 +02:00
Simon Arlott
248aa8d73a
api: connect with IPv6 by default in hook_connect (with fallback to IPv4), shuffle list of hosts for a same address (task #11205 )
2012-10-14 10:59:00 +02:00
stfn
0fb3378fc1
core: fix IPv6 example in /proxy command
2012-09-20 07:55:58 +02:00
Sebastien Helleu
e1a54d49eb
core: add default key alt+"x" (zoom on merged buffer) (task #11029 )
2012-08-30 10:46:42 +02:00
Sebastien Helleu
df80aa5fc9
api: allow update for some variables of hdata, add new functions hdata_update and hdata_set
2012-08-27 09:47:46 +02:00
Sebastien Helleu
e767346a19
core: fix IP address returned by hook_connect (return IP really used, not first IP for hostname)
2012-08-25 18:51:25 +02:00
Sebastien Helleu
a4e15e8ef4
irc: move options weechat.look.nickmode{_empty} to irc.look.nick_mode{_empty}, add nick mode for action messages (patch from Nils Görs)
...
The option irc.look.nick_mode has a new type: integer with values:
none/prefix/action/both (default is "prefix", which is old behaviour).
2012-08-20 18:25:23 +02:00
Sebastien Helleu
1fe7d25c8d
core: fix quote used in /help option for values (type integer with strings)
2012-08-20 15:28:50 +02:00
Sebastien Helleu
2ae292e684
core: fix alignment of command arguments for scripts (in /help command)
2012-08-15 20:20:40 +02:00
Sebastien Helleu
4fb991d07c
core: fix use of uninitialized variable in hdata_get_var_array_size
2012-08-14 19:16:27 +02:00
Sebastien Helleu
a99d136018
core: add new plugin "script" (scripts manager, replacing scripts weeget.py and script.pl)
2012-08-14 18:29:32 +02:00
Sebastien Helleu
3a245686ca
core: free some variables used for weechat.conf when quitting WeeChat
2012-08-14 11:53:53 +02:00
Sebastien Helleu
5164bab407
core: add hidden command line options --no-gnutls and --no-gcrypt (no init/deinit of gnutls/crypt, useful for valgrind/electric-fence)
2012-08-14 11:05:35 +02:00
Sebastien Helleu
03a5e8a729
core: free data before removing config file/section/option from lists (remove warning in valgrind about blocks still reachable)
2012-08-14 10:10:46 +02:00
Sebastien Helleu
777fa366d7
core: fix connection to host in child process when socket is non-blocking (with or without proxy)
2012-08-08 14:20:48 +02:00
Sebastien Helleu
c13b2ca57d
core: return error string to callback of hook_connect if getaddrinfo fails in child process
2012-08-06 16:39:58 +02:00
Sebastien Helleu
9258a63a6b
core: fix crash if key of hashtable_get(_item) is NULL (just return NULL)
2012-08-05 10:29:39 +02:00
Sebastien Helleu
e41595833a
core: update description of plugins and translate them in output of /plugin
2012-08-02 09:21:47 +02:00
Sebastien Helleu
d685d5fb42
core: add option weechat.startup.sys_rlimit to set system resource limits for WeeChat process
2012-08-01 17:31:48 +02:00
Nils Görs
ee74131f69
core: add option "swap" for command /buffer (task #11373 )
2012-07-29 20:08:52 +02:00
Sebastien Helleu
782e01f177
relay: add support of SSL (for irc and weechat protocols), new option relay.network.ssl_cert_key (task #12044 )
2012-07-27 17:54:08 +02:00
Sebastien Helleu
7a3e8cf198
core: fix crash when reading array value of hdata variable with type integer/long/time
2012-07-21 17:22:45 +02:00
Sebastien Helleu
eab0110732
core: add support of arrays in hdata variables
2012-07-20 18:12:07 +02:00
Peter Boström
4eb8013fd3
core: add command line option "-r" (or "--run-command") to run command(s) after startup of WeeChat
2012-07-13 12:57:14 +02:00
Peter Boström
c03fcd5e12
core: add function "hook_set" in plugin API, add "subplugin" in hooks (set by script plugins), display subplugin in /help on commands (task #12049 )
2012-07-09 15:16:51 +02:00
Nils Görs
92aa9bff45
core: add option weechat.look.jump_smart_back_to_buffer (jump back to initial buffer after reaching end of hotlist)
...
The option is "on" by default, which is old behaviour.
2012-07-07 13:41:16 +02:00
Sebastien Helleu
25c795a26f
core: add horizontal separator between windows, two new options to toggle horizontal/vertical separators between windows
...
New boolean options, enabled by default:
- weechat.look.window_separator_horizontal
- weechat.look.window_separator_vertical
2012-06-10 09:51:03 +02:00
Sebastien Helleu
9c5116b4fe
core: add options weechat.color.chat_nick_offline_highlight(_bg) (text/bg for highlight when nick is offline)
2012-06-09 21:33:10 +02:00
Sebastien Helleu
200652836b
core: add options to use different color for offline nicks in prefix (patch from Nei) (task #11109 )
...
New options:
- weechat.look.color_nick_offline: boolean to enable feature (off by default)
- weechat.color.chat_nick_offline: color for offline nicks (displayed in prefix)
2012-06-09 08:53:50 +02:00