summaryrefslogtreecommitdiff
path: root/core
AgeCommit message (Collapse)Author
2018-11-28Revert "Construct Transform from Transform2D "Juan Linietsky
2018-11-28Merge pull request #23976 from clayjohn/transform_bugRémi Verschelde
Construct Transform from Transform2D
2018-11-28Fix many errors found by PVS-StudioAaron Franke
Fix errors 2, 3, 4, 6, 8, 9, 11, 12, 13, 14, and 15.
2018-11-27Allow signal connecting even if script is invalid (only when compiled with ↵Juan Linietsky
tools), fixes #17070
2018-11-25construct transform from transform2d bugclayjohn
2018-11-23Improved support for custom image loadersFabian
2018-11-22FileAccess::store_csv_line() don't added unnecessary double quotes.allkhor
2018-11-21Ensure array and dict editors show edited object IDs, fixes #20225Juan Linietsky
2018-11-20Remove trailing whitespaceRémi Verschelde
With `sed -i $(rg -l '[[:blank:]]*$' -g'!thirdparty') -e 's/[[:blank:]]*$//g'` (+ manual revert of some thirdparty code under `platform/android`).
2018-11-20Merge pull request #23812 from YeldhamDev/clear_history_version_optionalRémi Verschelde
Add argument to UndoRedo's "clear_history()" to not increase the version
2018-11-20Make add_property error more explicit on duplicatesRémi Verschelde
Would have helped solve #23800 faster.
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-18Add argument to UndoRedo's "clear_history()" to not increase the versionMichael Alexsander Silva Dias
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)