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

110 Commits

Author SHA1 Message Date
Sebastien Helleu dfdf42e27b core: remove unneeded whitespace 2011-10-26 20:37:03 +02:00
Sebastien Helleu d95aef2134 script plugins: use new macros to reduce code length 2011-10-26 18:51:16 +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 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
Sebastien Helleu 82d7fca3f7 Fix array overflow in lua plugin for config reload callback 2011-02-16 12:54:37 +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 e442182a96 Remove unneeded assignments in ruby and lua API functions 2010-10-31 11:56:22 +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 e2f58820fe Allow script functions "prefix" and "color" when script is not yet registered with "register" 2010-10-10 10:04:37 +02:00
Sebastien Helleu e1ffb1f70f Fix crash when API function is called in Perl script before "register" 2010-10-09 17:18:56 +02:00
Sebastien Helleu 86323231fd Add missing function "infolist_reset_item_cursor" in script API (bug #31057) 2010-09-21 17:31:27 +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 6562d676fe Update licenses and copyrights, add missing author names in sources 2010-06-22 19:46:28 +02:00
Sebastien Helleu ba115ce113 Replace "joker" by "wildcard" 2010-04-18 23:52:32 +02:00
Sebastien Helleu 31bfcf96c7 Reformat and add comments for description of C sources 2010-04-08 18:15:00 +02:00
Sebastien Helleu b9e65ec63d Fix bug with writing of configuration files when disk is full (bug #29331) 2010-03-26 19:01:25 +01:00
Sebastien Helleu b491cc3479 Fix bug with callbacks when loading a script already loaded 2010-03-24 00:04:00 +01:00
Sebastien Helleu 9d96090d7d Add functions string_match, string_has_highlight and string_mask_to_regex in script plugin API 2010-03-20 13:32:08 +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 832a4c1466 Fix function "color" in Lua script API (patch from Christian Heinz) 2010-02-18 07:58:03 +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 63aaf9dc01 Add function "buffer_string_replace_local_var" in script API (patch #7061) 2010-01-12 10:33:13 +01:00
Sebastien Helleu 2133eb30ff Update copyright dates 2010-01-03 19:31:55 +01:00
Sebastien Helleu 58df8c2d83 Add function "infolist_new_item" in script API 2009-12-18 18:09:12 +01:00
Sebastien Helleu 7e5acaf50f Give GnuTLS return code to callback if handshake has failed, display extra info in irc plugin if Diffie-Hellman prime sent by the server is not acceptable (not long enough) 2009-12-04 17:36:09 +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 4bd7eaf123 Fix API function weechat_bar_set for python/lua/ruby (patch #6912) 2009-09-11 23:22:13 +02: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 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 5f1c0c8254 Add data string argument in all callbacks of script API, display script name in error messages for scripts 2009-05-02 16:17:31 +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 ff83985ef4 Add default template completion (by default: nick or IRC channel) 2009-04-01 19:03:05 +02:00
Sebastien Helleu 540756bf54 Fix SSL connection to some IRC servers using Diffie Hellman and small exchange keys (bug #25996) 2009-03-27 16:48:58 +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 a938ef736a Remove some messages during startup about scripts and plugins loaded
It is still possible to see messages by changing debug level for "core" or
plugins (perl, python, ruby, lua, tcl).
2009-03-18 15:11:18 +01:00
Sebastien Helleu 700ce289ae Fix callbacks in script plugins: always return empty string instead of NULL for arguments 2009-03-06 23:30:58 +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 2c9bf846a6 Add upgrade functions in script plugin API 2009-02-22 16:49:38 +01:00