Rémi Verschelde
1a8167867b
Modernize remaining uses of 0/NULL instead of nullptr (C++11)
...
Using clang-tidy's `modernize-use-nullptr`.
https://clang.llvm.org/extra/clang-tidy/checks/modernize-use-nullptr.html
2020-05-14 13:45:01 +02:00
Rémi Verschelde
5f5f53e8eb
Merge pull request #38697 from akien-mga/member-init-c++11
...
Port member default initialization from constructor to declaration (C++11)
2020-05-14 12:53:38 +02:00
Rémi Verschelde
1f6f364a56
Port member initialization from constructor to declaration (C++11)
...
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-14 10:01:56 +02:00
Thakee Nathees
687b1941b4
set parser error when infer type is null
2020-05-13 22:12:23 +05:30
Ignacio Etcheverry
af78a69b6f
Fix C# bindings after lightmapper changes
2020-05-13 15:54:30 +02:00
Rémi Verschelde
e7c9d81876
Merge pull request #38609 from ThakeeNathees/range-crash-with-non-numeric-const-fix
...
range() with non-numeric const argument crash fix
2020-05-13 15:42:29 +02:00
Rémi Verschelde
dc649684be
Merge pull request #38708 from ThakeeNathees/init-assign-type-parser-bug-fix
...
regression: var declaration type info parser bug fix
2020-05-13 15:41:28 +02:00
Rémi Verschelde
cbd519f1f4
Merge pull request #38707 from ThakeeNathees/static-const-access-bug-fix
...
regression: static func can't access const fix
2020-05-13 14:38:43 +02:00
Rémi Verschelde
1c18be1cc9
Merge pull request #38637 from Calinou/editor-rename-revert-scene-bind
...
Rename the editor action "Revert Scene" to "Reload Saved Scene"
2020-05-13 12:58:40 +02:00
Rémi Verschelde
aebe036459
Merge pull request #38151 from madmiraal/fix-8368
...
Support SDL2 half axes and inverted axes mappings.
2020-05-13 12:56:42 +02:00
Marcel Admiraal
e0d4e840b4
Implement half axis and inverted axis mapping.
2020-05-13 10:33:32 +01:00
Marcel Admiraal
e7fee711b3
Update game controller enums.
2020-05-13 10:33:32 +01:00
Marcel Admiraal
1176e078b9
Parse SDL game controller half axis and inverted axis entries.
2020-05-13 10:33:19 +01:00
clayjohn
408c4881ae
Force using floats in cubemap coefficient
2020-05-12 23:34:01 -07:00
Thakee Nathees
e7f056dfac
regression: static func can't access const fix
2020-05-13 06:07:22 +05:30
Thakee Nathees
e5d735851d
regression: var declaration type info parser bug fix
2020-05-13 05:58:27 +05:30
Max Hilbrunner
a92f5f3061
Merge pull request #38693 from madmiraal/update-world-direct_space_state-doc
...
Make it clear that PhysicsDirectSpaceState is only available from within _physics_process().
2020-05-13 02:19:36 +02:00
Rémi Verschelde
2231673d42
Merge pull request #37099 from Faless/js/debugger_4.0
...
WebSocket profiler for HTML5 platform [4.0]
2020-05-12 18:02:38 +02:00
Rémi Verschelde
6dfea347b0
Merge pull request #38655 from ice-blaze/minimap-shifted-selection-by-one-line#38532
...
Fix minimap selection offset
2020-05-12 18:02:21 +02:00
Fabio Alessandrelli
3097c2da96
Add WebSocket debugger, use it for Javascript.
2020-05-12 15:09:13 +02:00
Fabio Alessandrelli
d79e28c302
Support multiple debug protocols.
2020-05-12 15:09:13 +02:00
Fabio Alessandrelli
ed225faf31
Add support for multiple RemoteDebuggerPeer(s).
...
It is now possible to register protocol handlers (default tcp://) to
support additional debugging communication layers (e.g. websocket).
2020-05-12 15:09:13 +02:00
Hugo Locurcio
2962819d1c
Rename the editor action "Revert Scene" to "Reload Saved Scene"
...
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-12 14:42:09 +02:00
Marcel Admiraal
bb9c104695
Make it clear that PhysicsDirectSpaceState is only available from
...
within _physics_process().
2020-05-12 12:55:59 +01:00
Rémi Verschelde
561438c5f6
Merge pull request #32848 from RevoluPowered/feature/compilation-database-support
...
Compilation database support - clang, gcc, mingw
2020-05-12 13:38:01 +02:00
RevoluPowered
5a6f275b74
Added compilation database support for clang and gcc
...
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-12 13:07:50 +02:00
Fabio Alessandrelli
beb87504e0
Remove WebSocket defaults from project settings.
...
Can be manually set, let's not pollute them further.
Should also be done for WebRTC.
2020-05-12 12:24:26 +02:00
Rémi Verschelde
092b2bd36f
Merge pull request #38691 from madmiraal/fix-eq-uninitialised-warning
...
Silence EQ::Band::c1, c2 and c3 may be used uninitialized warnings.
2020-05-12 11:50:50 +02:00
Rémi Verschelde
02bcaa7a46
Merge pull request #38689 from Calinou/rename-ssl-certificate-setting
...
Rename SSL certificate bundle setting to clarify the "overriding" aspect
2020-05-12 11:37:46 +02:00
Rémi Verschelde
2f9ad38ba7
Merge pull request #38690 from qarmin/fix_leak_2
...
Fixes memory leak with lightmap part 2
2020-05-12 11:10:26 +02:00
Marcel Admiraal
d02143905f
Silence EQ::Band::c1, c2 and c3 may be used uninitialized warnings.
2020-05-12 09:47:39 +01:00
Rémi Verschelde
6ceed8ef27
Merge pull request #38688 from Calinou/gitattributes-tza-binary
...
Mark `*.tza` files as binary in `.gitattributes` for old Git versions
2020-05-12 10:26:39 +02:00
Hugo Locurcio
c6fbbdf15d
Rename SSL certificate bundle setting to clarify the "overriding" aspect
...
This closes https://github.com/godotengine/godot-docs/issues/2531 .
2020-05-12 10:13:27 +02:00
qarmin
d27f640a32
Fixes memory leak with lightmap part 2
2020-05-12 10:11:17 +02:00
Rémi Verschelde
d3bd219362
doc: Sync classref with current source
...
Adds API changes from the new GPU lightmapper.
2020-05-12 10:10:50 +02:00
Rémi Verschelde
845ac76b23
Merge pull request #38687 from Calinou/tweak-editor-icons-readme
...
Update the editor icons README to remove outdated information
2020-05-12 10:09:44 +02:00
Rémi Verschelde
6731e1f98b
Merge pull request #38661 from Ashesh3/patch-1
...
Better file naming for AppVeyor artifacts
2020-05-12 09:50:53 +02:00
Hugo Locurcio
0325e9e03b
Mark *.tza
files as binary in .gitattributes
for old Git versions
...
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-12 09:49:19 +02:00
Hugo Locurcio
c6afb9f6ea
Update the editor icons README to remove outdated information
...
This closes #38684 .
2020-05-12 09:46:56 +02:00
Rémi Verschelde
66b0b0c153
Merge pull request #38635 from Calinou/tilemap-rename-ysort-index
...
Rename various TileMap methods/properties for clarity and consistency
2020-05-11 23:05:15 +02:00
Rémi Verschelde
17099ecae7
Merge pull request #38677 from Calinou/tweak-post-import-script-message
...
Tweak the error message displayed when a post-import script fails
2020-05-11 23:03:44 +02:00
Rémi Verschelde
92022cd47f
Merge pull request #38676 from qarmin/fix_leak_lightmaps
...
Fix memory leak with light maps
2020-05-11 23:02:57 +02:00
Hugo Locurcio
0d7b627936
Tweak the error message displayd when a post-import script fails
...
See #38662 .
2020-05-11 21:11:17 +02:00
qarmin
84867275bb
Fix memory leak with light maps
2020-05-11 21:04:39 +02:00
Rémi Verschelde
6d46d2fe27
Merge pull request #38672 from madmiraal/fix-physicsw-warning
...
Fix 'physicsw' may be used uninitialized warning in csg_shape.cpp
2020-05-11 20:12:15 +02:00
Rémi Verschelde
0a695456e3
Merge pull request #38670 from Faless/js/fix_dummy_renderer_after_lightmapper
...
Fix DummyRenderer after new lightmapper merge.
2020-05-11 19:31:06 +02:00
Fabio Alessandrelli
2dbd227c9a
Fix DummyRenderer after new lightmapper merge.
2020-05-11 18:26:06 +02:00
Ashesh3
4f055c93a5
Better file naming for AppVeyor artifacts
...
This builds upon https://github.com/godotengine/godot/pull/38625 and improves the file name format as mentioned in https://github.com/godotengine/godot/pull/38189#issuecomment-626585363
The resulting file stored has the name `godot.windows.opt.tools.64-$(VERSION_HASH).zip` where `VERSION_HASH` is obtained from `it rev-parse --short=9 HEAD` , the zip file contains the built exe file.
2020-05-11 15:54:36 +00:00
Rémi Verschelde
b8438a2122
Merge pull request #38663 from akien-mga/thirdparty-new-lightmapper
...
thirdparty: Cleanup after #38386 , document provenance and copyright
2020-05-11 16:09:02 +02:00
Rémi Verschelde
83b630b8c2
thirdparty: Cleanup after #38386 , document provenance and copyright
...
Also renamed `delaunay.h` to `delaunay_2d.h` to match the class name.
2020-05-11 14:50:06 +02:00