3835b6e499 
							
						 
					 
					
						
						
							
							Improve simple_config_update_from_file()  
						
						... 
						
						
						
						- considerably shorter
 - catch file read errors as we should
 - better error messages, now including the filename
 - disallow empty keys as they are never used
 - allow whitespace before start of comment
NUL characters stop processing now, though.  If anyone cares. 
						
						
					 
					
						2017-06-22 20:42:44 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
							
								
									
								
							
						
						
						
							
						
						
							bf534010cb 
							
						 
					 
					
						
						
							
							_init() -> _make() where possible  
						
						
						
						
					 
					
						2017-06-22 20:42:44 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
							
								
									
								
							
						
						
						
							
						
						
							7b0d7a19e5 
							
						 
					 
					
						
						
							
							Cleanup  
						
						
						
						
					 
					
						2017-06-14 23:28:44 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
							
								
									
								
							
						
						
						
							
						
						
							1dcd259d05 
							
						 
					 
					
						
						
							
							Make config_item_clone() static  
						
						
						
						
					 
					
						2017-06-12 08:33:59 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
							
								
									
								
							
						
						
						
							
						
						
							03894cae45 
							
						 
					 
					
						
						
							
							Add VIM syntax highlight for "config"  
						
						
						
						
					 
					
						2017-06-12 02:48:42 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
							
								
									
								
							
						
						
						
							
						
						
							412100289e 
							
						 
					 
					
						
						
							
							Improve read_line()  
						
						... 
						
						
						
						One less useless boolean variable. 
						
						
					 
					
						2017-06-12 02:48:42 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
							
								
									
								
							
						
						
						
							
						
						
							ec128558a4 
							
						 
					 
					
						
						
							
							MPD client: abort pending tasks  
						
						
						
						
					 
					
						2017-06-04 04:27:10 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
							
								
									
								
							
						
						
						
							
						
						
							7f7606008d 
							
						 
					 
					
						
						
							
							Update README  
						
						
						
						
					 
					
						2017-06-04 00:49:15 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
							
								
									
								
							
						
						
						
							
						
						
							17322a3686 
							
						 
					 
					
						
						
							
							Make socket_io_try_*() actually use read/write  
						
						... 
						
						
						
						So that they can be used with pipes. 
						
						
					 
					
						2017-05-07 09:24:03 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
							
								
									
								
							
						
						
						
							
						
						
							22edb6d489 
							
						 
					 
					
						
						
							
							Add a warning comment to "poller_fd::closed"  
						
						
						
						
					 
					
						2017-05-06 21:15:03 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
							
								
									
								
							
						
						
						
							
						
						
							9866675bb7 
							
						 
					 
					
						
						
							
							Fix broken toupper_ascii()  
						
						... 
						
						
						
						Update copyright years. 
						
						
					 
					
						2017-05-06 10:55:10 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
							
								
									
								
							
						
						
						
							
						
						
							e25a880883 
							
						 
					 
					
						
						
							
							Add packaging scripts for Meson  
						
						... 
						
						
						
						It probably doesn't belong here but I don't feel like creating another
repository for this either yet. 
						
						
					 
					
						2017-04-30 10:45:23 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
							
								
									
								
							
						
						
						
							
						
						
							9afcb337ad 
							
						 
					 
					
						
						
							
							Fix the WebSocket frame parser  
						
						
						
						
					 
					
						2017-02-06 19:45:03 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
							
								
									
								
							
						
						
						
							
						
						
							daa900e12f 
							
						 
					 
					
						
						
							
							Fix and update LICENSE  
						
						
						
						
					 
					
						2017-02-03 23:03:32 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
							
								
									
								
							
						
						
						
							
						
						
							4a5929b4ef 
							
						 
					 
					
						
						
							
							Travis CI: brevify notifications  
						
						
						
						
					 
					
						2017-02-03 23:03:02 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
							
								
									
								
							
						
						
						
							
						
						
							084e964286 
							
						 
					 
					
						
						
							
							Fixes to the previous batch of commits  
						
						
						
						
					 
					
						2017-01-23 23:14:04 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
							
								
									
								
							
						
						
						
							
						
						
							0e08055d6d 
							
						 
					 
					
						
						
							
							Rename strv_add*() to strv_append*()  
						
						... 
						
						
						
						Consistency. 
						
						
					 
					
						2017-01-23 23:07:24 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
							
								
									
								
							
						
						
						
							
						
						
							6642bdf9cd 
							
						 
					 
					
						
						
							
							Rename str_ensure_space() to str_reserve()  
						
						... 
						
						
						
						Let's not invent our own terminology. 
						
						
					 
					
						2017-01-23 23:05:42 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
							
								
									
								
							
						
						
						
							
						
						
							349a0fc3b1 
							
						 
					 
					
						
						
							
							join_strv() -> strv_join(), take a string argument  
						
						
						
						
					 
					
						2017-01-23 23:03:46 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
							
								
									
								
							
						
						
						
							
						
						
							5552ce1dbe 
							
						 
					 
					
						
						
							
							Rename "struct str_vector" to "struct strv"  
						
						... 
						
						
						
						Short names for things used often. 
						
						
					 
					
						2017-01-23 23:01:20 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
							
								
									
								
							
						
						
						
							
						
						
							680980632d 
							
						 
					 
					
						
						
							
							Add a library with TUI helpers  
						
						
						
						
					 
					
						2017-01-23 22:55:46 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
							
								
									
								
							
						
						
						
							
						
						
							973a4b7656 
							
						 
					 
					
						
						
							
							Add ARRAY convenience macros  
						
						... 
						
						
						
						Because dynamically allocated arrays in C are a pain. 
						
						
					 
					
						2017-01-23 22:47:39 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
							
								
									
								
							
						
						
						
							
						
						
							74b00a921a 
							
						 
					 
					
						
						
							
							MPD client: fix resource leak  
						
						
						
						
					 
					
						2017-01-18 16:34:25 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
							
								
									
								
							
						
						
						
							
						
						
							f53b717f3b 
							
						 
					 
					
						
						
							
							Add some consts to function arguments  
						
						
						
						
					 
					
						2016-10-23 13:35:16 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
							
								
									
								
							
						
						
						
							
						
						
							dfc7ff57ef 
							
						 
					 
					
						
						
							
							MPD client: support command_list_ok_begin  
						
						
						
						
					 
					
						2016-10-13 01:12:34 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
							
								
									
								
							
						
						
						
							
						
						
							2a15b1de70 
							
						 
					 
					
						
						
							
							Import an MPD client interface  
						
						
						
						
					 
					
						2016-10-11 09:37:22 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
							
								
									
								
							
						
						
						
							
						
						
							dc54db9069 
							
						 
					 
					
						
						
							
							Make error_set() return NULL for convenience  
						
						... 
						
						
						
						This often eliminates the need for a block where one line is enough. 
						
						
					 
					
						2016-10-10 07:43:57 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
							
								
									
								
							
						
						
						
							
						
						
							0b77bdeaf9 
							
						 
					 
					
						
						
							
							Merge cstr_split() and cstr_split_ignore_empty()  
						
						
						
						
					 
					
						2016-10-09 09:45:27 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
							
								
									
								
							
						
						
						
							
						
						
							a34ce0b6b8 
							
						 
					 
					
						
						
							
							Allow ignoring params in http_parse_media_type()  
						
						
						
						
					 
					
						2016-10-09 09:43:46 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
							
								
									
								
							
						
						
						
							
						
						
							ad143fd8c0 
							
						 
					 
					
						
						
							
							Add some constness to str_map methods  
						
						
						
						
					 
					
						2016-10-05 05:31:39 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
							
								
									
								
							
						
						
						
							
						
						
							296cc704a1 
							
						 
					 
					
						
						
							
							Fix a comment  
						
						
						
						
					 
					
						2016-10-04 19:12:30 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
							
								
									
								
							
						
						
						
							
						
						
							c1c191717f 
							
						 
					 
					
						
						
							
							Use CLOCK_MONOTONIC_RAW for timers if available  
						
						... 
						
						
						
						Should make timers work more precisely on Linux. 
						
						
					 
					
						2016-10-04 15:46:20 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
							
								
									
								
							
						
						
						
							
						
						
							952cf985dc 
							
						 
					 
					
						
						
							
							Add config_read_from_file()  
						
						
						
						
					 
					
						2016-10-01 04:36:59 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
							
								
									
								
							
						
						
						
							
						
						
							6234f686e0 
							
						 
					 
					
						
						
							
							Add socket_io_*() functions  
						
						
						
						
					 
					
						2016-10-01 04:35:12 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
							
								
									
								
							
						
						
						
							
						
						
							b07d9df5fc 
							
						 
					 
					
						
						
							
							Simplify resolve_relative_filename_generic()  
						
						
						
						
					 
					
						2016-10-01 04:10:44 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
						
						
							
						
						
							3cc975bb2a 
							
						 
					 
					
						
						
							
							Fix Travis CI notifications  
						
						
						
						
					 
					
						2016-03-14 20:51:29 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
						
						
							
						
						
							365aed456e 
							
						 
					 
					
						
						
							
							Add poller_post_fork() for *BSD kqueue  
						
						
						
						
					 
					
						2016-03-13 16:41:16 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
						
						
							
						
						
							1051ad555a 
							
						 
					 
					
						
						
							
							Update README  
						
						
						
						
					 
					
						2016-03-13 16:40:49 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
						
						
							
						
						
							9bff16f5ec 
							
						 
					 
					
						
						
							
							Fix config schema application  
						
						
						
						
					 
					
						2016-02-01 21:51:45 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
						
						
							
						
						
							052d2ffc9a 
							
						 
					 
					
						
						
							
							Allow fsync() to fail on special files  
						
						
						
						
					 
					
						2016-01-26 21:35:45 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
						
						
							
						
						
							ce8703cea0 
							
						 
					 
					
						
						
							
							Silence warning  
						
						
						
						
					 
					
						2016-01-26 21:35:40 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
						
						
							
						
						
							f213a76ad4 
							
						 
					 
					
						
						
							
							Add lock_pid_file()  
						
						
						
						
					 
					
						2016-01-17 04:39:19 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
						
						
							
						
						
							61ca0c988f 
							
						 
					 
					
						
						
							
							Get rid of struct typedefs  
						
						
						
						
					 
					
						2016-01-17 04:33:58 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
						
						
							
						
						
							8a9a28231b 
							
						 
					 
					
						
						
							
							Cleanup  
						
						
						
						
					 
					
						2016-01-16 06:19:16 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
						
						
							
						
						
							ff046ea596 
							
						 
					 
					
						
						
							
							Shuffle code  
						
						
						
						
					 
					
						2016-01-16 06:12:19 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
						
						
							
						
						
							38d105dede 
							
						 
					 
					
						
						
							
							Don't crash when new threads can't be created  
						
						
						
						
					 
					
						2016-01-16 06:12:19 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
						
						
							
						
						
							a90aeaf0d9 
							
						 
					 
					
						
						
							
							Use a more generic API in write_file{,_safe}()  
						
						
						
						
					 
					
						2016-01-15 22:52:30 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
						
						
							
						
						
							60dd23ab8f 
							
						 
					 
					
						
						
							
							Make writing files a bit safer  
						
						... 
						
						
						
						Especially configuration files. 
						
						
					 
					
						2016-01-13 00:38:54 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
						
						
							
						
						
							9e3cb2b6aa 
							
						 
					 
					
						
						
							
							Allow arbitrary configuration keys  
						
						... 
						
						
						
						So that if the application decides to use them, neither writing nor
loading of the configuration doesn't brutally fail. 
						
						
					 
					
						2016-01-09 05:21:49 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
						
						
							
						
						
							f90cc1e5a2 
							
						 
					 
					
						
						
							
							Copy user_data in config_item_set_from  
						
						... 
						
						
						
						So that the validation callback can make use of it.
This is analogous to the change in schema application. 
						
						
					 
					
						2016-01-09 05:19:43 +01:00