* tools/AdminClient.cpp, client/ClientConnection.cpp: Re-work poll()
methods in client code that call select(2), so that they don't
ignore errors, or get stuck waiting for data that has not yet
arrived by doing so.
* common/inheritance.h: Set the correct objtype on the Root meta class.
* rulesets/Character.cpp, rulesets/Food.cpp, rulesets/Plant.cpp,
rulesets/Stackable.cpp, rulesets/Thing.cpp, server/Account.cpp,
server/Admin.cpp, server/Connection.cpp, tools/AdminClient.cpp,
tools/cycmd.cpp: Switch to renamed copyAttr() method from
Atlas-C++.
* common/AtlasFileLoader.cpp, common/Database.cpp,
common/FormattedXMLWriter.cpp, common/Property.cpp,
common/accountbase.cpp, rulesets/Character.cpp,
rulesets/Entity_getLocation.h, rulesets/MemMap.cpp,
rulesets/Pedestrian.cpp, rulesets/Plant.cpp,
rulesets/Py_Object.cpp, rulesets/Thing.cpp,
server/Admin.cpp, server/Connection.cpp, server/EntityFactory.cpp,
server/WorldRouter.cpp, tools/AdminClient.cpp, tools/cycmd.cpp,
tools/cyconvertrules.cpp: After an Element has been checked
with isFoo(), it is more efficient to get its value using Foo()
rather than asFoo() which repeats the check.
* data/basic.xml, data/mason.xml: Add objtype to all rules.
Add a rule for ignite operation definition.
* common/custom.cpp: Remove hardcoded ignite operation definition.
* server/EntityFactory.cpp, server/EntityFactory.h: Remove some debug
output. Add new code to allow op_definitions to be installed as
rules.
* common/inheritance.cpp, common/inheritance.h: Return an error code
when a type without parents gets installed, rather than throwing an
exception.
* tests/inheritancetest.cpp: Fix test so it no longer expects an
exception.
* rulesets/mason/world/objects/clothing/Garment.py: Remove some
debug output.
* tools/AdminClient.cpp: Remove hardcoded objtype, depending instead
on objtype from the data file. Fix a bug where the full rule
was not getting uploaded when updating an existing rule.
Improve error reporting when update fails.
* server/EntityFactory.cpp: Implement updating default attributes
and other metadata when types are modified from the client.
* server/ScriptFactory.cpp: Handle errors that occur when reloading
modules. Store the new module correctly.
* tools/AdminClient.cpp, tools/AdminClient.h: Change behavoir of
cyaddrules so it updates types that have already been installed.
Requires adding a set op types that have already been uploaded
or updated, to ensure that types in a base ruleset don't override
the one already in the server.
* server/EntityFactory.cpp, server/EntityFactory.h: Add a public
method to allow the attributes of an installed type to be
modified.
* server/Admin.cpp: Correctly handle Create ops from client
to install new types from the client rather than Set.
Leave Set available as a legacy feature. Allow Set to be
used to modify the attributes of an existing type.
* tools/AdminClient.cpp, tools/AdminClient.h: Clean up headers,
move constructor and destructor into the .cpp file,
and make better use of using. Send Create ops instead of Set
ops when installing new types in the server.
* tools/AdminClient.cpp, tools/AdminClient.h: Improve the rule upload
code so that rules are held pending until their parents are uploaded,
ensuring that rules in an inheriting ruleset correctly override
those in the base ruleset.
* tools/cyaddrules.cpp: Report upload operation counts, and
report if a pending rule never gets uploaded.
* TODO: Note about bug in cyaddrules when adding rules from scratch.
* client/ObserverClient.cpp, client/ObserverClient.h,
client/client.cpp: Add option to allow cyclient to connect to a
remote server.
* tools/AdminClient.cpp, tools/AdminClient.h: Add a timeout so
cyaddrules still works against older servers that don't send an
info op when new types are uploaded.
* tools/cyaddrules.cpp: Add option to allow cyaddrules to connect to
a remote server.
* tools/AdminClient.cpp, tools/AdminClient.h, tools/cyaddrules.cpp:
New tool to load new rules into a running server.
* data/mason.xml, rulesets/mason/world/objects/tools/Rope.py:
Experimental type for a rope.
* man/cyclient.sgml, man/cycmd.sgml, man/cyphesis-tools.sgml,
man/cyphesis.sgml: Add SEE ALSO sections to the man pages.
* rulesets/Python_API.cpp: Clean up variable names.
* server/Admin.cpp: Send an info response when types are
installed from the client.
* tools/cyloadrules.cpp: Correct copyright dates.