summaryrefslogtreecommitdiff
path: root/doc/classes/OS.xml
AgeCommit message (Collapse)Author
2020-01-03Add a shorthand for setting the exit code using `SceneTree::quit()`Hugo Locurcio
This reduces the amount of code required to exit a process with a non-zero exit code. This pattern is also found in most other programming languages.
2019-12-29Print a warning message if `OS.exit_code` is set to a non-portable valueHugo Locurcio
This also improves the related documentation.
2019-12-04Added support for vertical syncing via the Windows OS compositor (DWM.)TerminalJack
2019-12-03[ci skip] OS class documentations, adds platform compatibility notes.bruvzg
2019-11-08Expose the `OS.low_processor_usage_mode_sleep_usec` propertyHugo Locurcio
This makes it possible to change it at runtime in projects.
2019-10-31Added documentation for the OS class MIDI functions.Derwent Ready (drentsoft)
2019-10-26doc: Sync classref with current sourceRémi Verschelde
2019-10-22Add request permission automatically at androidCagdas
2019-10-08Improve the OS `get_screen_*` methods' documentationHugo Locurcio
2019-09-26Added an exit code to the blocking mode of OS::executeRuslan Mullayanov
Updated documentation accordingly. Fixes #31881.
2019-09-24Merge pull request #32286 from Calinou/doc-improve-os-shell-openRémi Verschelde
Improve the `OS.shell_open()` documentation
2019-09-23Improve the `OS.shell_open()` documentationHugo Locurcio
This adds a `mailto:` example to `OS.shell_open()`.
2019-09-22Mention performance caveats of `OS.set_window_title()`Hugo Locurcio
See #32254.
2019-08-26[macOS] Add methods to modify global and dock menus. Add ability to open ↵bruvzg
multiple editor/project manager instances, recent/favourite project list to project manager dock menu and opened scene list to editor dock menu.
2019-07-09Clarify what %APPDATA% expands to in Windowshbina085
Linux users should be familiar with "~" so I think it might be unnecessary. Also changed the file separator in the description to use Windows' instead.
2019-06-30doc: Enforce default values for OS propertiesRémi Verschelde
Otherwise we end up fetching values from the current OS instance when running doctool, so they would change based on the system or even simply due to changes to the system clipboard.
2019-06-30doc: Remove null default values that can't be determinedRémi Verschelde
Applying #30187.
2019-06-30doc: Add default values to all propertiesRémi Verschelde
Thanks to @bojidar-bg's impressive work in #29380.
2019-06-29Added descriptions to OS.get_splash_tick_msec() and OS.get_window_safe_area()unknown
2019-06-27Proofread and improve the whole class referenceHugo Locurcio
- Document a few more properties and methods - Add more information to many classes - Fix lots of typos and gramar mistakes - Use [code] tags for parameters consistently - Use [b] and [i] tags consistently - Put "Warning:" and "Note:" on their own line to be more visible, and make them always bold - Tweak formatting in code examples to be more readable - Use double quotes consistently - Add more links to third-party technologies
2019-06-27doc: Fix scoped hyperlinks to same-class enums/methodsRémi Verschelde
The class name does not need to be specified when it is the current class.
2019-06-26doc: Proofread and complete various nodesRémi Verschelde
All 100% completed: MainLoop, Node, Object, Path, Performance, Reference, Resource, SceneState, SceneTree, UndoRedo. Also fixed some en_GB occurrences as the reference spelling is en_US.
2019-06-24Remove references to mouse stuff from OSaustinried
There is nothing in `OS` about mouse grabbing or mouse cursors, that's in `Input`, so I'm cleaning up those references.
2019-06-18doc: Sync classref with current sourceRémi Verschelde
Fix a few bugs.
2019-06-17Merge pull request #29752 from bruvzg/window_size_limitsRémi Verschelde
Add ability to limit maximum/minimum window size.
2019-06-15Add ability to limit maximum/minimum window size.bruvzg
2019-06-14Changes to OS.has_feature() docs:Ken Paulson
- Added link to the Feature Tags documentation - Added note that tag names are case-sensitive
2019-06-12Merge pull request #29465 from bruvzg/per_pixel_transp_imprRémi Verschelde
Removes redundant "splash" setting, improves per pixel transparency documentation.
2019-06-04[macOS] Fixes unicode input with IME mode inactive, Improves IME mode ↵bruvzg
documentation.
2019-06-04Removes redundant "display/window/per_pixel_transparency/splash" setting, ↵bruvzg
improves per pixel transparency documentation.
2019-05-28doc: Sync classref with current sourceRémi Verschelde
2019-05-24Add native window/taskbar icon support for Windows and macOS.bruvzg
Co-authored-by: Markus Törnqvist <mjt@nysv.org>
2019-04-19doc: Drop unused <demos> tagRémi Verschelde
2019-04-01doc: Bump version to 3.2Rémi Verschelde
2019-03-10doc: Fix style for vararg in makerstRémi Verschelde
2019-03-08Request Android record permission when neededDESKTOP-3H3MR3A\eloisa
2019-02-16Expose OS::get_current_video_driver to scripting languagesRémi Verschelde
2019-01-07doc: Fix wrong references found by Sphinx and new makerst.pyRémi Verschelde
2019-01-07doc: Fix wrong references found by new makerst.pyRémi Verschelde
Thanks @PJB3005
2018-12-27doc: Sync classref with current sourceRémi Verschelde
Fix various code formatting issues and argument names.
2018-12-20doc: Add missing commas after "If true/false"Rémi Verschelde
2018-12-20Added OS.get_system_time_msecs()volzhs
2018-12-13doc: Sync classref with current sourceRémi Verschelde
2018-11-23Changes IME input to use notification instead of callback, exposes IME ↵bruvzg
methods to gdscript/gdnative.
2018-11-07Expose OS::move_window_to_foregroundMarcelo Fernandez
2018-10-03Fix warnings in Android platformRémi Verschelde
Fixes the following Clang 7 warnings: ``` platform/android/os_android.h:240:16: warning: 'OS_Android::native_video_play' hides overloaded virtual function [-Woverloaded-virtual] platform/android/os_android.h:241:15: warning: 'OS_Android::native_video_is_playing' hides overloaded virtual function [-Woverloaded-virtual] platform/android/audio_driver_opensl.cpp:104:3: warning: suggest braces around initialization of subobject [-Wmissing-braces] platform/android/audio_driver_opensl.cpp:129:10: warning: unused variable 'numOutputs' [-Wunused-variable] platform/android/audio_driver_opensl.cpp:130:11: warning: unused variable 'deviceID' [-Wunused-variable] platform/android/java_glue.cpp:795:10: warning: unused variable 'clsio' [-Wunused-variable] platform/android/java_glue.cpp:890:12: warning: unused variable 'gob' [-Wunused-variable] platform/android/java_glue.cpp:592:13: warning: unused variable 'resized' [-Wunused-variable] platform/android/java_glue.cpp:593:13: warning: unused variable 'resized_reload' [-Wunused-variable] modules/mobile_vr/mobile_vr_interface.cpp:401:8: warning: unused variable 'aspect_ratio' [-Wunused-variable] drivers/unix/dir_access_unix.cpp:394:2: warning: THIS IS BROKEN [-W#warnings] ```
2018-09-27doc: Fix OS.execute example (cf. #22412)Rémi Verschelde
2018-08-29doc: Sync classref with current sourceRémi Verschelde
2018-07-26doc: Sync classref with current sourceRémi Verschelde
Fix various missing arguments in bindings.
2018-06-18Expose OS.get_ticks_usec()Marc Gilleron