Sebastien Helleu
149c77decd
core: fix typos in many comments and some strings
2013-03-17 12:55:20 +01:00
Sebastien Helleu
30e6acb00d
core: add support of multiple layouts (task #11274 )
2013-03-17 08:28:41 +01:00
Sebastien Helleu
afc1dd4f6b
api: fix bug in string_match when mask begins and ends with "*"
...
The bug was string_match returning 0 (instead of 1) if mask begins and ends with
"*" and if string and mask have same length (except both "*") with same content:
string_match("abc", "*abc*", 0) == 0 // BUG: it should return 1
string_match("abcd", "*abc*", 0) == 1 // OK
2013-03-11 18:09:33 +01:00
Sebastien Helleu
b352891c2b
api: allow hashtable with keys that are not strings in function hashtable_add_to_infolist
2013-03-07 13:20:16 +01:00
Sebastien Helleu
b84f6b5a1b
api: fix function string_mask_to_regex: escape all special chars used in regex (bug #38398 )
2013-02-26 21:12:25 +01:00
Sebastien Helleu
6e3f6270d1
core: allow read of array in hdata without using index
2013-02-17 12:16:00 +01:00
Sebastien Helleu
01153cd478
core: add option "dirs" for command /debug
2013-02-14 20:45:12 +01:00
Sebastien Helleu
3306c0f3b5
core: add info about doc and function to read in /help weechat.completion.default_template
2013-02-01 11:14:27 +01:00
Nils Görs
792d607027
core: add "/debug tags" in /help filter
2013-01-29 20:20:22 +01:00
Sebastien Helleu
25eaec3864
core: use size of 32 for hashtables (instead of 4, 8 or 16)
...
A size of 32 will use a little more memory but will reduce collisions in key
hashs, and then length of linked lists inside hash structure (faster search in
hashtable).
2013-01-26 19:26:43 +01:00
Sebastien Helleu
f4dce04723
core: use default hash/comparison callback for keys of type integer/pointer/time in hashtable
2013-01-26 18:48:26 +01:00
Sebastien Helleu
1edabb98f5
core: remove obsolete/unneeded check of headers and functions in cmake and configure
2013-01-21 19:51:45 +01:00
Sebastien Helleu
0ad8866d6b
core: fix infinite loop when a regex gives an empty match (bug #38112 )
2013-01-18 09:03:57 +01:00
Sebastien Helleu
df2867ac27
core: add git version in backtrace and log file
2013-01-17 20:25:00 +01:00
Sebastien Helleu
8e587f7093
core: fix typo in comment
2013-01-14 16:26:56 +01:00
Sebastien Helleu
e0deceb366
core: fix click in item "buffer_nicklist" when nicklist is a root bar (bug #38080 )
...
Argument "*" is now silently ignored in command /window.
When item "buffer_nicklist" is in a root bar, we use current window/buffer to
find which nick has been clicked (same behaviour as callback used to display bar
item "buffer_nicklist").
2013-01-14 12:16:25 +01:00
Sebastien Helleu
53c6b62ae3
core: fix some copyright dates
2013-01-10 23:14:33 +01:00
Sebastien Helleu
cd37f12059
core: fix memory leak in evaluation of expression when a logical operator ("&&" or "||") is found
2013-01-07 08:24:40 +01:00
Sebastien Helleu
bd21daebd1
api: allow return code WEECHAT_RC_OK_EAT in callbacks of hook_signal and hook_hsignal (stop sending the signal immediately)
2013-01-06 19:38:38 +01:00
Simon Kuhnle
1c17274178
core: fix compilation on OpenBSD (bug #38022 )
...
File "sys/uio.h" needs to be included explicitly for use of "struct iovec" on OpenBSD.
Signed-off-by: Simon Kuhnle <simon@blarzwurst.de >
2013-01-04 17:52:35 +01:00
Sebastien Helleu
da56eb6978
core: fix help of option weechat.color.separator
2013-01-04 17:46:13 +01:00
Sebastien Helleu
f97598b4aa
core: update copyright dates
2013-01-01 13:12:49 +01:00
Nils Görs
67a111f7f2
core: fix detection of command in input: a single command char is considered as a command (API function "string_input_for_bufer")
2012-12-25 10:54:51 +01:00
Sebastien Helleu
135c740f73
core: improve completion of commands /help, /mute and /set
2012-12-20 19:30:57 +01:00
Sebastien Helleu
85eb3424cd
core: add template %(windows_numbers) for first argument of command /window
2012-12-20 19:29:11 +01:00
Sebastien Helleu
9b10edb6c5
core: group templates of command /mouse into a single template
2012-12-20 19:27:23 +01:00
Peter Boström
a67d97f16e
core: add option "diff" for command /set (list options with changed value)
2012-12-20 18:18:33 +01:00
Sebastien Helleu
2386c10917
core: add cmake dependency between targets weechat_core and version_git
2012-12-19 10:25:12 +01:00
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