summaryrefslogtreecommitdiff
path: root/modules
AgeCommit message (Collapse)Author
2018-11-28GDscript function str2var now returns input string on invalid inputErik
str2var used to raise a blocking error when invalid input was passed. Now it logs an error message and returns the input string. This solution was proposed in #13021. Closes #11457 and #13021.
2018-10-25Merge pull request #23212 from YeldhamDev/menubar_consistencyRémi Verschelde
Fix inconsistences in some buttons in the Canvas/Spatial editor menubar
2018-10-25Merge pull request #23162 from neikeq/ccIgnacio Etcheverry
Proper support for namespaces and other enhancement/fixes
2018-10-25Parse C# script namespace and classIgnacio Etcheverry
- Added a very simple parser that can extract the namespace and class name of a C# script.
2018-10-25Fix msvc warnings in mono moduleIgnacio Etcheverry
- `modules\mono\csharp_script.cpp(576): warning C4099: 'CSharpScriptDepSort': type name first seen using 'class' now seen using 'struct'` - `modules\mono\signal_awaiter_utils.cpp(144): warning C4003: not enough actual parameters for macro 'ERR_FAIL_V'` - `modules\mono\editor\net_solution.cpp(101): warning C4129: '%': unrecognized character escape sequence` - (several) `modules\mono\glue\cs_compressed.gen.h(222): warning C4129: 'E': unrecognized character escape sequence`
2018-10-25Do not generate API project GUIDs randomlyIgnacio Etcheverry
2018-10-25Support globs in csproj includesIgnacio Etcheverry
2018-10-25C#: Fix crash when disposing Reference on domain finalizeIgnacio Etcheverry
2018-10-25Fix inconsistences in some buttons in the Canvas/Spatial editor menubarMichael Alexsander Silva Dias
2018-10-25doc: Sync with current sourceRémi Verschelde
2018-10-25Merge pull request #22779 from Superwaitsum/LimitSettingsRémi Verschelde
Limit several project settings
2018-10-25Merge pull request #23240 from kubecz3k/complete-gettersRémi Verschelde
Optional getters/setters editor autocomplete
2018-10-24Add some limits on the Editor SettingsSuperwaitsum
2018-10-24Merge pull request #22701 from swenner/fix-21867-jpeg-is-rgbRémi Verschelde
load JPG images as rbg instead of rgba, fixes #21867
2018-10-24Merge pull request #22899 from J08nY/fix/assignment-operation-arrayRémi Verschelde
Do not make a function that returns Variant::NIL a void function. Fix #22791
2018-10-24Merge pull request #23094 from RandomShaper/fix-crash-signal-to-danling-objRémi Verschelde
Fix crash on signal/resume to dangling target
2018-10-24Merge pull request #22968 from jfmichaud31/CSGMesh_bugRémi Verschelde
fix bug #20255 on CSGMesh
2018-10-23Add missing EMWSServer::poll function.Fabio Alessandrelli
Empty of course as server is not supported in HTML5, but the symbol must be defined.
2018-10-23Remove unneeded strncpy in lws_client.Fabio Alessandrelli
Pass the String buffer directly, lws_client_connect_via_info will copy them for us.
2018-10-23Optional getters/setters editor autocompleteJakub Grzesik
solves #22291
2018-10-22Fix internal assembly load fromIgnacio Etcheverry
- Also make sure we load API assemblies from 'res://.mono/assemblies/'.
2018-10-22Fixes crash when loading *.escn resources with gdnative #20141Maarten Heremans
The issue is that ResourceFormatLoaderText is a singleton. It was created in a faulty way in ResourceFormatLoaderNativeScript::load It was created on the stack, which caused the static singleton pointer to be overwritten. This causes then segmentation faults if the singleton is used later on. IMO singleton creation needs to made safer to avoid other similar issues in the future.
2018-10-21Removed undeclared and unused variable, which caused a compile errorMads Ynddal
2018-10-19Fixing warnings generated by MSVCDualtagh Murray
Fixes #22684.
2018-10-19Merge pull request #23128 from neikeq/bbIgnacio Etcheverry
Make sure API assemblies are up to date at startup
2018-10-19Make sure API assemblies are up to date at startupIgnacio Etcheverry
- If there is a solution and C# project at startup, make sure API assemblies are up to date. - Fix prebuilt assemblies only being used when building the game project, and not in other instances.
2018-10-18Fix prefix erasing for the generated C# enum constantsIgnacio Etcheverry
2018-10-17C#: Optimize struct marshallingIgnacio Etcheverry
- We no longer box struct to return them from internal calls. - Use reinterpret_cast if the managed struct layout is the same as the native struct.
2018-10-17Fix crash on signal/resume to dangling targetPedro J. Estébanez
Fixes #22443.
2018-10-16C# API: Hide method bind fields from debuggerIgnacio Etcheverry
2018-10-16Merge pull request #23018 from lupoDharkael/parse-bugRémi Verschelde
GDScriptTokenizer: Fix token_names order
2018-10-16Merge pull request #22991 from Paulb23/type_syntax_highlighting_fixesRémi Verschelde
Fix types highlighting outside of function args and var declarations, issues 22029,21638
2018-10-16Merge pull request #22548 from fire/visualscript_whitespaceRémi Verschelde
Visualscript search fixes
2018-10-15Added a fail condition to prevent a crashJean-François Michaud
2018-10-14GDScriptTokenizer: Fix token_names orderlupoDharkael
2018-10-13Fix types highlighting outside of function args and var declarations, issues ↵Paulb23
22029,21638
2018-10-11Make visualscript search better.K. S. Ernest (iFire) Lee
* There were spaces unequally inside the function definitions. * camelcase_to_underscore() should also work for numbers inside of the camel case. * Removed the builtin concept * Capitalize descriptions from methods too. * Match the visual script functions by removing the empty arguments "( )" * Add some test cases
2018-10-11Do not make a function that returns Variant::NIL a void function. Fix #22791.J08nY
2018-10-11Fixed the problem with vector3 constructorthe 8th mage
Whenever there's a port change that may change the inputs, the default inputs will be recalculated. Moving the update port loop into its own function. Signed-off-by: K. S. Ernest (iFire) Lee <ernest.lee@chibifire.com>
2018-10-08Merge pull request #22865 from neikeq/issue-22854Ignacio Etcheverry
Check if directory exists before trying to delete it
2018-10-08Check if directory exists before trying to delete itIgnacio Etcheverry
2018-10-08Fix multi-statement macro call not being covered.J08nY
2018-10-07Merge pull request #22808 from KellyThomas/vector-oneRémi Verschelde
Add ONE constants to Vector2 and Vector3
2018-10-07Merge pull request #22771 from guilhermefelipecgs/fix_inspector_previewRémi Verschelde
Fix inspector preview
2018-10-07Update class documentation xmlKelly Thomas
2018-10-07Fix inspector previewGuilherme Felipe
Remove script preview to inspector dock
2018-10-07Fix LWSClient connect_to_host string termination.Fabio Alessandrelli
Coming from strncpy might get you a non-NULL terminated buffer. The solution, if you accept trunction, is to give one less byte to strncpy and manually set the last char in the buffer to '\0'. If the source string is shorter, than the buffer is padded with '\0' automatically.
2018-10-07Merge pull request #22759 from AndreaCatania/pyfixRémi Verschelde
Some physics fixes for 3.1
2018-10-07C# bindings generator fixesIgnacio Etcheverry
- Fix unused bool local for MonoBoolean argument. - Append U to API hashes. Fixes warning: 'integer constant is so large that it is unsigned'
2018-10-07Merge pull request #22752 from aaronfranke/equals-redundantRémi Verschelde
Remove redundant "== true" and "== false" code