Commit Graph

8 Commits (lipc-refactor)

Author SHA1 Message Date
nirenjan 4ab8da6680 feat: Migrate daemon to use localipc library 2026-04-26 21:18:33 -07:00
nirenjan b8f059a881 feat: Add localipc library for IPC over AF_UNIX
In order to make daemon communication more secure, we are introducing a
new library to handle the interprocess communication over the Unix
socket. The localipc library abstracts away a lot of the boilerplate
around the socket API and ensures that the packets are cleanly
transferred between the clients and server.

A future change will modify the daemon logic to leverage localipc
instead of x52dcomm, and eliminate the manual poll loop. The daemon can
then handle the business logic of commands/notifications.
2026-04-26 00:04:12 -07:00
nirenjan c0c8787331 fix: Handle test case with PINELOG_STRIP_FILE_PATH 2026-04-03 23:50:18 -07:00
nirenjan 583d4fd646 feat: Make prefix stripping optional in pinelog
Prior to this change, pinelog would always strip the directory prefix
from __FILE__, displaying only the basename.

This change adds the ability to check the full path passed to the
compiler, which may still be only a basename, but that's still fine.
2026-04-03 23:12:01 -07:00
nirenjan 7bdaea442e cleanup: Remove autotools build infrastructure
The autotools build infrastructure was deprecated back in 0.3.3, and any
bugs in the Meson build infrastructure have been fixed now. This
eliminates the legacy build scripts which were hard to maintain.
2026-04-03 22:36:10 -07:00
nirenjan 3c1abd57d5 fix(pinelog): Cleanup unused parameter warnings
With a recent enough version, the compiler reports a number of unused
parameter warnings when Meson is configured with `--warnlevel=3`. This
commit addresses those warnings.
2026-03-18 22:25:26 -07:00
nirenjan b626a9367f fix(pinelog): Mark benchmark tests as such in Meson
Prior to this change, the pinelog benchmark suite was running as a
regular test, however, this is not ideal since it can result in timing
issues and giving false data to the runners.

This change explicitly marks them as benchmarks, so they can run using
`meson test --benchmark`
2026-03-16 15:56:38 -07:00
nirenjan b4ec8d4629 build: Migrate to meson build
Meson is a far more robust build framework, compared to autotools. This
greatly simplifies adding new features, since it's far easier to
maintain a set of meson.build files vs the autotools mishmash.

DEPRECATION NOTICE: Autotools based build is deprecated and will be
removed in the future.
2026-03-12 10:20:01 -07:00