Age | Commit message (Collapse) | Author |
|
Add `custom_modules` build option to compile external, user-defined C++ modules
|
|
This patch adds ability to include external, user-defined C++ modules
to be compiled as part of Godot via `custom_modules` build option
which can be passed to `scons`.
```
scons platform=x11 tools=yes custom_modules="../project/modules"
```
Features:
- detects all available modules under `custom_modules` directory the
same way as it does for built-in modules (not recursive);
- works with both relative and absolute paths on the filesystem;
- multiple search paths can be specified as a comma-separated list.
Module custom documentation and editor icons collection and generation
process is adapted to work with absolute paths needed by such modules.
Also fixed doctool bug mixing absolute and relative paths respectively.
Implementation details:
- `env.module_list` is a dictionary now, which holds both module name as
key and either a relative or absolute path to a module as a value.
- `methods.detect_modules` is run twice: once for built-in modules, and
second for external modules, all combined later.
- `methods.detect_modules` was not doing what it says on the tin. It is
split into `detect_modules` which collects a list of available modules
and `write_modules` which generates `register_types` sources for each.
- whether a module is built-in or external is distinguished by relative
or absolute paths respectively. `custom_modules` scons converter
ensures that the path is absolute even if relative path is supplied,
including expanding user paths and symbolic links.
- treats the parent directory as if it was Godot's base directory, so
that there's no need to change include paths in cases where custom
modules are included as dependencies in other modules.
|
|
It used APIs that were changed after the PR was last rebased.
|
|
Improve the editor feature profiles UX
|
|
OAHashMap crash fix and copy feature.
|
|
Reverse mouse wheel in animation track editor
|
|
Bring back and improve comments clarifying the new bug report template
|
|
(would cause division by 0)
- Added possibility to copy an OAHashMap
- Added unit tests
This code is generously donated by IMVU.
|
|
Fix resource preview in remote inspector
|
|
Add configuration for GitHub issue templates
|
|
|
|
This adds a few links on the issue creation page and disallows
creating blank issues (since all issues must follow the bug report
template).
|
|
Proper surface reset when resuming app on Android
|
|
Use long instead of int for object id in Android java wrapper
|
|
Just re-creating the window instead of restarting the app entirely.
|
|
Using int for 64-bit values might cause issues with objects not found
in ObjectDB when the id is truncated.
|
|
Fix Container sorting not working when overriding _sort_children in gdscript
|
|
The specific case for object reference seems unnecessary, as `RES res = var`
already does the work. The case where REF is invalid is never hit in the case
of already freed objects.
The assignment `res = *r` was causing the resource to be always invalidated
on the 3.2 branch.
|
|
Fix editor ignoring 'single_window_mode' with no main scene
|
|
Add SCons option to not build C# solutions
|
|
|
|
Previously the editor would ignore the 'single_window_mode' editor setting if
the edited project didn't have a main scene configured in the project settings.
|
|
Block WM_MOUSEMOVE during Windows Ink pen handling.
|
|
xatlas: Sync with upstream 470576d
|
|
Expose `Image.save_png_to_buffer` method
|
|
|
|
Fix moving 2D node with mouse after using arrow keys
|
|
Mono/C#: Don't try to load project assembly in project manager
|
|
Fix condition in ClassDB tests that should return
|
|
Mono/C#: Fix values not updated in remote inspector
|
|
Clarifies 'icon_separation' in TabContainer (instead of 'hseparation')
|
|
Fix segmentation fault when loading project
|
|
This was causing an error message when launching the manager,
because there is no project assembly to load.
|
|
Also changed the name of the test macros to be clearer.
|
|
|
|
Fixes: #38911
|
|
|
|
Fixes: #38894
|
|
Docs: Fix order of variant constants.
|
|
Trigger an error when trying to define a preexisting signal in GDScript
|
|
Fix false positive "Unreachable code" warning for loops
|
|
Delete DummyMesh when RasterizerStorageDummy is Freed
|
|
|
|
|
|
|
|
The missing `operator<` definitions caused `Vector::sort()` to fail
sorting those alphabetically by name on Windows (not sure why Linux
isn't affected, I guess GCC/Clang are cleverer and use the operator
from the first struct member).
|
|
Fix error with 'params' when import dock doesn't define any parameter
|
|
[Windows] Add tablet driver selection.
|
|
|
|
|