Fabio Alessandrelli
1aff508dd9
IP_Address now handle IPv4 and IPv6 transparently
...
IP_Address changes:
- Converts to and from String transparently while handling IPv4 as IPv6
mapped (::ffff:[IP]) address internally.
- Completely remove AddrType enum.
- Setting/Getting of ip array is now only possible through dedicated functions
(ie. set_ipv4, get_ipv4, set_ipv6, get_ipv6)
- Add function to know if the address is a valid IPv4 (for IP implementation and enet)
2016-12-09 18:24:59 +01:00
Fabio Alessandrelli
a77a0118f6
Allow setting ip_type for TCP/UDP and HTTP classes
2016-12-09 18:24:59 +01:00
Fabio Alessandrelli
c18c5013f8
Migrate int.IP_TYPE_ constants to IP.TYPE_
2016-12-09 18:24:59 +01:00
Fabio Alessandrelli
4d90a4fcd5
Move V6ONLY flag selection inside helpers
2016-12-09 18:24:59 +01:00
Fabio Alessandrelli
9200da58e4
Automatically map IPv4 address to IPv6 when needed
2016-12-09 18:24:59 +01:00
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
Juan Linietsky
18ebd22000
Multi stage glow with light bleeding from HDR
2016-12-08 09:48:38 -03: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
Juan Linietsky
8534ced22d
Tonemapping and Auto Exposure support
2016-12-07 17:49:52 -03: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
Juan Linietsky
9bc506067a
fix small issue with copying reflections
2016-12-04 13:08:38 -03:00
Patrick Reh
4118b21e43
small improvement to y_sort: make clear which item has to be drawn first when two have the same y-coordinate
2016-12-04 16:51:58 +01:00
Juan Linietsky
a299c3ebf1
Support for SSAO
2016-12-04 12:45:30 -03: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
e741da869a
Curve2D/3D: Add clear_points method.
...
Adds a method to the Curve2D and Curve3D classes to easily clear the curve.
So you don't have to remove each point manually.
2016-12-03 21:35:59 +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
Juan Linietsky
27a46d78ec
Subsurface scattering material param is now working!
2016-12-02 22:23:16 -03: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
8c6a586b75
Merge pull request #7207 from Valentactive/gles3_shader_headers
...
adds gles3 auto generated shader header files to ".gitignore"
2016-11-30 07:40:48 +01:00
Juan Linietsky
1652f876fd
Add missing glsl file and remove generated .h files
2016-11-30 07:36:56 +01:00
Michele Valente
9fa6967c24
adds gles3 auto generated shader header files
...
Just added the gles3 shader header files entry to ".gitignore" so we
avoid to accidentally commit also those generated files.
2016-11-30 00:35:04 +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
Juan Linietsky
a47c78aed1
Screen space reflection effect
2016-11-29 19:55:12 -03: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