Sebastien Helleu
6fc8a25d6e
Check that callback value is not NULL in hook functions
2009-04-04 17:54:15 +02:00
Sebastien Helleu
2dc13ebd21
Add new command /version, add count of /upgrade, fix bugs with command exec
...
New (core) command /version displays version, and number of upgrades done with
first start date (if # /upgrade > 0).
The number of upgrades is displayed at startup (if > 0).
2009-03-21 16:09:18 +01:00
Sebastien Helleu
a394ed5d6f
Add "replacement" argument for string_remove_color in plugin API
2009-03-18 18:02:48 +01:00
Sebastien Helleu
8e55147364
Add new hook type "process": launch command with fork and catch result (rc/stdout/stderr) via callback
2009-03-06 18:22:34 +01:00
Sebastien Helleu
c76fa7e733
Display clock skew detection only if debug for core is >= 1
2009-02-18 12:37:25 +01:00
Sebastien Helleu
4d1fdfade0
Give file descriptor to callback of hook_fd
2009-02-18 11:13:23 +01:00
Sebastien Helleu
29bc0276bc
Add hook type "command_run", add new function "string_remove_color" in plugin API (task #9089 )
2009-02-08 19:52:16 +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
265a0cf2a1
Fix bugs with hook_print function in scripts
2008-11-29 23:31:28 +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
2e52e54a3a
Add support for more than one proxy, with proxy selection for each IRC server (task #6859 )
2008-11-23 23:04:52 +01:00
Sebastien Helleu
8724fc18af
Use of const for some functions returning "char *"
2008-11-15 22:35:12 +01:00
Sebastien Helleu
fe16ce9915
Add debug messages for hooks when core debug >= 2
2008-11-05 12:23:06 +01:00
Sebastien Helleu
d32b22f76f
Fix bug with pointer conversions on 64 bits architecture
2008-11-04 15:34:44 +01:00
Sebastien Helleu
12bc7f13e1
Add detection of system clock skew, reinitialize all timers when this happens
2008-11-03 17:04:49 +01:00
Sebastien Helleu
79f0cb9a5c
Another fix to timer hook when day of local time is different from UTC
2008-11-01 15:22:56 +01:00
Sebastien Helleu
20219ef1a3
Fix timer hook when daylight saving time is enabled (problem with "day changed" message)
2008-11-01 15:01:08 +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
66bb1fad2a
Add name of plugins next to plugin pointers in dump (to log file)
2008-10-27 15:51:44 +01:00
Sebastien Helleu
f126daa896
Fix option irc.network.away_check
2008-10-26 20:00:50 +01:00
Sebastien Helleu
ac107802fd
Aspell plugin is born again
2008-10-18 16:03:16 +02:00
Sebastien Helleu
9fa560300f
Fix some memory leaks
2008-09-30 12:13:00 +02:00
Sebastien Helleu
e7dcf13764
Add description for info and infolist hooks
2008-09-02 17:02:59 +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
74d595498d
Add hook infolist to plugins API, fix bugs with gettext in plugins
2008-08-22 21:34:29 +02:00
Sebastien Helleu
66e8d703bd
Add new options for completion, optional stop instead of cycling with words found
2008-06-18 16:47:09 +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
40ec612e73
Fix compilation bug when gnutls dev lib is not installed
2008-06-02 12:47:27 +02:00
Sebastien Helleu
a4a4e5126c
Increase number of authorized calls to same command (recursive calls), from 1 to 5 (more than 5 is considered as looping)
2008-05-22 12:55:37 +02:00
Sebastien Helleu
987234faf9
Add hook_connect (background connection to peer)
2008-05-20 11:00:22 +02:00
Sebastien Helleu
886b81498f
Fixed crash with scripts when WeeChat calls functions of many scripts at same time with callbacks (bug #23109 )
2008-04-30 13:21:21 +02:00
Sebastien Helleu
760e216c5b
Removed key functions (replaced by /input command)
2008-04-29 18:27:43 +02:00
Sebastien Helleu
49a9e6f79a
Fixed bug with use of wrong command hooked (bug #22974 )
2008-04-19 01:00:02 +02:00
Sebastien Helleu
1486429cf1
Replaced /builtin command by /command, and can now be used to launch commands with same name from different plugins
2008-04-18 15:39:24 +02:00
Sebastien Helleu
e349ae491a
Added infolist "window", scroll in buffers with free content, fixed config hooks (use of string_match)
2008-04-17 17:59:27 +02:00
Sebastien Helleu
5c8ef8109a
Added new default bar item "time"
2008-04-12 23:59:27 +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
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
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
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
9f2fc59569
Partial migration of Perl plugin to new API
2008-01-09 18:26:17 +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
1172159421
Fixed crash when removing hook
2007-12-19 18:34:37 +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
e62ec5204c
Improved main loop (less CPU usage), better precision for timers, use of one list by hook type (for fast search in hooks)
2007-12-14 17:01:02 +01:00
Sebastien Helleu
2e74526bb9
Renamed hook "event" to "signal"
2007-12-13 11:47:12 +01:00
Sebastien Helleu
061b0e5c58
Many changes in IRC plugin, added IRC specific completions
2007-12-11 17:34:31 +01:00