Commit Graph

4183 Commits

Author SHA1 Message Date
dependabot[bot] c43582e917 build(deps): bump actions/labeler from 4 to 5
Bumps [actions/labeler](https://github.com/actions/labeler) from 4 to 5.
- [Release notes](https://github.com/actions/labeler/releases)
- [Commits](https://github.com/actions/labeler/compare/v4...v5)

---
updated-dependencies:
- dependency-name: actions/labeler
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-12-04 14:00:10 -05:00
dependabot[bot] d71bada8da build(deps): bump DeterminateSystems/nix-installer-action from 7 to 8
Bumps [DeterminateSystems/nix-installer-action](https://github.com/determinatesystems/nix-installer-action) from 7 to 8.
- [Release notes](https://github.com/determinatesystems/nix-installer-action/releases)
- [Commits](https://github.com/determinatesystems/nix-installer-action/compare/v7...v8)

---
updated-dependencies:
- dependency-name: DeterminateSystems/nix-installer-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-11-27 20:36:32 -05:00
dependabot[bot] 3ff7095d82 build(deps): bump DeterminateSystems/nix-installer-action from 6 to 7
Bumps [DeterminateSystems/nix-installer-action](https://github.com/determinatesystems/nix-installer-action) from 6 to 7.
- [Release notes](https://github.com/determinatesystems/nix-installer-action/releases)
- [Commits](https://github.com/determinatesystems/nix-installer-action/compare/v6...v7)

---
updated-dependencies:
- dependency-name: DeterminateSystems/nix-installer-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-11-19 17:26:21 -05:00
Brenden Matthews 2fbe79a65c
One more byte for error 2023-11-19 14:16:34 -05:00
Tin b9e7fa0574
Namespace mouse-events.cc/.h
Cleanup number namespaces so they use cstdint types instead of stdint.h
types. Latter could've caused some issues in the future.

Simplify valuator mask checking expression.

Signed-off-by: Tin <tin.svagelj@live.com>
2023-11-19 14:16:34 -05:00
Tin 1b45d95e26
Use core X11 events when Xinput is enabled
There was no way to propagate move events otherwise

Also, clang-format decided to kick in and reformat Xinput related
code...

Signed-off-by: Tin <tin.svagelj@live.com>
2023-11-19 14:16:33 -05:00
Tin 2e17a53d49
Prevent infinite loop in DependentOption
Signed-off-by: Tin <tin.svagelj@live.com>
2023-11-19 14:16:33 -05:00
Tin cbfdb13f50
Hide Nvidia on non-linux OSs
Signed-off-by: Tin <tin.svagelj@live.com>
2023-11-19 14:16:33 -05:00
Tin 20f9f60c6a
Fix build & cleanup
Signed-off-by: Tin <tin.svagelj@live.com>
2023-11-19 14:16:33 -05:00
Tin cbebe44707
Fix DependentOptions splitting arguments on spaces
Fix broken x11.cc

Signed-off-by: Tin <tin.svagelj@live.com>
2023-11-19 14:16:33 -05:00
Tin f6d42c5a69
Fix issues building without BUILD_ARGB flag
Fix half-saved change in display-wayland.cc

Signed-off-by: Tin <tin.svagelj@live.com>
2023-11-19 14:16:33 -05:00
Tin 4936c7492c
Provide a notice when build options get disabled
Reformat files and hope it invalidates CI cache :)

Signed-off-by: Tin <tin.svagelj@live.com>
2023-11-19 14:16:33 -05:00
Tin 484e667450
Update README.md to trigger CI
Signed-off-by: Tin <tin.svagelj@live.com>
2023-11-19 14:16:33 -05:00
Tin 7a3020fad5
Fix CMake script
Cleanup debug statements

Signed-off-by: Tin <tin.svagelj@live.com>
2023-11-19 14:16:33 -05:00
Tin 916be9812b
Handle movement through XInput if enabled
Cleanup modifiers
- This is preparation so that once Wayland adds support for these
  they're not an alien X11 bitset.
- Removed ones that aren't actual modifiers.

Tidy up code

Signed-off-by: Tin <tin.svagelj@live.com>
2023-11-19 14:16:33 -05:00
Tin a3fc61b078
Cleanup focus handling code on propagation
Signed-off-by: Tin <tin.svagelj@live.com>
2023-11-19 14:16:33 -05:00
Tin 965d7dc0a4
Simplify cursor checking
Additional tweaks and docs improvements

Signed-off-by: Tin <tin.svagelj@live.com>
2023-11-19 14:16:33 -05:00
Tin a591228b71
Modify CI and Nix flake
Code tweaks

Signed-off-by: Tin <tin.svagelj@live.com>
2023-11-19 14:16:32 -05:00
Tin a4ac632db7
Fix X11 area enter & leave bug
Signed-off-by: Tin <tin.svagelj@live.com>
2023-11-19 14:16:32 -05:00
Tin bf900545c0
Debug X11 enter & leave events
Fix import derps

Signed-off-by: Tin <tin.svagelj@live.com>
2023-11-19 14:16:32 -05:00
Tin 5d5e235467
Cleanup display-x11 includes
Signed-off-by: Tin <tin.svagelj@live.com>
2023-11-19 14:16:32 -05:00
Tin c4ef5f5e8c
Use SFINAE to collapse numeric pust_table_value impls
Signed-off-by: Tin <tin.svagelj@live.com>
2023-11-19 14:16:32 -05:00
Tin b5652006ef
Remove uint to make MacOS happy
Signed-off-by: Tin <tin.svagelj@live.com>
2023-11-19 14:16:32 -05:00
Tin 544a9060b8
Cleanup includes
Signed-off-by: Tin <tin.svagelj@live.com>
2023-11-19 14:16:32 -05:00
Tin e512405492
Add <array> import
Update /doc

Signed-off-by: Tin <tin.svagelj@live.com>
2023-11-19 14:16:32 -05:00
Tin f6a08f79b4
Tweaks
Signed-off-by: Tin <tin.svagelj@live.com>
2023-11-19 14:16:32 -05:00
Tin b4fa9b8ad9
Remove duplicate BUILD_MOUSE_EVENTS includes (again)
Signed-off-by: Tin <tin.svagelj@live.com>
2023-11-19 14:16:32 -05:00
Tin b1b7ae8b2c
Fix X11 build
Fix most issues with X11 event propagation.
Remove X11 code from mouse-events.cc/.h completely.

CMake:
Update toluapp cmake_minimum_required to stop it complaining during build.
Fix ConkyPlatformCheck.cmake not providing access to cairo, imlib2 and rsvg to Wayland.
Move BUILD_MOUSE_EVENTS includes under BUILD_GUI so they're not duplicated.

Signed-off-by: Tin <tin.svagelj@live.com>
2023-11-19 14:16:32 -05:00
Tin 8195533bb3
Fix lua stack pops in one of error branches
Remove some code added by accident; reduce change list.
Fix mouse_enter and mouse_leave events.

Signed-off-by: Tin <tin.svagelj@live.com>
2023-11-19 14:16:32 -05:00
Tin 189d243623
Add deprecation error and fix stack management
Signed-off-by: Tin <tin.svagelj@live.com>
2023-11-19 14:16:32 -05:00
Tin d4eb91fe39
Improve Lua table data
Signed-off-by: Tin <tin.svagelj@live.com>
2023-11-19 14:16:31 -05:00
Tin e87638201b
Add support for all previously supported events
Signed-off-by: Tin <tin.svagelj@live.com>
2023-11-19 14:16:31 -05:00
Tin 958bd1c525
Pass cursor move event to the script
Set initial window scale to 0 because wayland freezes the process when it's not >0.
Provide more information from `llua_mouse_hook` about why the callback is failing.
Prevent call to `llua_init` when provided lua_load script doesn't exist.
- This caused me a headache and now lua_L won't be initialized if the
  script doesn't exist. This prevents a missing file from causing later
  issues which might be harder to catch.
Feature gated X11 in mouse-events.h/.cc files.

Signed-off-by: Tin <tin.svagelj@live.com>
2023-11-19 14:16:31 -05:00
Tin 7afeaee755
Include mouse-events.h in llua.cc
Signed-off-by: Tin <tin.svagelj@live.com>
2023-11-19 14:15:04 -05:00
Tin Svagelj de374f3045
Add Wayland event listeners for pointer
Signed-off-by: Tin Svagelj <tin.svagelj@live.com>
2023-11-19 14:15:04 -05:00
Tin Svagelj afa5f326e8
Prepare environment
Signed-off-by: Tin Svagelj <tin.svagelj@live.com>
2023-11-19 14:14:59 -05:00
Brenden Matthews f52c5cbd7b Run npm audit fix 2023-11-08 14:55:27 -05:00
Brenden Matthews 370a02f087 Drop graph/linechart from web header
This resolves #1669.

Also bumped some dependencies.
2023-11-08 14:55:27 -05:00
Enrico Lamperti 42cdca055f Improve speedgraph scale descriptions in docs 2023-11-08 13:28:59 -05:00
dependabot[bot] ce9bd51573 build(deps): bump actions/setup-node from 3 to 4
Bumps [actions/setup-node](https://github.com/actions/setup-node) from 3 to 4.
- [Release notes](https://github.com/actions/setup-node/releases)
- [Commits](https://github.com/actions/setup-node/compare/v3...v4)

---
updated-dependencies:
- dependency-name: actions/setup-node
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-23 15:43:53 -04:00
dependabot[bot] d9c625ca68 build(deps): bump DeterminateSystems/nix-installer-action from 5 to 6
Bumps [DeterminateSystems/nix-installer-action](https://github.com/determinatesystems/nix-installer-action) from 5 to 6.
- [Release notes](https://github.com/determinatesystems/nix-installer-action/releases)
- [Commits](https://github.com/determinatesystems/nix-installer-action/compare/v5...v6)

---
updated-dependencies:
- dependency-name: DeterminateSystems/nix-installer-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-16 17:11:23 -04:00
Brenden Matthews 70a0e518c1
Bump version 2023-10-13 15:55:55 -04:00
Brenden Matthews bbdc7081ae
Preserve ordering of generated Lua code (#1646)
* Preserve ordering of generated Lua code

This fixes #1645, and (partially) reverts 68ac28.
2023-10-13 09:51:50 -04:00
Brenden Matthews 23a1ad3848
Bump version 2023-10-10 14:32:33 -04:00
Brenden Matthews d5c1f66310 Bump web deps 2023-10-10 14:31:01 -04:00
dependabot[bot] b936169e80 build(deps): bump DeterminateSystems/nix-installer-action from 4 to 5
Bumps [DeterminateSystems/nix-installer-action](https://github.com/determinatesystems/nix-installer-action) from 4 to 5.
- [Release notes](https://github.com/determinatesystems/nix-installer-action/releases)
- [Commits](https://github.com/determinatesystems/nix-installer-action/compare/v4...v5)

---
updated-dependencies:
- dependency-name: DeterminateSystems/nix-installer-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-10 14:23:56 -04:00
Brenden Matthews aac26b549e Fix long/short cpu stat init
Fixes #1630.
2023-09-30 17:20:45 -04:00
Ben Kibbey 53973402b4 hwmon: Fix device name path for some devices. 2023-09-27 08:17:45 -04:00
dependabot[bot] ae733352f1 build(deps): bump docker/setup-qemu-action from 2 to 3
Bumps [docker/setup-qemu-action](https://github.com/docker/setup-qemu-action) from 2 to 3.
- [Release notes](https://github.com/docker/setup-qemu-action/releases)
- [Commits](https://github.com/docker/setup-qemu-action/compare/v2...v3)

---
updated-dependencies:
- dependency-name: docker/setup-qemu-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-20 09:03:28 -04:00
dependabot[bot] 24de553787 build(deps): bump docker/setup-buildx-action from 2 to 3
Bumps [docker/setup-buildx-action](https://github.com/docker/setup-buildx-action) from 2 to 3.
- [Release notes](https://github.com/docker/setup-buildx-action/releases)
- [Commits](https://github.com/docker/setup-buildx-action/compare/v2...v3)

---
updated-dependencies:
- dependency-name: docker/setup-buildx-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-20 09:03:18 -04:00