1
0
mirror of https://github.com/weechat/weechat.git synced 2026-07-03 00:03:12 +02:00
Commit Graph

72 Commits

Author SHA1 Message Date
Sebastien Helleu a45048bfbf Use tag "no_log" in logger plugin to prevent a line from being written in log file 2010-07-28 11:20:22 +02:00
Sebastien Helleu 6562d676fe Update licenses and copyrights, add missing author names in sources 2010-06-22 19:46:28 +02:00
Sebastien Helleu 4616ca981e Add function "string_expand_home" in plugin API, fix bug with replacement of home in paths 2010-05-02 18:21:58 +02:00
Sebastien Helleu c33f0e60ea Define WeeChat license as macro for C compiler, used in plugins to set license 2010-04-09 15:39:52 +02:00
Sebastien Helleu 31bfcf96c7 Reformat and add comments for description of C sources 2010-04-08 18:15:00 +02:00
Sebastien Helleu fab6ac61ee Use tag "no_highlight" for backlog lines printed by logger plugin 2010-04-05 22:41:15 +02:00
Sebastien Helleu 855993d14d Fix typos in /help window and /help logger 2010-03-22 21:00:58 +01:00
Sebastien Helleu 2801b8437c Reformat multi-line comments 2010-03-19 23:33:14 +01: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 36590cca77 Remove compilation warning in logger plugin 2009-11-08 11:48:40 +01:00
Sebastien Helleu aca9eb02c3 Remove compiler warning in logger plugin (with -O2) 2009-09-04 17:17:32 +02:00
Sebastien Helleu 005bf6d311 Fix typo 2009-09-03 17:18:30 +02:00
Sebastien Helleu 77fa0c4b9e Fix bug with directory separator in logger mask 2009-08-22 19:19:31 +02:00
Sebastien Helleu 25b9f1d714 Fix bug with special chars in buffers for logger filenames (bug #25721) 2009-08-16 11:28:50 +02:00
Sebastien Helleu 38f1bc0837 Remove variable with "WeeChat required version" in plugins, do not compare version any more (API comparison is enough) 2009-06-12 16:02:40 +02:00
Sebastien Helleu 917e111b78 Disable print hooks during display of backlog (in logger plugin) 2009-05-04 18:00:51 +02:00
Sebastien Helleu acb5772334 Add support of many templates for completion of command arguments, rename default completion items 2009-04-11 14:49:34 +02:00
Sebastien Helleu ddb2eef1c5 Fix broken time in backlog displayed by logger plugin: use DST for time displayed in buffer (bug #26074) 2009-04-03 10:38:24 +02: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 18a62f1dac Add Jabber plugin (alpha version, many Jabber features are missing)
This commit introduces Jabber/XMPP protocol for WeeChat. It uses iksemel lib.
Please note many major Jabber features are missing:
- roster management (add/remove/.. buddies),
- MUC,
- transports.
It is possible to define servers (with /jabber), connect to them (with
/jconnect), disconnect (/jdisconnect) and chat with buddies (with /jchat).
2009-01-15 15:29:05 +01:00
Sebastien Helleu 2115f3f675 Update copyright dates 2009-01-03 10:06:53 +01:00
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