aboutsummaryrefslogtreecommitdiff
path: root/drivers/unix
Commit message (Collapse)AuthorAgeFilesLines
...
| * Implement TCP Server bind addressFabio Alessandrelli2017-01-234-11/+29
| |
| * Convert validity checks of IP_Address to is_valid method.Fabio Alessandrelli2017-01-233-3/+3
| |
| * Avoid calling close when polling a UDP peer without socketFabio Alessandrelli2017-01-231-0/+4
| |
* | Add a simple signal handler for SIGCHLD on UnixHein-Pieter van Braam2017-02-091-1/+15
| | | | | | | | This fixes #6631
* | Several bugfixes, improving the import workflowJuan Linietsky2017-02-062-0/+10
|/
* Merge pull request #7510 from Faless/tcp_connectRémi Verschelde2017-01-152-5/+9
|\ | | | | TCP connect always opens the correct socket type
| * TCP connect always opens correct socket typeFabio Alessandrelli2017-01-132-5/+9
| | | | | | | | TCP client connections does not need to rely on ipv6 dual stack sockets
* | StreamPeerWinsock: Fix changed declarationsRémi Verschelde2017-01-141-2/+2
| | | | | | | | Bug introduced in dcb95ec1473eff3f455909cd81c3cd50b1e1159b.
* | removed duplicated functions in class hierarchy that were bound more than onceJuan Linietsky2017-01-142-15/+15
| | | | | | | | added a check to detect this case in the future
* | Style: Fix whole-line commented codeRémi Verschelde2017-01-141-1/+1
| | | | | | | | | | 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.
* | Fixed dir access return value, changed it to Error like all other funcsJuan Linietsky2017-01-142-4/+4
| |
* | UDP.set_send_address to UDP.set_dest_addressJuan Linietsky2017-01-142-2/+2
|/
* Improvements to scons defined WINVER/_WIN32_WINNTFabio Alessandrelli2017-01-122-13/+5
|
* Windows: Workaround missing includes in MinGW-w64 < 4Rémi Verschelde2017-01-091-1/+13
| | | | | | | | | 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.
* Windows: Define _WIN32_WINRT to 0x0600 (Vista)Rémi Verschelde2017-01-081-9/+3
| | | | | | | | 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.
* Use more compatible initializarion of RWLockPosixJuan Linietsky2017-01-081-1/+2
|
* Memory pool vectors (DVector) have been enormously simplified in code, and ↵Juan Linietsky2017-01-073-5/+115
| | | | renamed to PoolVector
* -Changed memory functions, Memory::alloc_static*, simplified them, made them ↵Juan Linietsky2017-01-063-518/+1
| | | | | | aligned to 16 -Changed Vector<> template to fit this.
* -Changed most project settings in the engine, so they have major and minor ↵Juan Linietsky2017-01-051-2/+2
| | | | | | | | 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
* ObjectTypeDB was renamed to ClassDB. Types are meant to be more generic to ↵Juan Linietsky2017-01-021-1/+1
| | | | | | | | 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()
* Merge remote-tracking branch 'origin/gles3' into gles3-on-masterRémi Verschelde2017-01-021-0/+4
|\ | | | | | | | | Various merge conflicts have been fixed manually and some mistakes might have been made - time will tell :)
| * 2D Shaders are working again using the new syntax, though all is buggy in ↵Juan Linietsky2016-10-101-0/+4
| | | | | | | | general
* | Merge pull request #7271 from Faless/ipv6_cleanupRémi Verschelde2017-01-029-84/+79
|\ \ | | | | | | Fixes and improvementes for IPv6 implementation.
| * | Remove old unused AI_V4MAPPED flag to getaddrinfoFabio Alessandrelli2016-12-091-8/+0
| | |
| * | IP_Address now handle IPv4 and IPv6 transparentlyFabio Alessandrelli2016-12-094-38/+30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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)
| * | Migrate int.IP_TYPE_ constants to IP.TYPE_Fabio Alessandrelli2016-12-097-18/+18
| | |
| * | Move V6ONLY flag selection inside helpersFabio Alessandrelli2016-12-093-19/+4
| | |
| * | Automatically map IPv4 address to IPv6 when neededFabio Alessandrelli2016-12-093-7/+19
| | |
| * | Use an instance variable for ip_type in raw socketsFabio Alessandrelli2016-12-096-18/+22
| | | | | | | | | | | | | | | | | | | | | 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.
| * | Fix getaddrinfo failing on androidFabio Alessandrelli2016-12-091-0/+5
| | |
| * | Properly handle tcp connection failureFabio Alessandrelli2016-12-091-1/+6
| | |
| * | Fix _set_ip_addr_port not setting the address.Fabio Alessandrelli2016-12-091-1/+1
| | |
* | | Welcome in 2017, dear changelog reader!Rémi Verschelde2017-01-0122-22/+22
|/ / | | | | | | | | | | | | | | 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!
* | OS additions and fixes for WebAssembly/asm.jseska2016-11-301-3/+0
| | | | | | | | | | | | | | - 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
* | Rename WINRT_ENABLED to UWP_ENABLEDGeorge Marques2016-11-032-3/+3
| |
* | Merge pull request #7006 from vnen/fix-ipv6-uwpGeorge Marques2016-11-011-0/+4
|\ \ | | | | | | Fix IPv6 linking for UWP
| * | Fix IPv6 linking for UWPGeorge Marques2016-10-311-0/+4
| | |
* | | style: Fix PEP8 whitespace issues in Python filesRémi Verschelde2016-11-011-7/+7
|/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | Define IPV6_V6ONLY flag if not defined on windows (old mingw versions)Fabio Alessandrelli2016-10-301-0/+7
| |
* | TCP/UDP Listen sockets can now be set to IPv6 onlyFabio Alessandrelli2016-10-304-5/+31
| |
* | Fix windows debugger connection problems.Fabio Alessandrelli2016-10-304-11/+26
| | | | | | | | | | Unify network socket creation between platform. Ensure IPV6_V6ONLY flag is not set on sockets (allow IPv4 connection in IPv6 socket, dual-stack).
* | TCPServer listen now default to IP type ANY (v6 socket with v4 support)Fabio Alessandrelli2016-10-301-1/+1
| |
* | Fix PacketPeerUDP get_packet_port()Fabio Alessandrelli2016-10-261-2/+2
| | | | | | | | Properly convert port field from network to system ordering on incoming packets.
* | Merge pull request #6925 from godotengine/ipv6Rémi Verschelde2016-10-268-83/+226
|\ \ | | | | | | Adding IPv6 support
| * | Pass correct address size (ipv4,ipv6) to socket connect, bind, sendtoFabio Alessandrelli2016-10-264-12/+16
| | | | | | | | | | | | | | | The address size passed to network system calls now reflects the the actual IP type (v4 or v6). Fix Windows and OSX ipv6 sockets
| * | added windows support for ipv6, cleaned up unix codeAriel Manzur2016-10-204-72/+81
| | |
| * | fixed some byte order and parsing problemsAriel Manzur2016-10-191-1/+1
| | |
| * | adding ipv6Ariel Manzur2016-10-187-78/+208
| | |
* | | SCsub: Add python shebang as a hint for syntax highlightingRémi Verschelde2016-10-171-0/+2
|/ / | | | | | | Also switch existing shebangs to "better" /usr/bin/env python.
* / drivers: Refactor SCsub and drop redundant env_drivers cloneRémi Verschelde2016-10-151-1/+1
|/ | | | | | | | | 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.