summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2024-05-05relay/remote: synchronize input with remote relaySébastien Helleu
2024-05-05relay/api: add optional synchronization of inputSébastien Helleu
2024-05-05relay/api: add input fields in GET /api/buffersSébastien Helleu
New fields returned: - "input" (string): content of input - "input_position" (integer): position in input (starts at 0) - "input_multiline" (boolean): true if the buffer allows multiline input
2024-05-05relay/api: add parameter "lines_free" in GET /api/buffersSébastien Helleu
This parameter is the number of lines to return for buffers with free content. Its default value is `0` if "lines" is set to `0`, otherwise all buffer lines are returned.
2024-05-05relay/api: fix read of buffer lines when lines parameter is LONG_MINSébastien Helleu
2024-05-05relay/api: reply to preflight request OPTIONS received from browsers (CORS)Sébastien Helleu
This adds the support of Cross-Origin Resource Sharing (CORS) in the relay HTTP API.
2024-05-04relay/api: send all nicks when a buffer is openedSébastien Helleu
2024-05-04relay/remote: run callback based on event name instead of body typeSébastien Helleu
2024-05-04relay/remote: clear remote buffer when event "buffer_cleared" is receivedSébastien Helleu
2024-05-04relay/remote: fix close of remote bufferSébastien Helleu
2024-05-04relay/remote: fix alignment of variable in debug print to log fileSébastien Helleu
2024-05-04relay/remote: do not display error if the buffer is not found in a line/nick ↵Sébastien Helleu
event
2024-05-03relay/api: do not relay any signal received on a relay bufferSébastien Helleu
This fixes a creation of multiple fset buffers on remote when /fset is used on the server.
2024-05-03core: conditionally declare variable only used in conditional codeEli Schwartz
Avoids emitting a compiler diagnostic by default for non-NLS builds for -Wunused-variable.
2024-05-03core: remove unused headerEli Schwartz
weechat.h already handles libintl.h and defining suitable macros. Including it again does nothing other than emit a compile warning when compiling without NLS: In file included from /var/tmp/portage/net-irc/weechat-9999/work/weechat-9999/src/core/core-doc.c:35: /var/tmp/portage/net-irc/weechat-9999/work/weechat-9999/src/core/weechat.h:49: warning: "gettext" redefined 49 | #define gettext(string) (string) | In file included from /var/tmp/portage/net-irc/weechat-9999/work/weechat-9999/src/core/core-doc.c:30: /usr/include/libintl.h:109: note: this is the location of the previous definition 109 | # define gettext(msgid) dgettext (NULL, msgid)
2024-05-03core: remove unused variable "used"Sébastien Helleu
2024-05-03irc: remove unneeded parameter in call to `irc_list_alloc()`Sébastien Helleu
2024-05-02core: fix prototype of function "resizeterm" in fake ncurses interfaceSébastien Helleu
2024-05-02relay: fix use of uninitialized variable "ptr_buffer"Sébastien Helleu
2024-05-02relay: remove unused variable "i"Sébastien Helleu
2024-05-02alias: remove unused variable "args_count"Sébastien Helleu
2024-05-01core: execute command as user data for local keys in buffer (issue #2066)Sébastien Helleu
If buffer->input_get_any_user_data is set to 1, any command executed via a buffer local key is considered as user input and then sent to the buffer callback, instead of being executed directly. This is used on relay remote buffers, to execute the command on the remote instead of locally.
2024-05-01relay/remote: set buffer local keys (issue #2066)Sébastien Helleu
2024-05-01relay/api: add buffer keys in GET /api/buffers (issue #2066)Sébastien Helleu
2024-05-01core: send signal "buffer_line_added" on buffers with free content (issue #2066)Sébastien Helleu
The signal "buffer_line_added" is now sent for every line added or modified on a buffer with free content.
2024-05-01relay/remote: display lines on buffers with free content (issue #2066)Sébastien Helleu
2024-05-01relay: add option relay.api.remote_get_lines (issue #2066)Sébastien Helleu
2024-04-30relay/api: add support of nicklist in remote buffersSébastien Helleu
2024-04-29relay/api: add color names for groups and nicks in GET /api/buffersSébastien Helleu
2024-04-29relay/api: add nicklist boolean fields in GET /api/buffersSébastien Helleu
2024-04-29relay/api: rename field "nicklist" to "nicklist_root" in GET /api/buffersSébastien Helleu
2024-04-29api: allow to set nicklist group/nick id in functions nicklist_group_set and ↵Sébastien Helleu
nicklist_nick_set (issue #2081)
2024-04-29api: allow search by group and nick id in functions nicklist_search_group ↵Sébastien Helleu
and nicklist_search_nick (issue #2081)
2024-04-28core: fix `/upgrade` from previous releases (issue #2106)Sébastien Helleu
When 4 directories are received, the state directory is initialized with the data directory. This fixes the following error on `/upgrade`: Error: wrong number of paths for home directories (expected: 1 or 5, received: 4)
2024-04-28core: remove obsolete function gui_nicklist_get_max_lengthSébastien Helleu
2024-04-28core: remove unnecessary condition in function gui_nicklist_get_group_startSébastien Helleu
2024-04-28core: check that parameter name is not NULL in function ↵Sébastien Helleu
gui_nicklist_get_group_start
2024-04-28core: fix recursive search of group in nicklistSébastien Helleu
2024-04-26trigger: remove check of NULL pointers before calling trigger_free() (issue ↵Sébastien Helleu
#865)
2024-04-26script: remove check of NULL pointers before calling script_repo_free() ↵Sébastien Helleu
(issue #865)
2024-04-26relay: remove check of NULL pointers before calling ↵Sébastien Helleu
relay_websocket_deflate_free() (issue #865)
2024-04-26relay: remove check of NULL pointers before calling relay_server_free() ↵Sébastien Helleu
(issue #865)
2024-04-26relay: remove check of NULL pointers before calling ↵Sébastien Helleu
relay_http_response_free() (issue #865)
2024-04-26exec: remove check of NULL pointers before calling exec_free() (issue #865)Sébastien Helleu
2024-04-26alias: remove check of NULL pointers before calling alias_free() (issue #865)Sébastien Helleu
2024-04-26core: remove check of NULL pointers before calling gui_focus_free_info() ↵Sébastien Helleu
(issue #865)
2024-04-26core: remove check of NULL pointers before calling gui_color_palette_free() ↵Sébastien Helleu
(issue #865)
2024-04-26core: remove check of NULL pointers before calling gui_completion_free() ↵Sébastien Helleu
(issue #865)
2024-04-26relay: remove check of NULL pointers before calling ↵Sébastien Helleu
weechat_completion_free() (issue #865)
2024-04-26core: remove check of NULL pointers before calling string_free_split_tags() ↵Sébastien Helleu
(issue #865)