[FarGroup/FarManager] master: LuaMacro: adapt to the change in binary string representation (9556c6434)

0 views
Skip to first unread message

farg...@farmanager.com

unread,
Nov 13, 2025, 1:30:54 PM (3 days ago) Nov 13
to farco...@googlegroups.com
Repository : https://github.com/FarGroup/FarManager
On branch : master
Link : https://github.com/FarGroup/FarManager/commit/9556c6434ab2254f8bb6481ae65a747fbc8e14a9

>---------------------------------------------------------------

commit 9556c6434ab2254f8bb6481ae65a747fbc8e14a9
Author: Shmuel Zeigerman <solo...@gmail.com>
Date: Thu Nov 13 20:25:27 2025 +0200

LuaMacro: adapt to the change in binary string representation

made in build 898


>---------------------------------------------------------------

9556c6434ab2254f8bb6481ae65a747fbc8e14a9
plugins/luamacro/_globalinfo.lua | 2 +-
plugins/luamacro/changelog | 4 ++++
plugins/luamacro/luafar/lf_version.h | 2 +-
plugins/luamacro/utils.lua | 2 +-
4 files changed, 7 insertions(+), 3 deletions(-)

diff --git a/plugins/luamacro/_globalinfo.lua b/plugins/luamacro/_globalinfo.lua
index dcdabb2a7..7e9a9cb43 100644
--- a/plugins/luamacro/_globalinfo.lua
+++ b/plugins/luamacro/_globalinfo.lua
@@ -1,6 +1,6 @@
function export.GetGlobalInfo()
return {
- Version = { 3, 0, 0, 903 },
+ Version = { 3, 0, 0, 904 },
MinFarVersion = { 3, 0, 0, 6564 },
Guid = win.Uuid("4EBBEFC8-2084-4B7F-94C0-692CE136894D"),
Title = "LuaMacro",
diff --git a/plugins/luamacro/changelog b/plugins/luamacro/changelog
index b0ad232da..283fa1082 100644
--- a/plugins/luamacro/changelog
+++ b/plugins/luamacro/changelog
@@ -1,3 +1,7 @@
+shmuel 2025-11-13 20:17:29+02:00 - build 904
+
+1. Adapt to the change in binary string representation made in build 898.
+
shmuel 2025-11-09 08:37:33+02:00 - build 903

1. Fix incorrect error message (since build 881).
diff --git a/plugins/luamacro/luafar/lf_version.h b/plugins/luamacro/luafar/lf_version.h
index cdc2c82fb..35b55f912 100644
--- a/plugins/luamacro/luafar/lf_version.h
+++ b/plugins/luamacro/luafar/lf_version.h
@@ -1,3 +1,3 @@
#include <farversion.hpp>

-#define PLUGIN_BUILD 903
+#define PLUGIN_BUILD 904
diff --git a/plugins/luamacro/utils.lua b/plugins/luamacro/utils.lua
index b21e9187a..581059e7f 100644
--- a/plugins/luamacro/utils.lua
+++ b/plugins/luamacro/utils.lua
@@ -1166,7 +1166,7 @@ local function DelMacro (guid, callbackId) -- MCTL_DELMACRO
for _,areatable in pairs(Areas) do
for _,macroarray in pairs(areatable) do
for _,m in ipairs(macroarray) do
- if m.guid and m.guid[1]==guid[1] and m.callbackId==callbackId and not m.disabled then
+ if m.guid and m.guid.__binary==guid.__binary and m.callbackId==callbackId and not m.disabled then
m.disabled = true
return true
end


Reply all
Reply to author
Forward
0 new messages