Sébastien Helleu
3eed74a75c
plugins: remove check of NULL pointers before calling weechat_arraylist_free() (issue #865 )
2024-04-26 07:37:22 +02:00
Sébastien Helleu
c3750a02e3
buflist: remove check of NULL pointers before calling free() (issue #865 )
2024-04-25 20:58:31 +02:00
Sébastien Helleu
965beb37de
core: fix print of pointer values
2024-04-01 21:08:52 +02:00
Sébastien Helleu
29b502a06a
buflist: fix help on option buflist.look.sort (issue #2097 )
2024-03-16 14:14:28 +01:00
Sébastien Helleu
9e0dd18152
api: add function "hdata_longlong" (issue #2081 )
2024-03-12 20:37:11 +01:00
Trygve Aaberge
e02ee703f0
docs: fix some typos in documentation and comments
2024-02-23 08:21:49 +01:00
Sébastien Helleu
eecb2a997e
core: update copyright dates
2024-01-01 22:29:58 +01:00
Sébastien Helleu
75dc8b9d6c
core: fix crash on plugin reload when using musl libs ( closes #2052 )
2023-12-15 22:53:51 +01:00
Sébastien Helleu
7b86f31764
buflist: jump to previous/next buffer displayed in buflist item with ctrl+wheel up/down on a buflist item ( closes #1473 )
2023-11-11 21:04:21 +01:00
Sébastien Helleu
6d69cde186
core, plugins: set error to NULL before calling strtol()
...
This is not strictly necessary, just in case the function strtol() doesn't
update the pointer.
2023-11-01 09:53:38 +01:00
Sébastien Helleu
cfa5f3324a
buflist: format and translate command line by line (issue #2005 )
2023-10-17 18:14:54 +02:00
Sébastien Helleu
879a548bea
buflist: rename completions with items
...
Completions renamed:
- "buflist_all_items" -> "buflist_items"
- "buflist_used_items" -> "buflist_items_used"
2023-10-01 12:14:03 +02:00
Sébastien Helleu
e928bce76c
buflist: add support of item names in command /buflist refresh
2023-10-01 09:58:19 +02:00
Sébastien Helleu
79d0a134e3
buflist: add missing items buflist4 and buflist5 in help on command/options and user's guide
2023-09-11 07:55:54 +02:00
Sébastien Helleu
6def0cf502
buflist: add list buffer in /help buflist and /help buflist.format.indent
2023-08-20 21:00:33 +02:00
Sébastien Helleu
6969b9b2b8
buflist: indent the /list buffer
2023-08-20 20:54:24 +02:00
Sébastien Helleu
d7a6fcba5f
buflist: increase max number of buflist items from 3 to 5 ( closes #1703 )
2023-07-04 22:03:05 +02:00
Sébastien Helleu
6415c09a07
core: add quotes around paths in CMake files ( closes #29 )
2023-05-13 11:59:18 +02:00
Sébastien Helleu
875d6e7e6f
buflist: change default background color of current buffer (issue #1920 )
...
Default value changed:
- buflist.format.buffer_current: "${color:,blue}${format_buffer}" ->
"${color:,17}${format_buffer}"
2023-04-26 21:08:00 +02:00
Sébastien Helleu
3a9ac529d5
buflist: update example in /help buflist.look.sort
2023-04-22 08:06:33 +02:00
Sébastien Helleu
731c2d66bc
buflist: add example to sort on hotlist activity in /help buflist.look.sort
2023-04-21 21:15:45 +02:00
Sébastien Helleu
4aabe8681f
core, plugins: set options to NULL by default, refactor config init functions
2023-04-01 20:56:11 +02:00
Sébastien Helleu
46ce8d7e81
buflist: do not display keys added in default context on first load
...
Keys added in mouse context were already hidden, so it makes sense to not
display keys in default context as well.
These keys added by the default plugins are documented anyway.
2023-03-16 20:42:19 +01:00
Sébastien Helleu
1f5c791c37
core: use new key name in command /key and configuration file
...
Legacy keys are automatically converted to new names when loading configuration
file `weechat.conf`.
Examples:
"ctrl-I" => "tab"
"meta2-1;3A" => "meta-up"
"meta2-Z" => "shift-tab"
"meta-wmeta-meta2-A" => "meta-w,meta-up"
"ctrl-Cb" => "ctrl-c,b"
2023-03-16 20:42:19 +01:00
Sébastien Helleu
fd746a04d6
core: force ctrl keys to lower case when they are added ( closes #1875 )
2023-01-29 12:41:28 +01:00
Sébastien Helleu
fa6a9bb934
api: readjust string size in function string_dyn_free when string is not freed (issue #1875 )
...
This frees some allocated memory if size_alloc was greater than size in the
dynamic string.
2023-01-29 12:41:19 +01:00
Sébastien Helleu
f0415c8ec3
core, plugins: make commands, hook command_run, completions and aliases case sensitive (issue #1872 )
2023-01-28 15:13:48 +01:00
Sébastien Helleu
202b4d82c0
plugins: set priority in calls to weechat_config_new (issue #1872 )
2023-01-28 15:13:34 +01:00
Sébastien Helleu
754ab33946
core: remove build with autotools
...
CMake is now the only way to build WeeChat.
2023-01-08 14:19:41 +01:00
Sébastien Helleu
33bba784c3
core: update copyright dates
2023-01-01 14:54:35 +01:00
Sébastien Helleu
c9796a3141
core: move /input jump actions to command /buffer jump
...
Actions moved to command `/buffer jump`:
* `/input jump_smart` -> `/buffer jump smart`
* `/input jump_previously_visited_buffer` -> `/buffer jump prev_visited`
* `/input jump_next_visited_buffer` -> `/buffer jump next_visited`
* `/input jump_last_buffer_displayed` -> `/buffer jump last_displayed`
2022-12-25 17:00:37 +01:00
Sébastien Helleu
fb14e67364
buflist: improve help on option buflist.look.enabled
2022-08-15 14:43:25 +02:00
Sébastien Helleu
e77ea9dc26
buflist: add variable "${hotlist_priority_number}" (integer version of "${hotlist_priority}")
2022-07-31 09:58:29 +02:00
Sébastien Helleu
07b54a9932
buflist: fix memory leak when reading config and changing option buflist.look.sort
2022-04-16 20:24:24 +02:00
Sébastien Helleu
c44b79dce7
core: update copyright dates
2022-01-17 18:41:06 +01:00
Sébastien Helleu
dccf605e66
typing: add typing plugin
2021-07-04 13:27:32 +02:00
Sébastien Helleu
e5f58b77c1
core, buflist, irc, relay: replace freenode by libera in comments
2021-05-25 13:39:55 +02:00
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