summaryrefslogtreecommitdiffstats
path: root/drivers/unix/os_unix.cpp
Commit message (Collapse)AuthorAgeFilesLines
...
* | Welcome in 2017, dear changelog reader!Rémi Verschelde2017-01-011-1/+1
| | | | | | | | | | | | | | | | 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
* Remove some unused variablesJohan Manuel2016-08-131-1/+1
|
* Remove some noisy debug printsRémi Verschelde2016-07-171-4/+0
| | | | Part of #5031
* 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
* 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-101-3/+2
|/ | | | | | unusable from GDscript due to precision. -Added, instead an OS.get_system_time_secs(), which is 32 bits friendly, fixes #3143
* Update copyright to 2016 in headersGeorge Marques2016-01-011-1/+1
|
* Make the setting unix-only.est312015-11-301-0/+8
| | | | For this, put the detection into the OS class and its subclass.
* 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-9/+19
| | | | | | 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
* | 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
|/
* tested and fixed unix os_system_time_msec()xodene2015-08-061-2/+3
|
* Add OS.get_system_time_msecMaximillian2015-08-061-0/+7
|
* -some changes by okamJuan Linietsky2015-06-301-0/+6
|
* Add OS.get_time_zone_info functionest312015-06-061-1/+28
| | | | | | 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-061-5/+12
| | | | | | If utc == false, we return the local time, like before. Otherwise, we return UTC time. utc defaults to false to not break behaviour.
* Updated copyright year in all headersJuan Linietsky2015-04-181-1/+1
|
* fix build on freebsdsambler2015-01-271-1/+19
| | | | | | | 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
* New Code CompletionJuan Linietsky2014-12-161-0/+6
| | | | | | | | | | | | -=-=-=-=-=-=-=-=-=- -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
* 3D Import Import & UDPJuan Linietsky2014-11-121-0/+2
| | | | | | | | | -=-=-=-=-=-=-=-=-=-=- -Animation Import filter support -Animation Clip import support -Animation Optimizer Fixes, Improvements and Visibile Options -Extremely Experimental UDP support.
* Fixing Issues...Juan Linietsky2014-09-191-1/+7
| | | | | | | - #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)
* -Support for changing fontsJuan Linietsky2014-04-051-0/+6
| | | | | | | -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
* -fixed bug in Button now exporting font propertyJuan Linietsky2014-02-151-1/+2
| | | | | | | | -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.
* GODOT IS OPEN SOURCEJuan Linietsky2014-02-091-0/+410