Joachim Nilsson
							
						 
						
							
								206ded2c00
								
							 
						 
						
							Merge branch 'master' into man-page 
							
							
						 
						7 vuotta sitten  
					 
				
					
						
							
								   Joachim Nilsson
							
						 
						
							
								c1fa23b38c
								
									
										
											 
										
									
								
							 
						 
						
							Merge pull request #30  from mattandersen/BetterPrefixSupport 
							
							 
							
Better Support for Overriding Install Prefix 
							
							
						 
						7 vuotta sitten  
					 
				
					
						
							
								   Joachim Nilsson
							
						 
						
							
								8191c64a80
								
									
										
											 
										
									
								
							 
						 
						
							Merge pull request #28  from abdullahibnnadjo/master 
							
							 
							
Address #27  
							
							
						 
						7 vuotta sitten  
					 
				
					
						
							
								   Joachim Nilsson
							
						 
						
							
								79f90eb8dc
								
							 
						 
						
							Add proper light.1 man page, removes help2man dependency 
							
							 
							
Signed-off-by: Joachim Nilsson <troglobit@gmail.com> 
							
							
						 
						7 vuotta sitten  
					 
				
					
						
							
								   Fredrik Svantesson
							
						 
						
							
								9a0b7bd63f
								
									
										
											 
										
									
								
							 
						 
						
							Merge pull request #29  from Eyenseo/master 
							
							 
							
Fix save and restore arguments 
							
							
						 
						7 vuotta sitten  
					 
				
					
						
							
								   Matthew Andersen
							
						 
						
							
								478d2040b3
								
							 
						 
						
							Restore DESTDIR support. 
							
							
						 
						7 vuotta sitten  
					 
				
					
						
							
								   Matthew Andersen
							
						 
						
							
								a1a4c52a5d
								
							 
						 
						
							Better Support for Overriding Install Prefix 
							
							 
							
By not always appending "/usr" to the path, it enables install into /usr/local
and better integration with tools like stow. 
							
							
						 
						7 vuotta sitten  
					 
				
					
						
							
								   eyenseo
							
						 
						
							
								6eb9418685
								
							 
						 
						
							Fix save and restore arguments 
							
							 
							
Without this patch -O and -I are not supported anymore and lead to an
error. 
							
							
						 
						7 vuotta sitten  
					 
				
					
						
							
								   Abdullah ibn Nadjo
							
						 
						
							
								26f79b761a
								
							 
						 
						
							Use the install command instead of raw cp/mv/chmod. #27  
							
							
						 
						7 vuotta sitten  
					 
				
					
						
							
								   Abdullah ibn Nadjo
							
						 
						
							
								cbcf92db3c
								
							 
						 
						
							Add help2man dependency in README 
							
							
						 
						7 vuotta sitten  
					 
				
					
						
							
								   Fredrik Svantesson
							
						 
						
							
								1ec60ac183
								
									
										
											 
										
									
								
							 
						 
						
							Merge pull request #25  from abdullahibnnadjo/master 
							
							 
							
Various fixes and improvements 
							
							
						 
						8 vuotta sitten  
					 
				
					
						
							
								   Abdullah ibn Nadjo
							
						 
						
							
								38c3bf387c
								
							 
						 
						
							Bump version to 0.10 and make errors (finally?) print to stderr 
							
							
						 
						8 vuotta sitten  
					 
				
					
						
							
								   Abdullah ibn Nadjo
							
						 
						
							
								f62503b299
								
							 
						 
						
							Fix different kinds of issues with string buffers and pointers 
							
							 
							
- Use NAME_MAX and PATH_MAX instead of hardcoded values
- Allow paths to be longer than 256 chars
- Check pointers everywhere
- Use strncpy/snprintf instead of strcpy/sprintf
- Validate controllers' name (-s flag + a very long name -> bad things happening)
- Get rid of globals for dir iteration 
							
							
						 
						8 vuotta sitten  
					 
				
					
						
							
								   Abdullah ibn Nadjo
							
						 
						
							
								fa2fba14a6
								
							 
						 
						
							Fix overflow of raw values < 0 
							
							 
							
- Rewrite of all clamp operations
- Get rid of unreachable code (the 'else' in the last chunk) 
							
							
						 
						8 vuotta sitten  
					 
				
					
						
							
								   Abdullah ibn Nadjo
							
						 
						
							
								c363ac40a1
								
							 
						 
						
							Check if specified operation is valid for the wanted field 
							
							
						 
						8 vuotta sitten  
					 
				
					
						
							
								   Abdullah ibn Nadjo
							
						 
						
							
								9032c14237
								
							 
						 
						
							Print errors to stderr 
							
							
						 
						8 vuotta sitten  
					 
				
					
						
							
								   Abdullah ibn Nadjo
							
						 
						
							
								0ecb5353aa
								
							 
						 
						
							Don't forget to init variables 
							
							
						 
						8 vuotta sitten  
					 
				
					
						
							
								   Abdullah ibn Nadjo
							
						 
						
							
								bcaa7df99b
								
							 
						 
						
							Don't try to read brightness values when only targetting max bright. 
							
							
						 
						8 vuotta sitten  
					 
				
					
						
							
								   Abdullah ibn Nadjo
							
						 
						
							
								5d3c89630c
								
							 
						 
						
							Update README to explain changes introduced in cd70ff5 
							
							 
							
Also add more examples 
							
							
						 
						8 vuotta sitten  
					 
				
					
						
							
								   Abdullah ibn Nadjo
							
						 
						
							
								cd70ff5e01
								
							 
						 
						
							Create a flag category only for backlight/kbd 
							
							 
							
Now we can save, restore, get [max] brightness etc. for both screen
and keyboard controllers 
							
							
						 
						8 vuotta sitten  
					 
				
					
						
							
								   Abdullah ibn Nadjo
							
						 
						
							
								6180bb3f5c
								
							 
						 
						
							Logging of clamps, saves and restores 
							
							
						 
						8 vuotta sitten  
					 
				
					
						
							
								   Abdullah ibn Nadjo
							
						 
						
							
								f288657500
								
							 
						 
						
							Rewrite light_execute for readability and avoiding unnecessary oper. 
							
							
						 
						8 vuotta sitten  
					 
				
					
						
							
								   Abdullah ibn Nadjo
							
						 
						
							
								6860e111a5
								
							 
						 
						
							Cache max brightness data from automatic controller detection 
							
							
						 
						8 vuotta sitten  
					 
				
					
						
							
								   Abdullah ibn Nadjo
							
						 
						
							
								9fda8acac0
								
							 
						 
						
							Improve light folder checking readability 
							
							
						 
						8 vuotta sitten  
					 
				
					
						
							
								   Abdullah ibn Nadjo
							
						 
						
							
								ccff2b57cd
								
							 
						 
						
							Improve overall logging 
							
							
						 
						8 vuotta sitten  
					 
				
					
						
							
								   Abdullah ibn Nadjo
							
						 
						
							
								55fe7a9eaf
								
							 
						 
						
							Don't check unsigned int about negative values 
							
							
						 
						8 vuotta sitten  
					 
				
					
						
							
								   Abdullah ibn Nadjo
							
						 
						
							
								9f9d6ae447
								
							 
						 
						
							Fix wrong behavior of 'light_controllerAccessible' 
							
							 
							
This function was:
- Reading values from the controller
- Checking write permission even when we just want reading values
- Checking the mincap file instead of the actual controller
The last one is also true for other functions using
'light_getBrightness'.
This commit fixes that. 
							
							
						 
						8 vuotta sitten  
					 
				
					
						
							
								   Abdullah ibn Nadjo
							
						 
						
							
								01e73a2d3d
								
							 
						 
						
							Fix unclosed DIR when targeting keyboard 
							
							
						 
						8 vuotta sitten  
					 
				
					
						
							
								   Abdullah ibn Nadjo
							
						 
						
							
								accee29c18
								
							 
						 
						
							Don't check '/etc/light' folder when unnecessary 
							
							
						 
						8 vuotta sitten  
					 
				
					
						
							
								   Abdullah ibn Nadjo
							
						 
						
							
								12e81769d9
								
							 
						 
						
							'light_isWritable' shouldn't truncate file contents 
							
							
						 
						8 vuotta sitten  
					 
				
					
						
							
								   Abdullah ibn Nadjo
							
						 
						
							
								6aea2b15bf
								
							 
						 
						
							Improve 'if' readability 
							
							
						 
						8 vuotta sitten  
					 
				
					
						
							
								   Abdullah ibn Nadjo
							
						 
						
							
								2f14acb12e
								
							 
						 
						
							Avoid redondant checking 
							
							
						 
						8 vuotta sitten  
					 
				
					
						
							
								   Abdullah ibn Nadjo
							
						 
						
							
								3b2835b626
								
							 
						 
						
							Check if controller is accessible before getting value 
							
							
						 
						8 vuotta sitten  
					 
				
					
						
							
								   Abdullah ibn Nadjo
							
						 
						
							
								9f12ff92a2
								
							 
						 
						
							Avoid checking for write permission if just getting value 
							
							
						 
						8 vuotta sitten  
					 
				
					
						
							
								   Fredrik Svantesson
							
						 
						
							
								5b302a0a92
								
							 
						 
						
							Improve documentation, fix #24  
							
							
						 
						8 vuotta sitten  
					 
				
					
						
							
								   Fredrik Svantesson
							
						 
						
							
								674ada0528
								
							 
						 
						
							Merge pull request #18  from ixjlyons/makefile-cleanup 
							
							 
							
Some Makefile cleanup. 
							
							
						 
						8 vuotta sitten  
					 
				
					
						
							
								   Fredrik Svantesson
							
						 
						
							
								03687e3063
								
							 
						 
						
							Merge pull request #21  from sbmueller/keyboard 
							
							 
							
Add -k flag for keyboard backlight support 
							
							
						 
						8 vuotta sitten  
					 
				
					
						
							
								   Sebastian Müller
							
						 
						
							
								f0da610cf1
								
							 
						 
						
							Add -k flag for keyboard backlight support 
							
							
						 
						8 vuotta sitten  
					 
				
					
						
							
								   Fredrik Svantesson
							
						 
						
							
								c4820e7d1e
								
							 
						 
						
							Merge pull request #19  from ebfe/patch-1 
							
							 
							
Don't pretend there are info files 
							
							
						 
						9 vuotta sitten  
					 
				
					
						
							
								   Michael Gehring
							
						 
						
							
								028935a9af
								
							 
						 
						
							Don't pretend there are info files 
							
							
						 
						9 vuotta sitten  
					 
				
					
						
							
								   Kenneth Lyons
							
						 
						
							
								88dfce9062
								
							 
						 
						
							Some Makefile cleanup. 
							
							
						 
						9 vuotta sitten  
					 
				
					
						
							
								   Fredrik Haikarainen
							
						 
						
							
								9681c7268a
								
							 
						 
						
							Fixes #12  
							
							
						 
						9 vuotta sitten  
					 
				
					
						
							
								   Fredrik Haikarainen
							
						 
						
							
								df77f14c02
								
							 
						 
						
							Cleaned up README.md 
							
							
						 
						9 vuotta sitten  
					 
				
					
						
							
								   Fredrik Haikarainen
							
						 
						
							
								81678f163a
								
							 
						 
						
							Remove deprecated .deb-package support. Closes #6  
							
							
						 
						9 vuotta sitten  
					 
				
					
						
							
								   Fredrik Haikarainen
							
						 
						
							
								b4cda334c5
								
							 
						 
						
							Merge pull request #10  from ixjlyons/fix-mandir 
							
							 
							
Honor DESTDIR in man page installation. 
							
							
						 
						9 vuotta sitten  
					 
				
					
						
							
								   Kenneth Lyons
							
						 
						
							
								8ef51af786
								
							 
						 
						
							Honor DESTDIR in man page installation. 
							
							
						 
						9 vuotta sitten  
					 
				
					
						
							
								   Fredrik Svantesson
							
						 
						
							
								5319f98840
								
							 
						 
						
							Merged #9  with some additional fixes 
							
							
						 
						9 vuotta sitten  
					 
				
					
						
							
								   Simon Feiden
							
						 
						
							
								2fcbd321f2
								
							 
						 
						
							generate a man page for light on make install 
							
							
						 
						9 vuotta sitten  
					 
				
					
						
							
								   Fredrik Haikarainen
							
						 
						
							
								075bd641ab
								
							 
						 
						
							Update README.md 
							
							
						 
						10 vuotta sitten  
					 
				
					
						
							
								   Fredrik Haikarainen
							
						 
						
							
								77e89d1d34
								
							 
						 
						
							Fixes #5  
							
							
						 
						10 vuotta sitten