1e109e44cd
Make the Actionscript Client able to use the same mechanism as the Java Client to adjust for clock difference between client & server.
Mike Thomas
2011-10-18 17:59:14 +00:00
b4d516ea29
Add a method to make a named peer's node object available.
Nathan Curtis
2011-10-13 21:13:50 +00:00
840c9150c4
Run the tests as part of deploy.
Michael Bayne
2011-10-13 18:44:18 +00:00
fcf174424e
You can now "ant install" for a quick(ish) install to your local repo, and "ant deploy" is used by the build server and installs javadocs and source.
Michael Bayne
2011-10-13 18:33:24 +00:00
a28645ef63
Install -javadoc artifact as well; fixed some Ant javadoc links.
Michael Bayne
2011-10-13 17:44:07 +00:00
b185502683
Fix code generation to work with jmustache 1.4
Jamie Doornbos
2011-10-10 19:26:43 +00:00
b15a2d2471
Clear out the manager on the DObject when it's no longer active
Charlie Groves
2011-10-10 04:14:45 +00:00
1ad7ac0fb6
Seems like 1.0 will work. 1.0-SNAPSHOT doesn't exist.
Par Winzell
2011-10-09 21:13:37 +00:00
bc50d6fe9a
Migrated some bits to ooo-util.
Michael Bayne
2011-10-05 17:18:28 +00:00
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).
Andrzej Kapolka
2011-10-04 22:06:39 +00:00
8b775ed31f
Bump aux poms to next snapshot version.
Michael Bayne
2011-09-30 02:52:49 +00:00
82d31da4f8
JMustache now requires fewer machinations to get sensible newline behavior.
Michael Bayne
2011-09-30 02:51:17 +00:00
3d1fe821e8
Ship an aux artifacts 1.9 release.
Michael Bayne
2011-09-30 02:39:11 +00:00
7c9cf73b2c
Reference the latest GWT docs.
Michael Bayne
2011-09-30 02:20:08 +00:00
b966ba3f7e
[maven-release-plugin] prepare for next development iteration
Michael Bayne
2011-09-30 02:15:28 +00:00
dc3636dd84
[maven-release-plugin] prepare release narya-1.9
Michael Bayne
2011-09-30 02:14:50 +00:00
50cfc8521b
We need to use the private SVN repo when doing releases.
Michael Bayne
2011-09-30 02:13:11 +00:00
360e2323d2
Tidied POM, updated depends.
Michael Bayne
2011-09-30 02:07:36 +00:00
dc08f7a87f
Get the expected size from the cache as a map, and avoid the casting.
Michael Bayne
2011-09-28 23:23:34 +00:00
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.
Ray Greenwell
2011-09-28 23:18:20 +00:00
0c42de73b3
Updated for guava 10.
Ray Greenwell
2011-09-28 22:47:06 +00:00
779ffff3b4
Guava 10, also update javadoc url.
Ray Greenwell
2011-09-28 22:26:08 +00:00
0dc28fc63b
We're gonna do this differently - remove it before someone decides to use this version.
Mike Thomas
2011-09-27 19:19:56 +00:00
4d6d577864
Some sensible tweaks to WeightedList suggested by MDB.
Mike Thomas
2011-09-27 17:50:20 +00:00
9787be6d2d
Add WeightedList
Mike Thomas
2011-09-27 16:36:04 +00:00
4a492f655e
Use appropriate header.
Mike Thomas
2011-09-27 16:35:07 +00:00
f465cf3026
Extend NODES with a 'shutdown' column, set to true iff the node is cleanly shut down. Rows are never automatically removed.
Par Winzell
2011-09-27 15:27:09 +00:00
68a895fad4
Revert Resulting. Oops.
Ray Greenwell
2011-09-27 04:58:08 +00:00
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.
Ray Greenwell
2011-09-27 00:19:30 +00:00
bbcf3e9ada
Target iOS 3.2
Tom Conkling
2011-09-12 20:40:55 +00:00
9fed1cecd5
Bring up-to-date with Xcode 4.1 and iOS SDK 4.3
Tom Conkling
2011-09-12 20:32:55 +00:00
02977a154e
Guava's got a method for that.
Ray Greenwell
2011-08-26 13:05:39 +00:00
d2fcc311b5
Squish all the field name constants into a single block, like the signals.
Bruno Garcia
2011-08-26 04:58:37 +00:00
e1560a1298
Include field type parameters in the generated AS to force their linkage.
Bruno Garcia
2011-08-26 04:54:07 +00:00
c32b1baa41
Import ordering
Charlie Groves
2011-08-17 20:04:57 +00:00
4ecc3e84af
Expose the DObject here. Then the client code needn't keep both a subscriber and an object lying around.
Jamie Doornbos
2011-08-16 17:51:55 +00:00
7a8704f7a0
Preserve message timestamps when we send them between peers.
Andrzej Kapolka
2011-08-12 21:09:23 +00:00
be828f5dbc
Allow subclasses to override the eol conversion.
Jamie Doornbos
2011-08-05 22:31:12 +00:00
f187b92ae6
Updated import order for generated code
Charlie Groves
2011-08-01 23:47:10 +00:00
69e6cc4ae3
Update from aspirin
Charlie Groves
2011-08-01 23:42:08 +00:00
791dc95ea3
Add unproxyRemoteObject(DObjectAddress) to complement unproxyRemoteObject(nodeName, oid)
Charlie Groves
2011-07-29 08:54:45 +00:00
e9f3cb9b9a
Still subscribe if the DObject is local when proxying a remote object to preserve the behavior of DObject.setDestroyOnLastSubscriberRemoved on the proxied object
Charlie Groves
2011-07-29 06:39:20 +00:00
24dda56d4c
Add isEmpty
Charlie Groves
2011-07-29 06:37:10 +00:00
d01fa95238
Add a Java-side stub for Hashable, just like its buddy Equalable.
Par Winzell
2011-07-19 07:00:31 +00:00
0c908be98b
Tell C++ it can ignore the type parameters on InvocationMarshaller
Charlie Groves
2011-07-07 21:49:55 +00:00
3ecd912ddb
Missed a couple spots under the crush of clyde warnings
Charlie Groves
2011-07-07 21:33:20 +00:00
01a57a03bf
Parameterize InvocationService on the ClientObject type expected to call the service, and generate InvocationProviders that take that type instead of just ClientObject.
Charlie Groves
2011-07-07 21:10:49 +00:00
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.
Jamie Doornbos
2011-07-06 22:56:04 +00:00
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.
Jamie Doornbos
2011-07-06 22:12:24 +00:00
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.
Jamie Doornbos
2011-07-06 22:09:19 +00:00
8be7e992f0
Support serializing non-HashMap implementations of Map.
Jamie Doornbos
2011-07-06 21:33:34 +00:00
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.
Jamie Doornbos
2011-07-06 21:06:55 +00:00
3d1f57c14e
Extend import grouping functionality to allow groups to be specified.
Jamie Doornbos
2011-07-06 19:09:41 +00:00
3c340a6033
Extend AS boxing functionality to also allow getting the imports togetherf
Jamie Doornbos
2011-07-06 19:08:08 +00:00
0505a7508e
Provide a method to control whether we want to filter each incoming message.
Andrzej Kapolka
2011-07-01 02:18:27 +00:00
de6d2aac57
Cleanup and edge case handling for peer locking bits. The specific problem we were seeing in Spiral Knights was something like peer A created a handler for B's acquisition of a lock, but then C would hijack the acquisition and A would be left waiting indefinitely for B's acquisition. Now the handler can detect the hijacking and notify its listeners.
Andrzej Kapolka
2011-06-29 20:38:03 +00:00
155c281b18
Remove and ignore Eclipse files in favor of letting people generate their own using m2eclipse
Charlie Groves
2011-06-27 20:53:02 +00:00
123f72eadd
Add a counterpart for aspirin's Equalable for use in generation
Charlie Groves
2011-06-25 00:18:42 +00:00
2bcf59d1db
Whoops, didn't mean to get those guys as well
Charlie Groves
2011-06-24 20:14:42 +00:00
85262d498d
Bump to ooo-build 2.5 since the maven-ant-tasks jar 2.1 uses is no longer available
Charlie Groves
2011-06-24 20:12:08 +00:00
2820d6797a
Allow subclasses to configure the lock timeout.
Andrzej Kapolka
2011-06-22 18:25:55 +00:00
7862ac090a
We shouldn't call disconnectedFromPeer if we don't have a nodeobj yet, because we wouldn't have called connectedToPeer.
Andrzej Kapolka
2011-06-22 18:16:40 +00:00
23e5d5421f
Prevent NPE.
Andrzej Kapolka
2011-06-22 00:58:37 +00:00
b2df3a1fb6
Only set the default access controller when registering dobjects without an access controller
Charlie Groves
2011-06-21 22:14:22 +00:00
27d06d1569
One empty array is as good as another.
Ray Greenwell
2011-06-21 19:33:06 +00:00
8f63caef6e
Add a super-interface containing just isApplicable for NodeRequest and NodeAction to let findApplicableNodes be used on both.
Charlie Groves
2011-06-18 22:47:23 +00:00
2873c31f45
ArrayUtil --> Arrays.
Bruno Garcia
2011-06-17 22:18:08 +00:00
52023608c8
Allow downstream and upstream messages to be compounded
Charlie Groves
2011-06-16 03:37:08 +00:00
604e11e93e
That should be public; other entities use those values.
Andrzej Kapolka
2011-06-14 20:06:38 +00:00
004bd2b516
Allow subclasses to override the default warning times.
Andrzej Kapolka
2011-06-14 19:57:49 +00:00
87d9137cf8
Less obtuse and easier to read list of import groups.
Jamie Doornbos
2011-06-14 16:19:33 +00:00
82bf9dcd75
Make actionscript streamable sort and gorup the imports according to the aspirin convention. This doesn't yet accomodate imports that were added for non-generated blocks, but is very close to not requiring any postprocessing for the streamable who code, i.e. touchin mah filez
Jamie Doornbos
2011-06-14 08:25:12 +00:00
e9099dc415
Fix the streamable task to coordinate properly between source headers and preambles.
Jamie Doornbos
2011-06-14 05:34:13 +00:00
d2cdd54595
Add the signals library to IDEA's module file.
Par Winzell
2011-06-09 15:16:02 +00:00
96bca10e59
A bit less boilerplate in the toString helpers.
Ray Greenwell
2011-06-05 18:22:28 +00:00
dfe4c2d01f
These simple geometry primitives have been removed from narya to elsewhere.
Mike Thomas
2011-06-03 00:23:42 +00:00
bdcc8cf6fd
Bunyan-style
Charlie Groves
2011-06-02 23:02:38 +00:00
5b1e29432b
Being able to easily log is good.
Dave Hoover
2011-06-02 22:36:04 +00:00
a27291b430
It's useful to have our own friendly, simple rectangles and points independent from the various graphics systems that may or may not be available (e.g. java.awt)
Mike Thomas
2011-06-02 22:31:44 +00:00
d18e1590a8
We've already checked the type of the required service, so don't require another cast
Charlie Groves
2011-06-02 17:30:51 +00:00
85feb943f9
samskivert 1.4 shipped, so we can depend upon't.
Michael Bayne
2011-05-31 17:31:05 +00:00
0891dca5cf
Unused import
Dave Hoover
2011-05-26 17:31:26 +00:00
9952456bdd
GHFM autolinkifies, but doesn't know to ignore the period.
Dave Hoover
2011-05-26 17:31:24 +00:00
df87333935
Samskivert api docs are over at github now
Dave Hoover
2011-05-26 17:31:23 +00:00
dbb6d5ce22
We can't be refreshing the peers that we just shut down because they stopped updating.
Andrzej Kapolka
2011-05-20 03:21:27 +00:00
3a2d9d4aee
Move addExistingImports from GenActionScriptStreamableTask to ActionScriptUtils
Tom Conkling
2011-05-19 00:52:29 +00:00
d2dd8c5b5d
ActionScriptUtils.java: - expose addImportAndGetShortType() and toSimpleName() - public methods before protected ones
Tom Conkling
2011-05-19 00:39:17 +00:00
522194e592
Run genservice with my last change to placate Bamboo.
Bruno Garcia
2011-05-10 19:43:44 +00:00
c0a194c3cc
Like the Java version, prevent superfluous whitespace from being generated from empty args lists.
Bruno Garcia
2011-05-10 18:57:19 +00:00
0891b9cc58
Speeling.
Bruno Garcia
2011-05-10 18:52:43 +00:00
d0bde9d84d
Because we have had cases where peers have become unresponsive without actually disconnecting (due to EC2 woes, e.g.), let's try shutting down peers if they haven't checked in for a while.
Andrzej Kapolka
2011-05-04 20:58:29 +00:00
ca678f6df8
Use the newly relocated Interval.Factory.
Michael Bayne
2011-04-27 20:43:11 +00:00
cdff0031fe
Same pattern here: minimize the weirding (by having createMarshallers look like a non-weird function that just returns a useful value), and comment the weirding (in this case, only in CustomClassStreamer.{read|write}Object, since that's the only place where a race condition may occur.
Michael Bayne
2011-04-26 23:24:44 +00:00
10df7639b2
Let's test and set _marshallers in the same place, and add a comment explaining our no synchronization at the cost of possibly doing some trivial extra work.
Michael Bayne
2011-04-26 23:10:10 +00:00
90e395c7bf
Instead of syncrhonizing, Ray suggests just setting the shared member variable last. This should also work for our purposes and saves the overhead of the actual synchronization.
Mike Thomas
2011-04-26 22:43:39 +00:00
a7334345fd
We need to synchronize here. Otherwise, when we could be in the middle of initializing our marshallers, perhaps for another client on the same JVM, and continue on with our streaming thinking our marshallers are ready to go, only to find that they are, in fact, not yet ready to go.
Mike Thomas
2011-04-26 22:24:45 +00:00
7faeb29c4f
Open ourselves up a bit, to let subclasses pass their own data through ObjectInputStream's handy clientProps functionality. A prime example: sending along an injection context to streamed objects.
Par Winzell
2011-04-22 15:58:45 +00:00