summaryrefslogtreecommitdiff
path: root/drivers/unix
AgeCommit message (Collapse)Author
2017-01-15Merge pull request #7510 from Faless/tcp_connectRémi Verschelde
TCP connect always opens the correct socket type
2017-01-14StreamPeerWinsock: Fix changed declarationsRémi Verschelde
Bug introduced in dcb95ec1473eff3f455909cd81c3cd50b1e1159b.
2017-01-14removed duplicated functions in class hierarchy that were bound more than onceJuan Linietsky
added a check to detect this case in the future
2017-01-14Style: Fix whole-line commented codeRémi Verschelde
They do not play well with clang-format which aligns the `//` part with the rest of the code block, thus producing badly indented commented code.
2017-01-14Fixed dir access return value, changed it to Error like all other funcsJuan Linietsky
2017-01-14UDP.set_send_address to UDP.set_dest_addressJuan Linietsky
2017-01-13TCP connect always opens correct socket typeFabio Alessandrelli
TCP client connections does not need to rely on ipv6 dual stack sockets
2017-01-12Improvements to scons defined WINVER/_WIN32_WINNTFabio Alessandrelli
2017-01-09Windows: Workaround missing includes in MinGW-w64 < 4Rémi Verschelde
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.
2017-01-08Windows: Define _WIN32_WINRT to 0x0600 (Vista)Rémi Verschelde
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.
2017-01-08Use more compatible initializarion of RWLockPosixJuan Linietsky
2017-01-07Memory pool vectors (DVector) have been enormously simplified in code, and ↵Juan Linietsky
renamed to PoolVector
2017-01-06-Changed memory functions, Memory::alloc_static*, simplified them, made them ↵Juan Linietsky
aligned to 16 -Changed Vector<> template to fit this.
2017-01-05-Changed most project settings in the engine, so they have major and minor ↵Juan Linietsky
categories. -Changed SectionedPropertyEditor to support this -Renamed Globals singleton to GlobalConfig, makes more sense. -Changed the logic behind persisten global settings, instead of the persist checkbox, a revert button is now available
2017-01-02ObjectTypeDB was renamed to ClassDB. Types are meant to be more generic to ↵Juan Linietsky
Variant. All usages of "type" to refer to classes were renamed to "class" ClassDB has been exposed to GDScript. OBJ_TYPE() macro is now GDCLASS()
2017-01-02Merge remote-tracking branch 'origin/gles3' into gles3-on-masterRémi Verschelde
Various merge conflicts have been fixed manually and some mistakes might have been made - time will tell :)
2017-01-02Merge pull request #7271 from Faless/ipv6_cleanupRémi Verschelde
Fixes and improvementes for IPv6 implementation.
2017-01-01Welcome in 2017, dear changelog reader!Rémi Verschelde
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!
2016-12-09Remove old unused AI_V4MAPPED flag to getaddrinfoFabio Alessandrelli
2016-12-09IP_Address now handle IPv4 and IPv6 transparentlyFabio Alessandrelli
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-09Migrate int.IP_TYPE_ constants to IP.TYPE_Fabio Alessandrelli
2016-12-09Move V6ONLY flag selection inside helpersFabio Alessandrelli
2016-12-09Automatically map IPv4 address to IPv6 when neededFabio Alessandrelli
2016-12-09Use an instance variable for ip_type in raw socketsFabio Alessandrelli
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-09Fix getaddrinfo failing on androidFabio Alessandrelli
2016-12-09Properly handle tcp connection failureFabio Alessandrelli
2016-12-09Fix _set_ip_addr_port not setting the address.Fabio Alessandrelli
2016-11-30OS additions and fixes for WebAssembly/asm.jseska
- 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-03Rename WINRT_ENABLED to UWP_ENABLEDGeorge Marques
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: 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-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-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-17SCsub: Add python shebang as a hint for syntax highlightingRémi Verschelde
Also switch existing shebangs to "better" /usr/bin/env python.
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-102D Shaders are working again using the new syntax, though all is buggy in ↵Juan Linietsky
general
2016-09-10Merge pull request #5920 from 29jm/fix-warningsJuan Linietsky
Fix some more warnings
2016-09-03Fix drivers coding for WinRTGeorge Marques
- Add a proper function to retrieve IP addresses. - Solve issues with Windows FileAccess and DirAccess to use the same code for WinRT. - Add patches to the GLES2 rasterizer to workaround ANGLE issues.
2016-08-13Remove some unused variablesJohan Manuel
2016-07-17Remove some noisy debug printsRémi Verschelde
Part of #5031
2016-07-02Removed no longer needed checkJuan Linietsky