Commit graph

5831 commits

Author SHA1 Message Date
eska
d6f2862429 Add option 'wasm' to compile to WebAssembly in web export
WebAssembly is still experimental, so disabled by default.

The HTML shell file now uses $GODOT_BASE, a placeholder for the
base filename, instead of $GODOT_JS, $GODOT_MEM and $GODOT_FS.
2016-10-31 01:28:01 +01:00
Rémi Verschelde
7384a6519f Merge pull request #6993 from eska014/remove-js-compression
Remove JavaScript compilation option 'compress'.
2016-10-31 12:43:57 +01:00
Rémi Verschelde
434d120226 Merge pull request #6981 from Faless/ipv6_fix
Use IPv6 dual stack socket by default. Allow restricting IP version for TCP/UDP.
2016-10-31 08:00:54 +01:00
Rémi Verschelde
de454318e7 Merge pull request #6991 from volzhs/fix-memleak
Fix memory leak with drag & drop on 2D viewport
2016-10-31 07:45:06 +01:00
volzhs
a7d492eb53 Fix memory leak with drag & drop on 2D viewport 2016-10-31 11:50:34 +09:00
Fabio Alessandrelli
bdc7ca84ca Define IPV6_V6ONLY flag if not defined on windows (old mingw versions) 2016-10-30 22:58:15 +01:00
Rémi Verschelde
1fde6f25cd Merge pull request #6989 from volzhs/out-of-size
Fix p_index out of size error when closing script
2016-10-30 22:46:23 +01:00
volzhs
707185d9d8 Fix p_index out of size error when closing script 2016-10-31 06:20:54 +09:00
Rémi Verschelde
ac8febdd97 Merge pull request #6986 from volzhs/fix-accept-dialog
Fix Accept/ConfirmationDialog UI broken
2016-10-30 19:51:39 +01:00
volzhs
8d5644c4b2 Fix Accept/ConfirmationDialog UI broken 2016-10-31 03:42:30 +09:00
volzhs
3f15a65307 Revert "Place child control under label in AcceptDialog."
This reverts commit 3ef2722904.
2016-10-31 03:40:52 +09:00
Rémi Verschelde
c6c13eb8fc Merge pull request #6490 from zaps166/webm-pr
Add WebM support
2016-10-30 18:12:00 +01:00
Fabio Alessandrelli
7f42da0330 Update docs to IPv6 2016-10-30 17:46:05 +01:00
Fabio Alessandrelli
7eef15b734 Set proper ip_type default for listen() and resolve_hostname() 2016-10-30 17:46:05 +01:00
Fabio Alessandrelli
eb27e993f0 TCP/UDP Listen sockets can now be set to IPv6 only 2016-10-30 17:46:05 +01:00
Fabio Alessandrelli
2f1c859272 Add optional IP type param in TCP/UDP connect/set_send_address 2016-10-30 17:46:05 +01:00
Fabio Alessandrelli
812908e236 Fix windows debugger connection problems.
Unify network socket creation between platform.
Ensure IPV6_V6ONLY flag is not set on sockets (allow IPv4 connection in IPv6 socket, dual-stack).
2016-10-30 17:46:05 +01:00
Fabio Alessandrelli
ee69bd81cf TCPServer listen now default to IP type ANY (v6 socket with v4 support) 2016-10-30 17:46:05 +01:00
Rémi Verschelde
1944635ac4 Merge pull request #6959 from RandomShaper/fix-big-libs
Adopt simpler strategy for big libs on Windows
2016-10-30 17:35:37 +01:00
Rémi Verschelde
e34a5324c8 scons: Move lib splitting method to methods.py
Apparently it might still be necessary for some console ports.
2016-10-30 17:04:07 +01:00
Rémi Verschelde
2001e0f75f Merge pull request #6978 from volzhs/dup-search-menu
Fix 2 search menus are shown
2016-10-30 16:34:11 +01:00
volzhs
513820ab27 Fix 2 search menus are shown 2016-10-31 00:07:16 +09:00
Rémi Verschelde
cfb8bfb454 Merge pull request #6976 from volzhs/last-select-lang
Fix bug with saving last select language and remove warning
2016-10-30 15:28:04 +01:00
volzhs
696c47d9ab Fix bug with saving last select language and remove warning 2016-10-30 23:21:59 +09:00
Rémi Verschelde
0aebddafc1 Revert "make Container node aware of Size Flags"
This reverts commit 6ed15e995d.
Fixes #6974.
2016-10-30 15:14:28 +01:00
Rémi Verschelde
914015f3b6 Merge pull request #6962 from henriquelalves/external_editor_focus_bug
Won't change editor tabs when using External Editor.
2016-10-30 12:17:28 +01:00
Rémi Verschelde
21828209ec Merge pull request #6950 from rdb/master
Add "Never" underline mode to LinkButton
2016-10-30 12:11:49 +01:00
Rémi Verschelde
1ee1a959ab Merge pull request #6945 from Hinsbart/script_dnd
Ability to drag script files from Filesystem dock to SceneTree dock.
2016-10-30 12:10:45 +01:00
Rémi Verschelde
a23d8eafa3 Merge pull request #6928 from razvanc-r/fix-container
make Container node aware of Size Flags
2016-10-30 12:06:30 +01:00
Rémi Verschelde
644e810cef Merge pull request #6920 from volzhs/dragndrop-2d
Improve drag and drop on 2D viewport
2016-10-30 12:06:19 +01:00
Rémi Verschelde
dfec7190b9 Merge pull request #6918 from pkowal1982/tween_fix_k3k
Fix regression #6864 caused by #6613
2016-10-30 12:05:42 +01:00
Rémi Verschelde
f1b89f1778 Merge pull request #6887 from leezh/regex_module
RegEx re-implemented as a module
2016-10-30 12:02:44 +01:00
Rémi Verschelde
4ed2f98730 Merge pull request #6874 from mateka/issue-6839
Option to load script for node (#6839)
2016-10-30 11:57:56 +01:00
Rémi Verschelde
89001369e7 Merge pull request #6751 from SuperUserNameMan/new_PRNG_for_rand_from_seed
xorshift32 PRNG for Math::rand_from_seed()
2016-10-30 10:49:22 +01:00
Rémi Verschelde
426ff9e7ac Merge pull request #6614 from TheKK/issue5989
Make FileDialog directory selection less misleading
2016-10-30 10:46:01 +01:00
Ignacio Etcheverry
33766a4935 Merge pull request #6901 from volzhs/fix-inputevent-compare
Fix comparison bug with InputEvent
2016-10-29 22:29:18 +02:00
Henrique L. Alves
13c92099e6 Won't change editor tabs when using External Editor.
Fixes issue #3046.
2016-10-29 11:44:57 -02:00
Pedro J. Estébanez
51ad1c1668 Adopt simpler strategy for big libs on Windows 2016-10-29 03:34:53 +02:00
George Marques
a52cbd65a8 Merge pull request #6937 from SuperUserNameMan/fix_win_standalone_msvc_and_mingw_incompatibilities
fix bug introduced by #6501
2016-10-28 20:57:51 -02:00
rdb
d517bc908f Add "Never" underline mode to LinkButton 2016-10-28 10:52:57 +02:00
Andreas Haas
a3944e66da
Ability to drag script files from Filesystem dock to SceneTree dock.
Allows to attach scripts by dragging them onto the target Node.
2016-10-27 16:32:41 +02:00
Rémi Verschelde
8321e48ab0 Merge pull request #6943 from damon-myers/fix-mac-locale
Fix locale for macOS-style locales
2016-10-27 14:37:44 +02:00
Damon
1e7f078ce9 Fix locale for macOS-style locales 2016-10-27 07:29:00 -05:00
Zher Huei Lee
9a5ce099f1 Changed RegEx to inherit Resource 2016-10-27 10:27:40 +01:00
Zher Huei Lee
c3b4686082 Added global sub and bounds checking to RegEx 2016-10-27 10:27:40 +01:00
Zher Huei Lee
439d439321 RegEx re-implemented as a module
Re-wrote nrex as a module using godot-specific parts and new
features:

 * Added string substitutions.
 * Named groups are now supported.
 * Removed use of mutable variables in RegEx. RegExMatch is returned
   instead.
2016-10-27 10:27:40 +01:00
Damon Myers
470ead74db Change set_locale to fallback to the global language (#6910) 2016-10-27 10:36:32 +02:00
Rémi Verschelde
6f09841e24 Merge pull request #6936 from Faless/udp_ntohs
Fix PacketPeerUDP get_packet_port()
2016-10-27 09:34:30 +02:00
yg2f
f7773d499d fix bug introduced by #6501
( @Akien : this PR is for current HEAD only, not to be cherry-picked for 2.1.1 )

this is manual revertion of #6501 which introduced a bug that prevented
scons from detecting Mingw under Windows when MSVC was installed.
(thanks to @vnen for finding this)

AND
it fixes the actual bug that prevented scons from detecting MSVC standalone
compiler ( a confusions between ``VSINSTALLDIR`` and ``VCINSTALLDIR`` )

The freeware Standalone MSVC C++ Build Tools are available here :
http://landinghub.visualstudio.com/visual-cpp-build-tools
2016-10-26 19:29:30 +02:00
Fabio Alessandrelli
25e29972a9 Fix PacketPeerUDP get_packet_port()
Properly convert port field from network to system ordering on incoming packets.
2016-10-26 18:27:01 +02:00