summaryrefslogtreecommitdiff
path: root/src/core
AgeCommit message (Collapse)Author
2023-07-04core: add key ctrl-backspace in /help key (issue #1975)Sébastien Helleu
2023-07-04doc: fix anchor links in auto-generated filesSébastien Helleu
2023-06-27core: check for newline characters in string_is_whitespace_charTrygve Aaberge
This fixes a bug where if you had multiple lines in the input and pressed ctrl-w when the cursor was after the first word of any line but the first, it would delete both the word before the cursor and the last word on the preceding line.
2023-06-26core: display actual key name and command with key Alt+kSébastien Helleu
Key Alt+K (upper K) is removed as well as commands `/input grab_raw_key` and `/input grab_raw_key_command`.
2023-06-25core: force key "return" to command "/input return" when migrating legacy keysSébastien Helleu
2023-06-17core: ignore rest of config file if config version is invalid or not supportedSébastien Helleu
2023-06-10core: add completions "filters_names_disabled" and "filters_names_enabled"Sébastien Helleu
They are used in completion of commands `/filter disable` and `/filter enable`.
2023-06-05doc: fix URLs to WeeChat docsSébastien Helleu
2023-05-30core: send all command line parameters not beginning with a dash to all ↵Sébastien Helleu
plugins, add info "auto_load_scripts" This fixes an issue with IRC URL given on command line when it starts with `ircs://` or `irc6://`: the server is not created at all (only `irc://` works fine).
2023-05-16core: move creation of info_hashtable "secured_data" in plugin-api-info.cSébastien Helleu
2023-05-13core: add quotes around paths in CMake files (closes #29)Sébastien Helleu
2023-05-05core: fix execution of multiple commands separated by newline when there are ↵Sébastien Helleu
no spaces For example typing this on core buffer: /t1 /t2 was not executing the two commands but sent the text to the buffer instead. This is because WeeChat thinks it's a path, and the newline should indicate it's not (like a space before the next slash: "/t1 /t2" is a command, not a path, but "/t1/t2" is considered a path).
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-05-01core: add enabled/disabled status color in output of `/filter list` (closes ↵Sébastien Helleu
#1820)
2023-05-01core: add options weechat.color.chat_status_disabled and ↵Sébastien Helleu
weechat.color.chat_status_enabled (issue #1820)
2023-04-26core: enable option weechat.look.color_inactive_time by default (issue #1920)Sébastien Helleu
2023-04-26core: change default chat colors (issue #1920)Sébastien Helleu
Default values changed: - weechat.color.chat_delimiters: green -> 22 - weechat.color.chat_highlight_bg: magenta -> 124 - weechat.color.chat_inactive_window: default -> 240 - weechat.color.chat_nick_colors: add many colors - weechat.color.chat_nick_offline: default -> 242 - weechat.color.chat_nick_offline_highlight_bg: blue -> 17 - weechat.color.chat_prefix_buffer: brown -> 180 - weechat.color.emphasized_bg: magenta -> 54 - weechat.color.nicklist_away: cyan -> 240
2023-04-26core: change default prefix_suffix char and color (issue #1920)Sébastien Helleu
Default values changed: - weechat.look.prefix_suffix: "|" -> "│" - weechat.color.chat_prefix_suffix: green -> 24
2023-04-26core: change default color of bars and windows separators (issue #1920)Sébastien Helleu
Default value changed: - weechat.color.separator: blue -> 236
2023-04-26core: add option weechat.color.status_name_insecure (issue #1920)Sébastien Helleu
Default value of option weechat.color.status_name_tls is set to white instead of lightgreen. Now all servers/channels connected with TLS are white, and those without TLS are lightmagenta.
2023-04-26core: always allow 256 colors, find nearest color if less colors are ↵Sébastien Helleu
available in terminal (issue #1920)
2023-04-25core: add option `split_return` in command `/input` (closes #1916)Sébastien Helleu
2023-04-23Revert "core: remove deprecated parameters from command `/input`"Sébastien Helleu
This reverts commit 2b7f7453692d2325e27e2464e4796b150c708aa4. Parameters removed are still used in scripts, and it's OK to keep them for a while.
2023-04-19core: remove deprecated parameters from command `/input`Sébastien Helleu
Parameters removed: - jump_smart - jump_last_buffer - jump_last_buffer_displayed - jump_previously_visited_buffer - jump_next_visited_buffer - hotlist_clear - hotlist_remove_buffer - hotlist_restore_buffer - hotlist_restore_all - set_unread_current_buffer - set_unread - switch_active_buffer - switch_active_buffer_previous - zoom_merged_buffer
2023-04-19core: convert deprecated commands bound to keys when upgrading weechat.conf ↵Sébastien Helleu
to v2
2023-04-15doc/api: add more examples on function util_version_numberSébastien Helleu
2023-04-14core: remove unnecessary condition in comparison of timeval structuresSébastien Helleu
Ref: https://github.com/weechat/weechat-relay/pull/3
2023-04-13core: replace "SSL" by "TLS" in `/help upgrade` (issue #1903)Sébastien Helleu
2023-04-12core: rename option weechat.color.status_name_ssl to ↵Sébastien Helleu
weechat.color.status_name_tls (issue #1903)
2023-04-12core: replace SSL by TLS in comments (issue #1903)Sébastien Helleu
2023-04-07core: change default color of "mouse_status" item to lightgreenSébastien Helleu
2023-04-05core: fix pointer to hash and hash_temp in doc generatorSébastien Helleu
2023-04-01core, plugins: set options to NULL by default, refactor config init functionsSébastien Helleu
2023-04-01alias: rename all aliases to lower case on upgrade (issue #1872)Sébastien Helleu
2023-03-31doc: add CMake option `ENABLE_DOC_INCOMPLETE` to force build of incomplete ↵Sébastien Helleu
docs (closes #1901)
2023-03-31core: remove keys `meta-[I` and `meta-[G` for pgup/pgdn (issue #1900)Sébastien Helleu
It seems no terminal return such codes any more for pgup/pgdn, and `meta-[I` is conflicting with the xterm terminal "focus in" key code. The keys are also removed from config when converting old keys, but only if they are bound to the default command (`/window page_up` for `meta2-I` and `/window page_down` for `meta2-G`).
2023-03-30doc: remove unnecessary empty lines in autogen filesSébastien Helleu
2023-03-30doc: update autogen files only if changed, add autogen dependencies on docsSébastien Helleu
2023-03-30doc: convert docgen.py to C, remove autogen files from repository, add ↵Sébastien Helleu
parameter `--doc-gen` Changes: - build of doc now requires weechat-headless, translations and all plugins - convert docgen.py to C - remove `autogen_*` files from repository - add command line parameter `--doc-gen` in `weechat-headless` to build autogen files - build .mo files with directories like the installed ones (eg: "<lang>/LC_MESSAGES/weechat.mo") - remove javascript chapter from user's guide
2023-03-28core: add separate function to get translated help for values of color optionsSébastien Helleu
2023-03-28core: check that infolist is not NULL in next/prev/reset_item_cursor functionsSébastien Helleu
2023-03-26core: Add an option to start multiline input text on a new lineTrygve Aaberge
This does the same as the lead_linebreak option in multiline.pl. That is, when the input contains more than one line, the first line will be displayed beneath the previous items in the bar. This is practical because all the lines in the input will be aligned. Related to #1498
2023-03-26core: update translations (issue #1503)Sébastien Helleu
2023-03-26core: fix code style (issue #1503)Sébastien Helleu
2023-03-26core: Implement commands for operating on a single input lineTrygve Aaberge
This changes the commands delete_beginning_of_line, delete_end_of_line, delete_line, move_beginning_of_line and move_end_of_line to operate on the current line instead of the whole input. The commands delete_beginning_of_input, delete_end_of_input, delete_input, move_beginning_of_input and move_end_of_input are added with the previous implementations that the line commands had. Additionally, the commands move_previous_line and move_next_line are added which moves the cursor to the previous/next line and keeps the horizontal position in the line. The meta-r key is changed from delete_line to delete_input to keep the behavior, and because you probably want to delete the whole input more often than the line. The meta-R key is added for delete_line. The home, end, ctrl-u and ctrl-k keys are kept to the same commands, which means that they change behaviour. This is because having them operate on the line is consistent with other applications (vim, zsh), and I also think it's more practical. These new bindings are added: shift-home: /input move_beginning_of_input shift-end: /input move_end_of_input shift-up: /input move_previous_line shift-down: /input move_next_line meta-R: /input delete_line meta-ctrl-u: /input delete_beginning_of_input meta-ctrl-k: /input delete_end_of_input Relates to #1498
2023-03-25core: Increase default value for paste_max_lines to 100Trygve 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-25core: Remove option weechat.look.paste_auto_add_newlineTrygve 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-25core: fix memory leak in function config_file_read_internalSébastien Helleu
This was caused by commit 66571a0b634ef28307f6d6ceef1ba29c091ca524.
2023-03-24core: add option `legacy` in command `/key`Sébastien Helleu
2023-03-19core: add option `rename` in command `/bar`Sébastien Helleu