Sébastien Helleu
3a03184d7a
irc: mention /filter command in /help irc.look.smart_filter
2019-11-15 08:38:40 +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
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
6507544947
irc: fix typo and examples in /help server
2019-11-03 14:54:45 +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
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
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
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
Sébastien Helleu
53360a7909
logger: fix write in log file if it has been deleted or renamed ( closes #123 )
2019-10-06 13:36:35 +02:00
Sébastien Helleu
587f5bf15b
irc: use path from option xfer.file.upload_path to complete filename in command "/dcc send" ( closes #60 )
2019-10-06 09:38:52 +02:00
Sébastien Helleu
1a0ba4a9dc
api: add modifier "eval_path_home" (issue #60 )
2019-10-06 09:06:55 +02:00
Sébastien Helleu
e921b9f432
core: fix comments on modifier callback functions in plugin API
2019-10-06 08:56:12 +02:00
Sébastien Helleu
3c0bdc18f3
xfer: add option xfer.file.download_temporary_suffix with default value ".part" ( closes #1237 )
2019-10-05 18:11:39 +02:00
Sébastien Helleu
6c23f632b1
xfer: fix memory leak when a xfer is freed and when the plugin is unloaded
2019-10-05 17:49:07 +02:00
Sébastien Helleu
3e189fa60d
irc: fix typo in /help links
2019-10-04 20:44:09 +02:00
Sébastien Helleu
70fd722278
logger: add option logger.file.color_lines ( closes #528 , closes #621 )
2019-10-02 20:44:12 +02:00
Sébastien Helleu
e386965aba
api: add modifier "color_encode_ansi" (issue #528 )
2019-10-01 18:31:41 +02:00
Sébastien Helleu
daad558291
core: fix typos in comments
2019-10-01 18:31:41 +02:00
Sébastien Helleu
baf8f635ff
core: fix style in CMake files
2019-10-01 18:31:41 +02:00
Sébastien Helleu
ae38b11407
irc: add "user" in output of irc_message_parse ( closes #136 )
2019-09-27 20:52:00 +02:00
Sébastien Helleu
3f33b327b1
logger: move logger backlog functions to logger-backlog.c
2019-09-26 21:26:23 +02:00
Simmo Saan
e437613acb
irc: add separate options for kick/kill message coloring ( closes #683 )
...
Add new options irc.color.message_kick and irc.color.reason_kick to be used
for coloring KICK and KILL messages.
2019-09-23 21:22:49 +02:00
Sébastien Helleu
39b6fb6137
irc: remove option irc.network.channel_encode, add server option "charset_message" ( closes #832 )
...
This new option controls which part of the IRC message is decoded/encoded to
the target charset, and the new default behavior is to decode/encode the whole
IRC message (behavior in WeeChat >= 1.3 was to decode/encode only the text by
default).
2019-09-22 20:41:00 +02:00
Sébastien Helleu
afce4804f5
guile: disable "/guile eval" as this does not (yet) work with Guile >= 2.2 (issue #1098 )
2019-09-21 14:48:09 +02:00
Sébastien Helleu
387a44f5ec
guile: add support of Guile 2.2 (issue #1098 )
2019-09-21 14:48:05 +02:00
Sébastien Helleu
85f6c5eeda
script: add options "-ol" and "-il" in command /script, display "No scripts loaded" if no scripts are loaded
2019-09-19 21:20:55 +02:00
Sébastien Helleu
63a05d72d9
buflist: fix extra spaces between buffers when conditions are used to hide buffers ( closes #1403 )
...
This is a regression introduced in version 2.6 by commit
bf21ca072d .
2019-09-17 21:21:28 +02:00
Sébastien Helleu
bff40e4c26
core: display an error on missing dependency in CMake ( closes #916 , closes #956 )
2019-09-15 07:49:03 +02:00
Sébastien Helleu
8bb4549494
core: fix compilation of Python plugin on FreeBSD 12.0 ( closes #1398 )
2019-08-31 14:13:58 +02:00
Sébastien Helleu
68d6f1b415
api: add infos "term_colors" and "term_color_pairs"
2019-08-25 19:10:32 +02:00
Sébastien Helleu
f0685dd1b1
ruby: remove unused variable "ruby_hide_errors"
2019-08-25 07:14:42 +02:00
Sébastien Helleu
bad8db720e
irc: fix parsing of message 346, 348 and 728 when there is a colon before the timestamp (issue #1396 )
...
IRC Messages:
- 346: invite list
- 348: exception list
- 728: quiet list
2019-08-24 07:19:01 +02:00
Sébastien Helleu
61c5d08320
fset: add filters "h=xxx" and "he=xxx" to filter options by description (translated or in English)
2019-08-24 07:13:34 +02:00
iwalkalone
1e7232b8c2
irc: fix parsing of message 367 (banlist) when there is a colon before the timestamp ( closes #1396 )
2019-08-21 08:21:07 +02:00
Sébastien Helleu
21dca71ee0
ruby: fix compilation with Ruby < 2.3
2019-08-20 07:57:01 +02:00
Sébastien Helleu
156d855787
ruby: fix conversion of big integers on 32bit architecture ( closes #1395 )
2019-08-19 23:21:12 +02:00
Sébastien Helleu
bf21ca072d
buflist: use extra variables in option buflist.look.display_conditions ( closes #1393 )
2019-08-17 08:57:40 +02:00
Sébastien Helleu
a3e8163f37
Revert "buflist: mention variables available for option buflist.look.display_conditions in its help and in /help buflist ( closes #1393 )"
...
This reverts commit 39e5b0574c .
2019-08-17 08:43:22 +02:00
Sébastien Helleu
39e5b0574c
buflist: mention variables available for option buflist.look.display_conditions in its help and in /help buflist ( closes #1393 )
2019-08-17 08:17:11 +02:00
Andrew Potter
0957231d30
api: add function list_user_data (issue #666 )
2019-08-10 12:55:43 +02:00
Sébastien Helleu
5f1b895f27
irc: replace calls to strcpy and strcat with a call to snprintf
2019-08-10 11:20:43 +02:00
Sébastien Helleu
dfcbb6b058
irc: rename variable vars_replaced to command2, remove fallback on *ptr_command
2019-08-10 11:16:21 +02:00
Sébastien Helleu
dd133af522
Merge remote-tracking branch 'origin/pr/615'
2019-08-10 11:12:13 +02:00
Sébastien Helleu
210e864899
irc: fix memory leak when removing a server
2019-08-05 20:58:24 +02:00