1
0
mirror of https://github.com/weechat/weechat.git synced 2026-07-04 16:53:14 +02:00
Commit Graph

72 Commits

Author SHA1 Message Date
Sebastien Helleu b91c231096 core: add URL transfer (using libcurl), add function hook_process_hashtable in plugin API, add support of URL in hook_process/hook_process_hashtable (task #10247) 2012-01-16 19:52:08 +01:00
Sebastien Helleu 47e4a03be6 core: update copyright dates 2012-01-08 18:59:50 +01:00
Sebastien Helleu 15d9aab7fa core: add option "hooks" for command /debug 2011-12-07 17:43:36 +01:00
Sebastien Helleu 4646e5c17c core: fix typo: occured -> occurred 2011-11-03 16:59:54 +01:00
Sebastien Helleu dfdf42e27b core: remove unneeded whitespace 2011-10-26 20:37:03 +02:00
Sebastien Helleu 328d8e0f95 core: fix compilation error with "pid_t" on Mac OS X (bug #34639) 2011-10-25 08:27:06 +02:00
Sebastien Helleu 47ac88b3f5 core: replace deprecated gnutls function "gnutls_certificate_client_set_retrieve_function" by new function "gnutls_certificate_set_retrieve_function" (gnutls >= 2.11.0) 2011-08-26 18:01:33 +02:00
Sebastien Helleu 1cb7c6a6c5 core: return info about line/word for chat area in focus hashtable, add keys m/q/Q to quote line in cursor mode, sort mouse keys by priority 2011-08-14 11:30:08 +02:00
Sebastien Helleu 217e9683d2 core: add info about position where mouse button is released in hook_focus (for mouse gestures) 2011-08-01 18:33:13 +02:00
Sebastien Helleu e0781f0390 core: add mouse support (task #5435), free cursor movement, hook_focus, fix bugs with key "^" (bug #32072, bug #21381), fix bugs with bar windows, completion and /buffer
New features and bugs fixed:
- mouse support: new command /mouse, new option weechat.look.mouse, new key context "mouse"
- free movement of cursor: new command /cursor, new key context "cursor"
- new hook_focus (used by cursor and mouse)
- info "cursor_mode"
- bugs fixed with key "^"
- allow plugin name in /buffer name
- fix bugs with bar windows: do not create bar windows for hidden bars
- fix completion bug when two words for completion are equal but with different case
- automatic scroll direction in /bar scroll (x/y is now optional)
2011-07-26 18:50:29 +02:00
Sebastien Helleu 2a630031fd core: display error (only once) when bad file descriptor is detected in hook_fd 2011-06-22 15:39:00 +02:00
Sebastien Helleu c8b2a6a084 core: add "hdata" (direct access to WeeChat/plugin data) 2011-06-13 12:32:27 +02:00
Sebastien Helleu f393d0a3d2 irc: add option "ssl_priorities" in servers (task #10106, debian #624055) 2011-04-28 12:29:56 +02:00
Gu1ll4um3r0m41n c265cad1c9 Fix verification of SSL certificates by calling gnutls verify callback (patch #7459) 2011-03-02 15:20:36 +01:00
Sebastien Helleu aeaa0dfb7c Add optional command name for infolist_get on command hooks 2011-02-25 23:16:45 +01:00
Sebastien Helleu d24f6e9e17 Update copyright dates 2011-01-01 18:06:29 +01:00
Gu1ll4um3r0m41n f15f114e4d Fix infinite loop on gnutls handshake when connecting with SSL to server on wrong port or server with SSL problems (bug #27487) 2010-11-18 17:35:08 +01:00
Sebastien Helleu 4d1c9a8315 Fix data sent to callback of hook_process, improve hook_process by using buffer
Fix: some data was sometimes missing (not sent to callback).
Improvement: use a 64KB buffer for child output and send data to callback only
when buffer is full.
2010-11-14 16:22:31 +01:00
Sebastien Helleu 8c129779ac Add function "hook_completion_get_string" in plugin API 2010-11-09 15:45:14 +01:00
Sebastien Helleu 0cf04dca7c Add new functions in plugin API: hook_hsignal and hook_hsignal_send 2010-10-23 08:58:18 +02:00
Sebastien Helleu 712623547f Add new functions in plugin API (hashtable_get_string, hook_info_hashtable, info_get_hashtable), add IRC info_hashtable "irc_parse_message"
Note: tcl >= 8.5 is now required (for tcl plugin).
2010-08-27 15:59:06 +02:00
Sebastien Helleu 6317dba790 Add priority for hooks (task #10550) 2010-08-11 18:42:38 +02:00
Sebastien Helleu dcdba08f8a Update comments after #endif in C headers 2010-06-25 15:03:39 +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 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