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
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
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
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
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
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
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
a336a26fc6
doc/man: add REUSE ignore tags
2025-04-22 20:53:50 +02:00
Sébastien Helleu
0835d043de
doc/api: fix typo in description of function hook_url
2025-04-12 12:20:59 +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
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
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
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
Sébastien Helleu
547e2b934e
core: update copyright dates
2025-02-01 23:13:18 +01:00
Sébastien Helleu
244595d94f
api: add support of flags in functions hook_signal_send and hook_hsignal_send
...
For now the only supported flag is:
- "stop_on_error": stop execution of callbacks immediately after an
error (ie return code of callback is WEECHAT_RC_ERROR) and return this code
(by default execute all callbacks and return the last return code, or return
WEECHAT_RC_EAT immediately if a callback returns this)
Example:
hook_signal_send("[flags:stop_on_error]my_signal", WEECHAT_HOOK_SIGNAL_STRING, "test");
2024-11-24 10:29:32 +01:00
Sébastien Helleu
3fd298bfbe
doc/user: update command to enable download of scripts
2024-11-16 22:41:56 +01:00
Sébastien Helleu
7c1586e8ff
doc/user: translate example of script buffer
2024-11-16 22:41:56 +01:00
Sébastien Helleu
1c30fe9b0a
doc/user: translate example of fset buffer
2024-11-16 22:41:56 +01:00
Sébastien Helleu
9c016af6fb
doc/user: fix options displayed in /fset libera
2024-11-16 22:41:56 +01:00
Sébastien Helleu
08d5839fa1
doc/user: remove default port and option -tls from example of command /server add
2024-11-16 22:41:56 +01:00
Sébastien Helleu
2dea224a38
api: add property hotlist_conditions in function buffer_set
2024-10-31 22:08:13 +01:00
Sébastien Helleu
945782195f
doc: replace some "warning" by "caution"
2024-10-30 00:30:19 +01:00
Sébastien Helleu
d83167b586
doc: replace font-awesome icons by translated captions
...
This removes use of a remote CDN (Cloudflare), as font-awesome is no longer
used.
2024-10-30 00:06:22 +01:00
Sébastien Helleu
4503dbb013
doc: rename git branch master to main in URLs
2024-10-15 16:54:16 +02:00
Sébastien Helleu
bca7c7438a
api: add special value - (hyphen-minus) in options of function command_options to prevent execution of commands (issue #2199 )
2024-10-13 11:15:10 +02:00
Sébastien Helleu
ffd7cc90fb
doc/api: fix Python example of function command_options
2024-10-08 07:12:55 +02:00
Sébastien Helleu
94312b6622
doc/user: add missing bar items in chapter "Screen layout"
2024-10-01 07:32:43 +02:00
Josh Soref
57b19b6c74
spelling: traffic
...
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com >
2024-09-28 21:22:56 +02:00
Josh Soref
358b8ad2a6
spelling: sensitive
...
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com >
2024-09-28 21:22:56 +02:00
Josh Soref
9e5bfd70a8
spelling: macOS
...
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com >
2024-09-28 21:22:55 +02:00
Josh Soref
4c68c4cd48
spelling: hashtable
...
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com >
2024-09-28 18:22:41 +02:00
Josh Soref
c28696e602
spelling: case-sensitive
...
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com >
2024-09-28 18:22:41 +02:00
Josh Soref
0505a0ff76
spelling: case-insensitive
...
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com >
2024-09-28 18:22:41 +02:00
Josh Soref
4ef3011ea9
spelling: cannot
...
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com >
2024-09-28 18:22:02 +02:00
Josh Soref
08895863d9
spelling: callbacks
...
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com >
2024-09-28 18:20:02 +02:00
Josh Soref
17381d983f
spelling: autoconnect
...
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com >
2024-09-28 18:20:02 +02:00