summaryrefslogtreecommitdiff
path: root/core
AgeCommit message (Collapse)Author
2018-11-14Ensure that array passed to physics is always counter clockwise, fixes #15361.Juan Linietsky
2018-11-13Merge pull request #22940 from Faless/lws_buffers_bisRémi Verschelde
Better buffering for WebSocket
2018-11-13Implement random number generatorChaosus
Co-authored-by: Zirak <zirakertan@gmail.com>
2018-11-12RingBuffer::decrease_writeFabio Alessandrelli
2018-11-10Merge pull request #23621 from workless/allow_strength_in_action_pressRémi Verschelde
Allow to specify a custom strength when calling Input.action_press(),…
2018-11-10Merge pull request #23639 from neikeq/ggRémi Verschelde
Fix GDScript placeholder fallback
2018-11-10Fix GDScript placeholder fallbackIgnacio Etcheverry
2018-11-10Allow to specify a custom strength when calling Input.action_press(), this ↵Davide Baldo
allows virtual axis, mainly for mobile.
2018-11-09Fix formatting -0.0 by %+f displays +-0.0Poommetee Ketson
2018-11-08User more correct plus file on get_current_dir.Juan Linietsky
2018-11-08-Moved EditorDefaultValue to ClassDB, made it coreJuan Linietsky
-Removed one and zero hints for properties, replaced by default value
2018-11-07Expose OS::move_window_to_foregroundMarcelo Fernandez
2018-11-02Remove unused "dtoll" methodsAaron Franke
These methods aren't used anywhere in Godot's code, and all they do is cast floating types to int64_t. There's no reason to have these lines, they literally do nothing, and they aren't useful functions to begin with.
2018-11-01Merge pull request #23346 from santouits/you-shall-not-executeJuan Linietsky
Error running Expression.execute after parse error
2018-11-01Merge pull request #23159 from DavidSichma/string-escapeJuan Linietsky
Fix: String::format Variant to String conversion
2018-10-29Moved folding outside the resource files, now saved outside the project.Juan Linietsky
2018-10-29Ability to revert any property, not just from inherited scenes or scripts.Juan Linietsky
2018-10-28Error running Expression.execute after parse errorsantouits
There happens a segmentation fault when you use Expression.parse() and you don't check for errors and then run Expression.execute(). So we check if there was a parse error in the execute method now.
2018-10-26Update GDNantive APIlupoDharkael
Add missing Rect2 methods to GDNative API Add missing Quat methods to GDNative API Add missing NodePath methods to GDNative API Add missing String methods to GDNative API Add missing Array methods to GDNative API Add missing Basis methods to GDNative API Add missing Color methods to GDNative API Update gdnative_api.json
2018-10-25Fix: String::format Variant to String conversionDavid Sichma
Previosly String::format used variant.get_construct_string() to convert the passed Variants to Strings. This however did not match the expected printing behavior of some datatypes: Strings for example turned out escaped. This fix replaces the call to get_construct_string() with a simple conversion. This makes String::format consistent with "%s" % "sth" and formated Variants turn out like printed as expected.
2018-10-25Merge pull request #22779 from Superwaitsum/LimitSettingsRémi Verschelde
Limit several project settings
2018-10-24Add some limits on the Editor SettingsSuperwaitsum
2018-10-24Fix .pck lookup for extensionless binary names with a dotRémi Verschelde
This was not a problem on Windows as binary names are guaranteed to end with '.exe', but on Unix systems binary extensions are purely cosmetic and thus optional, which is a problem when using `get_basename()` to lookup a potential '.pck' file, as it can fail on e.g. "My Game 2.0" (#15188). To fix this, ProjectSettings::setup now checks for both basename + '.pck' and filename + '.pck'. Fixes #15188, supersedes and closes #22755. Also took the opportunity to improve documentation on this core method.
2018-10-19Fixing warnings generated by MSVCDualtagh Murray
Fixes #22684.
2018-10-18Bind missing subresource flag in ResourceSaverAndrii Doroshenko (Xrayez)
2018-10-16Merge pull request #22548 from fire/visualscript_whitespaceRémi Verschelde
Visualscript search fixes
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-11Fix bug with OAHashMap corruption on insertionFlorian Jung
When an item has been inserted into an already-occupied slot, and the original inhabitant of that slot was moved on, it was wrongly moved with the inserted-item's key/value instead of its own. This closes #22928.
2018-10-09Revert "Added a check in sort_custom thats test wether the given method exists."Rémi Verschelde
This reverts commit 6415454581c3ba0025da6b9bae42e060fa4e1508. That patch was correct but Object::has_method is not a reliable way to check if we can use the given method, as it doesn't support inner classes (#22838).
2018-10-07Merge pull request #22808 from KellyThomas/vector-oneRémi Verschelde
Add ONE constants to Vector2 and Vector3
2018-10-07Merge pull request #22827 from qonnop/optimize-interpolationRémi Verschelde
Optimize interpolation algorithms
2018-10-07fixes #22828 - res://user had incorrect substr valueexts
2018-10-07Optimize interpolation algorithmsqonnop
Interpolation in the form of va + (vb - va) * c is faster and prevents floating point issues for int/string Followup to https://github.com/godotengine/godot/pull/22786
2018-10-07add ONE constants to Vector2 and Vector3Kelly Thomas
2018-10-07Fix potentially unininitialized pointer write.Fabio Alessandrelli
2018-10-07One less local variable in marshallsFabio Alessandrelli
2018-10-07Merge pull request #22705 from DualMatrix/debugging_the_debugger_grand_finaleRémi Verschelde
Cleaned up/Fixed some bugs in the remote inspector code.
2018-10-07Merge pull request #22722 from akien-mga/fix-warningsRémi Verschelde
Fix more "may be used initialized" warnings from GCC 7
2018-10-07Merge pull request #22752 from aaronfranke/equals-redundantRémi Verschelde
Remove redundant "== true" and "== false" code
2018-10-07Merge pull request #22786 from qonnop/fix-int-interpolationRémi Verschelde
Fixed int interpolation issue, closes #22763
2018-10-06Remove redundant "== false" codeAaron Franke
Some of this code has been re-organized. f
2018-10-06Remove redundant "== true" codeAaron Franke
If it can be compared to a boolean, it can be evaluated as one in-place.
2018-10-06Readd mipmaps 'bug' in Image::expand_x2_hq2x, fixing it caused a regressionRémi Verschelde
Fixes #22747.
2018-10-06Fixed int interpolation issue, closes #22763qonnop
When interpolating between two equal int values a and b, floating point calculation imprecisions can result in different values depending on the interpolation factor.
2018-10-06Merge pull request #22783 from eska014/html5-warningsRémi Verschelde
Fix warnings in HTML5 build outside platform files
2018-10-06Fix warnings in HTML5 build outside platform filesLeon Krause
2018-10-05Fixes to baker, restored xatlas and fixed bake options.Juan Linietsky
2018-10-05Don't delete FileAccess when it is nullMarc Gilleron
2018-10-05Merge pull request #22737 from DualMatrix/warn_sort_customRémi Verschelde
Added a check in sort_custom that test whether the given method exists.
2018-10-04Added a check in sort_custom thats test wether the given method exists.DualMatrix
Added a check in sort_custom thats test wether the given method exists.