summaryrefslogtreecommitdiff
path: root/drivers
AgeCommit message (Collapse)Author
2016-11-03scons: Reorder options for clarityRémi Verschelde
Also prefix all thirdparty-related toggles with `builtin`.
2016-11-01Merge pull request #7006 from vnen/fix-ipv6-uwpGeorge Marques
Fix IPv6 linking for UWP
2016-10-31Fix IPv6 linking for UWPGeorge Marques
2016-11-01style: Various other PEP8 fixes in Python filesRémi Verschelde
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).
2016-11-01style: Fix PEP8 whitespace issues in Python filesRémi Verschelde
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.
2016-11-01style: Start applying PEP8 to Python files, indentation issuesRémi Verschelde
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.
2016-10-30Define IPV6_V6ONLY flag if not defined on windows (old mingw versions)Fabio Alessandrelli
2016-10-30TCP/UDP Listen sockets can now be set to IPv6 onlyFabio Alessandrelli
2016-10-30Fix windows debugger connection problems.Fabio Alessandrelli
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-30TCPServer listen now default to IP type ANY (v6 socket with v4 support)Fabio Alessandrelli
2016-10-30Merge pull request #6959 from RandomShaper/fix-big-libsRémi Verschelde
Adopt simpler strategy for big libs on Windows
2016-10-30scons: Move lib splitting method to methods.pyRémi Verschelde
Apparently it might still be necessary for some console ports.
2016-10-29Adopt simpler strategy for big libs on WindowsPedro J. Estébanez
2016-10-27RegEx re-implemented as a moduleZher Huei Lee
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-26Fix PacketPeerUDP get_packet_port()Fabio Alessandrelli
Properly convert port field from network to system ordering on incoming packets.
2016-10-26Merge pull request #6925 from godotengine/ipv6Rémi Verschelde
Adding IPv6 support
2016-10-26Pass correct address size (ipv4,ipv6) to socket connect, bind, sendtoFabio Alessandrelli
The address size passed to network system calls now reflects the the actual IP type (v4 or v6). Fix Windows and OSX ipv6 sockets
2016-10-20added windows support for ipv6, cleaned up unix codeAriel Manzur
2016-10-19fixed some byte order and parsing problemsAriel Manzur
2016-10-18adding ipv6Ariel Manzur
2016-10-18Merge pull request #6855 from vnen/xaudio2-driverRémi Verschelde
Isolate XAudio2 driver
2016-10-17Fix memory management of XAudio2 driverGeorge Marques
2016-10-17Isolate XAudio2 driverGeorge Marques
Now it's possible to compile for Windows platform if wanted. It's supported only for Windows 8 or later, so it's not enabled by default.
2016-10-17SCsub: Add python shebang as a hint for syntax highlightingRémi Verschelde
Also switch existing shebangs to "better" /usr/bin/env python.
2016-10-15png: Try to fix neon issue on iphone armv7Rémi Verschelde
2016-10-15drivers: Refactor SCsub and drop redundant env_drivers cloneRémi Verschelde
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.
2016-10-15freetype: Make it a module and split thirdparty libraryRémi Verschelde
Comment out the weird workaround for building on Windows at it might not be needed anymore. Testing needed to confirm.
2016-10-15chibi: Move to a moduleRémi Verschelde
2016-10-15zlib: Split thirdparty files, simplify scons optionRémi Verschelde
2016-10-15glew: Split thirdparty files and isolate envRémi Verschelde
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.
2016-10-15squish: Move to a module and split thirdparty libRémi Verschelde
2016-10-15rtaudio: Split thirdparty filesRémi Verschelde
2016-10-15mpc: Move to a module and split thirdparty libmpcdecRémi Verschelde
2016-10-15theora: Move to a module and split thirdparty libRémi Verschelde
Same rationale as the previous commits.
2016-10-15modules: Clone env in each moduleRémi Verschelde
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.
2016-10-15openssl: Move to a module and split thirdparty libRémi Verschelde
Same rationale as the previous commits.
2016-10-15ogg/vorbis/opus: Make them modules and unbundle thirdparty libsRémi Verschelde
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.
2016-10-15webp: Make it a module and unbundle libwebp thirdparty filesRémi Verschelde
Note that there are two Godot-specific changes made to libwebp for the javascript/HTML5 platform. They are documented in the README.md.
2016-10-15dds/etc1/pbm/pvr: Make those modules and split thirdparty filesRémi Verschelde
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 :)
2016-10-15jpg: Make it a module and split jpgd thirdparty filesRémi Verschelde
Similar rationale as in previous commit.
2016-10-15png: Split library to thirdparty dir and allow unbundlingRémi Verschelde
Uses the new structure agreed upon in #6157, but the thirdparty/ folder does not behave following a logic similar to that of modules/ yet. The png driver can't be moved to a module as discussed in #6157, as it's required by core together with a few other ImageLoader implementations (see drivers/register_driver_types.cpp:register_core_driver_types()) Dropped the possibility to disable PNG support, it's a core component of Godot.
2016-10-14Drop nedmalloc which is apparently not used anymoreRémi Verschelde
2016-10-13Remove speex support, it is obsoleted by opusRémi Verschelde
As mentioned by upstream, Xiph.Org [0]: > The Speex codec has been obsoleted by Opus. It will continue to be > available, but since Opus is better than Speex in all aspects, > users are encouraged to switch. [0] http://www.speex.org/
2016-10-03Merge pull request #6605 from zaps166/old-gl-ext-funcsRémi Verschelde
Add compatibility with old OpenGL 2.1 drivers
2016-10-03Merge pull request #6617 from zaps166/theora-x86-simd-fixRémi Verschelde
Fixes in Theora SCsub
2016-10-03Limit directional shadow draw distance, fixes #559, optimization (#1991)mookiexl
* Shadow fadeout exponent hardcoded for now, should be user configurable. * optimization - skip shadows outside visible range
2016-10-03Fixes in Theora SCsubBłażej Szczygieł
- properly pass x86 assembly define to the compiler, - don't compile unnecessary/encoder files.
2016-10-03Merge pull request #6606 from zaps166/don-crash-on-unsupported-glRémi Verschelde
Don't crach when OpenGL version is unsupported
2016-10-03Merge pull request #6501 from ↵Rémi Verschelde
SuperUserNameMan/windows_compile_with_standalone_msvc scons detects standalone MSVC on Windows
2016-09-25Don't crash in "_process_hdr()" if "framebuffer.luminance" is emptyBłażej Szczygieł
If "glFramebufferTexture2D()" fails on old drivers the Vector is empty. Don't allow to read from empty Vector (NULL pointer).