Commit Graph

37558 Commits

Author SHA1 Message Date
Fabio Alessandrelli 246334b836 [HTML5] Refactor audio drivers. Implement AudioWorklet w/o threads.
Performances are not great in general, bad on Firefox, on Chrome, well,
it could be an improvement. Leave it as a fallback for now, but can be
forced via project settings if desired (or custom JavaScript logic via
the "args" option).

I'm actually surprised this works, it involves so many allocations, but
there's no way around it when SharedArrayBuffer is not available :(.
2021-09-15 20:48:49 +02:00
Fabio Alessandrelli e902347a8c
Merge pull request #52695 from Faless/js/4.x_audio_mix_rate
[HTML5] Use browser mix rate by default on the Web.
2021-09-15 20:33:42 +02:00
Rémi Verschelde a2b727ed38
Merge pull request #52344 from TechnoPorg/import-assets-first 2021-09-15 20:10:57 +02:00
Rémi Verschelde f61edebd92
Merge pull request #52272 from aaronfranke/regex 2021-09-15 20:09:32 +02:00
Aaron Franke 4fc639916c
Allow disabling the RegEx module in the editor 2021-09-15 12:08:53 -05:00
Rémi Verschelde 520462e98c
Merge pull request #52709 from Chaosus/vs_fix_add_node 2021-09-15 18:37:59 +02:00
Rémi Verschelde 77e8e2f9f5
Merge pull request #52370 from bruvzg/realloc_paren_stack 2021-09-15 18:11:16 +02:00
Yuri Roubinsky c6d5c98c71 Fix pressing `Add Node` button in visual shader editor 2021-09-15 19:01:02 +03:00
Rémi Verschelde f77b1f4002
Merge pull request #52352 from williamd67/open-help-editor-at-correct-position 2021-09-15 17:56:29 +02:00
Rémi Verschelde a4187c9235
Merge pull request #52706 from vnen/gdscript-ternary-operator-crash
GDScript: Show error when missing expression after ternary else
2021-09-15 17:20:52 +02:00
Rémi Verschelde ed11d03b56
Merge pull request #52705 from vnen/gdscript-error-unary-no-arg
GDScript: Show error on unary operators without argument
2021-09-15 16:43:38 +02:00
George Marques 107af38fd1
GDScript: Show error when missing expression after ternary else 2021-09-15 11:43:36 -03:00
George Marques a5c299630d
Merge pull request #50456 from Blackiris/fix-extends-parent-relative
Fix extends with relative path to parent script
2021-09-15 11:12:24 -03:00
George Marques d49046938a
GDScript: Show error on unary operators without argument 2021-09-15 11:08:59 -03:00
George Marques 5a612d61b9
Merge pull request #49765 from Blackiris/fix-assignment-with-operator-on-type-member
Fix assignment with operator on type member
2021-09-15 10:56:20 -03:00
Rémi Verschelde c23823ac54
Merge pull request #52582 from jmb462/Prevent-non-explicit-inferring-parameter-from-null 2021-09-15 15:50:42 +02:00
Rémi Verschelde b22b6ea808
Merge pull request #52527 from m4gr3d/add_pad_support_master
Add support for Android Play Asset Delivery
2021-09-15 15:33:16 +02:00
Rémi Verschelde 500f83e79a
Merge pull request #52702 from vnen/gdscript-lua-dict-string-key 2021-09-15 15:24:47 +02:00
ne0fhyk 5bbfe0b5a8 Add support for Play Asset Delivery.
This only adds support for a subset of Play Asset Delivery: this causes a single install-time asset pack to always be present, but doesn't add support for dynamically downloaded asset packs.
2021-09-15 06:06:11 -07:00
George Marques 5d31ce4b16
GDScript: Allow string keys on Lua-style dictionaries
Which is useful when the key isn't a valid identifier, such as keys with
spaces or numeric keys.
2021-09-15 09:56:24 -03:00
Rémi Verschelde 32f8f74d83
Merge pull request #48029 from Calinou/gdscript-add-integration-tests
Add dozens of new integration tests to the GDScript test suite
2021-09-15 14:00:41 +02:00
Rémi Verschelde d169087b67
Merge pull request #52317 from Calinou/2d-skeleton-editor-tweak-terms 2021-09-15 13:27:31 +02:00
Rémi Verschelde ed9fd36276
Merge pull request #52672 from KoBeWi/GraphError
Fix error when moving graph node
2021-09-15 13:22:54 +02:00
Rémi Verschelde 0a8e137c61
Merge pull request #52313 from groud/cache_tree_item_size 2021-09-15 13:21:56 +02:00
Rémi Verschelde fbef32ab46
Merge pull request #52693 from akien-mga/fixup-inputmap-macos-override
InputMap: Fixup `macos` feature tag overrides after #52291
2021-09-15 13:20:40 +02:00
Rémi Verschelde eb1262f6ea
Merge pull request #52308 from rxlecky/parallax-layer-position-reset-fix-issue-51914
Fix ParallaxLayer's transform resetting in editor
2021-09-15 13:16:56 +02:00
Rémi Verschelde 13eff7de69
Merge pull request #52273 from aaronfranke/gltf-renames 2021-09-15 13:10:24 +02:00
Rémi Verschelde a3d1bc757d
Merge pull request #32068 from aaronfranke/transform-editor
Reformat Transform(2D) matrix display in the inspector
2021-09-15 13:06:25 +02:00
Rémi Verschelde f18a6f2fd0
Merge pull request #52696 from Faless/js/4.x_worklet_rb_bug 2021-09-15 12:54:51 +02:00
Rémi Verschelde 13d2928490
Merge pull request #52282 from Calinou/scons-improve-linuxbsd-build-messages
Improve messages when compiling for Linux/*BSD
2021-09-15 12:50:39 +02:00
Fabio Alessandrelli ba08f39e47 [HTML5] Fix bug in AudioWorklet when reading output buffer.
Would attempt an out of bounds read, causing an exception.
2021-09-15 11:58:52 +02:00
Fabio Alessandrelli d187bb4e11 [HTML5] Use browser mix rate by default on the Web.
Browsers doesn't really like forcing the mix rate, e.g. Firefox does not
allow input (microphone) if the mix rate is not the default one, Chrom*
will exhibit worse performances, etc.
2021-09-15 11:56:21 +02:00
Rémi Verschelde 07a58230ea
InputMap: Fixup `macos` feature tag overrides after #52291
Fixes #52691.
2021-09-15 11:48:54 +02:00
Rémi Verschelde 17a7ac08ad
Merge pull request #42099 from jak6jak/test-fix
Single window mode is not lost after starting a project from the project manager
2021-09-15 11:35:18 +02:00
Rémi Verschelde f2c44949c0
Merge pull request #38107 from EspeuteClement/master 2021-09-15 11:33:34 +02:00
Rémi Verschelde 3b0c195ecd
Merge pull request #52688 from akien-mga/textserver-build-no-freetype
TextServer: Fix build with freetype disabled
2021-09-15 11:33:20 +02:00
Rémi Verschelde aff0521d3f
Merge pull request #51800 from KoBeWi/command_museum
Sort palette commands by last use
2021-09-15 10:51:44 +02:00
Rémi Verschelde c2083160b1
Merge pull request #41036 from nathanfranke/default-2d-editor
Make default main screen plugin work even if 2D and 3D are disabled in editor features
2021-09-15 10:50:43 +02:00
Jacob Edie 2b292a1a2a
--single-window is passed through project manager.
This means you can start godot with --single-window
2021-09-15 10:20:50 +02:00
Rémi Verschelde 453aff4902
TextServer: Fix build with freetype disabled
Also remove RTR calls as we don't translate internal error messages.
2021-09-15 10:11:31 +02:00
Espeute Clement aa72af4f46
Fixed Animation Playback Track not seeking properly
Fixes #38093.
2021-09-15 10:02:11 +02:00
Gilles Roudière 173c0f8737
Merge pull request #52622 from rileylyman/tilemap-crash
Break TileMap _clear_internals out from _recreate_internals
2021-09-15 09:39:36 +02:00
Rémi Verschelde 3705ad7d8f
Merge pull request #52123 from lightspot21/fix-placement-new-warning
Silence false-positive warning for malformed placement new on GCC 11.1
2021-09-15 09:31:42 +02:00
Rémi Verschelde 0e7beb183a
Merge pull request #52562 from BastiaanOlij/gd_extensions_register_drivers
Add driver types to GD extension initialisation levels
2021-09-15 08:46:43 +02:00
Rémi Verschelde 1201ba6649
Merge pull request #52291 from Calinou/inputmap-rename-osx-macos
Rename `osx` to `macos` in input map feature tag handling
2021-09-15 08:45:46 +02:00
Rémi Verschelde 52d7f4bfe0
Merge pull request #50737 from Calinou/linuxbsd-reenable-pie
Re-enable building position-independent executables on Linux/*BSD
2021-09-15 08:41:24 +02:00
Rémi Verschelde 5139f18be4
Merge pull request #52685 from lentsius-bark/node3d-scaling-fix
Fix scale sensitivity for 3D objects
2021-09-15 08:01:20 +02:00
Riley Lyman dfcf4491d6 Break TileMap _clear_internals out from _recreate_internals 2021-09-14 20:45:10 -07:00
Camille Mohr-Daurat f9c6dc1d9d
Merge pull request #50404 from nekomatata/clean-convex-hull-decomposition
Clean convex hull decomposition code
2021-09-14 18:51:03 -07:00
Hugo Locurcio 9b1986fb9c
Rename `osx` to `macos` in input map feature tag handling
This follows the general feature tag rename for 4.0.
2021-09-15 03:12:18 +02:00