summaryrefslogtreecommitdiff
path: root/tests/unit/gui/test-gui-buffer.cpp
AgeCommit message (Collapse)Author
2024-05-12core: add buffer property "modes"Sébastien Helleu
2024-05-12core: restore buffer input prompt on /upgradeSébastien Helleu
2024-05-10core: add buffer property "input_prompt"Sébastien Helleu
2024-05-08core: add function gui_buffer_set_filterSébastien Helleu
2024-05-08core: add function gui_buffer_set_inputSébastien Helleu
2024-05-08tests: add placeholder for tests on function ↵Sébastien Helleu
gui_buffer_set_input_get_any_user_data
2024-05-08core: add function gui_buffer_set_notifySébastien Helleu
2024-05-08core: add function gui_buffer_set_day_changeSébastien Helleu
2024-04-07buffer: add property `input_get_any_user_data` in buffer (issue #2066)Sébastien Helleu
This allows buffers to get any user input, including commands, that are sent to the buffer callback instead of being executed on the buffer.
2024-03-12core: remove "wee-" prefix from source files in src/core and src/core/hookSébastien Helleu
2024-03-12api: allow search by buffer id in function buffer_search (issue #2081)Sébastien Helleu
2024-03-12core: add function gui_buffer_search_by_id (issue #2081)Sébastien Helleu
2024-03-12core: rename function gui_buffer_search_by_name to gui_buffer_search (issue ↵Sébastien Helleu
#2081)
2024-03-12core: add unique "id" in buffer (issue #2081)Sébastien Helleu
The id is a "long long" variable with the current time (microseconds precision). It is guaranteed to be unique for all buffers, and the same number is never used again, during the lifetime of the process. It persists and is unchanged after `/upgrade`.
2024-01-24core: allow case insensitive search of partial buffer name with `(?i)name` ↵Sébastien Helleu
in command `/buffer`
2024-01-24tests: add tests on buffer properties "opening" and "type"Sébastien Helleu
2024-01-01core: update copyright datesSébastien Helleu
2023-11-11core: add incremental search in commands history (issue #2040)Sébastien Helleu
Changes: - move key ctrl+r to ctrl+s - add key ctrl+r to search in commands history - add option `search_history` in command `/input` - add key context "histsearch" - add option weechat.look.buffer_search_history - add buffer variables "text_search_direction", "text_search_history" and "text_search_ptr_history"
2023-08-25tests: add tests on GUI buffer functionsSébastien Helleu
Functions tested: - gui_buffer_is_reserved_name - gui_buffer_get_integer - gui_buffer_get_string - gui_buffer_get_pointer
2023-08-24core: add options weechat.buffer.* to save buffer properties set by user ↵Sébastien Helleu
(issue #352)
2023-08-18tests: add tests on GUI buffer functionsSébastien Helleu
2023-05-04api: don't split on newline by default in functions `command` and ↵Sébastien Helleu
`command_options` when input_multiline is set to 0 The API functions `command` and `command_options` (when `split_newline` = 0, which is the default value) don't split on newline and then the first line is executed and the subsequent lines (after "\n") are ignored. There are no changes when the input has multiple lines filled by the user: the split is done and multiple commands are executed (for example if the user is pasting multiple commands to execute).
2023-03-21core: move buffer functions and remove them from header fileSébastien Helleu
2023-03-21core: remove unused function gui_buffer_is_scrolledSébastien Helleu
2023-03-21core: remove unused function gui_buffer_search_by_layout_numberSébastien Helleu
2023-03-16core: use new key name in command `/key` and configuration fileSébastien Helleu
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-01-01core: update copyright datesSébastien Helleu
2022-12-31core: move function gui_input_move_to_buffer to gui-buffer.cSébastien Helleu
2022-12-25core: move `/input` buffer switch/zoom actions to command `/buffer`Sébastien Helleu
Actions moved: * `/input switch_active_buffer` -> `/buffer switch` * `/input switch_active_buffer_previous` -> `/buffer switch -previous` * `/input zoom_merged_buffer` -> `/buffer zoom`
2022-12-25core: add function gui_buffer_jump_last_visible_numberSébastien Helleu
2022-12-25core: move `/input` jump actions to command `/buffer jump`Sébastien Helleu
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-11-11core: add identifier in buffer lines (closes #901)Sébastien Helleu
For buffers with formatted content, the "id" starts to 0 on each buffer and is incremented on each new line displayed (it is reset to 0 if reaching INT_MAX). For buffers with free content, the "id" is set to the same value as "y" (ie the line number, starting to 0).
2022-11-08core: add signals "buffer_user_{input|closing}_xxx" for buffers created with ↵Sébastien Helleu
`/buffer add` (closes #1848)
2022-03-13tests: add tests on function gui_buffer_match_listSébastien Helleu
2022-03-13tests: add tests on function gui_buffer_validSébastien Helleu
2022-03-13tests: add tests on functions gui_buffer_search_type and ↵Sébastien Helleu
gui_buffer_search_notify
2022-03-13tests: add tests on functions gui_buffer_new and gui_buffer_new_propsSébastien Helleu