Commit Graph

  • 1d838d5e8e Simplify. Michael Bayne 2010-12-22 01:42:32 +00:00
  • d52be825ec Abstract the manner by which DObject reads and writes its fields. This allows us to create a Scala trait that handles reading and writing Scala "fields" which are not public fields but are rather private fields with public getters and setters. This also enables the creation of bridges for other JVM-hosted non-Java languages. Michael Bayne 2010-12-22 01:30:55 +00:00
  • aea50988da Changed the names of generated actionscript DObject signals to be more in line with the listener events they're mirroring, and also to read more fluently. Tom Conkling 2010-12-21 22:02:25 +00:00
  • 865c00dbfe Add a 'destroyed' signal to generated ActionScript DObjects Tom Conkling 2010-12-21 19:54:57 +00:00
  • 0b3e8297e4 GenActionScriptStreamableTask parses imports out of the existing .as file and merges them into the output, regardless of whether they appear between the GENERATED PREAMBLE START/END markers. Tom Conkling 2010-12-18 00:47:33 +00:00
  • b041c6804b Since GWT is clearly moving away from (deprecating) TabPanel, let's ween ourselves off of it. However, TabLayoutPanel is a RequiresResize widget, which means it's not a drop-in replacement; it needs to be part of a layout. Par Winzell 2010-12-16 17:54:39 +00:00
  • 884ffabddc We need the current timestamp to report proper idle duration. Michael Bayne 2010-12-16 02:22:21 +00:00
  • 74c2c77443 Passing in the timestamp that dictates idleness allows us to propagate the idle duration a bit less far. And Ray will be pleased to know that we're doing much less redundant arithmetic. Michael Bayne 2010-12-16 02:18:53 +00:00
  • 6a45fec4ea Don't let presents' ping interval into Connection Charlie Groves 2010-12-16 01:59:47 +00:00
  • 4d163ffd7f Allow generated sections to be turned off. Charlie Groves 2010-12-15 23:46:56 +00:00
  • 0d8e889292 Oops, pubFields here too. Par Winzell 2010-12-15 18:31:03 +00:00
  • 1555bf92f9 Turn protected Java members into protected ActionScript members, and put them in the right place in the file. Par Winzell 2010-12-15 18:25:03 +00:00
  • 413f06ac26 Use the new fluent API because it's sexy. Michael Bayne 2010-12-15 00:51:17 +00:00
  • 1a6587f69b Bump Depot to 1.2-SNAPSHOT and regenerate records using type-safe column expressions. We'll get to a new stable release soonish. Michael Bayne 2010-12-15 00:47:20 +00:00
  • 68f8a577e9 Don't depend on presents Charlie Groves 2010-12-15 00:37:10 +00:00
  • f12887ae87 Don't require that ConnectionManager be a Reporter Charlie Groves 2010-12-15 00:31:29 +00:00
  • 2b90dee9f7 Let's make it easy for anyone to indicate their expected connection, and use it to suppress subscription failure events in addition to subscription success, as well as event forwards (though those shouldn't, in theory, go out over a new connection because subscribers are cleared when a connection is dropped). Nothing else looked like it might result in a spurious message being sent if a connection was dropped and reestablished, so none of the other calls were made to supply an expected connection. Michael Bayne 2010-12-15 00:19:33 +00:00
  • a2f8e4f7d9 This is what seems to be happening: the client requests a subscription on one connection, then disconnects. While that request is in the pipeline, it reconnects, then receives the subcription that the first connection requested before it sends its own subscription requests. To prevent this, make sure that the current connection is the same one that made the request. Andrzej Kapolka 2010-12-10 21:20:47 +00:00
  • 0af27e8475 It's only presents for now, but it's the xcode project for all of narya Charlie Groves 2010-12-10 21:18:58 +00:00
  • b574df2c70 Regenerated minus the ignore bits. Michael Bayne 2010-12-10 18:31:26 +00:00
  • 82978427ff We can get rid of our C++ backwards compatibility business now that we've shipped that to our 1.3 release. Michael Bayne 2010-12-10 18:02:10 +00:00
  • 8c1062894f Join our friend the main pom on the 1.4-SNAPSHOT train. Michael Bayne 2010-12-10 18:00:34 +00:00
  • 32c0791ff9 Ship a 1.3 release of all of our auxiliary artifacts to OOO's internal Maven repository. Michael Bayne 2010-12-10 17:58:53 +00:00
  • da92dc7772 [maven-release-plugin] prepare for next development iteration Michael Bayne 2010-12-10 17:54:37 +00:00
  • 085345d0e6 [maven-release-plugin] prepare release narya-1.3 Michael Bayne 2010-12-10 17:54:26 +00:00
  • be6eec0a06 Mind the gap. Michael Bayne 2010-12-10 17:51:43 +00:00
  • 5ece835d99 Unfortunately the temporary hack on the Java side of things needs to be matched here as well, or my production build will fall over and die. Par Winzell 2010-12-10 05:57:27 +00:00
  • 45b9fbbb78 Didn't mean to commit the record changes in 6363. Rolling back. Charlie Groves 2010-12-10 02:51:59 +00:00
  • e7dd16adc1 Switch back to the initial implementation of RegistrationManager to keep sending the same events Charlie Groves 2010-12-10 02:51:05 +00:00
  • 5476241fa4 PECS. Ray Greenwell 2010-12-10 02:44:18 +00:00
  • 14cf7855a2 We've got a PermissionPolicy again Charlie Groves 2010-12-10 01:55:37 +00:00
  • c215fb49fd Need to run our processing first if any changes will be caught by checking Charlie Groves 2010-12-10 01:55:04 +00:00
  • aee6ea100d Move our auxiliary pom files into etc so that the top-level of this project is less polluted. Between build systems, IDEs and IDE-specific-build-systems we've got half a dozen metafiles knocking around the top-level directory. It's mayhem. Michael Bayne 2010-12-09 22:37:00 +00:00
  • a985043d48 Some temporary backwards compatible bits for extant Corpse Craft clients. Narya's strict approach to over the wire compatibility is not so nice when you have cross-language clients that can't be updated at the same time as the server. Michael Bayne 2010-12-09 22:27:57 +00:00
  • ed7bea986d depot-1.0 doesn't have its .tmpl files, which causes genrecord to crash and burn. Bump to 1.1 and commit genrecord results. Charlie Groves 2010-12-09 21:57:33 +00:00
  • 4209af8963 Unused imports Charlie Groves 2010-12-09 21:56:04 +00:00
  • bf215119c4 Changed the names of generated signals to match their Java equivalents and to feel nicer with plural field names. Bruno Garcia 2010-12-09 21:49:51 +00:00
  • af57cfdb35 Go back to using StreamableArrayList here, for now. Ray Greenwell 2010-12-09 19:49:54 +00:00
  • 2cbfc358fe I feel your pain, but history favors the brief. Michael Bayne 2010-12-09 18:54:58 +00:00
  • 3c76d34ce1 Ensure the streamable classes are compiled before trying to generate C++ classes from them Charlie Groves 2010-12-09 08:55:45 +00:00
  • 02cced295a Set a property when maven-ant is initted to let us specify two targets on the command line Charlie Groves 2010-12-09 08:51:22 +00:00
  • 18e954a19b Check for gen changes ignoring $Id lines Charlie Groves 2010-12-09 08:43:22 +00:00
  • 39405136e9 Add uncommited generation checking to all the gen tasks. Charlie Groves 2010-12-09 07:43:18 +00:00
  • 0b77c89fa7 Improvements to Collection streaming support. Ray Greenwell 2010-12-09 02:39:01 +00:00
  • e91e11a765 Import cleanup Charlie Groves 2010-12-09 00:24:49 +00:00
  • 35ca102d64 Oh yeah, that too Charlie Groves 2010-12-09 00:08:09 +00:00
  • 939d309fa2 These are both pretty busted, so let's kill them to eliminate confusion with the functional GenActionScriptStreamableTask. Charlie Groves 2010-12-09 00:02:52 +00:00
  • 7119d3e874 An additional check to help track down a bug where subscriptions aren't being cleared properly. Andrzej Kapolka 2010-12-08 23:14:07 +00:00
  • e72a5d9a29 Track source directory change in IDEA module file. Par Winzell 2010-12-07 16:45:45 +00:00
  • 694f983ef3 One day perhaps we'll consider a world where clients can flit between bodies willy nilly and bodies don't necessarily have a client attached to them, but until that day, we're going to require that BodyObject.getClientObject() returns non-null when the body is in the wild. Par Winzell 2010-12-06 04:46:12 +00:00
  • 43b915de10 Send the FORCED_MOVE notification to the client, not the body. Par Winzell 2010-12-05 21:12:14 +00:00
  • 817b733ff0 Clarify that BodyLocator.forClient() should return null if the user is not currently driving a BodyObject. Use this fact to avoid various NPEs. Also introduce a reverse mapping of forClient(); it should always be possible to ask a BodyObject what its ClientObject connection to the user is. Par Winzell 2010-12-05 03:58:38 +00:00
  • 5758499ba0 Generate a signal for array ElementUpdatedEvents. Bruno Garcia 2010-12-04 01:30:08 +00:00
  • 66dfd0f44e Generate DSet add/remove/update signals for AS3 DObjects. Bruno Garcia 2010-12-04 00:24:30 +00:00
  • 2783e82333 Add some missing overrides. Mike Thomas 2010-12-03 21:54:47 +00:00
  • ec989e68c2 Let's include the dropped message in the warning to help us figure out what's being dropped in Project X. Andrzej Kapolka 2010-12-03 21:46:57 +00:00
  • f0860e3c57 Let's catch Throwable so that we correctly shut ourselves down if something unexceptional causes startup failure, like NoClassDefFoundError. Michael Bayne 2010-12-03 18:21:21 +00:00
  • cef632494a We have to check the body for permissions here, not the client, as per MDB's recent fixes. Par Winzell 2010-12-02 21:13:23 +00:00
  • eb73003516 Once again back to our regularly scheduled versioning. Michael Bayne 2010-12-02 18:18:07 +00:00
  • 9646c3e81f Oops, had that listed as an swc not a jar. Michael Bayne 2010-12-02 18:16:42 +00:00
  • 3031b61e39 Moved up to 1.3-SNAPSHOT to be in sync with the other poms. Michael Bayne 2010-12-02 18:13:50 +00:00
  • ae86c8249e Now that we're mostly in happy Maven land, I can ship a narya-tools artifact that does things much more nicely than our old approach. Specifically, narya-tools is just the stock narya.jar but using a pom that expresses the tools dependencies as non-optional. Michael Bayne 2010-12-02 18:12:19 +00:00
  • 6e6895d32d Ignore updates to fields that weren't defined by this class. Bruno Garcia 2010-12-02 02:35:23 +00:00
  • b660861be3 In an effort to make DObject updates easier to react to in actionscript, gendobj now generates signals for each field that can be listened to individually. Bruno Garcia 2010-12-02 02:25:35 +00:00
  • 99fd4d5dfc Try as we might, we can't all be Groves. Dave Hoover 2010-12-02 01:43:22 +00:00
  • cfbf5a742c Hey, that's not a string! Andrzej Kapolka 2010-12-02 00:31:03 +00:00
  • 7f765020a9 Since we're in the middle of reporting a failure, this can be due to an already-disappeared client-obj. If so, let's not NPE and just log a nice friendly null. Mike Thomas 2010-12-02 00:17:02 +00:00
  • 4c0224f835 Break success notification out into its own method. This lets me call it separately, and mastches reportFailure() quite elegantly besides. Par Winzell 2010-12-01 15:04:11 +00:00
  • be72e5cdad Add support for ActionScript Set streaming Tom Conkling 2010-12-01 03:00:52 +00:00
  • eb9e0db930 MDB reassures me it's safe to assume the client is a CrowdClient here, which makes the function short enough to inline. Also rename _auxobj to _bodyobj. Par Winzell 2010-11-30 19:07:56 +00:00
  • 22288e0b4c Match our changes on the ActionScript side. Michael Bayne 2010-11-30 18:47:10 +00:00
  • 9c9129a796 We can't use the type systesm to enforce our requirements, but we can use obtain containment and a stack of specifically typed outer class references to accomplish what we need without misleading casts. Michael Bayne 2010-11-30 18:35:58 +00:00
  • 99795a972c A couple of things: Michael Bayne 2010-11-30 18:18:27 +00:00
  • e5b7cd1535 I'm going to operate on the assumption that if you're separating ClientObject from BodyObject, then it's your responsibility to make sure that your BodyObject carries your Crowd permissions. Checking the ClientObject for your Crowd permissions and then using those on your (separate) BodyObject is too weird. Michael Bayne 2010-11-30 18:05:00 +00:00
  • 7af21e2aa0 Recent server-side work has tried to evolve away from the assumption that the ClientObject you log in with is necessarily the BodyObject you drive around the world. Par Winzell 2010-11-30 16:38:38 +00:00
  • ff1254dc37 Whoops, can't have writeObject methods in actionscript DObjects Charlie Groves 2010-11-30 02:50:32 +00:00
  • 5a3694aa6f Separate GenActionScriptStreamableTask from GenActionScriptTask and add dobject support to GenActionScriptStreamableTask Charlie Groves 2010-11-30 02:39:12 +00:00
  • 220b7a28b5 Add the actionscript streamable generator Charlie Groves 2010-11-30 01:53:02 +00:00
  • 0fc64e3f76 Let's try that again. Sigh. I miss you, Mercurial. Par Winzell 2010-11-30 01:26:59 +00:00
  • 73e63125eb Oops, did not mean to commit those extra bits. Par Winzell 2010-11-30 01:25:58 +00:00
  • 3146ca071e Well, that took a while to track down. Both the permissions check and the validation need to be done on the body, not the client. Par Winzell 2010-11-30 01:23:59 +00:00
  • 9572a8464d Didn't end up injecting these after all. Par Winzell 2010-11-30 01:22:59 +00:00
  • 19a8763518 Leave some backwards compatibility leniency in here, since it appears there's code out there that instantiates SpeakHandlers. Par Winzell 2010-11-29 21:25:40 +00:00
  • b9dfc6902e Stop assuming that the ClientObject we log in with is also the BodyObject we walk around with. This patch removes lots of casts strewn about and replaces them with calls to a new function on BodyLocator, which should be subclassed and overridden by those who wish to venture in these new exciting waters. Par Winzell 2010-11-29 21:10:57 +00:00
  • c4d108b1f7 Bind on all interfaces and allow connections from any host Charlie Groves 2010-11-25 01:35:06 +00:00
  • c0fb9e52c1 Credentials aren't required to create a Client Charlie Groves 2010-11-25 01:32:35 +00:00
  • 4e4dbc3862 Break deserialization out into its own method so that we can override it elsewhere. Andrzej Kapolka 2010-11-25 00:16:36 +00:00
  • 902a4027ea Tweaks to allow serializing config attributes other than DSets. Andrzej Kapolka 2010-11-25 00:03:52 +00:00
  • 8e5865995c * Add a static method to init and run a PresentsServer given guice modules with its configuration. * Rename PrefixServer.Module classes to PrefixModule. They all implement guice's Module, and it's hard to pass a class around as its interface if they share a name. Charlie Groves 2010-11-23 22:19:01 +00:00
  • 3ddc2f670c Add guice source in EXTSRC since it isn't in Maven Charlie Groves 2010-11-23 22:16:11 +00:00
  • 80233b31a1 Include the attribute clear in the compound event. We're getting some weird errors with duplicate receiver entries on reconnect in Spiral Knights, and I'm hoping this will fix them. Andrzej Kapolka 2010-11-23 21:13:41 +00:00
  • c4cb01db9f Fix this template. Nathan Curtis 2010-11-23 19:54:12 +00:00
  • 8f04fe102d We're not restricting things to a set of ports, so don't act like we're going to. Charlie Groves 2010-11-23 02:29:26 +00:00
  • e0ea50b97d We don't need this unchecked bit anymore, since we're using the cast() method. Mike Thomas 2010-11-23 01:18:02 +00:00
  • b26d2268ca We need this cast() method on InvocationListener too since that's getting used that way in genservice. Mike Thomas 2010-11-23 01:02:23 +00:00
  • 11d2800943 Keep our .svn dirs excluded. Mike Thomas 2010-11-23 01:01:44 +00:00
  • 637afda179 Prepare for next snapshot version. Michael Bayne 2010-11-19 00:25:01 +00:00
  • a9e68c5312 A 1.2 release to OOO repo. Michael Bayne 2010-11-19 00:24:11 +00:00
  • 68db945ad5 [maven-release-plugin] prepare for next development iteration Michael Bayne 2010-11-19 00:20:01 +00:00
  • 3fbae6c356 [maven-release-plugin] prepare release narya-1.2 Michael Bayne 2010-11-19 00:19:51 +00:00