Age | Commit message (Collapse) | Author | |
---|---|---|---|
2022-01-30 | doc/api: fix type of parameter "date" in script prototype of function ↵ | Sébastien Helleu | |
prnt_date_tags | |||
2022-01-22 | python: fix crash in hook callbacks after script loading failure (closes #1740) | Sébastien Helleu | |
2022-01-17 | core: update copyright dates | Sébastien Helleu | |
2021-11-06 | api: add parameters pointers, extra_vars and options in function hdata_search | Sébastien Helleu | |
2021-10-02 | plugins: use a different plugin priority for each scripting language | Sébastien Helleu | |
2021-05-14 | core: add generator and Python stub file for WeeChat API (issue #1377) | Sébastien Helleu | |
2021-05-11 | core: split WeeChat home in 4 directories, use XDG directories by default ↵ | Sébastien Helleu | |
(issue #1285) The 4 directories (which can be the same): - config: configuration files, certificates - data: log/upgrade files, local plugins, scripts, xfer files - cache: script repository, scripts downloaded (temporary location) - runtime: FIFO pipe, relay UNIX sockets | |||
2021-04-11 | doc: mark info "python2_bin" as deprecated since version 2.6 (plugin API ↵ | Sébastien Helleu | |
reference) | |||
2021-01-02 | core: update copyright dates | Sébastien Helleu | |
2020-08-23 | api: add argument "bytes" in function string_dyn_concat | Sébastien Helleu | |
2020-08-22 | api: add function string_color_code_size (issue #1547) | Sébastien Helleu | |
2020-07-07 | Add $weechat_sharedir/python for global python package import | Marco Sirabella | |
Related: #1461 Some scripts (eg weechat-matrix) ship directories that need to be imported from the script. Rather than globally installing the python packages to python's `site-packages` the directories can be installed alongside the script in `WEECHAT_SHAREDIR/python`. This change adds that directory to the `$PYTHONPATH` to import successfully. | |||
2020-06-21 | core: add bar option "color_bg_inactive" (issue #732) | Sébastien Helleu | |
2020-05-08 | core: rename functions hook_completion_{get_string|list_add} to ↵ | Sébastien Helleu | |
completion_{get_string|list_add} Old functions are kept for compatibility reasons. | |||
2020-04-28 | api: return integer in function gui_completion_search (issue #1484) | Sébastien Helleu | |
2020-04-27 | api: add functions completion_new, completion_search and completion_free ↵ | Sébastien Helleu | |
(issue #1484) | |||
2020-04-04 | python: fix crash when invalid UTF-8 string is in a WeeChat hashtable ↵ | Sébastien Helleu | |
converted to a Python dict (closes #1463) | |||
2020-01-04 | core: update copyright dates | Sébastien Helleu | |
2019-11-12 | python: use more idiomatic cmake pkg-config linking | Eli Schwartz | |
cmake documentation is absolutely atrocious, and I don't know why they mention all the wrong things to use, and the cargo cult of successfully writing a cmake build definition (copy-pasting what works from other projects) also uses all the wrong things. But it turns out it is possible to correctly link a PkgConfig target despite all that, at least, *iff* you use cmake >= 3.13. I've chosen option 2, which is to vendor in cmake >= 3.13's FindPkgConfig module in the previous commit. Using IMPORTED_TARGET GLOBAL in a pkg-config check will result in a proper linker target being created. For comparison, this is like using meson's dependency() target, except meson forces you to do this by default. The result is that the build system's internal representation of how to link something, is used instead of manually passing build flags defined in variables. This is an important distinction to make, because cmake does not have a list datatype, and instead turns lists into strings separated by ';' which are indistinguishable from, like, strings which contain ';' characters. When you pass the resulting list-which-isn't-really-a-list to link an executable/library, you either need to preprocess the variable to replace ';' with ' ' (just in case there are multiple elements) or use cmake functions which magically know to do this themselves -- or at least, I assume there are cmake functions that correctly handle so-called "lists", or there would be no need for "lists" to exist. The IMPORTED_TARGET will define a bunch of INTERFACE_* properties which do seem to do exactly this. The resulting build definition should actually, correctly, link python, thereby fixing #1398 in a better way. | |||
2019-10-12 | python: send "bytes" instead of "str" to callbacks in Python 3 when the ↵ | Sébastien Helleu | |
string is not UTF-8 valid (issue #1220, closes #1389) | |||
2019-10-01 | core: fix style in CMake files | Sébastien Helleu | |
2019-08-31 | core: fix compilation of Python plugin on FreeBSD 12.0 (closes #1398) | Sébastien Helleu | |
2019-07-31 | build: use pkg-config to properly link python | Eli Schwartz | |
fixes incorrect (non)detection of libpython3.Ym.so due to PEP 3149 since python's officially exported build flags know how to correctly link to python. | |||
2019-06-15 | api: add argument "strip_items" in function string_split | Sébastien Helleu | |
2019-04-25 | cmake: allow custom libdir (fix #1341) | Ryan Farley | |
Allows for custom LIBDIR to specified with cmake builds. WEECHAT_LIBDIR is used for a custom Weechat directory, or set from LIBDIR (as LIBDIR used to be set). | |||
2019-04-13 | api: return allocated string in hook_info callback and function info_get | Sébastien Helleu | |
2019-03-24 | core: add CMake option "ENABLE_CODE_COVERAGE" to compile with code coverage ↵ | Sébastien Helleu | |
options This option is OFF by default and should be enabled only for tests, to measure test coverage. | |||
2019-03-10 | core: replace argument "keep_eol" by "flags" in function string_split ↵ | Sébastien Helleu | |
(closes #1322) | |||
2019-02-28 | api: add function command_options (issue #928) | Sébastien Helleu | |
2019-02-27 | api: add function string_match_list | Sébastien Helleu | |
2019-01-01 | core: update copyright dates | Sébastien Helleu | |
2018-11-29 | core: use https for links to GNU GPL license | Sébastien Helleu | |
2018-08-12 | api: add function hook_line | Sébastien Helleu | |
2018-07-25 | scripts: fix duplicated lines in output of script eval (python, perl, ruby, ↵ | Sébastien Helleu | |
lua and guile) When there was a call to a hook callback during the eval, the output buffer was cleared too late, and displayed multiple times in the buffer. This commit clears the buffer even before we display it (this display can trigger a hook callback). | |||
2018-07-12 | python: fix crash when loading a script with Python >= 3.7 (closes #1219) | Sébastien Helleu | |
2018-04-13 | scripts: fix memory leak in hook_info callback | Sébastien Helleu | |
2018-04-12 | scripts: fix return value of hook_infolist callback (pointer instead of string) | Sébastien Helleu | |
2018-04-10 | scripts: return long integer instead of string in function infolist_time | Sébastien Helleu | |
2018-04-10 | scripts: do not allocate memory when converting pointers to strings | Sébastien Helleu | |
2018-04-07 | api: add function string_format_size in scripting API | Sébastien Helleu | |
2018-03-17 | scripts: hide message when the eval script is unloaded | Sébastien Helleu | |
Related to commit 8fbbe8b0d509df26ff86ca8cd7fe4b2205c6d15e. | |||
2018-02-19 | scripts: display the script name in stdout/stderr output from scripts | Sébastien Helleu | |
2018-01-15 | scripts: add option "eval_keep_context" in script plugins | Sébastien Helleu | |
2018-01-15 | scripts: add configuration file for each script plugin | Sébastien Helleu | |
2018-01-07 | core: fix some styles | Sébastien Helleu | |
2018-01-06 | core: update translations (issue #128) | Sébastien Helleu | |
2018-01-06 | python: fix error message when executing code from string in ↵ | Sébastien Helleu | |
weechat_python_load (issue #128) | |||
2018-01-06 | scripts: add "eval" option in script commands and info "xxx_eval" (issue #128) | Sébastien Helleu | |
For now this works only in python, perl, ruby and guile. | |||
2018-01-05 | core: update copyright dates | Sébastien Helleu | |
2017-12-23 | scripts: add option "version" in script commands (closes #1075) | Sébastien Helleu | |