382e0b6797 
								
							 
						 
						
							
							
								
								solaar: Remove outdated logger enabled checks  
							
							... 
							
							
							
							Logger enabled checks clutter the code unnecessarily. The checks are
now handled in a custom logger class. Eventually they can be completely
removed in the future.
Related #2664  
							
						 
						
							2025-01-02 09:26:31 -05:00  
				
					
						
							
							
								 
						
							
								67829c5807 
								
							 
						 
						
							
							
								
								Clean up imports ( #2537 )  
							
							... 
							
							
							
							* Remove import as _ in solaar startup
Related #2273 
* Remove import as _ in listener
Related #2273 
* Remove import as _ in cli init
Related #2273 
* Remove import as _ in gtk
Related #2273 
* Remove import as _ in show
Related #2273 
* Remove import as _ in tray
Related #2273 
* Remove import as _ in profiles
Related #2273 
* Remove import as _ in config
Related #2273 
* Remove import as _ in config panel
Related #2273 
* Remove import as _ in window
Related #2273 
* Remove import as _ in pair
Related #2273 
* Remove import as _ in pair window
Related #2273 
* Remove import as _ in cli package
Related #2273 
* Remove import as _ in ui package
Related #2273 
* Remove commented out code
Related #2273 
* Use constant for Logitech ID 
							
						 
						
							2024-07-15 08:37:18 -04:00  
				
					
						
							
							
								 
						
							
								815dce07be 
								
							 
						 
						
							
							
								
								Unify imports in logitech package  
							
							... 
							
							
							
							Related #2273  
							
						 
						
							2024-05-23 16:42:18 -04:00  
				
					
						
							
							
								 
						
							
								6939fb7196 
								
							 
						 
						
							
							
								
								solaar: use only timer thread to save config.yaml  
							
							
							
						 
						
							2024-02-27 14:47:03 -05:00  
				
					
						
							
							
								 
						
							
								8744506259 
								
							 
						 
						
							
							
								
								solaar: add locks to prevent multiple persisters for device  
							
							
							
						 
						
							2024-02-23 08:40:16 -05:00  
				
					
						
							
							
								 
						
							
								3954bbd111 
								
							 
						 
						
							
							
								
								solaar: clean up configuration code  
							
							
							
						 
						
							2024-02-23 08:40:16 -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  
				
					
						
							
							
								 
						
							
								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  
				
					
						
							
							
								 
						
							
								8c803b415e 
								
							 
						 
						
							
							
								
								ui: ignore smooth scroll settings by default  
							
							
							
						 
						
							2023-02-03 09:34:27 -05:00  
				
					
						
							
							
								 
						
							
								ff24947321 
								
							 
						 
						
							
							
								
								configuration: fix glitch when changing versions  
							
							
							
						 
						
							2023-02-03 09:17:19 -05:00  
				
					
						
							
							
								 
						
							
								351e2268cd 
								
							 
						 
						
							
							
								
								config: remove derived fields from config file when Solaar version changes  
							
							... 
							
							
							
							* renamed variables
* Restructured configuration loading and ignore config generated by other versions
This fixes an issue where newer solaar versions may have better support for a
device which are not utilised because it is reading a configuration file
generated by an earlier version before support was added.
* fixed formatting
* discard only absent and battery
* discard name property as well
* do not discard name 
							
						 
						
							2023-01-03 17:06:04 -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  
				
					
						
							
							
								 
						
							
								b5f6a509c9 
								
							 
						 
						
							
							
								
								cli: don't defer saves in cli and don't require gtk in cli  
							
							
							
						 
						
							2022-10-30 12:09:30 -04:00  
				
					
						
							
							
								 
						
							
								130aa20bb1 
								
							 
						 
						
							
							
								
								solaar: handle exceptions processing configuration file  
							
							
							
						 
						
							2022-10-11 12:53:46 -04:00  
				
					
						
							
							
								 
						
							
								be81013704 
								
							 
						 
						
							
							
								
								solaar: fix bad entries in divert-keys when found  
							
							
							
						 
						
							2022-10-06 22:00:38 -04:00  
				
					
						
							
							
								 
						
							
								193e280e87 
								
							 
						 
						
							
							
								
								solaar: correctly convert old-style diversions to new style and remove old ones  
							
							
							
						 
						
							2022-10-06 22:00:38 -04:00  
				
					
						
							
							
								 
						
							
								a97070e60e 
								
							 
						 
						
							
							
								
								configure: remove debugging print statement  
							
							
							
						 
						
							2022-09-30 01:28:12 -04:00  
				
					
						
							
							
								 
						
							
								333a5083c1 
								
							 
						 
						
							
							
								
								solaar: use device name if device modelId is zeroes  
							
							
							
						 
						
							2022-09-27 16:46:02 -04:00  
				
					
						
							
							
								 
						
							
								ddd3ef72d3 
								
							 
						 
						
							
							
								
								settings: convert old-style mouse gestures and dpi sliding settings to new style  
							
							
							
						 
						
							2022-07-25 16:26:21 -04:00  
				
					
						
							
							
								 
						
							
								e51b98e1fe 
								
							 
						 
						
							
							
								
								configuration: defer configuration file writes for up to 5 seconds  
							
							
							
						 
						
							2022-07-17 09:41:41 -04:00  
				
					
						
							
							
								 
						
							
								afa91b57c8 
								
							 
						 
						
							
							
								
								config: fix message generation when device is offline  
							
							
							
						 
						
							2022-04-29 14:22:38 -04:00  
				
					
						
							
							
								 
						
							
								0c4e4fcf7f 
								
							 
						 
						
							
							
								
								solaar: only create configuration entries for off-line devices if they have a serial number  
							
							
							
						 
						
							2022-04-26 09:03:20 -04:00  
				
					
						
							
							
								 
						
							
								8ac8fe6401 
								
							 
						 
						
							
							
								
								solaar: handle devices with all-zero modelId  
							
							
							
						 
						
							2022-04-10 16:35:08 -04:00  
				
					
						
							
							
								 
						
							
								37bc1d7bd0 
								
							 
						 
						
							
							
								
								solaar: better formatting and cleanup of config.yaml  
							
							
							
						 
						
							2022-04-10 16:35:08 -04:00  
				
					
						
							
							
								 
						
							
								d90ee945ab 
								
							 
						 
						
							
							
								
								device: use int instead of str for setting keys  
							
							
							
						 
						
							2022-04-10 16:35:08 -04:00  
				
					
						
							
							
								 
						
							
								e5b11ca2f9 
								
							 
						 
						
							
							
								
								solaar: use list for configurations and write in yaml  
							
							
							
						 
						
							2022-04-10 16:35:08 -04:00  
				
					
						
							
							
								 
						
							
								89d7490bf1 
								
							 
						 
						
							
							
								
								Remove redundant value  
							
							... 
							
							
							
							Opening read-only is the default. 
							
						 
						
							2021-10-30 16:49:41 -04:00  
				
					
						
							
							
								 
						
							
								6c4e0333d4 
								
							 
						 
						
							
							
								
								Drop legacy Python 2 `super()` syntax  
							
							... 
							
							
							
							This is a no-op on Python 3. 
							
						 
						
							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  
				
					
						
							
							
								 
						
							
								3969472dd3 
								
							 
						 
						
							
							
								
								settings: dpi sliding looks for suitable key  
							
							
							
						 
						
							2021-04-18 07:36:29 -04:00  
				
					
						
							
							
								 
						
							
								5d885f76e7 
								
							 
						 
						
							
							
								
								settings: show potential triggering keys for mouse gesture setting  
							
							
							
						 
						
							2021-04-17 10:32:24 -04:00  
				
					
						
							
							
								 
						
							
								1bd68177ab 
								
							 
						 
						
							
							
								
								configure: keep track of serial numbers in configuration file  
							
							
							
						 
						
							2021-03-30 08:36:37 -04:00  
				
					
						
							
							
								 
						
							
								646151ae61 
								
							 
						 
						
							
							
								
								receiver: reduce unnecessary writes of config file  
							
							
							
						 
						
							2020-11-21 12:34:13 -05:00  
				
					
						
							
							
								 
						
							
								93b5a0008b 
								
							 
						 
						
							
							
								
								ui: add lock icon to control whether setting can be changed  
							
							
							
						 
						
							2020-10-25 14:13:58 -04:00  
				
					
						
							
							
								 
						
							
								815c9755b5 
								
							 
						 
						
							
							
								
								receiver: handle bluetooth-connected devices  
							
							
							
						 
						
							2020-09-29 11:26:34 -04:00  
				
					
						
							
							
								 
						
							
								b1d4b2f3cd 
								
							 
						 
						
							
							
								
								receiver: add model and node ID and use in configurations  
							
							
							
						 
						
							2020-09-23 18:03:47 -04:00  
				
					
						
							
							
								 
						
							
								8e89aa0038 
								
							 
						 
						
							
							
								
								yapf: set max line lenght to 127  
							
							... 
							
							
							
							Signed-off-by: Filipe Laíns <lains@archlinux.org> 
							
						 
						
							2020-07-07 15:11:15 +01:00  
				
					
						
							
							
								 
						
							
								627185079f 
								
							 
						 
						
							
							
								
								flake8: initial fix  
							
							... 
							
							
							
							Signed-off-by: Filipe Laíns <lains@archlinux.org> 
							
						 
						
							2020-07-07 15:11:15 +01:00  
				
					
						
							
							
								 
						
							
								33521558ed 
								
							 
						 
						
							
							
								
								pre-commit: initial fix  
							
							... 
							
							
							
							Signed-off-by: Filipe Laíns <lains@archlinux.org> 
							
						 
						
							2020-07-07 15:11:15 +01:00  
				
					
						
							
							
								 
						
							
								e6369e0c3c 
								
							 
						 
						
							
							
								
								isort: intial import fix  
							
							... 
							
							
							
							Signed-off-by: Filipe Laíns <lains@archlinux.org> 
							
						 
						
							2020-07-07 15:11:15 +01:00  
				
					
						
							
							
								 
						
							
								72a8d311bc 
								
							 
						 
						
							
							
								
								yapf: change code style to yapf  
							
							... 
							
							
							
							Signed-off-by: Filipe Laíns <lains@archlinux.org> 
							
						 
						
							2020-07-07 15:11:15 +01:00  
				
					
						
							
							
								 
						
							
								56762b5494 
								
							 
						 
						
							
							
								
								device: move persister from Setting to _DeviceDescriptor to get around problem with settings discovered after startup  
							
							
							
						 
						
							2020-01-21 03:23:25 +00:00  
				
					
						
							
							
								 
						
							
								38c76393b1 
								
							 
						 
						
							
							
								
								added copyright notices to all source files  
							
							
							
						 
						
							2013-07-15 17:54:42 +02:00  
				
					
						
							
							
								 
						
							
								0e6d088372 
								
							 
						 
						
							
							
								
								fixed some awkward path joining stuff  
							
							
							
						 
						
							2013-07-11 22:46:29 +02:00  
				
					
						
							
							
								 
						
							
								39534d11dd 
								
							 
						 
						
							
							
								
								make sure all debug and info loggings are if-guarded  
							
							
							
						 
						
							2013-07-07 17:18:42 +02:00  
				
					
						
							
							
								 
						
							
								ca2f5f927c 
								
							 
						 
						
							
							
								
								configuration: save on every change ( fixes   #80 )  
							
							
							
						 
						
							2013-07-07 16:06:27 +02:00  
				
					
						
							
							
								 
						
							
								20aa797e96 
								
							 
						 
						
							
							
								
								configuration: use wpid in device key  
							
							
							
						 
						
							2013-07-01 18:53:10 +02:00  
				
					
						
							
							
								 
						
							
								8d5718178f 
								
							 
						 
						
							
							
								
								load the configuration when the device is detected  
							
							... 
							
							
							
							and apply it every time the device comes online 
							
						 
						
							2013-06-29 20:35:02 +02:00