Commit Graph

113 Commits

Author SHA1 Message Date
Michael Bayne 0d377d8e0b Never mind. Those are committed. And I need to be committed.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4864 542714f4-19e9-0310-aa3c-eee0fc999fb1
2007-11-07 02:02:29 +00:00
Michael Bayne 0cd1be4728 Clean our our native libraries when we run clean.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4863 542714f4-19e9-0310-aa3c-eee0fc999fb1
2007-11-07 01:57:04 +00:00
Michael Bayne 87a1e8968e Target 1.5 when building.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4860 542714f4-19e9-0310-aa3c-eee0fc999fb1
2007-10-30 06:20:06 +00:00
Michael Bayne cd599586be Nixed wacky comment.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4800 542714f4-19e9-0310-aa3c-eee0fc999fb1
2007-08-01 17:24:32 +00:00
Michael Bayne 3f7705dfc2 Split SpeakProvider into SpeakHandler and SpeakUtil. SpeakProvider is now a
proper interface like all the other new invocation service backends.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4795 542714f4-19e9-0310-aa3c-eee0fc999fb1
2007-07-31 21:05:23 +00:00
Jonathan Le Plastrier 01ed8c5ca5 We're going to have our distclean projects not call clean which will complain that dist/ has been wiped out if you call distclean again. Look for these exciting changes in other rings near you.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4792 542714f4-19e9-0310-aa3c-eee0fc999fb1
2007-07-28 01:37:54 +00:00
Michael Bayne 839aaf05dd Nix whole depends business. We can reinstate it if we ever again need it.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4784 542714f4-19e9-0310-aa3c-eee0fc999fb1
2007-07-26 20:17:31 +00:00
Par Winzell 9aaf4de2b5 Depot is always built, now.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4781 542714f4-19e9-0310-aa3c-eee0fc999fb1
2007-07-26 20:00:48 +00:00
Par Winzell 20719ee3f1 OK, so even this little change is going to have to wait for a few days until after the massive Depot restructure. The current version gets fields and columns a little confused from time to time.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4774 542714f4-19e9-0310-aa3c-eee0fc999fb1
2007-07-18 18:54:47 +00:00
Par Winzell 30a8179c5f Let's switch the peristent peer stuff over to a schema-comaptible Depot implementation. I think only Bang uses presents.peer and crowd.peer -- apart from Whirled -- and Bang already uses Depot.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4772 542714f4-19e9-0310-aa3c-eee0fc999fb1
2007-07-18 18:08:11 +00:00
Par Winzell 1ea3195551 Add genrecord task and Depot dependency test.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4755 542714f4-19e9-0310-aa3c-eee0fc999fb1
2007-07-11 23:29:30 +00:00
Jonathan Le Plastrier 5f0ffa11d4 Fix the docs link.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4725 542714f4-19e9-0310-aa3c-eee0fc999fb1
2007-05-30 22:26:24 +00:00
Michael Bayne ef43b9d41a Re-revamp. I may re-re-revamp later to eliminate the reflection based streaming
altogether as that also solves the "Class.getDeclaredFields() is not required
to return fields in declaration order" problem which has been looming. However,
this should work for now.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4701 542714f4-19e9-0310-aa3c-eee0fc999fb1
2007-05-09 00:20:35 +00:00
Michael Bayne ef384f2a95 Streamables show up all over the place in Narya.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4698 542714f4-19e9-0310-aa3c-eee0fc999fb1
2007-05-07 19:57:41 +00:00
Michael Bayne 4c73734afb Well pants, we can't not build the instrumentation code because we want to run
it on Narya itself and there's no way to say "only execute this task if the
supplied condition is met" without bringing in extra bullshit from ant-contrib
which I really don't want to do.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4696 542714f4-19e9-0310-aa3c-eee0fc999fb1
2007-05-07 19:24:35 +00:00
Michael Bayne 8df35549df Only build the instrumenter if we have the necessary dependencies.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4694 542714f4-19e9-0310-aa3c-eee0fc999fb1
2007-05-07 19:19:20 +00:00
Michael Bayne 47273749c8 New plan! We now post-process our class files and add individual public reader
and writer methods for private and protected fields. This will allow us to
preserve the current read and write ordering and in the future when we "fix"
read and write ordering, we won't be fucked by a bunch of generated methods
that force the ordering. (Someone is using Presents on the CLR which turns out
to take advantage of the loose specification of Class.getDeclaredFields() and
not return them in declaration order, yay!).


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4692 542714f4-19e9-0310-aa3c-eee0fc999fb1
2007-05-07 18:59:42 +00:00
Michael Bayne df9f13afa6 Move libs-incl.xml into etc.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4691 542714f4-19e9-0310-aa3c-eee0fc999fb1
2007-05-06 00:34:06 +00:00
Michael Bayne 410d85d49d A task to generate readObject() and writeObject() for Streamable classes (for
use in non-sandboxed environments). Unfortunately we have to do this for all
Streamable classes, not just the ones that have protected/private members
because we need to be able to call super.readObject() and have that exist even
if our superclass contains only public members.

Doing magic streaming with combinations of classes that do and don't have
readObject() would start to get extremely complicated, particularly if the base
class had readObject() an intermediate class had none, then a later class had
one again. Madness. Doing things with compiled methods will be faster anyway...


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4686 542714f4-19e9-0310-aa3c-eee0fc999fb1
2007-05-04 22:04:50 +00:00
Michael Bayne f83e5e3b0d Out vile ant classpath.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4525 542714f4-19e9-0310-aa3c-eee0fc999fb1
2007-02-02 23:44:09 +00:00
Jonathan Le Plastrier 92b90162dc On second thought, we'll take care of calling javadoc first.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4512 542714f4-19e9-0310-aa3c-eee0fc999fb1
2007-01-24 02:44:27 +00:00
Jonathan Le Plastrier 1a67ae4e05 We want our javadocs in the snapshot as well.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4511 542714f4-19e9-0310-aa3c-eee0fc999fb1
2007-01-24 02:27:23 +00:00
Jonathan Le Plastrier 7de0fbc814 Let's build our snapshot into dist/ and not use ../snapshot as our temp directory.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4510 542714f4-19e9-0310-aa3c-eee0fc999fb1
2007-01-24 00:54:40 +00:00
Michael Bayne 72416d28a1 Delete jar files when cleaning.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4486 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-12-15 23:20:52 +00:00
Michael Bayne c1e791d393 New safer library locating process.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4456 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-11-16 22:51:36 +00:00
Michael Bayne 287f7d32a3 New deal, projects with dependencies on libraries that may be built during a
larger build process get them from dist/lib at the top-level.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4455 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-11-16 21:26:44 +00:00
Michael Bayne 35082bbaca New and improved lint removal.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4438 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-10-26 23:00:20 +00:00
Jonathan Le Plastrier a98a15a6d4 This is just an informational message.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4431 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-10-20 22:07:51 +00:00
Michael Bayne bb650a11d2 Revamped the snapshot task to copy the dist/lib/ dependent jars into lib/ for
the snapshot so that it contains all appropriate dependencies regardless of
from where the local build got them.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4427 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-10-13 22:42:34 +00:00
Michael Bayne 0962f1035b Added proper 'snapshot' target.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4426 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-10-13 22:33:56 +00:00
Michael Bayne d558ef79af Determine which libraries to copy from libs-incl.xml.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4424 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-10-13 22:22:48 +00:00
Michael Bayne 1dfd474317 Have Narya declare its library dependencies in an includable build file and do
some kind of annoying fiddling to allow its dependencies to come either from
the build directory of its dependee or from lib/.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4423 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-10-13 22:17:06 +00:00
Michael Bayne 27ab1efe4e We no longer pass a classpath reference to the GenActionScriptTask, it uses the
classpath provided to the <taskdef>.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4406 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-10-04 23:37:18 +00:00
Michael Bayne e99ac5762d Regenerated all of the ActionScript services using the new code generation tool.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4401 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-10-04 20:41:51 +00:00
Michael Bayne 8015764c61 Don't look now kids, but it's automatic generation of ActionScript code from
Java. Of course this is a very limited translation facility that is mainly
focused on auto-generating Streamable ActionScript classes from their Java
originals, and it doesn't actually convert method bodies, just field and method
declarations, initial values, and such.

Most of our Streamable classes don't have much in the way of real methods, and
the autogenerator will stick new methods in when they show up on the Java side
so at least we'll *know* that they need to be implemented. And the main thing:
readObject and writeObject are in fact implemented by the code generator so at
least we won't be plagued by annoying streaming errors when we change something
on the Java side and forget to change the ActionScript side.

Next up, auto-generating InvocationService interfaces and InvocationMarshaller
implementations in ActionScript and ActionScript versions of DObjects.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4394 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-10-04 02:05:15 +00:00
Jonathan Le Plastrier 11e08c165e I think this is better. Only define the weave taskdef in the two targets we need it. This adds some duplicate code, but we turn the onerror fail back on, so if the library is not found then ant will throw an error and exit. But it will only do this if you try to run the targets which need this taskdef.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4380 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-09-26 22:52:58 +00:00
Jonathan Le Plastrier cade4b6435 Narya now builds using from dist/lib. Also, the weave taskdef reports a warning if it cannot find the retroweaver jars, instead of preventing ant from running. These changes will need to happen on the other rings as well.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4379 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-09-26 20:23:05 +00:00
Michael Bayne bdadd2377e Behold, TAPOAFTSM! The Awesome Power Of A Fully Type-Safe Mothership.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4246 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-07-05 00:56:16 +00:00
Michael Bayne 6424adf26d More log fixing. The tools package will move to Nenya.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4215 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-06-23 19:40:55 +00:00
Michael Bayne 0638ba824d We don't need the rsrc directory in Narya. It's resource free!
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4211 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-06-23 19:06:37 +00:00
Michael Bayne c0a244cb8d Hold onto your hats kids, it's the biggest little refactor this side of the
Pecos. I'll sort out the per-project niggling bits in just a moment.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4209 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-06-23 18:12:45 +00:00
Andrzej Kapolka e732fe48aa Added support for streaming Ogg files. Cross-fading still to come.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4107 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-05-10 19:47:40 +00:00
Andrzej Kapolka 39ca0f4ed9 Further progress on model revamp. Now loading and viewing static
models.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4017 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-04-13 20:47:06 +00:00
Michael Bayne fdc77887f5 Use the Retroweaver verifier to ensure we're not calling unweavable 1.5 library
methods.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4009 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-04-10 21:58:03 +00:00
Michael Bayne 5a2583470c Brought code in line with changes to Samskivert. I have not started to
genericize Narya data structures, nor make the existing code type safe. That's
going to be an extremely large project.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4007 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-04-10 08:59:30 +00:00
Michael Bayne 02b59f33c9 Target 1.5 and added Retroweaver directive.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4006 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-04-10 02:44:33 +00:00
Michael Bayne 58bf16e804 Exclude test class files.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3995 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-04-04 02:51:42 +00:00
Michael Bayne 17fdaa7c0d Rewrote the InvocationReceiver generation process in Java as an Ant task. I had
previously redone the InvocationService and DObject generation tools but not
the InvocationReceiver tool.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3913 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-03-06 21:50:23 +00:00
Michael Bayne a4fff6494f Define the schema in code, fixed up some bugs.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3871 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-02-20 22:41:59 +00:00
Michael Bayne 9d9bebd092 Created a database backed implementation of the runtime config services.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3870 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-02-20 21:59:54 +00:00