Commit Graph

9542 Commits (9a40aa04f8b26b49becf2a11df5e883e3aef6e19)

Author SHA1 Message Date
Sébastien Helleu 9a40aa04f8 core: rename label "enhancement" to "feature" 2019-11-15 21:06:15 +01:00
Sébastien Helleu 3a03184d7a irc: mention /filter command in /help irc.look.smart_filter 2019-11-15 08:38:40 +01:00
Sébastien Helleu b5804bd64d core: add labels in GitHub issue templates 2019-11-14 07:24:54 +01:00
Sébastien Helleu 005e5fd8f5 core: fix French translation of "uptime" 2019-11-13 21:17:14 +01:00
Sébastien Helleu fe7a05cb1f core: update ChangeLog 2019-11-12 21:20:43 +01:00
Eli Schwartz 76c6f52e8c build: support python 3.8
In python 3.8, in order to link to -lpython3.8, you need to use the
exported pkg-config interface 'python3-embed' (or 'python3-config --libs
--embed'), see https://bugs.python.org/issue36721 for details.
2019-11-12 21:19:47 +01:00
Eli Schwartz 5c8ac69f73 python: use more idiomatic cmake pkg-config linking
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-11-12 21:19:47 +01:00
Eli Schwartz 682e558f76 cmake: vendor in a new version of FindPkgConfig
The current one is anciently ancient, and dates back to commit
4d2925ef1c which vendored this "for old
versions of cmake". Well, currently it just stops using new versions of
FindPkgConfig, so we're stuck on the 2006 version from cmake 2.5.0.

Instead of deleting it entirely (the minimum version of cmake is
currently 3.0) make this vendored file continue to be useful by using it
to vendor in the latest version of FindPkgConfig from cmake 3.16.0-rc3
with a bunch of useful improvements.
2019-11-12 21:19:47 +01:00
Sébastien Helleu a36e17abf9 debian: disable javascript plugin on Debian Sid and Ubuntu Eoan 2019-11-11 08:38:05 +01:00
Sébastien Helleu 38bb297d91 core: update ChangeLog (issue #1420) 2019-11-10 11:06:49 +01:00
Sébastien Helleu 421d6481da core: link with libnetwork and not libpthread on Haiku (autotools) (issue #1420) 2019-11-10 11:06:39 +01:00
Jerome Duval 8d991f1284 Haiku: link libnetwork, not libpthread. 2019-11-10 11:04:47 +01:00
Sébastien Helleu 9f8162651f irc: set option irc.look.display_pv_warning_address to off by default (issue #892)
This is because the bitlbee server causes the warning to be displayed when it
is not expected (the address of remote nick changes multiple times on login).
2019-11-08 21:27:12 +01:00
Sébastien Helleu 17d3032b73 core: move line from "New features" to "Bug fixes" 2019-11-07 19:46:55 +01:00
Sébastien Helleu 90aec7bec7 core: update URL of WeeChat blog 2019-11-05 07:50:30 +01:00
Sébastien Helleu 07577194c5 doc: add examples of division in ${calc:...} (plugin API reference) 2019-11-04 19:01:31 +01:00
Sébastien Helleu 9264de9ce0 doc: fix list of "updated in" versions in function string_eval_expression (plugin API reference) 2019-11-04 18:59:32 +01:00
Sébastien Helleu 4f7a51f72b core: fix sentence in release notes 2019-11-03 21:10:48 +01:00
Sébastien Helleu 6507544947 irc: fix typo and examples in /help server 2019-11-03 14:54:45 +01:00
Nils Görs cdcbdc94e0 core: update German translations 2019-11-03 14:48:43 +01:00
Sébastien Helleu 10f85df867 irc: set raw filter to "*" if local variable "filter" was not set after /upgrade on raw buffer 2019-11-03 09:55:09 +01:00
Sébastien Helleu 7e07954fbf irc: restore irc raw filter after /upgrade (issue #1000) 2019-11-03 09:28:16 +01:00
Sébastien Helleu 015ae4a94b irc: add filters on raw buffer (closes #1000) 2019-11-03 09:01:44 +01:00
Sébastien Helleu 4a86ab55d8 fset: add comment on filter by evaluated expression 2019-10-30 19:41:56 +01:00
Sébastien Helleu 7cac32fc1f fset: fix filter variable used to match filter string 2019-10-30 19:41:31 +01:00
Sébastien Helleu c6161d0e4a plugins: sort options added in configuration sections 2019-10-23 19:45:06 +02:00
Sébastien Helleu ecc7edda9e core: optimize search of options in configuration sections
Since options are sorted in sections, it is faster to search from the last
option to the first one.

For configuration files with many options in a single section (like
plugins.conf), the load of configuration file is about 2 to 3x faster.
2019-10-23 19:45:06 +02:00
Sébastien Helleu fbc9faed42 doc: add keys to type for the example message with color codes (user's guide) 2019-10-22 07:54:50 +02:00
Sébastien Helleu c99889cb15 core: fix typo in French translation of /help fset 2019-10-21 19:14:31 +02:00
Sébastien Helleu f85f097c25 debian: disable javascript plugin on Ubuntu Focal 2019-10-20 21:27:21 +02:00
Sébastien Helleu 5d4220a91f core: fix scrolling up in bare mode when switched to bare mode at the top of the buffer (closes #899, issue #978) 2019-10-14 20:44:15 +02:00
Sébastien Helleu 7e6d933d74 doc: update German auto-generated file 2019-10-13 21:05:32 +02:00
Nils Görs 92853e1b47 core: update German translations 2019-10-13 18:54:48 +02:00
Sébastien Helleu 577a932201 core: add info about Python 3 and strings in release notes 2019-10-13 08:18:38 +02:00
Sébastien Helleu 899550ca94 doc: fix typo in scripting guide 2019-10-13 08:18:30 +02:00
Sébastien Helleu ab6a991de2 doc: fix language in links to plugin API reference (scripting guide) 2019-10-12 23:26:16 +02:00
Sébastien Helleu 2dbc283023 doc: add links on signals and hsignals (plugin API reference) 2019-10-12 23:17:33 +02:00
Sébastien Helleu 513f5a1ee7 python: send "bytes" instead of "str" to callbacks in Python 3 when the string is not UTF-8 valid (issue #1220, closes #1389) 2019-10-12 22:21:48 +02:00
Sébastien Helleu 8fc8f728d4 core: add reverse of string for screen in evaluation of expressions with "revscr:" 2019-10-12 20:14:36 +02:00
Sébastien Helleu 9535f4a70b doc: update German auto-generated file 2019-10-11 22:45:08 +02:00
Nils Görs f85adf5cf1 core: update German translations 2019-10-11 22:41:19 +02:00
Sébastien Helleu 876a0a1609 irc: add option irc.look.display_pv_warning_address (closes #892)
If the address of remote nick changes in a private buffer, a warning is
displayed.
2019-10-11 20:26:34 +02:00
Sébastien Helleu 1dda5ffd02 doc: add value -1 for notify level in function hook_line (plugin API reference) 2019-10-10 18:39:31 +02:00
Sébastien Helleu dc9964ccc6 irc: add server option "ssl_password" (issue #115, issue #1416) 2019-10-09 21:40:43 +02:00
Sébastien Helleu 37415e61d5 core: update translations (issue #115, issue #1416) 2019-10-09 21:39:25 +02:00
Simmo Saan 116150c2fc irc: add server option ssl_password for SSL certificate private key password (closes #115) 2019-10-09 21:37:41 +02:00
Sébastien Helleu 5398f5d566 irc: fix compiler warning on uninitialized variable 2019-10-09 07:17:32 +02:00
Nils Görs 02c63beef9 core: add German translations in weechat.desktop 2019-10-08 20:54:25 +02:00
Sébastien Helleu 6619219297 doc: add value -1 for notify level in trigger of type line (user's guide) 2019-10-08 20:30:59 +02:00
Sébastien Helleu 6fa0f49a28 core: update ChangeLog (issue #982, issue #408) 2019-10-07 21:06:55 +02:00