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  
				
					
						
							
							
								 
						
							
								8ab8cb0225 
								
							 
						 
						
							
							
								
								docs: Update about.py ( #2535 )  
							
							... 
							
							
							
							Update copyright date in about page to reflect current year (2024)
Follow-up to #2074  
							
						 
						
							2024-06-23 17:56:52 -04:00  
				
					
						
							
							
								 
						
							
								5a63e44d58 
								
							 
						 
						
							
							
								
								Remove empty comment lines  
							
							... 
							
							
							
							Remove hashtags solely used for structuring.
Related #2273  
							
						 
						
							2024-06-02 09:54:21 -04:00  
				
					
						
							
							
								 
						
							
								c9dc232951 
								
							 
						 
						
							
							
								
								Refactor: Use dataclasses and enums  
							
							... 
							
							
							
							Replace unnecessary NamedInts in favour of default data types.
Simplify interfaces by reducing possible input from strings to members
of an enum. 
							
						 
						
							2024-05-22 21:14:41 -04:00  
				
					
						
							
							
								 
						
							
								7d171b1d09 
								
							 
						 
						
							
							
								
								Refactor: Use dataclasses and enums  
							
							... 
							
							
							
							Replace NamedTuples with more flexible dataclass, which also support
type hints. Introduce enums to replace constant strings, which need to
be kept in sync. Also enhances interfaces by limiting it to the enum
values. Remove unused variables. 
							
						 
						
							2024-05-22 21:14:41 -04:00  
				
					
						
							
							
								 
						
							
								b4811f602d 
								
							 
						 
						
							
							
								
								ui: fix bug with logo in about window  
							
							
							
						 
						
							2024-05-04 04:46:27 -04:00  
				
					
						
							
							
								 
						
							
								959dd2a35b 
								
							 
						 
						
							
							
								
								Refactor rule loading for testability ( #2456 )  
							
							... 
							
							
							
							rules: Introduce tests for YAML rule loading functionality. 
							
						 
						
							2024-04-27 17:56:27 -04:00  
				
					
						
							
							
								 
						
							
								bd437b548b 
								
							 
						 
						
							
							
								
								ui: refactor pair_window  
							
							
							
						 
						
							2024-03-25 09:13:22 -04:00  
				
					
						
							
							
								 
						
							
								97d214f667 
								
							 
						 
						
							
							
								
								ui: handle situation when read of a setting fails  
							
							
							
						 
						
							2024-03-24 15:44:15 -04:00  
				
					
						
							
							
								 
						
							
								4e6361429e 
								
							 
						 
						
							
							
								
								refactor: Use f-strings for more exceptions and log message  
							
							... 
							
							
							
							Semi manually convert remaining strings with no translation to f-string. 
							
						 
						
							2024-03-24 07:01:56 -04:00  
				
					
						
							
							
								 
						
							
								50c8013cb1 
								
							 
						 
						
							
							
								
								ui: reduce deprecation warnings in ui  
							
							
							
						 
						
							2024-03-19 09:07:21 -04:00  
				
					
						
							
							
								 
						
							
								c6adf94e5d 
								
							 
						 
						
							
							
								
								refactor: Use dataclass for TestByte  
							
							... 
							
							
							
							Related #2378  
							
						 
						
							2024-03-14 17:15:10 -04:00  
				
					
						
							
							
								 
						
							
								2f6e3e21ec 
								
							 
						 
						
							
							
								
								refactor: Split diversion rules into smaller modules  
							
							... 
							
							
							
							Put rule conditions and actions into their into module
Related #2378  
							
						 
						
							2024-03-14 17:15:10 -04:00  
				
					
						
							
							
								 
						
							
								4e7356385d 
								
							 
						 
						
							
							
								
								refactor: Make _populate_model a function  
							
							... 
							
							
							
							Related #2378  
							
						 
						
							2024-03-14 17:15:10 -04:00  
				
					
						
							
							
								 
						
							
								154dd7017f 
								
							 
						 
						
							
							
								
								rules: allow sub-second delays in Later  
							
							
							
						 
						
							2024-03-14 17:08:47 -04:00  
				
					
						
							
							
								 
						
							
								a02b1065ac 
								
							 
						 
						
							
							
								
								Add indonesian translations  
							
							
							
						 
						
							2024-03-14 12:44:36 -04:00  
				
					
						
							
							
								 
						
							
								5b09ace1f5 
								
							 
						 
						
							
							
								
								ruff: Apply single line import format  
							
							... 
							
							
							
							# Usage
pre-commit run --all-files
Related #2295  
							
						 
						
							2024-03-13 15:41:21 -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  
				
					
						
							
							
								 
						
							
								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  
				
					
						
							
							
								 
						
							
								569f829a63 
								
							 
						 
						
							
							
								
								ui: fix bug in determining tray icon  
							
							
							
						 
						
							2024-03-11 08:23:27 -04:00  
				
					
						
							
							
								 
						
							
								9c5ba6445e 
								
							 
						 
						
							
							
								
								device: remove status from Device and Receiver  
							
							
							
						 
						
							2024-03-11 08:23:27 -04:00  
				
					
						
							
							
								 
						
							
								1fe2eab1a4 
								
							 
						 
						
							
							
								
								device: move link_encrypted from status to Device  
							
							
							
						 
						
							2024-03-11 08:23:27 -04:00  
				
					
						
							
							
								 
						
							
								15d425c365 
								
							 
						 
						
							
							
								
								device: move battery information from status to Device  
							
							
							
						 
						
							2024-03-11 08:23:27 -04:00  
				
					
						
							
							
								 
						
							
								0805ecb511 
								
							 
						 
						
							
							
								
								device: move status string function 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  
				
					
						
							
							
								 
						
							
								135c8b8cb9 
								
							 
						 
						
							
							
								
								device: use status attribute for error  
							
							
							
						 
						
							2024-03-09 10:36:40 -05:00  
				
					
						
							
							
								 
						
							
								8154cd759f 
								
							 
						 
						
							
							
								
								device: use status attribute for notification_flags  
							
							
							
						 
						
							2024-03-09 10:36:40 -05:00  
				
					
						
							
							
								 
						
							
								6b3f09aa5d 
								
							 
						 
						
							
							
								
								device: use status attribute for link_encrypted  
							
							
							
						 
						
							2024-03-09 10:36:40 -05:00  
				
					
						
							
							
								 
						
							
								9121169f91 
								
							 
						 
						
							
							
								
								ui: use Battery object in GUI  
							
							
							
						 
						
							2024-03-09 10:36:40 -05:00  
				
					
						
							
							
								 
						
							
								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  
				
					
						
							
							
								 
						
							
								7ef3059b69 
								
							 
						 
						
							
							
								
								clean up: Remove editor specific marks  
							
							... 
							
							
							
							Related #2273  
							
						 
						
							2024-02-29 10:10:46 -05:00  
				
					
						
							
							
								 
						
							
								c3b01bffae 
								
							 
						 
						
							
							
								
								fix: Replace invalid hidpp10 usage  
							
							... 
							
							
							
							Related #1097  
							
						 
						
							2024-02-28 17:41:46 -05:00  
				
					
						
							
							
								 
						
							
								8ae86acd65 
								
							 
						 
						
							
							
								
								ui: fix bug when displaying receiver notification flags  
							
							
							
						 
						
							2024-02-26 10:55:14 -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  
				
					
						
							
							
								 
						
							
								fa9494435b 
								
							 
						 
						
							
							
								
								device: streamline status code  
							
							
							
						 
						
							2024-02-19 09:18:08 -05:00  
				
					
						
							
							
								 
						
							
								ab9e06829a 
								
							 
						 
						
							
							
								
								ui: move ui_async to common.py  
							
							
							
						 
						
							2024-02-18 08:09:34 -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  
				
					
						
							
							
								 
						
							
								17e6463950 
								
							 
						 
						
							
							
								
								ui: improve imports in ui  
							
							... 
							
							
							
							ui: move imports in about.py to top of file
ui: move imports to top of notify.py
ui: move imports to top of window.py
ui: reorder imports at beginning of __init__.py
ui: move imports to top of tray.py
ui: move common code out of __init__.py to common.py
ui: move imports to top of __init___.py 
							
						 
						
							2024-02-18 06:21:35 -05:00  
				
					
						
							
							
								 
						
							
								8facd0cf68 
								
							 
						 
						
							
							
								
								dist: rename light icons and install them in correct place  
							
							
							
						 
						
							2024-02-15 08:51:36 -05:00  
				
					
						
							
							
								 
						
							
								fb5b7e0582 
								
							 
						 
						
							
							
								
								ui: better checking for setting in record_setting  
							
							
							
						 
						
							2024-02-13 04:01:19 -05:00  
				
					
						
							
							
								 
						
							
								ca24a93005 
								
							 
						 
						
							
							
								
								Fix invalid func name set logo name  
							
							... 
							
							
							
							Related #2254 , #2276  
							
						 
						
							2024-02-13 03:28:51 -05:00  
				
					
						
							
							
								 
						
							
								e6aacc42dd 
								
							 
						 
						
							
							
								
								ui: tidy up scrolling appearance in configuration panel  
							
							
							
						 
						
							2024-02-11 16:50:31 -05:00  
				
					
						
							
							
								 
						
							
								663490ea4b 
								
							 
						 
						
							
							
								
								ui: don't unlock setting when changed by external means  
							
							
							
						 
						
							2024-02-10 14:45:00 -05:00  
				
					
						
							
							
								 
						
							
								468fad1358 
								
							 
						 
						
							
							
								
								ui: refactor code to record change to setting  
							
							
							
						 
						
							2024-02-10 14:45:00 -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  
				
					
						
							
							
								 
						
							
								8811374ed9 
								
							 
						 
						
							
							
								
								ui: don't lock setting when an error occurs  
							
							
							
						 
						
							2024-02-10 09:15:27 -05:00  
				
					
						
							
							
								 
						
							
								23517048d4 
								
							 
						 
						
							
							
								
								device: clean up data for LED effects  
							
							
							
						 
						
							2024-02-09 08:36:36 -05:00