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

95 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 b3c00abbbb api: use a struct for arguments of function script_init (callbacks) 2012-03-24 10:59:21 +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 b9297c4659 lua: fix typo in comment 2011-10-31 09:55:15 +01:00
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 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 372d9fe82e Fix crash when many lua scripts are executing callbacks at same time 2011-02-02 22:51:38 +01:00
Sebastien Helleu d24f6e9e17 Update copyright dates 2011-01-01 18:06:29 +01:00
Sebastien Helleu 0e315a81ad Fix crash when unloading lua script 2010-10-30 10:38:19 +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 8b26f3c953 Add optional plugin name for command /debug dump and signal "debug_dump" 2010-09-17 16:12:41 +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 c33f0e60ea Define WeeChat license as macro for C compiler, used in plugins to set license 2010-04-09 15:39:52 +02:00
Sebastien Helleu 31bfcf96c7 Reformat and add comments for description of C sources 2010-04-08 18:15:00 +02:00
Sebastien Helleu b491cc3479 Fix bug with callbacks when loading a script already loaded 2010-03-24 00:04:00 +01: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 3d3dc1593d Allow script commands to reload only one script 2010-02-23 10:51:59 +01:00
Sebastien Helleu eb56a98fc8 Remove evil tabs in sources 2010-01-24 10:47:53 +01:00
Sebastien Helleu 2133eb30ff Update copyright dates 2010-01-03 19:31:55 +01: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 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 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 44003c2dae Restore buffer callbacks for scripts after /upgrade 2009-04-16 14:25:44 +02:00
Sebastien Helleu 7f454586ea Add signals in script plugins to install and remove scripts 2009-04-05 14:53:02 +02:00
Sebastien Helleu b2f1273c01 Add infolists with list of scripts 2009-03-28 20:58:00 +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 e7589e732b Fix bug with current script pointer when current script is unloaded 2009-02-19 17:44:41 +01:00
Sebastien Helleu 2115f3f675 Update copyright dates 2009-01-03 10:06:53 +01:00
Sebastien Helleu bf0b5f5644 Add "displayed" and "highlight" arguments to callback for hook_print 2008-11-29 17:44:42 +01:00
Sebastien Helleu 1e3be56b5f Fix use of some uninitialized variables 2008-10-27 17:27:58 +01:00
Sebastien Helleu 44944ef01f Add Tcl script plugin (thanks to Dmitry Kobylin) 2008-10-05 19:06:46 +02:00
Sebastien Helleu c572e393e7 Remove "category" for buffers (keep only name). 2008-09-18 18:44:03 +02:00
Sebastien Helleu ae612a811b Many changes in doc 2008-09-05 18:52:59 +02:00
Sebastien Helleu 66e8d703bd Add new options for completion, optional stop instead of cycling with words found 2008-06-18 16:47:09 +02:00
Sebastien Helleu 3a53257032 Add "const" keyword for some "char *" function arguments (core and plugins API) 2008-06-03 10:56:51 +02:00
Sebastien Helleu 91084108ae Add arguments for plugin init functions and "irc://.." command line option for irc plugin 2008-05-15 22:13:54 +02:00
Sebastien Helleu 886b81498f Fixed crash with scripts when WeeChat calls functions of many scripts at same time with callbacks (bug #23109) 2008-04-30 13:21:21 +02:00
Sebastien Helleu d975629686 Improved /set command, added /unset command, new name for config files (*.conf) 2008-04-11 18:36:06 +02:00
Sebastien Helleu 57323fa71e Removed sizeof(char) and useless type casts from void* to another pointer type (patch from Leonid Evdokimov) 2008-03-23 23:00:04 +01:00
Sebastien Helleu d9a4bdf629 Check plugin version when loading it, to prevent crash when loading old plugins 2008-03-23 11:41:09 +01:00
Sebastien Helleu 17804ea08b Fix bug with weechat_plugin_end() function, now returns "int" everywhere 2008-02-25 17:31:04 +01:00
Sebastien Helleu dec0e7dc12 Added new plugin "debug" 2008-02-21 17:31:59 +01:00
Sebastien Helleu 28e811c09c Use of sizeof(char) in all malloc/realloc for strings 2008-02-02 21:12:16 +01:00
Sebastien Helleu ad41486543 Added config file functions in plugins API, improved /reload and /save commands (now possible to reload/save some files only), fixed completion bug 2008-01-27 10:48:29 +01:00
Sebastien Helleu 25c5bc6421 Removed use of config.h file in script plugins, not needed 2008-01-21 12:40:18 +01:00
Sebastien Helleu 697f070725 Added new functions and script name completion in script plugins, fixed some bugs in weelist management and script plugins
New functions in script plugins API: gettext, ngettext, list_new, list_add,
list_search, list_casesearch, list_get, list_set, list_next, list_prev,
list_string, list_size, list_remove, list_remove_all, list_free.
2008-01-16 10:19:25 +01:00