summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2020-05-16Merge pull request #38451 from eduardonunesp/feature/command-comma-preferencesRémi Verschelde
Using command + comma on macOS as default shortcut for editor settings
2020-05-16Merge pull request #38777 from madmiraal/update-r128Rémi Verschelde
Update r128.h to include latest fixes for mingw-64 32 bit builds.
2020-05-16Update r128.h to include latest fix for mingw-64 32 bit builds.Marcel Admiraal
2020-05-16Merge pull request #37924 from thebestnom/migrate-to-androidXRémi Verschelde
Android: Migrate deprecated support library to AndroidX
2020-05-16Merge pull request #38772 from neikeq/issue-38729Rémi Verschelde
websocket: Fix crash at exit when not running the editor
2020-05-16websocket: Fix crash at exit when not running the editorIgnacio Etcheverry
EditorDebuggerServer::register_protocol_handler must not be called before editor initialization. Otherwise, if the editor is never initialized, the added StringName will not be released until static destructors are called (instead of being release during editor deinitialization).
2020-05-15Fix incorrect capabilities notification in LSPOliver Frank
(cherry picked from commit 2173d041af711c111d60d1fc1f45f96f4f8c7271)
2020-05-15Improve jsonrpc error reportingOliver Frank
(cherry picked from commit dac8b7b6f4fec0136a3dc95afae0aa8aa8ce9fd9)
2020-05-15Merge pull request #38760 from akien-mga/error-macros-styleRémi Verschelde
Error macros: Improve style of error messages
2020-05-15Merge pull request #38764 from YeldhamDev/icons_missingRémi Verschelde
Add more missing icons
2020-05-15Add more missing iconsMichael Alexsander
2020-05-15doc: Sync classref with current sourceRémi Verschelde
2020-05-15Error macros: Improve style of error messagesRémi Verschelde
Document why the `if (1) {} else ((void)0)` construct is used.
2020-05-15Merge pull request #38755 from dreamsComeTrue/editor-spin-slider-grabber-hideRémi Verschelde
Hide editor_spin_slider grabber when closing Editor's windows
2020-05-15Merge pull request #36726 from ThakeeNathees/invalid-break-parsingRémi Verschelde
Fix: break, continue outside of a loop, match statement handled when parsing
2020-05-15Merge pull request #38717 from madmiraal/fix-image-uninitialized-warningRémi Verschelde
Silence 'w' may be used uninitialized in image.cpp warning.
2020-05-15Merge pull request #38757 from madmiraal/fix-oidn-mingw-buildRémi Verschelde
Fix #include <windows.h> for case-senstive cross-compilation.
2020-05-15Merge pull request #38754 from Calinou/doc-canvasitem-texture-filter-repeatRémi Verschelde
Document CanvasItem's texture filtering and repeating modes
2020-05-15Merge pull request #38753 from Calinou/doc-camera3d-effectsRémi Verschelde
Document the Camera3D's `effects` property
2020-05-15Merge pull request #38750 from madmiraal/fix-vulkan-uninitialized-warningRémi Verschelde
Silence mulitple may be used uninitialized warnings in RenderingDeviceVulkan::uniform_set_create()
2020-05-15Fix #include <windows.h> for case-senstive cross-compilation.Marcel Admiraal
2020-05-15Hide editor_spin_slider grabber when closing Editor's windowsDominik 'dreamsComeTrue' Jasiński
Fixes: #38740
2020-05-15Document CanvasItem's texture filtering and repeating modesHugo Locurcio
This makes the CanvasItem documentation 100% complete.
2020-05-15Document the Camera3D's `effects` propertyHugo Locurcio
This makes the Camera3D documentation 100% complete.
2020-05-15Silence mulitple may be used uninitialized warnings inMarcel Admiraal
RenderingDeviceVulkan::uniform_set_create()
2020-05-15break, continue outside of a loop, match statement handledThakee Nathees
2020-05-14Merge pull request #38738 from akien-mga/cause-we-never-go-out-of-styleRémi Verschelde
Style: Remove new line at block start, enforce line between functions, enforce braces in if and loop blocks
2020-05-14Style: Enforce braces around if blocks and loopsRémi Verschelde
Using clang-tidy's `readability-braces-around-statements`. https://clang.llvm.org/extra/clang-tidy/checks/readability-braces-around-statements.html
2020-05-14Merge pull request #38610 from ThakeeNathees/infer-type-null-errorRémi Verschelde
set parser error when infer type is null
2020-05-14Style: Enforce separation line between function definitionsRémi Verschelde
I couldn't find a tool that enforces it, so I went the manual route: ``` find -name "thirdparty" -prune \ -o -name "*.cpp" -o -name "*.h" -o -name "*.m" -o -name "*.mm" \ -o -name "*.glsl" > files perl -0777 -pi -e 's/\n}\n([^#])/\n}\n\n\1/g' $(cat files) misc/scripts/fix_style.sh -c ``` This adds a newline after all `}` on the first column, unless they are followed by `#` (typically `#endif`). This leads to having lots of places with two lines between function/class definitions, but clang-format then fixes it as we enforce max one line of separation. This doesn't fix potential occurrences of function definitions which are indented (e.g. for a helper class defined in a .cpp), but it's better than nothing. Also can't be made to run easily on CI/hooks so we'll have to be careful with new code. Part of #33027.
2020-05-14Style: clang-format: Disable KeepEmptyLinesAtTheStartOfBlocksRémi Verschelde
Which means that reduz' beloved style which we all became used to will now be changed automatically to remove the first empty line. This makes us lean closer to 1TBS (the one true brace style) instead of hybridating it with some Allman-inspired spacing. There's still the case of braces around single-statement blocks that needs to be addressed (but clang-format can't help with that, but clang-tidy may if we agree about it). Part of #33027.
2020-05-14Style: Fix missing/invalid copyright headersRémi Verschelde
2020-05-14Merge pull request #38611 from ThakeeNathees/shadow-var-warning-bug-fixRémi Verschelde
shadowed var warning in nested block bug fix
2020-05-14Silence 'w' may be used uninitialized in image.cpp warning.Marcel Admiraal
Rename `w` to the more meaningful `data_write`
2020-05-14Merge pull request #38718 from neikeq/fix-bindings-after-lightmapperIgnacio Roldán Etcheverry
Fix C# bindings after lightmapper changes
2020-05-14Merge pull request #38736 from akien-mga/modernize-all-the-thingsRémi Verschelde
C++: Apply some `modernize-*` checks from clang-tidy (nullptr, bool literals, void args)
2020-05-14Remove redundant void argument listsRémi Verschelde
Using clang-tidy's `modernize-redundant-void-arg`. https://clang.llvm.org/extra/clang-tidy/checks/modernize-redundant-void-arg.html
2020-05-14Enforce use of bool literals instead of integersRémi Verschelde
Using clang-tidy's `modernize-use-bool-literals`. https://clang.llvm.org/extra/clang-tidy/checks/modernize-use-bool-literals.html
2020-05-14Modernize remaining uses of 0/NULL instead of nullptr (C++11)Rémi Verschelde
Using clang-tidy's `modernize-use-nullptr`. https://clang.llvm.org/extra/clang-tidy/checks/modernize-use-nullptr.html
2020-05-14Merge pull request #38697 from akien-mga/member-init-c++11Rémi Verschelde
Port member default initialization from constructor to declaration (C++11)
2020-05-14Port member initialization from constructor to declaration (C++11)Rémi Verschelde
Using `clang-tidy`'s `modernize-use-default-member-init` check and manual review of the changes, and some extra manual changes that `clang-tidy` failed to do. Also went manually through all of `core` to find occurrences that `clang-tidy` couldn't handle, especially all initializations done in a constructor without using initializer lists.
2020-05-13set parser error when infer type is nullThakee Nathees
2020-05-13Fix C# bindings after lightmapper changesIgnacio Etcheverry
2020-05-13Merge pull request #38609 from ↵Rémi Verschelde
ThakeeNathees/range-crash-with-non-numeric-const-fix range() with non-numeric const argument crash fix
2020-05-13Merge pull request #38708 from ThakeeNathees/init-assign-type-parser-bug-fixRémi Verschelde
regression: var declaration type info parser bug fix
2020-05-13Merge pull request #38707 from ThakeeNathees/static-const-access-bug-fixRémi Verschelde
regression: static func can't access const fix
2020-05-13Merge pull request #38637 from Calinou/editor-rename-revert-scene-bindRémi Verschelde
Rename the editor action "Revert Scene" to "Reload Saved Scene"
2020-05-13Merge pull request #38151 from madmiraal/fix-8368Rémi Verschelde
Support SDL2 half axes and inverted axes mappings.
2020-05-13Implement half axis and inverted axis mapping.Marcel Admiraal
2020-05-13Update game controller enums.Marcel Admiraal