Log of /trunk/config
Directory Listing
Revision
477 -
Directory Listing
Modified
Wed Aug 18 20:52:28 2010 UTC
(2 weeks, 5 days ago)
by
juli
Remove whitespace at end-of-line.
Revision
415 -
Directory Listing
Modified
Thu Dec 10 18:06:02 2009 UTC
(8 months, 3 weeks ago)
by
juli
Whitespace between VPATH+= and the content.
Revision
409 -
Directory Listing
Modified
Thu Dec 10 17:49:25 2009 UTC
(8 months, 3 weeks ago)
by
juli
Switch to GNU Make in the interest of portability.
Revision
388 -
Directory Listing
Modified
Sat Nov 21 23:45:21 2009 UTC
(9 months, 2 weeks ago)
by
juli
ConfigValue is a struct not a class.
Revision
341 -
Directory Listing
Modified
Fri Sep 25 23:49:22 2009 UTC
(11 months, 1 week ago)
by
juli
Work around a bug with OpenBSD's ancient compiler in ConfigObject::coerce.
This may be a bug in GCC 3.x but since I don't develop against any non-OpenBSD
GCC3 installations, I've just conditionalized it on OpenBSD. It should be
harmless, but I don't want to replace good code with obtuse code outright just
because of a compiler deficiency, so it's conditionalized.
Revision
327 -
Directory Listing
Modified
Sun Sep 13 18:05:20 2009 UTC
(11 months, 3 weeks ago)
by
juli
o) Push member setting into ConfigClass::set() from Config::set().
o) Allow the user to try to set a field twice.
o) Add a "flags" type, which allows the user to set a field multiple times
to OR together some flags.
o) Add a test of the "flags" type.
Revision
325 -
Directory Listing
Modified
Sun Sep 13 17:38:05 2009 UTC
(11 months, 3 weeks ago)
by
juli
Make mapping table static.
Revision
322 -
Directory Listing
Modified
Sun Sep 13 10:20:15 2009 UTC
(11 months, 3 weeks ago)
by
juli
Make the configuration system give some better idea as to what went wrong.
Revision
278 -
Directory Listing
Modified
Sun Sep 6 00:17:43 2009 UTC
(12 months ago)
by
juli
Use strtoll like strtoimax on Interix.
Revision
247 -
Directory Listing
Modified
Thu Aug 20 06:40:43 2009 UTC
(12 months, 2 weeks ago)
by
juli
o) Add the SocketAddressFamilyIP type which auto-detects IPv4 or IPv6.
o) Pass the address as a hint to Socket::create where applicable.
o) Make socket_address::operator() use getaddrinfo(3) to find an appropriate
address in the desired family and to handle family inference when passed
AF_UNSPEC.
o) Remember the socket type and numeric protocol to facilitate getaddrinfo(3).
o) Reorder Socket::create to make it possible to determine which IP family to
use based on an address hint passed in.
o) While here make Socket::create's protocol argument default to empty.
o) Don't pass an empty protocol by hand to Socket::create for Unix domain
sockets anymore.
o) Make the WANProxy default configuration use the IP address family and the
"localhost" name so that it uses IPv4 or IPv6 as appropriate for that
system.
Revision
237 -
Directory Listing
Modified
Mon Aug 17 10:48:05 2009 UTC
(12 months, 3 weeks ago)
by
juli
Only build address class and address family type if the io module is being
compiled in.
Revision
219 -
Directory Listing
Modified
Thu Aug 13 07:13:54 2009 UTC
(12 months, 3 weeks ago)
by
juli
Unbreak validity-checking of IPv6.
Revision
215 -
Directory Listing
Modified
Thu Aug 13 06:53:01 2009 UTC
(12 months, 3 weeks ago)
by
juli
o) Move Socket{AddressFamily,Type} enums to new <io/socket_types.h> for
consumers of the types but not the Socket API.
o) Make the configuration system use the SocketAddressFamily instead of its own
hand-rolled thing.
o) Make the Unix client/server API ask for the SocketType since that can vary,
but the SocketAddressFamily is implicit.
o) Make TCP* and UDP* API ask for the SocketAddressFamily. The rest is implied.
o) Modify a test so that it will be possible to sneak IPv6 into it RSN.
Revision
213 -
Directory Listing
Modified
Thu Aug 13 06:16:23 2009 UTC
(12 months, 3 weeks ago)
by
juli
o) Add enumerators for socket domains and types rather than using the
Unix names everywhere.
o) Add a few stub IPv6 allusions.
Revision
209 -
Directory Listing
Modified
Thu Aug 13 00:14:54 2009 UTC
(12 months, 3 weeks ago)
by
juli
Forcefully set the ConfigType pointer to NULL in case of failure sine GCC seems
to be confused about this in many versions. XXX Would be nice to conditionalize
but it seems to be a great many versions, indeed.
Revision
207 -
Directory Listing
Modified
Wed Aug 12 23:36:26 2009 UTC
(12 months, 3 weeks ago)
by
juli
o) Add some helper methods to simplify configuration classes.
o) Make ConfigObject a class not a struct and hide its implementation details a
bit.
Revision
206 -
Directory Listing
Modified
Wed Aug 12 23:05:12 2009 UTC
(12 months, 3 weeks ago)
by
juli
o) Switch to single-string connect() and bind().
o) Make ports strings.
o) Use getsockname() to construct the listening address if bind() with
port of 0, rather than passing in a pointer to the port, simplifying
the API for non-0 code.
o) Add getsockname() pass-through to TCPServer.
Revision
199 -
Directory Listing
Modified
Thu Aug 6 22:40:17 2009 UTC
(13 months ago)
by
juli
Check in expansion of ConfigClassAddress to allow for fields necessary for use
of Unix domain sockets.
Revision
177 -
Directory Listing
Modified
Tue Jun 16 03:09:11 2009 UTC
(14 months, 3 weeks ago)
by
juli
o) Temporarily disable a destructor assertion in Config since we're not to the
point of starting proxies, let alone shutting them down correctly.
o) Add skeleton proxy and proxy-socks ConfigClasses.
Revision
176 -
Directory Listing
Modified
Tue Jun 16 00:11:41 2009 UTC
(14 months, 3 weeks ago)
by
juli
We implicitly make <string> a part of the standard environment for WANProxy by
needing it in <common/log.h>, so be explicit and put it in <common/common.h> since
it's basically indispensible like the logging and debugging stuff. This allows
me to clean up recent confusion I've introduced about this in the config code.
Revision
175 -
Directory Listing
Modified
Mon Jun 15 23:02:27 2009 UTC
(14 months, 3 weeks ago)
by
juli
Remove TODO. The remainder of the work is WANProxy-specific.
Revision
173 -
Directory Listing
Modified
Mon Jun 15 17:54:18 2009 UTC
(14 months, 3 weeks ago)
by
juli
Support pointers to "None" as used in the wanproxy.conf.
Revision
171 -
Directory Listing
Modified
Mon Jun 15 17:47:28 2009 UTC
(14 months, 3 weeks ago)
by
juli
o) Add a network address ConfigClass.
o) Fix parsing of references to other configuration parameters.
o) Clean up some left-over ConfigClassString stuff in ConfigClassInt.
o) Add a stub WANProxy interface ConfigClass.
o) Comment out codec0 stuff since I want to take care of the rest of the
stuff in wanproxy.conf first.
Revision
169 -
Directory Listing
Modified
Mon Jun 15 08:36:45 2009 UTC
(14 months, 3 weeks ago)
by
juli
Get the class name from the ConfigClass rather than requiring it be passed down.
Revision
168 -
Directory Listing
Modified
Mon Jun 15 04:46:42 2009 UTC
(14 months, 3 weeks ago)
by
juli
Add an address family config type.
Revision
167 -
Directory Listing
Modified
Mon Jun 15 04:42:43 2009 UTC
(14 months, 3 weeks ago)
by
juli
Strike off a TODO item.
Revision
166 -
Directory Listing
Modified
Mon Jun 15 04:41:10 2009 UTC
(14 months, 3 weeks ago)
by
juli
Add a ConfigType for referencing another ConfigObject.
Revision
165 -
Directory Listing
Modified
Mon Jun 15 01:59:56 2009 UTC
(14 months, 3 weeks ago)
by
juli
Add untested reference resolution code.
Revision
164 -
Directory Listing
Modified
Sun Jun 14 22:06:14 2009 UTC
(14 months, 3 weeks ago)
by
juli
Stash the value string in the ConfigValue.
Revision
163 -
Directory Listing
Modified
Sun Jun 14 19:42:41 2009 UTC
(14 months, 3 weeks ago)
by
juli
o) Add a templated enum config type.
o) Make log-level an enum.
o) Make Log::mask take a Log::Priority rather than a string for the log level.
o) Make example configuration use the new enum log-level rather than a string.
Revision
162 -
Directory Listing
Modified
Sun Jun 14 19:05:08 2009 UTC
(14 months, 3 weeks ago)
by
juli
Wrongly mark destructors for ConfigClass and ConfigType virtual to please GCC.
Revision
161 -
Directory Listing
Modified
Fri Jun 12 07:00:20 2009 UTC
(14 months, 3 weeks ago)
by
juli
Add a TODO just for config-related stuff.
Revision
160 -
Directory Listing
Modified
Fri Jun 12 06:38:27 2009 UTC
(14 months, 3 weeks ago)
by
juli
Add an untested integer type.
Revision
158 -
Directory Listing
Modified
Thu Jun 11 21:33:59 2009 UTC
(14 months, 3 weeks ago)
by
juli
Stash the correct string.
Revision
157 -
Directory Listing
Modified
Thu Jun 11 21:27:54 2009 UTC
(14 months, 3 weeks ago)
by
juli
Try writing a test class and type.
Revision
156 -
Directory Listing
Modified
Thu Jun 11 20:52:53 2009 UTC
(14 months, 3 weeks ago)
by
juli
Add an add_member method for adding members. Change visibility of everything.
Revision
154 -
Directory Listing
Modified
Thu Jun 11 20:39:56 2009 UTC
(14 months, 3 weeks ago)
by
juli
Stash pointers back to the configuration in values and objects.
Revision
153 -
Directory Listing
Modified
Thu Jun 11 20:37:44 2009 UTC
(14 months, 3 weeks ago)
by
juli
Remove README now that the skeletal configuration stuff is in place.
Revision
152 -
Directory Listing
Modified
Thu Jun 11 20:33:19 2009 UTC
(14 months, 3 weeks ago)
by
juli
Flesh out more of the configuration system.
Revision
149 -
Directory Listing
Modified
Thu Jun 11 07:56:40 2009 UTC
(14 months, 3 weeks ago)
by
juli
Break configuration entirely:
Begin introducing the new configuration system. Right now it does nothing, but
this is a promise to fix it real soon now.
Update the WANProxy configurator to use it and update wanproxy.conf to, as well.
Revision
147 -
Directory Listing
Added
Tue Jun 9 07:25:20 2009 UTC
(14 months, 4 weeks ago)
by
juli
Add a README describing what the new config system should look like...