Sebastien Helleu
8b966d1c7e
core: fix time displayed in status bar (it was one second late) (bug #40097 )
2013-09-24 22:55:27 +02:00
Sebastien Helleu
252feedde4
core: fix memory leak on unhook of a print hook (if using tags)
2013-09-19 10:19:29 +02:00
Sebastien Helleu
f9d57a3099
core: fix compiler warning on freopen (ignore file returned)
2013-08-01 16:29:12 +02:00
Sebastien Helleu
0e4eb69d33
api: use pointer for infolist "hook" to return only one hook
2013-07-28 12:40:08 +02:00
Sebastien Helleu
56baaaffa8
core: use "/dev/null" for stdin in hook_process instead of closing stdin (bug #39538 )
2013-07-20 15:45:25 +02:00
Sebastien Helleu
e7c947df3e
core: fix compilation warnings
2013-05-22 20:56:54 +02:00
Sebastien Helleu
149c77decd
core: fix typos in many comments and some strings
2013-03-17 12:55:20 +01:00
Sebastien Helleu
bd21daebd1
api: allow return code WEECHAT_RC_OK_EAT in callbacks of hook_signal and hook_hsignal (stop sending the signal immediately)
2013-01-06 19:38:38 +01:00
Sebastien Helleu
f97598b4aa
core: update copyright dates
2013-01-01 13:12:49 +01:00
Sebastien Helleu
7eb5cc4b97
core: move comments with description of C file to top of files
2012-12-15 12:27:57 +01:00
Sebastien Helleu
7d34812f1c
core: reformat comments for functions
2012-12-13 18:51:44 +01:00
Sebastien Helleu
eabf103e71
core: expand char '~' with user home in first argument of hook_process
2012-12-06 13:52:13 +01:00
Sebastien Helleu
822ae76543
core: fix crash in child process of hook_process_hashtable when arguments are given in hashtable and that execvp() failed
2012-12-06 13:43:31 +01:00
Sebastien Helleu
c89124aadc
core: execute command with higher priority when many commands with same name are found with different priorities
2012-12-02 13:12:07 +01:00
Sebastien Helleu
1281b18688
api: use hashtable "options" for command arguments in function hook_process_hashtable (optional, default is a split of string with command)
2012-11-22 19:55:38 +01:00
Sebastien Helleu
efb795c74f
core: do not call shell to execute command in hook_process (fix security problem when a plugin/script gives untrusted command) (bug #37764 )
2012-11-18 10:38:30 +01:00
Simon Arlott
248aa8d73a
api: connect with IPv6 by default in hook_connect (with fallback to IPv4), shuffle list of hosts for a same address (task #11205 )
2012-10-14 10:59:00 +02:00
Peter Boström
c03fcd5e12
core: add function "hook_set" in plugin API, add "subplugin" in hooks (set by script plugins), display subplugin in /help on commands (task #12049 )
2012-07-09 15:16:51 +02:00
Sebastien Helleu
9972cce777
core: add a connection timeout for child process in hook_connect (bug #35966 )
2012-03-23 18:24:47 +01:00
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
41b5ef1e4c
core: check pointer returned by function localtime
2011-11-27 11:48:35 +01:00
Sebastien Helleu
dfdf42e27b
core: remove unneeded whitespace
2011-10-26 20:37:03 +02:00
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