1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-04 12:00:25 +00:00
Commit Graph

277 Commits

Author SHA1 Message Date
Hugo Locurcio
22285c8fd9 Document OS.get_video_adapter_driver_info() being slow to call the first time
- Add a code sample that shows how to call it from a thread
  to avoid blocking the engine.
2025-08-06 14:39:16 +02:00
Patrick Exner
5a7b6b7159 Add permission request for Apple embedded platforms, fix microphone input
Co-Authored-By: Miguel de Icaza <miguel@gnome.org>

Supersedes https://github.com/godotengine/godot/pull/107233
Fixes https://github.com/godotengine/godot-proposals/issues/12563
Fixes https://github.com/godotengine/godot/issues/33885

Superseding Miguel's PR to get it in during the beta stage.
2025-06-25 15:29:33 +02:00
A Thousand Ships
2db7ecd410 [Docs] Various grammar and spelling fixes 2025-06-23 20:54:08 +02:00
kobewi
13f642d959 Replace XML codeblock spaces with tabs 2025-06-06 14:35:38 +02:00
Mikael Hermansson
f610c81943 Add OS::open_with_program for opening files/directories with a specific program on macOS
Co-authored-by: bruvzg <7645683+bruvzg@users.noreply.github.com>
2025-06-05 10:12:01 +02:00
Thaddeus Crews
9ee7d78274 Merge pull request #106859 from syntaxerror247/alias
Add support for `OS.get_version_alias()` on Android
2025-06-02 18:51:56 -05:00
Pāvels Nadtočajevs
617e12a6b4 [Windows] Drop support for Windows 7/8/8.1. 2025-05-30 17:30:23 +03:00
Anish Mishra
458850b2d9 Add support for OS.get_version_alias() on Android 2025-05-30 19:57:15 +05:30
Adam Scott
6e6c4d3045 [Web] Always return 0 for OS::get_process_id() 2025-05-16 15:46:34 -04:00
Thaddeus Crews
28089c40c1 Merge pull request #91006 from reduz/live-backtrace
Ability to print and log script backtraces
2025-04-24 17:18:52 -05:00
reduz
d1dcb40d56 Ability to print and log script backtraces
Co-authored-by: Mikael Hermansson <mikael@hermansson.io>
2025-04-24 18:54:41 +02:00
Pāvels Nadtočajevs
e6d3cf63fb [ColorPicker, macOS] Add link to request required screen recording permission. 2025-04-23 22:25:10 +03:00
Micky
7603945d14 Fix *even* more miscellaneous oddities around the class reference 2025-04-07 17:37:08 +02:00
Pāvels Nadtočajevs
ce2d0ac62f [Docs] Add note about console wrapper to get_stdin_type. 2025-04-02 13:55:06 +03:00
Pāvels Nadtočajevs
ff118b63e2 Add missing default values to the read_*_from_stdin binds. 2025-03-05 10:23:31 +02:00
Mateus Elias
8a810dd55a Fix incorrect string escaping in OS.shell_open() method Windows path example
Corrected improper string escaping in the OS.shell_open() Windows path example. Backslashes are now properly escaped to prevent string parsing errors. Also, added a new alternative example of how to mount a Windows path with OS.shell_open().
2025-01-08 09:46:56 -03:00
Anish Mishra
b50d9b7d8c Update OS.request_permission(...) description 2025-01-02 15:22:23 +05:30
Raul Santos
072ff85f82 [.NET] Use collection expressions in docs
As of C# 12 we can now use collection expressions to reduce some boilerplate when initializing collections.
2024-12-21 02:28:59 +01:00
Thaddeus Crews
3bc4936498 Merge pull request #95928 from ryanbraganza/webmidi-support
Add Web MIDI support
2024-12-16 12:09:49 -06:00
Ryan Braganza
a7505ee0bc Add Web MIDI support
Co-authored-by: Adam Scott <ascott.ca@gmail.com>
Co-authored-by: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>
2024-12-15 21:24:15 +11:00
Hugo Locurcio
928982891e Add OS.get_version_alias() to return a human-readable Windows/macOS version number
Windows 11's major version number is actually 10.x.x, which can be confusing
if you don't know about this quirk. `OS.get_version_alias()` avoids this
by displaying the "branding" version number and the build number as a suffix,
so that individual updates can still be distinguished from each other.

On macOS, `OS.get_version_alias()` returns the version number prepended
with the version name (e.g. Sequoia for macOS 15).

On other operating systems, this returns the same value as `OS.get_version()`.
2024-12-14 18:47:50 +01:00
Thaddeus Crews
4146bcc0dc Merge pull request #99089 from Mickeon/documentation-truth-csharp-rabbit-hoole
Fix C# boolean "Prints" comments in documentation
2024-12-11 17:35:30 -06:00
Adam Scott
1b3e483899 Add file and dir temporary utilities
Co-authored by @Alex2782 for the Android bindings.
Many thanks to the reviewers also.

Co-authored-by: Alex <alex.hart.278@gmail.com>
2024-12-02 12:08:14 -05:00
Pāvels Nadtočajevs
e9b57fce82 Convert line breaks to \n and strip line break from the end of string returned by OS::read_string_from_stdin/OS::get_stdin_string. 2024-11-23 15:11:50 +02:00
Thaddeus Crews
179321a0a3 Merge pull request #91201 from bruvzg/con_type
[OS] Add functions to determine standard I/O device type.
2024-11-12 12:13:12 -06:00
Thaddeus Crews
2c31bd767c Merge pull request #99020 from Mickeon/documentation-example-pruning-2
Clean up more `[b]Example:[/b]` lines from the class reference
2024-11-12 09:28:02 -06:00
Pāvels Nadtočajevs
a6dfd1cf6e Implement get_model_name on macOS and Windows. 2024-11-12 10:34:24 +02:00
Micky
0c2296fb1b Fix C# boolean "Prints" comments in documentation 2024-11-11 21:19:34 +01:00
Micky
932b1c434c Clean up more [b]Example:[/b] lines from the class reference 2024-11-11 12:05:34 +01:00
bruvzg
76164c2aa9 [OS] Add functions to determine standard I/O device type. 2024-11-06 13:33:38 +02:00
bruvzg
10f3c1f587 Add support for non-blocking IO mode to OS.execute_with_pipe. 2024-09-06 14:16:39 +03:00
Stuart Carnie
2d0165574d Add Metal support for macOS (arm64) and iOS 2024-08-20 12:11:06 +02:00
bruvzg
1dfcbccfe6 [macOS] Fix is_process_running and kill for bundled apps. 2024-07-31 16:54:53 +02:00
Adam Damiano
d7f4b07adc Clarify get_executable_path documentation for Mac 2024-07-05 08:22:31 -07:00
Fabio Alessandrelli
ae7045f67e [Crypto] Expose OS.get_entropy 2024-06-17 12:02:37 +02:00
Fabio Alessandrelli
33d0e1c50c [Crypto] Expose get_system_ca_certificates. 2024-06-14 22:27:03 +02:00
fulanko
1f32b22937 Fix incorrect c# in OS.get_cmdline_args 2024-04-22 19:16:31 +02:00
kobewi
dce4a3e4c2 Add get_process_exit_code() method 2024-04-16 12:46:15 +02:00
skyace65
c83718624f Update links to outdated asset library demos
Update links to outdated asset library demos

Co-authored-by: Max Hilbrunner <m.hilbrunner@gmail.com>
2024-04-07 16:59:43 +02:00
bruvzg
082b420c0a Implement OS.execute_with_pipe method to run process with redirected stdio.
Implement `pipe://*` path handling for creation of named pipes.
2024-03-27 11:41:16 +02:00
Micky
c54e09a5a3 Overhaul some "uncommon" wording in class reference 2024-03-01 15:32:38 +01:00
Micky
e26f612f38 Post-merge fixes to Node & OS documentation 2024-02-11 16:44:24 +01:00
Hugo Locurcio
d94ee14123 Document OS.execute() limitations on Android 2024-02-05 20:17:24 +01:00
Micky
465e843d40 Overhaul OS documentation 2024-01-04 12:37:56 +01:00
Pedro J. Estébanez
2f47c57385 Add Direct3D 12 RenderingDevice implementation 2023-12-12 19:10:04 +01:00
bruvzg
d4d5d68eda [iOS, GDExtension] Fix loading and exporting static libraries and xcframeworks. 2023-11-09 20:04:40 +02:00
Rex Robinson
a8226a7e04 Add semicolon to OS case statement. 2023-10-09 16:43:43 -04:00
Yuri Sizov
cc0eebd9d8 Validate code tags for class and member references
This commit also adds means to manually disable warnings
in `code` tags where it's a false positive with the new
`skip-lint` attribute.

Warnings are now enabled on CI to prevent future errors.
2023-10-03 15:48:31 +02:00
Rémi Verschelde
0a10f09ce4 Web: Clarify that OS.get_unique_id is not supported
Remove the base error message in `OS`, we no longer really error out this
way for not implemented methods. Instead, each platform should override them
to provide the context they want.

Fixes #82439.
2023-09-27 15:17:45 +02:00
Rémi Verschelde
8de6405288 UWP: Remove platform port, needs to be redone from scratch for 4.x
The UWP platform port was never ported to the Godot 4.0+ API,
and it's now accumulating bitrot as it doesn't compile, and thus
we no longer propagate platform changes in it.

So we finally remove to acknowledge this state. There's still some
interest in reviving the UWP port eventually, especially as support
for Direct3D 12 will soon be merged, but when that happens it will
be easiest to redo it from scratch.
2023-09-07 15:01:59 +02:00