Sebastien Helleu
5f6df8021b
core: add support of flags in regular expressions and highlight options, add irc options to customize/disable default nick highlight (task #11128 )
...
New functions in C plugin API:
- string_regex_flags
- string_regcomp
New irc options:
- irc.look.highlight_server
- irc.look.highlight_channel
- irc.look.highlight_pv
Regex flags are supported in following options/commands:
- option weechat.look.highlight
- option weechat.look.highlight_regex
- options irc.look.highlight_{server|channel|pv}
- option relay.network.allowed_ips
- core command /filter
- irc command /list
- irc command /ignore
- rmodifier command /rmodifier
2012-01-22 13:48:42 +01:00
Sebastien Helleu
fffd9c88ac
core: add many libcurl options missing (for URL transfer)
2012-01-18 17:50:12 +01:00
Sebastien Helleu
b91c231096
core: add URL transfer (using libcurl), add function hook_process_hashtable in plugin API, add support of URL in hook_process/hook_process_hashtable (task #10247 )
2012-01-16 19:52:08 +01:00
Sebastien Helleu
47e4a03be6
core: update copyright dates
2012-01-08 18:59:50 +01:00
Sebastien Helleu
68948f9747
core: change mouse state when option weechat.look.mouse is changed
2011-12-25 21:52:35 +01:00
Sebastien Helleu
6f3fd239be
core: add type "hashtable" for hdata, new api functions: hdata_hashtable and hashtable_map_string
2011-12-19 22:39:24 +01:00
Sebastien Helleu
d3a37ea948
core: display an error and do nothing for command "/unset *"
2011-12-17 18:42:27 +01:00
Sebastien Helleu
bd3f554e02
api: add new function hdata_check_pointer
2011-12-17 17:03:39 +01:00
Sebastien Helleu
1a9b8c92c8
core: display error about main buffer in command "/buffer close N" (or N1-N2) only if main buffer is the only buffer matching number(s)
2011-12-15 10:12:00 +01:00
Sebastien Helleu
15d9aab7fa
core: add option "hooks" for command /debug
2011-12-07 17:43:36 +01:00
Sebastien Helleu
86489d4587
core: add option "weechat.look.scroll_bottom_after_switch" (if enabled, restore old behaviour before fix of bug #25555 in version 0.3.5)
2011-12-07 16:28:32 +01:00
Sebastien Helleu
aa79dedbb1
core: add missing initialization of variable in function weelist_casesearch_pos
2011-12-04 09:06:46 +01:00
Sebastien Helleu
fcbf297a14
core: remove obsolete comment
2011-12-01 17:05:59 +01:00
Sebastien Helleu
41b5ef1e4c
core: check pointer returned by function localtime
2011-11-27 11:48:35 +01:00
Sebastien Helleu
8ba8e62580
irc: fix crash when signon time in message 317 (whois, idle) is invalid (too large) (bug #34905 )
2011-11-27 10:06:24 +01:00
Sebastien Helleu
bfc010df2f
core: add type char for hdata and function hdata_char in plugin/script API
2011-11-25 15:09:44 +01:00
Sebastien Helleu
6f6e1569cd
core: add "full_name" in buffer structure
2011-11-21 17:55:30 +01:00
Sebastien Helleu
61e5a4bcdb
core: apply filters after full reload of configuration files (with /reload) (bug #31182 )
2011-11-17 22:11:39 +01:00
Sebastien Helleu
fb78fe4e44
core: display a warning when option weechat.look.eat_newline_glitch is enabled
2011-11-15 11:45:44 +01:00
Sebastien Helleu
e5a74fca72
core: allow list for option weechat.plugin.extension (makes weechat.conf portable accross Un*x and Windows) (task #11479 )
2011-11-15 10:42:46 +01:00
Simon Kuhnle
07ed065ab7
core: fix compilation under OpenBSD 5.0 (lib utf8 not needed any more) (bug #34727 )
2011-11-12 16:57:49 +01:00
Sebastien Helleu
c7a1a01d8f
core: add new option weechat.completion.base_word_until_cursor: allow completion in middle of words (enabled by default) (task #9771 )
2011-11-12 16:09:14 +01:00
Sebastien Helleu
491412b314
api: add new functions strcasecmp_range and strncasecmp_range
2011-11-12 10:37:44 +01:00
Sebastien Helleu
2c6d525045
core: add option "jump_last_buffer_displayed" for command /input (key: alt+"/") (task #11553 )
2011-11-08 18:51:15 +01:00
Sebastien Helleu
fa06b0b353
core: remove error displayed by /buffer after successful jump to buffer by name or number
2011-11-07 17:10:48 +01:00
Sebastien Helleu
5f9be5cc7a
core: display error in command /buffer if arguments are wrong (bug #34180 )
2011-11-07 17:06:56 +01:00
Sebastien Helleu
523a6f032e
core: do not display warning about option "save_config_on_exit" on startup or after /upgrade
2011-11-05 17:09:16 +01:00
Sebastien Helleu
e9ef9a9e1b
core: display full line (option + value) for lines with error in configuration files
2011-11-05 16:11:22 +01:00
Sebastien Helleu
f211a839f6
core: rename options weechat.history.{max_lines|max_minutes} to weechat.history.{max_buffer_lines_number|max_buffer_lines_minutes}
2011-11-05 12:53:29 +01:00
Sebastien Helleu
4646e5c17c
core: fix typo: occured -> occurred
2011-11-03 16:59:54 +01:00
Sebastien Helleu
663616fa07
core: fix syntax of option "irc://" in "weechat-curses --help"
2011-11-01 19:40:46 +01:00
Sebastien Helleu
d16d11b392
core: add option weechat.history.max_minutes: maximum number of minutes in history per buffer (task #10900 ) (patch from Quentin Pradet)
2011-11-01 19:30:30 +01:00
Sebastien Helleu
34e0226ee0
core: add WEECHAT_HOME option in cmake and configure to setup default WeeChat home (default is "~/.weechat") (task #11266 )
...
Syntax for cmake: cmake <dir> -DWEECHAT_HOME="~/.weechat"
Syntax for configure: ./configure WEECHAT_HOME="~/.weechat"
2011-10-29 16:52:19 +02:00
Sebastien Helleu
8eefea424b
core: display a message when mouse state is changed with command /mouse
2011-10-29 11:27:58 +02:00
Sebastien Helleu
ce8ae83e17
core: add optional arguments for command /plugin load/reload/autoload
2011-10-29 11:16:45 +02:00
Sebastien Helleu
3298a36691
core: update examples in /help filter
2011-10-27 16:03:03 +02:00
Sebastien Helleu
d072ec110f
core: remove wrong example in /help bar (scroll bar using buffer name)
2011-10-27 11:57:42 +02:00
Sebastien Helleu
dfdf42e27b
core: remove unneeded whitespace
2011-10-26 20:37:03 +02:00
Sebastien Helleu
328d8e0f95
core: fix compilation error with "pid_t" on Mac OS X (bug #34639 )
2011-10-25 08:27:06 +02:00
Sebastien Helleu
71bef80ce2
core: enable background process under Cygwin to connect to servers, fix reconnection problem (bug #34626 )
...
The connection was not made with a fork() under Cygwin because the connect() in
child process was not working. This seems to be fixed in latest Cygwin, so this
hack has been removed and now a fork() is done for all systems.
2011-10-23 12:07:30 +02:00
Sebastien Helleu
0a2c938dae
core: fix freeze when calling function util_file_get_content with a directory instead of a filename
2011-10-19 13:41:34 +02:00
Sebastien Helleu
c161d704f7
core: use value 2 of keep_eol in function string_split to keep separators at end of string
2011-10-16 20:12:55 +02:00
Sebastien Helleu
2af9c4ba92
core: display timeout for hook_process command only if debug for core is enabled (task #11401 )
2011-10-09 10:33:05 +02:00
Sebastien Helleu
53b339fb35
core: bufferize lines displayed before core buffer is created, to display them in buffer when it is created
2011-10-07 15:30:54 +02:00
Sebastien Helleu
f89cecf71d
core: add missing hook type "focus" in array "hook_type_string" (fix crash when calling infolist_get with bad hook type)
2011-10-01 21:19:42 +02:00
Sebastien Helleu
77f02aed29
core: fix sentence in /help upgrade
2011-09-30 16:37:49 +02:00
Sebastien Helleu
072d526023
core: update help of option weechat.look.color_basic_force_bold
2011-09-24 14:53:43 +02:00
Sebastien Helleu
fb5d40951c
core: add new option weechat.look.color_basic_force_bold, off by default: bold is used only if terminal has less than 16 colors (patch #7621 )
2011-09-24 11:28:33 +02:00
Sebastien Helleu
7998e60498
core: change default value for option weechat.look.color_inactive_buffer to off
2011-09-23 15:37:41 +02:00
Sebastien Helleu
420ce7522a
core: add options weechat.look.color_inactive_window/buffer, fix bugs with inactive colors
2011-09-22 23:04:09 +02:00