Ferdina Kusumah
a0e475c057
Add solaar pot generation
2024-03-14 12:44:36 -04:00
Ferdina Kusumah
a02b1065ac
Add indonesian translations
2024-03-14 12:44:36 -04:00
Peter F. Patel-Schneider
d5bdf2b0f5
tests: complete testing of common
2024-03-13 16:08:16 -04:00
Peter F. Patel-Schneider
54ee78ee25
tests: start coverage of complex structures in hidpp20
2024-03-13 16:08:16 -04:00
Peter F. Patel-Schneider
4632c46e30
tests: expand coverage of hidpp20
2024-03-13 16:08:16 -04:00
Peter F. Patel-Schneider
03a5ca3d49
tests: expand coverage of common
2024-03-13 16:08:16 -04:00
Matthias Hagmann
5b09ace1f5
ruff: Apply single line import format
...
# Usage
pre-commit run --all-files
Related #2295
2024-03-13 15:41:21 -04:00
Matthias Hagmann
66d31885e4
ruff: Force single line imports
...
This makes commits easier to compare.
Related #2295
2024-03-13 15:41:21 -04:00
Matthias Hagmann
e92f1a8a0b
Automatically upgrade strings to f-string
...
Used flynt to convert strings to f-strings, where safely possible.
Usage:
flynt .
Related #2372
2024-03-13 11:02:50 -04:00
Peter F. Patel-Schneider
97ddee1929
docs: document battery-icons=solaar option
2024-03-13 08:50:28 -04:00
Peter F. Patel-Schneider
b957217ea8
receiver: delay device sending first messages
2024-03-13 08:34:28 -04:00
Peter F. Patel-Schneider
4a89a79a4d
device: remove checks for status attributes
2024-03-12 13:11:49 -04:00
Peter F. Patel-Schneider
dfd3d10c2e
device: optimize some functions in FeaturesArray
2024-03-12 12:21:17 -04:00
Peter F. Patel-Schneider
0b599194d1
device: fix bug in creating features array
2024-03-11 15:20:39 -04:00
Peter F. Patel-Schneider
f3ff61cfc1
cli: fix bug in building battery line in show
2024-03-11 15:20:39 -04:00
MattHag
704d591448
ui: refactor diversion_rules
...
* refactor: Create close dialog in its own function
Related #2378
* refactor: Create selected rule edit panel in module level function
Related #2378
* refactor: Remove commented code
Related #2378
* refactor: Use Gdk constant for right click button comparison
Related #2378
* refactor: Make _menu_do_copy a function
Related #2378
2024-03-11 10:19:20 -04:00
Peter F. Patel-Schneider
569f829a63
ui: fix bug in determining tray icon
2024-03-11 08:23:27 -04:00
Peter F. Patel-Schneider
24223e77c7
device: fix bug in getting friendly name
2024-03-11 08:23:27 -04:00
Peter F. Patel-Schneider
9c5ba6445e
device: remove status from Device and Receiver
2024-03-11 08:23:27 -04:00
Peter F. Patel-Schneider
a1418cd834
device: move changed method from status to Device and Receiver
2024-03-11 08:23:27 -04:00
Peter F. Patel-Schneider
1fe2eab1a4
device: move link_encrypted from status to Device
2024-03-11 08:23:27 -04:00
Peter F. Patel-Schneider
15d425c365
device: move battery information from status to Device
2024-03-11 08:23:27 -04:00
Peter F. Patel-Schneider
0805ecb511
device: move status string function to Device and Receiver
2024-03-11 08:23:27 -04:00
Peter F. Patel-Schneider
87285faf7f
receiver: move pairing status to new dataclass attached to receiver
2024-03-11 08:23:27 -04:00
MattHag
0d225f6cb1
test: Test base product information
...
* test: Test base product information
Related #1097
* Fix dependencies for gi
2024-03-10 10:11:02 -04:00
Matthias Hagmann
e226b76b8b
Disable macOS tests until GitHub CI dependencies are fixed
...
Related #1097
2024-03-10 09:20:39 -04:00
Matthias Hagmann
cc7194fe3d
Extend Ubuntu dependencies for GitHub CI
...
Related #1097
2024-03-10 09:20:39 -04:00
Matthias Hagmann
7ec3eddccc
test: Extract get_kind_from_index function and test it
...
Pull get_kind_from_index from class to module level and add tests.
Related #1097
2024-03-10 09:20:39 -04:00
Peter F. Patel-Schneider
c23c6b7124
docs: update EX100 information
2024-03-09 10:36:40 -05:00
Peter F. Patel-Schneider
523628926b
device: use Python 3.7 type hints
2024-03-09 10:36:40 -05:00
Peter F. Patel-Schneider
135c8b8cb9
device: use status attribute for error
2024-03-09 10:36:40 -05:00
Peter F. Patel-Schneider
8154cd759f
device: use status attribute for notification_flags
2024-03-09 10:36:40 -05:00
Peter F. Patel-Schneider
6b3f09aa5d
device: use status attribute for link_encrypted
2024-03-09 10:36:40 -05:00
Peter F. Patel-Schneider
9121169f91
ui: use Battery object in GUI
2024-03-09 10:36:40 -05:00
Peter F. Patel-Schneider
64d8cad81a
device: change status battery fields to Battery objects
2024-03-09 10:36:40 -05:00
Peter F. Patel-Schneider
3916c189be
receiver: move more method code to subclasses
2024-03-08 15:39:12 -05:00
Matthias Hagmann
4eb5a83326
receiver: create subclasses of receiver for different variants
...
Related #2350
2024-03-08 15:39:12 -05:00
Peter F. Patel-Schneider
a90a367609
docs: add requirement for CONFIG_HIDRAW
2024-03-07 16:32:41 -05:00
Peter F. Patel-Schneider
15ed26887b
tests: tests for a few simple hidpp20 functions
2024-03-05 15:27:07 -05:00
Peter F. Patel-Schneider
a2bf51386a
tests: add yaml test for led setting
2024-03-05 15:27:07 -05:00
Peter F. Patel-Schneider
c3e988a03a
tests: simple tests for hidpp20 profiles and lighting
2024-03-05 15:27:07 -05:00
Swapnil Devesh
5ee1c6df30
ui: fix app name casing in UI
...
* Fix app name casing in UI
* Linter fixes
* Only use NAME variable
* FIx linter errors
2024-03-05 12:08:56 -05:00
Peter F. Patel-Schneider
51ef2a7fe2
device: add missing receiver type for Lightspeed receivers
2024-03-03 15:14:20 -05:00
Peter F. Patel-Schneider
de8fe3685d
device: add new device types
2024-03-03 15:14:20 -05:00
Matthias Hagmann
c3b6802373
refactor: Get receiver product info before instantiation
...
Related #2350
2024-03-03 10:38:46 -05:00
Matthias Hagmann
8f6e8eef4c
Refactor: Move Device instantiation to factory class
...
Related #2273
2024-03-03 09:32:42 -05:00
Matthias Hagmann
51e44052b0
Refactor: Move Receiver instantiation to factory class
...
Related #2350
2024-03-03 09:32:42 -05:00
Matthias Hagmann
5edf5e7419
Simplify name of license file
...
Related #2273
2024-03-02 18:15:56 -05:00
Matthias Hagmann
85af0fc667
Rename changelog.md to all capitals
...
The basic files in root often use all capitals, as is already used for
readme and manifest.
Related #2273
2024-03-02 18:15:56 -05:00
Matthias Hagmann
79f7c5ef77
Update .gitignore
...
Related #2273
2024-03-02 18:15:56 -05:00