aboutsummaryrefslogtreecommitdiff
path: root/drivers/unix
Commit message (Collapse)AuthorAgeFilesLines
* -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.
* Implements get_executable_path for OS X should proc_pidpath in os_osx.mm ↵Aren Villanueva2016-04-201-0/+21
| | | | doesn't succeed. Silences the warning for javascript as the function currently appears superfluous.
* Add function to convert Date time from a dictionary to EpochKyle Luce2016-03-161-0/+1
| | | | | | | | - 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
* Fixes the month consistency issue in enums and get_date etcKyle Luce2016-03-131-0/+3
| | | | | | | | | | - 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
* Added relative paths for DirAccess::remove()Zher Huei Lee2016-03-011-2/+5
| | | | Follows similar behaviour to DirAccess::rename()
* Fix allocation bug if compiled with modern clang or gccest312016-02-191-5/+22
| | | | | | | | * 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.
* thread renamingAriel Manzur2016-01-312-14/+8
|
* total pointersAriel Manzur2016-01-311-1/+1
|
* improve reporting of error in wrong inheritance for autoload scriptJuan Linietsky2016-01-131-2/+2
|
* Merge pull request #3230 from touilleMan/issue-55Rémi Verschelde2016-01-111-2/+1
|\ | | | | Remove unnecessary null pointer checks
| * Remove unnecessary null pointer checksEmmanuel Leblond2016-01-041-2/+1
| |
* | -Removed OS.get_system_time_msec(), this is undoable on Windows and also ↵Juan Linietsky2016-01-102-4/+3
| | | | | | | | | | | | unusable from GDscript due to precision. -Added, instead an OS.get_system_time_secs(), which is 32 bits friendly, fixes #3143
* | -Added a new mode, WRITE_READ to File, to recover compatibility with old ↵Juan Linietsky2016-01-101-0/+2
| | | | | | | | projects but also achieve desired functionality. Closes #3272
* | Fix pthread renaming in Open/FreeBSDeska2016-01-091-1/+10
|/
* having active items is pointless in input mapJuan Linietsky2016-01-031-1/+1
|
* Change rb+ to wb+ on file access READ_WRITE to allow more use cases, closes ↵Juan Linietsky2016-01-021-1/+1
| | | | #2278
* Update copyright to 2016 in headersGeorge Marques2016-01-0120-20/+20
|
* threadsAriel Manzur2015-12-221-0/+7
|
* thread rename for ios and osx (if called from the thread to be renamed)Ariel Manzur2015-12-181-1/+17
|
* thread set nameAriel Manzur2015-12-172-0/+9
|
* added binary API to StreamPeer, fixes #2863Juan Linietsky2015-12-132-0/+11
|
* Fix windows buildest312015-12-091-5/+7
|
* Make the setting unix-only.est312015-11-303-0/+19
| | | | For this, put the detection into the OS class and its subclass.
* Merge pull request #2756 from trond/bugfix_udpJuan Linietsky2015-11-191-1/+3
|\ | | | | UDP fixes
| * Fixed mistake where available buffer size would not be updated for each ↵Trond Abusdal2015-11-191-3/+1
| | | | | | | | recvfrom-call in PacketPeerUDPWinsockPposix.
| * * Winsock UDP messages sent to an unavailable target causing WSAECONNRESET ↵Trond Abusdal2015-11-091-1/+5
| | | | | | | | | | | | will no longer close the socket. * Ensured that unsigned<->signed conversion would not cause wrong buffer size values sent to recvfrom.
| * Fixed PacketPeerUDP getting wrongly closed due to recvfrom using ↵Trond Abusdal2015-11-091-1/+1
| | | | | | | | rb.data_left instead of rb.space_left.
* | Merge pull request #2707 from akien-mga/masterJuan Linietsky2015-11-181-2/+0
|\ \ | | | | | | Cosmetic fixes to SCons buildsystem
| * | Cosmetic fixes to SCons buildsystemRémi Verschelde2015-11-011-2/+0
| |/ | | | | | | | | | | - Removed trailing spaces - Made sure all indentation is done using tabs (fixes #39) - Potentially fixed an identation issue for openssl check
* | Fix error messages forcing a white font for subsequent messagesRémi Verschelde2015-11-101-6/+6
| | | | | | | | | | | | | | | | 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.
* | Display error type (error, warning, script error) in OS::print_errorRémi Verschelde2015-11-101-8/+18
|/ | | | | | 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.
* Merge pull request #2365 from Mavhod/patch-1Juan Linietsky2015-10-171-1/+1
|\ | | | | get_date on Linux
| * add ()Mavhod2015-08-131-1/+1
| | | | | | Sorry, firt time I put it but had no compiled for check.
| * get_date on LinuxMavhod2015-08-131-1/+1
| | | | | | tm_mon is 0-11
* | Merge remote-tracking branch 'upstream/master'Kostadin Damyanov2015-10-133-4/+16
|\ \
| * | HTML5 exporter seems to be fully functionalJuan Linietsky2015-09-122-2/+13
| | | | | | | | | | | | | | | -user:// filesystem implemented -default template page could look prettier, help appreciated
| * | Removing locatime so this function compiles again.Juan Linietsky2015-09-101-2/+2
| | | | | | | | | | | | I don't think it has any practical use anyway.
| * | fixed localtime thing for ios, not tested anywhere elseAriel Manzur2015-09-091-1/+2
| |/
* | Merge remote-tracking branch 'upstream/master'Kostadin Damyanov2015-08-092-0/+15
|\|
| * tested and fixed unix os_system_time_msec()xodene2015-08-061-2/+3
| |
| * Add OS.get_system_time_msecMaximillian2015-08-062-0/+8
| |
| * -some changes by okamJuan Linietsky2015-06-301-0/+6
| |
* | Merge remote-tracking branch 'upstream/master'Kostadin Damyanov2015-06-182-8/+43
|\|
| * Add OS.get_time_zone_info functionest312015-06-062-1/+29
| | | | | | | | | | | | The returned dictionary maps "name" to the name of the current time zone, and "bias" to a bias from UTC in minutes.
| * Add utc param to get_time and get_date methodsest312015-06-062-7/+14
| | | | | | | | | | | | If utc == false, we return the local time, like before. Otherwise, we return UTC time. utc defaults to false to not break behaviour.
* | Haiku: remove an #ifdef as the platform now supports MSG_NOSIGNALKostadin Damyanov2015-06-101-4/+0
| |
* | Haiku: some small fixesKostadin Damyanov2015-05-251-3/+2
| |
* | Haiku: link with the haiku libs, stub the OS_Haiku class.Kostadin Damyanov2015-05-251-2/+6
| |
* | Haiku: fix building with UNIX_ENABLED.Kostadin Damyanov2015-05-253-4/+17
|/