summaryrefslogtreecommitdiff
path: root/core
AgeCommit message (Collapse)Author
2018-11-19Merge pull request #20627 from malcolmhoward/core-dictionary-get-keyRémi Verschelde
#20488 core dictionary get key
2018-11-19Added Python-like .get() method to Dictionary in GDScript #20488m
Added .get() method to Dictionary class in GDScript to return the value if the key exists, or return Null if the key does not exist.
2018-11-18Increase number of image loaders (why was it this low..), fixes #19037Juan Linietsky
2018-11-18Massive speed up on deleting nodes, fixes #18673Juan Linietsky
Also makes the editor exit faster
2018-11-18Properly accept wildcard when binding IPv4 socket.Fabio Alessandrelli
Also never return null for is_ipv4 to avoid crashes due to engine bug. (better to get an error and a broken socket then seeing your game crash)
2018-11-18Merge pull request #23771 from Faless/fix_release_exportRémi Verschelde
Always initialize VariantCall return_type.
2018-11-17Fixed the default value for Input.action_press() from commit 8c45282Davide Baldo
2018-11-17Always initialize VariantCall return_type.Fabio Alessandrelli
The return_type is used by the GDScript parser (and possibly other scripting languages), so it MUST be initialized at least. It could be initialized to Variant::NIL in release, but I see no reason for not setting the actual value. See similar issue in 95dfa5b .
2018-11-16Fix Squish decompression, closes #18109Juan Linietsky
2018-11-16Clearing history increments version, else it does not generate an asterisk ↵Juan Linietsky
on modification if the scene was just saved. Fixes #18027. Still I feel this line was commented for a reason. If you bisect a bug and find this commit, let me know.
2018-11-16Merge pull request #23685 from Kanabenki/add-store-csv-lineRémi Verschelde
Add store_csv_line method for File
2018-11-16-Make sure monitorable cant be flipped while flushing queries, fixes #17330Juan Linietsky
-Also added set_deferred, this was missing.
2018-11-16Add store_csv_line method for FileKanabenki
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.