OSDN Git Service
normen667 [Tue, 29 Mar 2011 15:24:48 +0000 (15:24 +0000)]
- Add ProjectAssetManager accessor to abstract SceneExplorer actions
- Use ProjectAssetManager in SkyBox wizard instead of "dirty" SceneApplication.getApplication().getAssetManager()
git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@7139
75d07b2b-3a1a-0410-a2c5-
0572b91ccdca
normen667 [Tue, 29 Mar 2011 15:19:27 +0000 (15:19 +0000)]
- Create "New Control" and "New Spatial" abstract classes that allow showing a Wizard before creation
- Fix freeze of Add Skybox.. in Terrain Editor
git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@7138
75d07b2b-3a1a-0410-a2c5-
0572b91ccdca
PSpeed42@gmail.com [Tue, 29 Mar 2011 04:31:53 +0000 (04:31 +0000)]
Had this one hanging around from like a month ago...
Added the ability to set the geometry comparators
for the buckets for those cases where the app may
know better.
git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@7137
75d07b2b-3a1a-0410-a2c5-
0572b91ccdca
PSpeed42@gmail.com [Mon, 28 Mar 2011 19:33:41 +0000 (19:33 +0000)]
Deprecated registerPackage() and added a log INFO to
log all classes that are registered.
git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@7136
75d07b2b-3a1a-0410-a2c5-
0572b91ccdca
normen667 [Mon, 28 Mar 2011 14:41:15 +0000 (14:41 +0000)]
- Small cleanups in SceneVieweropComponent and SceneApplication
- Add new nifty wiki pages to manual
- Update wiki pages
git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@7135
75d07b2b-3a1a-0410-a2c5-
0572b91ccdca
normen667 [Mon, 28 Mar 2011 13:25:36 +0000 (13:25 +0000)]
- add workaround for previews (SceneViewer opens when preview is needed)
git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@7134
75d07b2b-3a1a-0410-a2c5-
0572b91ccdca
shadowislord [Mon, 28 Mar 2011 04:02:29 +0000 (04:02 +0000)]
* Fixed bug with dual UV channel loading, forgot to do it in the previous revision..
git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@7133
75d07b2b-3a1a-0410-a2c5-
0572b91ccdca
shadowislord [Mon, 28 Mar 2011 02:33:57 +0000 (02:33 +0000)]
* Fixed bug with OgreXML loader not actually supporting 2nd UV channel
git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@7132
75d07b2b-3a1a-0410-a2c5-
0572b91ccdca
normen667 [Sun, 27 Mar 2011 21:36:04 +0000 (21:36 +0000)]
- use only FileObject instead of File
git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@7131
75d07b2b-3a1a-0410-a2c5-
0572b91ccdca
normen667 [Sun, 27 Mar 2011 20:15:24 +0000 (20:15 +0000)]
- add style selection to FontCreator
git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@7130
75d07b2b-3a1a-0410-a2c5-
0572b91ccdca
shadowislord [Sun, 27 Mar 2011 19:44:51 +0000 (19:44 +0000)]
* Fixed issue where Nifty GUI would consume all mouse button events
* Made video player deprecated
git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@7129
75d07b2b-3a1a-0410-a2c5-
0572b91ccdca
normen667 [Sun, 27 Mar 2011 19:12:11 +0000 (19:12 +0000)]
- fix typo "padding" in fnt file
git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@7128
75d07b2b-3a1a-0410-a2c5-
0572b91ccdca
normen667 [Sun, 27 Mar 2011 17:07:47 +0000 (17:07 +0000)]
- FontCreator creates working AngelFonts now
git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@7127
75d07b2b-3a1a-0410-a2c5-
0572b91ccdca
normen667 [Sun, 27 Mar 2011 10:39:48 +0000 (10:39 +0000)]
- fix Nifty compile
git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@7126
75d07b2b-3a1a-0410-a2c5-
0572b91ccdca
PSpeed42@gmail.com [Sun, 27 Mar 2011 07:17:54 +0000 (07:17 +0000)]
Modified to log and continue when the message/event
dispatch throws exceptions. This protects the server
from dying just because of a bad listener.
git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@7125
75d07b2b-3a1a-0410-a2c5-
0572b91ccdca
PSpeed42@gmail.com [Sun, 27 Mar 2011 05:47:29 +0000 (05:47 +0000)]
Removing an errant println.
git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@7124
75d07b2b-3a1a-0410-a2c5-
0572b91ccdca
PSpeed42@gmail.com [Sun, 27 Mar 2011 05:39:00 +0000 (05:39 +0000)]
Added code that will wake up the blocked kernel-caller
if there are events to deal with. This wasn't a big
deal for connects because there's always an accompanying
message but for disconnects we wouldn't get events until
the next message came through. Always meant to go back
and fix it and now I have. Note: this is because our
adapters use a single thread for pulling envelopes off
and for dispatching connection events.
git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@7123
75d07b2b-3a1a-0410-a2c5-
0572b91ccdca
PSpeed42@gmail.com [Sun, 27 Mar 2011 05:37:06 +0000 (05:37 +0000)]
Added some info logging for connection close events...
we log connect, might as well log disconnect.
git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@7122
75d07b2b-3a1a-0410-a2c5-
0572b91ccdca
PSpeed42@gmail.com [Sun, 27 Mar 2011 05:31:21 +0000 (05:31 +0000)]
This would have saved me soooo much time. Serializer's
single-arg registerClass() method now throws an exception
if the object is not marked Serializable. Internally,
the package-load stuff uses the new alternate method that
allows safe non-exception throwing registration since it's
hitting it with every class in a package.
Interestingly enough, messages will still get written out
because of some questionable code in writeClassAndObject()...
but it won't be read as anything but null despite its
40+ bytes of data.
git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@7121
75d07b2b-3a1a-0410-a2c5-
0572b91ccdca
normen667 [Sun, 27 Mar 2011 00:35:54 +0000 (00:35 +0000)]
- add check for negative force to BombControl
git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@7120
75d07b2b-3a1a-0410-a2c5-
0572b91ccdca
PSpeed42@gmail.com [Sat, 26 Mar 2011 22:44:09 +0000 (22:44 +0000)]
Use an extra byte per final-typed field to handle
the case of nulls. Note: this is specific to
serialized objects and is therefore not adding
a byte to things like Strings or arrays... those
will have to be reviewed separately.
git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@7119
75d07b2b-3a1a-0410-a2c5-
0572b91ccdca
PSpeed42@gmail.com [Sat, 26 Mar 2011 21:32:49 +0000 (21:32 +0000)]
A better exception for errors that really should have a root
cause. It's possible to set it right on IOException but not
at all convenient.
git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@7118
75d07b2b-3a1a-0410-a2c5-
0572b91ccdca
ractoc@gmail.com [Fri, 25 Mar 2011 23:56:43 +0000 (23:56 +0000)]
Turns out I did things a bit wrong with respect to the new nifty mouse even queue....
I called stuff that was meant to be internal to nifty. That's fixed now. Also had to replace the nifty examples jar with a new version. This version os BIG (15Mb). Void is working on a smaller one, but at least with this big one, things work as expected.
git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@7117
75d07b2b-3a1a-0410-a2c5-
0572b91ccdca
normen667 [Fri, 25 Mar 2011 23:46:50 +0000 (23:46 +0000)]
- return null for OptimizeGeometry (no undo atm)
git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@7116
75d07b2b-3a1a-0410-a2c5-
0572b91ccdca
ractoc@gmail.com [Fri, 25 Mar 2011 22:56:51 +0000 (22:56 +0000)]
Mouse wheel and the other two mouse buttons should now also be fixed. Since this is not tested in the NiftyGUI test there's no real of know till a test has been created though. To fix it I just tweaked the appropriate if statements a bit.
git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@7115
75d07b2b-3a1a-0410-a2c5-
0572b91ccdca
ractoc@gmail.com [Fri, 25 Mar 2011 21:59:52 +0000 (21:59 +0000)]
upgraded nifty and nifty-default-controls to nightly build of 2011-03-24. Also fixed the AwtMouseInput and removed some ununsed imports. The com.jme3.niftygui.InputSystem has been changed as well to correspond with the new Nifty way of working with mouse events. It now uses the new MouseInputEventQueue and the new NiftyMouseInputEvent.
There is still an issue with the mouse buttons besides the first mouse button. These should be picked up by nifty, but for some reason are not triggering a MouseButtonEvent. This is something Kirril will need to take a look at.
git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@7114
75d07b2b-3a1a-0410-a2c5-
0572b91ccdca
normen667 [Fri, 25 Mar 2011 19:41:23 +0000 (19:41 +0000)]
- add undoObject to AbstractToolAction
- add Optimize Geometry tool
- fix Tool list generation
git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@7113
75d07b2b-3a1a-0410-a2c5-
0572b91ccdca
normen667 [Fri, 25 Mar 2011 18:17:09 +0000 (18:17 +0000)]
- remove spaces from font names
git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@7112
75d07b2b-3a1a-0410-a2c5-
0572b91ccdca
normen667 [Fri, 25 Mar 2011 16:47:35 +0000 (16:47 +0000)]
- fix FontCreator version
- fix font name passing
git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@7111
75d07b2b-3a1a-0410-a2c5-
0572b91ccdca
normen667 [Fri, 25 Mar 2011 16:16:34 +0000 (16:16 +0000)]
- add Font Creator to build
git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@7110
75d07b2b-3a1a-0410-a2c5-
0572b91ccdca
normen667 [Fri, 25 Mar 2011 16:15:56 +0000 (16:15 +0000)]
- add first version of font creator (use via New File..)
git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@7109
75d07b2b-3a1a-0410-a2c5-
0572b91ccdca
PSpeed42@gmail.com [Thu, 24 Mar 2011 19:34:07 +0000 (19:34 +0000)]
Made the UDP port constant separate from TCP to allow
for more interesting testing with fewer code changes.
git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@7108
75d07b2b-3a1a-0410-a2c5-
0572b91ccdca
PSpeed42@gmail.com [Thu, 24 Mar 2011 19:31:30 +0000 (19:31 +0000)]
Forgot to actually check the udp port for server
creation... now it properly disables UDP for -1.
git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@7107
75d07b2b-3a1a-0410-a2c5-
0572b91ccdca
PSpeed42@gmail.com [Thu, 24 Mar 2011 19:26:09 +0000 (19:26 +0000)]
Modified so that a -1 UDP port completely disables UDP.
Client and server should match or bad things happen and it
might be worth adding this to the connection negotation
as a validation.
git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@7106
75d07b2b-3a1a-0410-a2c5-
0572b91ccdca
normen667 [Thu, 24 Mar 2011 14:35:35 +0000 (14:35 +0000)]
- update build.xml names
git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@7104
75d07b2b-3a1a-0410-a2c5-
0572b91ccdca
normen667 [Thu, 24 Mar 2011 14:09:39 +0000 (14:09 +0000)]
- close SceneViewer when scene is closed
git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@7103
75d07b2b-3a1a-0410-a2c5-
0572b91ccdca
normen667 [Thu, 24 Mar 2011 13:40:36 +0000 (13:40 +0000)]
- change hudson build target names so they dont appear in the NB project
git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@7101
75d07b2b-3a1a-0410-a2c5-
0572b91ccdca
Kaelthas_Spellsinger@o2.pl [Thu, 24 Mar 2011 11:41:50 +0000 (11:41 +0000)]
Fix to bezier curve length computation.
git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@7100
75d07b2b-3a1a-0410-a2c5-
0572b91ccdca
Kaelthas_Spellsinger@o2.pl [Thu, 24 Mar 2011 10:32:09 +0000 (10:32 +0000)]
Bugfix: missing break might have caused problems with curves interpolations.
git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@7099
75d07b2b-3a1a-0410-a2c5-
0572b91ccdca
Kaelthas_Spellsinger@o2.pl [Thu, 24 Mar 2011 10:08:06 +0000 (10:08 +0000)]
Small fixes and support for closed NURBS surfaces.
git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@7098
75d07b2b-3a1a-0410-a2c5-
0572b91ccdca
mulova [Thu, 24 Mar 2011 10:02:25 +0000 (10:02 +0000)]
URL: jmonkeyengine.org/groups/contribution-depot-jme3/forum/topic/missing-mouseevent-settime/
Set event time for MouseEvent
git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@7097
75d07b2b-3a1a-0410-a2c5-
0572b91ccdca
remy.bouquet@gmail.com [Thu, 24 Mar 2011 09:42:57 +0000 (09:42 +0000)]
Changed alpha value of output color to 1 to avoid problems with screenshots
git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@7096
75d07b2b-3a1a-0410-a2c5-
0572b91ccdca
shadowislord [Thu, 24 Mar 2011 04:17:16 +0000 (04:17 +0000)]
jME3
* RenderManager will reload "shader" boolean on each invocation of render(), since Renderer might not have proper capabilities set before canvas has been attached
jMP
* Fixed some illegal calls in SceneApplication
git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@7095
75d07b2b-3a1a-0410-a2c5-
0572b91ccdca
normen667 [Wed, 23 Mar 2011 23:51:23 +0000 (23:51 +0000)]
- windows had another one up the sleeve..
git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@7094
75d07b2b-3a1a-0410-a2c5-
0572b91ccdca
normen667 [Wed, 23 Mar 2011 23:33:32 +0000 (23:33 +0000)]
- another hopefully final windows fix
git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@7093
75d07b2b-3a1a-0410-a2c5-
0572b91ccdca
normen667 [Wed, 23 Mar 2011 23:18:55 +0000 (23:18 +0000)]
- fix windows newline to \r\n
git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@7092
75d07b2b-3a1a-0410-a2c5-
0572b91ccdca
normen667 [Wed, 23 Mar 2011 22:47:43 +0000 (22:47 +0000)]
- add windows \n\r to properties file during build
git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@7091
75d07b2b-3a1a-0410-a2c5-
0572b91ccdca
normen667 [Wed, 23 Mar 2011 22:34:07 +0000 (22:34 +0000)]
- create properties folder in build script before writing properties
git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@7090
75d07b2b-3a1a-0410-a2c5-
0572b91ccdca
Kaelthas_Spellsinger@o2.pl [Wed, 23 Mar 2011 20:03:17 +0000 (20:03 +0000)]
Basic support for NURBS curves and surfaces added.
git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@7089
75d07b2b-3a1a-0410-a2c5-
0572b91ccdca
PSpeed42@gmail.com [Wed, 23 Mar 2011 17:45:35 +0000 (17:45 +0000)]
Fixed stupid buffer copy bug partially caused by some
last minute shifts in APIs. Anyway, outbound TCP
broadcasts work again and are more efficient since the
Kernel callers can better control when their message
buffers are copied (in this case it isn't necessary so
we save a buffer copy).
git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@7088
75d07b2b-3a1a-0410-a2c5-
0572b91ccdca
PSpeed42@gmail.com [Wed, 23 Mar 2011 17:25:56 +0000 (17:25 +0000)]
Fixes for the now gone local UDP port.
git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@7087
75d07b2b-3a1a-0410-a2c5-
0572b91ccdca
PSpeed42@gmail.com [Wed, 23 Mar 2011 17:25:12 +0000 (17:25 +0000)]
Pull the local UDP port from the ethereal set. The previous
way made the caller specify a local port due to an unusually
persistent bit of ancient lore lodged in my brain.
git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@7086
75d07b2b-3a1a-0410-a2c5-
0572b91ccdca
normen667 [Wed, 23 Mar 2011 11:34:39 +0000 (11:34 +0000)]
- commit ideal version of window handling (not working atm)
- Application calls createCanvas() and startCanvas(true)
- SceneViewer window calls panel.add(getCanvas())
git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@7085
75d07b2b-3a1a-0410-a2c5-
0572b91ccdca
normen667 [Wed, 23 Mar 2011 10:21:11 +0000 (10:21 +0000)]
- commit closeable sceneviewer
git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@7084
75d07b2b-3a1a-0410-a2c5-
0572b91ccdca
PSpeed42@gmail.com [Wed, 23 Mar 2011 07:52:43 +0000 (07:52 +0000)]
A crude but working chat client and server using swing
on the client (could be converted to nifty someday).
Simple but lets users test UDP or TCP messaging.
git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@7083
75d07b2b-3a1a-0410-a2c5-
0572b91ccdca
PSpeed42@gmail.com [Wed, 23 Mar 2011 07:35:21 +0000 (07:35 +0000)]
HostedConnection can now supply the Server instance
that is hosting it.
git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@7082
75d07b2b-3a1a-0410-a2c5-
0572b91ccdca
PSpeed42@gmail.com [Wed, 23 Mar 2011 07:34:56 +0000 (07:34 +0000)]
Applied the null filter fix to the UDP kernel that
has already been applied to the TCP kernel.
git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@7081
75d07b2b-3a1a-0410-a2c5-
0572b91ccdca
PSpeed42@gmail.com [Wed, 23 Mar 2011 07:04:56 +0000 (07:04 +0000)]
Pass the server name and version on through to the overloaded method.
Cut-paste typo.
git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@7080
75d07b2b-3a1a-0410-a2c5-
0572b91ccdca
mulova [Wed, 23 Mar 2011 04:58:34 +0000 (04:58 +0000)]
Add missing copyright paraphrase of Curve class
git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@7079
75d07b2b-3a1a-0410-a2c5-
0572b91ccdca
shadowislord [Wed, 23 Mar 2011 03:48:37 +0000 (03:48 +0000)]
* Big refactoring of LWJGL display system, mainly to support updating the main loop without a render context or input devices being available.
* Added test that demonstrates above functionality, by starting Application without attaching the canvas, and then constantly attaching and detaching canvas from a frame.
* Deleted deprecated methods in JmeContext
* Deleted deprecated class LwjglJoyInput
* Audio renderer will not attempt to initialize OpenAL twice if already initialized
git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@7078
75d07b2b-3a1a-0410-a2c5-
0572b91ccdca
normen667 [Wed, 23 Mar 2011 00:24:40 +0000 (00:24 +0000)]
- add message when assetpack was downloaded
git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@7077
75d07b2b-3a1a-0410-a2c5-
0572b91ccdca
shadowislord [Wed, 23 Mar 2011 00:16:11 +0000 (00:16 +0000)]
* Created test for (non-existent) safe canvas
git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@7076
75d07b2b-3a1a-0410-a2c5-
0572b91ccdca
normen667 [Tue, 22 Mar 2011 22:11:35 +0000 (22:11 +0000)]
- add user check before upload to AssetPacks upload
git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@7075
75d07b2b-3a1a-0410-a2c5-
0572b91ccdca
normen667 [Tue, 22 Mar 2011 02:08:39 +0000 (02:08 +0000)]
- add android build to main build file
git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@7074
75d07b2b-3a1a-0410-a2c5-
0572b91ccdca
normen667 [Tue, 22 Mar 2011 01:28:48 +0000 (01:28 +0000)]
- remove defect golem game
git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@7073
75d07b2b-3a1a-0410-a2c5-
0572b91ccdca
normen667 [Tue, 22 Mar 2011 01:27:23 +0000 (01:27 +0000)]
- add NetBeans Freeform project to build SDK
git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@7072
75d07b2b-3a1a-0410-a2c5-
0572b91ccdca
normen667 [Mon, 21 Mar 2011 23:46:42 +0000 (23:46 +0000)]
- add new wiki page
git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@7071
75d07b2b-3a1a-0410-a2c5-
0572b91ccdca
PSpeed42@gmail.com [Mon, 21 Mar 2011 23:34:48 +0000 (23:34 +0000)]
Unwinding a bit of the Message vs. Message conundrum
to give new API users a proper extension point for their
own messages. (forgot this file in the last commit)
git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@7070
75d07b2b-3a1a-0410-a2c5-
0572b91ccdca
PSpeed42@gmail.com [Mon, 21 Mar 2011 23:34:13 +0000 (23:34 +0000)]
Unwinding a bit of the Message vs. Message conundrum
to give new API users a proper extension point for their
own messages.
git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@7069
75d07b2b-3a1a-0410-a2c5-
0572b91ccdca
PSpeed42@gmail.com [Mon, 21 Mar 2011 23:25:19 +0000 (23:25 +0000)]
Received messages now have their reliability flag
set properly based on how the message was received.
git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@7068
75d07b2b-3a1a-0410-a2c5-
0572b91ccdca
PSpeed42@gmail.com [Mon, 21 Mar 2011 23:06:27 +0000 (23:06 +0000)]
Fix client message listeners threading. They may be
called by either the UDP or TCP thread but it will
not be at the same time.
git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@7067
75d07b2b-3a1a-0410-a2c5-
0572b91ccdca
normen667 [Mon, 21 Mar 2011 13:13:31 +0000 (13:13 +0000)]
- remove folder
git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@7066
75d07b2b-3a1a-0410-a2c5-
0572b91ccdca
normen667 [Mon, 21 Mar 2011 13:12:33 +0000 (13:12 +0000)]
- add some bullet javadoc
- remove deprecated bullet classes
git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@7065
75d07b2b-3a1a-0410-a2c5-
0572b91ccdca
Kaelthas_Spellsinger@o2.pl [Mon, 21 Mar 2011 13:07:55 +0000 (13:07 +0000)]
Calculation of Bezier curve's length added.
git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@7064
75d07b2b-3a1a-0410-a2c5-
0572b91ccdca
Kaelthas_Spellsinger@o2.pl [Mon, 21 Mar 2011 11:45:00 +0000 (11:45 +0000)]
A method that returns the length added to curve.
git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@7063
75d07b2b-3a1a-0410-a2c5-
0572b91ccdca
Kaelthas_Spellsinger@o2.pl [Mon, 21 Mar 2011 11:44:33 +0000 (11:44 +0000)]
The light's name added.
git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@7062
75d07b2b-3a1a-0410-a2c5-
0572b91ccdca
normen667 [Mon, 21 Mar 2011 03:21:20 +0000 (03:21 +0000)]
- add BrickTower test
git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@7061
75d07b2b-3a1a-0410-a2c5-
0572b91ccdca
normen667 [Mon, 21 Mar 2011 01:48:19 +0000 (01:48 +0000)]
- fix physics debug view rogue meshes by adding mesh.getFloatBuffer(Type.Position).clear()
- make CollisionShapeFactory use not world translation but translation relative to given parent
- add CollisionShapeFactory test
git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@7060
75d07b2b-3a1a-0410-a2c5-
0572b91ccdca
mulova [Sun, 20 Mar 2011 12:13:49 +0000 (12:13 +0000)]
URL: jmonkeyengine.org/groups/contribution-depot-jme3/forum/topic/posterizationfilter-shader-fix-for-mac/
PosterizationFilter compilation error fix for Mac
git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@7058
75d07b2b-3a1a-0410-a2c5-
0572b91ccdca
mulova [Sun, 20 Mar 2011 12:10:39 +0000 (12:10 +0000)]
URL: jmonkeyengine.org/groups/contribution-depot-jme3/forum/topic/crosspatchfilter-fails-on-mac/
CrossHatchFilter uniform types from int to float
git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@7057
75d07b2b-3a1a-0410-a2c5-
0572b91ccdca
remy.bouquet@gmail.com [Sun, 20 Mar 2011 08:55:42 +0000 (08:55 +0000)]
MeshLoader catch AssetNotFoundException when trying to locate the .material of a model
git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@7056
75d07b2b-3a1a-0410-a2c5-
0572b91ccdca
normen667 [Sun, 20 Mar 2011 04:48:28 +0000 (04:48 +0000)]
- sont use nightly jme3 target for stable build
git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@7055
75d07b2b-3a1a-0410-a2c5-
0572b91ccdca
shadowislord [Sat, 19 Mar 2011 22:47:35 +0000 (22:47 +0000)]
* Ported TestMessages to new SM
* Mesh.deepClone() will no longer keep old collision tree
git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@7050
75d07b2b-3a1a-0410-a2c5-
0572b91ccdca
PSpeed42@gmail.com [Sat, 19 Mar 2011 22:07:19 +0000 (22:07 +0000)]
Updated the Endpoint interface to define a close() method
that can optionally flush the queued messages. Modified
DefaultServer to close-with-flush when kicking a client
so that the disconnect message actually gets to them.
git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@7049
75d07b2b-3a1a-0410-a2c5-
0572b91ccdca
PSpeed42@gmail.com [Sat, 19 Mar 2011 21:46:52 +0000 (21:46 +0000)]
More comments on restrictions to future thread pooling
implementations.
git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@7048
75d07b2b-3a1a-0410-a2c5-
0572b91ccdca
PSpeed42@gmail.com [Sat, 19 Mar 2011 21:37:02 +0000 (21:37 +0000)]
Modified the default server implementation to enforce my
own threading rules... it's sort of heavy-handed but
given the separation of the reliable and unreliable
implementations (and the inability to really know how
they are threading from here) this is the safest way and
doesn't seem to really affect throughput.
git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@7047
75d07b2b-3a1a-0410-a2c5-
0572b91ccdca
PSpeed42@gmail.com [Sat, 19 Mar 2011 21:21:06 +0000 (21:21 +0000)]
Added some comments about the multi-threaded nature
of message event dispatch. This is one of the reasons
I thought the existing services need to be checked for
'correctness' re: multithreading. Even in the current
implementations, a message listener may be called by
different threads.
git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@7046
75d07b2b-3a1a-0410-a2c5-
0572b91ccdca
normen667 [Sat, 19 Mar 2011 20:26:46 +0000 (20:26 +0000)]
- add wiki page to manual
git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@7045
75d07b2b-3a1a-0410-a2c5-
0572b91ccdca
PSpeed42@gmail.com [Sat, 19 Mar 2011 17:26:08 +0000 (17:26 +0000)]
Added a count-down latch to keep track of the connecting
state so that if a caller creates a client then immediately
starts sending message, we can block until the connection
is really established.
git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@7044
75d07b2b-3a1a-0410-a2c5-
0572b91ccdca
PSpeed42@gmail.com [Sat, 19 Mar 2011 17:13:58 +0000 (17:13 +0000)]
added disconnect information to the client state listener
so that clients that care can know why they were booted, etc.
git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@7043
75d07b2b-3a1a-0410-a2c5-
0572b91ccdca
PSpeed42@gmail.com [Sat, 19 Mar 2011 15:44:42 +0000 (15:44 +0000)]
Fixed a port typo after all the cutting pasting and
fixing last night. UDP connection now setup with
the proper remote UDP port.
git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@7042
75d07b2b-3a1a-0410-a2c5-
0572b91ccdca
PSpeed42@gmail.com [Sat, 19 Mar 2011 07:31:58 +0000 (07:31 +0000)]
Send the version information with the client registration
and kick the client if they don't match. Need to fix some
other things before the reason actually makes it to the
client before the socket is closed... but at least they'll
know something is wrong.
git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@7041
75d07b2b-3a1a-0410-a2c5-
0572b91ccdca
shadowislord [Sat, 19 Mar 2011 07:16:21 +0000 (07:16 +0000)]
* RMI system much more tolerant of bad data now (will display warning in log instead of crashing)
git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@7040
75d07b2b-3a1a-0410-a2c5-
0572b91ccdca
PSpeed42@gmail.com [Sat, 19 Mar 2011 07:08:34 +0000 (07:08 +0000)]
Added the rest of the game name and version stuff... still
doesn't validate with it but at least the client and server
can be setup now.
git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@7039
75d07b2b-3a1a-0410-a2c5-
0572b91ccdca
PSpeed42@gmail.com [Sat, 19 Mar 2011 06:47:46 +0000 (06:47 +0000)]
Real fix for the client UDP problems and removed my long
winded and erroneous comment now that we have point-to-point
connections again.
Also committing the other classes to which I started adding
game name and version... unfinished but needed for the other
fix.
git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@7038
75d07b2b-3a1a-0410-a2c5-
0572b91ccdca
PSpeed42@gmail.com [Sat, 19 Mar 2011 06:42:33 +0000 (06:42 +0000)]
Committing something for testing... may revert.
git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@7037
75d07b2b-3a1a-0410-a2c5-
0572b91ccdca
PSpeed42@gmail.com [Sat, 19 Mar 2011 06:31:37 +0000 (06:31 +0000)]
Updated to use localhost instead of my hard-coded host
and modified to be able to test unreliable throughput.
git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@7036
75d07b2b-3a1a-0410-a2c5-
0572b91ccdca
PSpeed42@gmail.com [Sat, 19 Mar 2011 06:24:28 +0000 (06:24 +0000)]
Leave the client UDP connection 'connectionless' and
left a really big comment as to why. It's sort of
too bad but not that big of a deal.
Now clients can connect to 'localhost' and still
receive UDP packets.
git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@7035
75d07b2b-3a1a-0410-a2c5-
0572b91ccdca
PSpeed42@gmail.com [Sat, 19 Mar 2011 05:22:47 +0000 (05:22 +0000)]
Added a comment about the "magic number" used in the
connect message from the client.
git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@7034
75d07b2b-3a1a-0410-a2c5-
0572b91ccdca
PSpeed42@gmail.com [Sat, 19 Mar 2011 03:21:24 +0000 (03:21 +0000)]
More graceful shutdown of client-initiated close of
the Client. Way easier to take care of this stuff with
working code... thanks, MonkeyZone.
git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@7033
75d07b2b-3a1a-0410-a2c5-
0572b91ccdca