Commit Graph

52 Commits

Author SHA1 Message Date
Elizabeth Fong 732a6512c5 refactored method for client to subscribe to runtime configs from yoweb into narya, since it uses no yohoho-specific code
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3618 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-06-23 01:33:43 +00:00
Ray Greenwell 0308123c0b Fixed alignment of boolean configs.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3585 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-06-04 01:04:58 +00:00
Ray Greenwell 27e9719c8b Include a spacer to the right of the checkbox so that errant clicks on
that side don't cause the box to toggle.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3477 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-04-13 17:07:53 +00:00
Michael Bayne c0430e3131 Revamped the config object editor system to make it easier to create
custom editors for simple data types. Added a checkbox editor for boolean
fields. Also switched the layout to the side as one is likely to
accumulate many objects and allowed an object to be specified as the
default.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3452 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-04-01 00:03:58 +00:00
Michael Bayne 44f2a29f4f Regenerated with updated copyright information.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3365 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-02-22 18:56:52 +00:00
Michael Bayne afabea71ad Big fat Bernie javadoc cleanup.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3310 542714f4-19e9-0310-aa3c-eee0fc999fb1
2005-01-24 23:08:21 +00:00
Michael Bayne 55a0ab91f7 Regenerated our DObject derivations in the new world order.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3288 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-12-28 03:51:29 +00:00
Michael Bayne 9386fabeee Use the new DObject.changeAttribute() instead of hand-constructing an
AttributeChangedEvent which is no longer allowed.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3286 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-12-28 03:49:23 +00:00
Ray Greenwell e7ef1e3e61 Support long[] values.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3265 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-12-09 01:34:50 +00:00
Michael Bayne a04e23e025 Regenerated our marshaller and dispatcher classes with the new Java-based
generator. It handles inner classes slightly differently and prepends a
project-specific header to the generated classes.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3239 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-11-25 04:47:40 +00:00
Michael Bayne 8451c39797 Added missing copyright headers to the .dobj files.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3218 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-11-17 23:16:56 +00:00
Ray Greenwell e7fe6c017d Some method names in ObjectEditorTable changed names.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3204 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-11-06 01:59:24 +00:00
Ray Greenwell 998e38c7c2 Fixed typo in comment.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3199 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-11-04 00:38:12 +00:00
Michael Bayne bb5fdbb8c0 We need to refetch our reference to the DSet if the whole thing changes.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3172 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-10-26 21:05:27 +00:00
Michael Bayne aa3b2be4b6 Handle DSet fields being updated wholesale.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3127 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-09-29 04:04:20 +00:00
Michael Bayne 1f8c4578b7 LGPLed the library. Hello world.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3098 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-08-27 02:12:55 +00:00
Michael Bayne 19abac5be1 Handle shorts. Maybe later we'll add support for pants.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3052 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-07-09 03:52:04 +00:00
Ray Greenwell 136da4e780 Gracefully deal with DSet modifications, rather than brutishly recreating
the entire table.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3026 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-06-15 17:58:38 +00:00
Ray Greenwell 1e5ff6dd92 Broke out textual parsing into another method to ease subclassing.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3025 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-06-15 03:25:19 +00:00
Ray Greenwell 87bbff083f Guts exported to ObjectEditorTable.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3024 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-06-14 01:09:23 +00:00
Ray Greenwell d25c7adba6 added getSelectedEntry.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3020 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-06-03 19:11:18 +00:00
Ray Greenwell c8f519fc85 Rolled SettedObject right into DObject, because it's just too useful.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3019 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-06-03 18:15:03 +00:00
Ray Greenwell 2d90dd40a1 A special field editor that may be used to display or edit DSets.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3018 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-06-03 17:15:38 +00:00
Eric Lundberg c50dbe8b72 Allow the field editor to edit arrays of floats. The sword runtime config
currently uses them but it wasn't actually possible to edit them. (Not
that I'm messing with the values or the sword code, I just noticed it was
seemingly borked.)


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2989 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-04-05 23:44:28 +00:00
Michael Bayne 8a54e85914 Switched to a safe subscriber.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2983 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-03-06 14:55:50 +00:00
Michael Bayne 1a4bdbc5c2 Distributed objects go in the data package, not client. While I was in
here, I went ahead and cleaned up the custom field editor handling per
Ray's earlier suggestion.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2981 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-03-06 12:00:39 +00:00
Eric Lundberg 92b716d790 seems to work like a champ.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2979 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-03-05 02:40:18 +00:00
Eric Lundberg 20541d11dc Added code to support serializing and deserializing of Streamable objects
in the prefs.  Thus we can now have DSets of arbitrary data types in our
run time config objects, with swanky custom UI no less.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2978 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-03-04 02:50:30 +00:00
Eric Lundberg 4e7ea75efa Changed to use the custom ui if it is available from the configObject.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2977 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-03-04 02:43:48 +00:00
Eric Lundberg 97207fca74 Initial checkin of the new base config object for run time configs.
Allows derived config objects to provide custom editing UI.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2976 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-03-04 02:42:31 +00:00
Michael Bayne 9ccff79f52 Regenerated.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2973 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-02-25 14:51:51 +00:00
Michael Bayne 61d46f2768 Import cleanup.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2968 542714f4-19e9-0310-aa3c-eee0fc999fb1
2004-02-25 14:39:34 +00:00
Michael Bayne 77bc33214a Handle string and int arrays.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2841 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-10-27 05:34:19 +00:00
Michael Bayne 5b66d1d672 Wasn't handling floating point preference values.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2799 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-09-18 21:35:02 +00:00
Michael Bayne 205a25ce10 Allow editing of floats and doubles.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2682 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-06-25 03:13:56 +00:00
Michael Bayne dc15ffc36f Have to supply the old value now when constructing an
AttributeChangedEvent by hand.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2511 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-04-30 22:32:20 +00:00
Michael Bayne c21d757bfe Added support for float.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2209 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-01-22 01:42:51 +00:00
Michael Bayne 88f0555af7 Added support for float[].
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2208 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-01-22 01:40:32 +00:00
Walter Korman a91061cb30 Use SwingUtil.refresh().
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2106 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-01-11 01:03:02 +00:00
Michael Bayne 57e697b600 Handle long fields, report when we don't know the type of a field.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1769 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-10-02 20:10:20 +00:00
Michael Bayne a21ea989e8 No built-in title.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1751 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-09-25 03:01:14 +00:00
Michael Bayne 689546f785 Removed debug logging.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1736 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-09-23 01:35:10 +00:00
Michael Bayne 361c992ac4 Configuration rethink! There's now much more magic. We simply define
distributed objects which contain our configuration parameters; those
objects once registered with the ConfObjRegistry will automatically be
populated from appropriate stati config files and modifications to those
objects (made through the standard admin config interface) will
automatically be mirrored out to the preferences that override the values
specified in the config files (which override the default values defined
in the config object class definitions).


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1735 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-09-23 01:34:32 +00:00
Michael Bayne 1caf5bcbdc Added a header and some handy usage labels.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1734 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-09-23 01:32:32 +00:00
Michael Bayne caa5490a89 Handle boolean fields; moved ancestor listener stuff into
add/removeNotify().


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1733 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-09-23 01:31:49 +00:00
Michael Bayne 99edb5cd5e Regenerated services and receivers to fix bugs and use updated templates.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1659 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-08-20 19:38:16 +00:00
Michael Bayne e54a4d41f4 The great invocation services rethink of 2002! Rearchitected the remote
method invocation services and converted everything to the new style.
Could this be my biggest checkin ever?


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1642 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-08-14 19:08:01 +00:00
Ray Greenwell 86e4745882 Moved SafeScrollPane back
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1563 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-07-09 21:13:20 +00:00
Ray Greenwell 3ff952ee49 Moved SafeScrollPane to com.samskivert.swing
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1561 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-07-09 17:49:12 +00:00
Michael Bayne a74f3e4422 Fixed up the code that outlines uncommitted values in red.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1430 542714f4-19e9-0310-aa3c-eee0fc999fb1
2002-06-07 18:48:41 +00:00