summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2023-07-28core: fix input length and crash after delete of line (closes #1989)Sébastien Helleu
2023-07-20irc: fix memory leak in IRC message parserSébastien Helleu
Bug was introduced in WeeChat 3.4 by commit c4b4d80936b5b1fe9f179a481f5c3a325ff8e42e.
2023-07-18core: fix typo in commentSébastien Helleu
2023-07-18irc: fix display of self CTCP message containing bold attribute (closes #1981)Sébastien Helleu
2023-07-14fset: fix description of function fset_buffer_check_line_outside_windowSébastien Helleu
2023-07-12irc: remove default CTCP replies FINGER and USERINFO (issue #1974)Sébastien Helleu
2023-07-12irc: build dynamically the list of CTCPs supported in reply to "CTCP ↵Sébastien Helleu
CLIENTINFO" (issue #1974)
2023-07-12irc: evaluate options irc.ctcp.* (issue #1974)Sébastien Helleu
2023-07-11irc: create default options irc.ctcp.* when file irc.conf is created (issue ↵Sébastien Helleu
#1974)
2023-07-11core: clarify messages for unknown options/sections read in config files ↵Sébastien Helleu
(closes #1967)
2023-07-10irc: add missing "account-tag" in list of supported capabilitiesSébastien Helleu
2023-07-10core: fix renaming of options with command `/item rename` (closes #1978)Sébastien Helleu
The options `weechat.custom_bar_item.xxx.*` are now properly renamed to the new item name. This fixes a save issue (item saved with old name in config) and a crash if a new item is created with the old name.
2023-07-08irc: remove Git revision and compilation date from CTCP VERSION/FINGER reply ↵Sébastien Helleu
(issue #1974)
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