Fredrik Svantesson
							
						 
						
							
								7bf19b3ebb
								
							 
						 
						
							implement util enumerator, dryrun, fix #60  
							
							
						 
						преди 7 години  
					 
				
					
						
							
								   Fredrik Svantesson
							
						 
						
							
								c4aab0c3ac
								
							 
						 
						
							Fix memory errors, improve enum. impl. 
							
							
						 
						преди 7 години  
					 
				
					
						
							
								   Fredrik Svantesson
							
						 
						
							
								a5caacb532
								
									
										
											 
										
									
								
							 
						 
						
							Merge pull request #61  from haikarainen/device-rewrite 
							
							 
							
Rewrite codebase, add device-system pewpew 
							
							
						 
						преди 7 години  
					 
				
					
						
							
								   Fredrik Svantesson
							
						 
						
							
								cf55bd7b23
								
							 
						 
						
							Add developer docs 
							
							
						 
						преди 7 години  
					 
				
					
						
							
								   Fredrik Svantesson
							
						 
						
							
								61f6b01195
								
							 
						 
						
							Fix device disposal 
							
							
						 
						преди 7 години  
					 
				
					
						
							
								   Fredrik Svantesson
							
						 
						
							
								5c86188ad9
								
							 
						 
						
							Updated readme 
							
							
						 
						преди 7 години  
					 
				
					
						
							
								   Fredrik Svantesson
							
						 
						
							
								8307431ac7
								
							 
						 
						
							Fixed printed help 
							
							
						 
						преди 7 години  
					 
				
					
						
							
								   Fredrik Svantesson
							
						 
						
							
								3ed29dfa7c
								
							 
						 
						
							Fix incorrect printf usage of uint64_t's 
							
							
						 
						преди 7 години  
					 
				
					
						
							
								   Fredrik Svantesson
							
						 
						
							
								b3b9b6086d
								
							 
						 
						
							General cleanup & fixes 
							
							
						 
						преди 7 години  
					 
				
					
						
							
								   Fredrik Svantesson
							
						 
						
							
								7a3f49a395
								
							 
						 
						
							Rewrite codebase, add device-system 
							
							
						 
						преди 7 години  
					 
				
					
						
							
								   Joachim Nilsson
							
						 
						
							
								08bb6f2703
								
									
										
											 
										
									
								
							 
						 
						
							Merge pull request #59  from chrboe/xdg-cache-dir 
							
							 
							
Respect XDG_CACHE_HOME 
							
							
						 
						преди 7 години  
					 
				
					
						
							
								   Christoph Böhmwalder
							
						 
						
							
								48615fca6e
								
							 
						 
						
							Respect XDG_CACHE_HOME 
							
							 
							
The XDG Base Directory specification [1] demands that there should be a
"single base directory relative to which user-specific non-essential
(cached) data should be written". Light currently makes use of such a
cache directory, but hardcodes the default "$HOME/.cache".
In order to enable users to specify a custom cache directory, respect
this convention and use the "$XDG_CACHE_HOME" environment variable if it
is set. If it is not set, fall back to "$HOME/.cache".
[1] https://specifications.freedesktop.org/basedir-spec/basedir-spec-latest.html 
							
							
						 
						преди 7 години  
					 
				
					
						
							
								   Joachim Nilsson
							
						 
						
							
								a44ad60a66
								
									
										
											 
										
									
								
							 
						 
						
							Merge pull request #54  from troglobit/brillo-merges 
							
							 
							
Brillo merges 
							
							
						 
						преди 7 години  
					 
				
					
						
							
								   Joachim Nilsson
							
						 
						
							
								c9b79b5d85
								
							 
						 
						
							No need to have +1 on sizeof path prefix 
							
							 
							
Signed-off-by: Joachim Nilsson <troglobit@gmail.com> 
							
							
						 
						преди 7 години  
					 
				
					
						
							
								   Joachim Nilsson
							
						 
						
							
								2e61462211
								
							 
						 
						
							Use snprintf() instead of strncpy(), both safer and simpler 
							
							 
							
Signed-off-by: Joachim Nilsson <troglobit@gmail.com> 
							
							
						 
						преди 7 години  
					 
				
					
						
							
								   Joachim Nilsson
							
						 
						
							
								b73cf341e4
								
							 
						 
						
							Mention @CameronNemo's fork brillo in heading 
							
							 
							
Signed-off-by: Joachim Nilsson <troglobit@gmail.com> 
							
							
						 
						преди 7 години  
					 
				
					
						
							
								   Joachim Nilsson
							
						 
						
							
								b4291f7d0e
								
									
										
											 
										
									
								
							 
						 
						
							Merge pull request #53  from troglobit/packaging 
							
							 
							
ChangeLog updates, Debian packaging support 
							
							
						 
						преди 7 години  
					 
				
					
						
							
								   Joachim Nilsson
							
						 
						
							
								3d2248b756
								
							 
						 
						
							Make .deb package part of std release target 
							
							 
							
Signed-off-by: Joachim Nilsson <troglobit@gmail.com> 
							
							
						 
						преди 7 години  
					 
				
					
						
							
								   Joachim Nilsson
							
						 
						
							
								c459949c47
								
							 
						 
						
							Minor snag, $prefix prefixed to udev rules means /usr/lib/ not /lib 
							
							 
							
We may need to drop the $prefix to the udev rules from configure.ac
Signed-off-by: Joachim Nilsson <troglobit@gmail.com> 
							
							
						 
						преди 7 години  
					 
				
					
						
							
								   Joachim Nilsson
							
						 
						
							
								b992bc0e9d
								
							 
						 
						
							Fix #47 : Initial debian/ packaging for upcoming v1.2 release 
							
							 
							
Signed-off-by: Joachim Nilsson <troglobit@gmail.com> 
							
							
						 
						преди 7 години  
					 
				
					
						
							
								   Joachim Nilsson
							
						 
						
							
								3aaee6a865
								
							 
						 
						
							Update for upcoming v1.2 release 
							
							 
							
Signed-off-by: Joachim Nilsson <troglobit@gmail.com> 
							
							
						 
						преди 7 години  
					 
				
					
						
							
								   Joachim Nilsson
							
						 
						
							
								8f2e5999c4
								
							 
						 
						
							Rename license file, GNU licenses are commonly named COPYING 
							
							 
							
Signed-off-by: Joachim Nilsson <troglobit@gmail.com> 
							
							
						 
						преди 7 години  
					 
				
					
						
							
								   Joachim Nilsson
							
						 
						
							
								35b4b54dcc
								
							 
						 
						
							Convert to Markdown and update with all official releases 
							
							 
							
Signed-off-by: Joachim Nilsson <troglobit@gmail.com> 
							
							
						 
						преди 7 години  
					 
				
					
						
							
								   Joachim Nilsson
							
						 
						
							
								aeeb063aa8
								
							 
						 
						
							Rename and prepare to convert to Markdown 
							
							 
							
Signed-off-by: Joachim Nilsson <troglobit@gmail.com> 
							
							
						 
						преди 7 години  
					 
				
					
						
							
								   Joachim Nilsson
							
						 
						
							
								6ef91ad260
								
									
										
											 
										
									
								
							 
						 
						
							Merge pull request #52  from troglobit/doc-updates 
							
							 
							
Doc updates 
							
							
						 
						преди 7 години  
					 
				
					
						
							
								   Joachim Nilsson
							
						 
						
							
								8571f803fb
								
							 
						 
						
							Mention where files are stored in the different operating modes 
							
							 
							
Signed-off-by: Joachim Nilsson <troglobit@gmail.com> 
							
							
						 
						преди 7 години  
					 
				
					
						
							
								   Joachim Nilsson
							
						 
						
							
								227b58f5ec
								
							 
						 
						
							Update Table of Contents and rewrite Examples intro a bit 
							
							 
							
Signed-off-by: Joachim Nilsson <troglobit@gmail.com> 
							
							
						 
						преди 7 години  
					 
				
					
						
							
								   Joachim Nilsson
							
						 
						
							
								a7510d469b
								
									
										
											 
										
									
								
							 
						 
						
							Merge pull request #51  from troglobit/configure-with-udev 
							
							 
							
Add --with-udev[=PATH] to configure script, for non-SUID root operation 
							
							
						 
						преди 7 години  
					 
				
					
						
							
								   Joachim Nilsson
							
						 
						
							
								d784b15a7f
								
							 
						 
						
							Fix logging macro to add \n after each log message 
							
							 
							
Signed-off-by: Joachim Nilsson <troglobit@gmail.com> 
							
							
						 
						преди 7 години  
					 
				
					
						
							
								   Joachim Nilsson
							
						 
						
							
								7519c744cf
								
							 
						 
						
							Fix #46 : Migrate to use ~/.cache/light for unpriviliged operation 
							
							 
							
When light is installed in the non-SUID root mode it cannot write to
/etc/light anymore, so we set up a ~/.cache/light instead.
Signed-off-by: Joachim Nilsson <troglobit@gmail.com> 
							
							
						 
						преди 7 години  
					 
				
					
						
							
								   Joachim Nilsson
							
						 
						
							
								bd21ac4ded
								
							 
						 
						
							Fix #45 : Add --with-udev[=PATH] to configure, disables classic SUID root 
							
							 
							
This patch adds support for installing the 90-backlight.rules to gain
privileges to the kernel sysfs files.  By default the classic SUID root
mode is used and the rules file is not installed.
Signed-off-by: Joachim Nilsson <troglobit@gmail.com> 
							
							
						 
						преди 7 години  
					 
				
					
						
							
								   Joachim Nilsson
							
						 
						
							
								445cf8295a
								
									
										
											 
										
									
								
							 
						 
						
							Merge pull request #50  from AloisMahdal/fedora 
							
							 
							
Add Fedora installation instructions 
							
							
						 
						преди 7 години  
					 
				
					
						
							
								   Alois Mahdal
							
						 
						
							
								c609610fe4
								
							 
						 
						
							Add Fedora installation instructions 
							
							
						 
						преди 7 години  
					 
				
					
						
							
								   Joachim Nilsson
							
						 
						
							
								e226e2d7d2
								
									
										
											 
										
									
								
							 
						 
						
							Merge pull request #48  from troglobit/coding-style 
							
							 
							
Coding style 
							
							
						 
						преди 7 години  
					 
				
					
						
							
								   Joachim Nilsson
							
						 
						
							
								ae022f1aca
								
							 
						 
						
							Disable compiler warning for when we compare unsinged value < 0 
							
							 
							
Signed-off-by: Joachim Nilsson <troglobit@gmail.com> 
							
							
						 
						преди 7 години  
					 
				
					
						
							
								   Joachim Nilsson
							
						 
						
							
								1aa2b217eb
								
							 
						 
						
							Coding style: de-camelize, simplify and refactor 
							
							 
							
Signed-off-by: Joachim Nilsson <troglobit@gmail.com> 
							
							
						 
						преди 7 години  
					 
				
					
						
							
								   Joachim Nilsson
							
						 
						
							
								ab5aa6c968
								
							 
						 
						
							Coding style: reindent to Linux KNF 
							
							 
							
Signed-off-by: Joachim Nilsson <troglobit@gmail.com> 
							
							
						 
						преди 7 години  
					 
				
					
						
							
								   Joachim Nilsson
							
						 
						
							
								5d5e3c3e83
								
									
										
											 
										
									
								
							 
						 
						
							Merge pull request #43  from troglobit/misc 
							
							 
							
Misc 
							
							
						 
						преди 7 години  
					 
				
					
						
							
								   Joachim Nilsson
							
						 
						
							
								99950f7c51
								
							 
						 
						
							Overhaul and simplify program usage and documentation in README 
							
							 
							
- Use version from configure script
- Simplify usage text for accessibility, only one command at a time
- Simplify terminology, we have commands and options to commands
Signed-off-by: Joachim Nilsson <troglobit@gmail.com> 
							
							
						 
						преди 7 години  
					 
				
					
						
							
								   Joachim Nilsson
							
						 
						
							
								727c1b0adc
								
							 
						 
						
							It should be safe to default to C99 now 
							
							 
							
Signed-off-by: Joachim Nilsson <troglobit@gmail.com> 
							
							
						 
						преди 7 години  
					 
				
					
						
							
								   Joachim Nilsson
							
						 
						
							
								fd267b6d97
								
							 
						 
						
							Rearrange and simplify text a bit, also put examples early 
							
							 
							
Most users want to see the examples as early as possible, so we place
them directly after the new (simplified) introduction.  The examples
have been rewritten to separate commands from options and grouping
the command with its value, where applicable.
The rest of the document has just been auto-filled to fit to < 72
columns and sections now use === and ---- for headings to make the
README more accessible from a terminal.
Signed-off-by: Joachim Nilsson <troglobit@gmail.com> 
							
							
						 
						преди 7 години  
					 
				
					
						
							
								   Joachim Nilsson
							
						 
						
							
								acf5156f5c
								
							 
						 
						
							Add udev rules files based on README 
							
							 
							
Signed-off-by: Joachim Nilsson <troglobit@gmail.com> 
							
							
						 
						преди 7 години  
					 
				
					
						
							
								   Joachim Nilsson
							
						 
						
							
								9201811a4c
								
									
										
											 
										
									
								
							 
						 
						
							Delete makeexec.sh 
							
							 
							
Unused file.
Signed-off-by: Joachim Nilsson <troglobit@gmail.com> 
							
							
						 
						преди 7 години  
					 
				
					
						
							
								   Joachim Nilsson
							
						 
						
							
								73d7e48da5
								
									
										
											 
										
									
								
							 
						 
						
							Merge pull request #42  from troglobit/configure-script 
							
							 
							
Convert build system to GNU configure & build 
							
							
						 
						преди 7 години  
					 
				
					
						
							
								   Joachim Nilsson
							
						 
						
							
								00889580cd
								
							 
						 
						
							Document new build process, both from tarball and directly from GIT 
							
							 
							
Signed-off-by: Joachim Nilsson <troglobit@gmail.com> 
							
							
						 
						преди 7 години  
					 
				
					
						
							
								   Joachim Nilsson
							
						 
						
							
								c6e45de364
								
							 
						 
						
							Ignore global indexing files 
							
							 
							
Signed-off-by: Joachim Nilsson <troglobit@gmail.com> 
							
							
						 
						преди 7 години  
					 
				
					
						
							
								   Joachim Nilsson
							
						 
						
							
								d6a0fb6720
								
							 
						 
						
							Relocate include/ files to src/, to simplify dist packaging 
							
							 
							
Signed-off-by: Joachim Nilsson <troglobit@gmail.com> 
							
							
						 
						преди 7 години  
					 
				
					
						
							
								   Joachim Nilsson
							
						 
						
							
								2301ccf437
								
							 
						 
						
							Add light.1 man page to dist and install 
							
							 
							
Signed-off-by: Joachim Nilsson <troglobit@gmail.com> 
							
							
						 
						преди 7 години  
					 
				
					
						
							
								   Joachim Nilsson
							
						 
						
							
								d75221ca74
								
							 
						 
						
							Merge branch 'master' into configure-script 
							
							
						 
						преди 7 години  
					 
				
					
						
							
								   Joachim Nilsson
							
						 
						
							
								033486bf9a
								
									
										
											 
										
									
								
							 
						 
						
							Merge pull request #41  from troglobit/man-page 
							
							 
							
Add proper light.1 man page, removes help2man dependency 
							
							
						 
						преди 7 години