1
0
mirror of https://github.com/weechat/weechat.git synced 2026-07-06 17:53:13 +02:00
Commit Graph

2125 Commits

Author SHA1 Message Date
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
Sebastien Helleu e79c7cf7d9 core: reallow names beginning with "#" for bars, proxies and filters 2012-06-04 18:18:10 +02:00
Sebastien Helleu 0732789f34 core: escape special chars (#[\) in configuration files for name of options (bug #36584) 2012-06-04 18:14:57 +02:00
Sebastien Helleu f56a936b22 core: test return code when reading flags with fcntl (set flags to 0 if error) 2012-06-01 10:33:30 +02:00
Sebastien Helleu 3bc15f0e55 core: fix compilation warning on a comparison using type "wint_t" 2012-05-15 15:30:43 +02:00
Sebastien Helleu 54b45e9c5e core: support lines of 16 Kb long in configuration files (instead of 1 Kb) 2012-05-11 08:04:19 +02:00
Sebastien Helleu 5c64e36bc0 core: add description of "command" in /help key 2012-05-05 20:04:02 +02:00
Mateusz Poszwa 59234aef2d core: fix truncated config files (zero-length) after system crash (bug #36383)
The function config_file_write_internal now performs an overwrite-by-rename
(call to "rename" only) instead of calls to "unlink" then "rename".
2012-05-03 16:10:00 +02:00
Sebastien Helleu d279a66df8 core: do not use malloc in function utf8_strlen_screen for small strings (4 bytes or less) 2012-04-14 18:14:25 +02:00
Sebastien Helleu 7fe2550b40 core: fix help of option weechat.completion.nick_completer 2012-04-11 22:25:42 +02:00
Sebastien Helleu a317029955 core: fix display bugs and crashs with small windows (bug #36107) 2012-04-11 16:38:14 +02:00
Sebastien Helleu 902c0903d3 core: convert options weechat.look.prefix_align_more and weechat.look.prefix_buffer_align_more from boolean to string (task #11197) 2012-04-07 18:47:41 +02:00
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