<feed xmlns='http://www.w3.org/2005/Atom'>
<title>hakurei/internal/app/error.go, branch develop</title>
<subtitle>low-level userspace tooling for Rosa OS</subtitle>
<id>http://src.rosa.moe/hakurei/atom/internal/app/error.go?h=develop</id>
<link rel='self' href='http://src.rosa.moe/hakurei/atom/internal/app/error.go?h=develop'/>
<link rel='alternate' type='text/html' href='http://src.rosa.moe/hakurei/'/>
<updated>2024-10-15T16:38:59Z</updated>
<entry>
<title>app: port app to use the system package</title>
<updated>2024-10-15T16:38:59Z</updated>
<author>
<name>Ophestra Umiker</name>
<email>cat@ophivana.moe</email>
</author>
<published>2024-10-15T16:38:59Z</published>
<link rel='alternate' type='text/html' href='http://src.rosa.moe/hakurei/commit/?id=084cd84f36a1d608541b4aa4e1e95334395d8953'/>
<id>urn:sha1:084cd84f36a1d608541b4aa4e1e95334395d8953</id>
<content type='text'>
This commit does away with almost all baggage left over from the Ego port. Error wrapping also got simplified. All API changes happens to be internal which means no changes to main except renaming of the BaseError type.

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