Commit Graph

6217 Commits

Author SHA1 Message Date
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
Charlie Groves 1f010f0a4e Add a C++ client for presents.
It provides code generators for streamables, services and receivers, but not DObject.  It uses
Apple's CFNetwork for its sockets and builds with XCode, so it's limited to OS X and iOS. It should
be straightforward to replace both to make it cross-platform.



git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@6264 542714f4-19e9-0310-aa3c-eee0fc999fb1
2010-11-13 21:58:45 +00:00
Michael Bayne f0970bc5bc [maven-release-plugin] prepare for next development iteration
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@6263 542714f4-19e9-0310-aa3c-eee0fc999fb1
2010-11-08 19:32:01 +00:00
Michael Bayne 2f98439fbc [maven-release-plugin] prepare release narya-1.1
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@6261 542714f4-19e9-0310-aa3c-eee0fc999fb1
2010-11-08 19:31:52 +00:00
Michael Bayne 821f3549b2 Pants, these should be 1.5.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@6260 542714f4-19e9-0310-aa3c-eee0fc999fb1
2010-11-08 19:29:08 +00:00
Tom Conkling 27188edf68 Fix eclipse project
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@6259 542714f4-19e9-0310-aa3c-eee0fc999fb1
2010-11-08 19:14:49 +00:00
Michael Bayne 2714587a3a [maven-release-plugin] prepare for next development iteration
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@6258 542714f4-19e9-0310-aa3c-eee0fc999fb1
2010-11-08 17:48:07 +00:00
Michael Bayne 66e590adc0 [maven-release-plugin] prepare release narya-1.0
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@6256 542714f4-19e9-0310-aa3c-eee0fc999fb1
2010-11-08 17:47:57 +00:00
Michael Bayne 1fa94658e4 Line wrappy.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@6255 542714f4-19e9-0310-aa3c-eee0fc999fb1
2010-11-08 17:46:56 +00:00
Michael Bayne 3b6fd298d9 Correct SVN URL.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@6254 542714f4-19e9-0310-aa3c-eee0fc999fb1
2010-11-08 17:46:38 +00:00
Michael Bayne 978da38930 Undo release prep. The SVN URL was incorrect.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@6253 542714f4-19e9-0310-aa3c-eee0fc999fb1
2010-11-08 17:46:08 +00:00
Michael Bayne 4d4babbb8e [maven-release-plugin] prepare release narya-1.0
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@6252 542714f4-19e9-0310-aa3c-eee0fc999fb1
2010-11-08 17:43:33 +00:00
Michael Bayne 7df0de5389 Keep our resources in src/main/resources per the standard project layout.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@6251 542714f4-19e9-0310-aa3c-eee0fc999fb1
2010-11-08 17:31:33 +00:00
Charlie Groves 07706ec61e handleAcceptedSocket can't be called by code outside of ConnectionManager as it
touches the _handlers Map which should only be modified on the
ConnectionManager thread.  Add transferAcceptedSocket for outside socket
acceptors to call.  It sticks new sockets into a queue, which are then passed
to handleAcceptedSocket as part of ConnectionManager's iterate.



git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@6250 542714f4-19e9-0310-aa3c-eee0fc999fb1
2010-11-05 23:07:19 +00:00
Andrzej Kapolka 07b6a3a102 We should probably reset the dropped count each time the connection is
cleared.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@6249 542714f4-19e9-0310-aa3c-eee0fc999fb1
2010-11-05 03:08:12 +00:00
Andrzej Kapolka a9fdaee8d5 Addressing a longstanding issue with the chat command aliases/translations.
The help message for /help <command> was using the translated/aliased string,
which meant that you had to have a usage translation for each command alias.
This became unmaintainable in Project X, where we had artists adding emotes
with lots of aliases, and I'm guessing it was booched in the Y!PP translations,
since they seem to lack translations for things like m.usage_escuchar.  Let's
instead use a usage message based on the untranslated command, then compose
the actual command used into that (for aliases).  This should be mostly
backwards-compatible, but I will be updating Yohoho and Bang in addition to
Project X: this involves replacing the command name in the usage translations
with {0} and returning getUsage(command) instead of "m.usage_blabla".


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@6248 542714f4-19e9-0310-aa3c-eee0fc999fb1
2010-10-30 00:52:53 +00:00
Charlie Groves 2d79055f11 Remove dependencies picked up from other projects, export our own stuff
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@6247 542714f4-19e9-0310-aa3c-eee0fc999fb1
2010-10-28 20:09:47 +00:00
Mike Thomas 3697b289b6 Since samskivert no longer exports jars, we need to add some includes in various other projects' configs.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@6246 542714f4-19e9-0310-aa3c-eee0fc999fb1
2010-10-28 17:51:06 +00:00
Mike Thomas 1a71ec58f7 Let's update this to match the pom Ray changed - r07 for guava.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@6245 542714f4-19e9-0310-aa3c-eee0fc999fb1
2010-10-27 23:51:52 +00:00
Charlie Groves 7fd5aee306 Missing @Overrides
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@6244 542714f4-19e9-0310-aa3c-eee0fc999fb1
2010-10-27 23:44:31 +00:00
Ray Greenwell e00884ac54 Use the latest/greatest guava. For now.
This doesn't feel like a step forward.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@6243 542714f4-19e9-0310-aa3c-eee0fc999fb1
2010-10-27 20:03:46 +00:00
Mike Thomas ff817dbca9 Make the AsString editor notice that things are the same when their string values match. Otherwise when we have a comma-separated array, when we lose focus, even if things match, we believe we don't match because an array's equals just compares pointers.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@6242 542714f4-19e9-0310-aa3c-eee0fc999fb1
2010-10-26 20:10:02 +00:00
Dave Hoover 0bb3713fe8 We're already using T for other things.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@6241 542714f4-19e9-0310-aa3c-eee0fc999fb1
2010-10-25 23:10:08 +00:00
Dave Hoover 4f5f00e3ca Don't need that in there.
Looks like eclipse merrily reformatted various lines in my last commit
and added this. Yay.

git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@6240 542714f4-19e9-0310-aa3c-eee0fc999fb1
2010-10-25 23:10:07 +00:00
Mike Thomas 162bf3e300 Realisitically, anyone who depends on narya is going to need samskivert and depot and guice and guava. And even if they don't need those things, not exporting them here doesn't make those projects any less standalone...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@6239 542714f4-19e9-0310-aa3c-eee0fc999fb1
2010-10-25 20:40:42 +00:00