be83dac209 
								
							 
						 
						
							
							
								
								hid: Convert definition of HID registers to enum  
							
							... 
							
							
							
							* Refactor HID Register definitions
Use enums for distinct type hints, easy discovery of registers.
Make constants uppercase and benefit from enum auto-completion.
Related #2273 
* Improve type hints: Registers 
							
						 
						
							2024-06-02 10:34:00 -04:00  
				
					
						
							
							
								 
						
							
								c29231bc6b 
								
							 
						 
						
							
							
								
								refactor: Creation of devices ( #2493 )  
							
							... 
							
							
							
							* Refine interfaces for testability
* Reenable fixed device tests 
							
						 
						
							2024-05-27 11:58:16 -04:00  
				
					
						
							
							
								 
						
							
								37aa0963da 
								
							 
						 
						
							
							
								
								solaar: don't ping device just to get logging information  
							
							
							
						 
						
							2024-05-04 04:46:27 -04:00  
				
					
						
							
							
								 
						
							
								e667d41c7b 
								
							 
						 
						
							
							
								
								solaar: use bluez dbus signals to disconnect and connect bluetooth devices  
							
							
							
						 
						
							2024-04-18 20:32:40 -04:00  
				
					
						
							
							
								 
						
							
								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  
				
					
						
							
							
								 
						
							
								4a89a79a4d 
								
							 
						 
						
							
							
								
								device: remove checks for status attributes  
							
							
							
						 
						
							2024-03-12 13:11:49 -04:00  
				
					
						
							
							
								 
						
							
								9c5ba6445e 
								
							 
						 
						
							
							
								
								device: remove status from Device and Receiver  
							
							
							
						 
						
							2024-03-11 08:23:27 -04:00  
				
					
						
							
							
								 
						
							
								a1418cd834 
								
							 
						 
						
							
							
								
								device: move changed method from status to Device and Receiver  
							
							
							
						 
						
							2024-03-11 08:23:27 -04:00  
				
					
						
							
							
								 
						
							
								87285faf7f 
								
							 
						 
						
							
							
								
								receiver: move pairing status to new dataclass attached to receiver  
							
							
							
						 
						
							2024-03-11 08:23:27 -04:00  
				
					
						
							
							
								 
						
							
								8154cd759f 
								
							 
						 
						
							
							
								
								device: use status attribute for notification_flags  
							
							
							
						 
						
							2024-03-09 10:36:40 -05:00  
				
					
						
							
							
								 
						
							
								8f6e8eef4c 
								
							 
						 
						
							
							
								
								Refactor: Move Device instantiation to factory class  
							
							... 
							
							
							
							Related #2273  
							
						 
						
							2024-03-03 09:32:42 -05:00  
				
					
						
							
							
								 
						
							
								51e44052b0 
								
							 
						 
						
							
							
								
								Refactor: Move Receiver instantiation to factory class  
							
							... 
							
							
							
							Related #2350  
							
						 
						
							2024-03-03 09:32:42 -05:00  
				
					
						
							
							
								 
						
							
								14f19ceaaf 
								
							 
						 
						
							
							
								
								solaar: cleanup listener code  
							
							
							
						 
						
							2024-02-23 11:37:23 -05:00  
				
					
						
							
							
								 
						
							
								eb937fcc3a 
								
							 
						 
						
							
							
								
								Manually fix linter issues  
							
							... 
							
							
							
							Related #2295  
							
						 
						
							2024-02-20 15:41:10 -05:00  
				
					
						
							
							
								 
						
							
								7774569971 
								
							 
						 
						
							
							
								
								Apply ruff format  
							
							... 
							
							
							
							Run ruff auto formatting using:
ruff format .
Related #2295  
							
						 
						
							2024-02-20 15:41:10 -05:00  
				
					
						
							
							
								 
						
							
								6f633efac5 
								
							 
						 
						
							
							
								
								ui: implement setting_changed callback and pass in to new devices and receivers  
							
							
							
						 
						
							2024-02-20 06:19:23 -05:00  
				
					
						
							
							
								 
						
							
								e8fdbeee8e 
								
							 
						 
						
							
							
								
								logitech_receiver: Move exceptions into own module  
							
							... 
							
							
							
							Related #1097  
							
						 
						
							2024-02-20 05:58:33 -05:00  
				
					
						
							
							
								 
						
							
								12de240949 
								
							 
						 
						
							
							
								
								device: improve imports in logitech_receiver  
							
							... 
							
							
							
							device: move imports of ui modules to beginning of files
logitech_receiver: remove imports from __init__.py 
							
						 
						
							2024-02-18 06:21:35 -05:00  
				
					
						
							
							
								 
						
							
								d1c899d6da 
								
							 
						 
						
							
							
								
								solaar: improve imports and guard Gtk, etc imports with correct version  
							
							... 
							
							
							
							solaar: move imports to top of files
solaar: move more imports to top of files
solaar: guard Gtk, etc imports with correct version 
							
						 
						
							2024-02-18 06:21:35 -05:00  
				
					
						
							
							
								 
						
							
								87658fb189 
								
							 
						 
						
							
							
								
								logging: Simplify logger instantiation  
							
							... 
							
							
							
							* logging: Simplify logger instantiation
Relates #2254 
* logging: Remove aliases
Relates #2254 
* logging: Replace deprecated warn with warning
Related #2254 
* logging: Fix mistake
Related #2257  
							
						 
						
							2024-02-10 13:55:27 -05:00  
				
					
						
							
							
								 
						
							
								28493f7496 
								
							 
						 
						
							
							
								
								ui: downgrade assertion on missing notification flag to warning  
							
							
							
						 
						
							2024-01-30 08:02:25 -05:00  
				
					
						
							
							
								 
						
							
								195e28ad76 
								
							 
						 
						
							
							
								
								gui: defend against lightspeed receivers that contact devices for basic information  
							
							
							
						 
						
							2023-12-24 23:59:34 -05:00  
				
					
						
							
							
								 
						
							
								4669cad2e1 
								
							 
						 
						
							
							
								
								ui: be more cautious when creating log messages to avoid exceptions  
							
							
							
						 
						
							2023-11-19 12:04:02 -05:00  
				
					
						
							
							
								 
						
							
								5657c1ac99 
								
							 
						 
						
							
							
								
								device: put initial ping of direct-connected devices inside listener thread  
							
							
							
						 
						
							2023-01-16 08:44:56 -05:00  
				
					
						
							
							
								 
						
							
								36e136b841 
								
							 
						 
						
							
							
								
								ui: retry adding devices if permissions are wrong  
							
							
							
						 
						
							2022-12-17 13:28:11 -05:00  
				
					
						
							
							
								 
						
							
								fc1b72faa1 
								
							 
						 
						
							
							
								
								ui: better handling of IO errors at device creation  
							
							
							
						 
						
							2022-12-17 13:28:11 -05:00  
				
					
						
							
							
								 
						
							
								e1e843346c 
								
							 
						 
						
							
							
								
								solaar: fix tyop in ping_all  
							
							
							
						 
						
							2022-11-30 15:21:59 -05:00  
				
					
						
							
							
								 
						
							
								5656f90cdb 
								
							 
						 
						
							
							
								
								misc: update yapf version  
							
							... 
							
							
							
							* misc: update yapf version v2
* Update .pre-commit-config.yaml
Co-authored-by: Peter F. Patel-Schneider <pfpschneider@gmail.com> 
							
						 
						
							2022-11-26 22:37:32 -05:00  
				
					
						
							
							
								 
						
							
								0c7a9dd0a7 
								
							 
						 
						
							
							
								
								misc: update isort to current version  
							
							... 
							
							
							
							* Update .pre-commit-config.yaml
* Update solaar
* Update udev.py
* Update __init__.py
* Update gtk.py
* Update i18n.py
* Update listener.py
* Update icons.py
* Update notify.py
* Update hidconsole
* Update gtk.py
* Update icons.py
Co-authored-by: Peter F. Patel-Schneider <pfpschneider@gmail.com> 
							
						 
						
							2022-11-26 13:58:46 -05:00  
				
					
						
							
							
								 
						
							
								9e5eb5853e 
								
							 
						 
						
							
							
								
								listener: check for presence of status attribute when resuming  
							
							
							
						 
						
							2022-10-21 16:48:07 -04:00  
				
					
						
							
							
								 
						
							
								3e90c3bc8a 
								
							 
						 
						
							
							
								
								hidapi: process hid report descriptors to identify devices  
							
							
							
						 
						
							2022-10-13 16:14:30 -04:00  
				
					
						
							
							
								 
						
							
								4059b377b4 
								
							 
						 
						
							
							
								
								receiver: use last_id as maximum device number not max_devices  
							
							
							
						 
						
							2022-08-20 20:12:48 -04:00  
				
					
						
							
							
								 
						
							
								b5e910916c 
								
							 
						 
						
							
							
								
								solaar: defensive measure for partly set up receiver when notifications start  
							
							
							
						 
						
							2022-05-04 10:54:03 -04:00  
				
					
						
							
							
								 
						
							
								bb20631a27 
								
							 
						 
						
							
							
								
								misc: remove support for Python 2 unicode  
							
							
							
						 
						
							2022-04-11 13:20:42 -04:00  
				
					
						
							
							
								 
						
							
								7d230a1f31 
								
							 
						 
						
							
							
								
								solaar: treat all DJ pairing notifications as only needing an informational message  
							
							
							
						 
						
							2022-04-05 16:34:43 -04:00  
				
					
						
							
							
								 
						
							
								3c4efb4ad5 
								
							 
						 
						
							
							
								
								ui: ensure that settings are pushed to all devices when resuming  
							
							
							
						 
						
							2022-03-09 09:12:10 -05:00  
				
					
						
							
							
								 
						
							
								b7a1b81181 
								
							 
						 
						
							
							
								
								device: push settings when device requests software reconfiguration  
							
							
							
						 
						
							2021-12-20 08:06:03 -05:00  
				
					
						
							
							
								 
						
							
								886df1daaf 
								
							 
						 
						
							
							
								
								receiver: add support for Bolt receiver (no pairing yet)  
							
							
							
						 
						
							2021-11-11 10:48:12 -05:00  
				
					
						
							
							
								 
						
							
								6c4e0333d4 
								
							 
						 
						
							
							
								
								Drop legacy Python 2 `super()` syntax  
							
							... 
							
							
							
							This is a no-op on Python 3. 
							
						 
						
							2021-10-30 16:49:41 -04:00  
				
					
						
							
							
								 
						
							
								22bf4fafff 
								
							 
						 
						
							
							
								
								Drop unnecessary __future__ imports  
							
							... 
							
							
							
							These are all active by default on all recent Python versions. 
							
						 
						
							2021-10-30 16:49:41 -04:00  
				
					
						
							
							
								 
						
							
								b96d16672b 
								
							 
						 
						
							
							
								
								Drop obsolete encoding declaration  
							
							... 
							
							
							
							This was only parsed in Python 2.
Python 3 only supports UTF-8 for source files, and that's what it uses. 
							
						 
						
							2021-10-30 16:49:41 -04:00  
				
					
						
							
							
								 
						
							
								c1ce3c2c5f 
								
							 
						 
						
							
							
								
								listener: ignore many notifications that come to a device listener  
							
							
							
						 
						
							2021-10-28 12:49:20 -04:00  
				
					
						
							
							
								 
						
							
								0d9fe48b0c 
								
							 
						 
						
							
							
								
								listener: handle fake Nano connection notifications  
							
							
							
						 
						
							2021-09-24 21:55:15 -04:00  
				
					
						
							
							
								 
						
							
								6c62f975d0 
								
							 
						 
						
							
							
								
								ui: directly connected devices don't need to support connection notifications  
							
							
							
						 
						
							2021-04-12 23:21:22 -04:00  
				
					
						
							
							
								 
						
							
								62034758f0 
								
							 
						 
						
							
							
								
								ui: check that receivers support connection nofications  
							
							
							
						 
						
							2021-04-12 22:32:11 -04:00  
				
					
						
							
							
								 
						
							
								9842972d8b 
								
							 
						 
						
							
							
								
								receiver: handle exception when device is not available while being added  
							
							
							
						 
						
							2021-04-04 22:33:38 -04:00  
				
					
						
							
							
								 
						
							
								6ed09d0643 
								
							 
						 
						
							
							
								
								listener: perform initial activation of devices in listener threads  
							
							... 
							
							
							
							listener: perform initial activation of devices in listener threads 
							
						 
						
							2021-03-30 08:36:37 -04:00  
				
					
						
							
							
								 
						
							
								808a719823 
								
							 
						 
						
							
							
								
								device: push device settings when device is active after suspend  
							
							
							
						 
						
							2020-11-27 10:02:46 -05:00  
				
					
						
							
							
								 
						
							
								ade9c816c7 
								
							 
						 
						
							
							
								
								receiver: add report_id to notifications and use where appropriate  
							
							
							
						 
						
							2020-11-13 08:46:04 -05:00  
				
					
						
							
							
								 
						
							
								a9d6b4c319 
								
							 
						 
						
							
							
								
								listener: make sure device has a status before processing notifications  
							
							
							
						 
						
							2020-10-01 17:45:49 -04:00