summaryrefslogtreecommitdiff
path: root/core
AgeCommit message (Collapse)Author
2020-05-12Rename SSL certificate bundle setting to clarify the "overriding" aspectHugo Locurcio
This closes https://github.com/godotengine/godot-docs/issues/2531.
2020-05-11thirdparty: Cleanup after #38386, document provenance and copyrightRémi Verschelde
Also renamed `delaunay.h` to `delaunay_2d.h` to match the class name.
2020-05-11Merge pull request #38386 from reduz/new-lightmapperRémi Verschelde
New GPU lightmapper
2020-05-11Input: Readd 'Default Android Gamepad' magic bindingRémi Verschelde
Removed by mistake in #38292 like the Windows `__XINPUT_DEVICE__`, this magic binding is referenced directly in our code.
2020-05-10New lightmapperJuan Linietsky
-Added LocalVector (needed it) -Added stb_rect_pack (It's pretty cool, we could probably use it for other stuff too) -Fixes and changes all around the place -Added library for 128 bits fixed point (required for Delaunay3D)
2020-05-10Merge pull request #38548 from kuruk-mm/add_string_join_to_gdscriptRémi Verschelde
GDScript: Add join method on String
2020-05-10Revert "Renamed plane's d to distance"Rémi Verschelde
This reverts commit ec7b481170dcd6a7b4cf0e6c1221e204ff7945f3. This was wrong, `d` is not a distance but the `d` constant in the parametric equation `ax + by + cz = d` describing the plane.
2020-05-10Style: clang-format: Disable AllowShortCaseLabelsOnASingleLineRémi Verschelde
Part of #33027.
2020-05-10Style: clang-format: Disable AllowShortIfStatementsOnASingleLineRémi Verschelde
Part of #33027, also discussed in #29848. Enforcing the use of brackets even on single line statements would be preferred, but `clang-format` doesn't have this functionality yet.
2020-05-10Style: Add missing copyright headersRémi Verschelde
2020-05-10Merge pull request #37020 from aaronfranke/rangeRémi Verschelde
Allow using integer vectors for iteration and make range() use them
2020-05-10Renamed plane's d to distanceMarcus Elg
2020-05-09Merge pull request #38481 from RandomShaper/improve_yieldRémi Verschelde
Fix object leaks caused by unfulfilled yields
2020-05-09Allow Vector2/Vector3 iterators to have non-integer valuesAaron Franke
2020-05-09Allow using integer vectors for iteration and make range() use themAaron Franke
2020-05-09GDScript: Add join method on StringMateo Kuruk Miccino
Docs: Add join on String.xml
2020-05-07Re-add __XINPUT_DEVICE__hoontee
Required for `JoypadWindows::probe_joypads`. Partially reverts 510e83498e768ffbec8177f18a50180de828b844. Fixes #38554.
2020-05-07Merge pull request #36379 from aaronfranke/color-constructorsRémi Verschelde
Add a Color constructor for Color with alpha
2020-05-07Merge pull request #38536 from ThakeeNathees/trnasform-2-transform2d-convert-fixRémi Verschelde
Fix: can't convert Transform -> Transform2D
2020-05-07Fix: can't convert Transform -> Transform2DThakee Nathees
Fix: #38528
2020-05-07Merge pull request #38522 from ThakeeNathees/printing-empty-string-fixRémi Verschelde
Fix: printing empty string does nothing in editor output pannel
2020-05-07Fix: printing empty string does nothing in editor output pannelThakee Nathees
Fix: #38490
2020-05-06Merge pull request #38393 from nekomatata/printerr-remote-debugger-4.0Rémi Verschelde
Format remote printerr properly in script debugger output
2020-05-05Fix object leaks caused by unfulfilled yieldsPedro J. Estébanez
Now the stack saved in a `GDScriptFunctionState` is cleared as soon as the `yield()` operation is known not to be resumed because either the script, the instance or both are deleted. This clears problems like leaked objects by eliminating cases of circular references between `GDScriptFunctionState`s preventing them and the objects they refer to in their saved stacks from being released. As an example, this makes using `SceneTreeTimer` safer. Furthermore, with this change it's now possible to print early warnings about `yield()`s to released script/instances, as now we know they won't be successfully resumed as the condition for that happens. However, this PR doesn't add such messages, to keep the observed behavior the same for the time being. Also, now a backup of the function name in `GDScriptFunctionState` is used, since the script may not be valid by the time the function name is needed for the resume-after-yield error messages.
2020-05-05Merge pull request #38415 from madmiraal/fix-array-slicingRémi Verschelde
Fix array slicing.
2020-05-05[Windows] Add support for the WinTab API for pen input.bruvzg
2020-05-04Check for empty vectors before trying to access a pointer to the firstMarcel Admiraal
element in Octree<T, use_pairs, AL>::cull_convex().
2020-05-04Merge pull request #37937 from HaSa1002/fix-pckRémi Verschelde
Priorize Embedded PCKs on loading
2020-05-04Priorize Embedded PCKs on loadingHaSa1002
If existing, embedded PCKs are loaded before the pcks the engine might find next to it. Fixes #37568
2020-05-03Merge pull request #38394 from reduz/implement-skewRémi Verschelde
Implement Skew in Node2D
2020-05-03Remove some C++11 polyfill defines that are no longer neededHugo Locurcio
2020-05-02Fix array slicing.Marcel Admiraal
2020-05-01Implement Skew in Node2DJuan Linietsky
Skew is x-axis only, because it must be bidirectionally convertible to a 2x3 matrix, but you can subtract it to the rotation to get the effect on y-axis
2020-05-01Format remote printerr properly in script debugger outputPouleyKetchoupp
2020-04-29Fixed false positives in the culling system.Kiri Jolly
This fixes numerous false positives coming out of the culling system. AABB checks are now a full separating-axis check against the frustum, with the points of the frustum being compared to the planes of the box just as the points of the box were being compared to the planes of the frustum. This fixes large objects behind the camera not being culled correctly. Some systems that used frustums that were (sometimes mistakenly?) unbounded on one or more side have been modified to be fully enclosed.
2020-04-29Color with alpha constructorAaron Franke
2020-04-29Merge pull request #38307 from Calinou/shell-open-res-user-warningRémi Verschelde
Warn when trying to open `res://` or `user://` with `OS.shell_open()`
2020-04-29[Core] Rename linear_interpolate to lerpAaron Franke
2020-04-29Merge pull request #38034 from punto-/punto-/vibration_info_protectedRémi Verschelde
makes VibrationInfo protected
2020-04-29Merge pull request #37580 from aaronfranke/xformRémi Verschelde
Print errors when passing an invalid type to xform
2020-04-29Input: make VibrationInfo protected to allow implementors to use itpunto-
2020-04-28Merge pull request #38064 from aaronfranke/rotatedRémi Verschelde
Improve the Vector2 rotated code
2020-04-28Print errors when passing an invalid type to xformAaron Franke
2020-04-28Warn when trying to open `res://` or `user://` with `OS.shell_open()`Hugo Locurcio
`OS.shell_open()` will pass on the path directly to the OS' shell handler (which can handle file paths or URLs). It can't handle Godot-specific paths, so these need to be converted with `ProjectSettings.globalize_path()` first.
2020-04-28Merge pull request #38295 from akien-mga/input-is-backRémi Verschelde
Rename InputFilter back to Input
2020-04-28Rename InputFilter back to InputRémi Verschelde
It changed name as part of the DisplayServer and input refactoring in #37317, with the rationale that input no longer goes through the main loop, so the previous Input singleton now only does filtering. But the gains in consistency are quite limited in the renaming, and it breaks compatibility for all scripts and tutorials that access the Input singleton via the scripting language. A temporary option was suggested to keep the scripting singleton named `Input` even if its type is `InputFilter`, but that adds inconsistency and breaks C#. Fixes godotengine/godot-proposals#639. Fixes #37319. Fixes #37690.
2020-04-28Input: Drop obsolete versions of SDL gamecontrollerdbRémi Verschelde
The 204 and 205 are the older, SDL 2.0.4 and 2.0.5 compatible mappings, but since all new mappings have only been added to the main gamecontrollerdb.txt which overrides the older entries, it doesn't make much sense for us to keep the old databases. We do not support the SDL2 half axes and inverted axes features from gamecontrollerdb.txt, but this only impacts the specific controllers which can use those features, the rest are parsed and used properly. As for godotcontrollerdb.txt, it doesn't make sense for us to maintain our own custom mappings instead of submitting them upstream. The only exception is the Javascript and UWP platforms for which no bindings are available upstream, so we keep those entries.
2020-04-25Add const to InputEventMouseButton::get_factorTobias Mansfield-Williams
2020-04-21Improve the Vector2 rotated codeAaron Franke
2020-04-21Add proper type to most public API uses of ArrayJuan Linietsky