summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2020-05-15Document CanvasItem's texture filtering and repeating modesHugo Locurcio
This makes the CanvasItem documentation 100% complete.
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-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
2020-05-13Parse SDL game controller half axis and inverted axis entries.Marcel Admiraal
2020-05-13regression: static func can't access const fixThakee Nathees
2020-05-13regression: var declaration type info parser bug fixThakee Nathees
2020-05-13Merge pull request #38693 from madmiraal/update-world-direct_space_state-docMax Hilbrunner
Make it clear that PhysicsDirectSpaceState is only available from within _physics_process().
2020-05-12Merge pull request #37099 from Faless/js/debugger_4.0Rémi Verschelde
WebSocket profiler for HTML5 platform [4.0]
2020-05-12Merge pull request #38655 from ↵Rémi Verschelde
ice-blaze/minimap-shifted-selection-by-one-line#38532 Fix minimap selection offset
2020-05-12Add WebSocket debugger, use it for Javascript.Fabio Alessandrelli
2020-05-12Support multiple debug protocols.Fabio Alessandrelli
2020-05-12Add support for multiple RemoteDebuggerPeer(s).Fabio Alessandrelli
It is now possible to register protocol handlers (default tcp://) to support additional debugging communication layers (e.g. websocket).
2020-05-12Rename the editor action "Revert Scene" to "Reload Saved Scene"Hugo Locurcio
This option can be used to workaround various issues with stuff not reloading properly when changes are made. The option was renamed to clarify the fact that it actually reloads the scene saved on the filesystem.
2020-05-12Make it clear that PhysicsDirectSpaceState is only available fromMarcel Admiraal
within _physics_process().
2020-05-12Merge pull request #32848 from ↵Rémi Verschelde
RevoluPowered/feature/compilation-database-support Compilation database support - clang, gcc, mingw
2020-05-12Added compilation database support for clang and gccRevoluPowered
This tool is originally from mongodb. - Updated CPPSUFFIXES to use scons suffixes - objective-c files will also be loaded into the compilation database where the compiler / tooling is available to compile the files. Known limitations: - This will not work with msvc as your compiler.
2020-05-12Remove WebSocket defaults from project settings.Fabio Alessandrelli
Can be manually set, let's not pollute them further. Should also be done for WebRTC.
2020-05-12Merge pull request #38691 from madmiraal/fix-eq-uninitialised-warningRémi Verschelde
Silence EQ::Band::c1, c2 and c3 may be used uninitialized warnings.
2020-05-12Merge pull request #38689 from Calinou/rename-ssl-certificate-settingRémi Verschelde
Rename SSL certificate bundle setting to clarify the "overriding" aspect
2020-05-12Merge pull request #38690 from qarmin/fix_leak_2Rémi Verschelde
Fixes memory leak with lightmap part 2
2020-05-12Silence EQ::Band::c1, c2 and c3 may be used uninitialized warnings.Marcel Admiraal
2020-05-12Merge pull request #38688 from Calinou/gitattributes-tza-binaryRémi Verschelde
Mark `*.tza` files as binary in `.gitattributes` for old Git versions
2020-05-12Rename SSL certificate bundle setting to clarify the "overriding" aspectHugo Locurcio
This closes https://github.com/godotengine/godot-docs/issues/2531.
2020-05-12Fixes memory leak with lightmap part 2qarmin
2020-05-12doc: Sync classref with current sourceRémi Verschelde
Adds API changes from the new GPU lightmapper.
2020-05-12Merge pull request #38687 from Calinou/tweak-editor-icons-readmeRémi Verschelde
Update the editor icons README to remove outdated information
2020-05-12Merge pull request #38661 from Ashesh3/patch-1Rémi Verschelde
Better file naming for AppVeyor artifacts
2020-05-12Mark `*.tza` files as binary in `.gitattributes` for old Git versionsHugo Locurcio
This prevents `thirdparty/oidn/weights/rtlightmap_hdr.tza` from always being considered as modified when using an old Git version (such as the one on Ubuntu 16.04).
2020-05-12Update the editor icons README to remove outdated informationHugo Locurcio
This closes #38684.