Commit Graph

2753 Commits

Author SHA1 Message Date
Michael Bayne ef17c4487e Would you believe, we still missed a fricking newline.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2771 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-08-13 22:46:13 +00:00
Michael Bayne c9f9cfe34d Fix up registered interval reporting.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2770 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-08-13 21:38:37 +00:00
Michael Bayne 72674bbf49 Report the number of intervals registered as well as the number fired in
the reporting interval. Now we can see if we're leaking intervals (which
would be double plus ungood).


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2769 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-08-13 21:05:28 +00:00
Michael Bayne c2299fbbd7 Require that the current scene be specified in the change location request
because odd things frequently happen if a player somehow double clicks or
in some other way queues up a change scene then a change loc from the
previous scene.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2768 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-08-13 00:11:03 +00:00
Michael Bayne 32bfc704d7 Not to freak out while we're not connected.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2767 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-08-12 01:01:09 +00:00
Michael Bayne 8ab26de8b0 Now that we're closing the jarfile after unpacking it, we can't be poking
around in there for other reasons. We also avoid looking up the entry in
the jar file every time it is requested.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2766 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-08-11 20:34:21 +00:00
Michael Bayne cb89eaf73d Reorganized so that we notice bundle unpack failure and report the failure
to our bundle download observer.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2765 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-08-09 05:51:12 +00:00
Michael Bayne 36f738949d Made sourceIsReady() more robust and it now returns whether or not it
successfully unpacked its jar file so that we can report bundle download
borkage and retry in the face of potentially transient fuckolas.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2764 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-08-09 05:42:13 +00:00
Michael Bayne 927881306d Use FileUtil.resuffix().
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2763 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-08-09 05:27:07 +00:00
Michael Bayne c289da2150 They're big, they're partial and we don't need to hear about 'em!
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2762 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-08-09 05:00:01 +00:00
Michael Bayne 206dd46e68 This too can now be related to the land of debug messages.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2761 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-08-09 04:58:25 +00:00
Michael Bayne ff12758dc0 That can be a debug message for surely-sure-opolis.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2760 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-08-09 04:57:41 +00:00
Michael Bayne 3d5ab0c79a The #1 most popular Narya log message gets the can. No need to hear about
this 50,000 times a day.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2759 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-08-09 04:56:35 +00:00
Michael Bayne 8a9c6528de Removed old debugging message.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2758 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-08-09 03:19:05 +00:00
Michael Bayne 1d3e8247e8 Throw a particular exception when we fail to patch bundles.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2757 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-08-09 00:31:27 +00:00
Michael Bayne b9341c9430 Break out and report the patching and unpacking phases.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2756 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-08-09 00:31:14 +00:00
Michael Bayne 748db4d5d7 Failing to locate a class is apparently a RuntimeException even if you do
it through Class.forName().


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2755 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-08-08 23:55:06 +00:00
Michael Bayne bd893f198e Try using .old rather than .jar.old and maybe that will fix the weird
problem with not being able to rename some, but not all, of the old jar
files prior to patching them.

Also, took out the assume v0.22 hack as we should be good to go on that
front by the next release, the stragglers will just have to download a
full update (which is safer anyway).


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2754 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-08-08 23:45:39 +00:00
Michael Bayne 6cf90dcddd Not so fast, we need to jigger this differently.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2753 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-08-08 21:43:05 +00:00
Michael Bayne dbd2422bd4 Added another note about the ills of System.currentTimeMillis().
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2752 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-08-08 21:41:28 +00:00
Michael Bayne 6cccd396e6 Two fixes: use the high-performance timer if it's available and make our
frame tick interval 10ms on Windows because any non-multiple of 10 causes
the big fat fuckola in the form of heinously accelerated clock drift.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2751 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-08-08 21:41:10 +00:00
Michael Bayne a5eaa52a8e In 1.4.2 Sun introduced an interface to the Windows high performance timer
in sun.misc.Perf. If we can use that, we do.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2750 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-08-08 21:40:22 +00:00
Michael Bayne cfe7f19669 Was clearing out the wrong business.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2749 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-08-08 21:39:29 +00:00
Michael Bayne 732c0aab41 Modified clock synchronization approach slightly so that we allow 5
seconds to pass in between ping/pong latency samples. Additionally, we
resync the clock every 10 minutes.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2748 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-08-08 20:20:39 +00:00
Michael Bayne 3034364579 Use a downloader that checks timestamps if we're not doing versioning.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2747 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-08-08 17:45:00 +00:00
Michael Bayne 5f38a9e44e We have to close the borked patch file before attempting to delete it.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2746 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-08-08 03:40:46 +00:00
Ray Greenwell 6c3ad0b329 Also count how many times we find ourselves at the top of a non-empty
queue and end things if it gets out of hand.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2745 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-08-08 03:23:43 +00:00
Ray Greenwell b59b9b5954 New very safe shutdown scheme. An Invoker.Unit runs on both the Invoker
and dobj thread until they're both empty (or it has been passed 50 times)
and then shuts the threads down.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2744 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-08-08 03:11:55 +00:00
Michael Bayne 8ceaea36ed Only report that we're downloading if we actually are.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2742 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-08-05 23:34:01 +00:00
Michael Bayne 00b983ccf7 Break the patching out into a separate phase, clean up the diff and old
jar files when we're done patching.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2741 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-08-05 07:03:34 +00:00
Michael Bayne d773b9d723 Properly handle errors and do the right thing if we have no version
specified (which should fix versionless dynamic downloads).


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2740 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-08-05 06:54:01 +00:00
Michael Bayne 636b792051 The great big resource manager revamp: the resource manager now supports
the JNLP versioned resource protocol so that it can download jardiffs
instead of whole new jar files when a resource bundle is updated.
Unversioned http downloads (which we'll probably continue to use for the
dynamically generated island bundles) are currently not working.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2739 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-08-05 01:33:20 +00:00
Michael Bayne 0e5cb7fa89 We have to support substitutions in here now. Joy.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2738 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-07-31 22:38:25 +00:00
Michael Bayne dc7591a562 This seems happy now, so we'll can the logging.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2737 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-07-29 18:48:11 +00:00
Michael Bayne 6928f9aa96 We need to handle this in the frame manager because all we can do in
SystemMediaTimer is make time stop while we're in the past, whereas in the
FrameManager we can just note that strangeness is afoot and keep on
tickin'.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2736 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-07-29 00:41:40 +00:00
Michael Bayne 28bdcd942d Added a workaround to the time fluctuation WinXP bug.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2735 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-07-29 00:27:32 +00:00
Ray Greenwell 1b9c9dac62 Decreased the maximum number of sound spoolers to 10. What was I smoking
when I set it to 24? Let's try it like this for a spell.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2734 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-07-28 05:32:04 +00:00
Michael Bayne 5dc25a8b09 Print debug messages to STDERR.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2733 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-07-28 04:07:52 +00:00
Michael Bayne 7961683cb0 Added support for dumping a bundle metadata file directly in addition to
extracting it from a bundle.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2732 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-07-28 04:07:30 +00:00
Michael Bayne 42b84f894f Made setActionSequence() more robust.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2731 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-07-28 04:06:38 +00:00
Michael Bayne fbd52c2be3 Tone down cache performance reporting; upped image cache size by a meg.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2730 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-07-28 04:06:14 +00:00
Michael Bayne f252c0f88d Added sanity check.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2729 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-07-27 02:50:53 +00:00
Michael Bayne a35edea96e We need also to clear the receivers when we transfer them from our auth
user object to our chosen pirate user object.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2727 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-07-25 20:51:08 +00:00
Michael Bayne 82b616d724 Oh fucking hell. I left some debugging output in here.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2726 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-07-24 23:51:50 +00:00
Michael Bayne 991b68638e Yarrrrrrrrrrrrrrrrrrrrrrrrrrrgh!
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2725 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-07-24 23:50:32 +00:00
Michael Bayne 0419aebbd5 Could they have possibly changed any other things about the javap output
that would cause this class matching script to fail in unexpected ways?
I'm sure to soon find out.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2724 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-07-24 23:40:16 +00:00
Michael Bayne e43f7c0de8 More god damned fiddling to make this work with 1.4.2's javap output.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2723 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-07-24 23:19:26 +00:00
Michael Bayne aced4d2fe9 More tweaks to deal with 1.4.2 javap output.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2722 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-07-24 22:12:52 +00:00
Michael Bayne 212d051080 Deal with the damned changes they made to javap output.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2721 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-07-24 21:26:40 +00:00
Michael Bayne 76af5d2353 Prevent propagation of lock release events.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2720 542714f4-19e9-0310-aa3c-eee0fc999fb1
2003-07-22 22:54:14 +00:00