<feed xmlns='http://www.w3.org/2005/Atom'>
<title>hakurei/internal/util/std.go, branch develop</title>
<subtitle>low-level userspace tooling for Rosa OS</subtitle>
<id>http://src.rosa.moe/hakurei/atom/internal/util/std.go?h=develop</id>
<link rel='self' href='http://src.rosa.moe/hakurei/atom/internal/util/std.go?h=develop'/>
<link rel='alternate' type='text/html' href='http://src.rosa.moe/hakurei/'/>
<updated>2024-09-21T16:15:39Z</updated>
<entry>
<title>app: clean up interactions and handle all application state and setup/teardown</title>
<updated>2024-09-21T16:15:39Z</updated>
<author>
<name>Ophestra Umiker</name>
<email>cat@ophivana.moe</email>
</author>
<published>2024-09-21T15:29:36Z</published>
<link rel='alternate' type='text/html' href='http://src.rosa.moe/hakurei/commit/?id=62cb8a91b603546314034ded1e9d6ddfbd6ef106'/>
<id>urn:sha1:62cb8a91b603546314034ded1e9d6ddfbd6ef106</id>
<content type='text'>
There was an earlier attempt of cleaning up the app package however it ended up creating even more of a mess and the code structure largely still looked like Ego with state setup scattered everywhere and a bunch of ugly hacks had to be implemented to keep track of all of them. In this commit the entire app package is rewritten to track everything that has to do with an app in one thread safe value.

In anticipation of the client/server split also made changes:
- Console messages are cleaned up to be consistent
- State tracking is fully rewritten to be cleaner and usable for multiple process and client/server
- Encapsulate errors to easier identify type of action causing the error as well as additional info
- System-level setup operations is grouped in a way that can be collectively committed/reverted
  and gracefully handles errors returned by each operation
- Resource sharing is made more fine-grained with PID-scoped resources whenever possible,
  a few remnants (X11, Wayland, PulseAudio) will be addressed when a generic proxy is available
- Application setup takes a JSON-friendly config struct and deterministically generates system setup operations

Signed-off-by: Ophestra Umiker &lt;cat@ophivana.moe&gt;
</content>
</entry>
<entry>
<title>exit: move final and early code to internal package</title>
<updated>2024-09-17T04:48:42Z</updated>
<author>
<name>Ophestra Umiker</name>
<email>cat@ophivana.moe</email>
</author>
<published>2024-09-17T04:48:42Z</published>
<link rel='alternate' type='text/html' href='http://src.rosa.moe/hakurei/commit/?id=4b7d616862dc7d8c73561b85deb0ca1fabf30781'/>
<id>urn:sha1:4b7d616862dc7d8c73561b85deb0ca1fabf30781</id>
<content type='text'>
Exit cleanup state information is now stored in a dedicated struct and built up using methods of that struct.

Signed-off-by: Ophestra Umiker &lt;cat@ophivana.moe&gt;
</content>
</entry>
<entry>
<title>final: refactor for removal of system package and reduction of interactions to state package</title>
<updated>2024-09-16T11:31:35Z</updated>
<author>
<name>Ophestra Umiker</name>
<email>cat@ophivana.moe</email>
</author>
<published>2024-09-16T11:31:15Z</published>
<link rel='alternate' type='text/html' href='http://src.rosa.moe/hakurei/commit/?id=8bdae74ebe172239573bab9fca634cf350cbd29d'/>
<id>urn:sha1:8bdae74ebe172239573bab9fca634cf350cbd29d</id>
<content type='text'>
State query command has been moved to main where it belongs, "system" information are now fetched in app.New and stored in *App with accessors for relevant values. Exit (cleanup-related) functions are separated into its dedicated "final" package.

Signed-off-by: Ophestra Umiker &lt;cat@ophivana.moe&gt;
</content>
</entry>
<entry>
<title>app: handle launch method in New function</title>
<updated>2024-09-12T11:53:33Z</updated>
<author>
<name>Ophestra Umiker</name>
<email>cat@ophivana.moe</email>
</author>
<published>2024-09-12T11:53:33Z</published>
<link rel='alternate' type='text/html' href='http://src.rosa.moe/hakurei/commit/?id=b0aff891661dfa2f438a7264607a4e6e9caef026'/>
<id>urn:sha1:b0aff891661dfa2f438a7264607a4e6e9caef026</id>
<content type='text'>
Signed-off-by: Ophestra Umiker &lt;cat@ophivana.moe&gt;
</content>
</entry>
<entry>
<title>rename to fortify and restructure</title>
<updated>2024-09-03T16:20:12Z</updated>
<author>
<name>Ophestra Umiker</name>
<email>cat@ophivana.moe</email>
</author>
<published>2024-09-03T16:20:12Z</published>
<link rel='alternate' type='text/html' href='http://src.rosa.moe/hakurei/commit/?id=d8f76f3b2594db4687c0203c4f2be8d3e4ef7740'/>
<id>urn:sha1:d8f76f3b2594db4687c0203c4f2be8d3e4ef7740</id>
<content type='text'>
More sandbox features will be added and this will no longer track ego's features and behaviour.

Signed-off-by: Ophestra Umiker &lt;cat@ophivana.moe&gt;
</content>
</entry>
</feed>
