summaryrefslogtreecommitdiff
path: root/src/plugins/logger
AgeCommit message (Collapse)Author
2021-05-11logger: change default value of option logger.file.path to ↵Sébastien Helleu
"${weechat_data_dir}/logs" (issue #1285)
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-11logger: remove unused variable weechat_dir (issue #1285)Sébastien Helleu
2021-01-02core: update copyright datesSébastien Helleu
2020-01-25logger: fix crash when disabling logging on a buffer (closes #1444)Sébastien Helleu
Crash happens if the log file was deleted before disabling logging and if the option logger.file.info_lines is on.
2020-01-04core: update copyright datesSébastien Helleu
2019-10-06logger: fix write in log file if it has been deleted or renamed (closes #123)Sébastien Helleu
2019-10-02logger: add option logger.file.color_lines (closes #528, closes #621)Sébastien Helleu
2019-10-01core: fix style in CMake filesSébastien Helleu
2019-09-26logger: move logger backlog functions to logger-backlog.cSébastien Helleu
2019-04-25cmake: allow custom libdir (fix #1341)Ryan Farley
Allows for custom LIBDIR to specified with cmake builds. WEECHAT_LIBDIR is used for a custom Weechat directory, or set from LIBDIR (as LIBDIR used to be set).
2019-04-13api: return allocated string in hook_info callback and function info_getSébastien Helleu
2019-03-24core: add CMake option "ENABLE_CODE_COVERAGE" to compile with code coverage ↵Sébastien Helleu
options This option is OFF by default and should be enabled only for tests, to measure test coverage.
2019-01-01core: update copyright datesSébastien Helleu
2018-11-29core: use https for links to GNU GPL licenseSébastien Helleu
2018-09-24logger: add more info about log levels in /help logger (closes #1254)Sébastien Helleu
2018-09-24logger: move logger command into a separate source fileSébastien Helleu
2018-02-10logger: call fsync even when option logger.file.flush_delay is set to 0 ↵Sébastien Helleu
(issue #1145) This is not recommended anyway to turn on fsync with a delay set to 0, it will slow down WeeChat a lot, especially with many buffers opened.
2018-02-10logger: add option logger.file.fsync (closes #1145)Sébastien Helleu
2018-01-14core: reinitialize config file pointer to NULL after an error on section ↵Sébastien Helleu
creation
2018-01-11logger: add option logger.look.backlog_conditions (closes #1132)Sébastien Helleu
2018-01-07core: fix some stylesSébastien Helleu
2018-01-05core: update copyright datesSébastien Helleu
2017-11-04core: add missing includes of stdio.hSébastien Helleu
2017-09-23core, plugins: check return code of strftime functionSébastien Helleu
2017-09-23logger: call strftime before replacing buffer local variablesSébastien Helleu
2017-08-10core: remove value for first #define in headers, add "PLUGIN" in plugin headersSébastien Helleu
2017-06-25fset: shift plugins priority to insert fset plugin between buflist and fifoSébastien Helleu
2017-06-10core, plugins: fix conditions to insert elements in linked listsSébastien Helleu
This removes scan-build warnings about dereference of last_xxx null pointers.
2017-03-25buflist: load plugin after some other plugins by shifting plugins prioritySébastien Helleu
2017-03-25logger: check that logger buffer pointer is not NULL in function ↵Sébastien Helleu
"logger_buffer_free"
2017-01-01core: update copyright datesSébastien Helleu
2016-06-18api: remove functions printf_date() and printf_tags()Sé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-09logger: add note on buffer local variables to use in /help logger.file.maskSébastien Helleu
2016-01-01core: update copyright datesSébastien Helleu
2015-09-30core: update translationsSébastien Helleu
2015-09-27logger: Report system error string to userAndrew Potter
2015-07-04logger: fix type of value returned by function logger_tail_last_eolSébastien Helleu
2015-07-04core: add missing comments before functions when the result must be freed ↵Sébastien Helleu
after use
2015-06-25logger: call function string_eval_path_home() to evaluate logger file pathSébastien Helleu
2015-06-20logger: evaluate content of option logger.file.path (issue #388)Sébastien Helleu
2015-04-30core: add comments after some #endifSébastien Helleu
2015-01-15core: add priority in plugins to initialize them in orderSébastien Helleu
Current order is: charset, logger, exec, trigger, aspell, alias, fifo, xfer, irc, relay, guile/lua/perl/python/ruby/tcl, script.
2015-01-01core: update copyright datesSébastien Helleu
2014-11-30logger: rename callback for infolist "logger_buffer"Sébastien Helleu
2014-11-22api: return value in function command(), remove WeeChat error after command ↵Sébastien Helleu
callback if return code is WEECHAT_RC_ERROR
2014-08-10logger: fix memory leaks in backlogSébastien Helleu
2014-04-12core: use lower case for CMake keywordsSébastien Helleu
2014-03-19core: fix use of reserved C identifiers in headers (closes #31)Sebastien Helleu