mirror of
https://github.com/weechat/weechat.git
synced 2026-06-12 22:24:47 +02:00
Compare commits
6 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 1d2e5ce700 | |||
| 2eebe241ab | |||
| e93cebf02c | |||
| c3db4946b2 | |||
| 86d4da2fd1 | |||
| e39ef93903 |
@@ -1,5 +1,13 @@
|
||||
# WeeChat ChangeLog
|
||||
|
||||
## Version 4.6.1 (2025-04-09)
|
||||
|
||||
### Fixed
|
||||
|
||||
- core: consider all keys are safe in cursor context ([#2244](https://github.com/weechat/weechat/issues/2244))
|
||||
- irc: display nick changes and quit messages when option irc.look.ignore_tag_messages is enabled ([#2241](https://github.com/weechat/weechat/issues/2241))
|
||||
- perl: fix build when multiplicity is not available ([#2243](https://github.com/weechat/weechat/issues/2243))
|
||||
|
||||
## Version 4.6.0 (2025-03-23)
|
||||
|
||||
### Changed
|
||||
|
||||
+10
-10
@@ -1213,12 +1213,12 @@ gui_key_set_score (struct t_gui_key *key)
|
||||
}
|
||||
|
||||
/*
|
||||
* Checks if a key is safe or not: a safe key begins always with the "meta" or
|
||||
* "ctrl" code (except "@" allowed in cursor/mouse contexts).
|
||||
* Checks if a key is safe or not: a safe key should begin with the "meta" or
|
||||
* "ctrl" code (there are exceptions).
|
||||
*
|
||||
* Returns:
|
||||
* 1: key is safe
|
||||
* 0: key is NOT safe
|
||||
* 1: key is safe for the given context
|
||||
* 0: key is NOT safe for the given context
|
||||
*/
|
||||
|
||||
int
|
||||
@@ -1229,13 +1229,13 @@ gui_key_is_safe (int context, const char *key)
|
||||
if (!key || !key[0])
|
||||
return 0;
|
||||
|
||||
/* "@" is allowed at beginning for cursor/mouse contexts */
|
||||
if ((key[0] == '@')
|
||||
&& ((context == GUI_KEY_CONTEXT_CURSOR)
|
||||
|| (context == GUI_KEY_CONTEXT_MOUSE)))
|
||||
{
|
||||
/* all keys are safe in cursor mode */
|
||||
if (context == GUI_KEY_CONTEXT_CURSOR)
|
||||
return 1;
|
||||
|
||||
/* "@" is allowed at beginning for mouse context */
|
||||
if ((key[0] == '@') && (context == GUI_KEY_CONTEXT_MOUSE))
|
||||
return 1;
|
||||
}
|
||||
|
||||
if (strncmp (key, "comma", 5) == 0)
|
||||
return 0;
|
||||
|
||||
@@ -2393,8 +2393,7 @@ IRC_PROTOCOL_CALLBACK(nick)
|
||||
}
|
||||
else
|
||||
{
|
||||
if (!irc_ignore_check (ctxt->server, ptr_channel->name,
|
||||
ctxt->nick, ctxt->host))
|
||||
if (!ctxt->ignore_remove)
|
||||
{
|
||||
ptr_nick_speaking = ((weechat_config_boolean (irc_config_look_smart_filter))
|
||||
&& (weechat_config_boolean (irc_config_look_smart_filter_nick))) ?
|
||||
@@ -3401,7 +3400,7 @@ IRC_PROTOCOL_CALLBACK(quit)
|
||||
if (ptr_nick
|
||||
|| (irc_server_strcasecmp (ctxt->server, ptr_channel->name, ctxt->nick) == 0))
|
||||
{
|
||||
if (!irc_ignore_check (ctxt->server, ptr_channel->name, ctxt->nick, ctxt->host))
|
||||
if (!ctxt->ignore_remove)
|
||||
{
|
||||
/* display quit message */
|
||||
ptr_nick_speaking = NULL;
|
||||
|
||||
@@ -352,7 +352,7 @@ weechat_perl_exec (struct t_plugin_script *script,
|
||||
if (weechat_asprintf (
|
||||
&func,
|
||||
"%s::%s",
|
||||
(char *) ((script->interpreter) ? script->interpreter : perl_main)
|
||||
(char *) ((script->interpreter) ? script->interpreter : perl_main),
|
||||
function) < 0)
|
||||
{
|
||||
return NULL;
|
||||
|
||||
+2
-2
@@ -39,8 +39,8 @@
|
||||
# devel-number the devel version as hex number ("0x04010000" for "4.1.0-dev")
|
||||
#
|
||||
|
||||
weechat_stable="4.6.0"
|
||||
weechat_devel="4.6.0"
|
||||
weechat_stable="4.6.1"
|
||||
weechat_devel="4.6.1"
|
||||
|
||||
stable_major=$(echo "${weechat_stable}" | cut -d"." -f1)
|
||||
stable_minor=$(echo "${weechat_stable}" | cut -d"." -f2)
|
||||
|
||||
Reference in New Issue
Block a user