summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2023-07-08fset: add missing format in calls to snprintfSébastien Helleu
2023-07-08fset: add variable `allowed_values` in options, add two color optionsSébastien Helleu
New options: - fset.color.allowed_values - fset.color.allowed_values_selected
2023-07-08fset: add missing enum in /help fsetSébastien Helleu
2023-07-08fset: fix mouse actions when second format is usedSébastien Helleu
The mouse actions now properly handle the case where options are displayed on multiple lines to calculate the option index in list.
2023-07-08core: display focus hashtable for debug even if no key is matchingSébastien Helleu
2023-07-08fset: allow long type name in type filterSébastien Helleu
2023-07-08core: use type "enum" in optionsSébastien Helleu
2023-07-08core: add option type "enum" (closes #1973)Sébastien Helleu
The type "enum" replaces type "integer" when used with string values. For compatibility, any option created with type "integer" and string values is automatically created to "enum" on creation, with no error.
2023-07-06fset: remove extra spaces between min and max values when second format is usedSébastien Helleu
2023-07-05core: add quotes around key names in /help keySébastien Helleu
2023-07-04buflist: increase max number of buflist items from 3 to 5 (closes #1703)Sébastien Helleu
2023-07-04script: fix buffer used by command `/script list -i|-il|-o|-ol`Sébastien Helleu
The command is now executed on the buffer where it is received instead of the current buffer (in most cases this is the same buffer, but could be different sometimes).
2023-07-04script: fix cursor position after `/script list -i` or `/script list -il`Sébastien Helleu
2023-07-04core: fix cursor position after `/plugin list -i` or `/plugin list -il`Sébastien Helleu
2023-07-04trigger: add options `-o`, `-ol`, `-i` and `-il` in command `/trigger list` ↵Sébastien Helleu
(closes #1953)
2023-07-04core: check that ptr_value is not NULLSébastien Helleu
2023-07-04core: keep keys ctrl-H and ctrl-? (in lower case) if they were manually ↵Sébastien Helleu
bound to custom commands in a previous version
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-07-03core: fix stylesSébastien Helleu
2023-07-03core: don't send key_pressed signal again for the same key pressTrygve Aaberge
If you press an incomplete key sequence, previously WeeChat would send the key_pressed signal again for the same keys on the next key. E.g. if you press escape and then 1, previously you would get the key_pressed signal with signal_data `\x01[` when you pressed escape, and then key_pressed with `\x01[` again when you pressed 1 (plus key_pressed with `1` for the 1 key). So two signals for the escape key, even though it was only pressed once. With this patch, you only get one signal for each key press. So one with `\x01[` when you press escape and then one with `1` when you press 1.
2023-07-03core: don't send key_combo_* signals for incomplete keysTrygve Aaberge
Version 4.0.0 (specifically commit 1f5c791c3) changed the key handling so key_combo_* signals were sent for each character in a sequence, rather than just when the sequence is finished. This broke parts of the vimode.py script. E.g. for the up arrow, 3.8 sends key_combo_default signal once with the signal_data `\x01[[A`, while 4.0.0 sends it three times with the signal_data `\x01[`, `\x01[[` and `\x01[[A`. With this patch, the previous behavior is brought back. There is one small change though. In 3.8 if you press escape one or two times it doesn't send key_combo_default, but if you press it three or more times it sends it for each escape press. With this patch, it's never sent for plain escape presses, only when the sequence is finished with some other key. This is intentional, as getting key_combo_default for escape presses doesn't make sense since it's not a finished combo, and the behavior of 3.8 where you got it after three or more key presses was most likely unintentional as it just happened because it didn't match any key bindings anymore (there are key bindings starting with one or two escape characters, but not more).
2023-07-01tests/relay: fix crash in tests on Alpine 3.18Sébastien Helleu
2023-06-27guile: fix crash on quit with Guile < 3 (issue #1965)Sé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-27api: do not convert option name to lower case in API functions ↵Sébastien Helleu
config_set_plugin and config_set_desc_plugin
2023-06-26irc: fix display of country code in message 344 received as whois geo info ↵Sébastien Helleu
(issue #1736)
2023-06-26irc: sent "QUIT" message to servers connected with TLS on `/upgrade`Sébastien Helleu
2023-06-26irc: display commands 716/717 in private buffer (if present) (closes #146)Sébastien Helleu
Commands 716/717 are returned if the target user has mode +g, they look like this: :server 716 my_nick bob :is in +g mode and must manually allow you to message them. Your message was discarded. :server 717 my_nick bob :has been informed that you messaged them.
2023-06-26core: add variables "_chat_focused_line_bol" and "_chat_focused_line_eol" in ↵Sébastien Helleu
focus data (closes #1955) These variables are the same as "_chat_bol" and "_chat_eol" except that they stop at the beginning of the focused line (not the whole message displayed, in case message has multiple lines separated by "\n").
2023-06-26api: add info "buffer" (closes #1962)Sébastien Helleu
This info returns a pointer buffer with its full name.
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-25irc: reply to a CTCP request sent to self nick (closes #1966)Sébastien Helleu
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-15exec: fix URL to plugin API reference in /help execSébastien Helleu
2023-06-15relay: add IPv6 example in /help relay.network.bind_addressSébastien Helleu
2023-06-11relay: fix crash on `/upgrade` when at least a client is connected with ↵Sébastien Helleu
weechat protocol
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-10trigger: add completions "trigger_names_disabled" and "trigger_names_enabled"Sébastien Helleu
They are used in completion of commands `/trigger disable` and `/trigger enable`.
2023-06-10exec: remove trailing "M" (carriage return) in output of commandsSébastien Helleu
Regression was indirectly caused by commit d18f68e497c4244404ff8f4f50de82717b178e09 in core that allows to display all control chars in buffers. But the fix is in exec plugin: end of line in command output can now be "\r\n" in addition to a single "\n".
2023-06-05guile: fix crash when plugin is loaded on GNU/Hurd (closes #1951)Sébastien Helleu
2023-06-05doc: fix URLs to WeeChat docsSébastien Helleu
2023-06-05logger: fix display of multiline messages in backlog (closes #1926)Sébastien Helleu
2023-06-05logger: return arraylist instead of custom linked list in logger_tail_file ↵Sébastien Helleu
(issue #1926)
2023-06-04irc: add tag "new_host_xxx" in message displayed for command CHGHOST (closes ↵Sébastien Helleu
#1808)
2023-06-03fifo: allow using escape charactersTrygve Aaberge
This allows you to use escape characters if you start the fifo command with \ instead of *, in the same way as the escape_commands option in the relay protocol. This allows you to send commands consisting of multiple lines by using \n if the buffer has input_multiline set.
2023-06-03irc: add option irc.look.display_host_noticeSébastien Helleu
2023-06-03relay: add handshake option "escape_commands" in weechat protocolSébastien Helleu
2023-06-03relay: add support of capability "echo-message" (closes #1949)Sébastien Helleu