5141 Commits

Author SHA1 Message Date
Paul Speed
a77ed52777 Added getServer() and getClient() convenience methods. 2015-05-01 02:24:52 -04:00
Paul Speed
e000d83ae7 Fixed a stack overflow exception if one println()'ed
a service... since most service managers print their
services in their own toString().
2015-05-01 02:24:16 -04:00
Paul Speed
57dbf384a2 Modified the DefaultServer to send a second client
info message to indicate that all of the local hosted
services have been notified about the new connection.
Modified DefaultClient to wait to start its services
until it has seen this second message.

Client services may want to send things to the server during
their start() method but it's important that things like
the serializer registry service has already processed its
messages or any sends might fail.  The client generally has
the luxury of being able to register handlers/listeners/etc
during initialize where as the server must do this when the
connection arrives.  So it seems reasonable to delay client
service start() until all of the server-side hosted services
have had a chance to initialize themselves.
2015-05-01 02:15:41 -04:00
normen
d3c644123a Merge pull request #268 from Dokthar/scenecomposer/master
SDK SceneComposer : right click to cancel current transformation
2015-05-01 00:54:54 +02:00
Maselbas
a913d8e0c2 SDK Scenecomposer : now right clicking will cancel current transformation for the Scale, Rotate and Move Tool, looks like the selectTools shortcut
- improved these tool feedback, its easier to begin the tranformation as its start on the first click instead of the first dragg
2015-04-30 19:35:39 +02:00
Kirill Vainer
a4e1aa450d README: Add build status image 2015-04-30 09:57:46 -04:00
Kirill Vainer
7393f79165 AudioSource: add method to get playback time
As was requested on the forum, getting playback time / position is needed to perform proper audio / video synchronization.
2015-04-29 23:58:34 -04:00
Maselbas
986950fb1d Merge branch 'scenecomposer/master' of https://github.com/Dokthar/jmonkeyengine into scenecomposer/master 2015-04-29 22:17:35 +02:00
Maselbas
df96ab4f14 SDK SceneComposer : fix a warning at the build time 2015-04-29 21:52:25 +02:00
normen
abc8ec0e5d Merge pull request #266 from Dokthar/scenecomposer/master
SDK / scenecomposer : adding transformation choice for tools
2015-04-29 13:22:27 +02:00
Dokthar
a457b81d13 Merge pull request #5 from jMonkeyEngine/master
Merge jMonkeyEngine/master into scenecomposer/master
2015-04-29 10:28:12 +02:00
Kirill Vainer
2bdd4d5a32 Maven: enable maven artifact publishing
Currently to local repo only.
2015-04-28 23:59:49 -04:00
Kirill Vainer
8797bda5ef Maven: remove unneeded properties
Those are determined automatically by gradle, no need to specify explicitly.
2015-04-28 23:51:47 -04:00
Maselbas
8b8425ba68 SDK SceneComposer : fixed camera transformation type now works for move and scale tool, but act realy weird with rotate tool. 2015-04-28 23:55:05 +02:00
Maselbas
a531794c66 SDK SceneComposer : - added tooltip for the new jComboBox
- modified tooltip for scale and rotate tools : removed (in-development)
2015-04-28 22:27:12 +02:00
Maselbas
5c539f5656 SDK SceneComposer : fix scale tool, now the global option should work 2015-04-28 22:10:07 +02:00
Maselbas
2104edabe4 SDK SceneComposer : forget to add .form after the rework of the window 2015-04-28 22:00:31 +02:00
Maselbas
0eac437862 SDK SceneComposer : - added local, global and camera choice into the scenecomposer, this option is displayed into the SceneComposer Window close to scene edit tool.
- the scale tool still only work as local
- the camera option still need some enhancement
2015-04-28 20:01:11 +02:00
iwgeric
5c6deeb5ab Android: add GLFbo interface to AndroidGL to fix cast exception 2015-04-27 23:23:26 -04:00
Kirill Vainer
9e84c9f572 Travis-CI: Fix incorrect notification string 2015-04-27 19:57:01 -04:00
Kirill Vainer
bffdb6cc93 Travis-CI: Add Slack chat notifications 2015-04-27 19:45:33 -04:00
Kirill Vainer
b7af06e41c SDK Build: ensure netbeans folder is not empty
For some reason Travis-CI will create folders that were requested to be cached, thus causing the build to fail.
2015-04-27 19:39:50 -04:00
Kirill Vainer
cd1d145005 PhysicsSpace: add method to set solver iterations
Thanks to Seppes (see thread: http://hub.jmonkeyengine.org/t/how-to-access-native-bullets-constraintsolver-numiterations)
2015-04-27 19:03:43 -04:00
Kirill Vainer
f7d544f453 Travis-CI: cache netbeans platform and gradle deps 2015-04-27 13:00:22 -04:00
Kirill Vainer
03cf96bc04 Travis-CI: enable container based infrastructure 2015-04-27 11:56:57 -04:00
Kirill Vainer
ab7a45f66c GLRenderer: forget an end parenthesis 2015-04-27 11:20:01 -04:00
Kirill Vainer
ba3e6917c6 GLRenderer: fix modern extension retrieval method
GL_NUM_EXTENSIONS and glGetStringi is only available in OpenGL3.0+. The gl3 != null check will always be true for LWJGL backend.
2015-04-27 11:00:33 -04:00
normen
fec5764c34 Merge pull request #263 from Dokthar/scenecomposer/master
SDK SceneComposer - 3D scale and rotate tool
2015-04-27 11:29:25 +02:00
iwgeric
da8bd08aa1 Merge branch 'master' of https://github.com/jMonkeyEngine/jmonkeyengine 2015-04-26 19:22:28 -04:00
iwgeric
a52bc0a82c Bullet (and jBullet): Update Test Classes to use BulletAppState.setDebugEnabled instead of PhysicsSpace.enableDebug. 2015-04-26 19:21:00 -04:00
iwgeric
70b03ea28a Bullet (and jBullet): Remove deprecated PhysicsSpace.enableDebug method in favor of BulletAppState.setDebugEnabled. 2015-04-26 19:20:06 -04:00
kostyantyn-dev
544bbcda4e Merge pull request #264 from kostyantyn-dev/master
iOS: Fixed incorrect behaviour in J3MLoader. Added ogg loader
2015-04-27 01:46:36 +03:00
Kostyantyn Hushchyn
b35c5e9820 Remove redundand code. Fixed java/lang/IllegalStateException in com/jme3/asset/DesktopAssetManager.registerAndCloneSmartAsset. Added ogg loader 2015-04-27 01:36:15 +03:00
Dokthar
d48c1e0e9d Merge pull request #4 from jMonkeyEngine/master
Merge branch "jmonkeyengine/master" into "scenecomposer/master"
2015-04-26 22:43:56 +02:00
Maselbas
3396f5662d Merge branch 'scenecomposer/master' of https://github.com/Dokthar/jmonkeyengine into scenecomposer/master 2015-04-26 22:29:29 +02:00
Maselbas
f2a92a13b3 GDK SceneComposer :
- add a new file : PickManager that provide severals informations for tools.
- modified the MoveTool, RotateTool and ScaleTool according with the pickManager
- now local/global choice for transformations is just a step away
2015-04-26 22:14:15 +02:00
Maselbas
fc8cebe17d GDK SceneComposer :
- The colorAll option for highlightAxisMarker will now highlight only all quads (without axis)
2015-04-26 21:55:18 +02:00
kostyantyn-dev
e90720de30 Merge pull request #262 from kostyantyn-dev/master
iOS system fixes for 3.1
2015-04-26 11:32:03 +03:00
Kostyantyn Hushchyn
eba4c4e29a Fixed iOS subsystem after transition to common renderer. Added OpenAL audio renderer. Implemented flip y in native iOS image loader 2015-04-26 11:06:26 +03:00
Paul Speed
7bea2cc9c7 Fixed a missing import. 2015-04-26 03:10:47 -04:00
Paul Speed
96dab5f561 Allow remote calls to be made on the default channel
instead of just custom channels.  Custom channels are
0-max channel while -1 indicates the default send().
2015-04-26 02:28:38 -04:00
Paul Speed
dd65580bf3 Pre-register the inner class as well. A cut paste
error from my originals.
2015-04-26 02:27:27 -04:00
Paul Speed
8b34e4890a Fixed a comment to be more accurate with respect
to handler method argument types.
Fixed a small bug in how auto-detect worked.  It
was too greedy in looking for two-argument methods
and would somehow allow methods that took a first
argument that was not a connection type.
2015-04-26 02:26:47 -04:00
Paul Speed
1145f99d03 Added a service that will send the server's serializer
registration set to each new client that connects.  The
client-side version of this service will then register them
all.  This means that serialized classes need only be registered
on the server.
I've modified DefaultClient and DefaultServer to register these
services by default because they make other services easier to
write and because they will save people lots of trouble.
I'm 90% sure there are no bad side-effects for people who choose
to continue doing things the old way but it may depend on when
they register their serializers in relations to creating the
client and server objects.
2015-04-26 01:19:38 -04:00
Paul Speed
35155c6b5b Integrated the new service manager stuff with Client and
Server.  (Untested at the moment but straight forward.)
Also fixed a small but silent bug in DefaultServer when
closing out endpoints that were never fully connected.
Garbage was left around in the "connecting" data structure.
2015-04-26 00:57:02 -04:00
Paul Speed
1eb2ba7276 Adding an initial implementation for a service manager module
with custom subclasses and service interfaces for client 
services and server-side services (HostedServices).
This code is a copy and refactoring of code I developed for
Mythruna... it worked there but I haven't tested it yet in its
new form.  Things may change as I integrate this more closely
with the core Client and Server classes.  I wanted to get it
into source control first.
Also included an RPC service implementation which can serve
as the underpinning for other things.
Coming soon: serializer registration service and a simple
RMI service based on the RPC layer.
2015-04-26 00:24:51 -04:00
Paul Speed
9abedf284e Added a message that can be used to compile and
send the serializer registry... and then register
them on the other end.
2015-04-26 00:09:24 -04:00
Paul Speed
c9eaeeea12 Added some message delegator util classes that
makes it easier to handle network messages.  These
delegators can introspect a delegate type to find
message-type specific handler methods.  This mapping
can be done automatically or performed manually.
2015-04-25 23:47:26 -04:00
Kirill Vainer
1fec72605f SPLighting.frag: fix syntax error with vertex lighting enabled 2015-04-25 23:13:20 -04:00
Kirill Vainer
0c846eaf6a SPLighting: fix syntax errors with vertex lighting + color ramp 2015-04-25 23:11:10 -04:00