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

2134 Commits

Author SHA1 Message Date
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 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
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 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
Max Teufel eea6b07edc irc: don't keep valid account names when account-notify is disabled 2015-01-24 14:33:39 +01:00
Max Teufel f379adffd0 irc: add support for CAP account-notify 2015-01-24 14:09:54 +01:00
Sébastien Helleu ac8ccba8c8 irc: remove server "freenode" from default config file (closes #309) 2015-01-24 13:55:29 +01:00
Sébastien Helleu 1a68242f95 irc: don't close channel buffer on second /part when option irc.look.part_closes_buffer is off (closes #313) 2015-01-24 09:37:47 +01:00
Sébastien Helleu a617cd857a irc: fix restore of query buffers on /upgrade (closes #315)
After /upgrade it was not possible to send a message in the query buffer or to
receive messages from this nick.

This commit fixes the search of query buffer when creating the irc channel
(with type "private").

The bug was introduced by commit 9749b65f7e.
2015-01-23 20:02:25 +01:00
Sébastien Helleu b0117f0d18 core: add gnutls version in #if compiler directives 2015-01-21 07:50:54 +01:00
Sébastien Helleu b30ad7d7f6 irc: fix compilation of SASL "ecdsa-nist256p-challenge"
Gnutls >= 3.0.21 is now required for SASL "ecdsa-nist256p-challenge".
Gnutls >= 3.3.0 is required to display the public key when connecting.
2015-01-21 07:49:20 +01:00