Nils Görs
a7f8c32797
core: update German translations
2024-03-25 11:44:01 +01:00
Sébastien Helleu
9bc4352089
core: fix tests on function strftimeval on Alpine
2024-03-24 20:56:29 +01:00
Sébastien Helleu
907643bc9c
core: add option weechat.completion.case_sensitive
2024-03-24 15:40:06 +01:00
Sébastien Helleu
947155f325
doc/user: fix typo in trigger regex replace ${re:+}
2024-03-21 23:04:18 +01:00
Sébastien Helleu
59d8857646
doc/user: add missing ${re:#} and ${re:repl_index} in trigger regex replace
2024-03-21 22:55:28 +01:00
Sébastien Helleu
d6386cd364
doc/api: fix style in example ${re:+}
2024-03-21 22:43:35 +01:00
Nils Görs
7d5503e84b
core: update German translations
2024-03-20 09:56:19 +01:00
Sébastien Helleu
762d71012a
script: add option enable in command /script, improve error displayed when download of scripts is disabled
2024-03-19 20:45:22 +01:00
Sébastien Helleu
7aa5d718a8
core: send signal "hotlist_changed" only if the order of hotlist has changed after sort (issue #2097 )
2024-03-18 21:45:47 +01:00
Sébastien Helleu
77bc38d21d
core: reduce number of re-sort of hotlist (issue #2097 )
...
Restore original signals caught: "buffer_moved" and "buffer_closed", and the
signal "buffer_localvar_*" is added so that any local variable
added/changed/removed triggers a re-sort of hotlist.
2024-03-18 21:44:23 +01:00
Sébastien Helleu
34a72ac02e
relay/api: add GET /api/hotlist
2024-03-17 20:13:19 +01:00
Sébastien Helleu
0b0ab94aa3
tests/gui: add tests on hotlist functions
2024-03-17 15:00:00 +01:00
Sébastien Helleu
c516ff64f2
tests/scripts: make tests fail if a compiled scripting plugin fails to load
2024-03-17 13:45:39 +01:00
Sébastien Helleu
1f47e7c4f8
tests: add missing include of string.h in relay API protocol tests
2024-03-17 10:47:46 +01:00
Nils Görs
f7b8e81941
core: update German translations
2024-03-16 22:57:03 +01:00
Sébastien Helleu
e29f496a96
core: optimize sort of hotlist
...
Entries are not duplicated any more.
2024-03-16 22:25:51 +01:00
Sébastien Helleu
55203680ba
core: don't resort hotlist when signal "hotlist_changed" is sent
2024-03-16 22:25:45 +01:00
Sébastien Helleu
c05b228078
core: sort hotlist and remove buffer even while upgrading
2024-03-16 21:33:08 +01:00
Sébastien Helleu
d462667ee6
core: fix crash on /upgrade when hotlist contains buffers that are closed
2024-03-16 17:24:12 +01:00
Sébastien Helleu
8eafc0624c
core: resort hotlist on any buffer signal (issue #2097 )
2024-03-16 14:43:53 +01: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
25a317280f
core: fix typo in option weechat.look.hotlist_sort: time.usec -> time_usec (issue #2097 )
2024-03-16 14:08:07 +01:00
Sébastien Helleu
f856173e1f
core: add option weechat.look.highlight_prefix ( closes #2079 )
2024-03-16 11:32:51 +01:00
Sébastien Helleu
6f660f2430
core: add variable ${highlight} in option weechat.look.buffer_time_format (issue #2079 )
2024-03-16 09:46:55 +01:00
Sébastien Helleu
41fb29bbd0
core: convert option weechat.look.hotlist_sort to a list of fields ( closes #2097 )
2024-03-15 21:44:14 +01:00
Sébastien Helleu
ea86f75319
tests: add hdata tests with struct timeval
2024-03-15 21:32:40 +01:00
Sébastien Helleu
c98d12b4af
core: rename variables with creation time in hdata "hotlist"
...
Variables renamed:
- "creation_time.tv_sec" -> "time"
- "creation_time.tv_usec" -> "time_usec"
2024-03-15 21:32:37 +01:00
Sébastien Helleu
305b046370
core: add macro to define hdata variable with different field and name
2024-03-15 21:32:35 +01:00
Sébastien Helleu
080eecef2c
core: add missing hdata name "buffer" in hdata "hotlist"
2024-03-15 21:32:32 +01:00
Sébastien Helleu
fe01faa9ab
core: update ChangeLog (issue #2093 )
2024-03-13 13:51:22 +01:00
Trygve Aaberge
811390ebb1
core: make search_stop scroll to search start position
...
When you run /input search_stop it should scroll to the scroll position
the buffer was at before starting the search, rather than to the bottom
of the buffer.
Fixes a regression introduced in commit b83b428c5c
Fixes #2093
2024-03-13 13:50:04 +01:00
Sébastien Helleu
dd128dace8
core: update ChangeLog ( closes #1906 )
2024-03-13 13:14:40 +01:00
wfrsk
4d83adc7d8
lua: fix code style
2024-03-13 13:10:07 +01:00
wfrsk
fd541395f4
lua: do not depend on an init script + rework weechat_lua_output
2024-03-13 13:02:29 +01:00
wfrsk
97f87932fe
lua: do not load the debug library
2024-03-13 13:02:29 +01:00
wfrsk
b0581ac1f8
lua: do not depend on luaL_openlibs
2024-03-13 13:02:29 +01:00
Sébastien Helleu
3b9e2f480d
tests: reorder tests on core directory functions
2024-03-13 13:01:50 +01:00
Mario Campos
f76d236015
GUI: fix potential integer overflow bugs by casting to size_t
2024-03-13 09:09:29 +01:00
Mario Campos
1797fe18a3
fset: replace call to chmod() by fchmod() in the export function
2024-03-13 07:19:55 +01:00
Mario Campos
63733d81d8
core: open the file exclusively in compress file functions
...
This also removes the unnecessary call to access() function before the call to
fopen().
2024-03-13 07:17:02 +01:00
Mario Campos
23e0533ea1
core: remove unnecessary call to stat() in hash file function
...
The call to fopen() will fail anyway if the file doesn't exist.
2024-03-13 07:15:12 +01:00
Sébastien Helleu
24c4029c96
core: remove "wee-" prefix from source files in src/core and src/core/hook
2024-03-12 21:27:37 +01:00
Sébastien Helleu
bb346f8c6c
relay/api: replace "context" by "buffer_id" (issue #2081 )
2024-03-12 20:37:52 +01:00
Sébastien Helleu
48ca390f79
relay/api: add support of buffer id in POST /api/input (issue #2081 )
2024-03-12 20:37:51 +01:00
Sébastien Helleu
aa989767a1
relay/api: add support of buffer id in GET /api/buffers (issue #2081 )
2024-03-12 20:37:50 +01:00
Sébastien Helleu
7ad3c1979c
tests/relay/api: add buffer id in test of buffer to json function (issue #2081 )
2024-03-12 20:37:48 +01:00
Sébastien Helleu
99f0a2e002
tests/relay/api: add tests on API protocol
2024-03-12 20:37:48 +01:00
Sébastien Helleu
6325add517
tests/relay/irc: use port 9001 for server relay
2024-03-12 20:37:48 +01:00
Sébastien Helleu
e791535773
relay: add a fake send function in client
...
This will be used in unit tests to get the data that is sent to clients.
2024-03-12 20:37:48 +01:00
Sébastien Helleu
0ac377d306
relay/api: add a global variable to customize the command delay in POST /api/input
...
The user can not change this, the variable will be set to 0 in unit tests to
execute the command immediately.
2024-03-12 20:37:48 +01:00