1796 Commits

Author SHA1 Message Date
sha..rd
e15b26b0ed * Fixed issue where Nifty GUI would consume all mouse button events
* Made video player deprecated


git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7129 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-03-27 19:44:51 +00:00
nor..67
ea1d086648 - fix typo "padding" in fnt file
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7128 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-03-27 19:12:11 +00:00
nor..67
59ad3b71b9 - FontCreator creates working AngelFonts now
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7127 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-03-27 17:07:47 +00:00
nor..67
2fc2623e97 - fix Nifty compile
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7126 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-03-27 10:39:48 +00:00
PSp..om
f7f47a13e4 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: https://jmonkeyengine.googlecode.com/svn/trunk@7125 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-03-27 07:17:54 +00:00
PSp..om
6465dbd516 Removing an errant println.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7124 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-03-27 05:47:29 +00:00
PSp..om
e58ec4b8a0 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: https://jmonkeyengine.googlecode.com/svn/trunk@7123 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-03-27 05:39:00 +00:00
PSp..om
3fc0d506f4 Added some info logging for connection close events...
we log connect, might as well log disconnect.


git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7122 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-03-27 05:37:06 +00:00
PSp..om
99a21a8c1d 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: https://jmonkeyengine.googlecode.com/svn/trunk@7121 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-03-27 05:31:21 +00:00
nor..67
0a369b96d8 - add check for negative force to BombControl
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7120 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-03-27 00:35:54 +00:00
PSp..om
5012b2d3dd 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: https://jmonkeyengine.googlecode.com/svn/trunk@7119 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-03-26 22:44:09 +00:00
PSp..om
3e5973793e 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: https://jmonkeyengine.googlecode.com/svn/trunk@7118 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-03-26 21:32:49 +00:00
rac..om
5ae44319ea 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: https://jmonkeyengine.googlecode.com/svn/trunk@7117 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-03-25 23:56:43 +00:00
nor..67
55d75c7b68 - return null for OptimizeGeometry (no undo atm)
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7116 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-03-25 23:46:50 +00:00
rac..om
76ff6bb99f 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: https://jmonkeyengine.googlecode.com/svn/trunk@7115 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-03-25 22:56:51 +00:00
rac..om
8cdef21af6 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: https://jmonkeyengine.googlecode.com/svn/trunk@7114 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-03-25 21:59:52 +00:00
nor..67
8348011344 - add undoObject to AbstractToolAction
- add Optimize Geometry tool
- fix Tool list generation

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7113 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-03-25 19:41:23 +00:00
nor..67
64f3a1005d - remove spaces from font names
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7112 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-03-25 18:17:09 +00:00
nor..67
2617a973d5 - fix FontCreator version
- fix font name passing

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7111 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-03-25 16:47:35 +00:00
nor..67
8fd6581fde - add Font Creator to build
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7110 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-03-25 16:16:34 +00:00
nor..67
3ba00cce25 - add first version of font creator (use via New File..)
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7109 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-03-25 16:15:56 +00:00
PSp..om
5439dbc2a9 Made the UDP port constant separate from TCP to allow
for more interesting testing with fewer code changes.


git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7108 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-03-24 19:34:07 +00:00
PSp..om
7e3020fd07 Forgot to actually check the udp port for server
creation... now it properly disables UDP for -1.


git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7107 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-03-24 19:31:30 +00:00
PSp..om
73305755bc 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: https://jmonkeyengine.googlecode.com/svn/trunk@7106 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-03-24 19:26:09 +00:00
nor..67
1a878a7ef7 - update build.xml names
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7104 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-03-24 14:35:35 +00:00
nor..67
c87cbc864d - close SceneViewer when scene is closed
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7103 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-03-24 14:09:39 +00:00
nor..67
13cb55d28a - change hudson build target names so they dont appear in the NB project
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7101 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-03-24 13:40:36 +00:00
Kae..pl
a343fef6ea Fix to bezier curve length computation.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7100 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-03-24 11:41:50 +00:00
Kae..pl
b17d5d3706 Bugfix: missing break might have caused problems with curves interpolations.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7099 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-03-24 10:32:09 +00:00
Kae..pl
46785739a4 Small fixes and support for closed NURBS surfaces.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7098 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-03-24 10:08:06 +00:00
mul..va
66f5e2c1b6 URL: http://jmonkeyengine.org/groups/contribution-depot-jme3/forum/topic/missing-mouseevent-settime/
Set event time for MouseEvent

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7097 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-03-24 10:02:25 +00:00
rem..om
1906af7d3e Changed alpha value of output color to 1 to avoid problems with screenshots
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7096 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-03-24 09:42:57 +00:00
sha..rd
9b84a79811 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: https://jmonkeyengine.googlecode.com/svn/trunk@7095 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-03-24 04:17:16 +00:00
nor..67
4cc44936c4 - windows had another one up the sleeve..
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7094 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-03-23 23:51:23 +00:00
nor..67
863791c3fb - another hopefully final windows fix
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7093 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-03-23 23:33:32 +00:00
nor..67
14e9bb9984 - fix windows newline to \r\n
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7092 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-03-23 23:18:55 +00:00
nor..67
55d2c34bbe - add windows \n\r to properties file during build
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7091 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-03-23 22:47:43 +00:00
nor..67
adda460d64 - create properties folder in build script before writing properties
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7090 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-03-23 22:34:07 +00:00
Kae..pl
a9a7d2d4de Basic support for NURBS curves and surfaces added.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7089 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-03-23 20:03:17 +00:00
PSp..om
b641b5670c 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: https://jmonkeyengine.googlecode.com/svn/trunk@7088 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-03-23 17:45:35 +00:00
PSp..om
c552080030 Fixes for the now gone local UDP port.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7087 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-03-23 17:25:56 +00:00
PSp..om
862d2729f8 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: https://jmonkeyengine.googlecode.com/svn/trunk@7086 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-03-23 17:25:12 +00:00
nor..67
14bde37391 - commit ideal version of window handling (not working atm)
- Application calls createCanvas() and startCanvas(true)
- SceneViewer window calls panel.add(getCanvas())

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7085 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-03-23 11:34:39 +00:00
nor..67
beeb32c9d4 - commit closeable sceneviewer
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7084 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-03-23 10:21:11 +00:00
PSp..om
f6d070afe6 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: https://jmonkeyengine.googlecode.com/svn/trunk@7083 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-03-23 07:52:43 +00:00
PSp..om
6ee8fb646c HostedConnection can now supply the Server instance
that is hosting it.


git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7082 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-03-23 07:35:21 +00:00
PSp..om
35e19c1667 Applied the null filter fix to the UDP kernel that
has already been applied to the TCP kernel.


git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7081 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-03-23 07:34:56 +00:00
PSp..om
6895e1e709 Pass the server name and version on through to the overloaded method.
Cut-paste typo.


git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7080 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-03-23 07:04:56 +00:00
mul..va
26adc4f487 Add missing copyright paraphrase of Curve class
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7079 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-03-23 04:58:34 +00:00
sha..rd
61aea1e2c5 * 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: https://jmonkeyengine.googlecode.com/svn/trunk@7078 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-03-23 03:48:37 +00:00