1
0
mirror of https://github.com/weechat/weechat.git synced 2026-06-25 12:26:40 +02:00
Commit Graph

347 Commits

Author SHA1 Message Date
Sebastien Helleu c4cfd651fc api: display warning in scripts when invalid pointers (malformed strings) are given to plugin API functions (warning displayed if debug for plugin is >= 1) 2012-03-24 13:00:50 +01:00
Sebastien Helleu 93ec33d491 api: fix typo in a comment 2012-03-24 11:05:35 +01:00
Sebastien Helleu b3c00abbbb api: use a struct for arguments of function script_init (callbacks) 2012-03-24 10:59:21 +01: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 78d7c654c8 perl: increment count of hash returned by API (fix crash when script tries to read hash without making a copy) 2012-02-20 14:16:17 +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 daea95866c python: support of Python 3.x (task #11704)
Note that Python 2.x is still the only Python compiled if found:
Python 3.x is not auto-detected by cmake neither configure.
Many official Python scripts will not load/run with Python 3.x,
so Python 2.x (2.7 or 2.6) is still the recommended version.
2012-01-03 19:35:05 +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 41b5ef1e4c core: check pointer returned by function localtime 2011-11-27 11:48:35 +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 4646e5c17c core: fix typo: occured -> occurred 2011-11-03 16:59:54 +01:00
Sebastien Helleu ce17ca1512 guile: discard script if load of file has failed with command /guile load 2011-10-31 09:58:11 +01:00
Sebastien Helleu 4d8a8cb9e0 python: fix typo in comment 2011-10-31 09:55:23 +01:00
Sebastien Helleu b9297c4659 lua: fix typo in comment 2011-10-31 09:55:15 +01:00
Dominik Honnef 11f40676ad ruby: hide warnings caused by reloading the ruby plugin 2011-10-26 23:50:40 +02:00
Dominik Honnef fa830e5282 ruby: fix crash when reloading ruby plugin (bug #34474) 2011-10-26 23:40:15 +02:00
Dominik Honnef 7977f277ce ruby: remove useless call to Gem.latest_load_paths 2011-10-26 22:57:04 +02:00
Sebastien Helleu dfdf42e27b core: remove unneeded whitespace 2011-10-26 20:37:03 +02:00
Sebastien Helleu 9b42328d55 guile: new script plugin for scheme (task #7289) 2011-10-26 19:25:51 +02:00
Sebastien Helleu d95aef2134 script plugins: use new macros to reduce code length 2011-10-26 18:51:16 +02:00
Sebastien Helleu 893485ba5f core: remove compilation warnings about unused return values of functions 2011-09-22 16:16:41 +02:00
Sebastien Helleu f843f904bc core: fix bugs with calls to realloc 2011-08-28 15:25:30 +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 221fff960e perl: replace calls to SvPV by SvPV_nolen (patch #7436) 2011-08-18 18:31:17 +02:00
Sebastien Helleu df69add970 scripts: fix crash with scripts not auto-loaded having a buffer opened after /upgrade (input/close callbacks for buffer not set properly) 2011-08-17 12:53:34 +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 f4f90e85fb perl: fix memory leak when calling perl functions (bug #32895) 2011-04-26 22:26:53 +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 55aa584a2b plugins: fix memory leaks when setting buffer callbacks after /upgrade (plugins: irc, relay, xfer, scripts) 2011-04-15 10:40:23 +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 7d433b798f Improve arguments displayed in /help of commands, display all commands with same name (for same command name in many plugins) 2011-02-04 22:12:19 +01:00
Sebastien Helleu 372d9fe82e Fix crash when many lua scripts are executing callbacks at same time 2011-02-02 22:51:38 +01:00
Sebastien Helleu cc6bb607e0 Test return value of calls to sscanf function 2011-01-21 19:30:08 +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 f2c9961a21 Fix crash in perl plugin when MULTIPLICITY is disabled 2010-12-16 14:27:16 +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 d478526b08 Add info "python2_bin" (path to python 2.x interpreter) in Python plugin 2010-11-08 15:10:13 +01:00
Sebastien Helleu fce371e22a Remove unused variables 2010-10-31 18:10:51 +01:00
Sebastien Helleu e442182a96 Remove unneeded assignments in ruby and lua API functions 2010-10-31 11:56:22 +01:00
Sebastien Helleu 0e315a81ad Fix crash when unloading lua script 2010-10-30 10:38:19 +02: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