Aaron Jones
f5038bccbc
Fix function prototypes for list of arguments
...
At the moment, building WeeChat triggers several thousand -Wstrict-prototypes
diagnostics. This is due to its source code using an empty argument list for
functions and function pointers that take no arguments, instead of explicitly
declaring that they take no arguments by using a void list.
This commit replaces all empty argument lists with a void list.
Note that Ruby's headers also suffer the same problem, which WeeChat can't
do anything to fix. Thus, building WeeChat with the Ruby plugin enabled
will still issue approximately 30 such diagnostics.
2025-03-10 08:16:52 +01:00
Sébastien Helleu
547e2b934e
core: update copyright dates
2025-02-01 23:13:18 +01:00
Sébastien Helleu
befcd09d63
logger: fix path displayed when the logs directory can not be created
2024-12-21 17:15:38 +01:00
Sébastien Helleu
128d2a4e12
logger: remove check of NULL pointers before calling free() (issue #865 )
2024-04-25 20:59:24 +02:00
Sébastien Helleu
eecb2a997e
core: update copyright dates
2024-01-01 22:29:58 +01:00
Sébastien Helleu
9fb3d3f14c
core: store microseconds in buffer lines ( closes #649 )
2023-12-26 19:44:37 +01:00
Sébastien Helleu
6bd0c63192
core: make zstd dependency optional ( closes #2024 )
2023-10-01 16:36:32 +02:00
Sébastien Helleu
481e8f197d
core: use type "enum" in options
2023-07-08 13:29:45 +02:00
Sébastien Helleu
c3c218035a
logger: add option logger.file.log_conditions ( closes #1942 )
2023-05-20 17:08:34 +02:00
Sébastien Helleu
33bba784c3
core: update copyright dates
2023-01-01 14:54:35 +01:00
Sébastien Helleu
7711ed95c5
logger: add options to rotate and compress log files ( closes #314 )
...
New options:
- logger.file.rotation_compression_level
- logger.file.rotation_compression_type
- logger.file.rotation_size_max
2022-09-28 20:52:59 +02:00
Sébastien Helleu
c44b79dce7
core: update copyright dates
2022-01-17 18:41:06 +01:00
Sébastien Helleu
efc7a588d6
core: update copyright dates
2021-01-02 21:34:16 +01:00
Sébastien Helleu
feb6258910
core: update copyright dates
2020-01-04 10:41:26 +01:00
Sébastien Helleu
53360a7909
logger: fix write in log file if it has been deleted or renamed ( closes #123 )
2019-10-06 13:36:35 +02:00
Sébastien Helleu
2b0057239b
core: update copyright dates
2019-01-01 15:40:51 +01:00
Sébastien Helleu
4712d0bb06
core: use https for links to GNU GPL license
2018-11-29 23:16:07 +01:00
Sébastien Helleu
ed4837b2f6
core: update copyright dates
2018-01-05 00:54:18 +01:00
Sébastien Helleu
54bf589d7d
core, plugins: fix conditions to insert elements in linked lists
...
This removes scan-build warnings about dereference of last_xxx null pointers.
2017-06-10 16:21:11 +02:00
Sébastien Helleu
d4c27aa7e2
logger: check that logger buffer pointer is not NULL in function "logger_buffer_free"
2017-03-25 14:06:46 +01:00
Sébastien Helleu
705d86e684
core: update copyright dates
2017-01-01 11:32:04 +01:00
Sébastien Helleu
20c86db0d8
api: remove functions printf_date() and printf_tags()
2016-06-18 08:49:35 +02:00
Sébastien Helleu
3330724574
core: update copyright dates
2016-01-01 11:09:53 +01:00
Sébastien Helleu
a020c28ea6
core: update copyright dates
2015-01-01 09:23:23 +01:00
Sebastien Helleu
892aa79fb5
core: update copyright dates
2014-01-01 00:14:12 +01:00
Sebastien Helleu
f97598b4aa
core: update copyright dates
2013-01-01 13:12:49 +01:00
Sebastien Helleu
7eb5cc4b97
core: move comments with description of C file to top of files
2012-12-15 12:27:57 +01:00
Sebastien Helleu
7d34812f1c
core: reformat comments for functions
2012-12-13 18:51:44 +01:00
Sebastien Helleu
47e4a03be6
core: update copyright dates
2012-01-08 18:59:50 +01:00
Sebastien Helleu
dfdf42e27b
core: remove unneeded whitespace
2011-10-26 20:37:03 +02:00
Sebastien Helleu
2d38d07661
logger: add option logger.file.flush_delay (task #11118 )
2011-05-18 16:41:15 +02:00
Sebastien Helleu
ab5ecd4bda
logger: use tag "no_log" for some messages printed
2011-05-18 10:18:21 +02:00
Sebastien Helleu
d24f6e9e17
Update copyright dates
2011-01-01 18:06:29 +01:00
Sebastien Helleu
6562d676fe
Update licenses and copyrights, add missing author names in sources
2010-06-22 19:46:28 +02:00
Sebastien Helleu
31bfcf96c7
Reformat and add comments for description of C sources
2010-04-08 18:15:00 +02:00
Sebastien Helleu
99bfdfd2ff
Add signal "day_changed", allow date format in logger options path and mask (task #9430 )
2010-01-26 16:36:55 +01:00
Sebastien Helleu
2133eb30ff
Update copyright dates
2010-01-03 19:31:55 +01:00
Sebastien Helleu
7cc562be45
Fix 14 memory leaks (in core, gui, irc, jabber, logger, script plugins)
2009-02-04 14:12:46 +01:00
Sebastien Helleu
88aa905ee3
Remove unused functions and prototypes
2009-01-04 01:05:33 +01:00
Sebastien Helleu
2115f3f675
Update copyright dates
2009-01-03 10:06:53 +01:00
Sebastien Helleu
6e69f7f3ce
Remove debug plugin (merged to core), new debug variable for each plugin (no more signals for setting debug)
2008-11-02 18:54:25 +01:00
Sebastien Helleu
6f442bbfc1
Add new features to logger plugin (command /logger, log level, level by buffer, mask by buffer, ..), fix some bugs
...
New features:
- new command /logger
- log level, to log only some messages, according to importance (task #8592 )
- level by buffer: custom level for some buffers (or group of buffers)
- log filename mask by buffer (or group of buffers)
- marker line is added after display of backlog
- add "delete" callback for config file sections
- add "mkdir_parents" function to plugin API
- remove old log options in IRC plugin
Bug fix:
- marker line is set only when user switches buffer (not when a plugin force
switch, like IRC plugin does when opening server or channel buffer)
- backlog fixed (sometimes lines were not properly displayed)
2008-10-30 17:18:28 +01:00
Sebastien Helleu
e756f4770a
Add new hooks in plugins: info (fifo_filename) and infolists (alias, logger_buffer, xfer)
2008-09-02 15:42:20 +02:00
Sebastien Helleu
3a53257032
Add "const" keyword for some "char *" function arguments (core and plugins API)
2008-06-03 10:56:51 +02:00
Sebastien Helleu
57323fa71e
Removed sizeof(char) and useless type casts from void* to another pointer type (patch from Leonid Evdokimov)
2008-03-23 23:00:04 +01:00
Sebastien Helleu
e3b52115c7
Update of year in some copyrights
2008-01-02 12:47:09 +01:00
Sebastien Helleu
dba084f3d6
New backlog option in logger plugin, added variable names in .h files, replaced "void *" pointers by structures
2007-12-17 17:07:08 +01:00
Sebastien Helleu
cdc08d6fc3
Added logger plugin
2007-11-11 14:36:34 +01:00