Commit Graph

6016 Commits

Author SHA1 Message Date
Fabio Alessandrelli 95bdd97768 Use an instance variable for ip_type in raw sockets
PacketPeerUDP/StreamPeerTCP/TCP_Server now uses an instance variable
to store the selected ip_type (IPv4/IPv6/ANY, where ANY = dual stack).
All calls to resolve addresses, sending/receving data, connecting/listening
will use that socket type.
2016-12-09 18:24:59 +01:00
Fabio Alessandrelli 311f1f165b Fix getaddrinfo failing on android 2016-12-09 18:24:58 +01:00
Fabio Alessandrelli 4f07b595a1 Properly handle tcp connection failure 2016-12-09 18:24:58 +01:00
Fabio Alessandrelli cdc1ca0f13 Fix _set_ip_addr_port not setting the address. 2016-12-09 18:24:58 +01:00
Rémi Verschelde c3886e89cb Merge pull request #7267 from zaps166/webm-arm-fix-compilation
WebM: Fix compilation on Linux/X11 ARM platform
2016-12-08 07:47:56 +01:00
Rémi Verschelde 9b1e04f79e Merge pull request #7233 from Hinsbart/fix_dnd_crash
Fix crash on project importing by dragging a folder.
2016-12-08 07:46:19 +01:00
Rémi Verschelde e7cab423c2 Merge pull request #7229 from volzhs/show-selected-node
Show selected node in Scene dock when parent node is folded
2016-12-08 07:45:31 +01:00
Błażej Szczygieł 86a2a42303 WebM: Fix compilation on Linux/X11 ARM platform 2016-12-08 01:38:14 +01:00
George Marques edddee5d45 Merge pull request #7237 from Hinsbart/rand_initial_size
Particles2D: Fix initial size randomness property having no effect.
2016-12-05 22:18:03 -02:00
George Marques 4235abe8dc Merge pull request #7238 from Hinsbart/region_ed_fix_zoom
TextureRegionEditor: Fix mouse wheel scroll speed.
2016-12-04 11:43:23 -02:00
Rémi Verschelde 56195873b6 Remove incomplete Inverse Kinematic module
The plan is to implement IK properly in the core engine for version 3.1,
together with ragdolls in the Skeleton node to let them reuse the same
limits and constraints.

Therefore we remove this module as part of the API breakage in 3.0, so
that we are not limited by staying compatible with it in 3.1.
2016-12-04 11:53:59 +01:00
Andreas Haas c2040324be
TextureRegionEditor: Fix mouse wheel scroll speed.
Any given mouse wheel input will generate two InputEvents in godot.
The zoom methods here acted on both ones, effectively giving a step value of 4 instead of 2.
Fixes #7236
2016-12-03 21:38:49 +01:00
Andreas Haas 4dd6bead1f
Particles2D: Fix initial size randomness property having no effect.
It was just a little typo :p
2016-12-03 20:16:03 +01:00
Andreas Haas d82c2687f3
Fix crash on project importing by dragging a folder.
Fixes #7226
2016-12-02 18:51:31 +01:00
Rémi Verschelde 4d8bed3321 Merge pull request #7221 from zaps166/webm_crashfix
WebM: Fix crash when there is no audio stream
2016-12-02 08:58:08 +01:00
Rémi Verschelde 752f630f4e Merge pull request #7219 from eska014/separate-asmjs
Fix browser lockups in web export startup
2016-12-02 08:57:33 +01:00
Rémi Verschelde fb932d0f50 Merge pull request #7217 from eska014/js-os
Work on asm.js and WebAssembly platforms
2016-12-02 08:56:53 +01:00
Rémi Verschelde d311a39c19 Merge pull request #7191 from volzhs/check-android-release
Check keystore field when export Android release apk
2016-12-02 08:54:17 +01:00
volzhs a192e0785e Show selected node in Scene dock when parent node is folded
Fix #7228
2016-12-02 11:27:17 +09:00
Błażej Szczygieł 79f09b3f15 WebM: Fix crash when there is no audio stream
Sync with libsimplewebm-git: 05cfdc2
2016-12-01 12:00:17 +01:00
eska 290d79f26c Emit asm.js code into a dedicated file for asm.js export
This helps prevent browser lockups during start-up at the cost of having
to distribute an extra file.
2016-11-30 23:47:38 +01:00
eska 3e1b437315 Add window features in web export
- Add 'window' (canvas) resize, maximize and fullscreen
 - Implement get_screen_size
 - Fix fullscreen resolution
2016-11-30 22:04:35 +01:00
eska 30e9ea5a82 Fix some mouse bugs in WebAssembly/asm.js
- Emit mouse wheel release events
 - Set button masks, fixes #5092
2016-11-30 22:02:32 +01:00
eska a6ae3204fb OS additions and fixes for WebAssembly/asm.js
- Implement alert, shell_open, set_window_title
 - Add locale lookup, fixes #2477
 - Print without color control sequences
 - Move get_executable_path implementation to OS_JavaScript
2016-11-30 22:01:55 +01:00
Rémi Verschelde d5c6806e16 Travis: Disable Android builds for now
As we say in French, "Trop, c'est trop !".
Those builds fail 50% of the time due to timeouts, it's pointless to have them until we
find a better solution to install the Android SDK and NDK.

Workaround for #6973.
2016-11-30 09:21:13 +01:00
Rémi Verschelde 440c37fbd9 Revert "Do not emit NOTIFICATION_READY more than once (breaking change)"
This reverts commit b6eab006db.

This commit broke compatibility in an undesired way, as outlined in
https://github.com/godotengine/godot/issues/3290#issuecomment-263388003
2016-11-30 00:08:01 +01:00
volzhs 36b4b45170 Check keystore field when export Android release apk 2016-11-29 14:07:03 +09:00
Rémi Verschelde ab637bc812 Merge pull request #7201 from volzhs/android-alert
Add alert window on Android
2016-11-28 15:32:40 +01:00
Rémi Verschelde 8e4f10a3a1 Merge pull request #7200 from volzhs/fix-anim-scroll
Fix scroll bar moving in AnimationPlayer editor
2016-11-28 15:32:27 +01:00
Rémi Verschelde bb1201af1f Merge pull request #7198 from volzhs/fix-color-picker
Fix color selected with mouse scroll
2016-11-28 15:32:06 +01:00
Rémi Verschelde e297087cab Merge pull request #7195 from bugstew/texture_region_snap_mode
Fix snap mode selector sticking in texture region module
2016-11-28 15:31:42 +01:00
Rémi Verschelde 895b29978b Merge pull request #7184 from volzhs/spinbox
Prevent Spinbox value update while not focused or disabled
2016-11-28 15:28:55 +01:00
Rémi Verschelde 2cf4c5e173 Merge pull request #7170 from Ovnuniarchos/TileMapBlendMode
TileMap now honors blending mode.
2016-11-28 15:21:35 +01:00
Rémi Verschelde 39fede4b17 Merge pull request #7157 from leezh/buttonarray_fixes
Flat button support in ButtonArray. Fixes #7153
2016-11-28 15:20:07 +01:00
Rémi Verschelde 35e754db59 Merge pull request #7138 from bojidar-bg/ready_guard
Do not enter _ready twice
2016-11-28 15:19:50 +01:00
Rémi Verschelde f28ff8a208 Fix console output for MinGW compilers
Reworked patch from @jay3d (#7116).
2016-11-28 15:12:54 +01:00
volzhs 9a20068ab7 Add alert window on Android 2016-11-28 10:20:57 +09:00
volzhs babc5048dd Fix scroll bar moving in AnimationPlayer editor
Fix #7196
2016-11-28 02:41:47 +09:00
volzhs d9048309e4 Fix color selected with mouse scroll
Fix #7192
2016-11-28 01:58:01 +09:00
Dmitry Kram d766738991 Fix snap mode selector sticking in texture region module
When changing snap mode in texture region plugin ticks was not updating. Issue fixed changing order of setting checked status and setting snap mode.
2016-11-27 02:56:42 +02:00
Ovnuniarchos e07dd9ab32 TileMap now honors blending mode. 2016-11-24 21:28:10 +01:00
volzhs 4df33cbcb3 Prevent Spinbox value update while not focused or disabled 2016-11-25 03:15:42 +09:00
Rémi Verschelde cefb2de339 Merge pull request #7181 from BastiaanOlij/macosx-version-min
Set minimum version to 10.9 building OSX
2016-11-24 16:06:06 +01:00
BastiaanOlij da5651fbb9 Set minimum version to 10.9 building OSX 2016-11-25 00:55:13 +11:00
Rémi Verschelde f18470c199 Revert "X11: Fix maximized boot splash"
This reverts commit 8d3efe2b7d.
It introduced crashes for some users when trying to capture
the XConfigureNotify event.
2016-11-23 07:53:31 +01:00
George Marques a692b7a1c1 Merge pull request #7149 from Kazuo256/array-last
Add Array.front() and Array.back()
2016-11-22 08:08:59 -02:00
Rémi Verschelde 830ab4ea8d Merge pull request #7172 from Faless/fix_localize_path
Properly localize absolute path that starts with the resource folder.
2016-11-22 10:16:41 +01:00
Fabio Alessandrelli cdc97ca453 Properly localize absolute path.
Calling localize_path will return a localized path in res:// if the
path starts with the resource file-system/folder, and will return
the unchanged absolute path otherwise.

Closes #6979 and #7161.
2016-11-22 09:09:39 +01:00
Rémi Verschelde 9e2d09f580 Merge pull request #7145 from avril-gh/fixes-6464-lost-icons
fixes #6464 lost icons in dock and file dialog, also #6443 , #6302
2016-11-21 12:01:23 +01:00
romeojulietthotel f8d523b68b Correct description for the return values from get_status. (#7137) 2016-11-21 11:55:57 +01:00