Commit Graph

12 Commits

Author SHA1 Message Date
Michael Bayne 3f1a21f76c To facilitate DSet extensions, we treat any distributed object type that
ends in Set as a DSet. This is not optimal, but writing a full blown
parser so that we can analyze the inheritance hierarchy of the files we're
processing to determine for sure that something extends DSet would be at
least an order of magnitude greater pain in the ass than just doing simple
textual processing. We'll leave that up to future people.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1232 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-04-11 19:11:07 +00:00
Michael Bayne 59aeb61fe3 Added ability to update individual elements of an array field. The objects
have helper functions named set<field>At() for such a purpose.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1134 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-03-19 01:10:03 +00:00
Michael Bayne 7ccb9594b9 Changed DSet.Element to DSet.Entry in preparation for the addition of
array element update support. (Arrays have elements, sets have entries.)


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1133 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-03-18 23:21:26 +00:00
Michael Bayne 3716aecaa5 Egads! No value man!
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1097 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-03-08 01:05:39 +00:00
Michael Bayne 9d1d294294 Whoops, had a poorly named parameter.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1096 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-03-08 01:00:34 +00:00
Michael Bayne 5f18acd3d8 Modified distributed object attribute setting such that attributes are
*always* set immediately because after some deliberation, we decided that
doing that led to less unexpectedly annoying behavior than having to wait
for the event to propagate to see the new value.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1062 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-02-20 23:35:42 +00:00
Michael Bayne 4394ad7094 Was missing code for "short" fields.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@975 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-02-09 00:10:19 +00:00
Michael Bayne 664c4ff062 Whoops. Need to be more careful about putting $Id$ into the source file.
CVS was taking it upon itself to expand my regular expression into a
proper $Id$ string. Whee!


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@974 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-02-08 23:59:36 +00:00
Michael Bayne 36e70e902d Added --force argument; added support for slurping the $Id$ string out of
the target file and stuffing it back into the newly generated file so that
the generated file doesn't inherit the $Id$ string of the declaration file
which would generally not be what we want.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@971 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-02-08 23:53:58 +00:00
Michael Bayne 995b6f8ea2 Added a set<DSetField>() method for DSet fields in case one wants to
replace the entire field rather than just add/remove/update elements.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@970 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-02-08 23:32:16 +00:00
Michael Bayne d71d2c3a91 Modified script not to generate new destination file unless the source
file is newer.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@966 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-02-08 23:08:39 +00:00
Michael Bayne 8a6f656111 Implemented a script for automatically generating the necessary
distributed object field constants and setter methods for a distributed
object class declaration.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@965 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-02-08 22:41:22 +00:00