summaryrefslogtreecommitdiff
path: root/core
AgeCommit message (Collapse)Author
2018-08-15Merge pull request #20945 from neikeq/dict-erase-retboolRémi Verschelde
Dictionary: remove erase_checked(key), make erase(key) return bool
2018-08-15Merge pull request #21008 from groud/fix_action_initRémi Verschelde
Fixes initialization of action list
2018-08-14Merge pull request #18096 from aaronfranke/masterJuan Linietsky
[Core] Split up math_2d.h
2018-08-14-Deprecate ImageTexture::loadJuan Linietsky
-Add warning to Image::load when loading resources -Add script binding for get_configuration_warning
2018-08-14Merge pull request #20583 from neikeq/issue-15371Rémi Verschelde
Fix case where exported properties value is lost
2018-08-14Merge pull request #20856 from KoBeWi/pretty-dictionary-printRémi Verschelde
Add some curly braces to make dictionary printing less ambiguous
2018-08-14Dictionary: remove erase_checked(key), make erase(key) return boolIgnacio Etcheverry
2018-08-14Fixes initialization of action listgroud
2018-08-14Merge pull request #20443 from AlexHolly/add-string-format-no-indexRémi Verschelde
Added String.format "no index" support
2018-08-14Merge pull request #20772 from dragmz/string_copy_oob_read_fixRémi Verschelde
Fix out of buffer read when copying from a non-null-terminated string
2018-08-14Merge pull request #20992 from Chaosus/conversion_fixRémi Verschelde
Fix int(String) != int(int) conversion
2018-08-14Merge pull request #20826 from raphael10241024/mybranchRémi Verschelde
fix #20390: handle time before year 1970
2018-08-14Fix int(String) != int(int) conversionChaosus
2018-08-13Merge pull request #20778 from ibrahn/remove-zero-append-typosRémi Verschelde
removed some surplus null appends that got typoed in 0e29f7974b59e444…
2018-08-13fix #20390 :get_unix_time_from_datetime and get_date_time_from_unix_time can ↵RaphaelHunter
handle time before year 1970 now
2018-08-12Fix ResourceLoader::exists() false negative and readd deprecated has()Rémi Verschelde
2018-08-11[Core] Completely kill math_2d.h, change includesAaron Franke
2018-08-11[Core] Move Vector2i and Rect2i out of math_2d.hAaron Franke
2018-08-10[Core] Move Rect2 and Transform2D to their own filesAaron Franke
Math2D includes Transform2D, which includes Rect2, which includes Vector2.
2018-08-10[Core] Grammar, move defs to defsAaron Franke
Math constant definitions belong in `math_defs.h`. Also, the grammer in these files really needed some updating.
2018-08-10[Core] Change math_2d includes to vector2 includes where relevantAaron Franke
2018-08-10[Core] Move Vector2 to its own fileAaron Franke
Makes 2D math code easier to read and makes Vector2 consistent with Vector3. In the future, we may move other things out of math_2d as well.
2018-08-10Merge pull request #19993 from vnen/gdscript-warningsJuan Linietsky
System for GDScript warnings
2018-08-10Added system for GDScript warningsGeorge Marques
- Count and panel per script. - Ability to disable warnings per script using special comments. - Ability to disable warnings globally using Project Settings. - Option to treat enabled warnings as errors.
2018-08-10Added function ResourceLoader.exists(), to check if a resource exists. ↵Juan Linietsky
Closes #19140
2018-08-10Revert "added get_creation_time function for gdscript"Juan Linietsky
2018-08-10Merge pull request #18914 from notwarp/masterJuan Linietsky
added get_creation_time function for gdscript
2018-08-10Merge pull request #14704 from poke1024/colorconstantsJuan Linietsky
Allow some non-integer built-in constants in gdscript
2018-08-10Merge pull request #15536 from poke1024/fix3327Juan Linietsky
Fix SortArray crashing with bad comparison functions
2018-08-09Add some curly braces to make dictionary printing less ambiguousTomasz Chabora
2018-08-09Fix clang compile errorMarcelo Fernandez
2018-08-08Ability to pass custom variables to expression.Juan Linietsky
2018-08-08-Add Expression class, used to evaluate expressionsJuan Linietsky
-Added expression evaluation to EditorSpinSlider, fixes #20813, fixes #18932
2018-08-07Make sure warn deprecated uses a volatile bool (for multithreading)Juan Linietsky
2018-08-07Merge pull request #20636 from goodyttoor/hdr_importThomas Herzog
Fix #20564 HDR import fail
2018-08-07removed some surplus null appends that got typoed in ↵Ibrahn Sahir
0e29f7974b59e4440cf02e1388fb9d8ab2b5c5fd A couple of null appends got typoed to append a '0' character instead. Removed them here since String already takes care of the null terminator for us.
2018-08-06fix out of buffer read when copying non-null terminated stringsMarcin Zawiejski
2018-08-06Added proper import support for 3D and Array texturesJuan Linietsky
2018-08-05Merge pull request #20573 from hpvb/fix-nested-vector-cowHein-Pieter van Braam
Fix nested Vectors
2018-08-04ResourceFormatLoaderImage::get_resource_type now uses file pathwillnationsdev
2018-08-04Fix SortArray crashing with bad comparison functionspoke1024
2018-07-31Allow some non-integer built-in constants in gdscriptBernhard Liebl
2018-07-31Fix #20564 HDR import failUnknown
Token has extra "0" at the end so it fail condition checking.
2018-07-29Ensure one shot signals are not disconnected while edited, closes #7776Juan Linietsky
2018-07-29Fix case where exported properties value is lostIgnacio Etcheverry
Fixes exported property modified values lost when creating a placeholder script instance with a failed script compilation - Object set/get will call PlaceHolderScriptInstance's new fallback set/get methods as a last resort. This way, placeholder script instances can keep the values for storage or until the script is compiled successfuly. - Script::can_instance() will only return true if a real script instance can be created. Otherwise, in the case of placeholder script instances, it will return false. - Object::set_script(script) is now in charge of requesting the creation of placeholder script instances. It's no longer Script::instance_create(owner)'s duty. - PlaceHolderScriptInstance has a new method set_build_failed(bool) to determine whether it should call into its script methods or not. - Fixed a few problems during reloading of C# scripts.
2018-07-29It is now possible to import images as a separate resource, closes #5738 and ↵Juan Linietsky
likely many others
2018-07-29Fix nested VectorsHein-Pieter van Braam
When a Vector of Vectors gets resized the 'this' pointer of the Vectors change. This means that the VectorWriteProxy _parent references get invalidated. Thanks a lot to @ibrahn for finding the root cause of this. To fix this we now create a pointer to CowData in Vector (which won't change when the vectors move) and pass that to the write proxy also. This fixes #20475
2018-07-29Fix marshalls size checks.Fabio Alessandrelli
Yesterday, when playing around with my network code, I realized there is a security issue in decode_variant, at least when decoding PoolArrays. Basically, the size of the PoolArray is encoded in a uint32_t, when decoding it, that value is cast to int when comparing if the packet is actually that size causing numbers with MSB=1 to be interpreted as negative thus always passing the check. That same value though, is used as uint32_t again to resize the output vector. For this reason, sending a malformed packet with declared type PoolByteArray and size of 2^31(+x) causes the engine to try to allocate 2+GB of pool memory, causing the engine to crash. (cherry picked from commit 5262d1bbcc81a06db66ac45c3f75535f231268bc)
2018-07-28fix windows build using python 3.7dragmz
fixes NameError (missing "subprocess_main" and "basestring")
2018-07-28Merge pull request #20464 from Calinou/add-editor-standalone-feature-tagsRémi Verschelde
Add "editor" and "standalone" feature tags