Commit graph

82 commits

Author SHA1 Message Date
Alistair Riddoch
077f8d9188 When setting up the server start time, use raw default constants 2009-05-07 13:49:51 +01:00
Alistair Riddoch
5505ed6bc4 Remove debug output when looking for settings in the config 2009-04-19 00:40:49 -07:00
Alistair Riddoch
a465998718 Remove completely unused setting 2009-04-09 01:41:14 +01:00
Alistair Riddoch
59cff06064 Only warn about options from the command line 2009-04-09 01:27:08 +01:00
Alistair Riddoch
f1f6fb8ed2 Move restricted option to new mechanism. 2009-04-09 00:27:11 +01:00
Alistair Riddoch
e4be4eed46 Move more options to the new dynamic mechanism. 2009-04-09 00:13:15 +01:00
Alistair Riddoch
670c09f990 Move metaserver boolean option to the new mechanism. 2009-04-08 21:56:24 +01:00
Alistair Riddoch
2ad73f462c Add support for boolean options 2009-04-08 21:49:52 +01:00
Alistair Riddoch
3167c5cc82 Remove duplicated defaults 2009-04-08 21:48:01 +01:00
Alistair Riddoch
b03a541c46 Remove unused pvp config options 2009-04-08 21:32:44 +01:00
Alistair Riddoch
61d57f84b7 Move socket config options to the new mechanism. 2009-04-08 21:22:19 +01:00
Alistair Riddoch
b4fb3cb179 Add new functions to the interface 2009-04-08 15:50:02 +01:00
Alistair Riddoch
617f66dbef Convert trial option peer_port to the new machanism. 2009-04-08 02:21:54 +01:00
Alistair Riddoch
92406490c4 Add support for option values and reading from varconf 2009-04-08 02:03:14 +01:00
Alistair Riddoch
2685cd105c Add support for the values and defaults 2009-04-08 00:16:35 +01:00
Alistair Riddoch
521b8fdf09 Add new inlined config options system inspired by gflags 2009-04-07 23:17:49 +01:00
Al Riddoch
12ce0672fd 2009-02-09 Al Riddoch <alriddoch@googlemail.com>
* common/globals.h, common/globals.cpp: Add config settings for the
	  python socket.
2009-02-09 05:32:44 +00:00
Al Riddoch
e59f808fed 2008-11-10 Al Riddoch <alriddoch@googlemail.com>
* common/globals.cpp: Fix usage information for dynamic port range
	  options.
2008-11-10 14:01:34 +00:00
Al Riddoch
f76fe6e90e 2008-11-09 Al Riddoch <alriddoch@googlemail.com>
* common/globals.h, common/globals.cpp: Add a global for the http port
	  setting. Move the dynamic port range where there is likely to be
	  more space.
2008-11-09 06:19:40 +00:00
Al Riddoch
49c5f0355c 2008-11-07 Al Riddoch <alriddoch@googlemail.com>
* common/globals.cpp: Modify the way socket paths are handled
	  and allow them to be specified as absolute paths.

	* client/ClientConnection.cpp, server/CommUnixListener.cpp,
	  tools/cyaddrules.cpp, tools/cycmd.cpp: Don't build the complete
	  socket path here, as it is now determined in the config.
2008-11-07 01:21:49 +00:00
Al Riddoch
44a7b3c1cd 2008-04-28 Al Riddoch <alriddoch@googlemail.com>
* common/Database.cpp, common/globals.cpp, common/id.cpp,
	  common/log.cpp, modules/DateTime.cpp, rulesets/Container.h,
	  rulesets/Statistics.h, server/CommListener.cpp,
	  server/CommServer.cpp, tools/cyconfig.cpp, tools/cyconvertrules.cpp:
	  Add includes required for recent compilers which include less
	  stuff implicitly in standard headers.
2008-04-28 17:26:08 +00:00
Al Riddoch
d74e3860c8 2007-12-10 Al Riddoch <alriddoch@zepler.org>
* common/globals.cpp: Add usage information for --help and --version
	  so that the checker does not warn about them.

	* configure.ac: Increment version.

	* NEWS: Update NEWS announcement for release.

	* Release 0.5.15
2007-12-13 00:21:48 +00:00
Al Riddoch
fb12fd3bac 2007-12-05 Al Riddoch <alriddoch@zepler.org>
* server/Persistance.cpp: Add an information message when attempting
	  to create a new instance database.

	* server/server.cpp: Store a new value for the start of the dynamic
	  port range, if one is allocated.

	* common/globals.cpp: Force the instance name into lower case
	  alphanumeric, and underscore only. Reject it if it can't easily
	  be forced.
2007-12-06 02:46:32 +00:00
Al Riddoch
5d30c0705e 2007-12-05 Al Riddoch <alriddoch@zepler.org>
* common/globals.h, common/globals.cpp: Add exported variables for
	  the names of the main config sections.
2007-12-05 21:27:33 +00:00
Al Riddoch
46fa541e69 2007-12-05 Al Riddoch <alriddoch@zepler.org>
* common/globals.h, common/globals.cpp: Provide a separate function
	  for saving user settings back to the home directory. When
	  configuring a new instance, store the ruleset in user settings,
	  and log an informational message rather than a warning.

	* server/server.cpp: When dynamically assigning a port to a new
	  instance, store the port in user settings, and log an informational
	  message. Save the user configuration once the validity has been
	  completely verified and applied.
2007-12-05 17:33:19 +00:00
Al Riddoch
c903f35634 2007-12-05 Al Riddoch <alriddoch@zepler.org>
* common/globals.cpp: Move the instance configuration setting out
	  of a section, and fix the usage code so it can deal correctly with
	  this.
2007-12-05 01:21:11 +00:00
Al Riddoch
ce42e54c4b 2007-12-04 Al Riddoch <alriddoch@zepler.org>
* common/globals.cpp, common/globals.h: Add a new config setting for
	  the instance short name, and support per-instance configuration.
	  Add config settings for a dynamic port range.

	* server/server.cpp: Support per-instance configuration and use a
	  dynamic port for non-default instances.
2007-12-04 19:18:17 +00:00
Al Riddoch
29415a6a6e 2007-11-14 Al Riddoch <alriddoch@zepler.org>
* common/globals.cpp, common/globals.h: Modify the loadConfig
	  function so it takes usage hints, and checks the options in known
	  sections against those in the usage help.

	* client/client.cpp, server/server.cpp, tools/cyaddrules.cpp,
	  tools/cycmd.cpp, tools/cydumprules.cpp, tools/cyloadrules.cpp,
	  tools/cypasswd.cpp: Convert all calls to loadConfig to provide
	  the right hints.
2007-11-14 22:40:17 +00:00
Al Riddoch
420e77561a 2007-11-05 Al Riddoch <alriddoch@zepler.org>
* common/globals.cpp: Add a template function that ensures config
	  values are read without having to repeat the section and key.
	  Much less verbose and more obvious. Set the default ruleset in a
	  more sane way.
2007-11-05 04:11:38 +00:00
Al Riddoch
4adaff13ef 2007-10-01 Al Riddoch <alriddoch@zepler.org>
* common/globals.cpp: Make a missing config file no longer fatal,
	  as the default are now sane, and do work.

	* server/server.cpp: Fix up some error and status messages.
2007-10-01 04:57:15 +00:00
Al Riddoch
336c8cd203 2007-10-01 Al Riddoch <alriddoch@zepler.org>
* common/globals.cpp: Make the default ruleset "mason" as basic
	  no longer exists in the default install. Remove some error
	  messages which no longer apply.
2007-10-01 04:43:13 +00:00
Al Riddoch
2069f3dd4c 2007-07-29 Al Riddoch <alriddoch@zepler.org>
* common/log.cpp, common/log.h: Switch to taking a C++ string reference
	  rather than a char *, as it is not really an optimisation, and it
	  makes the code simpler to read and write.

	* client/BaseClient.cpp, client/ClientConnection.cpp,
	  common/AtlasFileLoader.cpp, common/BaseEntity.cpp,
	  common/Database.cpp, common/globals.cpp, common/id.cpp,
	  common/inheritance.cpp, common/log.cpp, common/log.h,
	  rulesets/Character.cpp, rulesets/Creator.cpp, rulesets/Entity.cpp,
	  rulesets/MemMap.cpp, rulesets/Motion.cpp, rulesets/Pedestrian.cpp,
	  rulesets/Py_Object.cpp, rulesets/Py_RootEntity.cpp,
	  rulesets/PythonMindScript.cpp, rulesets/PythonThingScript.cpp,
	  rulesets/Python_API.cpp, rulesets/Thing.cpp, server/Account.cpp,
	  server/Admin.cpp, server/ArithmeticFactory.cpp,
	  server/CommClient.cpp, server/CommListener.cpp,
	  server/CommMDNSPublisher.cpp, server/CommServer.cpp,
	  server/Connection.cpp, server/EntityFactory.cpp,
	  server/Persistance.cpp, server/Restoration.cpp,
	  server/ScriptFactory.cpp, server/TaskFactory.cpp,
	  server/WorldRouter.cpp, server/server.cpp: Convert over to using
	  new API correctly.

	* data/mason.xml: Add biomass and transient to fircone, making its
	  script obsolete:
2007-07-29 03:33:33 +00:00
Al Riddoch
f8a2731576 2007-06-19 Al Riddoch <alriddoch@zepler.org>
* common/globals.cpp, common/globals.h: Change the type and name
	  of the ruleset list to a string.

	* rulesets/Python_API.cpp, server/EntityFactory.cpp,
	  server/server.cpp, tools/cyaddrules.cpp, tools/cydumprules.cpp,
	  tools/cyloadrules.cpp: Switch to using single ruleset config
	  variable.
2007-06-19 13:19:57 +00:00
Al Riddoch
6f8c07fe76 2007-06-19 Al Riddoch <alriddoch@zepler.org>
* common/globals.cpp: Remove loading config data for inherited
	  rulesets.

	* rulesets/Python_API.cpp: Add the python path for mind code
	  manually, and only add one path for the ruleset.
2007-06-19 12:54:54 +00:00
Al Riddoch
1c1c64d959 2007-05-07 Al Riddoch <alriddoch@zepler.org>
common/globals.cpp: Fix the namespacing of the access system call.
2007-05-07 22:53:13 +00:00
Al Riddoch
74b0e5c5ca 2007-05-07 Al Riddoch <alriddoch@zepler.org>
* common/globals.cpp: Fix the check_tmp_path() function, so it is
	  actually checking the path it has been given, add an access check
	  so we detect a temporary directory that exists but does not have
	  right permissions. Fix the error reporting when both paths fail.
2007-05-07 22:45:15 +00:00
Al Riddoch
7512de5046 2007-05-01 Al Riddoch <alriddoch@zepler.org>
* common/globals.cpp: Add version and help options to the usage
	  information.
2007-05-02 00:14:38 +00:00
Al Riddoch
1b457a7439 2007-04-29 Al Riddoch <alriddoch@zepler.org>
* common/globals.h, common/globals.cpp: Flag the usage data for
	  cycmd and database tools. Add an additional argument to the
	  usage function for programs which take additional non-varconf
	  arguments.

	* tools/cyaddrules.cpp, tools/cycmd.cpp, tools/cydumprules.cpp,
	  tools/cyloadrules.cpp: Add usage to the rest of the tools.

	* client/client.cpp: Add additional argument usage information.
2007-04-29 13:32:27 +00:00
Al Riddoch
2f0b7460d2 2007-04-28 Al Riddoch <alriddoch@zepler.org>
* common/globals.h, common/globals.cpp: Break option data down into
	  sections, fix scoping, and fill out most of the options used.

	* client/client.cpp: Add version and usage reporting calls.
2007-04-28 20:13:08 +00:00
Al Riddoch
d597378886 2007-04-28 Al Riddoch <alriddoch@zepler.org>
* common/globals.cpp, common/globals.h: Add interfact and mechanism
	  for showing usage data for all the programs given one central
	  location for the data.

	* server/server.cpp: Test out the usage function.

	* tools/cypasswd.cpp: Display usage using the old mechanism.
2007-04-28 16:45:13 +00:00
Al Riddoch
41d00bcab1 2007-04-28 Al Riddoch <alriddoch@zepler.org>
* commong/globals.h, common/globals.cpp: Add definitions for different
	  error codes from reading the config file, in particular codes that
	  indicate that the user has requested version, help or usage
	  information. Add a function for reporting the version of tools.

	* server/server.cpp: Add support for version or usage arguments,
	  including specific reporting of the server build number, which is
	  does not apply when reporting the version of other components.

	* tools/Makefile.am: Fix the globals modules dependency on consts.

	* tools/cypasswd.cpp: Add support for version or usage arguments.
2007-04-28 15:21:17 +00:00
Al Riddoch
e5eb644147 2007-04-24 Al Riddoch <alriddoch@zepler.org>
* tools/cypasswd.cpp: Improve the usage documentation.

	* common/globals.cpp: Add a varconf parameter lookup to allow
	  shorthand arguments to be used to request usage information.
2007-04-24 12:59:26 +00:00
Al Riddoch
11921ca0c2 2007-03-20 Al Riddoch <alriddoch@zepler.org>
* common/globals.cpp: Try and be smarter about the temporary directory
	  used for logging and socket files so that it works on centrally
	  installed autopackages.
2007-03-20 14:50:39 +00:00
Al Riddoch
4e1b802438 2007-03-19 Al Riddoch <alriddoch@zepler.org>
* common/globals.cpp: Use "basic" if no ruleset is specified in the
	  config.
2007-03-19 16:21:47 +00:00
Al Riddoch
8c336bc66f 2007-02-20 Al Riddoch <alriddoch@zepler.org>
* common/globals.cpp, common/globals.h: Add a config flag
	  to control whether database code is enabled.

	* server/EntityFactory.cpp, server/EntityFactory.h,
	  server/PersistantThingFactory.cpp, server/PersistantThingFactory.h,
	  server/PersistantThingFactory_impl.h, server/Persistor.cpp:
	  Re-work the persistence code so that persistent or non-persistent
	  versions of entity factories are installed at startup, removing
	  the need to check whether the database is enabled during
	  runtime.

	* common/newid.cpp, server/Connection.cpp, server/server.cpp:
	  Replace the const that used to control whether the database
	  was used with the config flag.
2007-02-20 00:52:41 +00:00
Al Riddoch
9a56dac06c 2006-10-26 Al Riddoch <alriddoch@zepler.org>
* Add RCS Id keywords to every file, for better version tracking.
2006-10-26 00:48:00 +00:00
Al Riddoch
fac57eee73 2006-01-19 Al Riddoch <alriddoch@zepler.org>
* aiclient/ClientAccount.cpp, aiclient/ClientAccount.h,
	  aiclient/ClientConnection.cpp, aiclient/ClientConnection.h,
	  aiclient/client.cpp, aiclient/client.h, client/BaseClient.cpp,
	  client/BaseClient.h, client/CharacterClient.cpp,
	  client/CharacterClient.h, client/ClientConnection.cpp,
	  client/ClientConnection.h, client/CreatorClient.cpp,
	  client/CreatorClient.h, client/ObserverClient.cpp,
	  client/ObserverClient.h, client/Py_CreatorClient.cpp,
	  client/Py_CreatorClient.h, client/client.cpp,
	  client/define_world.cpp, client/define_world.h, common/Add.h,
	  common/Affect.h, common/AtlasFileLoader.cpp,
	  common/AtlasFileLoader.h, common/Attack.h, common/BaseEntity.cpp,
	  common/BaseEntity.h, common/BaseWorld.cpp, common/BaseWorld.h,
	  common/Burn.h, common/Chop.h, common/Connect.h, common/CustomOp.cpp,
	  common/CustomOp.h, common/CustomOp_impl.h, common/Cut.h,
	  common/Database.cpp, common/Database.h, common/Delve.h, common/Dig.h,
	  common/Eat.h, common/FormattedXMLWriter.cpp,
	  common/FormattedXMLWriter.h, common/Generic.h, common/Load.h,
	  common/Monitor.h, common/Mow.h, common/Nourish.h,
	  common/OOGThing.cpp, common/OOGThing.h, common/Property.cpp,
	  common/Property.h, common/Property_impl.h, common/Save.h,
	  common/Setup.h, common/Tick.h, common/Unseen.h, common/Update.h,
	  common/Use.h, common/Wield.h, common/accountbase.cpp,
	  common/accountbase.h, common/const.cpp, common/const.h,
	  common/custom.cpp, common/debug.h, common/globals.cpp,
	  common/globals.h, common/id.cpp, common/id.h, common/inheritance.cpp,
	  common/inheritance.h, common/inheritance_impl.h, common/log.cpp,
	  common/log.h, common/newid.cpp, common/nls.h, common/op_switch.h,
	  common/operations.cpp, common/operations.h, common/random.h,
	  common/refno.h, common/serialno.cpp, common/serialno.h,
	  common/system.cpp, common/system.h, common/terrain_utils.cpp,
	  common/terrain_utils.h, common/type_utils.h, common/types.h,
	  common/utility.cpp, common/utility.h, modules/DateTime.cpp,
	  modules/DateTime.h, modules/Location.cpp, modules/Location.h,
	  modules/WorldTime.cpp, modules/WorldTime.h, physics/BBox.cpp,
	  physics/BBox.h, physics/Collision.cpp, physics/Collision.h,
	  physics/Quaternion.cpp, physics/Quaternion.h, physics/Vector3D.cpp,
	  physics/Vector3D.h, physics/VectorPol.h, rulesets/Area.cpp,
	  rulesets/Area.h, rulesets/AreaProperty.cpp, rulesets/AreaProperty.h,
	  rulesets/ArithmeticScript.cpp, rulesets/ArithmeticScript.h,
	  rulesets/BaseMind.cpp, rulesets/BaseMind.h,
	  rulesets/CalendarProperty.cpp, rulesets/CalendarProperty.h,
	  rulesets/Character.cpp, rulesets/Character.h, rulesets/Combat.cpp,
	  rulesets/Combat.h, rulesets/Container.cpp, rulesets/Container.h,
	  rulesets/Creator.cpp, rulesets/Creator.h, rulesets/Entity.cpp,
	  rulesets/Entity.h, rulesets/EntityProperties.cpp,
	  rulesets/Entity_getLocation.h, rulesets/Fell.cpp, rulesets/Fell.h,
	  rulesets/Food.cpp, rulesets/Food.h, rulesets/Line.cpp,
	  rulesets/Line.h, rulesets/LineProperty.cpp, rulesets/LineProperty.h,
	  rulesets/MemEntity.cpp, rulesets/MemEntity.h, rulesets/MemMap.cpp,
	  rulesets/MemMap.h, rulesets/MemMap_methods.h,
	  rulesets/MindFactory.cpp, rulesets/MindFactory.h, rulesets/Missile.h,
	  rulesets/Motion.cpp, rulesets/Motion.h, rulesets/Movement.cpp,
	  rulesets/Movement.h, rulesets/Pedestrian.cpp, rulesets/Pedestrian.h,
	  rulesets/Plant.cpp, rulesets/Plant.h, rulesets/Py_BBox.cpp,
	  rulesets/Py_BBox.h, rulesets/Py_EntityWrapper.h,
	  rulesets/Py_Location.cpp, rulesets/Py_Location.h,
	  rulesets/Py_Map.cpp, rulesets/Py_Map.h, rulesets/Py_Mind.cpp,
	  rulesets/Py_Mind.h, rulesets/Py_Object.cpp, rulesets/Py_Object.h,
	  rulesets/Py_Operation.cpp, rulesets/Py_Operation.h,
	  rulesets/Py_Oplist.cpp, rulesets/Py_Oplist.h, rulesets/Py_Optime.cpp,
	  rulesets/Py_Optime.h, rulesets/Py_Point3D.cpp, rulesets/Py_Point3D.h,
	  rulesets/Py_Property.cpp, rulesets/Py_Property.h,
	  rulesets/Py_Quaternion.cpp, rulesets/Py_Quaternion.h,
	  rulesets/Py_RootEntity.cpp, rulesets/Py_RootEntity.h,
	  rulesets/Py_Statistics.cpp, rulesets/Py_Statistics.h,
	  rulesets/Py_Task.cpp, rulesets/Py_Task.h, rulesets/Py_Thing.cpp,
	  rulesets/Py_Thing.h, rulesets/Py_Vector3D.cpp,
	  rulesets/Py_Vector3D.h, rulesets/Py_World.cpp, rulesets/Py_World.h,
	  rulesets/Py_WorldTime.cpp, rulesets/Py_WorldTime.h,
	  rulesets/PythonArithmeticScript.cpp,
	  rulesets/PythonArithmeticScript.h, rulesets/PythonMindScript.cpp,
	  rulesets/PythonMindScript.h, rulesets/PythonScript.cpp,
	  rulesets/PythonScript.h, rulesets/PythonThingScript.cpp,
	  rulesets/PythonThingScript.h, rulesets/PythonWrapper.cpp,
	  rulesets/PythonWrapper.h, rulesets/Python_API.cpp,
	  rulesets/Python_API.h, rulesets/Python_Script_Utils.h,
	  rulesets/Script.cpp, rulesets/Script.h, rulesets/Stackable.cpp,
	  rulesets/Stackable.h, rulesets/Statistics.cpp, rulesets/Statistics.h,
	  rulesets/StatisticsProperty.cpp, rulesets/StatisticsProperty.h,
	  rulesets/Structure.cpp, rulesets/Structure.h, rulesets/Task.cpp,
	  rulesets/Task.h, rulesets/TaskScript.cpp, rulesets/TaskScript.h,
	  rulesets/TerrainProperty.cpp, rulesets/TerrainProperty.h,
	  rulesets/Thing.cpp, rulesets/Thing.h, rulesets/ThingFactory.cpp,
	  rulesets/ThingFactory.h, rulesets/World.cpp, rulesets/World.h,
	  rulesets/attributes.h, server/Account.cpp, server/Account.h,
	  server/Admin.cpp, server/Admin.h, server/ArithmeticFactory.cpp,
	  server/ArithmeticFactory.h, server/CommClient.cpp,
	  server/CommClient.h, server/CommIdleSocket.cpp,
	  server/CommIdleSocket.h, server/CommListener.cpp,
	  server/CommListener.h, server/CommLocalClient.cpp,
	  server/CommLocalClient.h, server/CommMDNSPublisher.cpp,
	  server/CommMDNSPublisher.h, server/CommMaster.cpp,
	  server/CommMaster.h, server/CommMetaClient.cpp,
	  server/CommMetaClient.h, server/CommPSQLSocket.cpp,
	  server/CommPSQLSocket.h, server/CommPeer.cpp,
	  server/CommPeer.h, server/CommPeerListener.cpp,
	  server/CommPeerListener.h, server/CommRemoteClient.cpp,
	  server/CommRemoteClient.h, server/CommServer.cpp,
	  server/CommServer.h, server/CommSlaveClient.cpp,
	  server/CommSlaveClient.h, server/CommSlaveListener.cpp,
	  server/CommSlaveListener.h, server/CommSocket.cpp,
	  server/CommSocket.h, server/CommUnixListener.cpp,
	  server/CommUnixListener.h, server/Connection.cpp,
	  server/Connection.h, server/Connection_methods.h,
	  server/EntityFactory.cpp, server/EntityFactory.h,
	  server/ExternalMind.cpp, server/ExternalMind.h,
	  server/Idle.cpp, server/Idle.h, server/Lobby.cpp, server/Lobby.h,
	  server/Master.cpp, server/Master.h, server/Peer.cpp, server/Peer.h,
	  server/Persistance.cpp, server/Persistance.h,
	  server/PersistantThingFactory.cpp, server/PersistantThingFactory.h,
	  server/PersistantThingFactory_impl.h, server/Persistor.cpp,
	  server/Persistor.h, server/Persistor_impl.h,
	  server/Player.cpp, server/Player.h, server/Restoration.cpp,
	  server/Restoration.h, server/Restorer.cpp, server/Restorer.h,
	  server/Restorer_impl.h, server/ScriptFactory.cpp,
	  server/ScriptFactory.h, server/ServerRouting.cpp,
	  server/ServerRouting.h, server/ServerRouting_methods.h,
	  server/SlaveClientConnection.cpp, server/SlaveClientConnection.h,
	  server/TaskFactory.cpp, server/TaskFactory.h,
	  server/TrustedConnection.cpp, server/TrustedConnection.h,
	  server/WorldRouter.cpp, server/WorldRouter.h,
	  server/server.cpp, server/server.h, server/slave.cpp,
	  tests/Areatest.cpp, tests/BaseEntitytest.cpp,
	  tests/Charactertest.cpp, tests/Containertest.cpp,
	  tests/Creatortest.cpp, tests/EntityExerciser.h,
	  tests/EntityFactorytest.cpp, tests/Entitytest.cpp,
	  tests/Foodtest.cpp, tests/IGEntityExerciser.h,
	  tests/Linetest.cpp, tests/Locationtest.cpp, tests/OOGThingtest.cpp,
	  tests/Planttest.cpp, tests/Propertytest.cpp, tests/Stackabletest.cpp,
	  tests/Structuretest.cpp, tests/Tasktest.cpp, tests/TestWorld.h,
	  tests/Thingtest.cpp, tests/WorldTimetest.cpp, tests/Worldtest.cpp,
	  tests/allOperations.h, tests/collisiontest.cpp, tests/consttest.cpp,
	  tests/distancetest.cpp, tests/emergencetest.cpp,
	  tests/inheritancetest.cpp, tests/logtest.cpp, tests/randomtest.cpp,
	  tests/systemtest.cpp, tests/transformtest.cpp,
	  tests/type_utilstest.cpp, tests/utilitytest.cpp,
	  tools/AdminClient.cpp, tools/AdminClient.h, tools/cyaddrules.cpp,
	  tools/cycmd.cpp, tools/cyconfig.cpp, tools/cyconvertrules.cpp,
	  tools/cyctrl.cpp, tools/cydbload.cpp, tools/cydumprules.cpp,
	  tools/cyisoload.cpp, tools/cyloadrules.cpp, tools/cypasswd.cpp,
	  tools/cywatchdog.cpp: Replace the copyright and license statements
	  with new versions that include disclaimer of warranty, and
	  permit distribution under later versions of the GPL.
2006-01-19 02:17:06 +00:00
Al Riddoch
9ffe7efb0e 2006-01-04 Al Riddoch <alriddoch@zepler.org>
* configure.ac: Require latest varconf for its new features.

	* common/globals.cpp, tools/cyconfig.cpp: Use new varconf scope for
	  settings to more suitably handle user overidden config settings.

	* aiclient/ClientConnection.cpp, aiclient/client.cpp,
	  client/client.cpp, common/Database.cpp, server/server.cpp,
	  server/slave.cpp, tools/AdminClient.h, tools/cyaddrules.cpp,
	  tools/cycmd.cpp: Use new varconf/config.h header.
2006-01-04 15:06:46 +00:00
Al Riddoch
da9b258b4b 2005-09-23 Al Riddoch <alriddoch@zepler.org>
* common/globals.cpp: Remove debug output.
2005-09-23 13:38:48 +00:00
Al Riddoch
0bd41af5f0 2005-09-22 Al Riddoch <alriddoch@zepler.org>
* common/globals.cpp, common/globals.h: Implement reading pvp settings
	  from config file.

	* data/cyphesis.vconf: Disable pvp in the default config.
2005-09-23 11:24:05 +00:00