94 Commits

Author SHA1 Message Date
rem..om
3a0e1f50ac Shaders : The line number is now printed for each line of shader code in the standard error output when a shader fail to compile.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9294 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-04-12 20:08:38 +00:00
sky..ok
533fb86c50 Down to 260 Javadoc warnings from 324
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9255 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-03-22 00:22:09 +00:00
rem..om
8ab5a211e2 Removed previously committed System.out from AndroidAudioRenderer
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9244 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-03-11 23:05:33 +00:00
rem..om
218f082c8b Properly stopping and resetting Medialayer in AndroidAudioRenderer to be able to play an audio node more than once without failing.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9243 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-03-11 21:37:33 +00:00
rem..om
1a771236cf fix NPE in AndroidHarness when quitting (thanks iwgEric)
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9241 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-03-11 08:33:51 +00:00
rem..om
191bd21b40 Removed AndroidHarness specific calls from the OGLESContext.
- The harness is now a system listener and dispatch the system events to the jme app
- Every Harness related code is now in the harness (exit hook dialog, and mapping addition, spash screen hiding,....)
- Added a handleExitHook flag to configure if the Harness should handle exit or not.

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9238 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-03-07 19:22:41 +00:00
rem..om
d2b727cfd8 Android : OGLESContext can now finish the activity when being destroyed, this way calling app.stop() from jME finished the associated activity.
This feature can be disabled by setting a flag in the MainActivity.

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9234 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-03-05 22:25:42 +00:00
rem..om
92b97d38d8 Committed a patch from iwgeric, to make nifty Textfield display the soft keyboard on tap.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9227 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-03-02 10:23:22 +00:00
rem..om
859123673e Committed patch from iwgEric that fixes a couple of issues on android touchinput http://jmonkeyengine.org/groups/android/forum/topic/error-with-nifty-and-awt/?topic_page=2#post-165433
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9226 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-03-02 09:12:38 +00:00
Sha..rd
491d514c0f * BorderClamp and Clamp texture wrap modes now become EdgeClamp on Android
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9221 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-02-29 01:22:15 +00:00
Sha..rd
df212d358f * AndroidAssetManager will avoid registering loaders if the class isn't in the classpath similar to DesktopAssetManager
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9203 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-02-25 19:49:56 +00:00
Sha..rd
1aed2068be * Formatted many android classes and files
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9202 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-02-25 19:49:15 +00:00
Sha..om
b12285b8a4 * Make AndroidImageInfo extensible, add javadoc explanation
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9187 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-02-23 14:14:59 +00:00
rem..om
446c03935e Fixed NPE in AndroidAudioRenderer when soundPool is not initialized
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9175 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-02-18 08:44:51 +00:00
rem..om
bb9b2ea5ce Changes to AndroidInput to properly handle multipoint touch events with proper ids (thanks to techsonic)
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9172 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-02-17 13:27:02 +00:00
rem..om
a3497ca8b2 Null check on audio renderer in the onPause and onResume of the android Harness. The audio renderer appears to be null (wich is another issue)
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9171 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-02-17 13:04:53 +00:00
rem..om
afc2710626 Removed the call to glHint GL10.GL_PERSPECTIVE_CORRECTION_HINT as it generates an INVALID_ENUM error.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9170 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-02-17 13:03:44 +00:00
PSp..om
07d5451a31 Removed the direct accessing of the seconds counter
so that I don't break the build with my next changes.


git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9156 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-02-17 00:07:45 +00:00
Sha..rd
b89b2428af * Applied audio fix patch (thanks prich)
- Pause audio when jME3 app is paused
   - Add WAV to supported formats 
   - Add Android audio test 
 * Minor javadoc fixes in AndroidHarness
 * Made jme3tools.android.Fixed class deprecated

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9152 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-02-15 04:30:35 +00:00
Sha..rd
4aa00107e2 * Added missing AndroidImageInfo
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9148 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-02-12 22:16:27 +00:00
Sha..rd
381a3365ef * Applied android audio renderer patch (thanks to prich on the forum)
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9147 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-02-12 22:14:03 +00:00
Sha..rd
a64db6fc7b * Andrid - AndroidLocator now follows spec when regards to multiple call support with AssetInfo.openStream()
* Android - fix exception with recycled bitmaps that occurs when jME3 application is restored/maximized after pause

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9144 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-02-11 06:42:19 +00:00
Sha..rd
3fa629053a * Deleted AndroidApplication and AndroidSkyFactory due to deprecation
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9143 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-02-11 06:10:35 +00:00
Sha..rd
8652b1f759 Android
* Enable checking of errors per frame (if checkErrors is disabled)
 * Formatting and javadoc fixes in AndroidHarness
 * AndroidHarness.reportError() rewritten to for clarity
 * OGLESContext will report OpenGL2 failure directly to app through handleError instead of continuing execution 
 * OGLESContext will register uncaught exception handler only for current thread 
 * Formatting and javadoc fixes in OGLESContext

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9142 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-02-11 06:08:49 +00:00
Sha..rd
65c27304be * Android - disable GL error check by default
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9141 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-02-11 05:35:29 +00:00
Sha..rd
b75a3415c5 * Android - fix shader compile error on PowerVR GPUs
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9140 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-02-11 05:32:24 +00:00
rem..om
82b1e94953 Added SpashScreen support for android thanks to iwgeric
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9106 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-01-21 09:59:10 +00:00
Sha..rd
b38e545036 * Fix Android 2.2 - 3.2 crash
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9081 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-01-17 02:13:17 +00:00
nor..67
60f7963cf4 - add storage folder support to android renderer, thanks @iwgeric
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9064 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-01-15 20:36:50 +00:00
Sha..rd
9c6ca69b34 * Fixed GLSL version parsing issue on Android 4.0
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9020 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-01-14 04:49:28 +00:00
rem..om
1547500b5a AndroidInput now correctly handles mutiple pointers touch events
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9001 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-01-08 18:42:51 +00:00
rem..om
dd76ee0890 Fixed Tap confirme event that was sending 2 tap events on each tap
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8998 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-01-08 15:05:52 +00:00
rem..om
a906b97be3 AndroidInput now correctly dispatches DOUBLETAP event
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8994 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-01-07 23:29:51 +00:00
rem..om
5454675cda Formatted AndroidInput.java so it doesn't look like a C++ file...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8991 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-01-07 21:58:30 +00:00
rem..om
cbd1248302 Mesh bufferList is now a SafeArrayList instead of an ArrayList
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8869 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-12-05 20:27:28 +00:00
rem..om
ed6dedb409 OGLESShaderRenderer : Changed Iteration on mesh buffer to use bufferList ArrayList instead of buffer IntMap. This fixes the non working animation issue on android. IntMap must be further investigated
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8867 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-12-05 17:35:24 +00:00
nor..67
3cdaf0e051 jme3:
- fix imports in all classes

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8843 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-12-03 14:06:48 +00:00
nor..67
c906508e62 - big refactoring of engine build and cleaning of sources, totally breaking SDK build for now
- separate jar files for engine components
- resolve dependencies between code parts
- remove Nifty dependency from Cinematics
- remove Physics dependency from TerrainGrid
- add public accessors to Natives Extraction
- remove RenderHint serialization from networking

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8839 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-12-03 01:22:42 +00:00
nor..67
1cc957e7e9 - big refactoring of engine build and cleaning of sources, totally breaking SDK build for now
- separate jar files for engine components
- resolve dependencies between code parts
- remove Nifty dependency from Cinematics
- remove Physics dependency from TerrainGrid
- add public accessors to Natives Extraction
- remove RenderHint serialization from networking

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8838 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-12-03 01:19:18 +00:00
nor..67
6113425db9 - add loading of native bullet libraries to AndroidHarness, caught if fails
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8828 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-11-27 23:27:56 +00:00
sha..rd
f9a798c651 * Better check for android version. Should prevent NoSuchMethodError: glVertexAttribPointer
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8668 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-11-14 05:08:12 +00:00
sha..rd
6110509b8e * Added android 2.2 workaround for glVertexAttribPointer
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8658 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-11-12 02:55:51 +00:00
nor..67
72a4282dc0 - make FreeForm project for android code
- change build process to move back class files after creating separate jar files

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8654 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-11-12 00:10:48 +00:00
nor..67
fcb6b2e6ab Android:
- change glVertexAttribPointer use to API level 8 method signature

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8653 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-11-11 23:19:54 +00:00
nor..67
9f16b989fe - add a way to add a classpath for loading in-asset classes to AssetManager, use in BinaryImporter
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8600 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-11-08 21:18:53 +00:00
sha..rd
ffce10b8da * Added AwtPanel.attachTo() argument that allows attaching panel to main framebuffer instead of replacing it on the viewports
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8481 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-10-21 23:01:34 +00:00
sky..ok
84116c85f8 Created clickable links out of http mentions in all jME3 Javadoc
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8465 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-10-19 20:23:39 +00:00
sha..rd
55bfc5f0cf * Update to LWJGL 2.8.1
* Audio system to use new NativeObject class for managing audio buffers and filters
 * Formatting for AndroidAudioRenderer
 * Changed AndroidAudioData to match new NativeObject class
 * AudioNode now serializes the audio key as "audio_key" instead "key"
 

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8423 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-10-17 01:33:42 +00:00
sha..rd
107380afc1 * Moved GLObjectManager to util, it is now NativeObjectManager and can be used to manage collection of any native object
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8422 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-10-17 01:26:31 +00:00
sha..rd
3f95a0ca2f * Eclipse classpath no longer includes .svn folders
* Updated android.jar to 2.3
 * Add support for changing fullscreen mode in AndroidHarness
 * VBO now used by default for Android versions > 2.2
 * Fix wrong setting array type uniforms in android (e.g. Vector3Array)
 * Improved efficiency of setVertexAttrib in android by not creating iterator each time
 * Added method ParticleEmitter.killParticle()
 * Deleted useless com.jme3.renderer.layer package
 * Fix documentation of AppSettings.setCustomRenderer()
 * Fix SkyFactory on android (again!)
 * Deleted useless com.jme3.video package
 * Add KeyNames to get names of keyboard keys
 

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8317 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-09-30 04:24:36 +00:00