Commit Graph

5944 Commits

Author SHA1 Message Date
Andreas Haas a46dcfe12f Core: fix possible memory leaks.
(cherry picked from commit a2734df7ed)
2017-05-26 17:38:05 +02:00
curtisxk38 5a1bcae6c2 Fix typo in Parser Error message
(cherry picked from commit d35fab7382)
2017-05-26 17:37:46 +02:00
Rémi Verschelde 9391641356 Fix URLs to moved docs pages
Closes #8266.

(cherry picked from commit 4989cc3617)
2017-05-26 17:36:43 +02:00
Rémi Verschelde 99f65fcb4f Merge pull request #8922 from volzhs/fix-android-build
Fix android build regression by 69c4c4a
2017-05-26 16:00:50 +02:00
volzhs c6ebb6a40c Fix android build regression by 69c4c4a 2017-05-26 20:42:36 +09:00
Rémi Verschelde 29c7118f32 Merge pull request #8913 from RandomShaper/ios-alert-2.1
Implement OS.alert() for iOS (2.1)
2017-05-26 07:56:24 +02:00
Pedro J. Estébanez b870ff6940 Implement OS.alert() for iOS 2017-05-25 17:30:36 +02:00
Rémi Verschelde e65d7a0df7 Merge pull request #8787 from Zireael07/vehicle-improvements
Expose wheel's contact to GDScript and set roll influence in editor [2.1]
2017-05-22 07:50:37 +02:00
Rémi Verschelde bd1c3b31a5 Merge pull request #8820 from zlsa/2.1
Export nested nodes in TileSet scenes; resolves #8819.
2017-05-20 09:50:37 +02:00
Rémi Verschelde 2c5a4534f9 Merge pull request #8823 from volzhs/android-payment
Fix android payment logical error
2017-05-20 09:49:13 +02:00
Jon Ross 4ed2722589 Fix #8819. Adds _import_node() that, when used in conjunction with _import_scene, recurses through the scene tree and exports all available nodes. 2017-05-19 14:01:28 -07:00
Zireael07 307c5c1afc GDScript can now tell if the wheel is in contact with the ground; change roll influence of the wheel in editor 2017-05-19 11:50:23 +02:00
volzhs d4ef6216d3 Fix android payment logical error
getting sku detail runs only if mod != 0 which means querying 20*n will not get sku details.
referenced from https://github.com/googlesamples/android-play-billing/blob/master/TrivialDrive/app/src/main/java/com/example/android/trivialdrivesample/util/IabHelper.java#L1029-L1062
2017-05-19 12:11:59 +09:00
Rémi Verschelde 06f77f941b Merge pull request #8797 from RandomShaper/gdfs-ext-check-2.1
Add extended check option to GDFunctionState::is_valid() (2.1)
2017-05-18 18:51:13 +02:00
Rémi Verschelde 23fb7d29c2 Merge pull request #8808 from RandomShaper/mq-flush-reentrant-2.1
Make MessageQueue::flush() reentrant (2.1)
2017-05-18 18:49:41 +02:00
Pedro J. Estébanez fa4b09f63d Make MessageQueue::flush() reentrant 2017-05-18 13:01:12 +02:00
Pedro J. Estébanez 7b192313b3 Add extended check option to GDFunctionState::is_valid() 2017-05-17 14:47:17 +02:00
Rémi Verschelde 21bf3778d5 Merge pull request #8776 from RandomShaper/fix-sample-priority-2.1
Fix priority in sample players (2.1)
2017-05-16 08:12:52 +02:00
Rémi Verschelde 5436543122 Merge pull request #8779 from RandomShaper/updgrade-android-build-tools-2.1
Upgrade Android build tools to the latest (2.1)
2017-05-16 07:26:56 +02:00
Pedro J. Estébanez deda04faff Upgrade Android build tools to the latest 2017-05-16 00:54:54 +02:00
Pedro J. Estébanez 40e7f1c3d5 Fix priority in sample players 2017-05-15 20:24:38 +02:00
Rémi Verschelde aa046a85dc Merge pull request #8740 from pixelpicosean/scrollingWithFactor
Implemented scrolling factor for precision trackpads for 2.1
2017-05-15 07:57:05 +02:00
Rémi Verschelde caeee17846 Merge pull request #8734 from Faless/various_2.1_cherries
Various 2.1 cherry picks
2017-05-15 07:55:27 +02:00
Sean Bohan ee670f3724 Implemented scrolling factor for smooth trackpad scrolling
Working platforms platform: OSX, Windows.
Support for almost all ui elements, including project list.

Ported from 304a1f5b5a (#7864).
Fixes #492 and #3913.
2017-05-15 06:44:00 +08:00
Fabio Alessandrelli 3044d0aed3 Compression::compress properly returns compressed size
selective pick from cbbcf72703
2017-05-12 20:01:53 +02:00
Fabio Alessandrelli aa167fa04b Rename debug/debug_port to network/debug_port.
Expose it in editor settings.
2017-05-12 20:01:53 +02:00
Fabio Alessandrelli 7a4dc3be41 Allow selecting editor debug host and port.
Possibly fixes various editor<->debugger connection related problems.

(cherry picked from commit 98eb58a93c)
2017-05-12 20:01:53 +02:00
Fabio Alessandrelli baa175d7f8 Fix local ip addresses (interfaces) detection.
Ignore non-IP addresses for both windows and unix

(cherry picked from commit a1c41be569)
2017-05-12 20:01:53 +02:00
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
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