Commit graph

65088 commits

Author SHA1 Message Date
Ibrahn Sahir
607c5ec49f Move MIDI parsing up from ALSA driver to platform independent driver.
Aims for more consistent MIDI support across Windows, MacOS, Linux and
to provide a base for adding MIDI drivers for other platforms.
Reworks the MIDIDriverALSAMidi MIDI parsing implementation as a platform
independent version in MIDIDriver::Parser.
Uses MIDIDriver::Parser to provide running status support in MacOS
MIDIDriverCoreMidi.
Collects connected input names at open, ensuring devices indices reported
in events match names in array returned from get_connected_inputs.

Fixes #77035.
Fixes #79811.

With code review changes by: A Thousand Ships (she/her)
<96648715+AThousandShips@users.noreply.github.com>
2024-06-25 16:46:30 +01:00
Rémi Verschelde
6b281c0c07
Merge pull request #93563 from mihe/nothreads-feature
Add `nothreads` feature tag to signify lack of `THREADS_ENABLED`
2024-06-25 10:08:33 +02:00
Rémi Verschelde
5d089e1a8e
Merge pull request #93518 from bruvzg/imp_fix
[Editor] Fix importers add-ons after 93238
2024-06-25 10:02:05 +02:00
Rémi Verschelde
b7ba0b84ff
Merge pull request #93511 from Repiteo/style/relocate-pretty-print
Style: Relocate `godot_gdb_pretty_print.py`
2024-06-25 10:02:02 +02:00
Rémi Verschelde
9334068e58
Merge pull request #93507 from passivestar/bus-v-space
Add vertical separation to audio bus
2024-06-25 10:01:58 +02:00
Rémi Verschelde
9de37ab680
Merge pull request #93505 from TokageItLab/disable-cache-when-adding-animation
Make AnimationTrackCaches invalid when animation is added
2024-06-25 10:01:54 +02:00
Rémi Verschelde
b071472fa2
Merge pull request #93502 from TokageItLab/optimize-modifier-flag
Optimize update flag by SkeletonModifier
2024-06-25 10:01:50 +02:00
Rémi Verschelde
2e8ebb4a5e
Merge pull request #93469 from Chaosus/shader_fix_crash
Fix crash on shader constant initialization on MinGW compiler
2024-06-25 10:01:46 +02:00
Rémi Verschelde
b9038501db
Merge pull request #90582 from Repiteo/core/remove-macro-_NO_DISCARD_
Core: Replace `_NO_DISCARD_` macro with `[[nodiscard]]`
2024-06-25 10:01:39 +02:00
Rémi Verschelde
dc4085060b
Merge pull request #93558 from kitbdev/fix-exit-plugin-crash
Fix crash on exit with shader editor
2024-06-25 09:25:57 +02:00
Rémi Verschelde
066555fced
Merge pull request #93581 from Calinou/editor-particles-restart-fix-shortcut
Add comment for editor particles Restart Emission shortcut not using Cmd on macOS
2024-06-25 09:20:09 +02:00
Rémi Verschelde
30ae23c086
Merge pull request #93562 from Calinou/doc-input-echo-keyword
Add "repeat" keyword alias for InputEvent "echo" in the class reference
2024-06-25 09:20:04 +02:00
Rémi Verschelde
1a0190270f
Merge pull request #93560 from dsnopek/webxr-emscripten-3151
[Web] Fix checking for OpenGL extensions with Emscripten 3.1.51 and later
2024-06-25 09:20:01 +02:00
Rémi Verschelde
fb8a1f143a
Merge pull request #93530 from BastiaanOlij/fix_opengl_post
Fix incorrect enabling of post process in OpenGL
2024-06-25 09:19:57 +02:00
Rémi Verschelde
f597f24a07
Merge pull request #93521 from nblackburn/popupmenu-pot-gen
Include "PopupMenu" labels in POT gen
2024-06-25 09:19:53 +02:00
Rémi Verschelde
c4660105b7
Merge pull request #93499 from Meorge/fix_audiostreamwav_docs
Change "sample" to "stream" in AudioStreamWAV documentation
2024-06-25 09:19:50 +02:00
Rémi Verschelde
c24f2f1c0c
Merge pull request #93489 from dsnopek/web-disable-getprocaddress
Disable `*glGetProcAddress()` on the web
2024-06-25 09:19:46 +02:00
Rémi Verschelde
cc625a168d
Merge pull request #93358 from Chaosus/shader_forbid_derivative_usage
Forbid calling of derivative functions in incorrect functions
2024-06-25 09:19:42 +02:00
Rémi Verschelde
b63df071bd
Merge pull request #92514 from /addWordSeparators 2024-06-25 09:19:35 +02:00
Hugo Locurcio
555f0aa2f7
Add comment for editor particles Restart Emission shortcut not using Cmd on macOS
This is done to avoid a conflict, but it's not obvious when looking
at the code.
2024-06-25 02:22:00 +02:00
David Snopek
51f9df0ec8 [Web] Fix checking for OpenGL extensions with Emscripten 3.1.51 and later 2024-06-24 14:41:51 -05:00
Volkan Gezer
e60678f193 enable custom separators to treat different characters as words 2024-06-24 20:43:13 +02:00
Mikael Hermansson
53d3d66f9f Add nothreads feature tag to signify lack of THREADS_ENABLED 2024-06-24 19:52:21 +02:00
Hugo Locurcio
4097cfa17b
Add "repeat" keyword alias for InputEvent "echo" in the class reference
"echo" is an uncommon term and the action is most commonly referred
to as a "repeated" key press.

This also improves the documentation related to echo behavior.
2024-06-24 19:23:18 +02:00
David Snopek
8e242fe7c1 Disable *glGetProcAddress() on the web 2024-06-24 10:57:22 -05:00
kit
da55b6a01c Fix crash on exit with shader editor 2024-06-24 11:56:46 -04:00
Rémi Verschelde
25ff1306d6
Merge pull request #93554 from akien-mga/remove-editor-pseudolocalization
Remove editor pseudolocalization debug feature
2024-06-24 17:49:13 +02:00
Rémi Verschelde
2ac72b7402
Merge pull request #93551 from m4gr3d/show_android_custom_template_by_default
Android: Revert hiding of custom templates under the `Advanced Options` toggle
2024-06-24 17:49:10 +02:00
Rémi Verschelde
ed3eb6b643
Merge pull request #93544 from passivestar/validation-panel-label-alignment
Center the label of EditorValidationPanel
2024-06-24 17:49:07 +02:00
Rémi Verschelde
882489d15c
Merge pull request #93543 from anniryynanen/scene-tree-reselect
Fix reselecting scene tree node after inspecting a resource
2024-06-24 17:49:04 +02:00
Rémi Verschelde
f99c7e97b7
Merge pull request #93536 from BastiaanOlij/fix_make_vrs_ci
XR: Check for bad input in `make_vrs_texture`
2024-06-24 17:49:01 +02:00
Rémi Verschelde
2542a07e70
Merge pull request #93523 from KoBeWi/a_feature_nobody_wanted_and_also_nobody_needed
Add brief description tooltips to EditorResourcePicker
2024-06-24 17:48:58 +02:00
Rémi Verschelde
398d1d4ef9
Merge pull request #93520 from passivestar/main-screen-button-mirror
Add missing RTL styles for MainScreenButton
2024-06-24 17:48:55 +02:00
Rémi Verschelde
c5260fb375
Merge pull request #93497 from Meorge/fix_wav_import_loop_samples_docs
Fix incorrect text in ResourceImporterWAV description
2024-06-24 17:48:51 +02:00
Rémi Verschelde
f3195bfcee
Merge pull request #93491 from patwork/fix-type-limits-windows-utils
Fix type-limits warning in `windows_utils`
2024-06-24 17:48:49 +02:00
Malcolm Anderson
13f7f41575
Fix incorrect text in ResourceImporterWAV description
The descriptions for the edit/loop_begin and edit/loop_end members now
correctly state that the units are samples, rather than seconds.
2024-06-24 17:46:58 +02:00
Bastiaan Olij
a660c592c9
XR: Check for bad input in make_vrs_texture 2024-06-24 17:45:27 +02:00
Rémi Verschelde
f11e8d033d
Remove editor pseudolocalization debug feature
We've seen multiple users enable it by mistake and get utterly confused,
reporting as a bug that the interface text is garbled.

On the other hand we haven't really seen much use of the feature by editor
UI developers, so we can likely simply remove it.

If there's a need eventually, we can re-add it as a command line option
(which is also better than an editor setting as one would typically want
to toggle it during development).
2024-06-24 17:08:26 +02:00
Fredia Huya-Kouadio
9e9ffdd1bb Revert hiding of custom templates under the Advanced Options toggle 2024-06-24 06:14:27 -07:00
kobewi
40be5c4681 Add brief description tooltips to EditorResourcePicker 2024-06-24 15:08:59 +02:00
passivestar
4374761f76 Center the label of EditorValidationPanel 2024-06-24 15:22:02 +04:00
Rémi Verschelde
e78dc83ee8
Merge pull request #93540 from RandomShaper/res_load_uncached
`ResourceLoader`: Fix handling of uncached loads
2024-06-24 13:20:24 +02:00
Anni Ryynänen
eed6f4fef4
Fix reselecting scene tree node after inspecting a resource
This broke when the `node_selected` connection was removed in #91435.
Here it's returned, but the emit is removed from `_node_removed`. That
preserves the earlier fix while allowing nodes to be reselected.
2024-06-24 13:17:45 +03:00
Pedro J. Estébanez
884d1da938 ResourceLoader: Fix handling of uncached loads
- `CACHE_MODE_IGNORE_DEEP` is checked in addition to `CACHE_MODE_IGNORE` to determine if a load is uncached. This avoids crashes in uncached loads due to prematurely freed load tasks.
- Cached load tasks are isolated (not registered in the task map ever). This avoids regular loads from reusing in-flight cached loads, which is not correct.
2024-06-24 11:25:57 +02:00
Rémi Verschelde
6649a84f62
Merge pull request #93494 from brno32/fix-headless-error
Add stub method for `mouse_get_position` in headless display server
2024-06-24 11:14:32 +02:00
Rémi Verschelde
d7855a00b0
Merge pull request #93485 from smix8/leftover_from_hangover
Remove unused navigation polygon properties
2024-06-24 11:14:28 +02:00
Rémi Verschelde
1abca34813
Merge pull request #93475 from KoBeWi/unified_timeline
Store TileMapLayer selection in scene's history
2024-06-24 11:14:25 +02:00
Rémi Verschelde
c48c085260
Merge pull request #93471 from sertonix/patch-1
Remove private glslang include
2024-06-24 11:14:21 +02:00
Rémi Verschelde
1cc83ad622
Merge pull request #93468 from AThousandShips/contributing_improve
Change suggestion in `CONTRIBUTING.md` to avoid spam
2024-06-24 11:14:17 +02:00
Rémi Verschelde
d4d123c8a1
Merge pull request #93435 from passivestar/themable-inspector
Make inspector spacing more themable
2024-06-24 11:14:14 +02:00