Sebastien Helleu
5459e6595a
core: fix bugs with option weechat.look.prefix_same_nick, use nick color for string used as replacement
...
Bugs fixed:
- hide/replace prefix only if prefix is a nick (do not do it for join/part/quit or action messages)
- hide/replace prefix only when displaying messages (do not cache value in lines)
The nick color used in replacement string comes from tag "prefix_nick_ccc", where "ccc" is the color of nick.
2012-04-03 21:22:53 +02:00
Sebastien Helleu
67115edf3d
core: add option weechat.look.prefix_same_nick (hide or change prefix on messages whose nick is the same as previous message) (task #11965 )
2012-03-28 18:07:15 +02:00
Sebastien Helleu
9972cce777
core: add a connection timeout for child process in hook_connect (bug #35966 )
2012-03-23 18:24:47 +01:00
Sebastien Helleu
89349e6f9a
core: fix typo: unsensitive -> insensitive
2012-03-17 10:08:39 +01:00
Sebastien Helleu
3a2a1ce6f2
core: follow symbolic links when writing configuration files (.conf) (task #11779 )
2012-03-13 18:13:45 +01:00
Sebastien Helleu
35785a5e05
core: improve and fix bugs on standard paste and bracketed paste
...
Changes:
- wait control sequence for end of bracketed paste (and only after, check if
we should ask confirmation to user)
- add option weechat.look.paste_bracketed_timer_delay to force the end of
bracketed paste if the control sequence for end of bracketed paste was not
received in time
- in bracketed paste mode, with paste_max_lines=1, do not ask confirmation for
one line (ask for one line only if paste_max_lines=0)
- fix bugs with mintty: bracketed paste should be ok every time (even if some
codes are sometimes partially received, WeeChat will now handle that properly);
the standard paste often fails (due to bug in mintty, which sends paste very
slowly to remote app); so the bracketed paste mode is highly recommended with
mintty
- after paste in bracketed paste mode, the undo key (ctrl+"_" by default) will
undo whole paste, not chars one by one
2012-03-09 10:41:13 +01:00
Sebastien Helleu
f5769dbd17
core: fix typo in help of option weechat.look.paste_bracketed (bug #35717 )
2012-03-04 19:41:34 +01:00
Sebastien Helleu
d733a5bd62
core: rename option weechat.look.bracketed_paste_mode to weechat.look.paste_bracketed
2012-03-04 11:38:16 +01:00
Sebastien Helleu
152394689a
core: add support of terminal "bracketed paste mode" (task #11316 )
2012-03-04 10:32:55 +01:00
Sebastien Helleu
496c7d3e18
core: fix expand of path "~" to home of user in function string_expand_home ("~/xxx" was ok, but not "~")
2012-02-25 08:42:00 +01:00
Sebastien Helleu
d30560729b
core: remove obsolete option "scroll_unread" in completion of /input (option was moved to /window)
2012-02-20 07:46:42 +01:00
Sebastien Helleu
508bfe5c7a
core: fix memory leak in function util_search_full_lib_name
2012-02-19 19:14:06 +01:00
Sebastien Helleu
96ecfdd9d1
core: add options "dns_servers" and "accepttimeout_ms" for curl (libcurl >= 7.24.0)
2012-02-09 09:48:57 +01:00
Sebastien Helleu
863a9d37da
core: fix compilation warning under Cygwin
2012-02-05 11:25:38 +01:00
Sebastien Helleu
2dd44ee3d7
core: fix compilation warning on curl_easy_setopt for option CURLOPT_FOLLOWLOCATION
2012-01-28 22:12:57 +01:00
Sebastien Helleu
9347bae962
api: replace type "regex_t *" by "void *" in function string_regcomp (fix ruby compilation with autotools)
2012-01-26 18:18:20 +01:00
Sebastien Helleu
d242f30950
core: move option "scroll_unread" from command /input to /window
2012-01-24 21:20:52 +01:00
Sebastien Helleu
009925b9ac
api: add modifier "input_text_for_buffer"
2012-01-24 19:02:06 +01:00
Sebastien Helleu
f7a0f8ae39
core: fix typo in comment
2012-01-24 10:58:51 +01:00
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