| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
| |
(cherry picked from commit 65483d57bf322f847ecb1ab906e8f4fac49f2557)
|
| |
|
|
|
|
|
|
|
|
|
| |
The MinGW-w64 version we have on our Travis build environment (Ubuntu 12.04,
mingw-w64 2.0.1, gcc 4.6) is old and has some missing includes in the
dependencies of the `tcpmib.h` header [0] [1] [2].
Those were not triggered before 6323779596dea0db7f58afef7d3d3d5588ef20cb
probably due to conflicting WINVER definitions which prevented triggering the code
specific to >= 0x0600 (Vista). We ensure it won't be triggered by defining the
_WIN32_WINNT macro to Windows XP compatibility.
(cherry picked from commit b24fe6879a2d26b530c1198ba7abb8cf2719f06c)
|
| |
|
|
|
|
|
|
|
|
| |
Passed as a compiler define to be sure it is always define before windows.h
is loaded. This means that Godot officially requires Vista API or later, it will
not work on Windows XP or earlier.
Also fix a bogus check for Windows 7 API.
(cherry picked from commit 6323779596dea0db7f58afef7d3d3d5588ef20cb)
|
| |
|
|
|
|
|
|
|
| |
- fixes PulseAudio, ALSA and RtAudio driver
- cleans up the driver files for better readability (mostly whitespace-related stuff)
- makes ALSA and Pulseaudio actually use the global setting "audio/mix_rate" for the sample rate instead of a
fixed value (RtAudio did this already)
(cherry picked from commit da6b6c2dd790a1a6f1702efe1b075b09ec76fb48)
|
| |
|
|
|
|
|
|
|
|
| |
That year should bring the long-awaited OpenGL ES 3.0 compatible renderer
with state-of-the-art rendering techniques tuned to work as low as middle
end handheld devices - without compromising with the possibilities given
for higher end desktop games of course. Great times ahead for the Godot
community and the gamers that will play our games!
(cherry picked from commit c7bc44d5ad9aae4902280012f7654e2318cd910e)
|
| |
|
|
|
|
| |
A Drive with "Z" letter assigned to it on Windows will be shown.
(cherry picked from commit 20d6af6028c97c6135faa0d937e9d0a458fb0fd1)
|
| |
|
|
| |
Follow-up of #7344
|
| |\
| |
| | |
Cherry pick IPv6 patches to 2.1.x
|
| | |
| |
| |
| | |
(cherry picked from commit de23ce11b51847b7b8bfc10ecf5926827516ac5a)
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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)
(cherry picked from commit 1aff508dd9713abf0db0d0436fa7f7c4788c5a4a)
|
| | |
| |
| |
| | |
(cherry picked from commit c18c5013f837ea7d4de2f022d36f84e0abce6439)
|
| | |
| |
| |
| | |
(cherry picked from commit 4d90a4fcd5fcdca42df47062f94a1fa4e5635a94)
|
| | |
| |
| |
| | |
(cherry picked from commit 9200da58e4c2498c833d9f2505600c7049e80940)
|
| | |
| |
| |
| |
| |
| |
| |
| |
| | |
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.
(cherry picked from commit 95bdd977686005d3d813eb09aca625384f1774c1)
|
| | |
| |
| |
| | |
(cherry picked from commit 4f07b595a17a633c65c5df43ecdaa37667a475e9)
|
| | |
| |
| |
| | |
(cherry picked from commit cdc1ca0f1301bb907121292db83f98706722ff1e)
|
| | |
| |
| |
| | |
(cherry picked from commit 311f1f165be12ea290799e42f9951011d997ab40)
|
| | |
| |
| |
| | |
(cherry picked from commit bdc7ca84cac727f3f94663f23e1229450230bd2e)
|
| | |
| |
| |
| | |
(cherry picked from commit eb27e993f0f2fb3de48b7b8aa01c74cc1635a178)
|
| | |
| |
| |
| |
| |
| |
| | |
Unify network socket creation between platform.
Ensure IPV6_V6ONLY flag is not set on sockets (allow IPv4 connection in IPv6 socket, dual-stack).
(cherry picked from commit 812908e236e83db368dfef49b8badb9a6182e1de)
|
| | |
| |
| |
| | |
(cherry picked from commit ee69bd81cfa67eb5c642604f0f43d711ab370faf)
|
| | |
| |
| |
| |
| |
| | |
Properly convert port field from network to system ordering on incoming packets.
(cherry picked from commit 25e29972a9df712cb51fc66e553b34f3dc441e51)
|
| | |
| |
| |
| |
| |
| |
| | |
The address size passed to network system calls now reflects the the actual IP type (v4 or v6).
Fix Windows and OSX ipv6 sockets
(cherry picked from commit 80e911647c5df21c5b6a06876f1d48e21cd1f5fc)
|
| | |
| |
| |
| | |
(cherry picked from commit 672225b710815865449e7930255468d1c085b137)
|
| | |
| |
| |
| | |
(cherry picked from commit 1d45f35a4a190360fea74e51b66457efe44d3177)
|
| | |
| |
| |
| | |
(cherry picked from commit 887a897c02144f2d01896d3112bdae5ce7d6df5c)
|
| |/ |
|
| |
|
|
|
|
|
| |
- 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
|
| |
|
|
|
|
| |
Also prefix all thirdparty-related toggles with `builtin`.
(cherry picked from commit cc95d4448c6005c3007c8460f09b8be1595eb3c0)
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Done with `autopep8 --select=E7`, fixes:
- E701 - Put colon-separated compound statement on separate lines.
- E702 - Put semicolon-separated compound statement on separate lines.
- E703 - Put semicolon-separated compound statement on separate lines.
- E711 - Fix comparison with None.
- E712 - Fix (trivial case of) comparison with boolean.
- E713 - Fix (trivial case of) non-membership check.
- E721 - Fix various deprecated code (via lib2to3).
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Done with `autopep8 --select=E2,W2`, fixes:
- E201 - Remove extraneous whitespace.
- E202 - Remove extraneous whitespace.
- E203 - Remove extraneous whitespace.
- E211 - Remove extraneous whitespace.
- E221 - Fix extraneous whitespace around keywords.
- E222 - Fix extraneous whitespace around keywords.
- E223 - Fix extraneous whitespace around keywords.
- E224 - Remove extraneous whitespace around operator.
- E225 - Fix missing whitespace around operator.
- E226 - Fix missing whitespace around operator.
- E227 - Fix missing whitespace around operator.
- E228 - Fix missing whitespace around operator.
- E231 - Add missing whitespace.
- E231 - Fix various deprecated code (via lib2to3).
- E241 - Fix extraneous whitespace around keywords.
- E242 - Remove extraneous whitespace around operator.
- E251 - Remove whitespace around parameter '=' sign.
- E261 - Fix spacing after comment hash.
- E262 - Fix spacing after comment hash.
- E265 - Format block comments.
- E271 - Fix extraneous whitespace around keywords.
- E272 - Fix extraneous whitespace around keywords.
- E273 - Fix extraneous whitespace around keywords.
- E274 - Fix extraneous whitespace around keywords.
- W291 - Remove trailing whitespace.
- W293 - Remove trailing whitespace.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Done with `autopep8 --select=E1`, fixes:
- E101 - Reindent all lines.
- E112 - Fix under-indented comments.
- E113 - Fix over-indented comments.
- E115 - Fix under-indented comments.
- E116 - Fix over-indented comments.
- E121 - Fix a badly indented line.
- E122 - Fix a badly indented line.
- E123 - Fix a badly indented line.
- E124 - Fix a badly indented line.
- E125 - Fix indentation undistinguish from the next logical line.
- E126 - Fix a badly indented line.
- E127 - Fix a badly indented line.
- E128 - Fix a badly indented line.
- E129 - Fix a badly indented line.
|
| |
|
|
|
|
| |
Apparently it might still be necessary for some console ports.
(cherry picked from commit e34a5324c884960735b3f743956b3a052574d6ee)
|
| |
|
|
| |
(cherry picked from commit 51ad1c16683589aa1ebc73e29416e1b0fc50d30d)
|
| |
|
|
|
|
| |
Also switch existing shebangs to "better" /usr/bin/env python.
(cherry picked from commit fc8ccd5b8c8b779bffd0f4d7f22f2f964c939163)
|
| |
|
|
| |
(cherry picked from commit e57042e8a93e4f3d65cc91633f5af0daedf69a2a)
|
| |
|
|
|
|
|
|
|
|
|
| |
The reordering of the SConscript includes allows to ensure that
stuff like the builtin zlib headers will be available for libpng.
Also moved glew back into global env, otherwise windows seems
not to find it... Kind of shooting in the dark with this multi-env
setup.
(cherry picked from commit 248bc9159c0b515e3e276db644744161283881ef)
|
| |
|
|
|
|
|
| |
Comment out the weird workaround for building on Windows at it might
not be needed anymore. Testing needed to confirm.
(cherry picked from commit edbc0c0d0bed169b3c07ef0f504b97936f0dab37)
|
| |
|
|
| |
(cherry picked from commit e6dc51a0f764dcd7cd07482c022c1e92e6a4da3d)
|
| |
|
|
| |
(cherry picked from commit cbf52606f4928df46fc89d37d781bad782f0616e)
|
| |
|
|
|
|
|
|
| |
Not fully happy about the way this one interacts with the various
platforms. Maybe the platform_config.h should be generated by the
SCsub instead of passing a define just to know where is the header.
(cherry picked from commit 36738ddda4f732fff7bbfb7b4605a47a0bd7c045)
|
| |
|
|
| |
(cherry picked from commit 8311a78df5cdf257297c1ec7493cb098dc76f010)
|
| |
|
|
| |
(cherry picked from commit 8981ff8a84e8cc6967afe3a11613e7d72d8ac599)
|
| |
|
|
| |
(cherry picked from commit 5c12c9e69b85023934dc85f3aada03da150556be)
|
| |
|
|
|
|
| |
Same rationale as the previous commits.
(cherry picked from commit cfcc8a20e862b758c32bd3f152186e6df0591a24)
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This allows to pass include paths and flags only to a given thirdparty
library, thus preventing conflicts between their files (e.g. between
opus and openssl which both provide modes.h.
This also has the nice effect of making the compilation command smaller
for each module as it no longer related to all other modules, only the
final linking brings them together.
This however requires adding manually the ogg include path in opus
and vorbis when building against the builtin ogg, since it is no longer
in the global env.
Also simplified template 'thirdparty_<module>_sources' to
'thirdparty_sources'.
"Core" modules like cscript, gdscript, gridmap, ik and virtual_script
still use the main env_modules, but it could be changed if need be.
(cherry picked from commit da09c6131bcdace7e8e62c3dabc62890e9564c97)
Obviously removed the parts about enet and visual_script.
|
| |
|
|
|
|
|
|
| |
Same rationale as the previous commits.
(cherry picked from commit 422196759f93df249db38619f136cabd5dcf42cd)
Removed the winrt-specific parts.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Took the opportunity to undo the Godot changed made to the
opus source. The opus module should eventually be built in its
own environment to avoid polluting others with too many include
dirs and defines.
TODO: Fix the platform/ stuff for opus.
(cherry picked from commit d9a291f6411f2e571c181da0ac89f550ba73f681)
speex module was only added while cherry-picking, as speex is removed
in the master branch but we don't want to break compatibility in 2.1.x.
Unbundling wasn't done as the module uses the internal speex_free,
so it would require some more work.
|
| |
|
|
|
|
|
|
| |
Note that there are two Godot-specific changes made to libwebp
for the javascript/HTML5 platform. They are documented in the
README.md.
(cherry picked from commit ee3cf211c6fd4d1e30617467cdbbe945798a68b3)
|
| |
|
|
|
|
|
|
|
|
| |
They are not particularly packaged in Linux distros so we do not
facilitate unbundling via SCons. There could be done if/when there
is interest.
Also s/pnm/pbm/, long-lived typo :)
(cherry picked from commit b1e8889d969f5f88539c47c2afac6c9ea2a2dc11)
|