summaryrefslogtreecommitdiff
path: root/src/plugins
AgeCommit message (Collapse)Author
2016-08-20xfer: fix crash on DCC send if option xfer.file.auto_accept_nicks is set ↵Sébastien Helleu
(closes #781)
2016-08-13xfer: fix NULL pointer derefence in case of memory error in ↵Sébastien Helleu
xfer_set_{local|remote}_address()
2016-08-13xfer: fix memory leak in case of memory error in xfer_chat_open_buffer()Sébastien Helleu
2016-08-13irc: fix NULL pointer derefence in case of memory error in irc_sasl_dh()Sébastien Helleu
2016-08-10trigger: add missing step with post action in /help triggerSébastien Helleu
2016-08-09trigger: add post action in command line built by /trigger input|output|recreateSébastien Helleu
2016-08-09trigger: add quotes around completions of post actionSébastien Helleu
2016-08-09trigger: rename "once action" to "post action"Sébastien Helleu
2016-08-09Merge remote-tracking branch 'origin/pr/509'Sébastien Helleu
2016-08-07irc: remove evil tabSébastien Helleu
2016-08-07core: irc, xfer: do not check return code of res_init()Sébastien Helleu
If the call to res_init() fails, the connection may be OK anyway or in worst case it will fail (with an appropriate error) if the name can not be resolved.
2016-08-07core, irc, xfer: add missing includes for function res_init()Sébastien Helleu
2016-08-07core/plugins: Use res_init before getaddrinfo.Raghavendra Prabhu
With weechat, if the network changes in anyway that causes resolv.conf to be updated, that is not picked up, resulting in irc: connecting to server XXXX.com/1026 (SSL)... irc: address "XXX.com" not found irc: error: Name or service not known irc: reconnecting to server in 30 seconds This happens, especially when one connects to an irc server behind a VPN. This can also happen when there is no network connectivity weechat was started but later network is connected to. The fix is simple, it relies on calling res_init (3) before getaddrinfo in network_connect_child and other places. res_init reloads the resolv.conf and getaddrinfo does not fail with address resolution error.
2016-08-02Merge pull request #738 from scumjr/masterSébastien Helleu
irc: fix NULL pointer dereference in 734 command callback
2016-07-29relay: return an empty hdata when the requested hdata or pointer is not ↵Sébastien Helleu
found (closes #767)
2016-07-17irc: rename server options "default_msg_*" to "msg_*", evaluate themSébastien Helleu
2016-07-09irc: fix typo in a commentSébastien Helleu
2016-06-18api: remove functions printf_date() and printf_tags()Sébastien Helleu
2016-05-27core, irc, xfer: display more information in memory allocation errors (issue ↵Sébastien Helleu
#573)
2016-05-19irc: fix NULL pointer dereference in 734 command callbackscumjr
2016-05-18relay: add option relay.network.allow_empty_password (closes #735)Sébastien Helleu
2016-05-13relay: allow escape of comma in command "init" (weechat protocol) (issue #730)Sébastien Helleu
2016-05-01irc: fix typo in IRC_SERVER_OPTION_SASL_KEY comment (#724)Lieuwe Rooijakkers
2016-04-28script: make callbacks optional again in hook functions (issue #406)Sébastien Helleu
2016-04-24irc: fix first message displayed in raw buffer when the message is modified ↵Sébastien Helleu
by a modifier (closes #719)
2016-04-23lua: fix crash when a lua function doesn't return a value and a string was ↵Sébastien Helleu
expected (closes #718)
2016-04-23api: add support of functions in hook_processSébastien Helleu
2016-04-23javascript: fix string value returned by js functionsSébastien Helleu
2016-04-05core: move nick coloring from irc plugin to core (closes #262)Sébastien Helleu
Options moved from irc.conf to weechat.conf: * "irc.look.nick_color_force" moved to "weechat.look.nick_color_force" * "irc.look.nick_color_hash" moved to "weechat.look.nick_color_hash" * "irc.look.nick_color_stop_chars" moved to "weechat.look.nick_color_stop_chars" New info (for API function "info_get"): * "nick_color" (replaces "irc_nick_color") * "nick_color_name" (replaced "irc_nick_color_name") Info "irc_nick_color" and "irc_nick_color_name" are now deprecated. And a bug has been fixed in nick coloring: stop chars are removed before looking at a forced color.
2016-03-24api: rename function unhook_all_plugin to unhook_allSébastien Helleu
2016-03-21irc: fix crash in SSL connection to the serverSébastien Helleu
2016-03-21core: add pointer in some callbacks (closes #406)Sébastien Helleu
This pointer is the first argument received by callbacks, and the existing argument "data" is now automatically freed by WeeChat when the object containing the callback is removed. With this new pointer, the linked list of callbacks in scripts has been removed. This will improve speed of scripts (using a lot of hooks), reduce memory used by scripts and reduce time to unload scripts. Following functions are affected in the C API: * exec_on_files * config_new * config_new_section * config_new_option * hook_command * hook_command_run * hook_timer * hook_fd * hook_process * hook_process_hashtable * hook_connect * hook_print * hook_signal * hook_hsignal * hook_config * hook_completion * hook_modifier * hook_info * hook_info_hashtable * hook_infolist * hook_hdata * hook_focus * unhook_all_plugin * buffer_new * bar_item_new * upgrade_new * upgrade_read
2016-03-13exec: fix example in /help execSébastien Helleu
2016-03-12scripts: fix typo in commentSébastien Helleu
2016-03-09logger: add note on buffer local variables to use in /help logger.file.maskSébastien Helleu
2016-03-05relay: do not execute any command received from an irc relay client (closes ↵Sébastien Helleu
#699)
2016-02-25irc: complete help of SASL fail optionsSébastien Helleu
2016-02-24core: update translationsSébastien Helleu
2016-02-24Merge remote-tracking branch 'origin/pr/697'Sébastien Helleu
2016-02-23irc: add option irc.network.sasl_fail_unavailable (closes #600)Simmo Saan
Previously SASL did not fail when it was set up for the server but wasn't supported by it. This makes no difference when the server's sasl_fail is set to "continue" but might make a difference if set to "disconnect" or "reconnect". To make sure server connection is not made under such circumstances, this patch adds an extra configurable ("on" by default) check to trigger SASL failure when it is set up but not supported by the server. Although not directly a SASL failure, this makes SASL not-authenticated scenarios all handled consistently, while providing extra security by not silently ignoring not being authenticated as requested.
2016-02-23javascript: replace include of time.h by ctimeSébastien Helleu
2016-02-19script: force refresh of scripts buffer after download of scripts list ↵Sébastien Helleu
(closes #693)
2016-02-15core: move irc bar item "away" and two options to core (closes #692)Sébastien Helleu
Options moved: * "irc.look.item_away_message" --> "weechat.look.item_away_message" * "irc.color.item_away" --> "weechat.color.item_away".
2016-02-11irc: use upper case for SASL in messages displayedSébastien Helleu
2016-02-08relay: fix the max number of clients connected on a port, allow value 0 for ↵Sébastien Helleu
"no limit" (closes #669)
2016-02-07Merge remote-tracking branch 'origin/pr/680'Sébastien Helleu
2016-02-06relay: do not print final '\0' in raw message for a websocket PING message ↵Sébastien Helleu
received
2016-02-06relay: fix websocket frame decoding, answer a PONG to PING (closes #675)Sébastien Helleu
2016-02-05xfer: ignore signals when polling socket during file receive (closes #677)Simmo Saan
When signals (e.g. SIGWINCH for terminal resize) are fired they cause poll to fail with EINTR, erroring file receival even when there wasn't a problem with it. This patch adds additional checks for EINTR and EAGAIN that cause retry of poll, since both are unrelated to actual file receival.
2016-02-05trigger: fix long linesSébastien Helleu