summaryrefslogtreecommitdiffstats
path: root/core
Commit message (Collapse)AuthorAgeFilesLines
* Remove redundant transform method in Geometry singletonAndrii Doroshenko (Xrayez)2019-09-013-19/+0
| | | | | Transform2D's xform method can be used instead which handles `PoolVector2Array` now (as well as 3D version).
* Merge pull request #31761 from Xrayez/trans2d-vector2arrayRémi Verschelde2019-09-013-0/+67
|\ | | | | Add transform methods for PoolVector*Array
| * Add transform methods for PoolVector*ArrayAndrii Doroshenko (Xrayez)2019-08-293-0/+67
| | | | | | | | | | | | Similarly to `Vector2` and `Rect2` transforms in 2D and Vector3, Plane, and AABB in 3D. PoolVector2Array and PoolVector3Array were the only missing Variant types in both Transform2D and Transform respectively.
* | Merge pull request #31667 from YeldhamDev/geometry_point_circle_cleanupRémi Verschelde2019-09-014-266/+200
|\ \ | | | | | | Add 'is_point_in_circle()' to Geometry class, and general file cleanup
| * | Add 'is_point_in_circle()' to Geometry class, and general file cleanupMichael Alexsander Silva Dias2019-08-274-266/+200
| | |
* | | Revert "Add __atomic_* operators support for atomic operations"Rémi Verschelde2019-09-011-8/+8
| | |
* | | Fix memory leak in ResourceFormatSaverBinary::saveqarmin2019-08-301-0/+3
| | |
* | | Add a project description settingHugo Locurcio2019-08-281-0/+2
| |/ |/| | | | | | | | | | | The description is displayed as a tooltip when hovering the project in the Project Manager. It can span multiple lines. This partially addresses #8167.
* | [Mono] Various Color improvementsAaron Franke2019-08-271-4/+4
|/ | | | I also slid in a fix to C++ Vector3 > and >=
* Merge pull request #31662 from profan/perf/astar-reserveRémi Verschelde2019-08-273-9/+67
|\ | | | | Allow to reserve space for nodes in A* and elements in OAHashMap explicitly.
| * allow to reserve space in OAHashMap explicitly and also in AStar.Robin Hübner2019-08-273-9/+67
| | | | | | | | * also handle overflow occurring in _get_probe_length
* | Merge pull request #25656 from bruvzg/macos_multi_instancesRémi Verschelde2019-08-265-0/+49
|\ \ | | | | | | [macOS] Add ability to open multiple editor instances and global/dock menu access
| * | [macOS] Add methods to modify global and dock menus. Add ability to open ↵bruvzg2019-08-265-0/+49
| |/ | | | | | | multiple editor/project manager instances, recent/favourite project list to project manager dock menu and opened scene list to editor dock menu.
* / Modify outdated comments and error messages regarding indexed imagesAndrii Doroshenko (Xrayez)2019-08-262-8/+6
|/ | | | | Godot doesn't support indexed images anymore (FORMAT_INDEXED), so those are removed to avoid any confusion.
* Add forgotten pointer checkingqarmin2019-08-241-1/+1
|
* Merge pull request #31094 from aaronfranke/vector-sign-mod-etcRémi Verschelde2019-08-234-9/+83
|\ | | | | Add Vector2/3 sign and posmod functions, axis, docs, misc additions
| * Add Vector2/3 sign and posmod functions, misc additionsAaron Franke2019-08-174-9/+83
| | | | | | | | Also make the docs more consistent, add Axis enum to Vector2, add > and >=. and C# also gets % and an override for vector-vector mod.
* | Merge pull request #31513 from qarmin/int_overflowRémi Verschelde2019-08-231-0/+15
|\ \ | | | | | | Prevent int overflow and underflow
| * | Prevent int overflow and underflowqarmin2019-08-221-0/+15
| | |
* | | Allow to define and load script templates per projectAndrii Doroshenko (Xrayez)2019-08-221-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously it was only possible to create custom script templates per editor instance which could lead to certain name collisions, but now one can create such templates per project tailored for specific use cases. The default path to search for custom script templates is defined in project settings via `editor/script_templates_search_path` setting as `res://script_templates` path, yet this can be configured per project. Templates have at most two origins now: 1. Project-specific, defined in `ProjectSettings`, for instance: - res://script_templates/ 2. Editor script templates, for instance: - %APPDATA%/Godot/script_templates/ As script templates can have the same name over different paths, the override mechanism was also added, enabling project-specific templates over the editor ones.
* | | Revert "Feature: Add SHA256 for PoolByteArray"Rémi Verschelde2019-08-221-11/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This reverts commit e2c3bbabb0a12f58585bb441d91ee8882225b0ee. This was superseded by #29871 which adds more crypto features with a dedicated interface. Since this commit was never in a stable release (merged during 3.2 dev), we revert it to avoid having to deprecate it in favor of the Crypto API. See https://github.com/godotengine/godot/pull/31187#issuecomment-523377965
* | | Merge pull request #31437 from volzhs/vibrate-mobileRémi Verschelde2019-08-214-0/+8
|\ \ \ | | | | | | | | Support vibration for Android and iOS
| * | | Support vibration for Android and iOSvolzhs2019-08-214-0/+8
| | |/ | |/|
* | | Merge pull request #29871 from Faless/crypto/initial_prRémi Verschelde2019-08-2117-118/+607
|\ \ \ | | | | | | | | More Crypto, SSL server, crt/key as Resource, HashingContext
| * | | Rewrite StreamPeerSSL with SSLContext helper classFabio Alessandrelli2019-08-212-75/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | connect_to_stream now accepts optional parameter to specify which certificates to trust. Implement accept_stream (SSL server) with key/cert parameters to specify the RSA key and X509 certificate resources.
| * | | Add hashing context classFabio Alessandrelli2019-08-213-0/+205
| | | |
| * | | Add hex_encode function to PoolByteArrayFabio Alessandrelli2019-08-211-0/+8
| | | |
| * | | Add Crypto custom classFabio Alessandrelli2019-08-214-0/+335
| | | |
| * | | Move CryptoCore to it's own folder.Fabio Alessandrelli2019-08-199-37/+7
| | | | | | | | | | | | | | | | Crypto classes will be placed in core/crypto.
| * | | Fix CryptoCore signatures, add SHA1 context.Fabio Alessandrelli2019-08-192-6/+46
| | | | | | | | | | | | | | | | | | | | | | | | Fix hash size in SHA256 signature Fix source parameter in hash context update function to be const. Add SHA1 hash context.
* | | | Merge pull request #31402 from profan/perf/astar-improvementsRémi Verschelde2019-08-213-114/+185
|\ \ \ \ | | | | | | | | | | A* performance improvements, use OAHashMap.
| * | | | astar performance improvements, use oahashmapRobin Hübner2019-08-213-114/+185
| | | | |
* | | | | Merge pull request #31499 from nekomatata/fix-new-project-metadataRémi Verschelde2019-08-211-1/+1
|\ \ \ \ \ | |_|_|_|/ |/| | | | Setting project metadata doesn't fail when project_metadata.cfg doesn't exist
| * | | | Support for file not found in ConfigFile::Load and handle a few specific casesPouleyKetchoupp2019-08-211-1/+1
| | |/ / | |/| | | | | | | | | | | | | | | | | | | | | | EditorSettings::set_project_metadata: creates project_metadata.cfg if it doesn't exist EditorPlugin::get_config: removed (not used) Fixes #31444
* | | | Merge pull request #31395 from ptrojahn/floatsarenastyRémi Verschelde2019-08-201-2/+2
|\ \ \ \ | |/ / / |/| | | Replace is_zero_approx(A.distance_to(B)) with A==B
| * | | Replace is_zero_approx(A.distance_to(B)) with A==BPaul Trojahn2019-08-191-2/+2
| | | | | | | | | | | | | | | | | | | | Related to #22988 (Fixes the holes in the shape of the first comment)
* | | | Merge pull request #31423 from Calinou/improve-node-signal-group-tooltipRémi Verschelde2019-08-182-6/+7
|\ \ \ \ | | | | | | | | | | Improve the scene tree signals/groups tooltip
| * | | | Improve the scene tree signals/groups tooltipHugo Locurcio2019-08-172-6/+7
| | |/ / | |/| | | | | | | | | | | | | | The tooltip now displays the number of connections and groups that are assigned to the hovered node.
* | | | DirAccessPack: Fix dir_exists and file_exists for res:// pathsRémi Verschelde2019-08-171-1/+5
| |_|/ |/| | | | | | | | | | | | | | | | | Both methods check against containers using relative paths as index, so the `res://` part needs to be stripped. Fixes #26009.
* | | Replace last occurrences of 'ERR_EXPLAIN' with 'ERR_FAIL_*_MSG'Rémi Verschelde2019-08-171-4/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The last remaining ERR_EXPLAIN call is in FreeType code and makes sense as is (conditionally defines the error message). There are a few ERR_EXPLAINC calls for C-strings where String is not included which can stay as is to avoid adding additional _MSGC macros just for that. Part of #31244.
* | | Replace 'ERR_EXPLAIN' with 'ERR_FAIL_*_MSG' in 'core/' and 'editor/'Braden Bodily2019-08-1741-547/+220
|/ / | | | | | | | | | | | | | | | | Condensed some if and ERR statements. Added dots to end of error messages Couldn't figure out EXPLAINC. These files gave me trouble: core/error_macros.h, core/io/file_access_buffered_fa.h (where is it?), core/os/memory.cpp, drivers/png/png_driver_common.cpp, drivers/xaudio2/audio_driver_xaudio2.cpp (where is it?)
* | Fix image offset when upscaling with LanczosDavide Busterna2019-08-151-12/+9
| |
* | Merge pull request #31321 from julianaito/masterRémi Verschelde2019-08-151-8/+8
|\ \ | | | | | | Add __atomic_* operators support for atomic operations
| * | Replace legacy __sync atomic operations with newer __atomic onesCharlène2019-08-141-8/+8
| | |
* | | Merge pull request #31266 from ↵Rémi Verschelde2019-08-1435-135/+2
|\ \ \ | | | | | | | | | | | | | | | | IAmActuallyCthulhu/pr/remove-redundant-author-comments Remove redundant author doc comments
| * | | Remove redundant author doc commentsIAmActuallyCthulhu2019-08-1235-135/+2
| | | |
* | | | remove unused self list include from astarRobin Hübner2019-08-131-1/+0
| | | |
* | | | Merge pull request #31292 from iwek7/fixDebuggerInspectionForNodesRémi Verschelde2019-08-131-2/+12
|\ \ \ \ | | | | | | | | | | Fixes issue with debug inspecing of nodes that are not in the scene tree
| * | | | Fixes issue when inspecting nodes that are not in the treemiwanczuk2019-08-121-2/+12
| | |_|/ | |/| |
* | | | Export: Remove temp files from cache after exportRémi Verschelde2019-08-121-0/+12
| |_|/ |/| | | | | | | | | | | | | | | | | | | | | | | So far we left most temporary files lying around, so this attempts to fix that. I added a helper method to DirAccess to factor out the boilerplate of creating a DirAccess, checking if the file exists, remove it or print an error on failure.