summaryrefslogtreecommitdiffstats
path: root/core/os
Commit message (Collapse)AuthorAgeFilesLines
* Merge commit godotengine/godot@f128f383e892865379cb8b14e7bcc9858efe2973Spartan3222024-11-271-2/+7
|\
| * Register Engine, OS, ProjectSettings, and Time early.Hunt J. Sparra2024-11-211-2/+7
| |
* | Merge commit godotengine/godot@cb411fa960f0b7fdbd97dcdb4c90f9346360ee0eSpartan3222024-11-121-2/+15
|\|
| * Merge pull request #91201 from bruvzg/con_typeThaddeus Crews2024-11-121-2/+15
| |\ | | | | | | | | | [OS] Add functions to determine standard I/O device type.
| | * [OS] Add functions to determine standard I/O device type.bruvzg2024-11-061-2/+15
| | |
* | | Merge commit godotengine/godot@0f5f3bc9546b46b2029fc8896dc859697f1eab97Spartan3222024-11-113-5/+70
|\| |
| * | Merge pull request #98809 from bruvzg/mac_gde_libs_non_uniThaddeus Crews2024-11-101-0/+10
| |\ \ | | | | | | | | | | | | [GDExtension] Improve macOS library loading/export.
| | * | [GDExtension] Improve macOS library loading/export.bruvzg2024-11-041-0/+10
| | |/
| * | Enhance SpinLockPedro J. Estébanez2024-11-081-5/+42
| | |
| * | Add a utility cache line size constantPedro J. Estébanez2024-11-081-0/+18
| |/
* | Merge commit godotengine/godot@c6c464cf9ae56e8b68620af65125dd980d0e8122Spartan3222024-11-021-1/+1
|\|
| * [Core] Improve error messages with `vformat`A Thousand Ships2024-10-301-1/+1
| |
* | Merge commit godotengine/godot@8004c7524fb9f43425c4d6f614410a76678e0f7cSpartan3222024-10-301-4/+4
|\|
| * Set clang-format `RemoveSemicolon` rule to `true`Adam Scott2024-10-251-4/+4
| | | | | | | | - Set clang-format `Standard` rule to `c++20`
* | Fix copyright headers referring to GodotSpartan3222024-10-2725-50/+50
| |
* | Merge commit godotengine/godot@b3bcb2dc14691f7729984128dca26a844f662fa1Spartan3222024-10-221-1/+0
|\|
| * Don't include `core/io/image.h` in `core/os/os.h`Yevhen Babiichuk (DustDFG)2024-10-181-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | `core/os/os.h` doesn't use `core/io/image.h`. It just brings transitive dependencies. Lots of dependencies because `core/os/os.h` is transitively included in almost every file of godot Also added `core/io/image.h` into files^1 where `Ref<Image>` and `core/os/os.h` were used to prevent obscure errors involving `Ref<Image>` ^1 except those which include `core/io/image_loader.h` or `core/io/image.h` by corresponding .h file with the same name Signed-off-by: Yevhen Babiichuk (DustDFG) <dfgdust@gmail.com> Co-authored-by: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>
* | Rebrand preambles to RedotDubhghlas McLaughlin2024-10-1125-0/+50
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Credits: Co-authored-by: Skogi <skogi.b@gmail.com> Co-authored-by: Spartan322 <Megacake1234@gmail.com> Co-authored-by: swashberry <swashdev@pm.me> Co-authored-by: Christoffer Sundbom <christoffer_karlsson@live.se> Co-authored-by: Dubhghlas McLaughlin <103212704+mcdubhghlas@users.noreply.github.com> Co-authored-by: McDubh <103212704+mcdubhghlas@users.noreply.github.com> Co-authored-by: Dubhghlas McLaughlin <103212704+mcdubhghlas@users.noreply.github.com> Co-authored-by: radenthefolf <radenthefolf@gmail.com> Co-authored-by: John Knight <80524176+Tekisasu-JohnK@users.noreply.github.com> Co-authored-by: Adam Vondersaar <adam.vondersaar@uphold.com> Co-authored-by: decryptedchaos <nixgod@gmail.com> Co-authored-by: zaftnotameni <122100803+zaftnotameni@users.noreply.github.com> Co-authored-by: Aaron Benjamin <lifeartstudios@gmail.com> Co-authored-by: wesam <108880473+wesamdev@users.noreply.github.com> Co-authored-by: Mister Puma <MisterPuma80@gmail.com> Co-authored-by: Aaron Benjamin <lifeartstudios@gmail.com> Co-authored-by: SingleError <isaaconeoneone@gmail.com> Co-authored-by: Bioblaze Payne <BioblazePayne@gmail.com>
* | Rebrand Godot to RedotRandolph W. Aarseth II2024-10-111-1/+1
|/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add Linux Editor tests workflow matrix Add Windows Editor w/ Mono workflow matrix Add Generate Glue Code job to Windows workflow Add Build GodotSharp job to Windows workflow Add godot compatibility version references Add Godot author info Add Godot version compatibility info Add Godot donor info Add Godot authors and donors to editor_about.cpp Credits: Co-authored-by: Skogi <skogi.b@gmail.com> Co-authored-by: Spartan322 <Megacake1234@gmail.com> Co-authored-by: swashberry <swashdev@pm.me> Co-authored-by: Christoffer Sundbom <christoffer_karlsson@live.se> Co-authored-by: Dubhghlas McLaughlin <103212704+mcdubhghlas@users.noreply.github.com> Co-authored-by: McDubh <103212704+mcdubhghlas@users.noreply.github.com> Co-authored-by: Dubhghlas McLaughlin <103212704+mcdubhghlas@users.noreply.github.com> Co-authored-by: radenthefolf <radenthefolf@gmail.com> Co-authored-by: John Knight <80524176+Tekisasu-JohnK@users.noreply.github.com> Co-authored-by: Adam Vondersaar <adam.vondersaar@uphold.com> Co-authored-by: decryptedchaos <nixgod@gmail.com> Co-authored-by: zaftnotameni <122100803+zaftnotameni@users.noreply.github.com> Co-authored-by: Aaron Benjamin <lifeartstudios@gmail.com> Co-authored-by: wesam <108880473+wesamdev@users.noreply.github.com> Co-authored-by: Mister Puma <MisterPuma80@gmail.com> Co-authored-by: Aaron Benjamin <lifeartstudios@gmail.com> Co-authored-by: SingleError <isaaconeoneone@gmail.com> Co-authored-by: Bioblaze Payne <BioblazePayne@gmail.com>
* SCons: Add unobtrusive type hints in SCons filesThaddeus Crews2024-09-251-0/+1
|
* Add support for non-blocking IO mode to `OS.execute_with_pipe`.bruvzg2024-09-061-1/+1
|
* Store GLES over GL status in the OS to avoid direct renderer includes in the ↵bruvzg2024-09-031-0/+3
| | | | editor.
* Update rendering driver name on fallbacks. Fix rendering driver/method in ↵bruvzg2024-09-011-3/+3
| | | | the editor system info.
* Merge pull request #94792 from akien-mga/core-remove-poolallocatorRémi Verschelde2024-08-282-736/+0
|\ | | | | | | Core: Remove unused PoolAllocator
| * Core: Remove unused PoolAllocatorRémi Verschelde2024-07-262-736/+0
| |
* | Merge pull request #93985 from alvinhochun/windows-gpu-prefRémi Verschelde2024-08-281-0/+1
|\ \ | | | | | | | | | Respect integrated GPU preference in Windows Settings
| * | Respect integrated GPU preference in Windows SettingsAlvin Wong2024-07-161-0/+1
| | |
* | | Merge pull request #93739 from AThousandShips/lock_unlockRémi Verschelde2024-08-262-2/+35
|\ \ \ | | | | | | | | | | | | [Core] Allow locking/unlocking of `MutexLock`
| * | | [Core] Allow locking/unlocking of `MutexLock`A Thousand Ships2024-08-262-2/+35
| | | |
* | | | Change warning muting so it affects all levels, but locallyPedro J. Estébanez2024-08-261-0/+9
|/ / /
* | | Merge pull request #94169 from RandomShaper/wtp_rl_prizeRémi Verschelde2024-08-263-41/+52
|\ \ \ | | | | | | | | | | | | Batch of fixes for `WorkerThreadPool` and `ResourceLoader`
| * | | WorkerThreadPool (plus friends): Overhaul unlock allowance zonesPedro J. Estébanez2024-08-213-41/+52
| | | | | | | | | | | | | | | | This fixes a rare but possible deadlock, maybe due to undefined behavior. The new implementation is safer, at the cost of some added boilerplate.
* | | | Add debug utilities for VulkanMatias N. Goldberg2024-08-212-0/+57
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Features: - Debug-only tracking of objects by type. See get_driver_allocs_by_object_type et al. - Debug-only Breadcrumb info for debugging GPU crashes and device lost - Performance report per frame from get_perf_report - Some VMA calls had to be modified in order to insert the necessary memory callbacks Functionality marked as "debug-only" is only available in debug or dev builds. Misc fixes: - Early break optimization in RenderingDevice::uniform_set_create ============================ The work was performed by collaboration of TheForge and Google. I am merely splitting it up into smaller PRs and cleaning it up.
* | | Merge pull request #92391 from rburing/fti_3dRémi Verschelde2024-08-161-0/+1
|\ \ \ | |_|/ |/| | | | | Physics interpolation (3D)
| * | Fixed Timestep Interpolation (3D)Ricardo Buring2024-07-071-0/+1
| |/ | | | | | | | | | | | | Adds 3D fixed timestep interpolation to the rendering server. This does not yet include support for multimeshes or particles. Co-authored-by: lawnjelly <lawnjelly@gmail.com>
* / Fix Game window stops responding when debugger pausesJamie Pate2024-07-101-2/+0
|/ | | | | | | | | | | | | | | | | | | | | Fixes #73374 As of godot 4 On windows/osx the game window will be frozen and will not be updated. In the debugger loop it calls OS::get_singleton()->process_and_drop_events(); which allows windows/osx to handle system events. If the window doesn't handle these events then both systems will judge the window to be 'not responding' (osx beachball cursor) When the event processing code was migrated from OS to DisplayServer the process_and_drop_events() logic was moved to DisplayServer, but the call inside the remote debugger pause loop was not updated to call the DisplayServer version, there are currently no implementations of OS::process_and_drop_events() so i removed it and switched to the new DisplayServer::force_process_and_drop_events() method.
* Prevent folder names with trailing periods from being used automaticallyHugo Locurcio2024-06-261-1/+4
| | | | | | | | | Folder names ending with one or more `.` characters are not allowed on Windows, so this would break writing logs, shader cache and other project-specific files. Trailing periods are now stripped in this case. On non-Windows platforms, this change still applies in the interest of portability.
* Move MIDI parsing up from ALSA driver to platform independent driver.Ibrahn Sahir2024-06-252-67/+200
| | | | | | | | | | | | | | | | | Aims for more consistent MIDI support across Windows, MacOS, Linux and to provide a base for adding MIDI drivers for other platforms. Reworks the MIDIDriverALSAMidi MIDI parsing implementation as a platform independent version in MIDIDriver::Parser. Uses MIDIDriver::Parser to provide running status support in MacOS MIDIDriverCoreMidi. Collects connected input names at open, ensuring devices indices reported in events match names in array returned from get_connected_inputs. Fixes #77035. Fixes #79811. With code review changes by: A Thousand Ships (she/her) <96648715+AThousandShips@users.noreply.github.com>
* Add `nothreads` feature tag to signify lack of `THREADS_ENABLED`Mikael Hermansson2024-06-241-0/+4
|
* Implement `amplitude` to Input.vibrate_handheldRadiant2024-05-021-1/+1
| | | | | Co-authored-by: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com> Co-authored-by: m4gr3d <m4gr3d@users.noreply.github.com>
* Add separate feature tags for editor runtimekobewi2024-04-262-0/+6
|
* Collapse the gdextension arguments into the `GDExtensionData` structFredia Huya-Kouadio2024-04-191-1/+8
| | | | This is used to reduce the number of arguments to `OS::open_dynamic_library(...)`.
* Fix loading GDExtension dependencies on AndroidFredia Huya-Kouadio2024-04-192-1/+52
|
* Add get_process_exit_code() methodkobewi2024-04-161-0/+1
|
* Merge pull request #87117 from DmitriySalnikov/rename_pdbRémi Verschelde2024-04-111-1/+1
|\ | | | | | | Add renaming of PDB files to avoid blocking them
| * Add renaming of PDB files to avoid blocking themDmitriySalnikov2024-04-051-1/+1
| |
* | Update lingering `do/while(0)` definesThaddeus Crews2024-04-041-2/+3
|/
* Implement `OS.execute_with_pipe` method to run process with redirected stdio.bruvzg2024-03-271-0/+1
| | | | Implement `pipe://*` path handling for creation of named pipes.
* Merge pull request #89229 from akien-mga/main-refactor-os-exit-codeRémi Verschelde2024-03-241-1/+2
|\ | | | | | | Refactor OS exit code to be `EXIT_SUCCESS` by default
| * Refactor OS exit code to be `EXIT_SUCCESS` by defaultRémi Verschelde2024-03-081-1/+2
| | | | | | | | | | | | | | | | | | | | | | - `Main::setup` early exits (failure or `--help`/`--version`) now consistently return `EXIT_FAILURE` or `EXIT_SUCCESS` on all platforms, instead of 255 on some and a Godot Error code on others. - `Main::start` now returns the exit code, simplifying the handling of early failures. - `Main::iteration` needs to explicit set the exit code in OS if it errors out. - Web and iOS now properly return `OS::get_exit_code()` instead of 0.