summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2021-08-26Data structure optimizations as per review.Fabio Alessandrelli
2021-08-18[Net] Add state sync to replicator.Fabio Alessandrelli
Like the spawn/despawn feature, it can be completely overridden with 2 custom callables. The callables will be called with the list of tracked objects. In SERVER mode, objects are automatically tracked, while in CUSTOM mode you can manually track them via `track`/`untrack` (but that's optional). The default sync only happens from server to client, with batch updates, over unreliable channel (but with custom ordering). The default sync will warn you, if your state representation gets too big.
2021-08-18Merge pull request #51534 from Faless/mp/4.x_replicatorFabio Alessandrelli
[Net] MultiplayerReplicator with initial state.
2021-08-18Merge pull request #51832 from Faless/js/4.x_ci-2.0.27Rémi Verschelde
[CI] Upgrade Emscripten to 2.0.27.
2021-08-18[CI] Upgrade Emscripten to 2.0.27.Fabio Alessandrelli
Update Godot Javascript FS library to manually depend on ERRNO_CODES.
2021-08-18[Net] MultiplayerReplicator with initial state.Fabio Alessandrelli
Move the former "spawnables" functions to a dedicated MultiplayerReplicator class. Support custom overrides in replicator. Spawn/despawn messages can now contain a state. The state can be automatically encoded/decoded by passing the desired object properties to `spawnable_config`. You can use script properties to optimize the state representation. 2 Callables can be also specified to completely override the default implementation for sending and receiving the spawn/despawn event. (9 bytes overhead, and there's room for improvement here). When using a custom implementation `spawn` and `despawn` can be called with any Object, `send_spawn`/`send_despawn` can receive any Variant as a state, and the path is not required. Two new functions, `spawn` and `despawn`, convey the implementation independent method for requesting a spawn/despawn of an Object, while `send_spawn` and `send_despawn` represent the more low-level send event for a Variant to be used by the custom implementations.
2021-08-18Merge pull request #50752 from Phischermen/indeterminate_checkmark_apiRémi Verschelde
Added icons and API for indeterminate checkmarks for the Tree class.
2021-08-18Merge pull request #51787 from akien-mga/string-num-fix-default-decimalsRémi Verschelde
String: Fix default decimals truncation in num and num_real
2021-08-18Merge pull request #51820 from ↵Rémi Verschelde
TwistedTwigleg/skeleton_modifier_fabrik_2d_magnet_fix Fixed magnet vector not working correctly in SkeletonModification2DFABRIK
2021-08-18Merge pull request #51807 from vnen/extension-fixesRémi Verschelde
Some fixes for the extension API
2021-08-18Merge pull request #51827 from Calinou/visual-shader-fix-texture-uniform-iconsRémi Verschelde
Fix missing and incorrectly named visual shader texture uniform icons
2021-08-18Fix missing and incorrectly named visual shader texture uniform iconsHugo Locurcio
2021-08-17Properly set up virtual calls for extensionsGeorge Marques
2021-08-17Fixed magnet vector not working correctly in SkeletonModification2DFABRIKTwistedTwigleg
2021-08-18Merge pull request #51798 from nekomatata/fix-skeleton-child-bonesRémi Verschelde
2021-08-18Merge pull request #51812 from aaronfranke/test-variant-geomRémi Verschelde
Fixes to tests for Variant and Geometry3D
2021-08-18String: Fix default decimals truncation in num and num_realRémi Verschelde
Fixes undefined behavior, and fixes the logic for negative powers of ten. Fixes #51764. Adds tests to validate the changes and prevent regressions. Adds docs for `String.num`.
2021-08-17Fixes to tests for Variant and Geometry3DAaron Franke
2021-08-17A few fixes in the extension C APIGeorge Marques
- Add MethodBind call (besides ptrcall), since vararg methods don't work with ptrcall. - Fix argument name in register constant function to the way it actually is used in the engine. - Change the integer constant type to GDNativeInt to keep it consistent.
2021-08-17Initialize call error struct when calling extensionsGeorge Marques
This allows users to not need to set it when the call is correct.
2021-08-17Merge pull request #51768 from reduz/fixes-to-mobile-renderer-2Rémi Verschelde
Fixes to mobile renderer
2021-08-17Merge pull request #51729 from yjh0502/ext-reload-masterRémi Verschelde
Auto-reload scripts with external editor
2021-08-17Merge pull request #51775 from timothyqiu/disable-undo-redoRémi Verschelde
Improve Undo/Redo menu items
2021-08-17Fixes to mobile rendererreduz
* Make sure shaders are named, to aid in debug in case of failure * SceneRenderRD was being wrongly initialized (virtual functions being called when derivative class not initialized). * Fixed some bugs resulting on the above being corrected.
2021-08-17Merge pull request #51487 from nekomatata/fix-moving-platform-3d-snapCamille Mohr-Daurat
Fix 3D character snap on moving platforms
2021-08-17Fix Skeleton3D regression when bones are not sorted from root to leavesPouleyKetchoupp
Tentative fix for missing bones when bones are not sorted as expected. For example, if the root comes last, all child bones are removed and the skeleton ends up with just the root.
2021-08-17Merge pull request #51795 from BastiaanOlij/fix_create_deviceRémi Verschelde
Fix init code so it works properly on Vulkan 1.1 devices
2021-08-17Fix 3D character snap on moving platformsPouleyKetchoupp
Applying the platform velocity when leaving the platform floor should be done after snapping to keep things consistent, like it's done in 2D.
2021-08-17Merge pull request #51793 from KoBeWi/direnamRémi Verschelde
Fix renaming directories
2021-08-17Fix init code so it works properly on Vulkan 1.1 devicesBastiaan Olij
2021-08-17Merge pull request #51790 from Chaosus/fix_particle_uniformsYuri Roubinsky
Fix incorrect double types passing to particles shader pipeline
2021-08-17Improve Undo/Redo menu itemsHaoyu Qiu
* Make Undo/Redo menu items disabled when clicking it does nothing. * Context menu of `TextEdit` * Context menu of `LineEdit` * Editor's Scene menu * Script editor's Edit menu and context menu (for Script and Text) * Make editor undo/redo log messages translatable. * Mark `UndoRedo`'s `has_{un,re}do()` methods as `const`. * Expose `TextEdit`'s `has_{un,re}do()` to scripts since `{un,re}do()` are already available.
2021-08-17Auto-reload scripts with external editorJihyun Yu
2021-08-17Fix renaming directorieskobewi
2021-08-17Merge pull request #51758 from ThreeRhinosInAnElephantCostume/fix51725Rémi Verschelde
Fixed node not renaming when clicking elsewhere on the scene tree
2021-08-17Merge pull request #51761 from RevoluPowered/fix-undefined-behaviour-editor-gridRémi Verschelde
Fix editor grid perspective undefined behaviour
2021-08-17Merge pull request #51755 from jmb462/fix-carret-not-following-debuggerRémi Verschelde
Fix caret not following while debugging (Fix #51754)
2021-08-17Merge pull request #51762 from nekomatata/fix-crash-gdscript-cacheRémi Verschelde
Fix crash when failing to load script from cache
2021-08-17Merge pull request #50360 from m4gr3d/address_external_dir_access_masterRémi Verschelde
Add support for Android scoped storage
2021-08-17Merge pull request #51651 from pycbouh/editor-merge-custom-themeRémi Verschelde
Add support for partial custom editor themes
2021-08-17Merge pull request #51647 from pycbouh/editor-dont-use-invalid-styleboxesRémi Verschelde
Make sure stylebox is valid in `EditorSpinSlider` before using it
2021-08-17Merge pull request #51747 from ModProg/android-right-click-masterRémi Verschelde
[master] [android] Fixed wrong button mask for right click
2021-08-17Fix incorrect uniform buffer size for particlesYuri Roubinsky
2021-08-17Merge pull request #51742 from fabriceci/jitter-fix-and-cleaningRémi Verschelde
Correct jitter in move and slide 2D
2021-08-17Merge pull request #51760 from requizm/fix/deleteallselectionRémi Verschelde
Deletion occurs when all text is selected
2021-08-17Merge pull request #51781 from yjh0502/fix-window-notificationRémi Verschelde
Fix bug on window notification propagation
2021-08-17fixed the node not renaming when clicking elsewhere on the scene tree.developer
2021-08-16Add partial support for Android scoped storage.ne0fhyk
This is done by providing API access to app specific directories which don't have any limitations and allows us to bump the target sdk version to 30. In addition, we're also bumping the min sdk version to 19 as version 18 is no longer supported by Google Play Services and only account of 0.3% of Android devices.
2021-08-17fix bug on window notification propagationJihyun Yu
2021-08-17Fix editor grid perspective undefined behaviourGordon MacPherson
Initialise the enum value