summaryrefslogtreecommitdiff
path: root/drivers/unix
AgeCommit message (Collapse)Author
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-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
2016-06-30Fix some bugs in diraccess, closes #5288Juan Linietsky
2016-06-25Added function to notify ScriptLanguage when a thread is created/freed, ↵Juan Linietsky
allows scripts to allocate a stack there via TLS
2016-06-18Removed lots of printsDaniel J. Ramirez
2016-06-18-made get_space_left() return values more homogenous, also for script, ↵Juan Linietsky
converted to mb, closes #4617
2016-06-18Fixed make_dir and make_dir_recursive erros, closes #1680 closes #1872Juan Linietsky
2016-06-18Add missing license headers in our source files (#5255)Rémi Verschelde
Also removes a couple wrong Godot headers from third-party source files.
2016-06-13-Add visible IO errors when closing a file fails due to it being locked ↵Juan Linietsky
(most likely on windows), closes #4760
2016-06-03change invalid characters when get user data dir on Windows & Unixvolzhs
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.
2016-04-20Implements get_executable_path for OS X should proc_pidpath in os_osx.mm ↵Aren Villanueva
doesn't succeed. Silences the warning for javascript as the function currently appears superfluous.
2016-03-16Add function to convert Date time from a dictionary to EpochKyle Luce
- Also changed get_time_from_unix_time to get_date_time_from_unix_time to be consistent. Ticket: https://github.com/godotengine/godot/issues/4038
2016-03-13Fixes the month consistency issue in enums and get_date etcKyle Luce
- Also updated the docs to reflect this. - Added some vim temp files to gitignore - Changed NaCL to be consistent with the other OS_Unix::get_date implementation (added 1 to month to map to 1-12) Ticket: https://github.com/godotengine/godot/issues/4025
2016-03-01Added relative paths for DirAccess::remove()Zher Huei Lee
Follows similar behaviour to DirAccess::rename()
2016-02-19Fix allocation bug if compiled with modern clang or gccest31
* Add overflow checked intrinsic abstractions that check on overflow. * Use them for memory allocation code. * Use size_t type for memory allocation code to support full platform dependent width. Fixes #3756.
2016-01-31thread renamingAriel Manzur
2016-01-31total pointersAriel Manzur
2016-01-13improve reporting of error in wrong inheritance for autoload scriptJuan Linietsky
2016-01-11Merge pull request #3230 from touilleMan/issue-55Rémi Verschelde
Remove unnecessary null pointer checks
2016-01-10-Removed OS.get_system_time_msec(), this is undoable on Windows and also ↵Juan Linietsky
unusable from GDscript due to precision. -Added, instead an OS.get_system_time_secs(), which is 32 bits friendly, fixes #3143
2016-01-10-Added a new mode, WRITE_READ to File, to recover compatibility with old ↵Juan Linietsky
projects but also achieve desired functionality. Closes #3272
2016-01-09Fix pthread renaming in Open/FreeBSDeska
2016-01-04Remove unnecessary null pointer checksEmmanuel Leblond
2016-01-03having active items is pointless in input mapJuan Linietsky
2016-01-02Change rb+ to wb+ on file access READ_WRITE to allow more use cases, closes ↵Juan Linietsky
#2278
2016-01-01Update copyright to 2016 in headersGeorge Marques
2015-12-22threadsAriel Manzur
2015-12-18thread rename for ios and osx (if called from the thread to be renamed)Ariel Manzur
2015-12-17thread set nameAriel Manzur
2015-12-13added binary API to StreamPeer, fixes #2863Juan Linietsky
2015-12-09Fix windows buildest31
2015-11-30Make the setting unix-only.est31
For this, put the detection into the OS class and its subclass.
2015-11-19Merge pull request #2756 from trond/bugfix_udpJuan Linietsky
UDP fixes
2015-11-19Fixed mistake where available buffer size would not be updated for each ↵Trond Abusdal
recvfrom-call in PacketPeerUDPWinsockPposix.
2015-11-18Merge pull request #2707 from akien-mga/masterJuan Linietsky
Cosmetic fixes to SCons buildsystem
2015-11-10Fix error messages forcing a white font for subsequent messagesRémi Verschelde
This is achieved using the "no specific formatting" \E[0m tag. Fixes #2566. Also remove the hardcoded black background colour and use default bolded terminal font for error message. Error logs should now look good both on terminals with a dark and light background colour.
2015-11-10Display error type (error, warning, script error) in OS::print_errorRémi Verschelde
Previously all types of errors would be shown as ERROR, thus making for example warnings (WARN_PRINT) somewhat aggressive. ERROR is displayed in red, WARNING in yellow and SCRIPT ERROR in magenta (though the latter does not seem used so far). Fixes #1127.
2015-11-09* Winsock UDP messages sent to an unavailable target causing WSAECONNRESET ↵Trond Abusdal
will no longer close the socket. * Ensured that unsigned<->signed conversion would not cause wrong buffer size values sent to recvfrom.
2015-11-09Fixed PacketPeerUDP getting wrongly closed due to recvfrom using ↵Trond Abusdal
rb.data_left instead of rb.space_left.