This uses the same importing code as Ember, and allows for import of
both entities, minds and types. The code in EntityImporterBase.*
should be kept synchronized with the Ember version.
This is provided as a new command, instead of added to the existing
cycmd executable. This is by design, to make it easier for users.
Export and import of entities are one of the most basic functions,
especially for any new user, and should therefore be provided as easy as
possible.
This uses the same exporting code as Ember, and allows for export of
both entities, minds and types. The code in EntityExporterBase.* should
be kept synchronized with the Ember version.
This is provided as a new command, instead of added to the existing
cycmd executable. This is by design, to make it easier for users. Export
and import of entities are one of the most basic functions, especially
for any new user, and should therefore be provided as easy as
possible.
* autopackage/default.apspec.in: Explicitly enable binreloc for
autopackage builds.
* server/Makefile.am, tools/Makefile.am: Link a couple more libraries
statically.
* 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.
* tools/Makefile.am: Add the network libraries to cypasswd as they
are needed on some platforms for gethostname.
* tests/Makefile.am: Ensure the tests like correctly.
* tests/Creatortest.cpp, tests/Charactertest.cpp: Remove test for
drunkness property, as it has been removed from the Character
entity class.
* server/Makefile.am, tools/Makefile.am: Switch static libraries over
to linking avahi so static builds and auto packages can be made
on Fedora Core 5.
* common/Database.cpp, common/Database.h, common/id.h, common/id.cpp:
Make newId() functions return the integer value.
* common/newid.cpp: Break newId out into its own file, and make
it handle whether or not the database should issue IDs.
* server/Connection.cpp, server/Persistance.cpp,
server/WorldRouter.cpp, server/server.cpp: Simply generating IDs
by just using the newId() function, and use its return value.
* physics/BBox.cpp: Re-core squareBoxSize() to be much more efficient.
* server/CommServer.cpp: Don't report "Interrupted System Call" as
an error from epoll_wait, as its always happening.
* tools/Makefile.am: Add pthread library to static link libs for
database using tools.