nirenjan
78be947461
test: Improve event handler test coverage
2026-11-08 22:26:23 -08:00
nirenjan
51ce442f2c
feat: Add event handler module to daemon
...
This change adds an event handler module, which will allow a single
central event dispatch instead of handling the event diff inside each
input module such as the mouse handler.
2026-11-08 22:09:15 -08:00
nirenjan
293d9dff87
ci: Remove experimental flag from ubuntu26
...
[ci skip] since this only touches the Dockerfile
2026-11-05 12:21:01 -08:00
nirenjan
dd1de7017b
test: Fix compiler warnings
2026-11-05 10:12:38 -08:00
nirenjan
7f4045bd67
ci: Cleanup codecov.yml and ignore test sources
2026-11-05 10:08:16 -08:00
nirenjan
162baf3f9c
doc: Update ChangeLog.md
2026-11-05 10:07:09 -08:00
nirenjan
7a57a1fd08
test: Cleanup unnecessary asserts in test_device.c
...
We don't need to check the libx52io_context structure, the accessor APIs
do it for us.
2026-11-05 09:19:09 -08:00
nirenjan
43ac4e8f27
test: Add test suite for libx52io/device.c
2026-11-05 09:02:10 -08:00
nirenjan
57ce34a681
ci: Ignore config definitions in codecov
2026-11-04 23:23:51 -08:00
nirenjan
d9caba9ff3
ci: Add codecov.yml to configure Codecov.io
...
This change splits up the source code and test code into different blobs
so that the code coverage only considers the source code portion and not
the test suites.
2026-11-04 22:27:30 -08:00
nirenjan
372200a6ce
feat: Add libx52io_reset_report function
...
This change adds a library helper to reset the report pointer, instead
of the daemon handlers having to call memset and then manually reset the
thumbsticks. The helper function will make it easier to maintain the
reset behavior, and change it in a single place if it becomes necessary.
2026-11-04 22:09:47 -08:00
nirenjan
2da88f415f
Merge pull request #86 from nirenjan/dependabot/github_actions/docker/login-action-4.7.0
...
build(deps): bump docker/login-action from 4.6.0 to 4.7.0
2026-10-26 10:58:33 -07:00
nirenjan
132a923bb0
Merge pull request #85 from nirenjan/dependabot/github_actions/github/codeql-action-4.39.1
...
build(deps): bump github/codeql-action from 4.39.0 to 4.39.1
2026-10-26 10:58:04 -07:00
dependabot[bot]
9230962e5b
build(deps): bump docker/login-action from 4.6.0 to 4.7.0
...
Bumps [docker/login-action](https://github.com/docker/login-action ) from 4.6.0 to 4.7.0.
- [Release notes](https://github.com/docker/login-action/releases )
- [Commits](https://github.com/docker/login-action/compare/v4.6.0...v4.7.0 )
---
updated-dependencies:
- dependency-name: docker/login-action
dependency-version: 4.7.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2026-10-26 08:25:43 +00:00
dependabot[bot]
97659eab99
build(deps): bump github/codeql-action from 4.39.0 to 4.39.1
...
Bumps [github/codeql-action](https://github.com/github/codeql-action ) from 4.39.0 to 4.39.1.
- [Release notes](https://github.com/github/codeql-action/releases )
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md )
- [Commits](https://github.com/github/codeql-action/compare/v4.39.0...v4.39.1 )
---
updated-dependencies:
- dependency-name: github/codeql-action
dependency-version: 4.39.1
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2026-10-26 08:25:19 +00:00
nirenjan
20e1dcc5fa
test: Enable daemon-communication tests on non-Linux platforms
2026-10-22 13:00:09 -07:00
nirenjan
8dfc9728b1
refactor: Split command function into individual subfunctions
...
This change refactors the cmd_config and cmd_logging functions and
breaks out the individual MATCH blocks into subfunctions, e.g.
cmd_logging_show. This reduces the overall cognitive complexity of the
program without impacting functionality.
2026-10-22 11:25:42 -07:00
nirenjan
f83da2068e
refactor(x52test): Make argv const
2026-10-21 15:30:45 -07:00
nirenjan
b463cdc9cd
refactor: Reduce cyclomatic complexity in daemon/device
2026-10-21 15:23:20 -07:00
nirenjan
c9f1ce42ca
refactor: Reduce cyclomatic complexity in daemon/io loop
2026-10-21 15:18:41 -07:00
nirenjan
57c53b4db6
test: Add additional coverage tests for io strings
2026-10-21 14:58:12 -07:00
nirenjan
cf6d201477
test: Add additional coverage tests for IO compare
2026-10-21 13:46:13 -07:00
nirenjan
b3d587e9bf
feat: Add libx52io function to compare two reports
...
This stems from a static analysis warning about using memcmp to compare
two libx52io_report structures, since there is likely padding which
could invisibly be containing different values, especially if the
reports are allocated on the stack and not explicitly initialized.
The function returns a bitmask of the changed fields, which could
conceivably be used by a downstream application to quickly determine the
changes.
2026-10-21 13:36:43 -07:00
nirenjan
90d8af7964
Merge pull request #84 from nirenjan/dependabot/github_actions/github/codeql-action-4.39.0
...
build(deps): bump github/codeql-action from 4.38.3 to 4.39.0
2026-10-19 10:09:37 -07:00
dependabot[bot]
8de5929b27
build(deps): bump github/codeql-action from 4.38.3 to 4.39.0
...
Bumps [github/codeql-action](https://github.com/github/codeql-action ) from 4.38.3 to 4.39.0.
- [Release notes](https://github.com/github/codeql-action/releases )
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md )
- [Commits](https://github.com/github/codeql-action/compare/v4.38.3...v4.39.0 )
---
updated-dependencies:
- dependency-name: github/codeql-action
dependency-version: 4.39.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2026-10-19 08:19:31 +00:00
nirenjan
71e1acf2ea
fix: Rework layout compiler to avoid backtracking
...
This change swaps out the Unicode lines to use a mix of whitespace and
non-whitespace characters so that it avoids backtracking. The name and
description lines no longer use regexes, but simple string splitting and
comparision, as a regex is overkill in this scenario.
2026-10-14 08:52:43 -07:00
nirenjan
65c07c63c7
fix: Rename loop variable to avoid shadowing warnings
2026-10-14 08:32:56 -07:00
nirenjan
a1095656e5
Merge pull request #83 from nirenjan/dependabot/github_actions/github/codeql-action-4.38.3
...
build(deps): bump github/codeql-action from 4.38.0 to 4.38.3
2026-10-13 08:58:01 -07:00
dependabot[bot]
fa52f17d01
build(deps): bump github/codeql-action from 4.38.0 to 4.38.3
...
Bumps [github/codeql-action](https://github.com/github/codeql-action ) from 4.38.0 to 4.38.3.
- [Release notes](https://github.com/github/codeql-action/releases )
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md )
- [Commits](https://github.com/github/codeql-action/compare/v4.38.0...v4.38.3 )
---
updated-dependencies:
- dependency-name: github/codeql-action
dependency-version: 4.38.3
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2026-10-13 00:25:14 +00:00
nirenjan
e64dd6a8fe
Merge pull request #77 from nirenjan/dependabot/github_actions/docker/login-action-4.6.0
...
build(deps): bump docker/login-action from 4.5.2 to 4.6.0
2026-09-14 06:59:04 -07:00
nirenjan
0bbb7fef09
Merge pull request #80 from nirenjan/dependabot/github_actions/github/codeql-action-4.38.0
...
build(deps): bump github/codeql-action from 4.37.4 to 4.38.0
2026-09-14 06:57:09 -07:00
dependabot[bot]
5811c8dfaa
build(deps): bump github/codeql-action from 4.37.4 to 4.38.0
...
Bumps [github/codeql-action](https://github.com/github/codeql-action ) from 4.37.4 to 4.38.0.
- [Release notes](https://github.com/github/codeql-action/releases )
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md )
- [Commits](https://github.com/github/codeql-action/compare/v4.37.4...v4.38.0 )
---
updated-dependencies:
- dependency-name: github/codeql-action
dependency-version: 4.38.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2026-09-14 08:16:49 +00:00
dependabot[bot]
8e12daa9b8
build(deps): bump docker/login-action from 4.5.2 to 4.6.0
...
Bumps [docker/login-action](https://github.com/docker/login-action ) from 4.5.2 to 4.6.0.
- [Release notes](https://github.com/docker/login-action/releases )
- [Commits](https://github.com/docker/login-action/compare/v4.5.2...v4.6.0 )
---
updated-dependencies:
- dependency-name: docker/login-action
dependency-version: 4.6.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2026-08-19 08:15:27 +00:00
nirenjan
13dba964f7
Merge pull request #75 from nirenjan/dependabot/github_actions/github/codeql-action-4.37.4
...
build(deps): bump github/codeql-action from 4 to 4.37.4
2026-08-18 21:37:49 -07:00
nirenjan
bc4d094624
Merge pull request #73 from nirenjan/dependabot/github_actions/docker/login-action-4.5.2
...
build(deps): bump docker/login-action from 4 to 4.5.2
2026-08-18 21:37:20 -07:00
dependabot[bot]
554dc9cbc5
build(deps): bump github/codeql-action from 4 to 4.37.4
...
Bumps [github/codeql-action](https://github.com/github/codeql-action ) from 4 to 4.37.4.
- [Release notes](https://github.com/github/codeql-action/releases )
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md )
- [Commits](https://github.com/github/codeql-action/compare/v4...v4.37.4 )
---
updated-dependencies:
- dependency-name: github/codeql-action
dependency-version: 4.37.4
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2026-08-04 08:14:22 +00:00
dependabot[bot]
bc88369df1
build(deps): bump docker/login-action from 4 to 4.5.2
...
Bumps [docker/login-action](https://github.com/docker/login-action ) from 4 to 4.5.2.
- [Release notes](https://github.com/docker/login-action/releases )
- [Commits](https://github.com/docker/login-action/compare/v4...v4.5.2 )
---
updated-dependencies:
- dependency-name: docker/login-action
dependency-version: 4.5.2
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2026-07-31 08:13:42 +00:00
nirenjan
10124fac19
Merge pull request #70 from nirenjan/dependabot/github_actions/codecov/codecov-action-7
...
build(deps): bump codecov/codecov-action from 6 to 7
2026-06-21 09:03:07 -07:00
nirenjan
1ed285db04
Merge pull request #71 from nirenjan/dependabot/github_actions/actions/checkout-7
...
build(deps): bump actions/checkout from 6 to 7
2026-06-21 09:02:46 -07:00
dependabot[bot]
b36a1a873b
build(deps): bump actions/checkout from 6 to 7
...
Bumps [actions/checkout](https://github.com/actions/checkout ) from 6 to 7.
- [Release notes](https://github.com/actions/checkout/releases )
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md )
- [Commits](https://github.com/actions/checkout/compare/v6...v7 )
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-version: '7'
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2026-06-19 08:13:27 +00:00
dependabot[bot]
fda659c875
build(deps): bump codecov/codecov-action from 6 to 7
...
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action ) from 6 to 7.
- [Release notes](https://github.com/codecov/codecov-action/releases )
- [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md )
- [Commits](https://github.com/codecov/codecov-action/compare/v6...v7 )
---
updated-dependencies:
- dependency-name: codecov/codecov-action
dependency-version: '7'
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2026-06-08 08:19:51 +00:00
nirenjan
57676cf540
Revert "feat: Add localipc library for IPC over AF_UNIX"
...
This reverts commit b8f059a881 .
The localipc library was accidentally merged on the master branch,
whereas it should have been only on a side branch. This was generated
with the help of Cursor, and was in the process of being tested, but I
don't think it follows the style of the rest of the project. In
addition, this seems to be needlessly complex, and needs to be greatly
simplified.
2026-04-27 18:29:12 -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
03d7336234
doc: Fix exclude patterns after restructuring
2026-04-25 15:08:58 -07:00
nirenjan
a710ab5591
fix: Remove redundant condition in scroll.c
2026-04-25 13:04:45 -07:00
nirenjan
130a1f67de
feat: Add scroll functionality to libx52util
...
This change adds the ability to scroll a text blob to fit within the 16
character MFD limit. The daemon can use this in the future to implement
scrolling similar to how the Windows SST software did it.
2026-04-25 12:54:41 -07:00
nirenjan
4422ee89c0
feat: Add script to validate layout file
...
This change adds a Python script to validate the compiled layout file
and optionally dump the contents.
2026-04-22 15:18:54 -07:00
nirenjan
9aaec8b2f0
feat: Add Python paths module
...
This will be used in future commits to enable Python support
2026-04-22 12:12:21 -07:00
nirenjan
3f4990de4d
ci: Handle distro specific meson dist
2026-04-22 09:45:22 -07:00
nirenjan
fb913a06a2
ci: Pass allow-dirty to meson dist
2026-04-22 09:37:00 -07:00