| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(cherry picked from commit e8542b06acca3c1bdeee4b528411771f0819f084)
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>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
`GDExtension::open_library` has a check in it to see if the library was loaded
from a temp file, and if it was to restore the original name as that is the one
we actually care about. This check is breaking extension reloading on Mac when
the library path is to a framework folder, as the file inside the framework
will not generally be the same name as the folder.
This check also shouldn't be necessary even on Windows, which is the only
platform that uses `generate_temp_files`, since disposal of the created temp
file is handled within `OS_Windows::open_dynamic_library`, and
`GDExtension::open_library` (which is the only function to call
`open_dynamic_library` with a `p_data` argument) only cares about the original
library file path and has to do extra work to remove the name of the temp file.
Instead, I have removed that check and set `OS_Windows::open_dynamic_library`
to return the name of the original file and not the name of the copy.
This fixes GDExtension reloading on macOS. I do not have a Windows machine
available to test that it still works properly on Windows, so someone should
check that before merging this.
(cherry picked from commit f44d6a235f198e3f8c5189161840315f43cfdd2e)
|
|
|
|
|
|
|
|
|
| |
Random-access access to `List` when iterating is `O(n^2)` (`O(n)` when
accessing a single element)
* Removed subscript operator, in favor of a more explicit `get`
* Added conversion from `Iterator` to `ConstIterator`
* Remade existing operations into other solutions when applicable
|
|\
| |
| |
| | |
[FileAccess] Implement `resize` method.
|
| | |
|
| |
| |
| |
| | |
This is used to reduce the number of arguments to `OS::open_dynamic_library(...)`.
|
| | |
|
|\ \
| | |
| | |
| | | |
Add `OS.get_process_exit_code()` method
|
| |/ |
|
|/
|
|
| |
`erase_contents_recursive` is not following directory symlinks.
|
| |
|
|
|
|
| |
Implement `pipe://*` path handling for creation of named pipes.
|
|\
| |
| |
| | |
Attempt parsing environment variables as UTF-8
|
| | |
|
| |
| |
| |
| | |
Part of the joint effort with @rfht to port Godot 4 on OpenBSD.
|
| | |
|
|/ |
|
|\
| |
| |
| | |
Use platform-specific methods for FileAccess reading and writing
|
| | |
|
|\ \
| | |
| | |
| | | |
Fix NetBSD executable path
|
| | | |
|
|/ / |
|
|/ |
|
| |
|
|\
| |
| |
| | |
On Linux, favor local symbols when loading a shared library
|
| | |
|
|/ |
|
| |
|
|
|
|
| |
Cleanup unused MSVC code in FileAccessUnix.
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
macOS/BSD and Windows.
|
| |
|
| |
|
|
|
|
|
|
| |
And harmonize the format for all platforms.
Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
|
|
|
|
| |
This is identical to passing the string directly.
|
| |
|
| |
|
|
|
|
| |
of old `get_free_static_memory`.
|
| |
|
|\
| |
| | |
Create a safe temporary file with is_backup_save_enabled
|
| | |
|
|/ |
|
|\
| |
| |
| | |
OS: Add `unset_environment`, better validate input
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Instead of returning an undocumented boolean error code, we do the
validation checks that should ensure a successful result.
Based on:
- https://linux.die.net/man/3/setenv
- https://learn.microsoft.com/en-us/windows/win32/api/winbase/nf-winbase-setenvironmentvariable
|
|/ |
|
|\
| |
| | |
Improve documentation for `OS.read_string_from_stdin()`
|
| |
| |
| |
| |
| |
| | |
This makes it clearer that calls to this method are blocking.
The unused method parameter was also removed.
|