summaryrefslogtreecommitdiffstats
path: root/core/core_bind.cpp
Commit message (Collapse)AuthorAgeFilesLines
...
* | | Enhance cache modes in resource loadingPedro J. Estébanez2024-02-261-0/+2
|/ / | | | | | | | | | | | | - Unify documentation, hoping to clear misconcepctions about about propagation of the cache mode across dependant loads. - Clarify in docs that `CACHE_MODE_REPLACE` now also works on the main resource (from #87008). - Add two recursive modes, counterparts of `CACHE_MODE_REPLACE` and `CACHE_MODE_IGNORE`, since it seems some need them (see #59669, #82830). - Let resources, even loaded with one of the ignore-cache modes, get a path, which is useful for tools.
* | Add const lvalue ref to core/* container parametersMuller-Castro2024-02-141-2/+2
| |
* | Add const lvalue ref to container parametersMuller-Castro2024-01-051-7/+7
| |
* | Merge pull request #83353 from Chubercik/expose_delaunay_3dRémi Verschelde2024-01-041-0/+5
|\ \ | | | | | | | | | Expose 3D Delaunay tetrahedralization in `Geometry3D`
| * | Expose 3D Delaunay tetrahedralization in `Geometry3D`Jakub Marcowski2023-10-161-0/+5
| | |
* | | Add autocompletion for `Engine.get_singleton` & similarMicky2024-01-031-0/+10
| |/ |/|
* | Add Direct3D 12 RenderingDevice implementationPedro J. Estébanez2023-12-121-0/+1
|/
* Fixes to allow object-less callables throughout GodotMai Lavelle2023-10-061-2/+1
| | | | This fixes #81887
* Merge pull request #78871 from jitspoe/master.pr_compute_convex_mesh_pointsRémi Verschelde2023-08-161-0/+12
|\ | | | | | | Expose `compute_convex_mesh_points` function to GDScript
| * Expose compute_convex_mesh_points function to GDScript.jitspoe2023-08-141-0/+12
| |
* | Add ability to get barycentric coordinates from rayPrecisionRender2023-08-021-0/+7
| |
* | [macOS] Implement optional native file selection dialog support for ↵bruvzg2023-07-121-0/+10
|/ | | | sandboxed apps.
* Merge pull request #78000 from RandomShaper/let_users_mess_upRémi Verschelde2023-06-101-0/+8
|\ | | | | | | Let user scripts disable thread safety checks
| * Let user scripts disable thread safety checksPedro J. Estébanez2023-06-091-0/+8
| |
* | Mark thread name setup safe for nodesPedro J. Estébanez2023-06-081-0/+4
|/
* Merge pull request #52314 from lawnjelly/four_delta_smoothRémi Verschelde2023-05-171-0/+12
|\ | | | | | | Add frame delta smoothing option (4.x)
| * Add frame delta smoothing option (4.x)lawnjelly2023-05-161-0/+12
| | | | | | | | | | | | | | | | Frame deltas are currently measured by querying the OS timer each frame. This is subject to random error. Frame delta smoothing instead filters the delta read from the OS by replacing it with the refresh rate delta wherever possible. This PR also contains code to estimate the refresh rate based on the input deltas, without reading the refresh rate from the host OS. The delta_smooth_enabled setting can also be modified at runtime through OS::, and there is also now a command line setting to override the project setting.
* | Merge pull request #77000 from reduz/make-more-base-nodes-thread-safeRémi Verschelde2023-05-161-30/+30
|\ \ | | | | | | Make more base nodes thread safe
| * | Make more base nodes thread safeJuan Linietsky2023-05-151-30/+30
| |/ | | | | | | Ongoing work to make more of the base nodes thread safe.
* / Robustify multi-threading primitivesPedro J. Estébanez2023-05-121-4/+20
|/
* Merge pull request #76418 from reduz/method-bind-validated-callRémi Verschelde2023-05-081-2/+3
|\ | | | | | | Add ValidatedCall to MethodBind
| * Add ValidatedCall to MethodBindJuan Linietsky2023-04-301-2/+3
| | | | | | | | | | | | | | * This should optimize GDScript function calling _enormously_. * It also should simplify the GDScript VM considerably. NOTE: GDExtension calling performance has most likely been affected until going via ptrcall is fixed.
* | Cache feature list in OS.has_feature()kobewi2023-05-051-1/+8
| |
* | Merge pull request #69698 from Daylily-Zeleen/daylily-zeleen/show_in_explorerRémi Verschelde2023-04-251-0/+10
|\ \ | |/ |/| | | Implement and expose OS::shell_show_in_file_manager()
| * Implement and expose OS::shell_show_in_file_manager()Daylily-Zeleen2023-04-251-0/+10
| |
* | [OS] Implement and expose to scripting APIs `get_memory_info` method instead ↵bruvzg2023-04-241-0/+5
|/ | | | of old `get_free_static_memory`.
* Add Engine::unregister_script_language and make ↵Emmanuel Leblond2023-02-101-2/+7
| | | | Engine::register_script_language returns a Error
* GDScript: Fix issues with typed arraysDmitrii Maganov2023-01-311-7/+7
|
* Booleanize various sync primitives' wait & locking methodsPedro J. Estébanez2023-01-271-3/+3
|
* OS: Add `unset_environment`, better validate inputRémi Verschelde2023-01-161-3/+8
| | | | | | | | | 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
* Merge pull request #70714 from Calinou/doc-os-stdinRémi Verschelde2023-01-121-3/+3
|\ | | | | Improve documentation for `OS.read_string_from_stdin()`
| * Improve documentation for `OS.read_string_from_stdin()`Hugo Locurcio2023-01-111-3/+3
| | | | | | | | | | | | This makes it clearer that calls to this method are blocking. The unused method parameter was also removed.
* | One Copyright Update to rule them allRémi Verschelde2023-01-051-29/+29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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".
* | Remove duplicate Month and Weekday enumsAaron Franke2022-12-261-21/+0
|/ | | | Well, they were duplicately-exposed, but triplicately-defined.
* Use system fonts as fallback and improve system font handling.bruvzg2022-12-041-3/+8
| | | | | | | Add support for font weight and stretch selection when using system fonts. Add function to get system fallback font from a font name, style, text, and language code. Implement system font support for Android. Use system fonts as a last resort fallback.
* Merge pull request #65836 from Calinou/add-max-physics-steps-per-frame-settingRémi Verschelde2022-11-151-0/+11
|\ | | | | | | Implement adjusting the maximum number of physics steps per rendered frame
| * Implement adjusting the maximum number of physics steps per rendered frameHugo Locurcio2022-10-091-0/+11
| | | | | | | | | | | | | | | | | | When using high physics FPS (which is a requirement to minimize input lag and improve precision in simulation racing games), a higher value prevents the game from slowing down at low rendering FPS. This can be done via an Engine property for run-time changes, or a project setting for initial changes.
* | Merge pull request #67244 from RandomShaper/split_render_further_2Rémi Verschelde2022-10-111-2/+2
|\ \ | | | | | | Polish rendering driver refactor further (take 2)
| * | Polish rendering driver refactor further (take 2)Pedro J. Estébanez2022-10-111-2/+2
| |/
* | Merge pull request #66102 from MJacred/feature/getvideoadapterdriverinfoRémi Verschelde2022-10-111-0/+6
|\ \ | |/ |/| | | Fetch video adapter driver name and version from OS
| * Fetch video adapter driver name and version from OS on Linux/*BSD and WindowsMJacred2022-10-111-0/+6
| |
* | Rename `Engine.target_fps` and associated project setting to `max_fps`Hugo Locurcio2022-10-031-7/+7
| | | | | | | | | | | | | | | | | | This makes the setting easier to find, as research has found there are numerous use cases to limiting FPS. This also improves documentation related to the Engine property and project setting. The project setting also works in projects exported in release mode, so its location in the `debug/` section was misleading.
* | Merge pull request #66803 from akien-mga/core-remove-NO_THREADSRémi Verschelde2022-10-031-6/+0
|\ \ | | | | | | | | | Remove `NO_THREADS` fallback code, Godot 4 requires thread support
| * | Remove NO_THREADS fallback code, Godot 4 requires thread supportRémi Verschelde2022-10-031-6/+0
| | | | | | | | | | | | | | | This also removes `OS::can_use_threads` from the public API since it's always true.
* | | Merge pull request #65751 from Faless/os/4.x_expose_read_from_stdinRémi Verschelde2022-10-031-0/+5
|\ \ \ | |/ / |/| |
| * | [OS] Expose get_stdin_string to Scripting.Fabio Alessandrelli2022-09-131-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | Exposed as read_string_from_stdin so it's clear it's not retrieving a property. The method is kept with the block parameter, but a note is added to the docs specifying that is not implemented on any platform (should we just remove it?).
* | | Add method bind for `Geometry2D.decompose_polygon_in_convex`Mansur Isaev2022-09-211-0/+12
| | |
* | | Merge pull request #65271 from KoBeWi/FirAccess🌲Rémi Verschelde2022-09-191-630/+0
|\ \ \ | | | | | | | | | | | | Replace File/Directory with FileAccess/DirAccess
| * | | Replace File/Directory with FileAccess/DirAccesskobewi2022-09-191-630/+0
| | |/ | |/|
* / | Use `Vector2i` when returning atlas size in `Geometry2D::make_atlas`Marc Gilleron2022-09-191-2/+1
|/ /