Sébastien Helleu
e6a3d08704
buflist, irc, xfer: do not translate "cleartext" in buffer local variable "tls_version" (issue #1622 )
...
The text "cleartext" is translated for display only: directly with gettext in
IRC plugin and with "${translate:${tls_version}}" in the buflist evaluated
format.
2021-05-16 10:01:07 +02:00
Sébastien Helleu
7e10038f4b
core: update translations (issue #1622 )
2021-05-16 10:00:57 +02:00
Andrew Potter
94c902adfc
irc, buflist: add bar item "tls_version" with options for colors, add buflist format "${format_tls_version}" (issue #1622 )
2021-05-16 10:00:30 +02:00
Sébastien Helleu
4f606ceb64
buflist: improve help on option buflist.look.sort
2021-03-21 09:34:40 +01:00
Trygve Aaberge
6b23d855d8
buflist: Fix wrong pointers being used in hdata_compare
...
This used pointer1 and pointer2 which are pointers to the buffers, but
it should use ptr_hotlist1 and ptr_hotlist1 which are pointers to the
hotlists it is trying to compare.
2021-03-21 08:59:37 +01:00
Sébastien Helleu
35b5adbc4c
buflist: always add buflist bar when plugin is loaded, hide bar by default if buflist is disabled (issue #1618 )
2021-03-14 10:55:48 +01:00
Sébastien Helleu
a4440ba8e5
buflist: add buflist bar on configuration reload (issue #1618 )
2021-03-14 10:55:24 +01:00
Sébastien Helleu
630fe0581f
buflist: add option buflist.look.use_items to speed up display of buflist ( closes #1613 )
2021-02-09 20:34:56 +01:00
Sébastien Helleu
efc7a588d6
core: update copyright dates
2021-01-02 21:34:16 +01:00
Sébastien Helleu
cfd221014c
api: add argument "bytes" in function string_dyn_concat
2020-08-23 23:27:57 +02:00
Sébastien Helleu
b0ecbdbf1d
core: add bar option "color_bg_inactive" (issue #732 )
2020-06-21 18:59:54 +02:00
Sébastien Helleu
99a324b76f
buflist: add "window" pointer in bar item evaluation only if it's not NULL (if bar type is "window")
2020-06-10 20:39:07 +02:00
Sébastien Helleu
0abd0292da
buflist: add default key alt-shift-B to toggle buflist
2020-04-24 22:44:13 +02:00
Sébastien Helleu
916c22a3d0
buflist: add options enable/disable/toggle in command /buflist
2020-04-24 22:39:44 +02:00
Sébastien Helleu
fdd39c6b97
buflist: evaluate option buflist.look.sort ( closes #1465 )
...
The evaluation allows to use different sort for the bar items, for example with
such value:
${if:${bar_item.name}==buflist?number:short_name}
This sorts by number on the first bar item and by short name on the two other
bar items.
2020-04-06 20:49:17 +02:00
Sébastien Helleu
feb6258910
core: update copyright dates
2020-01-04 10:41:26 +01:00
Sébastien Helleu
481da803cb
buflist: add pointer "window" in bar item evaluation
2019-12-26 22:44:19 +01:00
Sébastien Helleu
c6161d0e4a
plugins: sort options added in configuration sections
2019-10-23 19:45:06 +02:00
Sébastien Helleu
baf8f635ff
core: fix style in CMake files
2019-10-01 18:31:41 +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
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
Sébastien Helleu
5eeb98e40c
buflist: use existing variable buflist_hdata_buffer to check buffer pointers in infolist "buflist"
2019-07-13 22:16:25 +02:00
Sébastien Helleu
643376fc1d
core: update translations (issue #1375 )
2019-07-11 07:30:01 +02:00
Sébastien Helleu
ccaf99ff40
buflist: check validity of buffer pointers in info "buflist" (issue #1375 )
2019-07-11 07:29:54 +02:00
Simmo Saan
0fdf2c13a5
buflist: add infolist "buflist" (issue #1375 )
2019-07-11 07:29:46 +02:00
Sébastien Helleu
9178156354
api: add argument "strip_items" in function string_split
2019-06-15 20:47:14 +02:00
Ryan Farley
8df3ad3d26
cmake: allow custom libdir ( fix #1341 )
...
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-25 16:53:55 -05:00
Sébastien Helleu
2612adf899
core: add CMake option "ENABLE_CODE_COVERAGE" to compile with code coverage options
...
This option is OFF by default and should be enabled only for tests, to measure
test coverage.
2019-03-24 09:38:43 +01:00
Sébastien Helleu
2b70d71aa1
core: replace argument "keep_eol" by "flags" in function string_split ( closes #1322 )
2019-03-10 18:29:16 +01:00
Sébastien Helleu
ada2994062
buflist: add alternate key codes for alt-F1/alt-F2 (xterm)
2019-01-20 01:33:47 +01:00
Sébastien Helleu
a199d243ca
buflist: fix typo on key code for ctrl-F2
2019-01-20 01:32:09 +01:00
Sébastien Helleu
e847068a3c
buflist: add default keys ctrl-F1/F2 to scroll up/down one page in buflist (same action as F1/F2)
2019-01-20 01:29:33 +01:00
Sébastien Helleu
09a124c226
buflist: add alternate key codes for F1/F2 and alt-F1/alt-F2 (compatibility with terminals)
2019-01-20 01:09:26 +01:00
Sébastien Helleu
2b0057239b
core: update copyright dates
2019-01-01 15:40:51 +01:00
Sébastien Helleu
4712d0bb06
core: use https for links to GNU GPL license
2018-11-29 23:16:07 +01:00
Sébastien Helleu
6cdcebed8c
buflist: add variable ${number2}, always set with the indented buffer number
2018-11-05 22:21:03 +01:00
Sébastien Helleu
3f067f2065
buflist: fix warning displayed when script buffers.pl is loaded ( closes #1274 )
2018-10-27 08:52:20 +02:00
Sébastien Helleu
8abd05fe3d
core: replace "long unsigned int" by "unsigned long"
2018-10-01 22:21:25 +02:00
Sébastien Helleu
7bd8fb4686
buflist: fix crash when setting the option buflist.look.signals_refresh with a list of signals
2018-07-10 20:30:10 +02:00
Sébastien Helleu
0f8485f54e
buflist: add example of format for two bar items using a ternary operator in /help buflist.format.buffer
2018-05-19 14:47:59 +02:00
Sébastien Helleu
ec169f535d
core: reinitialize config file pointer to NULL after an error on section creation
2018-01-14 21:47:18 +01:00
Sébastien Helleu
7ee88fb46c
core: fix some styles
2018-01-07 09:11:45 +01:00
Sébastien Helleu
ed4837b2f6
core: update copyright dates
2018-01-05 00:54:18 +01:00
Sébastien Helleu
e4580a731b
buflist: use larger buffer for buflist bar item name
2017-12-03 11:04:28 +01:00
Sébastien Helleu
534dda9094
buflist: add two new bar items using the same format configuration options ( closes #990 )
2017-10-19 21:51:00 +02:00
Sébastien Helleu
8c046d9be9
buflist: remove recursive evaluation of extra variables ( closes #1060 )
2017-09-02 14:00:20 +02:00
Sébastien Helleu
aeeec38d6f
core: fix cast of time_t (to "long long" instead of "long") ( closes #1051 )
2017-08-12 18:36:45 +02:00
Sébastien Helleu
9bad3f44db
core: remove value for first #define in headers, add "PLUGIN" in plugin headers
2017-08-10 20:05:16 +02:00