Sebastien Helleu
e7e2da5a9c
Add null values for options, new syntax for /set, reintroduce temporary IRC server feature, improve IRC server options, new functions in API
2009-01-02 23:05:23 +01:00
Sebastien Helleu
bf0b5f5644
Add "displayed" and "highlight" arguments to callback for hook_print
2008-11-29 17:44:42 +01:00
Sebastien Helleu
8724fc18af
Use of const for some functions returning "char *"
2008-11-15 22:35:12 +01:00
Sebastien Helleu
48ac3c4f98
Catch signal "buffer_renamed" in logger plugin (restart logging for buffer when name has changed)
2008-11-14 14:43:04 +01:00
Sebastien Helleu
ac66ce6a74
Add local buffer variable "no_log", to prevent a buffer from logging to disk via logger plugin
2008-11-13 12:01:00 +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
1e3be56b5f
Fix use of some uninitialized variables
2008-10-27 17:27:58 +01:00
Sebastien Helleu
5d07aa14ed
Add function to get plugin name (return "core" for WeeChat core)
2008-10-08 19:04:05 +02:00
Sebastien Helleu
0e053e072b
Fix /reload command (now reloads config files with no reload callback)
2008-10-08 16:03:59 +02:00
Sebastien Helleu
4f9843f84c
Add config file logger.conf (replaces old logger options in plugins.conf)
2008-10-08 15:50:59 +02:00
Sebastien Helleu
c572e393e7
Remove "category" for buffers (keep only name).
2008-09-18 18:44:03 +02: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
0839b359f9
Add new hooks (info and infolist), IRC plugin now return infos and infolists
2008-08-30 00:25:56 +02:00
Sebastien Helleu
b76d7e4a5c
Reintroduce /upgrade command, working only with core and IRC plugin today
...
Command will be improved in near future and other plugins like xfer
will be modified to manage upgrade process.
2008-08-19 23:22:52 +02:00
Sebastien Helleu
8218151c31
Fix problem with logging of lines "Day changed to" (not logged any more to file) (bug #23886 )
2008-07-19 09:37:25 +02:00
Sebastien Helleu
f75f7f64bc
Add "auto_log" option to logger plugin, to enable/disable logging (default is on)
2008-06-27 18:39:01 +02:00
Sebastien Helleu
e5bf0a498b
Fix crash with config reload and bug with empty key section (no more keys after reload if weechat.conf was deleted) (bug #23514 )
2008-06-07 15:46:12 +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
91084108ae
Add arguments for plugin init functions and "irc://.." command line option for irc plugin
2008-05-15 22:13:54 +02:00
Sebastien Helleu
30b0e2d777
Fixed output of names on channels (now it's sorted/grouped/colored, like v0.2.6) (bug #22935 ), added "nicklist" infolist
2008-04-19 11:30:15 +02:00
Sebastien Helleu
ae98666bc6
Added "toggle" value for /set on boolean options, fixed refresh bugs, added option type for infolist "options"
2008-04-16 14:44:02 +02:00
Sebastien Helleu
cd1e12250d
Added plugin name in beginning of log filenames
2008-04-11 23:11:56 +02:00
Sebastien Helleu
d975629686
Improved /set command, added /unset command, new name for config files (*.conf)
2008-04-11 18:36:06 +02:00
Sebastien Helleu
5fd8c304ce
Fixed some printf in logger plugin
2008-04-01 11:21:09 +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
d9a4bdf629
Check plugin version when loading it, to prevent crash when loading old plugins
2008-03-23 11:41:09 +01:00
Sebastien Helleu
61ca929728
Added tags for lines and custom filtering by tags or regex (task #7674 ), fixed many memory leaks
2008-03-22 23:36:12 +01:00
Sebastien Helleu
573b4d9dec
New default value for logger time format (prevents problem with backlog when locale is changed)
2008-03-05 18:32:46 +01:00
Sebastien Helleu
14d393b11e
Partial support of bars, with custom items.
...
Today only root bars are partially working (refresh is not always performed),
and bars are not saved in configuration file. To be continued...
2008-03-05 16:19:10 +01:00
Sebastien Helleu
763bb073b4
Added string_tolower/upper in plugins API, added "name_lower_case" option in logger plugin (bug #19522 )
...
The new option "name_lower_case" is "on" by default and will convert category/name to lower case for log filename.
2008-02-04 10:07:19 +01:00
Sebastien Helleu
28e811c09c
Use of sizeof(char) in all malloc/realloc for strings
2008-02-02 21:12:16 +01:00
Sebastien Helleu
ed26a0389c
Add of "modifier" hook, migration of charset plugin to new API, SIGHUP signal catched (reload all config files), better config files reloading
2008-01-24 16:50:20 +01:00
Sebastien Helleu
add64d6f47
New arguments for function "register" in scripts (author, license), with optional check of license when script is loaded
2008-01-11 15:08:36 +01:00
Sebastien Helleu
9f2fc59569
Partial migration of Perl plugin to new API
2008-01-09 18:26:17 +01:00
Sebastien Helleu
23273bf47a
Added macros for name/description/author/version/license of plugins
2008-01-04 23:13:33 +01:00
Sebastien Helleu
e3b52115c7
Update of year in some copyrights
2008-01-02 12:47:09 +01:00
Sebastien Helleu
9222a7b109
Added group support for nicklist, fixed some bugs in plugins API and IRC plugin
...
Added group support for nicklist (with subgroups).
Partial changes in IRC protocol functions (new arguments with argv and argv_eol).
Fixed some bugs:
- nicklist in plugins API
- problem in main loop with select() when SIGWINCH is received (terminal resize)
- bug in string explode function
- bug in infobar countdown.
2008-01-01 18:22:26 +01:00
Sebastien Helleu
6fd0bd2158
All messages translated to french, fixed bugs/typos in some messages
2007-12-18 17:20:08 +01:00
Sebastien Helleu
7873047e55
New signals logger_start/stop, to start/stop logging for a buffer
2007-12-17 18:26:17 +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
2e74526bb9
Renamed hook "event" to "signal"
2007-12-13 11:47:12 +01:00
Sebastien Helleu
4993b2f661
Renamed constants for return codes in plugins
2007-12-10 18:42:07 +01:00
Sebastien Helleu
8b3980f508
Changes in IRC plugin to use new API
2007-12-09 11:47:34 +01:00
Sebastien Helleu
495e6bd5df
Many changes in IRC plugin and plugins API
2007-12-07 13:12:46 +01:00
Sebastien Helleu
5e39a2c477
Removed logger.h file in logger plugin
2007-12-05 10:21:46 +01:00
Sebastien Helleu
7cc78f4172
Added buffer argument in command hooks, code cleanup in IRC plugin
2007-11-25 00:17:43 +01:00
Sebastien Helleu
26f31bb367
Start logging in a log file only when first message is printed (not when buffer was opened)
2007-11-21 13:38:03 +01:00
Sebastien Helleu
ac30e2226d
Added log directory creation in logger plugin, removed unused log config options in core
2007-11-11 17:05:42 +01:00
Sebastien Helleu
cdc08d6fc3
Added logger plugin
2007-11-11 14:36:34 +01:00