summaryrefslogtreecommitdiff
path: root/modules
AgeCommit message (Collapse)Author
2019-09-06Produce an error when a class has the same name as a SingletonMitch Curtis
If you somehow end up with a Singleton.gd that looks like this: extends Node class_name Singleton func foo(): pass You will get an error when using it in another file: extends Node2D func _init(): # Parser Error: Non-static function "foo" can only be called from an instance. Singleton.foo() This error is confusing. This patch ensures that an error on the class_name line will be produced: Parse Error: The class "Singleton" conflicts with the AutoLoad singleton of the same name, and is therefore redundant. Remove the class_name declaration to fix this error. Fixes #28187.
2019-09-03Try and show all the properties added with _get_property_list() when ↵MrCdK
triggering completion. Closes https://github.com/godotengine/godot/issues/25097
2019-09-03Merge pull request #31871 from aaronfranke/equal-approx-infRémi Verschelde
Check for exact equality before approximate equality
2019-09-02Merge pull request #31893 from bojidar-bg/25081-gdscript-index-selfRémi Verschelde
Re-allow indexing on objects and other non-builtin types
2019-09-02Merge pull request #31843 from 2shady4u/parserCtrlClickRémi Verschelde
Solves ctrl+click on functions by ignoring the cursor
2019-09-02Re-allow indexing on "self" and object types in GDScriptBojidar Marinov
Fixes #25081
2019-09-02gdscript: Fix build after #24925Rémi Verschelde
The PR did not use the ScriptCodeCompletionOption system introduced later on, and somehow this did not generate a merge conflict even though neighboring code was changed.
2019-09-02Merge pull request #24925 from Mr-Slurpy/typed-autoloadRémi Verschelde
Added autoloads as a potential type.
2019-09-02Merge pull request #21443 from deepmax/ord_functionRémi Verschelde
Add ord() function to return Unicode code point of a string of length one
2019-09-02Solves ctrl+click on functions by ignoring the cursorshaderbeast
Obeyed CLANG format rules Obeying CLANG format rules attempt 2 Obeying CLANG format rules attempt 3 Clean up Fixed runaway while loop Removed int initialization
2019-09-01Make JSONRPC constants uppercase for consistency with other classesHugo Locurcio
2019-09-01Merge pull request #31587 from RevoluPowered/feature/fbx-importerRémi Verschelde
FBX Importer
2019-09-01Assimp FBX Import supportGordon MacPherson
Issues fixed: - Updated assimp to latest and backported fixes into godot. - Fixed file scale being ignored from FBX file. - Fixed bone removal - Implemented proper armature binding - Fixed recursion not always going through the entire path - Implemented assimp global scaling system - Fixed assimp global scale process to support unit conversion - Implemented proper fbx scaling - Fixed asserts caused by missing faces in some models which could crash - Fixed valid bone removal - Fixed root node being overwriten by assimp which caused data loss - Fixed armature construction so that it works with multiple roots - Implemented basic support for FBX standard materials - Refactoring to improve code quality and improve function reuse. - Simplified node creation from assimp scene into subsections: create_light, create_mesh, create_bone. - Creating meshes is now done after hierarchy is created so that the skeleton is always available. - Added support to assimp to support file scale in all formats which call SetFileScale. - Many other fixes provided into assimp. Known issues: - FBX pivots from Maya do not currently work. (workaround: for now use blender import and export to remove pivot tracks) - Hierarchy creates an extra node for each mesh - this was done intentionally but we intended to do a pass to remove these as they're a required node. - When an animated mesh has not executed any animation the rest pose is wrong. Co-authored-by: K. S. Ernest (iFire) Lee <ernest.lee@chibifire.com>
2019-09-01Check for exact equality before approximate equalityAaron Franke
2019-09-01Fix resizer icon visiblity on light theme in GraphNodeChaosus89
2019-08-30Mono: Force preemptive thread suspend mode as a temporary workaroundIgnacio Etcheverry
2019-08-29Merge pull request #31770 from neikeq/supercedes-31008Rémi Verschelde
Fix GodotTools.ProjectEditor HintPaths for referenced packages
2019-08-29Fix GodotTools.ProjectEditor HintPaths for referenced packagesIgnacio Etcheverry
2019-08-29doc: Sync classref with current sourceRémi Verschelde
2019-08-29Updated description for "stepify"Thomas Karcher
Mentioned the possibility to use stepify as a rounding function; +code examples
2019-08-29Merge pull request #31741 from akien-mga/lsp-requires-websocket-jsonrpcRémi Verschelde
GDScript: Disable LSP if either jsonrpc or websocket are disabled
2019-08-29Merge pull request #31738 from bojidar-bg/31056-class_name-extendsRémi Verschelde
Remove check for class_name and extends order
2019-08-28Merge pull request #31729 from aaronfranke/mono-colorRémi Verschelde
[Mono] Various Color fixes and improvements
2019-08-28Add ord() function to return Unicode code point of a string of length oneMasoud Montazeri
2019-08-28Merge pull request #31728 from fire/improve-uvatlasRémi Verschelde
Tweak xatlas and import new version b4b5426
2019-08-28Merge pull request #31737 from bojidar-bg/31455-stack-underflowRémi Verschelde
Fix yield check in GDScriptFunction
2019-08-28Merge pull request #31454 from lliberadzki/gridmap-navmesh-bakingRémi Verschelde
Support baking gridmap navmesh.
2019-08-28GDScript: Disable LSP if either jsonrpc or websocket are disabledRémi Verschelde
Follow-up to #29780.
2019-08-28Merge pull request #29780 from GodotExplorer/gdscript-lspRémi Verschelde
Add Language Server Protocol for GDScript
2019-08-28Remove check for class_name and extends orderBojidar Marinov
Closes #31056
2019-08-28Fix yield check in GDScriptFunctionBojidar Marinov
Fixes #31455
2019-08-28Tweak xatlas and import new version b4b5426K. S. Ernest Lee
* Avoid xatlas crash * Enable alignment and disable bruteforce for speedups * Update xatlas to b4b5426 * Delete old patches
2019-08-28Style: Fix copyright headers in new filesRémi Verschelde
2019-08-28Merge pull request #31606 from toasteater/fix/nativescript-new-json-return-typeRémi Verschelde
Fix the return type of NativeScript::new in API json
2019-08-27Make 'break' and 'continue' be marked as safeMichael Alexsander Silva Dias
2019-08-27[Mono] Various Color improvementsAaron Franke
I also slid in a fix to C++ Vector3 > and >=
2019-08-27Mono: Fix OSX build due to invalid function callRémi Verschelde
2019-08-26Merge pull request #31607 from Calinou/improve-gdscript-messagesRémi Verschelde
Improve writing style in GDScript error/warning messages
2019-08-26Make VarArg methods return types show up as Variant in API jsontoasteater
VarArg methods have the return type Object in the API json for GDNative. This can cause undefined behavior in some language bindings due to lack of documentation on VarArg methods' behavior. This changes the MethodInfo of: - CSharpScript::_new - GDScript::_new - PluginScript::_new
2019-08-26Merge pull request #31680 from neikeq/fix-android-gen-sourcesIgnacio Roldán Etcheverry
Fix 'android_mono_config.gen.cpp' not compiled first time it's generated
2019-08-26Fix 'android_mono_config.gen.cpp' not compiled first time it's generatedIgnacio Etcheverry
2019-08-26Merge pull request #31652 from Calinou/csharp-alpha-dialog-androidRémi Verschelde
Mention Android support in the C# alpha dialog message
2019-08-25Set C# 7 as LangVersion for GodotTools and Godot API projectsIgnacio Etcheverry
This will make it harder for someone to accidentally commit code that requires a newer version.
2019-08-25Mention Android support in the C# alpha dialog messageHugo Locurcio
2019-08-25default is only supported by 7.1, reverted to support 7.0 out of the box (no ↵lamonte
conflict)
2019-08-23Improve writing style in GDScript error/warning messagesHugo Locurcio
This uses double quotes everywhere for consistency.
2019-08-23Merge pull request #31094 from aaronfranke/vector-sign-mod-etcRémi Verschelde
Add Vector2/3 sign and posmod functions, axis, docs, misc additions
2019-08-22Merge pull request #31566 from Faless/ssl/fix_custom_certRémi Verschelde
Fix StreamPeerSSL connect_to_stream w/ custom cert.
2019-08-22Better error handling in SSLContext, CryptoFabio Alessandrelli
2019-08-22Fix StreamPeerSSL connect_to_stream w/ custom certFabio Alessandrelli
Follow up on #29871. Was checking the wrong parameter, causing the code to ignore provided stream-specific SSL certificate.