Commit Graph

6269 Commits

Author SHA1 Message Date
Fabio Alessandrelli d194e1c48e Expose HTTP classes' set_ip_type to scripting 2016-12-13 11:09:37 +01:00
Rémi Verschelde afbe013ba1 Merge pull request #7283 from Hinsbart/clear_curve
Curve2D/3D: Add clear_points method.
2016-12-13 08:44:40 +01:00
Rémi Verschelde b59b37649a Merge pull request #7282 from Tugsav/linux_sound_crash_fix
fix for crash when no ALSA or Pulse installed on linux
2016-12-13 08:44:11 +01:00
Rémi Verschelde 44ec42bafc Merge pull request #7241 from lonesurvivor/master
y_sort: make clear which item has to be drawn first when two have the same y-coordinate
2016-12-13 08:41:22 +01:00
Gustav Lund 2495e8a941 fix for crash when no ALSA or Pulse installed on linux 2016-12-12 10:47:41 +01:00
Ignacio Etcheverry 043ece3e11 Merge pull request #7275 from neikeq/pr-wrong-bind
KinematicBody: Fix wrong method bind return type
2016-12-10 16:26:05 +01:00
Ignacio Etcheverry d579d0a814 KinematicBody: Fix wrong method bind return type 2016-12-10 16:23:47 +01:00
Juan Linietsky 22a90e8f2a DOF blur, near and far fields.. 2016-12-10 01:13:20 -03:00
Fabio Alessandrelli de23ce11b5 Remove old unused AI_V4MAPPED flag to getaddrinfo 2016-12-09 23:38:14 +01:00
Fabio Alessandrelli c1c1ec690e Separate hostname resolve cache based on ip_type 2016-12-09 18:24:59 +01:00
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