summaryrefslogtreecommitdiff
path: root/core
AgeCommit message (Collapse)Author
2019-06-06Fix a random SSL crash I saw once.Hein-Pieter van Braam-Stewart
I don't know why this happened, I was debugging another issue. This should take care of it though.
2019-06-03Remove unnecessary assignmentDawid Kurek
2019-06-03Merge pull request #29431 from Calinou/fix-unix-permissions-errorsRémi Verschelde
Fix errors when attempting to set UNIX permissions when unavailable
2019-06-03Fix errors when attempting to set UNIX permissions when unavailableHugo Locurcio
This makes exporting from Windows to Linux work again. This closes #29416.
2019-06-03Merge pull request #28099 from lupoDharkael/fix-completionRémi Verschelde
Fix code completion not working with class_name
2019-06-02Add configurable strength value to InputEventActionGilles Roudiere
2019-06-01Merge pull request #27789 from Giacom/move_towardsRémi Verschelde
Added move_toward functions for float, Vector2 and Vector3
2019-05-31Merge pull request #29340 from qarmin/fix_array_overflowRémi Verschelde
Fix array overflow when saving scene preview
2019-05-31Fix and expose String::strip_escapes(), use it in LineEdit pasteRémi Verschelde
Supersedes #27736.
2019-05-31Fix array overflow when saving scene previewqarmin
2019-05-30Don't localize paths that contain but are not in the resource pathRémi Verschelde
This issue could be triggered if you try to access a path which contains the resource path string in its absolute path, while pointing to a directory which is *not* in the resource path. It's clearer with an example: with `/my/project` as resource path, the previous logic would also localize `/my/project_data` to `res://data`, which is incorrect and would lead to a cryptic error. Fixes #24761. Co-authored-by: volzhs <volzhs@gmail.com>
2019-05-30Merge pull request #25148 from capnm/capnm-print-corrupt-image-pathRémi Verschelde
Print the path of a corrupt image
2019-05-30Properly unlock mutexqarmin
2019-05-29FileAccessEncrypted: Be more explicit on decryption failureRémi Verschelde
Fixes #24505. Supersedes #25278.
2019-05-29Merge pull request #25647 from QbieShay/fix_25440Rémi Verschelde
Added a setting for files in which the editor should search (project specific)
2019-05-29Merge pull request #28416 from JellyWX/binary-literalsRémi Verschelde
Support for binary literals in GDScript
2019-05-28Merge pull request #26462 from SubSage/masterRémi Verschelde
Fixes OS.execute; stderr was silenced; adds missing quote from exe args (windows)
2019-05-28Added move_toward functions for float, Vector2 and Vector3Giacom
2019-05-27Merge pull request #28957 from aaronfranke/basis-optimizeRémi Verschelde
Optimize Basis constructor for Axis Angle
2019-05-27Merge pull request #29001 from ibrahn/message-arg-destroyRémi Verschelde
MessageQueue::flush now always destroys parameters of a spent message
2019-05-27Merge pull request #29119 from bruvzg/native_icon_supportRémi Verschelde
Add native window/taskbar icon support for Windows and macOS.
2019-05-24Add "transparent" to named color listJohn Gabriel
2019-05-24Add native window/taskbar icon support for Windows and macOS.bruvzg
Co-authored-by: Markus Törnqvist <mjt@nysv.org>
2019-05-24Expose 2D Delaunay triangulation in Geometry singletonAndrii Doroshenko (Xrayez)
Can be used via scripting as `Geometry.triangulate_delaunay_2d(points)` The interface is the same as in `Triangulate` library, returning indices into triangulated points.
2019-05-22Expose 2D polygon boolean operations in Geometry singletonAndrii Doroshenko (Xrayez)
Clipper 6.4.2 is used internally to perform polypaths clipping, as well as inflating/deflating polypaths. The following methods were added: ``` Geometry.merge_polygons_2d(poly_a, poly_b) # union Geometry.clip_polygons_2d(poly_a, poly_b) # difference Geometry.intersect_polygons_2d(poly_a, poly_b) # intersection Geometry.exclude_polygons_2d(poly_a, poly_b) # xor Geometry.clip_polyline_with_polygon_2d(poly_a, poly_b) Geometry.intersect_polyline_with_polygon_2d(poly_a, poly_b) Geometry.offset_polygon_2d(polygon, delta) # inflate/deflate Geometry.offset_polyline_2d(polyline, delta) # returns polygons // This one helps to implement CSG-like behaviour: Geometry.transform_points_2d(points, transform) ``` All the methods return an array of polygons/polylines. The resulting polygons could possibly be holes which could be checked with `Geometry.is_polygon_clockwise()` which was exposed to scripting as well.
2019-05-22Build Clipper with `tools=no` and patch it to auto-disable exceptionsAndrii Doroshenko (Xrayez)
Reverts "Build polygon clipper only in tools builds" (see #17319) which allows to build Clipper with tools disabled (release) and because of that, Clipper has to be patched to optionally disable exceptions in order to be built on some platforms. Patched Clipper 6.4.2 to be compiled with exceptions enabled/disabled. and ensure that Clipper-specific exception macros are defined: don't use exceptions by default unless exception handling is detected. Compilation with exceptions will be determined by various C++ exceptions defines: * ` __cpp_exceptions` is part of C++ feature testing macros (since C++98); * `__EXCEPTIONS` is used by some GNU compilers; * `_CPPUNWIND` is used by MSVC. The user can override specific exceptions behavior via corresponding `*_USER` macros (i.e. compiling for embedded systems).
2019-05-21Merge pull request #29041 from hbina/add_constRémi Verschelde
add const to methods that return literals
2019-05-21Merge pull request #29011 from zann1x/masterRémi Verschelde
Initialize padding on PoolByteArray serialization
2019-05-21added a const keyword for a methods that return constant literal...hbina085
2019-05-20Merge pull request #27886 from LeonardMeagher2/obj_to_stringRémi Verschelde
Allow overriding how scripted objects are converted to strings
2019-05-20Style: Fix issues with clang-format 8.0Rémi Verschelde
2019-05-19Initialize padding on PoolByteArray serializationLukas Zanner
2019-05-19MessageQueue::flush now always destroys parameters of a spent messageIbrahn Sahir
Previously, destructors of Variant parameters were not called if the target of the message was not found.
2019-05-19Fix typos with codespellRémi Verschelde
Using codespell 1.15.0. Method: ``` $ cat > ../godot-word-whitelist.txt << EOF ang curvelinear doubleclick leapyear lod merchantibility nd numer ois ony que seeked synching te uint unselect webp EOF $ codespell -w -q 3 -I ../godot-word-whitelist.txt --skip="./thirdparty,*.po" $ git diff // undo unwanted changes ```
2019-05-18Merge pull request #28925 from Daw11/astar-sorted-arrayMax Hilbrunner
Improve the performance of AStar
2019-05-17Optimize Basis constructor for Axis AngleAaron Franke
2019-05-17Merge pull request #28944 from Faless/mix/object_get_indexedMax Hilbrunner
Fix Object::get_indexed for simple properties.
2019-05-16Merge pull request #28587 from Daw11/lanczosMax Hilbrunner
Implement Lanczos image filter
2019-05-16Fix Object::get_indexed for simple properties.Fabio Alessandrelli
Object::get_indexed was not correctly reporting invalid keys if the name was a direct property (not a subproperty), causing for example Tween to not report correctly a bad interpolate_property key.
2019-05-16Use a binary heap for the open list of AstarDaw11
2019-05-15Fix NaN with get_action_strengthGilles Roudière
2019-05-12Better handle some self-RSET/RPC in MultiplayerAPIFabio Alessandrelli
Allow calling yourself via RPC/RSET if the mode allows it. Better error messages when you are not allowed to call yourself.
2019-05-09Change "ID" to lowercase "id"Aaron Franke
Reasoning: ID is not an acronym, it is simply short for identification, so it logically should not be capitalized. But even if it was an acronym, other acronyms in Godot are not capitalized, like p_rid, p_ip, and p_json.
2019-05-08Avoid _can_call_mode resetting error message in MultiplayerAPIFabio Alessandrelli
2019-05-06Merge pull request #28525 from MunWolf/func_ref_validationRémi Verschelde
Added an is_valid function to FuncRef
2019-05-05Implement Lanczos image filterDaw11
2019-05-03Allow overriding how scripted objects are converted to stringsLeonard Meagher
solves #26796 - ADD `String to_string()` method to Object which can be overriden by `String _to_string()` in scripts - ADD `String to_string(r_valid)` method to ScriptInstance to allow langauges to control how scripted objects are converted to strings - IMPLEMENT to_string for GDScriptInstance, VisualScriptInstance, and NativeScriptInstance - ADD Documentation about `Object.to_string` and `Object._to_string` - Changed `Variant::operator String` to use `obj->to_string()`
2019-05-02Locales: Add some missing locale namesRémi Verschelde
2019-05-01Merge pull request #27676 from qarmin/small_fixes_2Rémi Verschelde
Small fixes to static analyzer bugs
2019-04-30Make "decimal" functions more consistentAaron Franke
In GDScript, rename "decimals" to "step_decimals". In C#, add "StepDecimals", but keep the old functionality in a method called "DecimalCount".