1
0
mirror of https://github.com/weechat/weechat.git synced 2026-06-24 20:06:38 +02:00
Commit Graph

91 Commits

Author SHA1 Message Date
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 0890179398 Fix another bug with hook priority (for commands) 2010-08-12 11:02:10 +02:00
Sebastien Helleu c9f94e6f0a Fix bug with order of hooks: for equal priority, hook is added at the end of the list 2010-08-12 10:59:21 +02:00
Sebastien Helleu 6317dba790 Add priority for hooks (task #10550) 2010-08-11 18:42:38 +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 8875c167d7 Fix crash with hook_process (when timer is called on a deleted hook process) 2010-05-01 11:15:16 +02:00
Sebastien Helleu 31bfcf96c7 Reformat and add comments for description of C sources 2010-04-08 18:15:00 +02:00
Sebastien Helleu 2801b8437c Reformat multi-line comments 2010-03-19 23:33:14 +01:00
Sebastien Helleu 568d913c58 Fix bugs with function hook_command_run
A '/' is always sent at beginning of command to callback, even if user used
another command char.
Now it is possible to catch a command, with or without arguments, with
hook_command_run("/command").
2010-03-19 19:25:59 +01:00
Sebastien Helleu 0543b0ccc7 Add new option weechat.look.command_chars, add functions string_is_command_char and string_input_for_buffer in plugin and script API 2010-03-02 17:34:49 +01: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 42c230e709 Fix tag checking in execution of hook_print 2010-01-01 21:44:09 +01:00
Sebastien Helleu 138755d76e Check that connect hook was not deleted before call to gnutls callback 2009-11-27 13:00:43 +01:00
Sebastien Helleu 9b5e070e5b Fix crash when connecting to ssl server if another non-ssl connection is pending 2009-11-27 12:35:10 +01:00
Sebastien Helleu 682a84731a Remove compilation warning when gnutls lib is not installed 2009-11-07 23:42:53 +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 2f7a5a4147 Rename function string_explode to string_split 2009-06-28 19:49:32 +02:00
Sebastien Helleu 679e477abb Fix some memory leaks in command hook (completion templates), buffer closing, partial completion 2009-06-21 12:45:50 +02:00
Sebastien Helleu 8d58b81d83 Add buffer merging feature, with /buffer merge/unmerge (task #7404) 2009-06-10 12:40:05 +02:00
Sebastien Helleu c3321b1406 Fix 0 byte alloc in command template 2009-04-26 09:22:06 +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 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