Age | Commit message (Collapse) | Author | |
---|---|---|---|
2023-03-26 | tests: add tests on gui bar functions | Sébastien Helleu | |
2023-03-26 | core: fix default value of bar options | Sébastien Helleu | |
The previous commit e385eec1d6116b8c87889fc1d829aa1c5192156f fixed default value for bar added by plugins and option "items" in all bars. This commit fixes the default value of all bar options. | |||
2023-03-25 | core: add packaging changes in release notes | Sébastien Helleu | |
2023-03-25 | core: update ChangeLog and release notes (issue #1502) | Sébastien Helleu | |
2023-03-25 | doc: update auto-generated files with options | Sébastien Helleu | |
2023-03-25 | tests: add placeholder for function gui_key_paste_finish | Sébastien Helleu | |
2023-03-25 | core: fix typo and code style | Sébastien Helleu | |
2023-03-25 | core: Include blank lines in paste line count | Trygve Aaberge | |
Since pastes are now inserted into the input instead of sent, and blank lines are preserved in the input, they should now be counted too. | |||
2023-03-25 | core: Increase default value for paste_max_lines to 100 | Trygve Aaberge | |
Now that pasting text doesn't cause it to be sent immediately, but rather inserted in the input line, the paste confirmation isn't really necessary anymore for small pastes. If you paste by mistake you can just press ctrl-_ to undo it. Large pastes may cause weechat to hang for a while, so keep the paste confirmation for those. If you don't use bracketed paste you would still want to keep it at 1, because it's not detected as a paste otherwise, but as far as I know basically all terminal emulators support bracketed paste, so I think it's fine to disable the confirmation by default. | |||
2023-03-25 | core: Remove option weechat.look.paste_auto_add_newline | Trygve Aaberge | |
This option existed so that you could edit the last line of a multiline paste before it was sent. Now that pasting multiple lines don't cause the lines to be sent immediately anymore, this option isn't useful anymore since you can always edit pasted text before it's sent. | |||
2023-03-25 | core: Always remove final newline when pasting | Trygve Aaberge | |
Since pasting doesn't send the line now, it's more practical to always remove the final newline so you don't end up with an empty line at the end of the input buffer. Fixes a part of #1498 | |||
2023-03-25 | core: Replace newline/tabs after paste is accepted | Trygve Aaberge | |
Instead of replacing newline/tabs when paste is started, do it when the paste is accepted instead. This makes a difference if you paste again while the paste confirmation is active, where instead of running it again for each paste, it will now be run for all the text at the end. For now this doesn't make a practical difference, but the next commit will remove the final newline when multiple lines are pasted too, which we only want to do for the final paste. | |||
2023-03-25 | core: When pasting, insert text in input instead of interpreting keys | Trygve Aaberge | |
This makes pasted text appear in the input bar, instead of each line being sent. This allows you to edit the text before sending it, and it makes multiline paste supported in buffers with input_multiline on. It also replaces \r with \n in pasted text because most terminals (e.g. xterm and urxvt) print lines separated by \r when pasting as if return was pressed between each line, even though the copied text uses \n. The text sent to the buffer should use \n, not \r, so we have to replace it. Note that this only works when bracketed paste is enabled or the paste confirmation as shown, because non-bracketed paste with no paste confirmation is not detected as a paste. Fixes a part of #1498 | |||
2023-03-25 | core: Parse bracketed paste also when paste pending | Trygve Aaberge | |
When in paste pending mode, the bracketed paste escape sequence should still be interpreted, so that if you paste while in paste pending the same things as when pasting in normal mode still happens, i.e. the escape sequence is removed, ctrl-y/n is not interpreted and newline/tabs are replaced. | |||
2023-03-25 | core: fix uninitialized variable `chunks2_count` when key_name and ↵ | Sébastien Helleu | |
key_name_alias are the same | |||
2023-03-25 | core: fix memory leak in function config_file_read_internal | Sébastien Helleu | |
This was caused by commit 66571a0b634ef28307f6d6ceef1ba29c091ca524. | |||
2023-03-25 | core: remove unnecessary assignment | Sébastien Helleu | |
2023-03-25 | core: remove commented code | Sébastien Helleu | |
2023-03-25 | core: replace .bz2 by .xz in SRC_URI of cygport template | Sébastien Helleu | |
2023-03-25 | core: remove obsolete cpack config | Sébastien Helleu | |
This config was used to build binary package of WeeChat, which was never released in this format. | |||
2023-03-25 | core: remove build of .bz2 and .zst files in `make dist` | Sébastien Helleu | |
2023-03-25 | core: fix gcc warning on snprintf | Sébastien Helleu | |
2023-03-24 | core: add option `legacy` in command `/key` | Sébastien Helleu | |
2023-03-23 | core: remove RPM packaging | Sébastien Helleu | |
The weechat.spec was obsolete and openSUSE has its own here: https://build.opensuse.org/package/view_file/server:irc/weechat/weechat.spec?expand=1 | |||
2023-03-23 | core: replace `set -e` by `set -o errexit` in shell scripts | Sébastien Helleu | |
2023-03-23 | core: add extra compiler options to check overflow of destination buffer and ↵ | Sébastien Helleu | |
output truncation | |||
2023-03-22 | core: remove autotools related files in .gitignore | Sébastien Helleu | |
2023-03-21 | core: move buffer functions and remove them from header file | Sébastien Helleu | |
2023-03-21 | core: remove unused function gui_buffer_is_scrolled | Sébastien Helleu | |
2023-03-21 | core: remove unused function gui_buffer_search_by_layout_number | Sébastien Helleu | |
2023-03-20 | core: add relative move of read marker with `/buffer set unread [+/-]N` ↵ | Sébastien Helleu | |
(closes #1895) | |||
2023-03-19 | doc: update German auto-generated file | Sébastien Helleu | |
2023-03-19 | core: update German translations | Nils Görs | |
2023-03-19 | core: add function `bar_new` in release notes | Sébastien Helleu | |
2023-03-19 | core: update ChangeLog (issue #846) | Sébastien Helleu | |
2023-03-19 | core: add option `rename` in command `/bar` | Sébastien Helleu | |
2023-03-19 | core: display an error with `/bar add` when the bar already exists | Sébastien Helleu | |
2023-03-19 | core: add value "name" in completion of `/bar set <name>` | Sébastien Helleu | |
2023-03-19 | doc/api: fix typo | Sébastien Helleu | |
2023-03-19 | core: fix default value of options for bars added by plugins | Sébastien Helleu | |
When the bar name already exists, the function `bar_new` returns the pointer to the bar (instead of NULL) and sets the default value for all options with the values received. | |||
2023-03-19 | core: fix long lines in function gui_bar_use_temp_bars | Sébastien Helleu | |
2023-03-19 | core: allow any valid boolean value in command `/bar set <name> separator xxx` | Sébastien Helleu | |
2023-03-19 | core: fix typo on bar option name "separator" | Sébastien Helleu | |
2023-03-19 | core: use a fixed size buffer to create a bar option | Sébastien Helleu | |
2023-03-19 | core: use a fixed size buffer to rename a bar | Sébastien Helleu | |
2023-03-19 | core: do not call check callback when setting default value of option | Sébastien Helleu | |
2023-03-19 | doc/man: call brackets correctly in the serbian translation | Sekulum Forka | |
2023-03-19 | doc/man: fix grammatical mistakes in the serbian translation | Sekulum Forka | |
2023-03-19 | core: run config hooks only when value or default value is actually changed ↵ | Sébastien Helleu | |
in set/reset/unset functions | |||
2023-03-19 | core: optimize commands `/reset` and `/unset` with a mask | Sébastien Helleu | |