summaryrefslogtreecommitdiff
path: root/src/core
AgeCommit message (Collapse)Author
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
2023-03-19core: display an error with `/bar add` when the bar already existsSébastien Helleu
2023-03-19core: add value "name" in completion of `/bar set <name>`Sébastien Helleu
2023-03-19core: do not call check callback when setting default value of optionSébastien Helleu
2023-03-19core: run config hooks only when value or default value is actually changed ↵Sébastien Helleu
in set/reset/unset functions
2023-03-19core: optimize commands `/reset` and `/unset` with a maskSébastien Helleu
2023-03-19core: add command `/reset` to reset options to their default valuesSébastien Helleu
2023-03-19core: don't translate the key context (default/search/cursor/mouse)Sébastien Helleu
2023-03-17core: also display mouse codes with `/debug key`Sébastien Helleu
2023-03-17core: add note about "shift-" modifier in /help keySébastien Helleu
The modifier "shift-" can only be used with the key names, not with simple chars.
2023-03-17core: add modifiers, key names and combos in /help keySébastien Helleu
2023-03-17core: check new keys manually added with /setSébastien Helleu
2023-03-16core: remove mention to list of keys being displayed without arguments in ↵Sébastien Helleu
/help key Now when fset plugin is loaded, the keys are displayed in fset buffer. In core commands like /set or /key, the fset plugin is not mentioned as WeeChat can run without it.
2023-03-16core: display a specific error when trying to bind a key without area in ↵Sébastien Helleu
mouse context
2023-03-16core: display a warning if the config version read is newer than supported ↵Sébastien Helleu
version
2023-03-16core: move keyboard debug mode from `/key debug` to `/debug key`Sébastien Helleu
2023-03-16core: add function config_file_option_set_defaultSébastien Helleu
2023-03-16fset: hook command /keySébastien Helleu
When command /key is called without arguments, and if fset plugin is loaded, fset displays all key options (filter: `weechat.key*`).
2023-03-16core: create config options for all keys that can be managed with `/set` and ↵Sébastien Helleu
`/fset` commands
2023-03-16core: add key alt-K (alt+shift+k) to grab raw key and its commandSé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-03-16core: fix display of key with command `/key bindctxt <context> <key>`Sébastien Helleu
2023-03-16core: add configuration version, add API function config_set_versionSébastien Helleu
2023-03-16core: simplify function config_file_read_internalSébastien Helleu
2023-03-16core: display new key name using aliases in output of `/key` commandSébastien Helleu
2023-03-16core: add function to expand raw key code to name with alias, use it in /key ↵Sébastien Helleu
debug
2023-03-16core: add keyboard debug mode with command `/key debug`Sébastien Helleu
2023-03-12core: revert case sensitive Curl constants and options (issue #1872)Sébastien Helleu
This is a partial revert of fca78ca823e147665687d6cb0a6fe9a4694ba61b.
2023-03-12core: check that parameters are not NULL in URL functionsSébastien Helleu
2023-03-10core: simplify /help eval, move examples with the other examples (issue #1888)Sébastien Helleu
2023-03-10core: rename variable open_paren to pos_open_parenSébastien Helleu
2023-03-10core: allow /eval to get hashtable propertiesAndrew Potter
2023-01-30core: update description of function hook_command_display_error_unknownSébastien Helleu
2023-01-30core: inform that commands are case sensitive when another command with ↵Sébastien Helleu
different case is found (issue #1877)