clayjohn
8a7f02addb
Remove outdated warning when using screen texture in GL Compatibility renderer
2023-06-15 18:48:50 -07:00
Markus Sauermann
390aa2a565
Fix ButtonGroup unpressing
...
It was possible to unpress a button group that had `allow_unpress = false`
using shortcuts.
Adjust `BaseButton::shortcut_input` to use the same logic as
`BaseButton::on_action_event`.
2023-06-16 00:15:37 +02:00
Garym3
e5d55e35c2
Fix runtime crash due to missing importer's name conversion inside .import files about OGG vorbis sound files
2023-06-15 22:55:02 +02:00
clayjohn
96b2743782
Ensure filter/repeat is cached by Viewport texture in GL Compatibility renderer
2023-06-15 13:08:55 -07:00
clayjohn
3e211b7f74
Copy texture filter/repeat modes when replacing a texture in the GL Compatibility backend
2023-06-15 13:06:42 -07:00
Raul Santos
0b4ec4027c
Clamp PathFollow3D progress when not looping
2023-06-15 16:59:14 +02:00
Adam Scott
810806e6b5
Add note in `Callable` documentation about methods of native types
...
- Adds a workaround/code example too.
- Fixes #58912 (the issue itself is not a bug, but the solution was to add a documentation entry about the "issue")
2023-06-15 10:45:46 -04:00
smix8
1b506cd49c
Remove legacy navigation debug materials
...
Removes legacy navigation debug materials.
2023-06-15 16:33:55 +02:00
Danil Alexeev
eb391d3302
Display `BitField[Enum]` in docs to distinguish from `Enum`
2023-06-15 17:23:02 +03:00
Rémi Verschelde
c0d8d91b15
Merge pull request #78272 from dalexeev/fix-bsd-feature-tag
...
Fix `bsd` feature tag includes only "other BSDs"
2023-06-15 16:08:44 +02:00
Rémi Verschelde
a48285db7b
Merge pull request #78269 from Sauermann/fix-menubutton-popup-position
...
Fix position and size of MenuButton popup
2023-06-15 16:08:40 +02:00
Rémi Verschelde
491693e640
Merge pull request #77941 from br1trs/patch-1
...
doc: Update Tween cheatsheet URL
2023-06-15 16:08:35 +02:00
Rémi Verschelde
99068d48d4
Merge pull request #77920 from biswas08433/master
...
doc: Clarify description of `SceneTree.create_timer()`
2023-06-15 16:08:30 +02:00
Rémi Verschelde
95a9089fdd
Merge pull request #74813 from bruvzg/text_edit_autowrap
...
[TextEdit] Expose all auto-wrap modes.
2023-06-15 16:08:21 +02:00
Markus Sauermann
d41665eb5e
Fix position and size of MenuButton popup
...
Use the same logic as in OptionButton::show_popup
2023-06-15 15:29:50 +02:00
Rémi Verschelde
824820d73a
Merge pull request #78271 from akien-mga/minimp3-add-cpp-for-implementation
...
minimp3: Add a .cpp file to simplify building the single-header implementation
2023-06-15 15:27:28 +02:00
Rémi Verschelde
6587a81910
Merge pull request #78268 from Sauermann/fix-remove-unused-variable
...
Remove unused variable `PopupMenu::parent_rect`
2023-06-15 15:26:36 +02:00
Rémi Verschelde
7f5ef953b7
Merge pull request #78249 from RedworkDE/net-version-define
...
C#: Add version defines to help users deal with breaking changes
2023-06-15 15:26:31 +02:00
Rémi Verschelde
f9e0c64905
Merge pull request #78241 from bruvzg/rtl_mt_resize
...
[RTL] Fix multithreaded resizing.
2023-06-15 15:26:27 +02:00
Rémi Verschelde
58416245ce
Merge pull request #78218 from raulsntos/dotnet/reserved-assembly-name
...
C#: Avoid GodotSharp as project assembly name
2023-06-15 15:26:22 +02:00
Rémi Verschelde
49b774e009
Merge pull request #77324 from anvilfolk/oh-no-its-virtual
...
GDScript: add errors when calling unimplemented virtual functions
2023-06-15 15:26:18 +02:00
Rémi Verschelde
3b4504afea
Merge pull request #75944 from akien-mga/style-modules-includes
...
Style: Harmonize header includes in modules
2023-06-15 15:26:14 +02:00
Rémi Verschelde
12e8bc558d
Merge pull request #73203 from dalexeev/gds-fix-num-literal
...
GDScript: Fix repeated `_` are allowed after decimal point
2023-06-15 15:26:09 +02:00
Danil Alexeev
2d2b2cadfa
Fix `bsd` feature tag includes only "other BSDs"
2023-06-15 16:25:18 +03:00
biswas08433
bad7edd5a4
doc: Clarify description of `SceneTree.create_timer()`
...
Added the 'emit' and the 'signal' word to the 'create_timer()' method description, regarding timer behavior.
2023-06-15 15:17:31 +02:00
Rindbee
cbce374f68
Returns null and does not cache when the source code of the script fails to load
...
This usually means that an `ERR_FILE*` error occurred.
Previously, using `GDScriptCache::get_full_script()` would ignore errors during loading.
Now, all errors are not ignored.
Judging in which period the error occurred, it can be judged based on the return value:
1. null + err : Error during script loading (load_source_code()).
2. script + err: Error during script parsing.
2023-06-15 21:06:10 +08:00
Rémi Verschelde
25b2f1780a
Style: Harmonize header includes in modules
...
This applies our existing style guide, and adds a new rule to that style
guide for modular components such as platform ports and modules:
Includes from the platform port or module ("local" includes) should be listed
first in their own block using relative paths, before Godot's "core" includes
which use "absolute" (project folder relative) paths, and finally thirdparty
includes.
Includes in `#ifdef`s come after their relevant section, i.e. the overall
structure is:
- Local includes
* Conditional local includes
- Core includes
* Conditional core includes
- Thirdparty includes
* Conditional thirdparty includes
2023-06-15 14:35:45 +02:00
Rémi Verschelde
6fc0912137
minimp3: Add a .cpp file to simplify building the single-header implementation
...
Single-header libraries like this require passing a bunch of defines _once_
before including the header, but not multiple times. This can make it tricky
in user code to know when to request the implementation, if the header needs
to be included in multiple files.
So properly compiling a .cpp file for the implementation solves this, and
also enables us to properly disable warnings on thirdparty implementation code.
2023-06-15 13:50:27 +02:00
RedworkDE
1b466c6298
C#: Add version defines to help users deal with breaking changes
2023-06-15 13:18:04 +02:00
ocean (they/them)
861743cd04
GDScript: add errors when calling unimplemented virtual functions
...
This PR does a small refactor of how method flags are handled in the GDScript analyzer.
This way, it adds support for the analyzer to use any of MethodInfo's flags, where previously
it could only use METHOD_FLAG_STATIC and METHOD_FLAG_VARARG.
As a side-effect, this also normalizes behavior between editor and release templates, which fixes #76938 .
The tests added also brought a different issue to light, where using `super()` appears to generate a
return variable discarded on calling super's _init(), which doesn't have a return value. This should be
tackled in a different PR, which will have to change the output of this PR's tests.
2023-06-15 07:16:31 -04:00
Markus Sauermann
840e2b14f3
Remove unused variable `PopupMenu::parent_rect`
...
This private variable is not read anywhere.
Remove it and all places, where it is set.
2023-06-15 12:08:47 +02:00
Raul Santos
7a031be769
C#: Avoid GodotSharp as project assembly name
...
The name GodotSharp conflicts with the name of the Godot assembly,
this causes a cyclic dependency.
2023-06-15 11:43:35 +02:00
Rémi Verschelde
7734146060
Merge pull request #78256 from Calinou/animatedtexture-fix-property-hint
...
Fix outdated usage of `or_lesser` in AnimatedTexture property hint
2023-06-15 10:50:53 +02:00
Rémi Verschelde
9b3e31a297
Merge pull request #78255 from Calinou/pull-request-template-link-precommit-hooks
...
Link to Code style guidelines in the pull request template
2023-06-15 10:50:49 +02:00
Rémi Verschelde
41b34e3e56
Merge pull request #78240 from KoBeWi/nothing_valid_here,_keep_scrolling
...
Safe-guard against missing node arrays
2023-06-15 10:50:45 +02:00
Rémi Verschelde
fe1aa263ca
Merge pull request #78237 from dsnopek/webrtc-gdextension-create-data-channel
...
Directly expose `WebRTCPeerConnection::create_data_channel()` to GDExtension
2023-06-15 10:50:42 +02:00
Rémi Verschelde
81c3864306
Merge pull request #78235 from jpcerrone/fix_win_m_crashing_editor
...
Fix for Win+M crashing the editor
2023-06-15 10:50:38 +02:00
Rémi Verschelde
3dca469f8c
Merge pull request #78109 from heppocogne/support-relative-path
...
Add relative path support for `EditorPlugin::add_autoload_singleton`
2023-06-15 10:50:33 +02:00
Rémi Verschelde
8c5c29f2a3
Merge pull request #78061 from dsnopek/gdextension-class-not-exposed
...
Fix wrapping Object's in GDExtension that aren't exposed
2023-06-15 10:50:27 +02:00
Rémi Verschelde
2c22e56e37
Merge pull request #77992 from ajreckof/Prevent-unselectable-nodes-when-switching-filter-and-no-children-match-the-new-filter
...
Prevent unselectable nodes when switching filter and no children match the new filter.
2023-06-15 10:50:22 +02:00
Rémi Verschelde
0da20d019e
Merge pull request #77412 from smix8/fix_threaded_navmesh_baking_4.x
...
Fix for threaded NavigationMesh baking under new thread guards
2023-06-15 10:49:58 +02:00
Rémi Verschelde
3a319daa99
Merge pull request #77351 from anvilfolk/super-discard
...
GDScript: do not RETURN_VALUE_DISCARDED for `super()` inside `_init()`
2023-06-15 10:39:59 +02:00
Rémi Verschelde
b1d3070648
Merge pull request #77175 from smix8/region_refactor_4.x
...
Refactor NavigationRegion internals
2023-06-15 10:39:53 +02:00
Rémi Verschelde
2c51ecac5a
Merge pull request #76376 from ajreckof/fix_NodePath_update_from_batch_rename
...
Properly update nodepath with batch rename
2023-06-15 10:39:48 +02:00
Rémi Verschelde
0b30785bca
Merge pull request #75438 from ronyeh/typo
...
Fix typo on "autoremapping".
2023-06-15 10:39:44 +02:00
Rémi Verschelde
a6e79226c1
Merge pull request #74516 from RedworkDE/net-safe-project-name
...
C#: Unify project name handling and fix issues with the handling of some special characters
2023-06-15 10:39:36 +02:00
Rémi Verschelde
8c63a3732c
Merge pull request #73700 from Scony/add-more-initial-navi-tests
...
Add initial 'NavigationObstacle' and 'NavigationRegion' tests
2023-06-15 10:39:32 +02:00
Rémi Verschelde
48b282cfb0
Merge pull request #62958 from Calinou/doc-packedarray-use-types
...
Document initializing PackedVectorArray/PackedColorArray correctly
2023-06-15 10:39:28 +02:00
Rémi Verschelde
cec6ba77ae
Merge pull request #55627 from Calinou/vehiclebody3d-tweak-property-hints
...
Tweak VehicleBody3D and VehicleWheel3D property hints
2023-06-15 10:39:20 +02:00
smix8
4c970f1a67
Refactor NavigationRegion internals
...
Refactors NavigationRegion internals.
2023-06-15 09:52:14 +02:00