Sebastien Helleu
2af9c4ba92
core: display timeout for hook_process command only if debug for core is enabled (task #11401 )
2011-10-09 10:33:05 +02:00
Sebastien Helleu
f89cecf71d
core: add missing hook type "focus" in array "hook_type_string" (fix crash when calling infolist_get with bad hook type)
2011-10-01 21:19:42 +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
c356b16322
core: fix memory leak in unhook of hook_connect
2011-08-25 20:22:44 +02:00
Sebastien Helleu
4d9e8668bb
core: fix crash with "hook" infolist when "arguments" is an empty string
2011-08-16 12:01:36 +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
bb39455591
core: fix bug in build of static parts of completions for commands
2011-07-30 08:50:30 +02:00
Sebastien Helleu
54a6f42de5
core: add number in windows, improve mouse/cursor actions when screen is split
2011-07-29 19:46:02 +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
19bc95b961
core: many improvements on hdata
...
New features:
- add optional hdata name for variables in hdata
- add plugin API functions: hdata_get_var_hdata
- use hashtable to store hdata (created by WeeChat and plugins)
- free hdata and infolists created by plugin on plugin unload
- free all hdata on exit
- add "free" option to command /debug hdata
- remove hdata for hooks
2011-06-26 18:15:42 +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
6defc05f0a
core: fix freeze when hook_fd is called with a bad file/socket (bug #33619 )
2011-06-22 12:20:05 +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
Sebastien Helleu
3b7bd01716
core: allow command mask for infolist_get on command hooks
2011-04-19 20:13:46 +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
10bf2a8665
Test if variables are not NULL before free in function hook_print_exec
2011-01-02 13:09:02 +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
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