summaryrefslogtreecommitdiff
path: root/src/core
AgeCommit message (Collapse)Author
2016-11-29core: add optional arguments in completion template, sent to the callbackSébastien Helleu
2016-11-28core: add option "time" in command /debugSébastien Helleu
2016-11-26irc: add tag "self_msg" on self messages (closes #840)Sébastien Helleu
2016-11-25core: add more info in /help weechat.color.chat_nickSébastien Helleu
2016-11-21core: add a warning in header of configuration files to not edit by hand ↵Sébastien Helleu
(closes #851)
2016-11-13core: fix deadlock when quitting after a signal is received (closes #32)Sébastien Helleu
The code in signal handers (SIGHUP, SIGQUIT, SIGTERM) is moved into main loop, this hopefully fixes the deadlock when quitting after receiving one of these signals. The code in SIGWINCH signal handler is moved too (even if it shouldn't be a problem).
2016-10-20api: fix string_expand_home SIGSEGV when HOME environment variable unsetSimmo Saan
2016-10-08core: fix integer overflow in calls to realloc (issue #809)Sébastien Helleu
2016-10-02api: fix return of function string_match() when there are multiple masks in ↵Sébastien Helleu
the string (issue #812) Some tests are added as well to test the multiple masks in the string.
2016-09-20core: add option weechat.look.align_multiline_wordsarza
2016-09-08core: replace "clipboard" by "internal clipboard" in /help input and user's ↵Sébastien Helleu
guide
2016-09-03core: evaluate content of option "weechat.look.item_time_format" (issue #791)Sébastien Helleu
2016-08-27core: add example of splith and merge in /help windowSébastien Helleu
2016-08-22core: fix warnings about unused variablesSébastien Helleu
2016-08-20api: fix crash in function network_connect_to() if address is NULL (issue #781)Sébastien Helleu
2016-08-19api: fix connection to servers with hook_connect() on Windows 10 with ↵Sébastien Helleu
Windows subsystem for Linux (issue #770) The test on socketpair() function is now made when hooks are initialized (instead of doing the test at compilation time).
2016-08-19Revert "api: fix connection to servers with hook_connect() on Windows 10 ↵Sébastien Helleu
with Windows subsystem for Linux (closes #770)" This reverts commit 399636f98453bdc1fca19b4dbc742993549aa6c3.
2016-08-18core: move the extra_vars_eval argument after extra_varsSébastien Helleu
2016-08-18core: fix empty commentSébastien Helleu
2016-08-18Merge remote-tracking branch 'origin/pr/534'Sébastien Helleu
2016-08-16core: add optional argument "lowest", "highest" or level mask in command ↵Sébastien Helleu
/input hotlist_clear
2016-08-14core: fix completion of command /buffer swapSébastien Helleu
2016-08-14core: add option "cycle" in command /bufferSébastien Helleu
2016-08-13core: free file pointer in case of memory error in util_file_get_content()Sé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-07Merge remote-tracking branch 'origin/pr/771'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-06api: fix connection to servers with hook_connect() on Windows 10 with ↵Sébastien Helleu
Windows subsystem for Linux (closes #770)
2016-07-29core: add keys for secure buffer in /help secure (closes #756)Sébastien Helleu
2016-07-09core: rename function string_iconv_fprintf to string_fprintfSébastien Helleu
2016-07-09core: replace some single quotes by double quotes in help of optionsSébastien Helleu
2016-05-27core, irc, xfer: display more information in memory allocation errors (issue ↵Sébastien Helleu
#573)
2016-05-08core: fix the hardcoded separator in string_split_commandWojciech Kwolek
2016-04-30core: add Curl options for versions 7.38.1 to 7.49.0Sébastien Helleu
2016-04-23api: add support of functions in hook_processSébastien Helleu
2016-04-06core: set default value "djb2" for option weechat.look.nick_color_hashSé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-22core: add missing pointer argument in calls to hook_connect callbackSé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-06core: remove plugin pointer in hooks debug messagesSébastien Helleu
2016-02-22core: fix long linesSébastien Helleu
2016-02-18core: fix typo in a commentSébastien Helleu
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-12core: add note about options to save config/layout on exit in help of ↵Sébastien Helleu
commands /layout, /save and /quit (closes #687)
2016-01-31core: fix typo in a commentSébastien Helleu
2016-01-24doc: add an example in function string_split (plugin API reference)Sébastien Helleu
2016-01-23core: fix number of arguments returned by string_splitSébastien Helleu
When keep_eol is 2 and separators are found at the end of string, the function returned argc + 1 instead of argc.
2016-01-06core: remove unused option weechat.color.nicklist_offlineSimmo Saan
Added in c1c1005b364d28409339f46b5233bcb0f2f86ed7.
2016-01-01core: update copyright datesSébastien Helleu