summaryrefslogtreecommitdiff
path: root/drivers/unix
AgeCommit message (Collapse)Author
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.
2015-11-01Cosmetic fixes to SCons buildsystemRémi Verschelde
- Removed trailing spaces - Made sure all indentation is done using tabs (fixes #39) - Potentially fixed an identation issue for openssl check
2015-10-17Merge pull request #2365 from Mavhod/patch-1Juan Linietsky
get_date on Linux
2015-10-13Merge remote-tracking branch 'upstream/master'Kostadin Damyanov
2015-09-12HTML5 exporter seems to be fully functionalJuan Linietsky
-user:// filesystem implemented -default template page could look prettier, help appreciated
2015-09-10Removing locatime so this function compiles again.Juan Linietsky
I don't think it has any practical use anyway.
2015-09-09fixed localtime thing for ios, not tested anywhere elseAriel Manzur
2015-08-13add ()Mavhod
Sorry, firt time I put it but had no compiled for check.
2015-08-13get_date on LinuxMavhod
tm_mon is 0-11
2015-08-09Merge remote-tracking branch 'upstream/master'Kostadin Damyanov
2015-08-06tested and fixed unix os_system_time_msec()xodene
2015-08-06Add OS.get_system_time_msecMaximillian
2015-06-30-some changes by okamJuan Linietsky
2015-06-18Merge remote-tracking branch 'upstream/master'Kostadin Damyanov
2015-06-10Haiku: remove an #ifdef as the platform now supports MSG_NOSIGNALKostadin Damyanov
2015-06-06Add OS.get_time_zone_info functionest31
The returned dictionary maps "name" to the name of the current time zone, and "bias" to a bias from UTC in minutes.
2015-06-06Add utc param to get_time and get_date methodsest31
If utc == false, we return the local time, like before. Otherwise, we return UTC time. utc defaults to false to not break behaviour.
2015-05-25Haiku: some small fixesKostadin Damyanov
2015-05-25Haiku: link with the haiku libs, stub the OS_Haiku class.Kostadin Damyanov
2015-05-25Haiku: fix building with UNIX_ENABLED.Kostadin Damyanov
2015-05-01-Fixes from source code analyzizer, closes #1768Juan Linietsky
2015-04-18-fix local and global usage for DirAccess, fixes #791Juan Linietsky
please test anyway..