Commit Graph

6720 Commits

Author SHA1 Message Date
Fabio Alessandrelli 0dc62633e6 Socket helpers now fall back to ipv4 on systems where ipv6 is disabled.
(cherry picked from commit 020f6a7f20)
2017-05-12 20:01:53 +02:00
Fabio Alessandrelli 56e23624bf Fix bug in pause mode propagation
Pause mode was not correctly propagating effectively stopping
immediately when the mode was not PAUSE_MODE_INHERIT.

(cherry picked from commit a5ce7a98cb)
2017-05-12 20:01:53 +02:00
Fabio Alessandrelli 5521325068 Better explain out of memory error in message queue
Also effectively saves one unnecessary call when everything is fine.

(cherry picked from commit 1a7aafa90d)
2017-05-12 20:01:53 +02:00
Fabio Alessandrelli e9a7eeaf9c Fix UDP wait() not returning after first received packet
(cherry picked from commit 5c6715a291)
2017-05-12 20:01:53 +02:00
Fabio Alessandrelli bd26eacc59 Allow non blocking UDP put_packet in C++.
- Add blocking mode option to PacketPeerUDP.
- put_packet returns ERR_UNAVAILABLE when operation would block.
- ENet module uses non-blocking UDP.

(cherry picked from commit 5f681d0b0f)
2017-05-12 20:01:53 +02:00
Rémi Verschelde e7328fe5a0 Fix return statement in CanvasItem::get_global_transform_with_canvas
Thanks to @susnux for the report and patch in #5446.
2017-05-12 19:54:54 +02:00
Rémi Verschelde 05d83a62c6 Merge pull request #8695 from BastiaanOlij/mfi_support_2.1
iPhone MFI gamepad support
2017-05-12 18:16:41 +02:00
Rémi Verschelde 353ed88a54 Merge pull request #8724 from volzhs/android-jni
Fix compile error when use "android_add_jni_dir"
2017-05-12 08:24:32 +02:00
Rémi Verschelde 229c277585 Merge pull request #8722 from volzhs/fix-android
Fix possible memory leak for Android and update gradle
2017-05-12 08:24:09 +02:00
volzhs 69c4c4a20c Fix compile error when use "android_add_jni_dir" 2017-05-12 15:07:41 +09:00
volzhs c7d3aac505 Update to latest gradle 2017-05-12 14:38:23 +09:00
volzhs a6c74136b5 Fix possible memory leak for Android
/godot_dev/platform/android/java/src/com/google/android/vending/expansion/downloader/impl/DownloaderService.java:575: Error: The WIFI_SERVICE must be looked up on the Application context or memory will leak on devices < Android N. Try changing  to .getApplicationContext()  [WifiManagerLeak]
            mWifiManager = (WifiManager) getSystemService(Context.WIFI_SERVICE);
                                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

   Explanation for issues of type "WifiManagerLeak":
   On versions prior to Android N (24), initializing the WifiManager via
   Context#getSystemService can cause a memory leak if the context is not the
   application context. Change context.getSystemService(...) to
   context.getApplicationContext().getSystemService(...).

1 errors, 0 warnings
2017-05-12 14:38:15 +09:00
Pedro J. Estébanez 5e4216fd49 Fix one-way-collision detection
Also, change the explanation of the one-way collision direction in the docs to reflect how it is actually used by the engine and clear up the usage of the "max depth" property.
2017-05-11 02:45:48 +02:00
BastiaanOlij de9efc2fdf iPhone MFI gamepad support 2017-05-09 08:57:17 +10:00
Rémi Verschelde 52f91cf139 Doc: Drop unmaintained converters for html, textile, dokuwiki
(cherry picked from commit 5d10b8fabd)
2017-05-07 12:13:10 +02:00
Rémi Verschelde 54b0c2363d Doc: Remove unused tool translation
(cherry picked from commit 091b30d4cb)
2017-05-06 22:55:44 +02:00
Rémi Verschelde e3cf067845 X11: Abort build if using OpenSSL 1.1.0+
Workaround until #8624 is fixed.

(cherry picked from commit 2976801012)
2017-05-06 19:01:33 +02:00
Rémi Verschelde cd403ecd9c Merge pull request #8657 from Faless/fix_audio_listener_2d
Fixes to AudioListener2D
2017-05-05 23:06:49 +02:00
Rémi Verschelde c1e0ed4d8b Merge pull request #8643 from RandomShaper/fix-atlas-repeat-2.1
Fix inverted logic for atlas repeat (2.1)
2017-05-05 23:03:29 +02:00
Rémi Verschelde 056be08ab4 Merge pull request #8641 from RandomShaper/fix-pack-get-curr-dir-2.1
Fix infinite loop in DirAccessPack::get_current_dir() (2.1)
2017-05-05 23:02:17 +02:00
Rémi Verschelde 4db6b8ff85 Merge pull request #8619 from akien-mga/3.0-exporter
Fixes to 3.0 exporter: fix rotations, remap animation tracks
2017-05-05 22:51:38 +02:00
Fabio Alessandrelli 33cb061fe3 Fix SpatialSound2DServer error when camera distance is 0
SpatialSound2DServer now correctly uses a minimum distance of 0.1
when calculating pitch_scale for spatial sounds.
2017-05-05 19:01:19 +02:00
Fabio Alessandrelli 2665460390 Fix bug with viewport not correctly setting audio listener 2d 2017-05-05 15:21:42 +02:00
Pedro J. Estébanez ceb1f7afda Fix inverted logic for atlas repeat 2017-05-04 14:27:06 +02:00
Pedro J. Estébanez 0469782d3c Fix infinite loop in DirAccessPack::get_current_dir() 2017-05-04 02:18:39 +02:00
Andrea Faulds aa66530010 Add double-sided flag to SpriteBase3D (fixes #8007) 2017-05-02 15:48:16 +01:00
Rémi Verschelde 17619b5420 Merge pull request #8435 from hikari-no-yume/scene_import_rigidonly_flag
Scene importer: add -rigidonly flag for empties (fixes #8430)
2017-05-02 11:32:00 +02:00
Rémi Verschelde e936089161 Merge pull request #8561 from volzhs/modulate-transparency-2.1
Show transparency and accurate color for property
2017-05-02 11:28:28 +02:00
Rémi Verschelde dd5fd4fdac Merge pull request #8542 from RandomShaper/opt-out-capitalization-2.1
Add setting to opt-out of capitalization in property inspectors (2.1)
2017-05-02 11:25:25 +02:00
Rémi Verschelde 13d1df2e4b Fixes to 3.0 exporter: fix rotations, remap animation tracks
Also fixed some spacing issues to better match to .tscn format as written
by Godot 3.0.
2017-05-01 23:09:38 +02:00
Andrea Faulds c6fa193d66 Scene importer: add -rigidonly flag for empties (fixes #8430) 2017-04-30 16:27:00 +01:00
Rémi Verschelde fb8cee9af9 Ignore gles3 artifacts to ease git branch switching 2017-04-28 15:19:08 +02:00
volzhs e592860145 Show transparency and accurate color for property 2017-04-28 02:09:18 +09:00
Pedro J. Estébanez 9a0e08a352 Add setting to opt-out of capitalization in the property inspector 2017-04-27 08:46:45 +02:00
Rémi Verschelde 6cde867b2f Merge pull request #8536 from volzhs/tr-fallback
Fix wrong fallback for locale (2.1)
2017-04-26 08:15:07 +02:00
Rémi Verschelde 8a7ff259cb Merge pull request #8534 from volzhs/android-obb-2.1
Fix error or download again if use obb for Android (2.1)
2017-04-26 08:14:48 +02:00
Rémi Verschelde 13b15633d3 Merge pull request #8529 from volzhs/auto-accept-quit
Fix auto_accept_quit option to work (2.1)
2017-04-26 08:13:49 +02:00
volzhs cfa943a0eb Fix wrong fallback for locale 2017-04-26 04:45:52 +09:00
volzhs 7919ce782b Fix error or download again if use obb for Android 2017-04-26 03:43:38 +09:00
volzhs edefaa768b Fix auto_accept_quit option to work
auto_accept_quit value is set first properly with GLOBAL_DEF("application/auto_accept_quit", true) in main.cpp
after that it's reset to true in SceneTree:init() whatever value was.
2017-04-25 19:54:08 +09:00
Rémi Verschelde ea89c56bfb Merge pull request #8474 from allkhor/pr-fix-cherry-2.1
ScriptEditor: Fixes bug where menu option would be handled twice (2.1)
2017-04-24 11:22:14 +02:00
Rémi Verschelde 6aaec01e99 Merge pull request #8272 from MattUV/2.1
Add methods to get and set bits of collision layers and masks for TileMaps (2.1)
2017-04-24 11:13:33 +02:00
allkhor b010b4a85c ScriptEditor: Fixes bug where menu option would be handled twice (2.1)
(cherry picked from commit 97c385d)
2017-04-21 03:11:32 +06:00
Rémi Verschelde ebddc57eb1 Merge pull request #8466 from RandomShaper/fix-ik-2.1
Fix IK not being solved while dragging a bone (2.1)
2017-04-20 16:32:20 +02:00
Pedro J. Estébanez f5be049dd8 Fix IK not being solved while dragging a bone 2017-04-20 16:18:47 +02:00
Rémi Verschelde 90576e0c7a Merge pull request #8358 from volzhs/script-filename-2.1
Show script filename instead of thumbnail (2.1)
2017-04-20 02:09:13 +02:00
Rémi Verschelde f9bde9ddf7 Adapt Godot 3 exporter to new project file extension 2017-04-20 01:55:54 +02:00
Rémi Verschelde ef351971d8 Drop EXEC PATHP?? super verbose info message
It seems to give nightmares to Windows users.

(cherry picked from commit dd55950b62)
2017-04-20 01:55:54 +02:00
Rémi Verschelde 6b0c384f79 Merge pull request #8442 from volzhs/error-load-icon-2.1
Fix error for loading icon image at start up
2017-04-18 00:07:09 +02:00
Rémi Verschelde 5ea3c0350a Merge pull request #8429 from RandomShaper/fix-sample-lib-editor-2.1
Fix inability to remove samples from libraries (2.1)
2017-04-17 23:45:13 +02:00