1
0
mirror of https://github.com/weechat/weechat.git synced 2026-07-02 07:46:38 +02:00
Commit Graph

475 Commits

Author SHA1 Message Date
Sebastien Helleu c31977f59c Revert "Fix bug with /upgrade: check existence of binary even when command is executed without argument"
This reverts commit 3cd267ab23.

With this fix, upgrade was not possible any more if WeeChat was run without path,
ie for example "weechat-curses" running "/usr/bin/weechat-curses".
2011-01-05 08:05:32 +01:00
Sebastien Helleu 3cd267ab23 Fix bug with /upgrade: check existence of binary even when command is executed without argument 2011-01-04 23:56:46 +01:00
Sebastien Helleu a341d809b2 Fix crash when changing or removing color palette options 2011-01-03 14:41:14 +01:00
Sebastien Helleu 44e16c0511 Add function "hashtable_set_pointer" in plugin API 2011-01-02 16:32:54 +01:00
Sebastien Helleu 10bf2a8665 Test if variables are not NULL before free in function hook_print_exec 2011-01-02 13:09:02 +01:00
Sebastien Helleu d24f6e9e17 Update copyright dates 2011-01-01 18:06:29 +01:00
Sebastien Helleu 0721bb1d4c Add new command /color 2011-01-01 14:39:12 +01:00
Sebastien Helleu 391ca47674 Add info "weechat_upgrading", signal "upgrade_ended", display duration of upgrade 2010-12-26 12:16:47 +01:00
Sebastien Helleu 894da1c9ed Allow more flexible format for palette options
Order of alias, pair and rgb is free and semicolon is not required any more
before or after pair.
2010-12-21 09:24:31 +01:00
Sebastien Helleu 2ee9f7b0fc Replace the 10 nick color options and number of nick colors by a single option "weechat.color.chat_nick_colors" (comma separated list of colors) 2010-12-20 15:08:30 +01:00
Sebastien Helleu cd7a02bec5 Add 256 colors support
Changes:
- new section "palette" in weechat.conf
- new API functions: list_search_pos and list_casesearch_pos
2010-12-20 10:13:37 +01:00
Sebastien Helleu e80d6b93a5 Add command line option "-c" (or "--colors") to display default colors in terminal 2010-12-17 12:27:51 +01:00
Sebastien Helleu 4043ca3d38 Allow use of color pair number in color options and in API function "weechat_color" 2010-12-17 09:54:46 +01:00
Sebastien Helleu ce269387a5 Fix infinite loop in API function string_has_highlight_regex if regex is empty 2010-12-09 23:09:49 +01:00
Sebastien Helleu b6662ee3cf Add color support in option weechat.look.buffer_time_format 2010-12-07 19:43:19 +01:00
Sebastien Helleu e0b528600f Call to hook_config when config option is created 2010-12-01 16:41:39 +01:00
Sebastien Helleu 528dc258ca Replace buffer local variable "no_highlight_nicks" by "hotlist_max_level_nicks" 2010-11-29 10:17:09 +01:00
Sebastien Helleu 0532412212 Use tag "no_highlight" for options/values printed by command /set 2010-11-28 12:41:50 +01:00
Sebastien Helleu e92079cfe9 Add new option weechat.look.highlight_regex and function string_has_highlight_regex in plugin API (task #10321) 2010-11-25 21:28:14 +01:00
Sebastien Helleu 8b9abab711 Fix problem with /set on boolean options with value "toggle" 2010-11-24 22:03:55 +01:00
Sebastien Helleu 0aff0ef66f Fix high CPU usage during gnutls handshake 2010-11-19 21:27:00 +01:00
Sebastien Helleu 5b236c5658 Return an error when trying to set boolean option with invalid value 2010-11-19 14:56:25 +01:00
Sebastien Helleu 917ce33ef1 Add note about strftime in help of options weechat.look.buffer_time_format and weechat.look.item_time_format 2010-11-18 18:21:26 +01:00
Gu1ll4um3r0m41n f15f114e4d Fix infinite loop on gnutls handshake when connecting with SSL to server on wrong port or server with SSL problems (bug #27487) 2010-11-18 17:35:08 +01:00
Sebastien Helleu 4d1c9a8315 Fix data sent to callback of hook_process, improve hook_process by using buffer
Fix: some data was sometimes missing (not sent to callback).
Improvement: use a 64KB buffer for child output and send data to callback only
when buffer is full.
2010-11-14 16:22:31 +01:00
Sebastien Helleu 11b3dd2874 Use type "unsigned long long" for API function string_format_size 2010-11-10 16:34:56 +01:00
Sebastien Helleu c2b5076334 Add note about "%h" replaced by WeeChat home in some options 2010-11-09 22:44:00 +01:00
Sebastien Helleu 8c129779ac Add function "hook_completion_get_string" in plugin API 2010-11-09 15:45:14 +01:00
Sebastien Helleu 25879ca189 Move WeeChat core completions from gui-completion.c to wee-completion.c 2010-11-09 15:03:07 +01:00
Sebastien Helleu 60c1b6ea83 Use constant WEECHAT_RC_OK instead of 0 in function command_reload_file 2010-11-01 10:21:56 +01:00
Sebastien Helleu ac6b299e8b Remove dead assignments 2010-10-31 18:23:16 +01:00
Sebastien Helleu 06b48ccf83 Add 2 "return" to make C static analyzer happy 2010-10-31 18:22:10 +01:00
Sebastien Helleu d58024ecec Check that buffer pointer is not NULL in upgrade_file_read_buffer 2010-10-31 18:12:18 +01:00
Sebastien Helleu fce371e22a Remove unused variables 2010-10-31 18:10:51 +01:00
Sebastien Helleu fdc5fa1b14 Fix bug with default value in config option infolist 2010-10-30 15:07:00 +02:00
Sebastien Helleu 0cf04dca7c Add new functions in plugin API: hook_hsignal and hook_hsignal_send 2010-10-23 08:58:18 +02:00
Sebastien Helleu 6e126937bc Fix problem with day change message, which can be displayed twice
Day of month is saved in a variable to be used later (after signal is sent).
So that is content of static structure has changed, it will not be a problem,
it will not be used any more after signal.
2010-10-21 23:26:33 +02:00
Sebastien Helleu ebf94445b9 Use const void * for keys and values in some hashtable functions 2010-10-17 10:39:51 +02:00
Sebastien Helleu eff0f9abdb Fix crash in hashtable_get_string with "values" or "keys_values" when some values in hashtable are NULL 2010-10-16 11:30:42 +02:00
Sebastien Helleu 9186a5b7e3 Add properties "values" and "keys_values" for hashtable_get_string (return string with list of values or keys/values) 2010-10-15 23:48:45 +02:00
Sebastien Helleu 79c8c90256 Fix bug with buffer name in "/bar scroll" command 2010-10-15 16:06:17 +02:00
Sebastien Helleu 0e68117b37 Add new option weechat.look.hotlist_unique_numbers (task #10691) 2010-10-12 18:22:11 +02:00
Sebastien Helleu fe2a361364 Add property "no_highlight_nicks" in buffers to disable highlight for some nicks in buffer
This can be used with script buffer_autoset.py (see /help autosetbuffer).
2010-10-11 16:29:15 +02:00
Sebastien Helleu f32e18c717 Add function "hashtable_has_key" in WeeChat and plugin API 2010-10-11 13:56:57 +02:00
Sebastien Helleu b9d6c5c5a0 Add property "keys" for hashtable_get_string (return string with list of keys) 2010-10-10 19:44:29 +02:00
Sebastien Helleu 773bdc8d18 Allow null value for hashtable entries 2010-10-10 17:49:47 +02:00
Sebastien Helleu 8d6c5e9e4c Add tag "nick_xxx" in IRC messages 2010-10-10 17:39:15 +02:00
Sebastien Helleu 9605a8726f Add new option weechat.look.prefix_align_min (task #10650) 2010-10-02 00:29:19 +02:00
Sebastien Helleu 5ef4ecb5ab Add missing tag "no_log" in /help filter 2010-10-01 08:05:38 +02:00
Sebastien Helleu b3b0f2d31c New value for option weechat.look.input_share (none, commands, text, all), add new option weechat.look.input_share_overwrite (boolean) 2010-09-28 11:09:52 +02:00