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
nirenjan
c373ca9647
build: Fix meson dist issue inside containers
2026-04-22 09:34:12 -07:00
nirenjan
9cddfe9cef
fix: Address dependency issue with generated module-map.h
2026-04-22 09:16:14 -07:00
nirenjan
5fecdd3929
feat: Generate identifiers for communication
...
In order to improve security around the command processing, I plan to
upgrade the communication protocol to use a fixed structure with an
optional payload. As a first pass on this, I added a script to generate
the IDs automatically from the configuration, as well as a script to map
the module names and log levels to integer IDs.
This also replaces the manual lmap_* and array_get_index lookup tables,
so I don't have to always deal with creating an entry in constants.h and
command.c and making sure they are in sync.
2026-04-22 09:02:17 -07:00
nirenjan
772017661d
test: Add tests for x52evtest and x52joytest
...
This change adds additional code coverage test cases for the evtest and
joytest modules.
2026-04-20 22:32:31 -07:00
nirenjan
fdf884cb1c
build: Fix install of vkm.h
2026-04-20 10:38:47 -07:00
nirenjan
e0ab5bbab7
Merge pull request #69 from nirenjan/rework-to-address-sonarqube-duplicate-code-issue
...
refactor: Rearrange files to avoid duplicate code issue
2026-04-20 10:34:43 -07:00
nirenjan
3c02fe5ec2
refactor: Rearrange files to avoid duplicate code issue
...
Prior to this change, SonarQube complains about duplicated code in the
symlinked header files. This change reworks the layout so that the
installed headers all reside under the 'includes' directory, and the
meson.build files are updated to reflect the new paths.
2026-04-20 10:28:24 -07:00
nirenjan
dbf891f951
Merge pull request #68 from nirenjan/dependabot/github_actions/actions/upload-pages-artifact-5
...
build(deps): bump actions/upload-pages-artifact from 4 to 5
2026-04-16 18:06:13 -07:00
nirenjan
79676250fc
Merge pull request #67 from nirenjan/dependabot/github_actions/softprops/action-gh-release-3
...
build(deps): bump softprops/action-gh-release from 2 to 3
2026-04-16 18:05:56 -07:00
dependabot[bot]
a2ce2e2218
build(deps): bump actions/upload-pages-artifact from 4 to 5
...
Bumps [actions/upload-pages-artifact](https://github.com/actions/upload-pages-artifact ) from 4 to 5.
- [Release notes](https://github.com/actions/upload-pages-artifact/releases )
- [Commits](https://github.com/actions/upload-pages-artifact/compare/v4...v5 )
---
updated-dependencies:
- dependency-name: actions/upload-pages-artifact
dependency-version: '5'
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2026-04-14 08:21:56 +00:00
dependabot[bot]
c487508b7b
build(deps): bump softprops/action-gh-release from 2 to 3
...
Bumps [softprops/action-gh-release](https://github.com/softprops/action-gh-release ) from 2 to 3.
- [Release notes](https://github.com/softprops/action-gh-release/releases )
- [Changelog](https://github.com/softprops/action-gh-release/blob/master/CHANGELOG.md )
- [Commits](https://github.com/softprops/action-gh-release/compare/v2...v3 )
---
updated-dependencies:
- dependency-name: softprops/action-gh-release
dependency-version: '3'
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2026-04-13 08:38:12 +00:00