aboutsummaryrefslogtreecommitdiff
path: root/drivers/unix (follow)
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* Merge pull request #5920 from 29jm/fix-warningsJuan Linietsky2016-09-101-1/+1
|\ | | | | Fix some more warnings
| * Remove some unused variablesJohan Manuel2016-08-131-1/+1
| |
* | Fix drivers coding for WinRTGeorge Marques2016-09-031-1/+14
|/ | | | | | | - 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.
* Remove some noisy debug printsRémi Verschelde2016-07-171-4/+0
| | | | Part of #5031
* Removed no longer needed checkJuan Linietsky2016-07-021-2/+2
|
* Fix some bugs in diraccess, closes #5288Juan Linietsky2016-06-301-14/+17
|
* Added function to notify ScriptLanguage when a thread is created/freed, ↵Juan Linietsky2016-06-251-0/+7
| | | | allows scripts to allocate a stack there via TLS
* Removed lots of printsDaniel J. Ramirez2016-06-182-9/+1
|
* -made get_space_left() return values more homogenous, also for script, ↵Juan Linietsky2016-06-181-1/+1
| | | | converted to mb, closes #4617
* Fixed make_dir and make_dir_recursive erros, closes #1680 closes #1872Juan Linietsky2016-06-182-10/+20
|
* Add missing license headers in our source files (#5255)Rémi Verschelde2016-06-182-0/+56
| | | Also removes a couple wrong Godot headers from third-party source files.
* -Add visible IO errors when closing a file fails due to it being locked ↵Juan Linietsky2016-06-131-0/+5
| | | | (most likely on windows), closes #4760
* change invalid characters when get user data dir on Windows & Unixvolzhs2016-06-031-1/+1
| | | | | | | Can't create user data folder when project name has ``\ / : * ? " < > |`` characters on OS_Windows & OS_Unix. So, change it to ``-`` to be able to make folder. fixes #4928 and it's altanative to #4986.