summaryrefslogtreecommitdiff
path: root/core
AgeCommit message (Collapse)Author
2019-06-17Merge pull request #29752 from bruvzg/window_size_limitsRémi Verschelde
Add ability to limit maximum/minimum window size.
2019-06-16i18n: Fix extract.py support for new TTRCRémi Verschelde
Also make compatible with Python 3.
2019-06-15Add ability to limit maximum/minimum window size.bruvzg
2019-06-14Merge pull request #29735 from sparkart/masterRémi Verschelde
Limit Physics Process FPS above 0
2019-06-13Merge pull request #29488 from Daw11/astar-remove-nodeRémi Verschelde
Fix the performance of remove_point of AStar
2019-06-13Limit Physics Process FPS above 0Emmanuel Barroga
Resolves: #19734
2019-06-13Added constants for the main buttons and axis used in VRBastiaan Olij
2019-06-12Merge pull request #29702 from KoBeWi/fix_random_crashRémi Verschelde
Validate parameters of randi_range()
2019-06-12Validate parameters of randi_range()Tomasz Chabora
2019-06-12Merge pull request #29616 from Calinou/humanize-size-clearer-roundingRémi Verschelde
Make humanized size rounding clearer by padding decimals with zeroes
2019-06-12Merge pull request #27193 from toasteater/fix/pcg-randfRémi Verschelde
Improved uniformity of RandomPCG::randf.
2019-06-12Merge pull request #29615 from Calinou/fix-editor-monitor-large-sizesRémi Verschelde
Fix display of large sizes in the editor monitors
2019-06-12Merge pull request #29583 from Toshiwoz/masterRémi Verschelde
Fix Vector3 slerp method by normalizing cross product
2019-06-12Merge pull request #29465 from bruvzg/per_pixel_transp_imprRémi Verschelde
Removes redundant "splash" setting, improves per pixel transparency documentation.
2019-06-12Merge pull request #29306 from qarmin/small_code_fixesRémi Verschelde
Small fixes to unrechable code, possibly overflows, using NULL pointers
2019-06-11Fix error macro calls not ending with semicolonRémi Verschelde
It's not necessary, but the vast majority of calls of error macros do have an ending semicolon, so it's best to be consistent. Most WARN_DEPRECATED calls did *not* have a semicolon, but there's no reason for them to be treated differently.
2019-06-11Merge pull request #29467 from zaksnet/patch-1Rémi Verschelde
replaced "divisor" with "delimiter" for methods split,rsplit and split_floats.
2019-06-11Improved documentation of rsplit Method for String class.Zak
Improved documentation of rsplit Method for String class. Removed "divisor" (i will also change variants_call.cpp) and added "delimiter" in its place. Also moved the example at the bottom of the description.
2019-06-08Make humanized size rounding clearer by padding decimals with zeroesHugo Locurcio
For example, "5 MB" will now be displayed as "5.00 MB" to make the rounding precision clear, regardless of the value being rounded. This closes #29611.
2019-06-08Fix display of large sizes in the editor monitorsHugo Locurcio
Unlike the old custom method, the `String::humanize_size()` method works well with file sizes above 2 GB. This also tweaks the suffixes for spacing consistency and uses the correct acronym for exabytes (EB). This closes #29610.
2019-06-07Fix Vector3 slerp method normalizing cross productToshiwo
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-04Save inside the Points of AStar the neighbours that aren't connectedDaw11
Improve the performance of remove_point because it doesn't have to search every neighbour of every node
2019-06-04Removes redundant "display/window/per_pixel_transparency/splash" setting, ↵bruvzg
improves per pixel transparency documentation.
2019-06-03Remove unnecessary assignmentDawid Kurek
2019-06-03Small fixes to unrechable code, possibly overflows, using NULL pointersqarmin
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).