Commit Graph

380 Commits

Author SHA1 Message Date
301820317e Fixed potential warnings when compiled in debugging mode 2010-09-10 00:31:23 +00:00
6717a0fc3b Added code to handle (double) floats in AppInterface (mostly untested) 2010-09-06 12:56:17 +00:00
d25385cfac Let string_append() work with an empty string 2010-09-06 12:55:11 +00:00
e294eaffc1 Code cleanup 2010-08-25 17:56:54 +00:00
944ae4ca93 Avoid a crash when there is no filename associated with a token 2010-08-24 23:33:12 +00:00
f496161ae0 Added a way to parse text strings instead of files 2010-08-24 23:32:35 +00:00
38a19ebe27 Formatting 2010-08-22 19:08:18 +00:00
9c5b0686f2 Fixed license terms 2010-08-22 19:06:36 +00:00
9a7b6d65ab Also allow to browse through sections 2010-08-09 14:24:07 +00:00
2b4f9ae1ab Added a function to list through the variables defined 2010-08-07 17:26:18 +00:00
368bfa0a18 Fixed deletion of elements 2010-08-01 01:43:01 +00:00
a60b38d71f Re-generated Makefiles 2010-07-04 14:12:05 +00:00
10f325ba53 Compile with -O2 again 2010-05-26 10:05:52 +00:00
fd66f28700 Allow NULL for the default section in config_set() 2010-05-25 13:45:37 +00:00
3edc0e83cf Code cleanup 2010-05-04 23:57:06 +00:00
8667321972 Variables from the default section were misplaced if set after a section 2010-01-15 04:03:18 +00:00
eb40a5eae2 Always look for includes in ../include 2009-12-21 15:13:08 +00:00
c4d6b7c484 Added reminder to support floating point types as well 2009-12-13 14:24:54 +00:00
46ac7f0082 Needs -lresolv on Solaris 2009-12-12 20:13:02 +00:00
6ee7ae693d Using error_print() when probably better (still only in debugging mode) 2009-12-12 00:55:11 +00:00
19b1b218a4 Forgot to commit parts of the "out String" arguments handling 2009-12-05 21:27:17 +00:00
bd7459abe4 Always send an empty string even if it should be NULL (protocol design issue) 2009-12-04 10:26:37 +00:00
2f25e25e63 Been testing the STRING_OUT argument 2009-12-04 02:47:03 +00:00
a21b4c4f83 Always needs <stdio.h> 2009-12-04 02:45:17 +00:00
475834106a More fixes for STRING_OUT 2009-12-04 02:43:23 +00:00
523435e05f Fixing handling of STRING_OUT 2009-12-04 02:39:45 +00:00
ebacf7775c Partially implemented STRING_OUT (untested) 2009-11-29 15:12:28 +00:00
4996c3dcad The maximum number of arguments for the AppInterface calls is now 4 2009-11-26 20:01:13 +00:00
e7b2208598 Updated the AppInterface system 2009-10-31 18:08:20 +00:00
427b42d1b3 gcc really prefers "-lssl" to "-l ssl" 2009-09-06 23:28:08 +00:00
1556118b7e Code cleanup 2009-08-04 00:02:40 +00:00
375c364345 Allow variables to start with a non-ascii character directly 2009-08-03 23:59:16 +00:00
1ab77965d3 No longer choke on UTF-8 data 2009-08-02 03:33:00 +00:00
e5b7c501ba Fixed the line count 2009-08-02 03:30:13 +00:00
8ae3a7622b More precise errors on config_load() 2009-08-02 03:19:16 +00:00
61bb91cb59 Added string_set() 2009-08-02 03:03:47 +00:00
1768cc2b5b Code cleanup 2009-08-02 03:02:23 +00:00
031e5fe38e Fixed invalid memory accesses in the Config class after config_reset() 2009-08-02 02:48:31 +00:00
ad5fede9ad Code cleanup 2009-08-02 02:47:40 +00:00
f1db3399bc Fixed a bug where filters would not always get the latest character fetched 2009-07-29 17:01:54 +00:00
c8ebf791b6 Updated copyright information 2009-07-25 20:34:24 +00:00
f87e47969f Fixed a memory leak when overwriting a variable 2009-07-25 20:33:00 +00:00
272705130d Changed the prototype of object_resize() 2009-07-25 18:12:34 +00:00
974d0b7bcf Added object_resize() 2009-07-25 18:07:23 +00:00
7b5a38bbec Added helpers for debugging 2009-07-25 18:00:42 +00:00
14191ec92f Fixed a warning with -pedantic 2009-07-12 22:47:09 +00:00
505707cb60 Fixed a warning with -pedantic 2009-07-12 22:44:35 +00:00
d6d50e7470 Fixed two warnings with -pedantic 2009-07-12 22:43:44 +00:00
5f2517a809 Replacing -ansi with -pedantic 2009-07-12 22:42:31 +00:00
5199ae872e Re-generated Makefiles 2009-06-16 23:45:52 +00:00
77bf4364d5 Code cleanup 2009-06-16 23:14:57 +00:00
620bcc025f Added string_new_append() 2009-06-16 23:11:56 +00:00
5876e4663c Do not even save the variable if it was set to NULL 2009-02-20 23:55:04 +00:00
74b506a60b Do not write anything when there is no value to save 2009-02-19 01:31:30 +00:00
992c5cbd59 Re-generated Makefiles 2009-01-11 21:46:49 +00:00
5e7df7071a Always including <arpa/inet.h> 2008-11-11 01:38:55 +00:00
0ff3f9bfd3 Including <arpa/inet.h> 2008-11-11 01:38:05 +00:00
b00642b971 Making way for the real Init 2008-11-09 23:12:31 +00:00
5b797d87ad Extending the String class 2008-11-09 21:43:08 +00:00
e55bfa7842 Adding the Init AppInterface 2008-11-09 21:41:31 +00:00
f06b1b816c NULL is equivalent to the default section in config_get() 2008-11-09 21:41:08 +00:00
d8d4858efb GPLv3'ing 2008-10-15 10:58:17 +00:00
b3130663da Get rid of some signedness and qualifier warnings 2008-10-14 22:20:03 +00:00
0b247966be Re-generated Makefiles 2008-09-26 21:20:27 +00:00
e605ab4689 Using string_new() instead of strdup() where applicable 2008-08-21 20:25:56 +00:00
0a9f75e43a Using string_new() instead of strdup() where applicable 2008-08-21 20:24:57 +00:00
a933dc62f6 Fix compilation with debugging enabled 2008-07-10 17:36:46 +00:00
d58853a53a Constify'd 2008-07-10 17:29:08 +00:00
0334be4271 Added config_reset() 2008-07-10 15:19:35 +00:00
d2dc86e4b6 Event API update 2008-07-10 15:19:01 +00:00
d1202454db Code cleanup 2008-07-10 15:18:10 +00:00
bb00b01252 Updated to match Hash API update 2008-06-10 16:23:02 +00:00
7c1921581d Now actually hashing the data but no longer managing keys as strings 2008-06-10 16:21:52 +00:00
7b818549bc Revised the API 2008-06-10 16:20:27 +00:00
e2fc24947f Code cleanup 2008-06-06 02:06:10 +00:00
9f1dc3203f Re-generated Makefiles 2008-06-04 20:15:21 +00:00
d78d179b60 Fixed memory leak 2008-05-22 00:45:40 +00:00
9a29610c44 Renamed parser_delete_callback() to parser_remove_callback() 2008-05-13 00:38:48 +00:00
93b8f4f757 Re-generated Makefile 2008-05-13 00:38:05 +00:00
c8135f070c Added token_get_data() and token_set_data() 2008-04-24 17:15:41 +00:00
9f3c5d9339 Using the Object framework 2008-04-17 18:21:03 +00:00
ea7fff5b17 Using __func__ for debugging output 2008-04-17 18:13:17 +00:00
b0f75ae858 Updated copyright information 2008-04-17 18:12:17 +00:00
3b90ad3e41 Should actually hash the data 2008-04-17 18:05:53 +00:00
d3ede67a03 Using the Object framework 2008-04-17 17:58:52 +00:00
c07288aad2 Code cleanup 2008-04-17 17:55:41 +00:00
b1b2361fd3 Updated copyright information 2008-04-17 17:52:26 +00:00
4ddafea8be Using the error reporting framework 2008-04-17 17:51:13 +00:00
e99fa5c400 Code cleanup 2008-04-17 17:34:57 +00:00
cae65dec73 Implemented array_set() (not tested) 2008-04-17 17:29:35 +00:00
e040dfcdc7 Code cleanup 2008-04-17 17:15:27 +00:00
321d26b5de More code cleanup 2008-04-17 16:50:34 +00:00
612ae35447 Avoid a potential memory corruption on little-endian architectures 2008-04-17 16:46:18 +00:00
edd3dfac1f Code cleanup 2008-04-17 16:40:58 +00:00
88fa3d3c17 Handling errors when returning strings 2008-04-17 16:28:02 +00:00
23db217687 Work-around a compiler warning 2008-04-17 16:26:59 +00:00
4b95dc089a Code cleanup 2008-04-17 16:23:47 +00:00
128304d7f9 Added a comment 2008-04-17 15:42:13 +00:00
b32f6776db Added plugin_new_self() and plugin_lookup() 2008-04-17 13:02:08 +00:00
7c463bb727 Updated copyright information 2008-04-17 12:51:56 +00:00
d0958d1f1a Constified config_get() 2008-04-17 12:47:48 +00:00
64946d56ad Revised the code 2008-04-14 04:11:18 +00:00
8f51afa1cc Revised the code 2008-04-14 04:05:29 +00:00
4cd58e1801 Detecting more error cases 2008-04-14 03:35:21 +00:00
25475dab02 Compiles again 2008-04-13 23:51:48 +00:00
95039ac3be Code cleanup 2008-04-13 23:50:56 +00:00
9c3ebc73dd Added two assertions 2008-04-13 23:21:22 +00:00
ae18ccfcb7 Code cleanup 2008-04-13 22:36:38 +00:00
a46dd04d09 Small optimization 2008-04-12 23:13:07 +00:00
df4a75df97 Fixed handling of integers when serving on big endian architectures 2008-04-12 17:29:38 +00:00
a0cfa48890 Added a way to determine which client is calling 2008-04-12 14:31:35 +00:00
2560d7179f Added Plugin helpers 2008-04-11 12:39:07 +00:00
16fb99162f The last character read was not updated after the filters 2008-04-11 10:08:21 +00:00
b58ed03dca Code cleanup 2008-04-10 19:09:08 +00:00
ae56154a96 token_get_code() really returns a TokenCode 2008-03-07 13:25:16 +00:00
eef6d19d5a Reporting the error when unable to open the file 2008-03-02 00:56:17 +00:00
8e9cab9ffe Fixed return code upon parsing errors 2008-02-28 00:06:59 +00:00
fcab87e048 Added accessors for the filename 2008-02-27 18:20:22 +00:00
ccb781960c Handling errors while parsing 2008-02-27 18:17:10 +00:00
3204205845 Forcing the filename to be set upon token creation 2008-02-27 18:16:58 +00:00
245e6fcc8c Initial release 2008-02-25 12:22:36 +00:00
0644a4eef4 Code cleanup 2008-02-25 01:00:04 +00:00
3d46e70771 Using the Object class 2008-02-25 00:59:12 +00:00
e924e0c41b Compile and install the new Object and Parser classes 2008-02-25 00:54:59 +00:00
1eca1d6dd2 Initial release 2008-02-25 00:50:40 +00:00
ae90a261e7 Using safer types 2008-02-25 00:45:33 +00:00
0a346244d7 Code cleanup 2008-02-25 00:44:29 +00:00
411897c90a Initial release 2008-02-25 00:42:32 +00:00
80d1e935eb Added two comments 2008-02-25 00:42:06 +00:00
85407799ec Re-generated Makefile 2007-12-12 15:43:05 +00:00
ec87f0b5cd Compile with SSL by default 2007-12-12 15:42:48 +00:00
c2bf9facd6 Fixed a typo 2007-12-05 03:03:55 +00:00
40c065c004 Got rid of two warnings when compiling 2007-12-05 01:37:04 +00:00
316e1c4867 Code cleanup 2007-12-05 01:35:16 +00:00
707c36b6d7 Fixed sending buffers 2007-11-22 18:41:15 +00:00
132a7b71bc Using the size actually sent 2007-11-09 19:20:08 +00:00
05aa187539 Added umask() to VFS 2007-11-07 23:51:44 +00:00
c3d29c634a Added lchown() to VFS 2007-11-07 16:42:27 +00:00
475f693079 Added chmod() and chown() to VFS 2007-11-07 16:34:50 +00:00
e419b3333c Added link(), rename() and symlink() to VFS 2007-11-07 16:19:42 +00:00
976c1366ec Added unlink() to VFS 2007-11-07 16:07:23 +00:00
d9a38995bc Added rmdir() to VFS, Casting buffer size for safety 2007-11-07 15:36:15 +00:00
02a877d0bf Workaround automatic free() when resizing to 0 2007-11-07 15:08:11 +00:00
018a88e1e9 Added mkdir() to VFS 2007-11-07 13:53:51 +00:00
6a9e3c3225 More debugging information 2007-11-07 12:51:32 +00:00
30763031ea Compilation fix with SSL 2007-11-07 12:09:13 +00:00
a8defcbab1 Added lseek() to VFS 2007-11-07 12:08:24 +00:00
a25b1182e7 Added fchmod() and fchown() to the VFS interface 2007-11-07 11:58:47 +00:00
91c3da67bf Compilation fix with SSL 2007-11-07 11:58:14 +00:00
661bc4b768 Fixed crash upon error in Config 2007-11-06 18:22:40 +00:00