5688 Commits

Author SHA1 Message Date
tiatin
9b0422fc3c Added iteration using iterator, if List is not ArrayList.
Reason for this is that if List is LinkedList, complexity for get(int i) is O(n/4).
2016-06-26 15:08:09 +03:00
tiatin
93c2fd1989 Changed iteration over List from for-each to manual iteration.
For-Each loop creates Iterator object and uses hasNext and next methods, which are slower, than manual iteration. Also allocating Iterator object increases work for GC.

Forum post: https://hub.jmonkeyengine.org/t/iteration-over-list-performance-improvement/36250

See test 9 for more details: http://www.devahead.com/blog/2011/12/coding-for-performance-and-avoiding-garbage-collection-in-android/
2016-06-26 15:08:06 +03:00
empirephoenix
2c3d94a166 Merge pull request #504 from davidB/v3.1
nifty-gui: upgrade from 1.4.1 to 1.4.2, available on maven central wi…
2016-06-22 16:19:51 +02:00
Paul Speed
a2efd1323f Merge pull request #509 from davidB/patch-1
travis: disable uploadArchives
2016-06-13 02:24:45 -04:00
David Bernard
758fdcf394 travis: disable uploadArchives
without uploadArchives no more snapshots, but you can release (beta2,...)
2016-06-12 21:53:57 +02:00
David Bernard
f46680815d nifty-gui: upgrade from 1.4.1 to 1.4.2, available on maven central with the new “official” groupId: com.github.nifty-gui 2016-06-05 10:53:54 +02:00
Nehon
3d1a541903 Fixed an issue when resizing the viewport, with a FPP and antialiasing would stop rendering 2016-06-02 18:54:42 +02:00
Nehon
6bdf479a0a Fixed an issue in the fog filter's shader that was preventing it to run on android 2016-05-19 18:53:26 +02:00
Rémy Bouquet
29dfff223c proper equal and hashcode for ShaderNodesVariables. 2016-05-14 23:46:21 +02:00
Kirill Vainer
4faf6cf36c Merge pull request #491 from riccardobl/AddGimpactCollisionAlgo
Fix GImpact passing through other shapes.
2016-05-04 13:52:23 -04:00
Kirill Vainer
d27b26805a bullet native: fix mingw target platform 2016-05-04 13:24:04 -04:00
Kirill Vainer
b2a57e130a travis: set known hosts using travis config 2016-05-03 22:44:00 -04:00
Kirill Vainer
fafccdf15e pom: fix incorrect inception year 2016-05-03 22:44:00 -04:00
Kirill Vainer
513fc08fb6 travis: only create dist if deploying 2016-05-03 22:44:00 -04:00
Kirill Vainer
3419256941 travis: use cache rules from docs 2016-05-03 22:44:00 -04:00
Kirill Vainer
2a0a9e7b6e build: fix build error 2016-05-03 22:44:00 -04:00
Kirill Vainer
a7b20629e7 build: update to gradle 2.13 2016-05-03 22:43:59 -04:00
Kirill Vainer
8416dd8c65 travis: dont cache netbeans folder anymore 2016-05-03 22:43:59 -04:00
Kirill Vainer
7d4a34f96f build: check file exists before getting text
Conflicts:
	jme3-core/build.gradle
2016-05-03 22:43:55 -04:00
Kirill Vainer
804c173757 build: minor cleanup 2016-05-03 22:41:54 -04:00
Kirill Vainer
6dfd59ea73 android-examples: use correct maven group 2016-05-03 22:41:54 -04:00
Kirill Vainer
8f7abca01b niftygui: add nifty repository to POM 2016-05-03 22:35:42 -04:00
Kirill Vainer
2c94a3f538 travis: treat v3.1 branch as trunk 2016-04-26 20:15:25 -04:00
Kirill Vainer
652358038d version: treat this branch as trunk 2016-04-26 20:11:17 -04:00
Paul Speed
2fd9da3d50 Merge pull request #487 from Dokthar/joysticks
Joystick detection on linux and more... (v3.1)
2016-04-25 17:51:50 -04:00
Dokthar
5facee58e6 joystick : revert commented out sysout on axis update 2016-04-25 22:59:32 +02:00
Dokthar
119a076f11 joystick : if a button id isn't a numeric it will be set to the button index 2016-04-25 21:05:35 +02:00
Dokthar
256abb38fa joystick : added mapping for two gamepads
- the "GASIA CORP. PLAYSTATION(R)3 Controller"
- the "DragonRise Inc.   Generic   USB  Joystick"
2016-04-25 21:01:00 +02:00
Dokthar
a7766c6855 joystick : added a easier way to create custom joystick/gamepad mappings :
- push the joystick/gamepad button
- if the wrong button is highlighted, click with the mouse on the correct button (on the gamepad gui)
- this will print the string to be inserted into the joystick-mapping.properties file
2016-04-25 20:57:48 +02:00
Dokthar
5e594a87d2 joystick : add trim() to each joystick name input 2016-04-25 20:52:04 +02:00
MeFisto94
310f4db6ad Fixed some Reflection Errors due to the Switch from Application to LegacyApplication v3.1.0-beta1 2016-04-24 21:52:25 +02:00
Kirill Vainer
d044ad13e1 Fix issue #479 2016-04-23 15:37:33 -04:00
Kirill Vainer
185eb7b6e5 Merge pull request #481 from riccardobl/fix_setAdamping_bulletnative
Fix for setAngularDamping / bullet native.
2016-04-23 15:28:34 -04:00
Kirill Vainer
0f5514192a travis: update known hosts file 2016-04-23 14:57:28 -04:00
Kirill Vainer
f692f82e96 travis: update the www-updater key 2016-04-23 14:45:51 -04:00
Kirill Vainer
656a86ba0e Merge pull request #482 from Dokthar/readme-patch
fix readme links
2016-04-22 20:13:40 -04:00
Kirill Vainer
8d132d35f0 bullet native: update OSX natives 2016-04-22 10:55:10 -04:00
Kirill Vainer
039043daac native bullet: update Windows / Linux natives 2016-04-22 00:24:41 -04:00
Kirill Vainer
34df2ebabf native bullet: hide unexported symbols 2016-04-22 00:23:50 -04:00
Dokthar
0f1f1e6bc7 fix readme links 2016-04-21 22:36:04 +02:00
Riccardo Balbo
d2c608c788 Fix for setAngularDamping / bullet native. 2016-04-21 18:33:50 +02:00
Kirill Vainer
3353aea546 fix Uniform issue related to material changes 2016-04-20 16:41:01 -04:00
Kirill Vainer
e71cf81b96 J3M: allow static pass lighting to be selected 2016-04-20 16:40:11 -04:00
Nehon
091b8664ad Fixed an issue where Vector3f.NAN constant reference was assigned to an attribute instead of being cloned in AudioNode. 2016-04-17 14:15:48 +02:00
iwgeric
e837336116 Merge remote-tracking branch 'origin/master' 2016-04-11 19:42:11 -04:00
iwgeric
5be0edfd31 Update native bullet libraries for Android 2016-04-11 19:36:42 -04:00
iwgeric
3ae3b0064e Remove static from method
Having the method static was causing javah to change the signature of the native method which caused compiling errors
2016-04-11 19:33:22 -04:00
iwgeric
7de6199bb5 Fix issue detecting Android NDK and property to build native projects 2016-04-11 19:31:48 -04:00
iwgeric
ae2cb3b740 Fix issue detecting Android NDK and property to build native projects 2016-04-11 19:31:04 -04:00
iwgeric
f3177535a7 Fix issue detecting Android NDK and property to build native projects 2016-04-11 19:30:37 -04:00