* scripts/extract_revision.sh: A new script to extract a build ID
revision number differently depending on what source control
is being used.
* Makefile.am: Add the new script to dist.
* server/Makefile.am: Use the new script, and add the generated
buildid.cpp to the distributed sources.
* scripts/cyphesis-setup.sh: Ensure there are no errors because
of permissions on the source directory. Shorten some variable
names to clean up formatting. Clean up error handling with database
commands.
* scripts/cyphesis-setup.sh: Add checks for a whole bunch of
environment variables which could contain the calling user's
username after sudo or su have been run. Improve some of the
messages.
* scripts/import_bullet: Check explicitly for source files suffixes
before treating them as sources. Create temporary files to avoid
updating Makefile.am if there is no change. Mark headers as not to
be installed.
CONTAINS, but COMPONENTS do not have a separate existence. They are destroyed
if the entity is destroyed, and do not have globally addressable IDs.
They can still be represented by Entity, but won't be in the global ID
dictionary. This leads to the idea of a component property interface whcih
abstracts looking up component IDs. An accompanying stamp can reduce the
frequency with which clients need to inspect the components, as they should
change very infrequently.
SEQ is not being used in the memmap code, as it is not being set.
Re-write plant using properties when we can write scripts for property
handlers.
* scripts/cyphesis-setup.sh: Complete the database setup script
functionality. Clean up the output, and polish.
* server/PersistantThingFactory.cpp, server/PersistantThingFactory.h,
server/PersistantThingFactory_impl.h: Partially specialise the non
persistent entity factory so we can register the persistor database
tables for the world object when persistence is disabled, so the
state of this entity can be restored.
* server/server.cpp: Tidy up the startup output.
* server/EntityFactory.cpp: Don't try and set up world persistence if
it is turned off.