summaryrefslogtreecommitdiff
path: root/core/os/os.h
AgeCommit message (Collapse)Author
2017-04-10Rename [gs]et_pos to [gs]et_position for ControlsSergey Pusnei
Control set_pos -> set_position Control set_global_pos -> set_global_position [gs]et_mouse_pos -> [gs]et_mouse_position [gs]et_global_mouse_pos -> [gs]et_global_mouse_position fixes #8005
2017-04-08Add "Godot Engine contributors" copyright lineRémi Verschelde
2017-04-03added dlscript moduleKarroffel
This module was written by bojidar-bg and me, with the help of ClikCode and touilleMan. This adds a module to Godot that enables the use of dynamic libraries as a source for scripts. That also allows third party libraries to be linked to Godot more easily and without creating modules. For a readme see https://github.com/GodotNativeTools/godot_headers/blob/master/README.md
2017-03-29Added methods for opening dynamic libraries to OSKarroffel
2017-03-05A Whole New World (clang-format edition)Rémi Verschelde
I can show you the code Pretty, with proper whitespace Tell me, coder, now when did You last write readable code? I can open your eyes Make you see your bad indent Force you to respect the style The core devs agreed upon A whole new world A new fantastic code format A de facto standard With some sugar Enforced with clang-format A whole new world A dazzling style we all dreamed of And when we read it through It's crystal clear That now we're in a whole new world of code
2017-03-04Add API to access battery power stateJulian Murgia
Done: - X11, server (tested) - Windows (developed, would be nice to retest) - OSX (not tested) Prepared (not developed): - Android (code is here, but may not compile) - iphone - winrt - bb10 - haiku - javascript
2017-02-06Several bugfixes, improving the import workflowJuan Linietsky
2017-01-25Added focus tracking in X11 and Windows classes, added new confined mouse ↵Ilija Boshkov
mode (#7162)
2017-01-13Replace Engine version API by preexisting OS oneRémi Verschelde
It outputs a single Dictionary with all relevant information as keys, that will less bloat the documentation and provide all details in one function call.
2017-01-13Created new Engine singleton, and moved engine related OS functions to it.Juan Linietsky
2017-01-02Merge remote-tracking branch 'origin/gles3' into gles3-on-masterRémi Verschelde
Various merge conflicts have been fixed manually and some mistakes might have been made - time will tell :)
2017-01-01Welcome in 2017, dear changelog reader!Rémi Verschelde
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!
2016-11-08vsnc --> vsyncISylvox
2016-10-102D Shaders are working again using the new syntax, though all is buggy in ↵Juan Linietsky
general
2016-09-14Improve debug focus behaviorPedro J. Estébanez
Fix focusing debugged game on Windows Add re-focusing editor on continue
2016-09-01-Modified Input and added is_action_just_pressed() as well as ↵Juan Linietsky
is_action_just_released()
2016-07-21Merge pull request #5560 from vnen/os-request-attentionRémi Verschelde
Add OS.request_attention() for Windows
2016-07-18OS: Add get_engine_version methodRémi Verschelde
Fixes #5693.
2016-07-05Add OS.request_attention() for WindowsGeorge Marques
2016-06-05vsync supportJuan Linietsky
-works on windows -may not work on X11, if so please fix -OSX does not seem to support disabling vsync
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-05-30-Some fixes to OSX retina scaling for window functionsJuan Linietsky
-Implemented HiDPI detection and support for Godot Editor!
2016-05-29DPI Detection supportJuan Linietsky
Windows only for now. Many builds may break (older visual studio, mingw32)
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-12Borderless window support for the Win32 build. Default window position is ↵Saracen
now also centred.
2016-03-09remove trailing whitespaceHubert Jarosz
2016-02-19Reject any native video player calls on iOS that point to files within .pck ↵Aren Villanueva
archives. Fix the paths for both res:// and user:// specified video files.
2016-02-03Merge pull request #3493 from Hinsbart/wm_classRémi Verschelde
x11: use different strings for WM_CLASS depending on context
2016-02-02-Correctly flip BG texture if viewport is flipped, fixes #3507Juan Linietsky
2016-01-27x11: use different strings for WM_CLASS depending on contexthondres
2016-01-24Change default window size for desktopGeorge Marques
Fix #3149
2016-01-16Add ability to set "keep screen on" for androidvolzhs
2016-01-12Merge pull request #3272 from Hinsbart/joy-bindingpunto-
Add some joystick functions to input. Enables manipulation of mapping…
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-08Add some joystick functions to input. Enables manipulation of mappings at ↵hondres
runtime
2016-01-01Update copyright to 2016 in headersGeorge Marques
2015-12-12-added windowed mode with -w, fixes #3020Juan Linietsky
-changed default windowed resolution to 1280x720
2015-11-30Make the setting unix-only.est31
For this, put the detection into the OS class and its subclass.
2015-10-13-A little More control about pixel snapping in 2DJuan Linietsky
2015-08-30new editor settings customization of where to run the game from the editorJuan Linietsky
2015-08-06Add OS.get_system_time_msecMaximillian
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-04-12-Changed bootsplash option to use a file, fixes #1539Juan Linietsky
-Added OS.get_splash_tick_msec() to query when splash appeared
2015-03-22fixes to new window management APIJuan Linietsky
-needs testing on Linux -needs testing on Windows -NEED SOMEONE TO IMPLEMENT IT ON OSX!! PLEASE HELP!
2015-02-15Renamed EXPERIMENTAL_WM_API to NEW_WM_APIhurikhan
2015-01-17added the following methods:hurikhan
* set_minimized(bool) * bool is_minimized() * set_maximized(bool) * bool is_maximized()
2015-01-15WIP -- set_resizable() + is_resizable addedhurikhan
2015-01-14get_screen() + set_screen() addedhurikhan