summaryrefslogtreecommitdiff
path: root/core
AgeCommit message (Collapse)Author
2020-12-22Rename MainLoop methods to match Node methodsMarcel Admiraal
2020-12-21Merge pull request #44472 from winterpixelgames/PR-duplicate-packedarraysRémi Verschelde
Add support for duplicate() for Packed*Array, and they are pass by ref in godot 4.0
2020-12-20Merge pull request #43414 from Xrayez/pi-type-stringRémi Verschelde
Expose `PROPERTY_HINT_TYPE_STRING` to scripting
2020-12-20Merge pull request #43196 from Xrayez/property-list-changed-notify-protectedRémi Verschelde
Make `property_list_changed_notify()` protected in `Object`
2020-12-20Merge pull request #44531 from reduz/add-dynamic-bvhJuan Linietsky
Add a Dynamic BVH implementation.
2020-12-20Add animation reset track featurePedro J. Estébanez
As a bonus, to have consistency between use Beziers and create insert tracks, use Beziers also gets a default via editor settings that is used when the confirmation dialog is disabled, instead of just falling back to creating non-Bezier tracks.
2020-12-20Extend UndoRedo handling of Resource to every ReferencePedro J. Estébanez
2020-12-19Add a Dynamic BVH implementation.reduz
-Based on Bullet Dbvh, has style and functional changes. -Provides efficient pairing -Needed to optimize rendering -Needed to optimize physics This PR is up for others to review the implementation.
2020-12-19Rename Rect2 and Rect2i clip() to intersection()Marcel Admiraal
2020-12-19Merge pull request #44445 from theogen-ratkin/masterRémi Verschelde
Add interpolation parameter to resize_to_po2()
2020-12-18Add interpolation parameter to resize_to_po2()Theogen Ratkin
Image::resize_to_po2() now takes an optional p_interpolation parameter that it passes directly to resize() with default value INTERPOLATE_BILINEAR.
2020-12-18Implement automatic LOD (Level of Detail)reduz
-Happens on import by default for all models -Just works (tm) -Biasing can be later adjusted per node or per viewport (as well as globally) -Disabled AABB.get_support test because its broken
2020-12-18SCons: Add explicit dependencies on thirdparty code in cloned envRémi Verschelde
Since we clone the environments to build thirdparty code, we don't get an explicit dependency on the build objects produced by that environment. So when we update thirdparty code, Godot code using it is not necessarily rebuilt (I think it is for changed headers, but not for changed .c/.cpp files), which can lead to an invalid compilation output (linking old Godot .o files with a newer, potentially ABI breaking version of thirdparty code). This was only seen as really problematic with bullet updates (leading to crashes when rebuilding Godot after a bullet update without cleaning .o files), but it's safer to fix it everywhere, even if it's a LOT of hacky boilerplate.
2020-12-17packed*arrays are pass by ref now. support duplicate and update documentationJordan Schidlowsky
2020-12-17Fix crash parsing a serialized ReferencePedro J. Estébanez
2020-12-17Merge pull request #44393 from Calinou/add-stdout-flush-project-settingRémi Verschelde
Add a project setting to enable stdout flushing in release builds
2020-12-15Merge pull request #44406 from vnen/variant-ptr-constructRémi Verschelde
Add PtrConstruct template to use in Variant constructors
2020-12-15Change template order in method_ptrcall.hGeorge Marques
To be consistent with the enum in Variant so missing types can be more easily spotted.
2020-12-15Add PtrConstruct template to use in Variant constructorsGeorge Marques
Since the PtrToArg::encode requires the value to be constructed previously. With PtrConstruct this is not required.
2020-12-15Merge pull request #44275 from vnen/variant-function-arg-pointersRémi Verschelde
Use pointer parameters in Variant function pointers
2020-12-15Quick fix to incorrect error messages when writing to compressed or ↵Andy Savage
encrypted files.
2020-12-15Add a project setting to enable stdout flushing in release buildsHugo Locurcio
This can be used in server builds for journalctl compatibility.
2020-12-14Fixed mistakes in InputEvent as_text and to_string implementations.EricEzaM
2020-12-12Merge pull request #44315 from madmiraal/fix-handles-baseexceptionRémi Verschelde
Don't handle BaseException in build scripts
2020-12-12Don't handle BaseException in build scriptsMarcel Admiraal
2020-12-11wrong double quote output with .csv fixedAlf Kraus
2020-12-10Image: Rename PVRTC{2,4} to PVRTC1_{2,4}, drop COMPRESS_PVRTC2Rémi Verschelde
We haven't had a proper implementation for COMPRESS_PVRTC2 (which is PVRTC1 2-bpp) in years, so let's drop it instead of keeping a compress type which doesn't work. The other enum values were renamed to clarify that our PVRTC2 and PVRTC4 are respectively PVRTC1 2-bpp and PVRTC1 4-bpp. PVRTC2 2-bpp and 4-bpp are not implemented yet.
2020-12-10Fix object check on Variant key checkerGeorge Marques
2020-12-10Use pointer parameters in Variant function pointersGeorge Marques
Instead of references. This is needed because those function pointers are used in GDNative which needs to work with plain C, which doesn't support passing parameters by reference.
2020-12-10Make `property_list_changed_notify` protected in `Object`Andrii Doroshenko (Xrayez)
Alternative to `_change_notify()` to be called from within C++ classes. Achieves low-level consistency with scripting, where this method is exposed for updating the editor (inspector) with new values.
2020-12-09Merge pull request #44128 from KoBeWi/🧹Rémi Verschelde
Cleanup unused engine code
2020-12-09Cleanup unused engine codeTomasz Chabora
2020-12-09Merge pull request #43931 from bruvzg/ctl_comp_fontRémi Verschelde
[Complex Text Layouts] Add compatibility for legacy Font resources.
2020-12-09Merge pull request #44199 from bruvzg/pvs_fixes_1Rémi Verschelde
PVS-Studio static analyzer fixes
2020-12-09Static analyzer fixes:bruvzg
Removes unused code in OS. Fixes return types. Fixes few typos.
2020-12-09Merge pull request #44161 from Faless/fix/fa_buffered_removeRémi Verschelde
Remove unused FileAccessBuffered
2020-12-08Merge pull request #44089 from Xrayez/rng-stateRémi Verschelde
Add ability to restore `RandomNumberGenerator` state
2020-12-08Merge pull request #43742 from qarmin/editor_modules_default_valuesRémi Verschelde
Initialize class/struct variables with default values in platform/ and editor/
2020-12-08Constify ScriptLanguage.can_inherit_from_fileEmmanuel Leblond
2020-12-08Merge pull request #44148 from Calinou/tweak-log-file-namesRémi Verschelde
Tweak log file names for consistency between Mono and non-Mono logs
2020-12-07Add ability to restore `RandomNumberGenerator` stateAndrii Doroshenko (Xrayez)
- added `state` as a property to restore internal state of RNG; - `get_seed()` returns last seed used to initialize the state rather than the current state. Co-authored-by: MidZik <matt.idzik1@gmail.com>
2020-12-07Improve argument names for core typesAaron Franke
2020-12-06Tweak log file names for consistency between Mono and non-Mono logsHugo Locurcio
- Avoid spaces in Mono log file names. - Use a `.log` extension for Mono logs, just like non-Mono logs. - Use periods to separate hours/minutes/seconds for non-Mono logs.
2020-12-06Remove now unused FileAccessBuffered.Fabio Alessandrelli
2020-12-05Remove connect *_compat methodsAaron Franke
2020-12-04Merge pull request #44084 from vnen/float-is-realRémi Verschelde
Rename TYPE_REAL to TYPE_FLOAT
2020-12-04Rename TYPE_REAL to TYPE_FLOATGeorge Marques
To be consistent with the naming everywhere else.
2020-12-03Reorganize rendering server.reduz
-Made RenderingServerScene abstract, allowing reimplementation -RenderingServerRaster -> RenderingServerDefault, but this class is going away soon.
2020-12-03Merge pull request #44011 from KoBeWi/red_roses_minus_blue_violetsRémi Verschelde
Fix subtracting colors and quats
2020-12-03Fix subtracting colors and quatsTomasz Chabora