Commit Graph

  • 78c7b49f9b Created a base Controller class; added a CommandButton that submits controller commands; have PlaceController extend Controller. Ray Greenwell 2006-07-18 22:30:05 +00:00
  • bbdcb53039 Fix problem where users are unable to connect to certain servers due to their preferred port getting locked into 443, which we aren't actually listening on. We need to set up the preference interval (but not start it) before we try to open the connection. Otherwise, we won't have it around if we get a shutdown call during that opening (which can and does happen). Mike Thomas 2006-07-18 05:24:22 +00:00
  • 0387014af8 Added a sort() method that operates on arrays of Comparable elements. Ray Greenwell 2006-07-18 02:22:24 +00:00
  • 786a8ab947 Bugfix with toArray(). Ray Greenwell 2006-07-18 02:21:55 +00:00
  • f118e213d2 Was logging warnings for any message bundle that didn't use a custom class. Fixed. Ray Greenwell 2006-07-18 02:21:25 +00:00
  • ce3d3474f9 implement Comparable. Ray Greenwell 2006-07-18 02:20:40 +00:00
  • 8ede77fcb2 Made toStringBuf() protected so that subclasses in other packages may override it. Ray Greenwell 2006-07-18 02:20:22 +00:00
  • 5def25058a Avoid sticking a fork in things if we are asked to remove a null key. Michael Bayne 2006-07-18 01:08:31 +00:00
  • 7ad341ef8d Removed debug logging. Ray Greenwell 2006-07-14 02:15:48 +00:00
  • a9d0c5d285 Let's make these work correctly... Ray Greenwell 2006-07-14 02:11:06 +00:00
  • 947db5851d Renamed the InvocationListeners to the standard way I've been naming inner classes over here on the actionscript side. Ray Greenwell 2006-07-13 19:08:18 +00:00
  • fc91faf25f Standardized what we do in cases where a CloneNotSupportedException occurs where we don't think it ever will. Instead of returning null, or the exception, always throw a runtime with just the CloneNotSupportedException as the argument, as this will contain the most information and will preserve the stack trace. Ray Greenwell 2006-07-13 18:07:27 +00:00
  • ca06b47835 Report as useful a message as we can when we have an error. I was getting an IllegalArgumentException and the message was "null", so this will at least log the name of the exception. Ray Greenwell 2006-07-12 23:57:14 +00:00
  • 1818bd14dd Found one of the bugs: the default ArrayStreamer was being picked to stream TypedArrays. Ray Greenwell 2006-07-12 23:51:01 +00:00
  • 3c91f3bad2 Need JUnit. Michael Bayne 2006-07-12 17:48:01 +00:00
  • 7cc7f75bcc No longer need these dependency checks. Michael Bayne 2006-07-12 17:43:57 +00:00
  • 4ee125983d Updated our library dependencies. Michael Bayne 2006-07-12 17:42:53 +00:00
  • 2f3584adf7 Various small fixes. Ray Greenwell 2006-07-12 02:22:18 +00:00
  • 78cefe9a8f Added the values() function to the Map interface, as well as a new method, forEach(), in which you pass a visitor function that will visit each key/value stored in the map. Ray Greenwell 2006-07-11 18:22:29 +00:00
  • 489332edca Nixed old temporary code. Michael Bayne 2006-07-07 20:43:57 +00:00
  • 4894d1cfde Annoyingly, ClientObserver.clientDidLogoff() is called before the client's inner bits are all clear and ready to try logging on to a new server. We specifically wait to call clientLogonFailed() until after everything is cleared, but I don't want to change the behavior of clientDidLogoff() for fear that any one of the zillion directors depends on something being around during that call. Michael Bayne 2006-07-07 04:02:42 +00:00
  • c0628363cb Updates to support a public facing and back-channel host for each node. Michael Bayne 2006-07-06 23:52:55 +00:00
  • 8df1c91699 Changed the weird-ass argument ordering for the UserMessage constructors. I'd like to change the ordering for ChatMessage and its other derivations (the bundle should precede the message) but that's more dangerous as the constructor signature would not change. Michael Bayne 2006-07-06 00:35:11 +00:00
  • a3c86ec1d4 Make it easy to create a UserMessage for tells. Michael Bayne 2006-07-06 00:27:44 +00:00
  • 05cef39f63 Revamped chat handling a bit: - the ChatProvider is now a proper singleton rather than providing static methods for everything (it is accessed through CrowdServer.chatprov) - it can now be extended to create a custom UserMessage for tells (which can contain avatar information on systems that want to show an avatar on the receipt of a tell) - the ChatProvider API was tidied up a bit as some methods had been addded over time that were not sufficiently general purpose so their callers will be changed to use the general purpose APIs. Michael Bayne 2006-07-06 00:22:12 +00:00
  • ef86404ed8 Ignore peer clients, and scan through the client info set when removing because we can't rely on building a new client info at session end time because the client's ClientObject will have been destroyed. Michael Bayne 2006-07-05 23:27:25 +00:00
  • 6be44f5a65 Finished up the basic peer system and wired up the tell forwarding. In theory it all works, now to test it. Michael Bayne 2006-07-05 22:48:32 +00:00
  • e492f09bee Now that we use the standard resolution observer mechanism, we need to decrement the reference count of the client object as it is normally incremented for every resolution listener. Michael Bayne 2006-07-05 22:29:38 +00:00
  • 77290fc1a6 Fixed type-unsafety and deprecation bits. Michael Bayne 2006-07-05 18:59:31 +00:00
  • bdadd2377e Behold, TAPOAFTSM! The Awesome Power Of A Fully Type-Safe Mothership. Michael Bayne 2006-07-05 00:56:16 +00:00
  • 8afd0316ec I decided to go hog wild and clean up all the type use in Presents which required some serious bending and folding of the generic type system, but for the most part we managed to avoid any mutilating. The gendobj task now generates properly typed "addToXXX" and "updateXXX" DSet methods based on the parameterized type of the DSet. This might cause unrecompiled code to break, but I don't think there are many cases in the base toolkit where people call DSet adders or updaters. We'll see and I'll add backwards compatibility versions for cases where we need them to support GG games (everything else we can just recompile). Michael Bayne 2006-07-05 00:55:05 +00:00
  • 94b79826d4 More type safety. Michael Bayne 2006-07-05 00:51:22 +00:00
  • a89473d1b5 Type safety patrol. Michael Bayne 2006-07-05 00:50:28 +00:00
  • 40d0df6dfa Properly quell the unchecked warning. I'm not entirely sure whether there is a construct that could be made to do what I want in a type safe manner. The method returns Class<? extends NodeObject> which is correctly expresses the valid types that can be returned. Michael Bayne 2006-07-04 02:20:10 +00:00
  • 3a9c6ced44 A bunch more peer business. Michael Bayne 2006-07-01 03:34:00 +00:00
  • 0bceb75365 Move these up with their accessor friends. Michael Bayne 2006-07-01 03:30:05 +00:00
  • 7d54db4a95 Cleaned things up, fixed a years old bug. Now we will not get hosed if client resolution fails for whatever reason and we will properly track our pending resolutions (not leaving them dangling if resolution failed) and do so more elegantly (by simply acting as a ClientResolutionObserver ourselves). Michael Bayne 2006-07-01 03:29:19 +00:00
  • 33a758dfce The basis of cluster support for Presents servers. All servers in a cluster make connections to other servers in the cluster and can exchange events (in a limited fashion). Michael Bayne 2006-07-01 00:19:59 +00:00
  • 06680b789f Type safety. Michael Bayne 2006-06-30 21:58:34 +00:00
  • e7cb973b94 Missed a spot. Michael Bayne 2006-06-30 18:29:32 +00:00
  • b417d3cb0b Java uses SIGUSR1 for interrupting threads when it wants to send them an asynchronous exception, so we can't use it or badness will ensue. Michael Bayne 2006-06-30 18:26:58 +00:00
  • a3b1cf931e Nixed obsolete files. Michael Bayne 2006-06-29 21:15:54 +00:00
  • 608be4557b Some changes required for the new compiler. - Import bleeding may be fixed, as I had to import a bunch of things I should have had to earlier. - NOW they make duplicate variable definitions bad (but without block scoping... yay). - Another hoopjump. Ray Greenwell 2006-06-28 22:04:19 +00:00
  • 0a5953bf17 Chipping away at proper type safety for all of the Narya code. Michael Bayne 2006-06-27 17:46:36 +00:00
  • 54db9d7d4e Changed over to the new logging style. The static methods remain to support old code but new code should use the new logging style: Michael Bayne 2006-06-27 17:46:06 +00:00
  • 01e9b0457d Checking in some work I did on getting listening on port 443 working by inheriting a socket channel inetd style. It doesn't actually work for annoying reasons, but I figured I'd get the code in there and the type safety fixes and maybe Sun will fix their stupid bug at some point (I should create a test case and actually submit a bug report...). Michael Bayne 2006-06-27 17:33:06 +00:00
  • 755d9326fe Pardon the code rewritery but I got halfway through an email explaining the synchronization problems and decided it would be a lot easier to just fix them. The interval thread and the communication writer thread need to be properly coordinated to avoid funny business. Michael Bayne 2006-06-27 06:59:30 +00:00
  • 80bbff432d The standard CursorManager is a total piece of shit. Using the source code, I made one that takes the same idea and doesn't suck. Errr, it doesn't suck as much. It's still very shitty to go from the fast system cursor to a chunky custom cursor that updates position at the framerate of the swf. Ray Greenwell 2006-06-27 02:08:52 +00:00
  • d492a4b154 Be smarter about quick-disconnects, don't count them as preferred ports. If we have a disconnect within 5 seconds, we set the _next_ port in the list as our preferred port. This should address the windows network sharing issue. Mike Thomas 2006-06-27 01:52:06 +00:00
  • f27eb3f319 Added endsWith(). Ray Greenwell 2006-06-26 22:20:26 +00:00
  • a63af7933e Make it possible to generate a non-resetting report externally. Michael Bayne 2006-06-25 23:31:21 +00:00
  • b88b142bd3 Added mostRecent() as that's the one we want to display rather than current which is currently accumulating on the server and always zero on the client. Michael Bayne 2006-06-25 23:23:23 +00:00
  • 55b7933c5c Get a free toString(). Michael Bayne 2006-06-25 23:16:14 +00:00
  • e21451354c More migrated resource nixing. Michael Bayne 2006-06-25 23:14:57 +00:00
  • 04ab1b0b58 Nixed various resources that have been migrated to Nenya or Vilya. Michael Bayne 2006-06-25 23:14:32 +00:00
  • d40435b221 Accept and honor the reset parameter. Michael Bayne 2006-06-25 23:09:19 +00:00
  • 012549d177 Differentiate between interactive reports and periodically generated reports. Only reset our accumulating counters for the periodic reports. Michael Bayne 2006-06-25 23:03:51 +00:00
  • 091fda3e77 Revamped stats tracking so that it all happens on the same reporting interval. Turned off the very verbose unit profiles as we don't currently use them. Wired up SIGUSR1 to dump a report to the log. Michael Bayne 2006-06-25 22:47:42 +00:00
  • 459f12ded5 Copy Java's valueOf factory method for primitive wrapper classes. Ray Greenwell 2006-06-24 23:03:07 +00:00
  • 2382fb5cd6 This was moved into Nenya. Michael Bayne 2006-06-23 21:51:02 +00:00
  • 6424adf26d More log fixing. The tools package will move to Nenya. Michael Bayne 2006-06-23 19:40:55 +00:00
  • ecac8e0f6d Move to our new Java logging based logging style which also fixes a conflict between logging in the Narya util package and the Nenya util package. Michael Bayne 2006-06-23 19:32:51 +00:00
  • f6f3c89fe0 Moved to vilya. Ray Greenwell 2006-06-23 19:20:52 +00:00
  • 9136cd4bce appendectomy Ray Greenwell 2006-06-23 19:14:38 +00:00
  • 0638ba824d We don't need the rsrc directory in Narya. It's resource free! Michael Bayne 2006-06-23 19:06:37 +00:00
  • c01703dc3f Whirled lives in Vilya. Michael Bayne 2006-06-23 18:35:30 +00:00
  • 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. Michael Bayne 2006-06-23 18:12:45 +00:00
  • 5ceed9c8b2 Nix the use of enum which is freaking out Proguard/Retroweaver. We'll sort it out later when we're not in the middle of an Ice release. Michael Bayne 2006-06-21 19:43:50 +00:00
  • 2f3ecdf86d Some backwards compatibility bits. Michael Bayne 2006-06-21 08:40:20 +00:00
  • 0d887c9ede Cope with a lack of a KeyboardManager, base our idle check time on our minimum idle time. Michael Bayne 2006-06-21 08:14:45 +00:00
  • 85d60b6520 Factored out the idle tracking code from Yohoho. Michael Bayne 2006-06-21 07:23:23 +00:00
  • aa5f38be5d Changed the way the Authenticator is created. Ray Greenwell 2006-06-21 03:47:32 +00:00
  • 8093513183 Have play call StartObserver.soundStarted with a null sound when the sound fails to play for any reason. We use the StartObserver to time other effects with sounds, however if the sound isn't going to play, we still want the other effects to go ahead. Mark Johnson 2006-06-21 02:49:46 +00:00
  • 6a8fcd80b7 Added a method to ensure a particular capacity for client preferences. We'll call this with a big fat number whenever a non-guest logs in. The first time we ask, the user will authorize the big fat storage, and it will never ask again. Hopefully we can make it look like part of the login... Ray Greenwell 2006-06-21 01:02:26 +00:00
  • 3fcc53f1b9 Make this method public, as it's now an override of a public method. Andrzej Kapolka 2006-06-20 20:10:42 +00:00
  • dc3bcddeb1 Added basic JME import dialog to model viewer. With the latest version of LWJGL, the AWT canvas releases its OpenGL context after rendering. Rather than redesign all event handling to take place in the update method, I put in a hack to grab the context back. Andrzej Kapolka 2006-06-20 19:36:23 +00:00
  • 694152013c Added toHex(uint). Ray Greenwell 2006-06-20 19:21:10 +00:00
  • 78a8d6fe62 Nix superfluous log message. Michael Bayne 2006-06-17 23:12:21 +00:00
  • 9e0eac5944 Handle non-Joonix file paths properly. Michael Bayne 2006-06-17 05:07:26 +00:00
  • d2b9e351ba Genericized StreamableArrayList Mark Johnson 2006-06-17 00:31:25 +00:00
  • b378bda604 Log a warning for unhandled commands. Ray Greenwell 2006-06-16 01:22:43 +00:00
  • b9509e434e Utility method for creating a menu item that will post controller commands. Ray Greenwell 2006-06-16 01:22:25 +00:00
  • 1ce4f4a7e4 More StringBuffer -> StringBuilder. Ray Greenwell 2006-06-13 23:06:48 +00:00
  • 6c8b75af98 We call into a library that expects StringBuffers. Michael Bayne 2006-06-13 23:06:44 +00:00
  • 79c6427c21 StringBuffer -> StringBuilder. Ray Greenwell 2006-06-13 22:42:20 +00:00
  • 3e4ff3564d Moved this general-purpose flash/mx class here, from the msoy project. Ray Greenwell 2006-06-13 21:03:25 +00:00
  • c90819ca69 .xml -> .mxml Andrzej Kapolka 2006-06-13 18:46:45 +00:00
  • 6deb8cd2cf RandomUtil moved to samskivert library. Michael Bayne 2006-06-13 18:03:48 +00:00
  • f7983050e9 Modernized something that must have been around prior to the ability to post Runnables to the omgr queue. Ray Greenwell 2006-06-12 23:07:25 +00:00
  • f6dd283b2a Implemented positionRect and supporting functions. Ray Greenwell 2006-06-09 20:59:32 +00:00
  • 17abf35d05 DisplayUtil, mostly placeholder now, but I'll write the rest of this method tomorrow. Ray Greenwell 2006-06-09 01:59:32 +00:00
  • d948eb4f37 Added a really basic Config class for storing prefs clientside, wired it up. Ray Greenwell 2006-06-08 22:12:19 +00:00
  • e6e96c25fc Ported over the automatic port-retrying code, but had to modify some things due to differences in the way flash throws errors (and apparently can't re-use a socket object). Ray Greenwell 2006-06-08 21:44:27 +00:00
  • e6cad91066 When transforming bones into mesh space to deform the skin, use the mesh's transform in the reference position rather than its current transform. Otherwise, when we try to scale the mesh up, the bones get scaled down, and the scale goes away. Also fixed a couple minor bugs in the viewer. Andrzej Kapolka 2006-06-08 01:45:40 +00:00
  • 7090277d99 Revamped the frame manager to support operating on non-JFrames where our Window and our RootPaneContainer might be different things (the Window would naturally contain the RootPaneContainer but wouldn't necessarily be the same component). Michael Bayne 2006-06-07 21:54:12 +00:00
  • 04af1ed28a Added support for animation sequences to the model viewer. Andrzej Kapolka 2006-06-07 20:15:19 +00:00
  • fab75fbd21 Added camera panning and recenter command to model viewer. Andrzej Kapolka 2006-06-07 19:35:06 +00:00
  • e541cf3db3 More generically clone ourselves. Ray Greenwell 2006-06-07 18:48:47 +00:00
  • 6c6061c62a Fixed lighting (i.e., removed it) on pivot rendering. Andrzej Kapolka 2006-06-07 18:29:53 +00:00
  • b7ca8f50f4 Changed animations to allow support for morph style (linear blend between deformed meshes) and flipbook style (simple switch between deformed meshes) in addition to skin style (meshes deformed in real time). Currently, the resolution is the same as the animation frame rate. Andrzej Kapolka 2006-06-06 23:00:43 +00:00