1
0
mirror of https://github.com/weechat/weechat.git synced 2026-07-01 23:36:37 +02:00
Commit Graph

48 Commits

Author SHA1 Message Date
Sebastien Helleu 922e67cabd Add description of arguments for API functions hook_info and hook_infolist 2010-02-12 17:15:30 +01:00
Sebastien Helleu 2133eb30ff Update copyright dates 2010-01-03 19:31:55 +01:00
Sebastien Helleu 7e5acaf50f Give GnuTLS return code to callback if handshake has failed, display extra info in irc plugin if Diffie-Hellman prime sent by the server is not acceptable (not long enough) 2009-12-04 17:36:09 +01:00
Sebastien Helleu e561ab1ae3 Check SSL certificates and use self-signed certificate to auto identify on IRC server (CertFP) (task #7492) (patch from kolter) 2009-11-07 19:27:59 +01:00
Sebastien Helleu 5563924363 Fix compilation on OpenBSD: rename variables stdout/stderr (patch #6874 from zepard) 2009-07-24 15:14:44 +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 540756bf54 Fix SSL connection to some IRC servers using Diffie Hellman and small exchange keys (bug #25996) 2009-03-27 16:48:58 +01: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 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 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 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 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 12bc7f13e1 Add detection of system clock skew, reinitialize all timers when this happens 2008-11-03 17:04:49 +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 471a7dda67 Add some missing functions in API: hook_connect and infolist creation 2008-09-26 13:26:41 +02:00
Sebastien Helleu 87fd5c83ca Return IPv4/IPv6 address to connect hook callback when connection is ok (used by IRC plugin to display IP of IRC server) 2008-09-22 16:30:02 +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 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 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 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 d975629686 Improved /set command, added /unset command, new name for config files (*.conf) 2008-04-11 18:36:06 +02: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 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 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 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
Sebastien Helleu 72a694ed4c Added completion hook, to let plugins add custom completions for commands 2007-12-07 15:01:37 +01:00
Sebastien Helleu 26b659ae9e Added "config_reload" event, fixed some bugs in hook execution 2007-12-04 18:01:28 +01:00
Sebastien Helleu bda2cdd408 Removed WeeChat "command" structure, now all internal commands are hooked when WeeChat starts 2007-12-04 13:25:02 +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 4478777876 Event hook added 2007-11-11 13:34:43 +01:00
Sebastien Helleu 50889eaf3b Added print hooks (to catch any printf on buffers) 2007-11-07 15:11:06 +01:00
Sebastien Helleu a97e2955be Added keep_eol flag to string_explode(), updated hook command callback arguments 2007-11-05 13:29:54 +01:00
Sebastien Helleu a664e70488 Added hook functions 2007-10-31 17:10:38 +01:00