Sébastien Helleu
cf702d541f
api: change type of parameter "pos_option_name" to "const char **" in function config_search_with_string
2026-06-15 07:29:33 +02:00
Sébastien Helleu
a8067751eb
doc/plugin: fix parameters of mkdir functions
...
The directory parameter is always `const char *` and not `char *`.
2026-06-15 07:29:28 +02:00
Sébastien Helleu
551c12e049
relay/api: add resource GET /api/scripts
2026-06-08 23:04:40 +02:00
Sébastien Helleu
befbcceb7f
relay/api: add field "last_read_line_id" in GET /api/buffers
2026-06-06 07:04:46 +02:00
Sébastien Helleu
bf7b8484cd
doc: switch syntax highlighting to automatic light/dark theme with bevel on code blocks
...
Syntax highlighting now follows the user's `prefers-color-scheme`:
- Light theme uses the pygments `default` style, embedded by Asciidoctor as before.
- Dark theme uses the pygments `monokai` style, generated at CMake
configure time via `pygmentize` and injected into the docinfo through a
`@PYGMENTS_DARK_CSS@` placeholder, scoped under
`@media (prefers-color-scheme: dark)`.
To support template substitution, `doc/docinfo.html` is renamed to
`docinfo.html.in` and produced into the build directory via
`configure_file`; all HTML targets now depend on the generated docinfo
and the `docinfodir` attribute points to the binary dir.
Code blocks also gain a subtle 3D bevel:
- `pre` borders use theme-specific bevel colors (`--pre-bevel-light` on
top/left, `--pre-bevel-dark` on bottom/right) for a raised look in both
themes.
- A shared `--pre-bevel-bg` surface color is applied to literalblock,
listingblock and `pre.pygments`, so all code blocks sit on the same
background regardless of the pygments style.
- `pre { line-height: 1.25 }` is forced to keep line spacing consistent
between light (Asciidoctor base `1.45`) and dark (pygments `125%`).
`python3-pygments` is added to the documented build dependencies (the
`pygmentize` binary it provides is required at configure time).
2026-05-24 16:46:36 +02:00
Ivan Pešić
14d544be39
core: update Serbian translation ( #2318 )
2026-05-12 22:40:12 +02:00
Sébastien Helleu
f53e7fb9ef
core, plugins: fix typos in comments on functions, use imperative
2026-03-23 20:45:36 +01:00
Sébastien Helleu
916c59d8f0
doc/faq: fix key to search text in current buffer
...
Since WeeChat 4.2.0, Ctrl+r has been replaced by Ctrl+s.
2026-03-13 21:57:12 +01:00
Sébastien Helleu
106fe6ca7c
core: update copyright dates
2026-03-08 10:37:15 +01:00
Sébastien Helleu
eb0b01f62a
core: move functions on command-line arguments to a separate source
2026-03-07 12:47:11 +01:00
Ivan Pešić
3c11e09c30
core/doc: update Serbian translation
2026-01-16 13:39:36 +01:00
Ivan Pešić
c9c402d202
core/doc: update Serbian translation
2025-11-24 11:40:36 +01:00
Sébastien Helleu
e261cadce3
doc/api: add "error_code" and "error_code_pthread" in hook_url output hashtable (issue #2284 )
2025-11-15 17:29:08 +01:00
Sébastien Helleu
1c53d3d466
api: add functions to parse integer numbers
...
New functions:
- util_parse_int
- util_parse_long
- util_parse_longlong
2025-11-12 20:24:00 +01:00
Sébastien Helleu
b18190b4c0
doc/quickstart: add link to key bindings in user's guide
2025-11-12 13:35:52 +01:00
Sébastien Helleu
07ef353b1b
irc: remove temporary servers and option irc.look.temporary_servers
2025-11-01 09:15:54 +01:00
Ivan Pešić
ae5b74549c
core: update Serbian translations
...
Update Serbian messages and documentation translations.
2025-09-23 12:46:01 +02:00
Sébastien Helleu
665773b119
doc/api: add supported date/time format in function util_parse_time
2025-08-31 12:15:33 +02:00
Sébastien Helleu
7980a6d100
api: add support of date like ISO 8601 but with spaces in function util_parse_time
...
So for example the format "2024-01-04 22:01:02.123456 +0100" is supported in
addition to ""2024-01-04T22:01:02.123456+0100".
2025-08-31 12:15:33 +02:00
Ivan Pešić
be8e94f3cd
core: update Serbian translations
2025-07-13 22:19:17 +02:00
Sébastien Helleu
0407a08888
doc/api: fix invalid cross references
2025-05-20 20:56:02 +02:00
Sébastien Helleu
ff3fd38086
doc/user: fix invalid cross references
2025-05-20 20:53:56 +02:00
Sébastien Helleu
8106db400d
core: add support of specifier %@ for UTC time in function util_strftimeval
2025-05-18 22:15:06 +02:00
Sébastien Helleu
b32f8662bc
doc/dev: split components for tests: tests/fuzz and tests/unit
2025-05-09 08:15:28 +02:00
Sébastien Helleu
f9520b971e
tests/fuzz: add fuzz testing on secured data functions (issue #1462 )
2025-05-09 08:15:28 +02:00
Sébastien Helleu
58a4dc757d
doc/dev: add missing test files
2025-05-08 20:49:04 +02:00
Sébastien Helleu
2bc290b6ed
core: fix integer overflow and return "unsigned long" in function util_version_number
2025-05-08 18:45:39 +02:00
Sébastien Helleu
51d24fd2da
api: add function file_compare (issue #2250 )
2025-05-07 20:44:48 +02:00
Sébastien Helleu
68d87f2b80
tests: add fuzz testing on core functions (issue #1462 )
...
This commit introduces fuzz testing, for now on core functions, with 4 new
targets that are built on demand with CMake option `ENABLE_FUZZ` (build of
these tests is disabled by default):
- weechat_core_calc_fuzzer
- weechat_core_crypto_fuzzer
- weechat_core_string_fuzzer
- weechat_core_utf8_fuzzer
2025-05-05 19:12:00 +02:00
Sébastien Helleu
59b06c96de
doc/dev: add missing tests directories and sources
2025-05-05 13:18:35 +02:00
Sébastien Helleu
a1cbe63a42
tests: move CMake file, main C++/headers for tests and scripts to unit directory
2025-05-05 13:18:34 +02:00
Sébastien Helleu
4d130d6b06
doc: move copyright/license headers at the top of the asciidoctor attributes files
2025-04-26 14:54:26 +02:00
Sébastien Helleu
b2a5d5995b
doc: move copyright/license headers at the top of the files
2025-04-26 14:10:48 +02:00
Sébastien Helleu
683fa2f585
irc: add support of strikethrough color attribute (using half bright) ( closes #2248 )
...
As ncurses doesn't support strikethrough, the text is rendered as half
bright (WeeChat color: "dim").
2025-04-26 14:10:43 +02:00
Sébastien Helleu
32e3e76dd3
doc/dev: add REUSE ignore tags
2025-04-22 20:54:33 +02:00
Sébastien Helleu
a336a26fc6
doc/man: add REUSE ignore tags
2025-04-22 20:53:50 +02:00
Ivan Pešić
286122b0c3
doc: update Serbian documentation
2025-04-19 13:53:32 +02:00
Sébastien Helleu
d0babe8679
core: add refresh of window title on buffer switch, when option weechat.look.window_title is set
2025-04-11 19:30:32 +02:00
Sébastien Helleu
b0cfdeff94
doc/dev: add copyright and license information (SPDX / REUSE)
2025-03-31 12:09:21 +02:00
Sébastien Helleu
2475f20cb7
all: move description of C files below the copyright and license
2025-03-31 11:47:49 +02:00
Sébastien Helleu
3a6ac9ee76
all: add SPDX license tag
2025-03-31 07:49:26 +02:00
Sébastien Helleu
cf3e24cda8
doc: add SPDX copyright tag in docs
2025-03-30 14:47:12 +02:00
Sébastien Helleu
d8987a1678
all: replace Copyright lines by SPDX copyright tag
2025-03-30 14:47:12 +02:00
Ivan Pešić
7ca62883cf
core: update Serbian translation
2025-03-28 07:50:16 +01:00
Sébastien Helleu
95366c37b7
doc/api: add reference to function hook_process
2025-03-09 09:40:46 +01:00
Sébastien Helleu
80bb54fed8
doc/api: add difference between hook_url and hook_process_hashtable
2025-03-09 09:31:36 +01:00
Sébastien Helleu
c7d21a3ea6
api: add function completion_set
2025-02-15 23:22:44 +01:00
Sébastien Helleu
e89d6d69ad
api: add property keep_spaces_right in function hook_set to keep trailing spaces in command arguments
2025-02-15 20:54:24 +01:00
Ivan Pešić
8e9692809d
core: update Serbian translations
2025-02-12 16:10:38 +01:00
Sébastien Helleu
ca6e483cdc
relay/api: add a way to toggle between remote and local command execution on remote buffers (issue #2148 )
...
New default key:
- Alt+Ctrl+l (L): toggle execution of commands: remote/local
New options:
- relay.api.remote_input_cmd_local: text displayed for command executed locally
- relay.api.remote_input_cmd_remote: text displayed for command executed on the
remote WeeChat
2025-02-09 18:31:37 +01:00