Par Winzell
8de38e5bbb
Add a classpath condition so Yohoho builds again. Oopsie.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@5097 542714f4-19e9-0310-aa3c-eee0fc999fb1
2008-05-15 21:48:39 +00:00
Par Winzell
4c46899e23
Really really cluttering the build files up.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@5096 542714f4-19e9-0310-aa3c-eee0fc999fb1
2008-05-15 17:37:03 +00:00
Par Winzell
8b7233c5ca
This hack we do with Environment.as is really cluttering up the build files.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@5095 542714f4-19e9-0310-aa3c-eee0fc999fb1
2008-05-15 17:27:57 +00:00
Par Winzell
5f32756b0a
Use the new asc.jar here too.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@5094 542714f4-19e9-0310-aa3c-eee0fc999fb1
2008-05-15 16:57:22 +00:00
Par Winzell
dbd1d92acc
We've got asc.jar in extlibs now, use it.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@5093 542714f4-19e9-0310-aa3c-eee0fc999fb1
2008-05-15 16:56:05 +00:00
Par Winzell
fea7c2f8f7
Give each client a username so they don't step on one another's feet. We may want to come up with a BureauName or somesuch.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@5092 542714f4-19e9-0310-aa3c-eee0fc999fb1
2008-05-14 01:55:38 +00:00
Andrzej Kapolka
31f1a0af16
Added missing field.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@5091 542714f4-19e9-0310-aa3c-eee0fc999fb1
2008-05-13 23:21:34 +00:00
Andrzej Kapolka
9bafa5e7c8
Basic support for datagram messaging. Hope I haven't fucked
...
anything up!
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@5090 542714f4-19e9-0310-aa3c-eee0fc999fb1
2008-05-13 21:12:39 +00:00
Par Winzell
02654017d0
New Thane library.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@5089 542714f4-19e9-0310-aa3c-eee0fc999fb1
2008-05-13 20:29:38 +00:00
Par Winzell
151a021f65
Configure the AgentObject from the stream.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@5088 542714f4-19e9-0310-aa3c-eee0fc999fb1
2008-05-13 16:39:52 +00:00
Par Winzell
f11ee4b82f
Updated Thane library. High time to Mavenize these.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@5087 542714f4-19e9-0310-aa3c-eee0fc999fb1
2008-05-13 14:10:26 +00:00
Ray Greenwell
8abc76a5fc
Changed preferredWindowOrTab parameter to be a String which is the target window/tab name.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@5086 542714f4-19e9-0310-aa3c-eee0fc999fb1
2008-05-12 23:38:53 +00:00
Ray Greenwell
714ab29a88
Occam's razor. toString()ing an int in hex format is built-in to flash.
...
Didn't touch other stuff.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@5085 542714f4-19e9-0310-aa3c-eee0fc999fb1
2008-05-12 23:33:16 +00:00
Jamie Doornbos
fd49818c3c
quick and dirty script to help evaluate problems with thane client
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@5084 542714f4-19e9-0310-aa3c-eee0fc999fb1
2008-05-12 23:32:14 +00:00
Jamie Doornbos
d63fd40f74
Narya test targets (bureau fixes)
...
* Fixed misspelled "port" parameter
* Added check targets to prevent overwrite of executing file
* Tuned test parameters to try to capture logon failure
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@5083 542714f4-19e9-0310-aa3c-eee0fc999fb1
2008-05-12 23:29:39 +00:00
Jamie Doornbos
2a49924f91
Bureaucracy: consistently log info message for all agent and bureau entry points
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@5082 542714f4-19e9-0310-aa3c-eee0fc999fb1
2008-05-12 23:23:31 +00:00
Charlie Groves
8581947de5
Add a cousin of setUsername, updateUsername, that does the same thing but in the active client object. Like setUsername, its invocation should always be accompanied by the sacrifice of at least three chickens and if you really want it to succeed, one small goat.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@5081 542714f4-19e9-0310-aa3c-eee0fc999fb1
2008-05-12 21:23:16 +00:00
Par Winzell
cbc7d7b007
New thane.abc version, add ObjectMarshaller to the list of compiled-in classes.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@5080 542714f4-19e9-0310-aa3c-eee0fc999fb1
2008-05-11 21:45:24 +00:00
Par Winzell
c4b95d953f
This isn't used, and I'd rather not have to implement it pointlessly in Tamarin.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@5079 542714f4-19e9-0310-aa3c-eee0fc999fb1
2008-05-11 21:44:51 +00:00
Par Winzell
513ad0fe32
Only do cycle checking for actual pointers -- otherwise two of the same integers or strings in sequence trigger it, which is briefly amusing but ultimately quite undesirable.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@5078 542714f4-19e9-0310-aa3c-eee0fc999fb1
2008-05-11 21:44:23 +00:00
Par Winzell
3b5e956f35
Build naryalib.abc with debug information.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@5077 542714f4-19e9-0310-aa3c-eee0fc999fb1
2008-05-11 05:38:09 +00:00
Par Winzell
898c62a449
Two hexdump methods for low-level debugging that have been extremely useful to me this evening.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@5076 542714f4-19e9-0310-aa3c-eee0fc999fb1
2008-05-11 05:37:50 +00:00
Jamie Doornbos
7bbd9baf28
Fixed bug where bureau registry would not destroy pending agents, exposed by curretnly broken thane client
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@5075 542714f4-19e9-0310-aa3c-eee0fc999fb1
2008-05-10 00:58:00 +00:00
Jamie Doornbos
c2a7e52626
Updated the testslib target to use Main compiler, added the actual test client code, implemented the target to run the thane test client, tweaked the tester options to run thane and go nice and slow (one operation every 3 seconds and only one instance)
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@5074 542714f4-19e9-0310-aa3c-eee0fc999fb1
2008-05-10 00:57:22 +00:00
Jamie Doornbos
d502e33c7f
Added new paramter for registry tester to be able to override the ant target used to launch a bureau
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@5073 542714f4-19e9-0310-aa3c-eee0fc999fb1
2008-05-10 00:51:57 +00:00
Par Winzell
6b6a66a669
... and back again, because apparently you can't initialize static members in, you know, static code.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@5072 542714f4-19e9-0310-aa3c-eee0fc999fb1
2008-05-10 00:10:56 +00:00
Par Winzell
2af3ff6dc8
We can still initialize this statically, thanks Ray.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@5071 542714f4-19e9-0310-aa3c-eee0fc999fb1
2008-05-09 23:35:56 +00:00
Par Winzell
a3d1884340
More ugly changes because of Tamarin's immaturity. We're switching to the 'Main' frontend of ASC, which means we have to manually arrange the etc/asc-files.txt lines in the correct dependency order. This compiler also lacks an -outdir options, so we have to do a ridiculous <move> at the end.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@5070 542714f4-19e9-0310-aa3c-eee0fc999fb1
2008-05-09 23:07:33 +00:00
Mike Thomas
c42281ce7a
Patch from Jamie to ensure GenService still finds all the array parameters for importing.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@5069 542714f4-19e9-0310-aa3c-eee0fc999fb1
2008-05-09 23:06:43 +00:00
Par Winzell
8ca4f9ca47
Work around a bug in Tamarin. Sorry for the ugly. Hopefully it's temporary.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@5068 542714f4-19e9-0310-aa3c-eee0fc999fb1
2008-05-09 23:03:39 +00:00
Ray Greenwell
2cb6086434
Look ma, it's the last word in a small Ray-Charlie quibble. :)
...
I just feel like: imagine if there were no Map.containsKey().
You would instead have to get() the value and see if it's not null.
If you did that, you certainly wouldn't throw away the value if you
were going to get it again right below, would you? So why would
you do it simply because of the addition of a convenient method
called containsKey()?
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@5067 542714f4-19e9-0310-aa3c-eee0fc999fb1
2008-05-09 21:46:43 +00:00
Tom Conkling
bf222d2d39
Properly handle StringUtil.parseInt("0", 0)
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@5066 542714f4-19e9-0310-aa3c-eee0fc999fb1
2008-05-09 18:58:42 +00:00
Par Winzell
bf3a5599f2
I removed print(), use trace() instead.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@5065 542714f4-19e9-0310-aa3c-eee0fc999fb1
2008-05-09 15:57:50 +00:00
Par Winzell
993ae240b3
ScriptCompiler croaks and dies on this, let's try Main. I think we're going to end up writing our own frontend for this compiler, these are all so broken. Witness the bizarre need to move the target file at the end here.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@5064 542714f4-19e9-0310-aa3c-eee0fc999fb1
2008-05-09 15:57:05 +00:00
Par Winzell
97a09f82cb
New version of Thane with System.argv support.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@5063 542714f4-19e9-0310-aa3c-eee0fc999fb1
2008-05-09 15:52:43 +00:00
Par Winzell
fc5a2b1b18
Add dependency on the libraries we link against.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@5062 542714f4-19e9-0310-aa3c-eee0fc999fb1
2008-05-09 15:52:20 +00:00
Par Winzell
42246d96b5
Split abc compilation out into its own targets for readability.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@5061 542714f4-19e9-0310-aa3c-eee0fc999fb1
2008-05-09 14:58:24 +00:00
Michael Bayne
5d544fdd55
Use Maps and Lists. Unglommed imports. Having them separated into presents and
...
crowd was intentional (with presents on top because it is more "generic"). We
must resist Eclipse's desire to squish our imports together into one giant,
hard to (visually) parse blob.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@5060 542714f4-19e9-0310-aa3c-eee0fc999fb1
2008-05-09 11:47:38 +00:00
Jamie Doornbos
f9238c8732
Dashes not allowed inside comments
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@5059 542714f4-19e9-0310-aa3c-eee0fc999fb1
2008-05-09 06:58:37 +00:00
Jamie Doornbos
c626095393
First stab at test code to run a thane bureau - not yet runnable
...
* New directory tests/src/as with port of java test client
* New build target "abclib" to create a library of the test classes specified
in etc/asc_files.txt
* New target to compile TestClientMain.as against testslib.abc and another to
run it.
(This proposes the naming convention of *Main.as for "main" thane code and
main-*.abc for the compiled code)
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@5058 542714f4-19e9-0310-aa3c-eee0fc999fb1
2008-05-09 06:40:53 +00:00
Jamie Doornbos
3ccea1c218
Make naryalib.abc rebuild when file list changes
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@5057 542714f4-19e9-0310-aa3c-eee0fc999fb1
2008-05-09 06:28:00 +00:00
Jamie Doornbos
10b282ce65
Added the bureau to the asc build
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@5056 542714f4-19e9-0310-aa3c-eee0fc999fb1
2008-05-09 06:27:19 +00:00
Jamie Doornbos
a841233609
tidied up build.xml with Zells permission, which exposed a problem with the Environment switcheroo, also fixed
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@5055 542714f4-19e9-0310-aa3c-eee0fc999fb1
2008-05-09 00:03:55 +00:00
Jamie Doornbos
bc35598a2e
first pass at converting the bureau client to actionscript. now to find a way to run it...
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@5054 542714f4-19e9-0310-aa3c-eee0fc999fb1
2008-05-08 23:01:46 +00:00
Par Winzell
18d4136e3a
Simplistic support for cyclic references so this method can be used without fear.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@5053 542714f4-19e9-0310-aa3c-eee0fc999fb1
2008-05-08 19:45:39 +00:00
Jamie Doornbos
8eef2df364
Fixed same package removal to not also wipe out subpackages
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@5052 542714f4-19e9-0310-aa3c-eee0fc999fb1
2008-05-08 19:30:55 +00:00
Jamie Doornbos
c112a5c982
Regenerated narya services with new GenServiceTask, actionscript and java
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@5051 542714f4-19e9-0310-aa3c-eee0fc999fb1
2008-05-08 19:17:34 +00:00
Jamie Doornbos
6ee4f8115f
When generating service-related code, remove imports of classes in the same package
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@5050 542714f4-19e9-0310-aa3c-eee0fc999fb1
2008-05-08 19:16:06 +00:00
Jamie Doornbos
147e849cbb
adding missing license header
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@5049 542714f4-19e9-0310-aa3c-eee0fc999fb1
2008-05-08 19:07:30 +00:00
Jamie Doornbos
98bb871e6d
Fixed code generation for existing msoy services
...
* Created concept of a pattern for transforming imports rather than have some
methods assume a suffix is provided and others assume a prefix
* Leave full array types in import set initially so that they can be dealt with
differently by different code exporters
* Added more primitive types and array types for action script marshallers,
including conversion to TypedArray
* Add listener marshaller mungings for action script marshallers' imports
* Added handling for array imports for action script services
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@5048 542714f4-19e9-0310-aa3c-eee0fc999fb1
2008-05-08 19:06:32 +00:00