Commit Graph

6752 Commits

Author SHA1 Message Date
Hein-Pieter van Braam 2085bcce3b Allow inlining of all parts of safe_refcount
Differences with this aren't huge but the effort is minimal, in some
workloads gain a couple of percent of performance.
2018-04-25 17:49:10 -04:00
Pedro J. Estébanez 4cb50673d7 Add support for ARMv8 (64-bit) on Android 2018-04-25 17:49:04 -04:00
Guilherme Felipe d65e95e5d6 Add support for atlas texture on set_custom_mouse_cursor 2018-04-24 18:19:10 -03:00
Guilherme Felipe 6217457b14 [2.1] Fix custom cursor when it's hidden
Port of #18075
2018-04-22 12:05:33 -03:00
Rémi Verschelde 83d5db294d
Merge pull request #18240 from xsellier/bugfix/mutex-error-android
Bugfix/mutex error android
2018-04-17 10:38:32 +02:00
Xavier Sellier 692f4250e7 Trying to create a mutex twice 2018-04-16 17:12:40 -04:00
Rémi Verschelde a524cc92e7
Merge pull request #18006 from guilhermefelipecgs/remove_cursor_size_restriction_2_1
[2.1 port] Remove size restriction for mouse cursor
2018-04-06 07:45:22 +02:00
Guilherme Felipe 0988796f3c Remove size restriction for mouse cursor 2018-04-05 15:35:20 -03:00
Rémi Verschelde 1c81775f8a
Merge pull request #17999 from xsellier/bugfix-17987/input-device-management
Prevent a device to be added/deleted more than once on Android
2018-04-05 18:34:03 +02:00
Rémi Verschelde 14a5888a80
Merge pull request #17954 from xsellier/bugfix/null-pointer-exception-android-payment
Prevent NullPointerException when data is null during a Payment
2018-04-05 18:31:14 +02:00
Rémi Verschelde ac68513a97
Merge pull request #17998 from xsellier/bugfix-17988/set_accelerometer-android
Initialize sensors to default values for Android platform
2018-04-05 18:30:53 +02:00
Xavier Sellier fb5a601217 Prevent a device to be added/deleted more than once on Android 2018-04-05 10:15:57 -04:00
Xavier Sellier d87578c3cd Prevent NullPointerException when data is null during a Payment 2018-04-05 09:59:02 -04:00
Xavier Sellier 21d03317d7 Initialize sensors to default values for Android platform 2018-04-05 09:50:22 -04:00
Rémi Verschelde f5b95f0f81
Merge pull request #17974 from xsellier/bugfix/improve-opensl-stability-onandroid-samsung
Bugfix/improve opensl stability onandroid samsung
2018-04-05 13:08:07 +02:00
Xavier Sellier 657bf8c1a3 Add check when pausing/unpausing audio OpenSL interface (android) 2018-04-04 14:37:41 -04:00
Stefano Bonicatti 1d0b8219ce Fix Sprite3D alpha_cut member not being initialized
(cherry picked from commit a15721e5c9)
2018-04-04 17:12:15 +02:00
Rémi Verschelde e5979f5772
Merge pull request #17950 from xsellier/bugfix/clipboard-not-working-on-android
Add clipboard operation for android OS
2018-04-04 12:39:58 +02:00
Xavier Sellier 4d2853fcdc Add clipboard operation for android OS 2018-04-03 13:27:00 -04:00
Rémi Verschelde 0b180a0732 Last -Wc++11-narrowing fix for clang 6.0
Was meant to be in b29b35c but forgot to amend it.
Fixes #17944.
2018-04-03 15:59:57 +02:00
Rémi Verschelde b29b35cee5 Fix more -Wc++11-narrowing errors with clang
Follow-up to and fixes #17725 (again).
2018-04-03 13:09:53 +02:00
Rémi Verschelde 92030e31fe
Merge pull request #17879 from xsellier/cherry-pick/queue_delete
Cherry pick/queue delete
2018-04-03 11:07:04 +02:00
Rémi Verschelde fe04134138 Let queue_free() work on nodes which are not in the scene tree
In practice such nodes could directly be free()'ed, but this little change
prevents users from leaking memory by mistake.
Closes #9074.
2018-03-30 19:55:42 -04:00
Rémi Verschelde 298548df4e
Merge pull request #17804 from RandomShaper/fix-orphan-collider-crash-2.1
Add null check to CollisionPolygon2D
2018-03-28 09:33:57 +02:00
Pedro J. Estébanez 00c308a8fa Add null check to CollisionPolygon2D
It's `_update_xform_in_parent()` wasn't null-checking, while other colliders like `CollisionShape2D` were.

Fixes #17780.
2018-03-27 19:37:51 +02:00
Rémi Verschelde 3764cf6245 Fix visibility toggle for Spatials in SceneTreeEditor
Fixes #17722, was a regression from #15239.
2018-03-24 16:54:05 +01:00
Rémi Verschelde 60835ce88e X11: Fix -Wc++11-narrowing error with clang
Fixes #17725.
2018-03-24 12:16:32 +01:00
Rémi Verschelde 5b23d571b1 Bump version to 2.1.5-rc 2018-03-23 14:31:00 +01:00
Rémi Verschelde ddcea2a7dd
Merge pull request #17366 from xsellier/feature/add-encrypt-decrypt-string
Add encrypt_text/decrypt_text function using aes256 algorithm (2.1.5)
2018-03-23 11:35:07 +01:00
Rémi Verschelde 3e52b31218
Merge pull request #17678 from RandomShaper/fix-unilateral-joints-2.1
Fix any joint requiring two bodies
2018-03-21 21:55:16 +01:00
Rémi Verschelde 87636e1caa Style fixes 2018-03-21 21:47:17 +01:00
Pedro J. Estébanez 6c76b3447d Fix any joint requiring two bodies 2018-03-21 21:44:37 +01:00
Rémi Verschelde f6bf93c7c8 2to3 exporter: Better handling of anchors and margins + more fixes
- Properly handle anchors changing from enum-based to a float ratio
- Flip margins when needed to match the new anchoring system
- Reuse type renames in the script converter to fix more types and usages
- Convert .pos, _rot(, _speed( and set_hidden() in scripts
2018-03-21 21:33:06 +01:00
Rémi Verschelde 0b55481cea
Merge pull request #17663 from xsellier/bugfix/17654-split-screen
Android split screen
2018-03-21 14:02:37 +01:00
Xavier Sellier 7535698c8a Prevent android to split-screen
Add android:resizeableActivity='false' to the manifest.
2018-03-20 21:35:11 -04:00
Xavier Sellier 0332719b91 Add encrypt_text/decrypt_text function using aes256 algorithm 2018-03-20 10:38:51 -04:00
Rémi Verschelde 940bab2734
Merge pull request #17646 from volzhs/android-device-info-2.1
Fix getting Android device information (2.1)
2018-03-20 11:28:46 +01:00
volzhs 79f155a42e Fix getting Android device information 2018-03-20 14:18:38 +09:00
Rémi Verschelde 42ad56c95c 2to3 exporter: Fix recursion in Pool*Array conversions 2018-03-19 11:30:35 +01:00
Rémi Verschelde 87479177e7
Merge pull request #17560 from akien-mga/2to3-exporter
2 to 3 converter: More fixes to the property renames
2018-03-19 11:17:56 +01:00
Rémi Verschelde 8fd6543520 2to3 exporter: Bunch of improvements and fixes
- Fixed properties with different renames based on node type:
  * Convert Joint2D's "collision/exclude_nodes" to "disable_collision"
  * Convert TextureProgress' "mode" to "fill_mode"
  * Convert Sprite and Sprite3D's "region" to "region_enabled"
- Fixed swapping "Fill" and "Expand" in size_flags
- Handle converting [self_]opacity to [self_]modulate.a, including in animations
- Fixed signals:
  * Add a bunch of missed signal renames
  * Properly convert AnimationPlayer and AnimatedSprite's "finished" to
    "animation_finished"
- Reduce diff in signal connections for tscn
- Script converter:
  * Convert _input_event( to _gui_input(
  * Convert self_opacity to self_modulate.a
  * Convert ReferenceFrame to ReferenceRect
  * Add missing Pool*Array conversions
2018-03-19 10:33:18 +01:00
Rémi Verschelde cb8b9a7ee9 2to3 exporter: Document classes for each property rename 2018-03-19 10:33:18 +01:00
Rémi Verschelde 6d6013138e 2to3 exporter: Review all property renames
Fix some bugs with missing or incorrect renames in the process.
2018-03-19 10:33:18 +01:00
Rémi Verschelde 7e042474ea 2to3 exporter: Remove duplicate renames 2018-03-19 10:33:18 +01:00
Rémi Verschelde 5c81a4b072 2to3 exporter: Reorder rename mappings alphabetically 2018-03-19 10:33:18 +01:00
Rémi Verschelde 6b0cf3f3ef
Merge pull request #17616 from eska014/2.1-html5
2.1 HTML5 fixes
2018-03-19 06:20:24 +01:00
Leon Krause 6e549d41eb Fix inverted relative mouse motion in HTML5 export
(cherry picked from commit 640d8cc5d2)
2018-03-18 18:14:03 +01:00
Leon Krause c445ba29aa Fix HTML5 key events 2018-03-18 18:14:03 +01:00
Leon Krause 4e0643a51c Fix HTML5 start-up, remove godotfs.js 2018-03-18 18:13:55 +01:00
Rémi Verschelde f4373311e7
Merge pull request #17557 from akien-mga/2to3-exporter
Bugfix and improvements to the 2 to 3 converter
2018-03-16 14:23:15 +01:00