summaryrefslogtreecommitdiff
path: root/drivers/unix/os_unix.cpp
AgeCommit message (Collapse)Author
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-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-04Remove unnecessary null pointer checksEmmanuel Leblond
2016-01-01Update copyright to 2016 in headersGeorge Marques
2015-11-30Make the setting unix-only.est31
For this, put the detection into the OS class and its subclass.
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-10-17Merge pull request #2365 from Mavhod/patch-1Juan Linietsky
get_date on Linux
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-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-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-04-18Updated copyright year in all headersJuan Linietsky
2015-01-27fix build on freebsdsambler
Add some needed includes Provide freebsd variation of get_executable_path Provide variation of execv so that either full path or appname to be found within $PATH can be used
2014-12-16New Code CompletionJuan Linietsky
-=-=-=-=-=-=-=-=-=- -Massive improvement to code completion -Argument hinting for functions If you manage to out-smart the code-completion in a situation where completion should be possible to guess, let me know. Please enter the commit message for your changes. Lines starting
2014-11-123D Import Import & UDPJuan Linietsky
-=-=-=-=-=-=-=-=-=-=- -Animation Import filter support -Animation Clip import support -Animation Optimizer Fixes, Improvements and Visibile Options -Extremely Experimental UDP support.
2014-09-19Fixing Issues...Juan Linietsky
- #672 (default user:// in $HOME/.godot/app_userdata (linux/osx) and $APPDATA/Godot/app_userdata (Windows) - #676 (draw both tiles and octants in order from top to bottom, left to right ) - #686 (unicode escape sequences work now) - #702 (was not a bug, but a test was added to see if bodies went too far away)
2014-04-05-Support for changing fontsJuan Linietsky
-Detect when free() might crash the project and throw error -fixed 2D Bounce in physics (3d still broken) -renamed “on_top” property to “behind_parent”, which makes more sense, old on_top remains there for compatibility but is invisible. -large amount of fixes
2014-02-15-fixed bug in Button now exporting font propertyJuan Linietsky
-made GUI Theme editor usable -editor does not allow to export or create .pck in the same path as a project -changed .pck format (lacked support for versioning so couldn't change it), previous was causing crashes and is now incompatible, just re-export. -will not look for .pck files recursively, was causing unexpected behaviors -fixed execution of Godot in paths with non unicode characters in Windows, OSX and Linux.
2014-02-09GODOT IS OPEN SOURCEJuan Linietsky