Commit graph

22409 commits

Author SHA1 Message Date
Rémi Verschelde
d8d85762c4
Merge pull request #30753 from Calinou/make-header-run-from-any-location
Make `make_header.py` functional when run from any location
2019-07-22 21:37:25 +02:00
Rémi Verschelde
a36e09f398
Merge pull request #30759 from akien-mga/ios-camera-type-mismatch
Fix type mismatch in iOS interface orientation checks
2019-07-22 21:11:02 +02:00
Rémi Verschelde
77724fde60 Fix type mismatch in iOS interface orientation checks
Not sure why this error popped up when I enabled C++11 on the codebase,
but I guess this should fix it.
2019-07-22 20:31:15 +02:00
Rémi Verschelde
5dae2ea777 SCons: Enable C++11 on the whole codebase
**Important:** This does not mean *yet* that C++11 features should be used
in contributions to Godot's codebase.

For now this change is done solely for feature branches working on Vulkan
support and GDScript typed instruction sets for Godot 4.0, which will both
use C++11 features and are based on the master branch.

The plan is to start porting the codebase to C++11 after Godot 3.2 is
released, following upcoming guidelines on the subset of new features that
should be used, and when/how to use them.

We will advertise clearly when C++11 contributions are open, especially
once we start a coordinated effort to port Godot's massive codebase. In the
meantime, please bear with us and good ol' C++03. :)
2019-07-22 17:17:30 +02:00
Rémi Verschelde
f03c1c8d4f
Merge pull request #30752 from akien-mga/scons-fix-add_source_files
SCons: Fix uses of [].append instead of env.add_source_files()
2019-07-22 15:34:04 +02:00
Rémi Verschelde
66d09a6b4c SCons: Fix uses of [].append instead of env.add_source_files()
Also added support for SCons project-absolute paths (starting with #) and
warning about duplicates in add_source_files(), and fixed
default_controller_mappings.gen.cpp being included twice after first build
due to *.cpp globbing.

Part of #30270.
2019-07-22 15:08:32 +02:00
Rémi Verschelde
017b224a87
Merge pull request #30713 from bojidar-bg/30615-trackpad-2d-viewport
Improve touchpad support in 2d editor viewport
2019-07-22 14:06:28 +02:00
Hugo Locurcio
31eb116d49
Make make_header.py functional when run from any location
This removes the need to `cd` to `scene/resources/default_theme/`
to get the expected result.
2019-07-22 14:02:33 +02:00
Rémi Verschelde
5bb8334e97
Merge pull request #30751 from akien-mga/emscripten-binaryen-trap-mode
Emscripten: Do not define BINARYEN_TRAP_MODE='clamp'
2019-07-22 14:01:48 +02:00
Rémi Verschelde
6b19da583d
Merge pull request #30745 from clayjohn/gles2-shadow-transparency
Fix GLES2 shadow transparency bug
2019-07-22 13:23:36 +02:00
Rémi Verschelde
63544e6b02 Emscripten: Do not define BINARYEN_TRAP_MODE='clamp'
It is not supported in Emscripten's `latest-upstream` LLVM backend,
and doesn't seem necessary in the `latest` backend either.
It was initially added in #22857 to solve a compilation error with the latter.

Part of #30270.
2019-07-22 13:21:56 +02:00
Rémi Verschelde
16288cabc0 doc: More formatting fixes 2019-07-22 12:41:41 +02:00
Rémi Verschelde
5b20b49bf7 doc: Formatting fixes in EditorPlugin docs 2019-07-22 12:37:33 +02:00
Rémi Verschelde
07e289963c doc: Sync classref with current source 2019-07-22 12:27:52 +02:00
Rémi Verschelde
7b7c459106
Merge pull request #30749 from godotengine/revert-22642-inspector_metadata
Revert "Expose "meta" to the Inspector"
2019-07-22 12:23:19 +02:00
Rémi Verschelde
5f243b0a74
Merge pull request #30748 from godotengine/revert-26205-spatialmaterial-use-packed-channels
Revert "Tweak SpatialMaterial's default metallic and roughness texture channels"
2019-07-22 12:23:07 +02:00
Rémi Verschelde
9f5b77acc9
Revert "Expose "meta" to the Inspector" 2019-07-22 12:03:57 +02:00
Rémi Verschelde
4b1ec08bc3
Merge pull request #30726 from GodotExplorer/revert-30657-optimize_dir_access_unix_get_next
Revert "Optimize DirAccessUnix::get_next() for some file systems"
2019-07-22 11:59:09 +02:00
Rémi Verschelde
a1b4568ba9
Revert "Tweak SpatialMaterial's default metallic and roughness texture channels" 2019-07-22 11:56:41 +02:00
Rémi Verschelde
ad616feda2
Merge pull request #30659 from henriiquecampos/docs
Add description for EditorSceneImporter, EditorPlugin.enable/disable and EditorInterface.select_file
2019-07-22 11:41:41 +02:00
Rémi Verschelde
411c49b2ab
Merge pull request #30717 from akien-mga/zstd-1.4.1
zstd: Update to upstream version 1.4.1
2019-07-22 11:02:56 +02:00
Rémi Verschelde
e448fdad15
Merge pull request #30720 from Calinou/doc-improve-variant
Improve the Variant class documentation
2019-07-22 10:22:16 +02:00
Rémi Verschelde
92b65ff0c6
Merge pull request #30740 from neikeq/typeinfo_static_fail
Make it a build error if a GetTypeInfo specialization cannot be resolved
2019-07-22 08:57:09 +02:00
Rémi Verschelde
f551457e12
Merge pull request #30741 from neikeq/fix-not-updating-editor-api-assembly
Mono: Fix editor API assembly not being updated
2019-07-22 08:56:55 +02:00
clayjohn
150487e728 fix gles2 shadow transparency bug 2019-07-21 23:52:19 -07:00
Ignacio Etcheverry
0197d86ab4 Mono: Fix editor API assembly not being updated
If both the core and editor API assemblies are missing or out of sync, Godot will only update the former and then abort when trying to load them again because the latter was not updated. Godot will update it correctly the next time it's started, but this should not be needed and it should work the first time. This commit fixes that.
2019-07-22 00:16:24 +02:00
Ignacio Etcheverry
2c85439da0 Make it a build error if a GetTypeInfo specialization cannot be resolved
Previously it was a runtime error message.
2019-07-22 00:08:35 +02:00
Geequlim
ee9f46423b
Revert "Optimize DirAccessUnix::get_next() for some file systems" 2019-07-21 11:48:53 +08:00
Hugo Locurcio
4840d36654
Improve the Variant class documentation
Taken from
https://docs.godotengine.org/en/latest/development/cpp/variant_class.html.
2019-07-20 23:42:26 +02:00
Rémi Verschelde
b81fa47f38 zstd: Update to upstream version 1.4.1 2019-07-20 20:47:07 +02:00
Bojidar Marinov
e37594824f
Improve touchpad support in 2d editor viewport
Implements ideas from #30615
2019-07-20 17:55:02 +03:00
Ignacio Roldán Etcheverry
4379395892
Merge pull request #30710 from neikeq/issue-30526
Fix mono module build errors for release templates
2019-07-20 16:20:49 +02:00
Henrique Campos
2acc1e3079 Add description for EditorPlugin.enable/disable methods 2019-07-20 10:53:56 -03:00
Ignacio Etcheverry
ec679dfffa Fix mono module build errors for release templates 2019-07-20 15:52:26 +02:00
Henrique Campos
c7b0eed757 Add docs for EditorInterface, EditorPlugin and EditorSceneImporter 2019-07-20 10:41:42 -03:00
Rémi Verschelde
60efd67034
Merge pull request #30693 from Chaosus/lerp_angle
Added lerp_angle built-in function
2019-07-20 13:37:13 +02:00
Rémi Verschelde
9d6b6dbd2f
Merge pull request #30234 from zwostein/fix-AudioStreamPlayer3D
Fixed multichannel panning for AudioStreamPlayer3D.
2019-07-20 12:42:34 +02:00
Rémi Verschelde
fec28da0ad
Merge pull request #30349 from qarmin/fix_arvr_crash_at_exit
Fix ARVRServer crash at exit
2019-07-20 12:41:56 +02:00
Rémi Verschelde
e466dc2daa
Merge pull request #30698 from Anutrix/assimp-pass-by-ref
Changed large const string values to const string ref in some assimp functions
2019-07-20 12:06:58 +02:00
Rémi Verschelde
7c11099587
Merge pull request #30703 from hbina/patch-1
Make comparison operator== const in EditorAutoloadSettings
2019-07-20 12:05:46 +02:00
Rémi Verschelde
d15cf7b672
Merge pull request #30576 from qarmin/lgtm_coverage
Changed some code reported by LGTM and Coverity
2019-07-20 12:00:13 +02:00
Chaosus
6694c119d0 Added lerp_angles built-in function
Co-authored-by: Xrayez <https://github.com/Xrayez>
Co-authored-by: DleanJeans <https://github.com/DleanJeans>
2019-07-20 12:59:41 +03:00
Rémi Verschelde
700938bff7
Merge pull request #30708 from Anutrix/doc-astar-example-fix
AStar and AStar2D examples fixed to not use 'as' keyword and also removed error causing code
2019-07-20 11:57:52 +02:00
Rémi Verschelde
3aeca70659
Merge pull request #30697 from bojidar-bg/6067-pale-customtype-script
Make custom types more subtle and more useful
2019-07-20 11:49:52 +02:00
Rémi Verschelde
42aa9aafb4
Merge pull request #30707 from Anutrix/remove-an-unused-import
Removed an unused import in platform/android/SCsub
2019-07-20 11:49:36 +02:00
unknown
d7cf3c8e72 AStar and AStar2D examples fixed to not use 'as' keyword and also removed error causing code 2019-07-20 15:06:58 +05:30
unknown
b0e44c9e5d Removed an unused commit 2019-07-20 14:40:09 +05:30
Rémi Verschelde
0142a54a16
Merge pull request #30696 from ivhilaire/fix/pluginscript-unregister-class
Remove added pluginscript resource format loaders and savers on cleanup
2019-07-20 10:16:40 +02:00
qarmin
6cbaf7662f Changed some code showed in LGTM and Coverage 2019-07-20 08:09:57 +02:00
Hanif A
4dc717ea07
Make comparison operator== const
`operator==` of EditorAutoloadSettings is not const for whatever reason...
2019-07-19 21:52:30 -04:00