summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2020-05-25Merge pull request #36922 from Xrayez/modules-search-pathRémi Verschelde
Add `custom_modules` build option to compile external, user-defined C++ modules
2020-05-25Add `custom_modules` build option to compile external user modulesAndrii Doroshenko (Xrayez)
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.
2020-05-25Fix build after merge of #37235Rémi Verschelde
It used APIs that were changed after the PR was last rebased.
2020-05-25Merge pull request #37235 from Calinou/improve-editor-feature-profilesRémi Verschelde
Improve the editor feature profiles UX
2020-05-25Merge pull request #38887 from AndreaCatania/oahash_impRémi Verschelde
OAHashMap crash fix and copy feature.
2020-05-25Merge pull request #39023 from KoBeWi/reinventing_the_wheelRémi Verschelde
Reverse mouse wheel in animation track editor
2020-05-25Merge pull request #38262 from Xrayez/resurrect-issuesRémi Verschelde
Bring back and improve comments clarifying the new bug report template
2020-05-25- Make sure it's impossible to initialize an OAHashMap with 0 capacity ↵Andrea Catania
(would cause division by 0) - Added possibility to copy an OAHashMap - Added unit tests This code is generously donated by IMVU.
2020-05-25Merge pull request #38978 from nekomatata/remote-inspector-res-previewFabio Alessandrelli
Fix resource preview in remote inspector
2020-05-25Merge pull request #39019 from Calinou/add-issue-template-configRémi Verschelde
Add configuration for GitHub issue templates
2020-05-25Reverse mouse wheel in animation track editorTomasz Chabora
2020-05-24Add configuration for GitHub issue templatesHugo Locurcio
This adds a few links on the issue creation page and disallows creating blank issues (since all issues must follow the bug report template).
2020-05-24Merge pull request #39004 from nekomatata/android-reset-surfaceRémi Verschelde
Proper surface reset when resuming app on Android
2020-05-24Merge pull request #39007 from nekomatata/android-object-id-longRémi Verschelde
Use long instead of int for object id in Android java wrapper
2020-05-24Proper surface reset when resuming app on AndroidPouleyKetchoupp
Just re-creating the window instead of restarting the app entirely.
2020-05-24Use long instead of int for object id in Android java wrapperPouleyKetchoupp
Using int for 64-bit values might cause issues with objects not found in ObjectDB when the id is truncated.
2020-05-23Merge pull request #38396 from nekomatata/unexpose-sort-childrenRémi Verschelde
Fix Container sorting not working when overriding _sort_children in gdscript
2020-05-23Fix resource preview in remote inspectorPouleyKetchoupp
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.
2020-05-22Merge pull request #38942 from neikeq/hinjaku-hinjakuRémi Verschelde
Fix editor ignoring 'single_window_mode' with no main scene
2020-05-22Merge pull request #38962 from neikeq/4.0-scons-option-build-cilRémi Verschelde
Add SCons option to not build C# solutions
2020-05-22Add SCons option to not build C# solutionsIgnacio Etcheverry
2020-05-22Fix editor ignoring 'single_window_mode' with no main sceneIgnacio Etcheverry
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.
2020-05-22Merge pull request #38951 from bruvzg/win_ink_block_mm_4Rémi Verschelde
Block WM_MOUSEMOVE during Windows Ink pen handling.
2020-05-22Merge pull request #38366 from akien-mga/xatlas-470576dRémi Verschelde
xatlas: Sync with upstream 470576d
2020-05-22Merge pull request #38886 from Xrayez/save-png-to-buffer-bindRémi Verschelde
Expose `Image.save_png_to_buffer` method
2020-05-22Block WM_MOUSEMOVE during Windows Ink pen handling.bruvzg
2020-05-22Merge pull request #38921 from dreamsComeTrue/move-tool-with-arrow-keysRémi Verschelde
Fix moving 2D node with mouse after using arrow keys
2020-05-22Merge pull request #38943 from neikeq/yakamashiRémi Verschelde
Mono/C#: Don't try to load project assembly in project manager
2020-05-22Merge pull request #38941 from neikeq/issue-38889Rémi Verschelde
Fix condition in ClassDB tests that should return
2020-05-22Merge pull request #38940 from neikeq/issue-33896Rémi Verschelde
Mono/C#: Fix values not updated in remote inspector
2020-05-22Merge pull request #38936 from dreamsComeTrue/tab-container-icon-separationRémi Verschelde
Clarifies 'icon_separation' in TabContainer (instead of 'hseparation')
2020-05-22Merge pull request #38930 from GuidoRevers/fix_vulkan_win_segmentation_faultRémi Verschelde
Fix segmentation fault when loading project
2020-05-22Mono/C#: Don't try to load project assembly in project managerIgnacio Etcheverry
This was causing an error message when launching the manager, because there is no project assembly to load.
2020-05-22Fix condition in ClassDB tests that should returnIgnacio Etcheverry
Also changed the name of the test macros to be clearer.
2020-05-22Mono/C#: Fix values not updated in remote inspectorIgnacio Etcheverry
2020-05-21Clarifies 'icon_separation' in TabContainer (instead of 'hseparation')Dominik 'dreamsComeTrue' Jasiński
Fixes: #38911
2020-05-21Fix segmentation fault when using context_vulkan after memdelete context_vulkanGuidoRevers
2020-05-21Fix moving 2D node with mouse after using arrow keysDominik 'dreamsComeTrue' Jasiński
Fixes: #38894
2020-05-21Merge pull request #38891 from bruvzg/fix_doc_const_orderRémi Verschelde
Docs: Fix order of variant constants.
2020-05-21Merge pull request #33689 from jbuck3/signal-errorRémi Verschelde
Trigger an error when trying to define a preexisting signal in GDScript
2020-05-21Merge pull request #35900 from yamgent/unreachableRémi Verschelde
Fix false positive "Unreachable code" warning for loops
2020-05-21Merge pull request #38907 from cj-dimaggio/rasterizer_dummy_leakRémi Verschelde
Delete DummyMesh when RasterizerStorageDummy is Freed
2020-05-20Delete DummyMesh when RasterizerStorageDummy is freedCJ DiMaggio
2020-05-20Docs: Fix order of variant constants.bruvzg
2020-05-20doc: Sync classref with current sourceRémi Verschelde
2020-05-20DocData: Fix sorting of arguments and constantsRémi Verschelde
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).
2020-05-20Merge pull request #38876 from paulloz/fix-import-params-errorRémi Verschelde
Fix error with 'params' when import dock doesn't define any parameter
2020-05-20Merge pull request #38874 from bruvzg/tab_drv_sel_40Rémi Verschelde
[Windows] Add tablet driver selection.
2020-05-20xatlas: Sync with upstream 470576dRémi Verschelde
2020-05-20Expose `Image.save_png_to_buffer` methodAndrii Doroshenko (Xrayez)