summaryrefslogtreecommitdiff
path: root/modules
AgeCommit message (Collapse)Author
2019-07-05Merge pull request #30334 from Calinou/improve-csg-gizmo-drawingRémi Verschelde
Improve the CSG shape gizmo drawing
2019-07-05Merge pull request #30282 from neikeq/editor_in_cs_equals_winRémi Verschelde
Re-write mono module editor code in C#
2019-07-05Merge pull request #24086 from RandomShaper/bundle-pck-to-executableRémi Verschelde
Enhance game export
2019-07-05Script API methods must return Ref<T> instead of Reference*Ignacio Etcheverry
ptrcall assumes methods that return a Reference type do so with Ref<T>. Returning Reference* from a method exposed to the scripting API completely breaks ptrcalls to this method (it can be quite hard to debug!).
2019-07-05Re-write mono module editor code in C#Ignacio Etcheverry
Make the build system automatically build the C# Api assemblies to be shipped with the editor. Make the editor, editor player and debug export templates use Api assemblies built with debug symbols. Always run MSBuild to build the editor tools and Api assemblies when building Godot. Several bugs fixed related to assembly hot reloading and restoring state. Fix StringExtensions internal calls not being registered correctly, resulting in MissingMethodException.
2019-07-05Improve the CSG shape gizmo drawingHugo Locurcio
The gizmo colors now depend on the operation. Subtraction will result in an inverted gizmo color, whereas intersection is now displayed as white. A solid translucent overlay is now drawn over a selected node to make it easier to distinguish.
2019-07-04Merge pull request #30263 from Faless/ws/wslay_prRémi Verschelde
Use wslay as a WebSocket library
2019-07-04Optimize header reads (avoid extra allocs)Fabio Alessandrelli
2019-07-04Remove libwebsocket. No longer used, yay!Fabio Alessandrelli
2019-07-04WebSocket module now uses wslay library.Fabio Alessandrelli
Both client and server are supported on native builds (as usual). SSL server is still not supported, but will soon be possible with this new library. The API stays the same, we just need to work out potential issues due to this big library switch.
2019-07-04Parse more informations for code completionGeequlim
2019-07-03Skip export of non-project librariesPedro J. Estébanez
That is, any library referred to in GDNative library resources, won't be copied to the export target path unless its path begins with `res://`. The case use for this is a bit advanced: having a GDN library that will be deployed separately from the project; for instance, to a path in the system (like `/opt/...`). Currently the GDN library editor doesn't allow to pick dynamic libraries outside the project, but that can be done by editing the `.gdnlib` file manually.
2019-07-03Merge pull request #30293 from neikeq/issue-29734Rémi Verschelde
Mono: Fix Array IndexOutOfRangeException not being thrown
2019-07-03Merge pull request #30292 from neikeq/android_fixesRémi Verschelde
Mono: Android build and shared libraries fixes
2019-07-03Merge pull request #30289 from bojidar-bg/29586-class-name-constantRémi Verschelde
Fix inheriting from class_name messing up constants
2019-07-03Merge pull request #30287 from bojidar-bg/8006-constants-troubleRémi Verschelde
Fix parsing of arguments in constant expressions
2019-07-03Mono: Fix Array IndexOutOfRangeException not being thrownIgnacio Etcheverry
2019-07-03Mono: Android build and shared libraries fixesIgnacio Etcheverry
Fix location of Mono's shared libraries. Fix build failing if the directory 'platform/android/java/libs/{target}/{abi}' doesn't exist.
2019-07-03Fix inheriting from class_name messing up constantsBojidar Marinov
Fixes #29586
2019-07-03Fix parsing of arguments in constant expressionsBojidar Marinov
Fixes #8006
2019-07-03SCons: Use CPPDEFINES instead of CPPFLAGS for pre-processor definesRémi Verschelde
It's the recommended way to set those, and is more portable (automatically prepends -D for GCC/Clang and /D for MSVC). We still use CPPFLAGS for some pre-processor flags which are not defines.
2019-07-03Merge pull request #30264 from Calinou/add-csg-gizmo-snappingRémi Verschelde
Implement snapping in the CSG gizmos and 3D polygon editor
2019-07-02Merge pull request #30254 from bojidar-bg/30224-docdata-generateRémi Verschelde
Fix various memory leaks and errors
2019-07-02Implement snapping in the CSG gizmos and 3D polygon editorHugo Locurcio
The spatial editor snap settings will now affect the CSG gizmos and 3D polygon editor (which is used in CSGPolygon).
2019-07-02Fix various memory leaks and errorsBojidar Marinov
2019-07-02Merge pull request #30239 from Faless/crypto/crypto_coreRémi Verschelde
CryptoCore class to access to base crypto utils.
2019-07-02Fix few GCC9 warnings:Martin Liska
thirdparty/assimp/include/assimp/material.inl: In member function 'aiReturn aiMaterial::Get(const char*, unsigned int, unsigned int, aiColor3D&) const': thirdparty/assimp/include/assimp/material.inl:176:33: error: implicitly-declared 'aiColor3D& aiColor3D::operator=(const aiColor3D&)' is deprecated [-Werror=deprecated-copy] 176 | pOut = aiColor3D(c.r,c.g,c.b); modules/dds/texture_loader_dds.cpp:167:50: error: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Werror=sign-compare] 167 | if (format_flags & DDPF_FOURCC && format_fourcc == PF_FOURCC("DXT1")) { | ^ [ 28%] modules/dds/texture_loader_dds.cpp:170:57: error: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Werror=sign-compare] 170 | } else if (format_flags & DDPF_FOURCC && format_fourcc == PF_FOURCC("DXT3")) { | ^ modules/dds/texture_loader_dds.cpp:174:57: error: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Werror=sign-compare] 174 | } else if (format_flags & DDPF_FOURCC && format_fourcc == PF_FOURCC("DXT5")) { | ^ modules/dds/texture_loader_dds.cpp:177:57: error: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Werror=sign-compare] 177 | } else if (format_flags & DDPF_FOURCC && format_fourcc == PF_FOURCC("ATI1")) { | ^ modules/dds/texture_loader_dds.cpp:180:57: error: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Werror=sign-compare] 180 | } else if (format_flags & DDPF_FOURCC && format_fourcc == PF_FOURCC("ATI2")) { | ^ modules/dds/texture_loader_dds.cpp:183:57: error: comparison of integer expressions of different signedness: 'uint32_t' {aka 'unsigned int'} and 'int' [-Werror=sign-compare] 183 | } else if (format_flags & DDPF_FOURCC && format_fourcc == PF_FOURCC("A2XY")) { | ^ thirdparty/assimp/include/assimp/material.inl: In member function 'aiReturn aiMaterial::Get(const char*, unsigned int, unsigned int, aiColor3D&) const': thirdparty/assimp/include/assimp/material.inl:176:33: error: implicitly-declared 'aiColor3D& aiColor3D::operator=(const aiColor3D&)' is deprecated [-Werror=deprecated-copy] 176 | pOut = aiColor3D(c.r,c.g,c.b);
2019-07-02CryptoCore class to access to base crypto utils.Fabio Alessandrelli
Godot core needs MD5/SHA256/AES/Base64 which used to be provided by separate libraries. Since we bundle mbedtls in most cases, and we can easily only include the needed sources if we so desire, let's use it. To simplify library changes in the future, and better isolate header dependencies all functions have been wrapped around inside a class in `core/math/crypto_base.h`. If the mbedtls module is disabled, we only bundle the needed source files independently of the `builtin_mbedtls` option. If the module is enabled, the `builtin_mbedtls` option works as usual. Also remove some unused headers from StreamPeerMbedTLS which were causing build issues.
2019-07-01Merge pull request #28884 from vnen/yield-resume-stackRémi Verschelde
Keep GDScript functions in stack while yielding
2019-07-01Merge pull request #29333 from hbina/fix_double_click_when_no_edited_funcRémi Verschelde
fixed an issue with double clicking available node in VisualScriptEditor
2019-07-01Merge pull request #29980 from Dentrax/directed-by-qarminRémi Verschelde
Fix some editor crashes
2019-07-01Merge pull request #30126 from qarmin/remove_unnecessary_codeRémi Verschelde
Remove unnecessary code and add some error explanations
2019-07-01fix some crashesFurkan Türkal
2019-07-01Remove unnecessary code and add some error explanationsqarmin
2019-07-01Merge pull request #29815 from NilsIrl/plus_file_1Rémi Verschelde
Replace ` + "/" + ` with `String::file_add()`
2019-06-30Update miniupnpc library to latest masterFabio Alessandrelli
2019-06-30doc: Remove null default values that can't be determinedRémi Verschelde
Applying #30187.
2019-06-30doc: Remove hardcoded default values from descriptionsRémi Verschelde
They are now generated automatically by doctool.
2019-06-30doc: Add default values to all propertiesRémi Verschelde
Thanks to @bojidar-bg's impressive work in #29380.
2019-06-30Merge pull request #24227 from BastiaanOlij/arkit31Rémi Verschelde
ARKit for Godot 3.2
2019-06-30ARKit for Godot 3.2BastiaanOlij
This PR introduces support for ARKit to the iOS version of Godot. ARKit is Apples Augmented Reality platform. This PR brings in support for ARKit 1.0 and implements a few ARKit 2.0 features. It requires iOS 11 to run but should not prevent Godot from running on older versions as long as ARKit remains unused.
2019-06-29Merge pull request #30177 from hbina/use_FALLTHROUGH_macroRémi Verschelde
Applied some of FALLTHROUGH macro usage from #30122
2019-06-29Many fallthrough switch cases now have the FALLTHROUGH macro to tell the ↵hbina085
compiler that this is intended.
2019-06-29Merge pull request #30167 from Xrayez/module-editor-iconsRémi Verschelde
Add support for creating editor icons per module
2019-06-29Remove bogus nulls from generated default valuesBojidar Marinov
Also, fix crash in PluginScript destructor.
2019-06-29Merge pull request #30183 from Andrettin/Variant-Pointer-FixesRémi Verschelde
Fixed cases of unsupported pointers being used to construct variants
2019-06-29Merge pull request #29380 from bojidar-bg/16086-docs-default-valueRémi Verschelde
Add default values to the editor help, docs, and generated RST
2019-06-29 Fixed cases of unsupported pointers being used to construct variantsAndrettin
2019-06-28Add support for creating editor icons per moduleAndrii Doroshenko (Xrayez)
The functionality is similar to how `doc_classes` are retrieved per module. The build system will search for custom icons path defined per module via `get_icons_path()` method in `config.py` or default icons path. If such paths don't exist, only the editor's own icons will be built. Most module icons were moved from editor/icons to respective modules.
2019-06-28Merge pull request #30134 from Calinou/doc-proofreadRémi Verschelde
Proofread and improve the whole class reference