Merge pull request 'iface' (#32) from iface into master

Reviewed-on: #32
This commit is contained in:
Craig Everett 2025-12-30 22:49:01 +09:00
commit 7697417dd8
16 changed files with 22 additions and 20 deletions

View File

@ -3,8 +3,8 @@
{registered,[]}, {registered,[]},
{included_applications,[]}, {included_applications,[]},
{applications,[stdlib,kernel,sasl,ssl]}, {applications,[stdlib,kernel,sasl,ssl]},
{vsn,"0.8.0"}, {vsn,"0.8.1"},
{modules,[gajudesk,gd_con,gd_grids,gd_gui,gd_jt, {modules,[gajudesk,gd_con,gd_grids,gd_gui,gd_jt,gd_lib,
gd_sophia_editor,gd_sup,gd_v,gd_v_devman,gd_v_netman, gd_m_spend,gd_m_wallet_importer,gd_sophia_editor,
gd_v_wallman]}, gd_sup,gd_v,gd_v_devman,gd_v_netman,gd_v_wallman]},
{mod,{gajudesk,[]}}]}. {mod,{gajudesk,[]}}]}.

View File

@ -3,7 +3,7 @@
%%% @end %%% @end
-module(gajudesk). -module(gajudesk).
-vsn("0.8.0"). -vsn("0.8.1").
-behavior(application). -behavior(application).
-author("Craig Everett <craigeverett@qpq.swiss>"). -author("Craig Everett <craigeverett@qpq.swiss>").
-copyright("QPQ AG <info@qpq.swiss>"). -copyright("QPQ AG <info@qpq.swiss>").

View File

@ -3,7 +3,7 @@
%%% @end %%% @end
-module(gd_con). -module(gd_con).
-vsn("0.8.0"). -vsn("0.8.1").
-author("Craig Everett <craigeverett@qpq.swiss>"). -author("Craig Everett <craigeverett@qpq.swiss>").
-copyright("QPQ AG <info@qpq.swiss>"). -copyright("QPQ AG <info@qpq.swiss>").
-license("GPL-3.0-or-later"). -license("GPL-3.0-or-later").
@ -356,6 +356,7 @@ init(none) ->
GUI_Prefs = maps:get(gd_gui, Prefs, #{}), GUI_Prefs = maps:get(gd_gui, Prefs, #{}),
Window = gd_gui:start_link(GUI_Prefs), Window = gd_gui:start_link(GUI_Prefs),
Wallets = get_prefs(wallets, Prefs, []), Wallets = get_prefs(wallets, Prefs, []),
ok = hz:timeout(default_tic()),
MS = default_tic(), MS = default_tic(),
T = erlang:send_after(MS, self(), tic), T = erlang:send_after(MS, self(), tic),
State = #s{window = Window, timer = {T, MS}, wallets = Wallets, prefs = Prefs}, State = #s{window = Window, timer = {T, MS}, wallets = Wallets, prefs = Prefs},
@ -376,7 +377,7 @@ read_prefs() ->
default_tic() -> default_tic() ->
6000. 10_000.

View File

@ -37,7 +37,7 @@
%%% @end %%% @end
-module(gd_grids). -module(gd_grids).
-vsn("0.8.0"). -vsn("0.8.1").
-author("Craig Everett <craigeverett@qpq.swiss>"). -author("Craig Everett <craigeverett@qpq.swiss>").
-copyright("QPQ AG <info@qpq.swiss>"). -copyright("QPQ AG <info@qpq.swiss>").
-license("GPL-3.0-or-later"). -license("GPL-3.0-or-later").

View File

@ -3,7 +3,7 @@
%%% @end %%% @end
-module(gd_gui). -module(gd_gui).
-vsn("0.8.0"). -vsn("0.8.1").
-author("Craig Everett <craigeverett@qpq.swiss>"). -author("Craig Everett <craigeverett@qpq.swiss>").
-copyright("QPQ AG <info@qpq.swiss>"). -copyright("QPQ AG <info@qpq.swiss>").
-license("GPL-3.0-or-later"). -license("GPL-3.0-or-later").

View File

@ -15,7 +15,7 @@
%%% translation library is retained). %%% translation library is retained).
-module(gd_jt). -module(gd_jt).
-vsn("0.8.0"). -vsn("0.8.1").
-export([read_translations/1, j/2, oneshot_j/2]). -export([read_translations/1, j/2, oneshot_j/2]).

View File

@ -3,6 +3,7 @@
%%% @end %%% @end
-module(gd_lib). -module(gd_lib).
-vsn("0.8.1").
-export([is_int/1]). -export([is_int/1]).

View File

@ -3,12 +3,12 @@
%%% @end %%% @end
-module(gd_m_spend). -module(gd_m_spend).
-vsn("0.8.0"). -vsn("0.8.1").
-author("Craig Everett <zxq9@zxq9.com>"). -author("Craig Everett <zxq9@zxq9.com>").
-copyright("Craig Everett <zxq9@zxq9.com>"). -copyright("Craig Everett <zxq9@zxq9.com>").
-license("GPL-3.0-or-later"). -license("GPL-3.0-or-later").
-behavior(zxw_modal). %-behavior(zxw_modal).
-export([show/2]). -export([show/2]).
-export([init/1, handle_info/2, handle_event/2]). -export([init/1, handle_info/2, handle_event/2]).

View File

@ -5,7 +5,7 @@
%%% @end %%% @end
-module(gd_m_wallet_importer). -module(gd_m_wallet_importer).
-vsn("0.8.0"). -vsn("0.8.1").
-author("Craig Everett <zxq9@zxq9.com>"). -author("Craig Everett <zxq9@zxq9.com>").
-copyright("Craig Everett <zxq9@zxq9.com>"). -copyright("Craig Everett <zxq9@zxq9.com>").
-license("GPL-3.0-or-later"). -license("GPL-3.0-or-later").

View File

@ -1,5 +1,5 @@
-module(gd_sophia_editor). -module(gd_sophia_editor).
-vsn("0.8.0"). -vsn("0.8.1").
-export([new/1, update/1, update/2, -export([new/1, update/1, update/2,
get_text/1, set_text/2]). get_text/1, set_text/2]).

View File

@ -12,7 +12,7 @@
%%% @end %%% @end
-module(gd_sup). -module(gd_sup).
-vsn("0.8.0"). -vsn("0.8.1").
-behaviour(supervisor). -behaviour(supervisor).
-author("Craig Everett <craigeverett@qpq.swiss>"). -author("Craig Everett <craigeverett@qpq.swiss>").
-copyright("QPQ AG <info@qpq.swiss>"). -copyright("QPQ AG <info@qpq.swiss>").

View File

@ -1,5 +1,5 @@
-module(gd_v). -module(gd_v).
-vsn("0.8.0"). -vsn("0.8.1").
-author("Craig Everett <craigeverett@qpq.swiss>"). -author("Craig Everett <craigeverett@qpq.swiss>").
-copyright("QPQ AG <info@qpq.swiss>"). -copyright("QPQ AG <info@qpq.swiss>").
-license("GPL-3.0-or-later"). -license("GPL-3.0-or-later").

View File

@ -1,5 +1,5 @@
-module(gd_v_devman). -module(gd_v_devman).
-vsn("0.8.0"). -vsn("0.8.1").
-author("Craig Everett <craigeverett@qpq.swiss>"). -author("Craig Everett <craigeverett@qpq.swiss>").
-copyright("QPQ AG <info@qpq.swiss>"). -copyright("QPQ AG <info@qpq.swiss>").
-license("GPL-3.0-or-later"). -license("GPL-3.0-or-later").

View File

@ -1,5 +1,5 @@
-module(gd_v_netman). -module(gd_v_netman).
-vsn("0.8.0"). -vsn("0.8.1").
-author("Craig Everett <zxq9@zxq9.com>"). -author("Craig Everett <zxq9@zxq9.com>").
-copyright("QPQ AG <info@qpq.swiss>"). -copyright("QPQ AG <info@qpq.swiss>").
-license("GPL-3.0-or-later"). -license("GPL-3.0-or-later").

View File

@ -13,7 +13,7 @@
-module(gd_v_wallman). -module(gd_v_wallman).
-vsn("0.8.0"). -vsn("0.8.1").
-author("Craig Everett <zxq9@zxq9.com>"). -author("Craig Everett <zxq9@zxq9.com>").
-copyright("QPQ AG <info@qpq.swiss>"). -copyright("QPQ AG <info@qpq.swiss>").
-license("GPL-3.0-or-later"). -license("GPL-3.0-or-later").

View File

@ -4,7 +4,7 @@
{prefix,"gd"}. {prefix,"gd"}.
{author,"Craig Everett"}. {author,"Craig Everett"}.
{desc,"A desktop client for the Gajumaru network of blockchain networks"}. {desc,"A desktop client for the Gajumaru network of blockchain networks"}.
{package_id,{"otpr","gajudesk",{0,8,0}}}. {package_id,{"otpr","gajudesk",{0,8,1}}}.
{deps,[{"otpr","hakuzaru",{0,8,2}}, {deps,[{"otpr","hakuzaru",{0,8,2}},
{"otpr","zxwidgets",{1,1,0}}, {"otpr","zxwidgets",{1,1,0}},
{"otpr","eblake2",{1,0,1}}, {"otpr","eblake2",{1,0,1}},