Commit Graph

6761 Commits

Author SHA1 Message Date
Charlie Groves b15a2d2471 Clear out the manager on the DObject when it's no longer active
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@6725 542714f4-19e9-0310-aa3c-eee0fc999fb1
2011-10-10 04:14:45 +00:00
Par Winzell 1ad7ac0fb6 Seems like 1.0 will work. 1.0-SNAPSHOT doesn't exist.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@6724 542714f4-19e9-0310-aa3c-eee0fc999fb1
2011-10-09 21:13:37 +00:00
Michael Bayne bc50d6fe9a Migrated some bits to ooo-util.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@6723 542714f4-19e9-0310-aa3c-eee0fc999fb1
2011-10-05 17:18:28 +00:00
Andrzej Kapolka 0400974701 Include a "region" column in the nodes table. Peers in different regions
must use the public host name to connect to each other.  This is in support
of adding servers in different EC2 regions to Spiral Knights (it's looking
like this solution will be less complicated than trying to create a
cross-region shared DNS system).


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@6722 542714f4-19e9-0310-aa3c-eee0fc999fb1
2011-10-04 22:06:39 +00:00
Michael Bayne 8b775ed31f Bump aux poms to next snapshot version.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@6720 542714f4-19e9-0310-aa3c-eee0fc999fb1
2011-09-30 02:52:49 +00:00
Michael Bayne 82d31da4f8 JMustache now requires fewer machinations to get sensible newline behavior.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@6719 542714f4-19e9-0310-aa3c-eee0fc999fb1
2011-09-30 02:51:17 +00:00
Michael Bayne 3d1fe821e8 Ship an aux artifacts 1.9 release.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@6718 542714f4-19e9-0310-aa3c-eee0fc999fb1
2011-09-30 02:39:11 +00:00
Michael Bayne 7c9cf73b2c Reference the latest GWT docs.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@6717 542714f4-19e9-0310-aa3c-eee0fc999fb1
2011-09-30 02:20:08 +00:00
Michael Bayne b966ba3f7e [maven-release-plugin] prepare for next development iteration
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@6716 542714f4-19e9-0310-aa3c-eee0fc999fb1
2011-09-30 02:15:28 +00:00
Michael Bayne dc3636dd84 [maven-release-plugin] prepare release narya-1.9
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@6714 542714f4-19e9-0310-aa3c-eee0fc999fb1
2011-09-30 02:14:50 +00:00
Michael Bayne 50cfc8521b We need to use the private SVN repo when doing releases.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@6713 542714f4-19e9-0310-aa3c-eee0fc999fb1
2011-09-30 02:13:11 +00:00
Michael Bayne 360e2323d2 Tidied POM, updated depends.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@6712 542714f4-19e9-0310-aa3c-eee0fc999fb1
2011-09-30 02:07:36 +00:00
Michael Bayne dc08f7a87f Get the expected size from the cache as a map, and avoid the casting.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@6711 542714f4-19e9-0310-aa3c-eee0fc999fb1
2011-09-28 23:23:34 +00:00
Ray Greenwell ba1ccd19ef Sets.newHashSet(E... elements) has a slightly altered implementation
in guava 10, such that it creates the Set with a different initial size
than it used to, which causes the resulting Set to have a different
iteration order than in the passt.

By constructing from an ImmutableSet (with a defined iteration order)
the HashSet behaves as it used to.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@6710 542714f4-19e9-0310-aa3c-eee0fc999fb1
2011-09-28 23:18:20 +00:00
Ray Greenwell 0c42de73b3 Updated for guava 10.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@6709 542714f4-19e9-0310-aa3c-eee0fc999fb1
2011-09-28 22:47:06 +00:00
Ray Greenwell 779ffff3b4 Guava 10, also update javadoc url.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@6708 542714f4-19e9-0310-aa3c-eee0fc999fb1
2011-09-28 22:26:08 +00:00
Mike Thomas 0dc28fc63b We're gonna do this differently - remove it before someone decides to use this version.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@6707 542714f4-19e9-0310-aa3c-eee0fc999fb1
2011-09-27 19:19:56 +00:00
Mike Thomas 4d6d577864 Some sensible tweaks to WeightedList suggested by MDB.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@6706 542714f4-19e9-0310-aa3c-eee0fc999fb1
2011-09-27 17:50:20 +00:00
Mike Thomas 9787be6d2d Add WeightedList
- a utility class to encapsulate a list of data with associated weights for random selection.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@6705 542714f4-19e9-0310-aa3c-eee0fc999fb1
2011-09-27 16:36:04 +00:00
Mike Thomas 4a492f655e Use appropriate header.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@6704 542714f4-19e9-0310-aa3c-eee0fc999fb1
2011-09-27 16:35:07 +00:00
Par Winzell f465cf3026 Extend NODES with a 'shutdown' column, set to true iff the node is cleanly shut down. Rows are never automatically removed.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@6703 542714f4-19e9-0310-aa3c-eee0fc999fb1
2011-09-27 15:27:09 +00:00
Ray Greenwell 68a895fad4 Revert Resulting.
Oops.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@6702 542714f4-19e9-0310-aa3c-eee0fc999fb1
2011-09-27 04:58:08 +00:00
Ray Greenwell 58f1db2a8d Nobody's using this here, it's not very well documented, and I want to make
something better anyway. Let's get it out of the way.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@6701 542714f4-19e9-0310-aa3c-eee0fc999fb1
2011-09-27 00:19:30 +00:00
Tom Conkling bbcf3e9ada Target iOS 3.2
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@6700 542714f4-19e9-0310-aa3c-eee0fc999fb1
2011-09-12 20:40:55 +00:00
Tom Conkling 9fed1cecd5 Bring up-to-date with Xcode 4.1 and iOS SDK 4.3
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@6699 542714f4-19e9-0310-aa3c-eee0fc999fb1
2011-09-12 20:32:55 +00:00
Ray Greenwell 02977a154e Guava's got a method for that.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@6698 542714f4-19e9-0310-aa3c-eee0fc999fb1
2011-08-26 13:05:39 +00:00
Bruno Garcia d2fcc311b5 Squish all the field name constants into a single block, like the signals.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@6697 542714f4-19e9-0310-aa3c-eee0fc999fb1
2011-08-26 04:58:37 +00:00
Bruno Garcia e1560a1298 Include field type parameters in the generated AS to force their linkage.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@6696 542714f4-19e9-0310-aa3c-eee0fc999fb1
2011-08-26 04:54:07 +00:00
Charlie Groves c32b1baa41 Import ordering
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@6695 542714f4-19e9-0310-aa3c-eee0fc999fb1
2011-08-17 20:04:57 +00:00
Jamie Doornbos 8d31e1e15a ObjectDeathAdapter.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@6694 542714f4-19e9-0310-aa3c-eee0fc999fb1
2011-08-16 17:53:58 +00:00
Jamie Doornbos 4ecc3e84af Expose the DObject here. Then the client code needn't keep both a subscriber and an object lying around.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@6693 542714f4-19e9-0310-aa3c-eee0fc999fb1
2011-08-16 17:51:55 +00:00
Andrzej Kapolka 7a8704f7a0 Preserve message timestamps when we send them between peers.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@6692 542714f4-19e9-0310-aa3c-eee0fc999fb1
2011-08-12 21:09:23 +00:00
Jamie Doornbos be828f5dbc Allow subclasses to override the eol conversion.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@6691 542714f4-19e9-0310-aa3c-eee0fc999fb1
2011-08-05 22:31:12 +00:00
Charlie Groves f187b92ae6 Updated import order for generated code
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@6690 542714f4-19e9-0310-aa3c-eee0fc999fb1
2011-08-01 23:47:10 +00:00
Charlie Groves 69e6cc4ae3 Update from aspirin
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@6689 542714f4-19e9-0310-aa3c-eee0fc999fb1
2011-08-01 23:42:08 +00:00
Charlie Groves 791dc95ea3 Add unproxyRemoteObject(DObjectAddress) to complement unproxyRemoteObject(nodeName, oid)
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@6688 542714f4-19e9-0310-aa3c-eee0fc999fb1
2011-07-29 08:54:45 +00:00
Charlie Groves e9f3cb9b9a Still subscribe if the DObject is local when proxying a remote object to preserve the behavior of
DObject.setDestroyOnLastSubscriberRemoved on the proxied object



git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@6687 542714f4-19e9-0310-aa3c-eee0fc999fb1
2011-07-29 06:39:20 +00:00
Charlie Groves 24dda56d4c Add isEmpty
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@6686 542714f4-19e9-0310-aa3c-eee0fc999fb1
2011-07-29 06:37:10 +00:00
Par Winzell d01fa95238 Add a Java-side stub for Hashable, just like its buddy Equalable.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@6685 542714f4-19e9-0310-aa3c-eee0fc999fb1
2011-07-19 07:00:31 +00:00
Charlie Groves 0c908be98b Tell C++ it can ignore the type parameters on InvocationMarshaller
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@6684 542714f4-19e9-0310-aa3c-eee0fc999fb1
2011-07-07 21:49:55 +00:00
Charlie Groves 3ecd912ddb Missed a couple spots under the crush of clyde warnings
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@6683 542714f4-19e9-0310-aa3c-eee0fc999fb1
2011-07-07 21:33:20 +00:00
Charlie Groves 01a57a03bf Parameterize InvocationService on the ClientObject type expected to call the service, and generate
InvocationProviders that take that type instead of just ClientObject.

Also, use the full set of import groupings no matter what. If that's the way we like it, that's the
way we like it.



git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@6682 542714f4-19e9-0310-aa3c-eee0fc999fb1
2011-07-07 21:10:49 +00:00
Jamie Doornbos d57521996c The import munging rabbit hole goes a little deeper...
* We can't just removeGlobals for actionscript services because that will nuke lovingly hacked things like ByteArray, so instead remove primitive stuff that got added as argument types.
* Prevent a crash in ImportSet if the first import in our list has no group. This was uncovered by genservice in orth.

git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@6681 542714f4-19e9-0310-aa3c-eee0fc999fb1
2011-07-06 22:56:04 +00:00
Jamie Doornbos c707a6a7a6 Genservice with latest code. It looks like this causes a number of deltas:
* Removes Client import
* Moves java.util imports from the end of the list to the beginning
* Removes an extra blank line if there were no imports.

Also set eol-style to native

git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@6680 542714f4-19e9-0310-aa3c-eee0fc999fb1
2011-07-06 22:12:24 +00:00
Jamie Doornbos 06d2b7d832 More tweaks to support (less-standard) ooo import style. This is getting pretty ugly and probably should be converted to us the new generated haeder markers.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@6679 542714f4-19e9-0310-aa3c-eee0fc999fb1
2011-07-06 22:09:19 +00:00
Jamie Doornbos 8be7e992f0 Support serializing non-HashMap implementations of Map.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@6678 542714f4-19e9-0310-aa3c-eee0fc999fb1
2011-07-06 21:33:34 +00:00
Jamie Doornbos 29f06663c6 Various tweaks to get import ordering to match the ooo convention of putting java and javax imports first, then threerings imports.
* Add importGroups template variable, set to the two groups: one for java, one for threerings.
* Omit Client import the client-side generated code. This was removed some time ago.
* Omit the blanket int -> Integer replacement, this was only needed for the marshaller
* Add the as boxing imports when generating the marshaller (this gets the Integer import for int types in marshaller signatures)
* Change the templates to put space between each group of imports.

git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@6677 542714f4-19e9-0310-aa3c-eee0fc999fb1
2011-07-06 21:06:55 +00:00
Jamie Doornbos 3d1f57c14e Extend import grouping functionality to allow groups to be specified.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@6676 542714f4-19e9-0310-aa3c-eee0fc999fb1
2011-07-06 19:09:41 +00:00
Jamie Doornbos 3c340a6033 Extend AS boxing functionality to also allow getting the imports togetherf
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@6675 542714f4-19e9-0310-aa3c-eee0fc999fb1
2011-07-06 19:08:08 +00:00
Jamie Doornbos 23614ac71f Consolidate actionscript import munging, add Map conversion.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@6674 542714f4-19e9-0310-aa3c-eee0fc999fb1
2011-07-06 17:55:20 +00:00