summaryrefslogtreecommitdiff
path: root/src/core/wee-debug.c
AgeCommit message (Collapse)Author
2021-05-11core: split WeeChat home in 4 directories, use XDG directories by default ↵Sébastien Helleu
(issue #1285) The 4 directories (which can be the same): - config: configuration files, certificates - data: log/upgrade files, local plugins, scripts, xfer files - cache: script repository, scripts downloaded (temporary location) - runtime: FIFO pipe, relay UNIX sockets
2021-05-11core: set WeeChat home to empty string by default in CMake and autotools ↵Sébastien Helleu
(issue #1285)
2021-05-08core: Use mallinfo2() when availableAndrew Potter
mallinfo() is deprecated in glibc 2.33
2021-03-16core: add options to customize commands on system signals, quit by default ↵Sébastien Helleu
on SIGHUP when not running headless (closes #1595) New options to customize behavior on signals received, with the default behavior: - weechat.signal.sighup: quit in normal mode, reload config in headless - weechat.signal.sigquit: quit - weechat.signal.sigterm: quit - weechat.signal.sigusr1: no command executed by default - weechat.signal.sigusr2: no command executed by default The signals SIGUSR1 and SIGUSR2 are introduced by this commit, so it's now possible to run commands when they are received. The SIGHUP signal makes now WeeChat quit, it was the behavior before version 2.9 of WeeChat (see commit de1e61f7cd50cbd1a99777fe6611642a51abf5f6).
2021-01-02core: update copyright datesSébastien Helleu
2020-04-27api: add functions completion_new, completion_search and completion_free ↵Sébastien Helleu
(issue #1484)
2020-04-18core: make GnuTLS a required dependencySébastien Helleu
2020-01-04core: update copyright datesSébastien Helleu
2019-01-01core: update copyright datesSébastien Helleu
2018-11-29core: use https for links to GNU GPL licenseSébastien Helleu
2018-11-17core: add command line option "-t" (or "--temp-dir") to create a temporary ↵Sébastien Helleu
WeeChat home (deleted on exit)
2018-10-01core: fix format of variables in printf-like functions (from int to long and ↵Sébastien Helleu
long long)
2018-07-15core: improve instructions to report the crashJos Ahrens
2018-01-05core: update copyright datesSébastien Helleu
2017-07-05core: add constant WEECHAT_EXTRA_LIBDIRSébastien Helleu
2017-07-05core: search WEECHAT_EXTRA_LIBDIR for plugins (closes #971, issue #979)Linus Heckemann
In addition to searching the statically configured WEECHAT_LIBDIR (weechat's installation directory) for plugins, search the path given in the environment variable WEECHAT_EXTRA_LIBDIR. This makes departing from the FHS standard while keeping the plugins packaged separately easier. This change was made specifically with the Nix package manager in mind, but can easily be used by others.
2017-01-01core: update copyright datesSébastien Helleu
2016-11-28core: add option "time" in command /debugSébastien Helleu
2016-07-09core: rename function string_iconv_fprintf to string_fprintfSé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-02-22core: fix long linesSébastien Helleu
2016-01-01core: update copyright datesSébastien Helleu
2015-07-15core: add variables with count of hooksSébastien Helleu
2015-04-30core: add comments after some #endifSébastien Helleu
2015-01-01core: update copyright datesSébastien Helleu
2014-08-30core: add debug functions to measure time spent in code/functionsSébastien Helleu
2014-03-18core: update the message displayed on crashSebastien Helleu
Add a reference to user's guide, do not ask user to send the crash log file any more (it may have private data and is not needed in most cases).
2014-01-01core: update copyright datesSebastien Helleu
2013-11-18core: use #ifdef to check if versions are defined in signal "debug_libs"Sebastien Helleu
2013-11-18core: remove "v" before versions displayed by /debug libsSebastien Helleu
2013-11-17core: add option "libs" for command /debug, add signal "debug_libs"Sebastien Helleu
2013-11-17core: remove obsolete signals "debug_buffer" and "debug_windows"Sebastien Helleu
2013-08-02Merge branch 'secured-data'Sebastien Helleu
2013-08-02core: rename binary and man page from "weechat-curses" to "weechat" (task ↵Sebastien Helleu
#11027) A symbolic link weechat-curses -> weechat is now created (by both cmake and configure), so that the /upgrade will work from an old version. However, if you upgrade from an old version, it is recommended to force the use of the new binary name with the command: `/upgrade /path/to/weechat` (replace the path accordingly).
2013-07-30core: use variable "items_count" directly from hashtable without calling ↵Sebastien Helleu
function hashtable_get_integer
2013-03-17core: fix typos in many comments and some stringsSebastien Helleu
2013-02-14core: add option "dirs" for command /debugSebastien Helleu
2013-01-01core: update copyright datesSebastien Helleu
2012-12-15core: move comments with description of C file to top of filesSebastien Helleu
2012-12-13core: reformat comments for functionsSebastien Helleu
2012-10-21core: remove duplicated #includeSebastien Helleu
2012-08-27api: allow update for some variables of hdata, add new functions ↵Sebastien Helleu
hdata_update and hdata_set
2012-01-08core: update copyright datesSebastien Helleu
2011-12-07core: add option "hooks" for command /debugSebastien Helleu
2011-10-26core: remove unneeded whitespaceSebastien Helleu
2011-07-05core: add context "search" for keys (to define keys used during search in ↵Sebastien Helleu
buffer with ctrl+"r")
2011-06-26core: many improvements on hdataSebastien Helleu
New features: - add optional hdata name for variables in hdata - add plugin API functions: hdata_get_var_hdata - use hashtable to store hdata (created by WeeChat and plugins) - free hdata and infolists created by plugin on plugin unload - free all hdata on exit - add "free" option to command /debug hdata - remove hdata for hooks
2011-06-13core: add "hdata" (direct access to WeeChat/plugin data)Sebastien Helleu
2011-06-01core: add option "infolists" for command /debugSebastien Helleu
2011-05-07core: improve output of /debug windowsSebastien Helleu