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

133 Commits

Author SHA1 Message Date
Sebastien Helleu ce8ae83e17 core: add optional arguments for command /plugin load/reload/autoload 2011-10-29 11:16:45 +02:00
Sebastien Helleu dfdf42e27b core: remove unneeded whitespace 2011-10-26 20:37:03 +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 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 56a39bc8c8 core: add missing include of stddef.h in plugin.c 2011-06-29 10:24:03 +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 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
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 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 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 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 6562d676fe Update licenses and copyrights, add missing author names in sources 2010-06-22 19:46:28 +02:00
Sebastien Helleu 4616ca981e Add function "string_expand_home" in plugin API, fix bug with replacement of home in paths 2010-05-02 18:21:58 +02:00
Sebastien Helleu 31bfcf96c7 Reformat and add comments for description of C sources 2010-04-08 18:15:00 +02:00
Sebastien Helleu 848cce2c8a Improve plugins autoload (option weechat.plugin.autoload): allow to use "*" as joker and "!" to prevent a plugin from being autoloaded (task #6361)
Some examples for option weechat.plugin.autoload:
- load all plugins (default): "*"
- load only alias, charset, irc and logger: "alias,charset,irc,logger"
- load all plugins but not lua and tcl: "*,!lua,!tcl"
- load all plugins but not perl and python: "*,!p*" (not recommended because new future plugins may begin with "p")
- do not load any plugin (weechat core alone is not really useful eheh): "!*"
2010-03-31 22:39:09 +02:00
Sebastien Helleu 7925b2d242 Refresh screen when exiting WeeChat (to display messages printed after /quit) 2010-03-20 17:09:07 +01:00
Sebastien Helleu 2801b8437c Reformat multi-line comments 2010-03-19 23:33:14 +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 873bcfc9f0 Add command line option "-s" (or "--no-script") to start WeeChat without loading any script 2010-02-26 11:36:41 +01:00
Sebastien Helleu ce1b23311c Add function "string_decode_base64" in plugin API 2010-02-16 16:57:22 +01:00
Sebastien Helleu 341551f2f2 Add SASL authentication in IRC plugin (task #8829), add function "string_encode_base64" in plugin API, fix bug with base64 encoding
New options for IRC servers:
- sasl_mechanism (only "plain" for now)
- sasl_username
- sasl_password
2010-02-15 11:51:44 +01:00
Sebastien Helleu 7850668327 Add new option weechat.look.time_format to customize default format for date/time displayed (localized date by default), add function weechat_util_get_time_string in plugin API (patch #6914) 2010-02-09 17:19:14 +01:00
Sebastien Helleu 2133eb30ff Update copyright dates 2010-01-03 19:31:55 +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 9839d030a1 Add info about script commands when trying to load a script with /plugin 2009-07-10 23:44:21 +02:00
Sebastien Helleu 2f7a5a4147 Rename function string_explode to string_split 2009-06-28 19:49:32 +02:00
Sebastien Helleu 92940e52f1 Do not auto-load hidden files in script plugins (bug #21390) 2009-06-14 16:35:06 +02:00
Sebastien Helleu 38f1bc0837 Remove variable with "WeeChat required version" in plugins, do not compare version any more (API comparison is enough) 2009-06-12 16:02:40 +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 353538e3d8 Add function "config_is_set_plugin" in plugin/script API 2009-05-17 15:49:58 +02:00
Sebastien Helleu 57c6478b91 Add function window_set_title in API (task #9361) 2009-05-10 01:22:08 +02:00
Sebastien Helleu a0a28ac3d9 Add message for old/obsolete plugins 2009-05-05 10:11:50 +02:00
Sebastien Helleu 747b78aff3 Add API version string: do not load plugins with wrong API version (fix crash when loading old/obsolete plugins) 2009-05-02 22:56:14 +02:00
Sebastien Helleu 9303884613 Add filter with third argument of infolist_get for some infolists (bars, bar items, buffers, filters, plugins, irc_server, alias, script list) 2009-04-24 18:59:22 +02:00
Sebastien Helleu e3d2728571 Fix typo: splited/splitted -> split 2009-04-24 17:24:56 +02:00
Sebastien Helleu a3841b12e4 Add utf8_charcmp in plugin API, fix bug with utf8_charcasecmp 2009-04-11 23:34:32 +02:00
Sebastien Helleu ff83985ef4 Add default template completion (by default: nick or IRC channel) 2009-04-01 19:03:05 +02:00
Sebastien Helleu 49ca35cb4f Fix crash on FreeBSD: first unload last loaded plugins 2009-03-24 21:43:33 +01:00
Sebastien Helleu 7c793257ff Add option aspell.check.real_time (off by default), fix bugs with aspell and utf-8 chars, add function utf8_char_int to API 2009-03-22 16:38:06 +01:00
Sebastien Helleu a394ed5d6f Add "replacement" argument for string_remove_color in plugin API 2009-03-18 18:02:48 +01:00