1
0
mirror of https://github.com/weechat/weechat.git synced 2026-06-25 04:16:38 +02:00
Commit Graph

4224 Commits

Author SHA1 Message Date
Sébastien Helleu a98c835716 javascript: fix compilation with old V8 lib 2015-03-08 10:56:58 +01:00
Sébastien Helleu 148a571dce javascript: add option "--disable-javascript" and V8 detection in autotools 2015-03-08 09:56:51 +01:00
Sébastien Helleu c85d5a8929 javascript: fix name of source file in comment 2015-03-08 09:31:01 +01:00
Sébastien Helleu 02a69beba1 javascript: display v8 version in /debug libs 2015-03-08 08:25:56 +01:00
Sébastien Helleu bed4ee1f35 javascript: fix crash in return of string values when WeeChat API function returns NULL 2015-03-07 16:52:30 +01:00
Sébastien Helleu dfb2c79cbb javascript: catch and display exceptions when running scripts/functions 2015-03-07 16:52:30 +01:00
Sébastien Helleu 145191dbc5 javascript: add new plugin to run javascript scripts in WeeChat
This plugin was originally written by Koka El Kiwi
(repository: https://github.com/KokaKiwi/weechat-js-plugin).

This plugin uses Google V8 engine to execute JS scripts.
2015-03-07 16:52:09 +01:00
Sébastien Helleu e95f853303 scripts: reset current script pointer when load of script fails in python/perl/ruby/lua/tcl plugins 2015-03-07 09:35:29 +01:00
Tor Hveem ff1aaf280b lua: fix wrong argument usage in nicklist API functions
3 functions in the API; niclist_remove_group, nicklist_remove_nick and
nicklist_remove_all use the incorrent offset to get the Lua
argument values.
2015-03-06 20:08:38 +01:00
Sébastien Helleu c0a27cf437 scripts: fix name of variables in infolist API functions 2015-03-04 07:40:07 +01:00
Sébastien Helleu 0d4ad2d7f3 guile: fix value returned in case of error in some functions
Affected functions:
- config_option_reset
- config_color
- config_color_default
- config_write
- config_read
- config_reload
- hook_command
- buffer_string_replace_local_var
- command
2015-03-01 10:49:31 +01:00
Sébastien Helleu c07d058bff tcl: fix value returned in case of error in some functions
Affected functions:
- mkdir_home
- mkdir
- mkdir_parents
- config_option_reset
- config_color
- config_color_default
- config_write
- config_read
- config_reload
- print_date_tags
- buffer_string_replace_local_var
- command
- infolist_new_item
- infolist_new_var_integer
- infolist_new_var_string
- infolist_new_var_pointer
- infolist_new_var_time
- upgrade_write_object
- upgrade_read
- upgrade_close
2015-03-01 10:45:35 +01:00
Sébastien Helleu e745236cb4 lua: fix value returned in case of error in some functions
Affected functions:
- config_option_reset
- config_string
- config_string_default
- config_color
- config_color_default
- config_write
- config_read
- config_reload
- hook_modifier_exec
- buffer_string_replace_local_var
- nicklist_group_set
- nicklist_nick_set
- command
- upgrade_read
- upgrade_close
2015-03-01 10:39:08 +01:00
Sébastien Helleu d1cd844e06 ruby: fix value returned in case of error in some functions
Affected functions:
- config_option_reset
- config_color
- config_color_default
- config_write
- config_read
- config_reload
- buffer_string_replace_local_var
- command
2015-03-01 10:13:06 +01:00
Sébastien Helleu e6d3a78d2c perl: fix value returned in case of error in some functions
Affected functions:
- config_option_reset
- config_color
- config_color_default
- config_write
- config_read
- config_reload
- buffer_string_replace_local_var
- command
2015-03-01 10:10:36 +01:00
Sébastien Helleu 7624ef417d python: fix value returned in case of error in some functions
Affected functions:
- config_option_reset
- config_color
- config_color_default
- config_write
- config_read
- config_reload
- config_is_set_plugin
- buffer_get_string
- buffer_string_replace_local_var
- nicklist_group_get_string
- nicklist_nick_get_string
- command
- hdata_time
2015-03-01 10:06:28 +01:00
Sébastien Helleu 5e886961bd scripts: fix return code of function bar_set in python/perl/ruby/lua/tcl/guile plugins 2015-03-01 09:57:35 +01:00
Sébastien Helleu 72b8674193 python: fix name of function "bar_update" in case of error 2015-03-01 09:47:47 +01:00
Sébastien Helleu 79afeb2111 python: fix restore of old interpreter when a function is not found in the script 2015-03-01 09:12:02 +01:00
Sébastien Helleu 5a70597516 scripts: fix type of value returned by function hdata_time (from string to long integer) in perl/ruby/lua/tcl/guile plugins 2015-03-01 09:06:18 +01:00
Sébastien Helleu c853d29e76 scripts: rename macro API_FUNC to API_INIT_FUNC, add macro API_FUNC to declare API functions 2015-02-21 09:49:51 +01:00
Sébastien Helleu c1a5a76d08 scripts: reformat some code to make it more readable 2015-02-21 09:16:25 +01:00
Sébastien Helleu 8f11de6863 scripts: improve comments on functions that convert hashtables 2015-02-21 09:12:44 +01:00
Sébastien Helleu 770152dea7 irc: remove useless rename of channel buffer on JOIN received with different case (closes #336)
This bug was introduced by commit 624083f41a.
2015-02-21 08:35:26 +01:00
Sébastien Helleu c9c8625581 relay: fix up/down keys on relay buffer (closes #335) 2015-02-20 22:33:48 +01:00
Max Teufel 1d8e6c10d7 irc: format IRC message 008 (RPL_SNOMASK) (closes #144) 2015-02-15 15:32:07 +01:00
Sébastien Helleu 094abc57ed core: add missing info in function weelist_print_log 2015-02-12 07:34:18 +01:00
Sébastien Helleu 63a9d77339 irc: fix crash in callback of message 354 when the nick is not found in channel 2015-02-10 21:58:47 +01:00
Sébastien Helleu 7c5016c79d core: add missing initialization of pointer in list allocation 2015-02-10 20:50:10 +01:00
Anders Bergh 00730c0f9c relay: remove v4-mapped addresses in /help relay.network.allowed_ips
v4-mapped addresses aren't used since commit 85339f6.
2015-02-04 07:48:06 +01:00
Sébastien Helleu 9871f26f04 core: split expression before evaluating it in command "/eval -s" 2015-01-30 09:58:36 +01:00
Sébastien Helleu 5e2cd75efc core: add option "-s" in command /eval to split commands (no more split by default) (closes #324) 2015-01-30 08:58:37 +01:00
Sébastien Helleu d3c309c787 core: add note about alias /v in /help version 2015-01-29 07:49:55 +01:00
Sébastien Helleu 0d9398d038 irc: fix completion of commands /allchan and /allpv 2015-01-28 07:45:01 +01:00
Sébastien Helleu 6a7f6f5095 irc: send WHOX message only if server supports it 2015-01-25 20:30:35 +01:00
Sébastien Helleu 8ad308a398 irc: add "account-notify" in help of server option "capabilities" 2015-01-25 18:15:32 +01:00
Sébastien Helleu 391d88d296 irc: fix set of variable "pos_account" in callback for message "354" 2015-01-25 17:36:59 +01:00
Sébastien Helleu b1a1e14832 irc: free account before changing its value 2015-01-25 17:34:22 +01:00
Sébastien Helleu 5559b43518 irc: set away flag to 0 only if channel and nick are found 2015-01-25 17:34:22 +01:00
Sébastien Helleu 4c1e13fd45 irc: force host to NULL after free 2015-01-25 17:34:22 +01:00
Sébastien Helleu 0fade5ccd0 irc: move account callback to keep protocol callbacks sorted alphabetically 2015-01-25 16:02:46 +01:00
Sébastien Helleu 939c7b29c0 irc: shorten code in account callback 2015-01-25 16:00:31 +01:00
Sébastien Helleu 0f1e997090 irc: add "account" in irc_nick_print_log() 2015-01-25 15:25:41 +01:00
Sébastien Helleu 3c885fa80f irc: add "account" in irc_nick hdata 2015-01-25 15:24:52 +01:00
Sébastien Helleu fad11a6b93 irc: remove useless save of variables in irc_nick_new() when updating nick 2015-01-25 15:23:39 +01:00
Sébastien Helleu 055d7de721 irc: shorten code to call irc_nick_new() in join callback 2015-01-25 15:17:51 +01:00
Sébastien Helleu 62256251be irc: change type of "account" parameter to "const char *" in irc_nick_new() 2015-01-25 15:16:55 +01:00
Sébastien Helleu 5886820679 irc: remove compiler warning about unused parameter in irc_channel_remove_account() 2015-01-25 15:13:11 +01:00
Sébastien Helleu 0a75d79e93 irc: fix memory leak on nick account in irc_channel_remove_account() 2015-01-25 15:00:38 +01:00
Sébastien Helleu d2ef6e675d Merge remote-tracking branch 'origin/pr/246' into irc-account-notify 2015-01-25 14:56:47 +01:00