Charlie Groves
5a3694aa6f
Separate GenActionScriptStreamableTask from GenActionScriptTask and add dobject support to GenActionScriptStreamableTask
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@6315 542714f4-19e9-0310-aa3c-eee0fc999fb1
2010-11-30 02:39:12 +00:00
Charlie Groves
220b7a28b5
Add the actionscript streamable generator
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@6314 542714f4-19e9-0310-aa3c-eee0fc999fb1
2010-11-30 01:53:02 +00:00
Par Winzell
0fc64e3f76
Let's try that again. Sigh. I miss you, Mercurial.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@6313 542714f4-19e9-0310-aa3c-eee0fc999fb1
2010-11-30 01:26:59 +00:00
Par Winzell
73e63125eb
Oops, did not mean to commit those extra bits.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@6312 542714f4-19e9-0310-aa3c-eee0fc999fb1
2010-11-30 01:25:58 +00:00
Par Winzell
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.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@6311 542714f4-19e9-0310-aa3c-eee0fc999fb1
2010-11-30 01:23:59 +00:00
Par Winzell
9572a8464d
Didn't end up injecting these after all.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@6310 542714f4-19e9-0310-aa3c-eee0fc999fb1
2010-11-30 01:22:59 +00:00
Par Winzell
19a8763518
Leave some backwards compatibility leniency in here, since it appears there's code out there that instantiates SpeakHandlers.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@6309 542714f4-19e9-0310-aa3c-eee0fc999fb1
2010-11-29 21:25:40 +00:00
Par Winzell
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.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@6308 542714f4-19e9-0310-aa3c-eee0fc999fb1
2010-11-29 21:10:57 +00:00
Charlie Groves
c4d108b1f7
Bind on all interfaces and allow connections from any host
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@6307 542714f4-19e9-0310-aa3c-eee0fc999fb1
2010-11-25 01:35:06 +00:00
Charlie Groves
c0fb9e52c1
Credentials aren't required to create a Client
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@6306 542714f4-19e9-0310-aa3c-eee0fc999fb1
2010-11-25 01:32:35 +00:00
Andrzej Kapolka
4e4dbc3862
Break deserialization out into its own method so that we can override it
...
elsewhere.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@6305 542714f4-19e9-0310-aa3c-eee0fc999fb1
2010-11-25 00:16:36 +00:00
Andrzej Kapolka
902a4027ea
Tweaks to allow serializing config attributes other than DSets.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@6304 542714f4-19e9-0310-aa3c-eee0fc999fb1
2010-11-25 00:03:52 +00:00
Charlie Groves
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.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@6303 542714f4-19e9-0310-aa3c-eee0fc999fb1
2010-11-23 22:19:01 +00:00
Charlie Groves
3ddc2f670c
Add guice source in EXTSRC since it isn't in Maven
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@6302 542714f4-19e9-0310-aa3c-eee0fc999fb1
2010-11-23 22:16:11 +00:00
Andrzej Kapolka
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.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@6301 542714f4-19e9-0310-aa3c-eee0fc999fb1
2010-11-23 21:13:41 +00:00
Nathan Curtis
c4cb01db9f
Fix this template.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@6300 542714f4-19e9-0310-aa3c-eee0fc999fb1
2010-11-23 19:54:12 +00:00
Charlie Groves
8f04fe102d
We're not restricting things to a set of ports, so don't act like we're going to.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@6299 542714f4-19e9-0310-aa3c-eee0fc999fb1
2010-11-23 02:29:26 +00:00
Mike Thomas
e0ea50b97d
We don't need this unchecked bit anymore, since we're using the cast() method.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@6298 542714f4-19e9-0310-aa3c-eee0fc999fb1
2010-11-23 01:18:02 +00:00
Mike Thomas
b26d2268ca
We need this cast() method on InvocationListener too since that's getting used that way in genservice.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@6297 542714f4-19e9-0310-aa3c-eee0fc999fb1
2010-11-23 01:02:23 +00:00
Mike Thomas
11d2800943
Keep our .svn dirs excluded.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@6296 542714f4-19e9-0310-aa3c-eee0fc999fb1
2010-11-23 01:01:44 +00:00
Michael Bayne
637afda179
Prepare for next snapshot version.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@6295 542714f4-19e9-0310-aa3c-eee0fc999fb1
2010-11-19 00:25:01 +00:00
Michael Bayne
a9e68c5312
A 1.2 release to OOO repo.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@6294 542714f4-19e9-0310-aa3c-eee0fc999fb1
2010-11-19 00:24:11 +00:00
Michael Bayne
68db945ad5
[maven-release-plugin] prepare for next development iteration
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@6293 542714f4-19e9-0310-aa3c-eee0fc999fb1
2010-11-19 00:20:01 +00:00
Michael Bayne
3fbae6c356
[maven-release-plugin] prepare release narya-1.2
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@6291 542714f4-19e9-0310-aa3c-eee0fc999fb1
2010-11-19 00:19:51 +00:00
Michael Bayne
a82afca65e
Now that third parties can actually build our ActionScript code, let's let them know how to do it.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@6290 542714f4-19e9-0310-aa3c-eee0fc999fb1
2010-11-18 21:17:48 +00:00
Michael Bayne
34722f2ce9
Obtain our ActionScript dependencies from Maven as well, and publish our swc
...
artifacts thereto.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@6289 542714f4-19e9-0310-aa3c-eee0fc999fb1
2010-11-18 20:50:09 +00:00
Par Winzell
0a04df1ce0
Let's standardize on M2_REPO actually.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@6288 542714f4-19e9-0310-aa3c-eee0fc999fb1
2010-11-18 18:21:22 +00:00
Par Winzell
cd1cabbcff
Adapt to new paths, use MAVEN_REPOSITORY jars when suitable, introduce FLEX_DIR path variable, cope with IDEA's failure to handle modules exporting other modules during Flex compilation.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@6287 542714f4-19e9-0310-aa3c-eee0fc999fb1
2010-11-18 18:06:09 +00:00
Michael Bayne
52a9f38d98
Preparing for our snapshot build. Other build.xml tidying.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@6286 542714f4-19e9-0310-aa3c-eee0fc999fb1
2010-11-18 05:39:44 +00:00
Michael Bayne
0a522606c9
Since TestClient is used outside of Narya, it gets to live in with the rest of
...
the real source code. That's where reusable classes live. Amazing!
Also cleaned up some build.xml bits and nixed the Retroweaver stuff. I thought
we might have still been using that, but then I saw the hardcoded path to
/usr/local/jdk1.4 and knew that it couldn't be so.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@6285 542714f4-19e9-0310-aa3c-eee0fc999fb1
2010-11-18 05:34:49 +00:00
Charlie Groves
6cb678a2fc
Need the files in the group tree for XCode to find them. Odd.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@6284 542714f4-19e9-0310-aa3c-eee0fc999fb1
2010-11-17 08:16:46 +00:00
Charlie Groves
660acee864
Uhh, yeah, that needed the build and client changes as well
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@6283 542714f4-19e9-0310-aa3c-eee0fc999fb1
2010-11-17 03:06:39 +00:00
Charlie Groves
973ec8faf8
Generate EntryEvent to get things building again. Add EntryUpdatedEvent for completeness.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@6282 542714f4-19e9-0310-aa3c-eee0fc999fb1
2010-11-17 02:55:10 +00:00
Michael Bayne
e7ffb611cb
This changes things to match Ray's Java event hierarchy change. I don't know
...
whether it's desirable, or breaks things, or what.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@6281 542714f4-19e9-0310-aa3c-eee0fc999fb1
2010-11-17 01:09:21 +00:00
Michael Bayne
3ef676f02f
procstream is run in the normal course of a build, but none of the other gen
...
tasks are, so let's split out the generation of C++ streamable classes into a
genstream class rather than letting it run on the build server which causes
breakage like just now when Ray changed something that caused differently
generated C++ streamable classes to be generated on build1.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@6280 542714f4-19e9-0310-aa3c-eee0fc999fb1
2010-11-17 01:08:45 +00:00
Michael Bayne
026aa9e166
I'm not sure the asdoc build has worked in recent years, but this gets it
...
closer to working. Firstly, we need to not skip the asdoc build if the aslib
build happens to have generated an up to date .swc. Second, asdoc needs to know
about our library dependencies. Third, we need not to tell it to look for
sources in the non-existent src/player directory.
It's still failing, claiming:
[java]src/as/com/threerings/presents/util/SafeObjectManager.as(30):
col: 37 Error: Definition com.threerings.presents.dobj:SubscriberAdapter
could not be found.
[java]
[java] import com.threerings.presents.dobj.SubscriberAdapter;
which is nonsensical. If it can find SafeObjectManager to try to generate
documentation for it, then it can damned well find SubscriberAdapter which is
also part of this project. SubscriberAdapter depends on no other classes
itself, so it can't be a problem with a dependency of SubscriberAdapter.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@6279 542714f4-19e9-0310-aa3c-eee0fc999fb1
2010-11-17 00:56:09 +00:00
Ray Greenwell
a9416fd235
Created a new abstract parent class for Entry*Event: EntryEvent.
...
The big win is that getKey() now exists on each of those event types.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@6278 542714f4-19e9-0310-aa3c-eee0fc999fb1
2010-11-17 00:00:49 +00:00
Michael Bayne
8e76ec57ca
This might come in the form of a Maven dependency, so allow for that.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@6277 542714f4-19e9-0310-aa3c-eee0fc999fb1
2010-11-16 23:09:45 +00:00
Michael Bayne
b6787edf36
No longer used.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@6276 542714f4-19e9-0310-aa3c-eee0fc999fb1
2010-11-16 23:05:04 +00:00
Charlie Groves
890cc0bdc1
Forgot to commit the RegistrationService implementation on Saturday
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@6275 542714f4-19e9-0310-aa3c-eee0fc999fb1
2010-11-16 22:53:45 +00:00
Charlie Groves
147b94b5de
Regenerate eclipse business with mvn eclipse:eclipse -DdownloadSources=true -DdownloadJavadocs=true
...
and then clean out the crap that we don't care about. This downloads all the available source and
javadocs to the maven repository, so if you run that command in your copy of narya, you'll be able
to navigate into library sources in your Eclipse as well.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@6274 542714f4-19e9-0310-aa3c-eee0fc999fb1
2010-11-16 21:32:53 +00:00
Charlie Groves
bb445f3f95
Reexclude internal from guice to keep us importing the righteous guava classes. I assume this was lost in some pom-related skullduggery.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@6273 542714f4-19e9-0310-aa3c-eee0fc999fb1
2010-11-16 21:28:40 +00:00
Mike Thomas
9153960fce
This was excitingly ASCII-centric. If a filter was specified on "foo*" it would match "foobar" but not "foobär" or "foob0r" - now it should match all of those.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@6272 542714f4-19e9-0310-aa3c-eee0fc999fb1
2010-11-16 18:12:03 +00:00
Charlie Groves
08c1051809
Java 1.5, bane of my existence
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@6271 542714f4-19e9-0310-aa3c-eee0fc999fb1
2010-11-16 04:06:06 +00:00
Charlie Groves
544d41d24d
Make ConnectionManager a general-purpose select server and implement a flash Policy server with it.
...
The presents-specific portions of ConnectionManager like reading Message subclasses and sending
datagrams are now in PresentsConnectionManager. PresentsServer should behave identically, except
during shutdown. Before, connections would be accepted and datagrams would be read until the OMgr
thread exited. Now, both stop as soon as the server begins its shutdown. This seems like an
improvement to me, but let me know if it causes issues and I can rework it.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@6270 542714f4-19e9-0310-aa3c-eee0fc999fb1
2010-11-16 03:33:45 +00:00
Charlie Groves
ecb5f96567
Sort the includes for cross-JVM generation consistency
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@6269 542714f4-19e9-0310-aa3c-eee0fc999fb1
2010-11-15 20:52:23 +00:00
Charlie Groves
1cb16d4173
Add RegistrationService to allow cpp clients to register receivers even though they're not using DObject
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@6268 542714f4-19e9-0310-aa3c-eee0fc999fb1
2010-11-14 01:01:23 +00:00
Charlie Groves
965f2893b8
Use the proper iOS detection define
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@6267 542714f4-19e9-0310-aa3c-eee0fc999fb1
2010-11-14 00:30:43 +00:00
Charlie Groves
af5db7adb1
Set the symbol visibility to match other libraries to keep the linker from complaining about it
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@6266 542714f4-19e9-0310-aa3c-eee0fc999fb1
2010-11-14 00:29:59 +00:00
Charlie Groves
4e8fdf66f4
Whoops, 1.6ism
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@6265 542714f4-19e9-0310-aa3c-eee0fc999fb1
2010-11-13 22:36:55 +00:00