Commit Graph

49 Commits

Author SHA1 Message Date
Sebastian Moser
85878f5707 change the FileStore::is_open() to try to connect to the sock to tetermine if a FileStore is open instead of a PID file. because when deploying with docker a process with the same PID can be running (and often is the mize process itself) 2025-07-01 20:10:25 +02:00
Sebastian Moser
1ca2dcaf73 module loading in wasm 2025-07-01 15:21:39 +02:00
Sebastian Moser
5ea08054e6 fixed bug when getting cross modules 2025-05-06 11:11:59 +02:00
Sebastian Moser
b035cb625a getting the instance to initialize in the mme-webview again 2025-05-05 09:58:59 +02:00
Sebastian Moser
0b4bd9806b fixing a bug in item_data_set_path 2025-05-04 12:55:27 +02:00
Sebastian Moser
2fcc3da677 packaging stuff 2025-04-30 17:00:54 +02:00
Sebastian Moser
d9ee9b5be4 moved from 0/config to self/config... 2025-04-01 23:45:58 +02:00
Sebastian Moser
cb9699cef6 config_from_string() changed to data_from_string() 2025-01-26 20:40:22 +01:00
Sebastian Moser
99d270a26e many changes 2025-01-16 18:43:44 +01:00
Sebastian Moser
e16aae911c switched from crossbeam to flume, for async support + fixed Instance::report_err() and Instance::new_connection_join_namespace() 2024-12-06 15:18:40 +01:00
Sebastian Moser
c47403233e small changes in module loading code 2024-12-01 11:05:31 +01:00
Sebastian Moser
7033cc7e3b modules now get a owned Instance 2024-10-20 12:53:15 +02:00
Sebastian Moser
601362a109 added fetch_module 2024-10-20 12:36:14 +02:00
Sebastian Moser
b45c6b26b9 catch errors on module::init() 2024-10-10 18:15:00 +02:00
Sebastian Moser
6942266b3e split options by : instead of ; and skip empty options 2024-10-10 18:14:34 +02:00
Sebastian Moser
e9c58c7045 downloading modules now actually works 2024-10-06 19:53:37 +02:00
Sebastian Moser
d98585e026 some fetching modules fixes and ItemData::sort_keys() 2024-10-06 11:14:54 +02:00
Sebastian Moser
5607dcaad2 fetching modules should now work 2024-10-05 14:01:30 +02:00
Sebastian Moser
a2cdb0ec82 new module loading mechanism for os-target 2024-09-26 22:13:28 +02:00
Sebastian Moser
26967ff26f made windows work, without pipes yet though 2024-09-02 18:03:28 +02:00
Sebastian Moser
386ff500fc we can now deploy the Blob module 2024-08-31 15:57:44 +02:00
Sebastian Moser
96942e9322 ... 2024-08-31 09:46:32 +02:00
Sebastian Moser
1b36953275 moved all cli commands into one file 2024-08-30 08:59:30 +02:00
Sebastian Moser
5cfc9cfe7c module loading works 2024-08-29 08:40:38 +02:00
Sebastian Moser
31e071078a wasm builds 2024-08-27 11:50:18 +02:00
Sebastian Moser
39cf7f5ee3 cli command set now uses set_blocking, but this does not wait for the unix_con thread to send out the msg 2024-08-22 11:20:43 +02:00
Sebastian Moser
5a25fd7161 logging works a bit more the way i want, but it's such a pfusch 2024-08-22 11:17:01 +02:00
Sebastian Moser
89c490fadb checking if the process exists with the sysinfo crate, takes 300ms. now using /proc/pid 2024-08-22 08:30:12 +02:00
Sebastian Moser
f1e7d6ed68 subing works, although be it very prototype like 2024-08-21 13:18:40 +02:00
Sebastian Moser
410198b099 realising, that an extra msg_thread will be nececary 2024-08-20 10:20:26 +02:00
Sebastian Moser
d0a1e26e96 new_item works via connection 2024-08-19 09:58:35 +02:00
Sebastian Moser
f529fbd625 set msg 2024-08-18 12:12:18 +02:00
Sebastian Moser
b60c9c2f69 most of getting stuff with two instances works 2024-08-15 09:35:34 +02:00
Sebastian Moser
13f5598caa we connect and get the namespace of the peer 2024-08-14 13:14:54 +02:00
Sebastian Moser
ae5bbd4028 we connect now 2024-08-12 23:14:40 +02:00
Sebastian Moser
eb1b94a650 cargo check 2024-08-11 23:48:46 +02:00
Sebastian Moser
f24c46338e we can recieve and send messages on a unix sock 2024-06-28 00:21:33 +02:00
Sebastian Moser
6cb0aa1272 weired implementation of stream parsing cbor items from a unix sock, but it works 2024-06-20 18:03:43 +02:00
Sebastian Moser
053742f849 updater_thread now works and we listen on unix_socket 2024-06-19 21:50:52 +02:00
Sebastian Moser
7340aaa37a migrating to fsstore works 2024-06-16 17:44:20 +02:00
Sebastian Moser
8de465734c added namespace 2024-06-13 08:53:45 +02:00
Sebastian Moser
b0306d0e33 instance and item now use dynamic dispatch 2024-06-13 08:22:48 +02:00
Sebastian Moser
33e75d9c25 the state before switching to dynamic dispatch for stores 2024-06-09 14:01:25 +02:00
Sebastian Moser
2993beb788 fixed implementation of item.merge() 2024-06-08 14:59:05 +02:00
Sebastian Moser
11c0f7e00e some bug fixes of not the most clean code + random things 2024-06-08 13:54:50 +02:00
Sebastian Moser
e0211b86ca instance init with config works + view ItemData func implemented 2024-06-01 12:21:35 +02:00
Sebastian Moser
47b187d012 MizeIds are now stored in a StringPool for Vec<String> 2024-05-31 12:05:53 +02:00
Sebastian Moser
38f967db76 basic get command works with items from 0/config defined in test-config.toml 2024-05-30 14:59:47 +02:00
Sebastian Moser
a16c2f9221 large rewrite to make mize run on every platform 2024-05-18 08:31:38 +02:00