Commit Graph

118 Commits

Author SHA1 Message Date
Mic92
f332433d53 Merge pull request 'ui: Remove garbage collection thread' (#3636) from remove-gc into main
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3636
2025-05-14 10:19:44 +00:00
Jörg Thalheim
c0376e374d update cli vars on CLAN_CLI_PERF 2025-05-14 12:07:38 +02:00
Jörg Thalheim
b09e61f68d clan-app: decode function arguments ahead of launching a thread.
If something goew wrong here we rather want to crash the app and get bug
reports.
2025-05-14 11:52:55 +02:00
Jörg Thalheim
b491e9cd51 clan-app: don't raise exception when we use ctr-c 2025-05-14 11:41:16 +02:00
Jörg Thalheim
a4057d39ae api_wrapper: more descriptive parameter names
also only decode the op_key once
2025-05-14 11:39:25 +02:00
Jörg Thalheim
2283987bcd bind_jsonschema_api: reduce method nesting 2025-05-14 11:39:25 +02:00
Jörg Thalheim
bbac947496 make listing/cancelling tasks less nosy in the logs 2025-05-14 10:49:09 +02:00
Jörg Thalheim
80cadf9268 remove thread garbage collection 2025-05-14 10:49:09 +02:00
Brian McGee
a79d907484 fix(ui): high cpu because of spinning garbage collection 2025-05-13 17:06:19 +01:00
Qubasa
804e46b8a6 clan-app: Improved UX of handling toasts 2025-05-12 18:54:53 +02:00
Qubasa
9544a3e522 clan-app: Working cancellable tasks 2025-05-12 17:54:10 +02:00
Qubasa
38ea6515cf clan-app: Add cancellable tasks 2025-05-12 17:54:10 +02:00
Qubasa
b90812ecce clan-cli: add test_create in clan_lib test folder 2025-05-05 22:16:02 +02:00
Johannes Kirschbauer
f6628ec1a9 Refactor(clan_lib): move clan_cli.api into clan_lib.api 2025-04-26 19:51:35 +02:00
Michael Hoang
c227ee0c86 clan-app: improve README 2025-04-25 11:12:27 +10:00
Jörg Thalheim
723d72255c Reapply "remove nix_shell_legacy"
This reverts commit c5001f19fc.
2025-04-21 13:23:50 +02:00
Johannes Kirschbauer
c5001f19fc Revert "remove nix_shell_legacy"
This reverts commit f3512b853a.
2025-04-18 14:49:54 +02:00
pinpox
0ac5fa4b8b Fix conftest typo 2025-04-18 14:25:22 +02:00
Jörg Thalheim
f3512b853a remove nix_shell_legacy 2025-04-16 21:03:58 +02:00
Sam Lehman
4fe822b340 devshells: name shells for clarity 2025-04-08 19:31:30 +00:00
Jörg Thalheim
43035b85a5 always resolve symlinks for TemporaryDirectory
On macOS mktemp returns a temporary directory in a symlink.
Nix has a bug where it won't accept path:// located in a symlink.
This avoid this issue by always resolving symlinks as returned by
TemporaryDirectory.
2025-03-19 16:47:18 +01:00
Jörg Thalheim
b84230ff90 deduplicate CLAN_CORE/CLAN_CORE_PATH environment variables 2025-03-19 10:30:52 +00:00
Qubasa
fdb3f89480 clan-app: Fix Gsettings schema files not found 2025-02-04 17:10:35 +07:00
Qubasa
84b8838084 clan-cli: Add ruff to devShell again. Add missing type annotations 2025-01-29 19:16:34 +07:00
Jörg Thalheim
3bcbc8fa3d reformat after update 2025-01-14 15:30:29 +01:00
Qubasa
68f56ecafd clan-app: Change tkinter file dialogue to gtk4 file dialogue 2025-01-12 14:39:41 +07:00
Qubasa
82f4fe44a7 clan-app: Rename dynamic library name, set macos x64 to unsupported 2025-01-11 13:06:40 +07:00
Qubasa
93a657aca6 clan-app: allow darwin build 2025-01-11 10:55:50 +07:00
Qubasa
6f0a87a752 clan-app: allow darwin build 2025-01-11 10:55:50 +07:00
Qubasa
387da30004 clan-app: Add .local.env source script for local debug builds 2025-01-11 10:55:50 +07:00
Qubasa
d13a0007db clan-app: Fix webview crash on exception in api wrapper 2025-01-11 10:55:50 +07:00
Qubasa
c6d5eb5037 clan-app: Fix default.nix 2025-01-11 10:52:22 +07:00
Johannes Kirschbauer
355583c0d4 Webview: fix thread_task cannot raise exceptions 2025-01-10 12:06:01 +00:00
Qubasa
32bdf963a6 clan-app: Fix python3Full and python3 incompatibilities. 'pytest' not found and devshell bugs 2025-01-07 00:10:34 +01:00
Qubasa
057fded624 clan-app: Fix clan-app-pytest not finding python3Full 2025-01-06 20:14:46 +01:00
Qubasa
b1328b4d9b clan-app: fix webiview-lib under darwin 2025-01-06 20:14:42 +01:00
Qubasa
c0ecb557bf clan: revert flake.lock upgrade 2025-01-06 20:14:35 +01:00
Qubasa
63331a2a44 clan-cli: Ignore new type hints in api/serde.py
clan-cli: Ignore new type hints in api/serde.py

clan-cli: Ignore new type hints in api/serde.py

clan-cli: Ignore new type hints in api/serde.py
2025-01-06 20:14:28 +01:00
Qubasa
1b1fa8c71b clan-app: working nix run .#clan-app, working open_file with tkinter 2025-01-06 20:14:28 +01:00
Qubasa
06879c1d34 clan-app: working file dialogue 2025-01-06 20:14:24 +01:00
Qubasa
0123fcd3a5 clan-app: working js<->python api bridge 2025-01-06 20:14:20 +01:00
Qubasa
44a2ce1583 Fix nix run .#clan-app 2025-01-06 20:14:20 +01:00
Qubasa
2014f3663f clan-app: added header files 2025-01-06 20:14:09 +01:00
Qubasa
34fa4c18b1 clan-app: Working webview from webview lib 2025-01-06 20:14:05 +01:00
Qubasa
a10b4b456b clan-app: changed webui to webview lib 2025-01-06 20:14:01 +01:00
Qubasa
323a3a0e92 clan-app: packaged c webui lib 2025-01-06 20:13:41 +01:00
Johannes Kirschbauer
0ed5330f92 App: API return errors to js on invalid api methods 2024-12-10 21:50:04 +01:00
Johannes Kirschbauer
8193969331 Clan-app/api: add traceback for all underlying exceptions 2024-11-28 16:37:52 +01:00
Johannes Kirschbauer
836c9d26ab UI/webview: remove unused clamp 2024-11-27 11:03:57 +01:00
Johannes Kirschbauer
7b9f40e224 App: improve exception logging 2024-11-26 10:44:06 +00:00