summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
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
2023-06-03irc: add infos "irc_server_cap" and "irc_server_cap_value" (issue #1949)Sébastien Helleu
2023-06-02tests: add tests on relay "irc" protocolSébastien Helleu
2023-06-02irc: add missing "user" in documentation of functionsSébastien Helleu
2023-06-02relay: fix connection with IRC clients sending "CAP REQ :" (without ↵Sébastien Helleu
capability) and not sending "CAP END" (issue #1040, issue #1796) The bug was fixed in version 2.0 (issue #1040) but a regression in version 3.7 happened while using the new IRC parser for message arguments (issue #1796, commit 96ed47126130ac62350aef4a9236009b7fc3cd5f).
2023-06-02relay: add modifiers "relay_client_irc_in", "relay_client_irc_out1" and ↵Sébastien Helleu
"relay_client_irc_out"
2023-06-02core: fix weechat.look.align_multiline_words not workingTrygve Aaberge
This option was broken with commit 031bd45e3.
2023-05-31ruby: fix crash in display of exception backtrace with Ruby 3 (issue #1631, ↵Sébastien Helleu
issue #1886)
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-30fset: reset color immediately after the color name (issue #1920)Sébastien Helleu
2023-05-29core: set word_end_offset to character after wordTrygve Aaberge
It seemed strange to me to have word_end_offset point to the last character in the word, rather than the character after the word, especially now with the word stopping before a newline character which meant word_end_offset would be -1 if there was no characters before the newline character.