Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Reduce and prevent unnecessary random-access to `List` | A Thousand Ships | 2024-05-04 | 2 | -9/+9 |
| | | | | | | | | | 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 | ||||
* | Merge pull request #90403 from bruvzg/file_resize | Rémi Verschelde | 2024-04-22 | 3 | -0/+19 |
|\ | | | | | | | [FileAccess] Implement `resize` method. | ||||
| * | [FileAccess] Implement `resize` method. | bruvzg | 2024-04-12 | 3 | -0/+19 |
| | | |||||
* | | Collapse the gdextension arguments into the `GDExtensionData` struct | Fredia Huya-Kouadio | 2024-04-19 | 2 | -4/+4 |
| | | | | | | | | This is used to reduce the number of arguments to `OS::open_dynamic_library(...)`. | ||||
* | | Fix loading GDExtension dependencies on Android | Fredia Huya-Kouadio | 2024-04-19 | 2 | -2/+2 |
| | | |||||
* | | Merge pull request #90358 from KoBeWi/finding_errors_in_other_apps | Rémi Verschelde | 2024-04-16 | 2 | -0/+51 |
|\ \ | | | | | | | | | | Add `OS.get_process_exit_code()` method | ||||
| * | | Add get_process_exit_code() method | kobewi | 2024-04-16 | 2 | -0/+51 |
| |/ | |||||
* / | [Unix / DirAccess] Fix removing directory symlinks with `remove`, ensure ↵ | bruvzg | 2024-04-12 | 1 | -2/+2 |
|/ | | | | `erase_contents_recursive` is not following directory symlinks. | ||||
* | Add renaming of PDB files to avoid blocking them | DmitriySalnikov | 2024-04-05 | 2 | -2/+2 |
| | |||||
* | Implement `OS.execute_with_pipe` method to run process with redirected stdio. | bruvzg | 2024-03-27 | 4 | -0/+384 |
| | | | | Implement `pipe://*` path handling for creation of named pipes. | ||||
* | Merge pull request #86936 from akx/env-utf-8 | Rémi Verschelde | 2024-03-11 | 1 | -3/+8 |
|\ | | | | | | | Attempt parsing environment variables as UTF-8 | ||||
| * | Attempt to parse environment variables as UTF-8 | Aarni Koskela | 2024-01-07 | 1 | -3/+8 |
| | | |||||
* | | fix FileAccessUnix on OpenBSD: there is no UF_HIDDEN | Omar Polo | 2024-03-01 | 1 | -2/+2 |
| | | | | | | | | Part of the joint effort with @rfht to port Godot 4 on OpenBSD. | ||||
* | | Add const lvalue ref to core/* container parameters | Muller-Castro | 2024-02-14 | 4 | -8/+8 |
| | | |||||
* | | Add THREADS_ENABLED macro in order to compile Godot to run on the main thread | Adam Scott | 2024-01-17 | 1 | -0/+2 |
|/ | |||||
* | Merge pull request #84107 from BlueCube3310/file-access-optimization | Rémi Verschelde | 2024-01-04 | 2 | -0/+81 |
|\ | | | | | | | Use platform-specific methods for FileAccess reading and writing | ||||
| * | Use platform-specific methods for FileAccess reading and writing | BlueCube3310 | 2023-10-29 | 2 | -0/+81 |
| | | |||||
* | | Merge pull request #84469 from time-killer-games/patch-1 | Rémi Verschelde | 2024-01-04 | 1 | -1/+16 |
|\ \ | | | | | | | | | | Fix NetBSD executable path | ||||
| * | | Fix NetBSD Executable Path | Samuel Venable | 2023-11-06 | 1 | -1/+16 |
| | | | |||||
* | | | Distinguishs between dynamic library not found and can't be opened. | Daylily-Zeleen | 2024-01-01 | 1 | -0/+2 |
|/ / | |||||
* / | Linux: Disable RTLD_DEEPBIND mode for dlopen() in sanitizer builds | David Snopek | 2023-10-30 | 1 | -1/+7 |
|/ | |||||
* | [Linux] Implement DirAccess.is_case_sensitive for EXT4 and F2FS. | bruvzg | 2023-10-13 | 2 | -0/+25 |
| | |||||
* | Merge pull request #82973 from dsnopek/gdextension-linux-favor-local-symbols | Rémi Verschelde | 2023-10-10 | 1 | -1/+5 |
|\ | | | | | | | On Linux, favor local symbols when loading a shared library | ||||
| * | On Linux, favor local symbols when loading a shared library | David Snopek | 2023-10-07 | 1 | -1/+5 |
| | | |||||
* | | Replace `ERR_FAIL_COND` with `ERR_FAIL_NULL` where applicable | A Thousand Ships | 2023-10-08 | 1 | -3/+3 |
|/ | |||||
* | check_c_headers from tuple array to dictionary | Thaddeus Crews | 2023-10-01 | 1 | -1/+1 |
| | |||||
* | Windows: Remove `MSVC` define redundant with `_MSC_VER` | Rémi Verschelde | 2023-09-26 | 1 | -17/+0 |
| | | | | Cleanup unused MSVC code in FileAccessUnix. | ||||
* | [Drivers,Platform] Replace `ERR_FAIL_COND` with `ERR_FAIL_NULL` where applicable | A Thousand Ships | 2023-09-12 | 2 | -12/+12 |
| | |||||
* | UWP: Remove platform port, needs to be redone from scratch for 4.x | Rémi Verschelde | 2023-09-07 | 1 | -47/+18 |
| | | | | | | | | | | | 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. | ||||
* | [FileAccess] Add methods to get/set "hidden" and "read-only" attributes on ↵ | bruvzg | 2023-08-08 | 2 | -5/+78 |
| | | | | macOS/BSD and Windows. | ||||
* | Fix file permissions for the web platform | Adam Scott | 2023-07-25 | 1 | -4/+1 |
| | |||||
* | [Net] Explicitly handle buffer errors in send/recv | Fabio Alessandrelli | 2023-07-19 | 2 | -0/+21 |
| | |||||
* | Fix formatting of dlopen error message on Windows | Kamil Brzoskowski | 2023-07-09 | 1 | -1/+1 |
| | | | | | | And harmonize the format for all platforms. Co-authored-by: Rémi Verschelde <rverschelde@gmail.com> | ||||
* | Remove uses of `vformat()` with no placeholders | Hugo Locurcio | 2023-06-28 | 1 | -1/+1 |
| | | | | This is identical to passing the string directly. | ||||
* | [Unix] Fix temporary file permissions. | bruvzg | 2023-06-16 | 1 | -0/+4 |
| | |||||
* | Enable shadow warnings and fix raised errors | Ninni Pipping | 2023-05-11 | 1 | -6/+6 |
| | |||||
* | [OS] Implement and expose to scripting APIs `get_memory_info` method instead ↵ | bruvzg | 2023-04-24 | 2 | -1/+206 |
| | | | | of old `get_free_static_memory`. | ||||
* | Fix Unix temp file creations when using is_backup_save_enabled. | bruvzg | 2023-03-18 | 1 | -5/+17 |
| | |||||
* | Merge pull request #73156 from gw2cc/safe_save | Yuri Sizov | 2023-03-16 | 1 | -1/+6 |
|\ | | | | | Create a safe temporary file with is_backup_save_enabled | ||||
| * | Create a safe temporary file with is_backup_save_enabled | ACB | 2023-03-15 | 1 | -1/+6 |
| | | |||||
* | | Restore FileAccess.close method. | bruvzg | 2023-02-16 | 2 | -0/+6 |
|/ | |||||
* | Merge pull request #71514 from akien-mga/os-unset_environment | Rémi Verschelde | 2023-01-18 | 2 | -7/+16 |
|\ | | | | | | | OS: Add `unset_environment`, better validate input | ||||
| * | OS: Add `unset_environment`, better validate input | Rémi Verschelde | 2023-01-16 | 2 | -7/+16 |
| | | | | | | | | | | | | | | | | | | 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 | ||||
* | | Linux/BSD: Add LINUXBSD_ENABLED define for non X11-related checks | Rémi Verschelde | 2023-01-16 | 1 | -2/+2 |
|/ | |||||
* | Merge pull request #70714 from Calinou/doc-os-stdin | Rémi Verschelde | 2023-01-12 | 2 | -8/+4 |
|\ | | | | | Improve documentation for `OS.read_string_from_stdin()` | ||||
| * | Improve documentation for `OS.read_string_from_stdin()` | Hugo Locurcio | 2023-01-11 | 2 | -8/+4 |
| | | | | | | | | | | | | This makes it clearer that calls to this method are blocking. The unused method parameter was also removed. | ||||
* | | One Copyright Update to rule them all | Rémi Verschelde | 2023-01-05 | 14 | -406/+406 |
|/ | | | | | | | | | | | | | | | | | | | | As many open source projects have started doing it, we're removing the current year from the copyright notice, so that we don't need to bump it every year. It seems like only the first year of publication is technically relevant for copyright notices, and even that seems to be something that many companies stopped listing altogether (in a version controlled codebase, the commits are a much better source of date of publication than a hardcoded copyright statement). We also now list Godot Engine contributors first as we're collectively the current maintainers of the project, and we clarify that the "exclusive" copyright of the co-founders covers the timespan before opensourcing (their further contributions are included as part of Godot Engine contributors). Also fixed "cf." Frenchism - it's meant as "refer to / see". | ||||
* | Fix reading Unicode from stdio. | bruvzg | 2022-12-21 | 2 | -6/+2 |
| | |||||
* | [iOS] Fix getting Unicode executable path, fix "!configured" and ↵ | bruvzg | 2022-11-16 | 1 | -1/+1 |
| | | | | "!classes.has(ti.inherits)" error spam on start. | ||||
* | Unify usage of GLOBAL/EDITOR_GET | kobewi | 2022-10-18 | 1 | -3/+3 |
| |