Commit Graph

380 Commits

Author SHA1 Message Date
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
1753c7b223 Nicer error message when a variable is not found in the default section 2007-11-06 18:16:18 +00:00
b1fda8687c Fixed sending buffers out, Reviewing the VFS interface 2007-11-06 18:15:31 +00:00
3880bbf9e4 Better error messages 2007-11-06 18:11:52 +00:00
2d919268b2 Fixed a crash when parsing empty section ("[]") 2007-11-02 15:40:35 +00:00
e6d4faf25d Code cleanup 2007-11-02 15:18:12 +00:00
f1cd4a8c5c Updated Array API 2007-11-02 15:17:18 +00:00
da796ef52a Beginning to use the error reporting framework 2007-10-31 15:31:59 +00:00
54edbc0eff Conforming to the new Buffer interface 2007-10-25 15:45:40 +00:00
bff63a7b27 Revised Buffer interface 2007-10-25 15:44:33 +00:00
4492c1757e Tracking calls to close() when debugging 2007-10-24 21:59:46 +00:00
ab87a78967 Fixed reception of buffers 2007-10-24 21:59:06 +00:00
a7ce354120 Corrected the prototype for buffer_new() 2007-10-24 21:56:24 +00:00
affd6347ac Important code review 2007-10-24 16:49:54 +00:00
fe904cf775 Using error reporting routines 2007-10-23 09:48:49 +00:00
6293fb93ae Updated error handling API 2007-10-14 22:47:42 +00:00
d8b9e7d407 Added helpers for error handling 2007-10-14 22:02:36 +00:00
390982c317 Avoid information leak for interfaces that don't return a value 2007-10-13 21:22:48 +00:00
b0f5e136f7 SSL support is now optional with the compilation flag "WITH_SSL" 2007-10-12 01:31:44 +00:00
d6e364e01b The App protocol now goes over SSL (will make it optional ASAP) 2007-10-12 00:53:20 +00:00
4d2a7e8e43 Fixed a compilation warning on Linux 2007-10-10 00:35:03 +00:00
7ce4e78cc0 Compiling with optimizations turned on 2007-10-10 00:29:19 +00:00
e8678fb8fd Fixed an uninitialized value and some code cleanup 2007-10-10 00:28:14 +00:00
60f44beeef Removed two debugging messages 2007-10-10 00:17:01 +00:00
4c8801ae97 Better handling of timeout issues 2007-10-09 20:33:40 +00:00
69c1413a81 Fixed a memory leak when failing to create an AppClient 2007-10-09 15:50:42 +00:00
713e6464e1 Fixed compilation warning on OpenBSD 2007-09-16 00:15:02 +00:00
43d2065340 Fixed compilation warnings 2007-08-17 15:07:37 +00:00
1f10e80997 Fixed compilation on OpenBSD 2007-06-21 11:15:08 +00:00
106de9a81a Licensed under the terms of the DeforaOS Project license 2007-06-13 23:34:06 +00:00
30d7198bdc Added copyright information 2007-05-21 02:47:24 +00:00
f82fcaf0d6 Partial AppServer/AppClient API and code review 2007-05-12 16:28:56 +00:00
a790dba906 appclient.c and appserver.c rely on appinterface.h 2007-05-12 16:21:06 +00:00
c735ee1d43 Code cleanup 2007-05-12 15:10:05 +00:00
ed339596e3 Code cleanup 2007-05-12 00:27:14 +00:00
2ab97f645d Code cleanup 2007-05-11 22:02:02 +00:00
447fe795b8 Code cleanup 2007-05-11 20:32:58 +00:00
4fa1fa34fc Code cleanup 2007-05-11 20:25:57 +00:00
06b931f0a4 Code cleanup 2007-05-11 20:09:27 +00:00
8dca6e44ff Code cleanup 2007-05-11 20:08:31 +00:00
52e2877441 Code cleanup 2007-05-10 18:35:13 +00:00
2e9ca83564 Using size_t where seems appropriate 2007-03-19 00:40:47 +00:00
02d576a5d0 Fixed a compilation warning 2007-03-19 00:40:15 +00:00
1ec2d03dff Using size_t where seems appropriate 2007-03-19 00:32:07 +00:00
2e4458eb5e Re-generated Makefiles 2007-01-19 01:36:16 +00:00
eb1f6efaff Adding copyright notices 2006-10-09 05:32:05 +00:00
149fac57f7 Closing the client socket on delete(), should check for more cleanup 2006-09-14 12:13:38 +00:00
88bbc8ef6a Name resolution fix (ugly assignment still) 2006-09-14 00:29:28 +00:00
f95b6e7a8d Code cleanup 2006-09-13 22:50:55 +00:00
83a6be722c Added .PHONY pseudo-rule 2006-07-06 02:10:49 +00:00
afd7e68fd6 Packaging Makefile 2006-07-06 02:10:22 +00:00
0835cdd8bf Code cleanup 2006-06-26 20:18:28 +00:00
5eab9d059f Pointer result on string_find() may be re-used (maybe dangerous) 2006-06-19 14:33:22 +00:00
6c935a5bdf Fixed crash upon config_set(a, b, NULL) (and should remove value instead) 2006-06-10 20:06:01 +00:00
b19d44eb9b Fixed relocation on sparc 2006-05-30 22:44:32 +00:00
443914d626 Fixed include collisions and subsequent compilation warnings 2006-04-17 15:23:26 +00:00
82304a4e6a Separated sub-include files 2006-04-17 15:13:27 +00:00
7947e28c59 Code cleanup 2006-02-11 16:37:22 +00:00
b46b7446df Added interface service "GServer" 2006-02-11 16:33:02 +00:00
3fa604cc42 Forgot to free a few members 2006-02-02 22:34:13 +00:00
15598c761d Was freeing event even if managed by the application 2006-02-02 22:15:42 +00:00
e71a132775 Added Probe calls for volume information fetching 2006-01-20 18:19:23 +00:00
374ce896f6 Almost implemented AppClient/AppServer message passing 2006-01-10 15:55:24 +00:00
a90762d7b9 Added buffer class 2006-01-10 15:54:50 +00:00
6994869548 Initial release 2006-01-10 15:52:09 +00:00
a900738723 Added a FIXME 2005-10-27 00:43:27 +00:00
7988324912 Supports network statistics 2005-10-26 23:34:19 +00:00
ce114b6731 Added uninstallation rules 2005-10-25 15:58:43 +00:00
699231615b Added installation rules 2005-10-25 02:30:56 +00:00
25509984f4 New configure version 2005-10-24 00:04:32 +00:00
60ed97407d Added dist files 2005-10-23 23:33:38 +00:00
ca765a33d2 Added "const" where appropriate 2005-10-22 23:16:13 +00:00
e0e21aae53 Fixed a bug in string_append() 2005-10-22 17:57:52 +00:00
97767b45fb Array type moved to include file to allow arrays of Array 2005-10-22 16:07:07 +00:00
a21800cc11 Fixed Event and AppServer for new Array API 2005-10-22 14:37:53 +00:00
6b48000802 Fixed string_length() 2005-10-21 23:41:38 +00:00
aa6a65ceda Added string_compare_length() 2005-10-21 23:29:43 +00:00
9da0bed54a Fixed array_append() and Hash class 2005-10-21 22:20:36 +00:00
acd2aa0db6 Added string_find() 2005-10-20 19:21:49 +00:00
fe9918dc0e Added hash.c and config.c
Fixed String API
Improved Array API
2005-10-20 19:05:39 +00:00
7e0222b4d9 Updated Probe interface 2005-10-11 18:07:32 +00:00
3178586339 Fixed Probe interface 2005-10-11 11:03:01 +00:00
ac4059f500 Updated Probe interface for memory usage 2005-10-11 10:52:09 +00:00
af5c00dcd3 Fix in strings reception 2005-10-04 09:16:24 +00:00
e2cad2b7a3 !@# 2005-09-25 03:32:59 +00:00
a522f16258 Fixed compilation without debugging 2005-09-24 23:19:38 +00:00
f7cbd99982 A longer timeout seems necessary 2005-09-24 23:18:29 +00:00
129dd7af42 Debugging (mostly AppClient) 2005-09-24 22:06:09 +00:00
e6e79e3675 Compiles out of debugging mode 2005-09-24 04:57:08 +00:00
29d3bc57f5 Probe AppClient/AppServer works 2005-09-24 04:55:36 +00:00
fb02ed1385 Works \o/ 2005-09-24 01:09:06 +00:00
076be7d5f0 Supports functions with 2 arguments 2005-09-24 00:15:35 +00:00
0b8947b5f2 Said hello! 2005-09-24 00:14:31 +00:00
1b657bd8c6 Going on 2005-09-23 23:00:20 +00:00
7a243fdb8d Going on 2005-09-23 22:50:03 +00:00
b68d1167da AppServer begins to read call 2005-09-22 23:57:22 +00:00
b45e0841b6 Compiles on NetBSD/Sparc 2005-09-21 00:31:04 +00:00
a34c8e514f Looks up AppServer executable for functions to call 2005-09-18 22:24:44 +00:00
ffca663b4c No longer requires stdio.h 2005-09-18 22:23:54 +00:00
89c338a8a1 Reading for answers 2005-09-18 16:18:40 +00:00
1412145b2f Debugging... 2005-09-18 16:15:25 +00:00
d4bd39d2b4 Going on 2005-09-18 05:19:02 +00:00
dc6a01fe8a Fixed a bug in AppServer 2005-09-18 04:59:22 +00:00
e0c5146158 6h am is a bad time for this 2005-09-18 04:36:25 +00:00
7818956b3d Moved common.{c,h} to appinterface.{c,h} 2005-09-18 04:36:01 +00:00
f9b7e99725 Moved code to appinterface.{c,h} 2005-09-18 04:34:57 +00:00
6b0dc65beb Initial release 2005-09-18 04:34:23 +00:00
a0a763964d Fixed destination service's port response error case 2005-09-18 02:45:41 +00:00
7f7191a398 Added debugging messages 2005-09-18 02:44:53 +00:00
85b72aacc3 Adding debugging messages 2005-09-18 02:44:36 +00:00
0f4bd6a379 A bit too much at a time but could work some time... 2005-09-18 02:29:48 +00:00
13b1356904 Added source file common.c 2005-09-18 02:28:36 +00:00
e6d337970f Initial release 2005-09-18 02:28:11 +00:00
9501343314 Nicer code 2005-09-17 22:58:38 +00:00
17c7d9fc15 Can read and write 2005-09-17 17:49:46 +00:00
d6d1bec1b6 Beginning read support 2005-09-17 14:41:49 +00:00
a37a5162c8 Initial release 2005-09-17 14:41:06 +00:00
772c2e2609 No longer segfaults on accept(), w00t 2005-09-14 20:33:29 +00:00
f2f9de482e Getting farther 2005-09-14 20:26:09 +00:00
eb5778eb33 Trying to get this somewhat working 2005-09-14 07:47:00 +00:00
fc323ec8ab Updating timeout value upon timeout func registration 2005-09-13 17:24:11 +00:00
f3b3c2f12c It's a whole mess. Shit. Trying anyway. 2005-09-13 04:50:23 +00:00
33e10406ef Trying to implement AppServer 2005-09-02 21:29:10 +00:00
fdafb10340 Added string_compare() 2005-09-02 21:28:42 +00:00
36a37e0b00 Initial release 2005-09-02 20:22:21 +00:00
fc939a0353 Going on 2005-08-28 11:48:29 +00:00
5829008d58 Code cleanup 2005-08-28 11:45:30 +00:00
70046dbdca Initial release 2005-08-28 11:45:29 +00:00
26af6801b5 Added sources array.c, event.c, string.c 2005-08-28 11:43:29 +00:00
49fc3e895d Added array.c, event.c, string.c 2005-08-28 11:43:11 +00:00
0e4f8c6055 Initial release 2005-06-14 00:42:44 +00:00