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

215 Commits

Author SHA1 Message Date
Sebastien Helleu 509a58b1d5 api: add new function hdata_search 2013-04-21 11:26:52 +02:00
Sebastien Helleu adbfda00f5 script: fix compilation on GNU/Hurd (patch #7977) (thanks to Andrew Potter)
PATH_MAX is now defined in weechat-plugin.h (if not defined, for example on
GNU/Hurd), so that all plugins can use it.
2013-03-25 08:14:33 +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 641de51bdb api: allow creation of structure with hdata_update (allowed for hdata "history") 2012-12-08 23:54:07 +01:00
Sebastien Helleu 32c93b5c0a core: add command /eval, use expression in conditions for bars, add function "string_eval_expression" in plugin API 2012-11-02 09:37:15 +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
Sebastien Helleu df80aa5fc9 api: allow update for some variables of hdata, add new functions hdata_update and hdata_set 2012-08-27 09:47:46 +02:00
Sebastien Helleu 00b879962a api: add new function util_version_number 2012-08-04 13:58:25 +02:00
Sebastien Helleu e41595833a core: update description of plugins and translate them in output of /plugin 2012-08-02 09:21:47 +02:00
Sebastien Helleu eab0110732 core: add support of arrays in hdata variables 2012-07-20 18:12:07 +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 9347bae962 api: replace type "regex_t *" by "void *" in function string_regcomp (fix ruby compilation with autotools) 2012-01-26 18:18:20 +01:00
Sebastien Helleu 5f6df8021b core: add support of flags in regular expressions and highlight options, add irc options to customize/disable default nick highlight (task #11128)
New functions in C plugin API:
- string_regex_flags
- string_regcomp

New irc options:
- irc.look.highlight_server
- irc.look.highlight_channel
- irc.look.highlight_pv

Regex flags are supported in following options/commands:
- option weechat.look.highlight
- option weechat.look.highlight_regex
- options irc.look.highlight_{server|channel|pv}
- option relay.network.allowed_ips
- core command /filter
- irc command /list
- irc command /ignore
- rmodifier command /rmodifier
2012-01-22 13:48:42 +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 6f3fd239be core: add type "hashtable" for hdata, new api functions: hdata_hashtable and hashtable_map_string 2011-12-19 22:39:24 +01:00
Sebastien Helleu bd3f554e02 api: add new function hdata_check_pointer 2011-12-17 17:03:39 +01:00
Sebastien Helleu 00a3f990b3 api: add new function nicklist_get_next_item 2011-12-06 22:57:21 +01:00
Sebastien Helleu bfc010df2f core: add type char for hdata and function hdata_char in plugin/script API 2011-11-25 15:09:44 +01:00
Sebastien Helleu 491412b314 api: add new functions strcasecmp_range and strncasecmp_range 2011-11-12 10:37:44 +01:00
Sebastien Helleu dfdf42e27b core: remove unneeded whitespace 2011-10-26 20:37:03 +02:00
Sebastien Helleu ebf72c7eda core: use dynamic buffer size for calls to vsnprintf 2011-08-26 09:55:55 +02:00
Sebastien Helleu 44f2b7caf4 core: add functions "key_bind" and "key_unbind" in plugin API 2011-08-20 10:52:27 +02:00
Sebastien Helleu cbdf4a4ae1 core: remove "const" for first argument of function utf8_normalize 2011-08-02 13:24:53 +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 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 3fd2af8184 api: add new function config_set_desc_plugin (task #10925) 2011-04-26 17:47:49 +02:00
Sebastien Helleu 7673a700b3 core: use buffer pointer instead of window in input functions, add new function window_search_with_buffer in plugin API 2011-04-13 20:25:26 +02:00
Sebastien Helleu c71e2cad38 Add function "buffer_match_list" in plugin API 2011-03-11 18:39:37 +01: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 44e16c0511 Add function "hashtable_set_pointer" in plugin API 2011-01-02 16:32:54 +01:00
Sebastien Helleu d24f6e9e17 Update copyright dates 2011-01-01 18:06:29 +01:00
Sebastien Helleu cd7a02bec5 Add 256 colors support
Changes:
- new section "palette" in weechat.conf
- new API functions: list_search_pos and list_casesearch_pos
2010-12-20 10:13:37 +01:00
Sebastien Helleu e92079cfe9 Add new option weechat.look.highlight_regex and function string_has_highlight_regex in plugin API (task #10321) 2010-11-25 21:28:14 +01:00
Sebastien Helleu 11b3dd2874 Use type "unsigned long long" for API function string_format_size 2010-11-10 16:34:56 +01:00
Sebastien Helleu 8c129779ac Add function "hook_completion_get_string" in plugin API 2010-11-09 15:45:14 +01:00
Sebastien Helleu 32db2eac25 Add new functions in plugin API to get/set nicks/groups properties in nicklist
8 new functions added:
- nicklist_group_get_integer
- nicklist_group_get_string
- nicklist_group_get_pointer
- nicklist_group_set
- nicklist_nick_get_integer
- nicklist_nick_get_string
- nicklist_nick_get_pointer
- nicklist_nick_set
2010-10-29 18:40:25 +02: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 ebf94445b9 Use const void * for keys and values in some hashtable functions 2010-10-17 10:39:51 +02:00
Sebastien Helleu f32e18c717 Add function "hashtable_has_key" in WeeChat and plugin API 2010-10-11 13:56:57 +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 22430bfee3 Update string with plugin API version 2010-07-17 13:45:33 +02:00
Sebastien Helleu 94fbbc0a7f Use of hashtable for local variables of buffers 2010-07-05 17:05:49 +02:00
Sebastien Helleu cb18bdb10b Add hashtable in core and plugin API 2010-06-28 10:40:30 +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