Commit Graph

49676 Commits

Author SHA1 Message Date
ba4bd7f009 Merge pull request #69961 from lawnjelly/variant_parser_optional_readahead
VariantParser make readahead optional
2022-12-12 17:30:16 +01:00
8ab653c7ea Merge pull request #69966 from bruvzg/ios_fix_single_line_input_and_offsets
[iOS] Fix broken single line input and incorrect selection / caret position.
2022-12-12 17:30:11 +01:00
757c7d348d Merge pull request #69956 from oOjor-elOo/patch-1
Windows: Validate that the font family name exists before trying to get the font family
2022-12-12 17:30:03 +01:00
13eb0a6592 [iOS] Fix broken single line input and incorrect selection / caret position. 2022-12-12 18:16:10 +02:00
491594ef0f VariantParser make readahead optional
It turns out some areas are independently moving / reading filepointers outside of the VariantParser, which can cause the readahead caching to get out of sync.

This PR makes the VariantParser readahead to be optional to allow for these use cases.
2022-12-12 15:14:39 +00:00
2507ee5ca4 Windows: Validate that the font family name exists before trying to get the font family
I didn't have the first emoji font installed, which led an an exception when calling font_collection->GetFontFamily() no the new rows.
2022-12-12 15:44:54 +01:00
bc5d67c613 Merge pull request #69954 from akien-mga/sync-gamecontrollerdb
Sync controller mappings DB with SDL2 community repo
2022-12-12 13:51:58 +01:00
ec8f52df8f Merge pull request #69629 from smix8/agent_wild_callback_pointer_4.x
Fix Navigation agent callback wild pointer crash
2022-12-12 13:51:48 +01:00
92dfa7901b Merge pull request #61855 from Calinou/popup-centered-minsize-fix-freeze
Fix infinite loop when calling `Control.popup_centered_minsize()`
2022-12-12 13:51:37 +01:00
5f35b1d516 Sync controller mappings DB with SDL2 community repo
Synced with gabomdq/SDL_GameControllerDB@adf7ec1edf
2022-12-12 13:43:15 +01:00
194c1c44e0 Fix Navigation agent callback wild pointer crash
Fixes crash in sanitizer builds when callback agent or object are already freed.
2022-12-12 13:03:55 +01:00
e2a37295f5 Merge pull request #69291 from nongvantinh/fix-suggest-message
Fix Sprite drag and drop hint mentions invalid option with root node selected
2022-12-12 12:19:37 +01:00
53060e8ced Merge pull request #69950 from kleonc/tile-map-const-refs-for-the-win
`TileMap` Pass some parameters by `const &` instead of by value
2022-12-12 11:52:55 +01:00
f79c034713 Merge pull request #69635 from BastiaanOlij/fix_get_buffer
Fix barrier on buffer_get_data
2022-12-12 11:44:29 +01:00
f1edd03d4c Merge pull request #69718 from groud/finally_rename_gdnative_to_gdextension
Rename all gdnative occurences to gdextension
2022-12-12 11:43:59 +01:00
a900383e57 Merge pull request #67038 from Calinou/xdg-paths-linux-only
Only support XDG directory path configuration on Linux
2022-12-12 11:43:48 +01:00
6799d000b1 Only support XDG directory path configuration on Linux
XDG support breaks when running Windows builds via WINE.

Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
2022-12-12 11:43:16 +01:00
f5d14f874a Merge pull request #69300 from timothyqiu/tile-set-atlas-source
Improve TileSetAtlasSourceEditor UI
2022-12-12 11:41:59 +01:00
52a0bba833 Merge pull request #69922 from adamscott/fix-tilemap-tileset-heap-use-after-free
Fix `heap-use-after-free` error in `TileMap::~TileMap()`
2022-12-12 11:41:49 +01:00
9562cfbf4b Merge pull request #69947 from Sauermann/fix-request-gizmo-strings
Use _request_gizmo from SceneStringNames
2022-12-12 11:41:36 +01:00
ba3a2adb90 Merge pull request #67050 from KoBeWi/syrt
Warn if isometric TileMap is not Y-sorted
2022-12-12 11:40:54 +01:00
71398ae22a TileMap Pass some parameters by const & instead of by value 2022-12-12 11:33:42 +01:00
be1c9d677d Rename all gdnative occurences to gdextension
Non-exhaustive list of case-sensitive renames:

GDExtension -> GDNative
GDNATIVE -> GDEXTENSION
gdextension -> gdnative
ExtensionExtension ->Extension (for where there was GDNativeExtension)
EXTENSION_EXTENSION ->EXTENSION (for where there was GDNATIVE_EXTENSION)
gdnlib -> gdextension
gdn_interface -> gde_interface
gdni -> gde_interface
2022-12-12 11:04:57 +01:00
e7fb2f0294 Fix heap-use-after-free error in TileMap::~TileMap()
Co-authored-by: Gilles Roudiere <gilles.roudiere@gmail.com>
2022-12-12 04:52:00 -05:00
9a8d53d54b Use _request_gizmo from SceneStringNames 2022-12-12 10:12:40 +01:00
97df6de4a7 Merge pull request #69901 from akien-mga/gles3-fix-scene-shader-omni-spot
OpenGL: Fix scene shader error when using Omni or Spot but not both
2022-12-12 08:27:41 +01:00
c0e05e834a Merge pull request #69714 from flatline-84/editor_scene_post_import_doc_example
updated example documentation for EditorScenePostImport
2022-12-12 08:27:36 +01:00
333504453c Merge pull request #69925 from aaronfranke/gltf-export-pref-state
Pass GLTFState to the export_preflight method
2022-12-12 08:25:42 +01:00
47507a07fd Merge pull request #68546 from marzecdawid/fix-deselect-all-in_tree
Fix errors while deselecting all tree items; issue #65185
2022-12-12 08:25:20 +01:00
bd78d464e6 updated example documentation for EditorScenePostImport 2022-12-12 16:06:35 +11:00
1bfaa73e14 Merge pull request #69416 from anvilfolk/default-val
Add GDScript implicit type conversion for member variables with initializers
2022-12-11 23:58:22 +01:00
0580790140 Merge pull request #69933 from neikeq/issue-69822
C#: Fix exported properties of GodotObject[] type
2022-12-11 22:56:05 +01:00
9afcc364cb Merge pull request #69932 from TokageItLab/animtrack-seek-order
Fix seeking process order to retrieve key correctly for AnimationTrack
2022-12-11 22:55:46 +01:00
c8293a73b4 Add GDScript member initializer implicit type conversion 2022-12-11 16:55:02 -05:00
51f2d7b59f Merge pull request #69869 from raulsntos/dotnet/attributes
C#: Expose attribute properties and add documentation
2022-12-11 22:40:35 +01:00
5e227bfc98 Merge pull request #69924 from aaronfranke/ed-cd-class-virtual
Check if class exists before checking if it's virtual in Create New Node dialog
2022-12-11 22:35:21 +01:00
71eccdff8b Merge pull request #69894 from evan-gordon/text-server-uppercase-fix
check for empty string TextServer _string_to_upper
2022-12-11 22:34:42 +01:00
8410e7c9c6 Merge pull request #66733 from MewPurPur/unary-op-warnings
Fix unary op warnings never showing
2022-12-11 22:33:58 +01:00
5c6c766732 C#: Fix exported properties of GodotObject[] type
This was a regression from 17b2838f39.
`MarshalUtils` was changed in the source generators to use
`ConvertTo<T>` and `CreateFrom<T>`, which don't support `GodotObject[]`
because it would need reflection.
As such, we need to keep the custom cases for `GodotObject[]` in
`MarshalUtils`.
2022-12-11 22:29:31 +01:00
af7595a9fb Fix seeking process order to retrieve key correctly for AnimationTrack 2022-12-12 06:27:26 +09:00
88015b0edb check for empty string TextServer _string_to_upper 2022-12-11 12:01:54 -08:00
f83f13f3a2 Pass GLTFState to the export_preflight method 2022-12-11 13:22:25 -06:00
137508dfc8 Check if class exists before checking if it's virtual in Create Dialog 2022-12-11 13:12:59 -06:00
05097ded0a Merge pull request #69897 from poohcom1/fix/function-return-completion
Fix autocomplete on functions returning variants
2022-12-11 15:18:24 +01:00
185219de4a Merge pull request #69907 from rune-scape/sub-script
Fix subscript of preloaded script
2022-12-11 15:18:18 +01:00
c00b9e5b34 Merge pull request #69905 from Chaosus/rd_dynamic_state_flag
Changed `RD::PipelineDynamicStateFlags` type to enum flags
2022-12-11 15:18:14 +01:00
a1687b1447 Merge pull request #69730 from Calinou/gitignore-fix-theora-x86
Fix libtheora source code being mistakenly `.gitignore`d
2022-12-11 15:18:08 +01:00
1a8785f75d Merge pull request #69559 from timothyqiu/unique-call
Add note about `GROUP_CALL_UNIQUE` not considering arguments
2022-12-11 15:17:58 +01:00
98e1a2031d Fix subscript of preloaded script 2022-12-11 07:59:43 -05:00
6e48db69a3 Changed RD::PipelineDynamicStateFlags type to enum flags 2022-12-11 15:37:35 +03:00