Commit Graph

10731 Commits

Author SHA1 Message Date
Ricardo Buring 7c4c4b9987 Move Godot Physics 2D into a module; add dummy 2D physics server
If the module is enabled (default), 2D physics works as it did before.

If the module is disabled and no other 2D physics server is registered
(via a module or GDExtension), then we fall back to a dummy
implementation which effectively disables 2D physics functionality (and
a warning is printed).

The dummy 2D physics server can also be selected explicitly, in which
case no warning is printed.
2024-09-23 17:33:45 +02:00
Rémi Verschelde 2017006879
Merge pull request #97314 from tetrapod00/visual-shader-remap
Visual Shader: Add vector operations to Remap node
2024-09-23 16:14:04 +02:00
Rémi Verschelde 2c1b8dda74
Merge pull request #97284 from timothyqiu/optimized-translation-gen
Document that `OptimizedTranslation.generate()` only works in editor
2024-09-23 16:14:00 +02:00
Rémi Verschelde f97defb375
Merge pull request #97223 from AdriaandeJongh/clarify-canvasitem-visility-changed
Docs: Clarify `CanvasItem` visibility properties and signals
2024-09-23 16:13:53 +02:00
Rémi Verschelde 8c273eb14c
Merge pull request #90955 from AThousandShips/print_to_stdout
[Core] Add `Engine.print_to_stdout` setting to control printing
2024-09-23 16:13:41 +02:00
Rémi Verschelde d5aadc38b4
Merge pull request #97337 from Ivorforce/patch-1
In make_rst.py, include the parent class in 'Inherits:' even if it is not known.
2024-09-23 12:34:19 +02:00
Rémi Verschelde 9c9e704a2b
Merge pull request #97286 from Rynzier/master
Clarify PCK path argument in `PCKPacker.pck_start`
2024-09-23 12:28:14 +02:00
Rémi Verschelde ec4bd1e062
Merge pull request #97274 from Giganzo/button-pressed-doc
Clarify docs for when toggling `button_pressed` emits `toggled`
2024-09-23 12:28:10 +02:00
Rémi Verschelde dd71bc2d3b
Merge pull request #95252 from rburing/3d_physics_module
Move Godot Physics 3D into a module; add dummy 3D physics server
2024-09-23 12:27:55 +02:00
Rémi Verschelde 510bc3dc6a
Merge pull request #90969 from Naros/expose-resource-and-saver-methods
Expose several resource/resource-saver functions
2024-09-23 12:27:40 +02:00
Rémi Verschelde 720c236fc0
Merge pull request #90743 from timothyqiu/empty-selection-clipboard
Add TextEdit option to prevent copying without a selection
2024-09-23 12:27:35 +02:00
Adriaan de Jongh 330f91d32b clarify CanvasItem's visible property, and its visibility_changed and hidden signals 2024-09-23 12:11:38 +02:00
Rynzier 7b7164c80c
Clarify PCK path argument in `PCKPacker.pck_start`
Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
2024-09-23 09:42:13 +02:00
Giganzo 388869574c
Clarify docs for when toggling `button_pressed` emits `toggled` 2024-09-23 09:32:02 +02:00
Chris Cranford bc3dcf3d40 Expose several resource/resource-saver functions 2024-09-22 15:27:13 -04:00
Lukas Tenbrink 21fb753bbd
Fix a typo in make_rst.py (Packedfloat64Array -> PackedFloat64Array) 2024-09-22 21:09:08 +02:00
Lukas Tenbrink 50ad99bdc0
In make_rst.py, include the parent class in 'Inherits:' even if it is not known. 2024-09-22 20:56:20 +02:00
tetrapod00 eb5a9c3b33 Visual Shader: Add vector operations to Remap node 2024-09-22 11:25:36 -07:00
A Thousand Ships d49ec39d63
[Core] Add `Engine.print_to_stout` setting to control printing
Also added notes to the related project settings pointing to the
`Engine` properties.
2024-09-22 12:09:01 +02:00
Ricardo Buring 0333648cea Move Godot Physics 3D into a module; add dummy 3D physics server
If the module is enabled (default), 3D physics works as it did before.

If the module is disabled and no other 3D physics server is registered
(via a module or GDExtension), then we fall back to a dummy
implementation which effectively disables 3D physics functionality (and
a warning is printed).

The dummy 3D physics server can also be selected explicitly, in which
case no warning is printed.
2024-09-21 21:19:45 +02:00
Haoyu Qiu b7416bf693 Document `OptimizedTranslation.generate()` only works in editor 2024-09-21 23:20:05 +08:00
Rémi Verschelde d39f53439f
Merge pull request #96982 from dsnopek/external-texture
Add external texture support (GLES3)
2024-09-21 11:50:35 +02:00
Rémi Verschelde b271a88a9e
Merge pull request #96871 from KoBeWi/borrow_container
Add `SCROLL_MODE_RESERVE` to ScrollContainer
2024-09-21 11:50:31 +02:00
David Snopek 1a6f8512bc Add external texture support (GLES3)
Co-authored-by: Fredia Huya-Kouadio <fhuyakou@gmail.com>
Co-authored-by: Mauricio Narvaez <nvz@meta.com>
2024-09-20 10:48:32 -05:00
A Thousand Ships 203d3be200
[Core] Add way to check if a signal has any connections
Added to `Object` and `Signal`
2024-09-20 16:39:09 +02:00
Rémi Verschelde 2be730a05b
Merge pull request #97231 from timothyqiu/missing-period
Add missing period for sentences in classref
2024-09-20 16:26:35 +02:00
Rémi Verschelde 77f779d326
Merge pull request #97167 from MewPurPur/reveal-undoredo
Expose `has_undo()` and `has_redo()` of LineEdit
2024-09-20 16:26:32 +02:00
Rémi Verschelde 2834342a78
Merge pull request #97203 from ev13bird/docs_inspector_plugin_typo
Fix minor typo in EditorPlugin `remove_inspector_plugin`
2024-09-20 16:06:52 +02:00
Rémi Verschelde 93150ffab8
Merge pull request #97202 from jirisvd/fix-typo
Fix typo in CompositorEffect documentation
2024-09-20 16:06:49 +02:00
Rémi Verschelde 7ce8e4fd6b
Merge pull request #97159 from noidexe/Expose-viewport-get-audio-listener
Expose Viewport methods to get current 2D/3D audio listener
2024-09-20 16:06:39 +02:00
Rémi Verschelde c2564f42aa
Merge pull request #97142 from SheepYhangCN/master
Fallback to OpenGL 3 if other rendering drivers are not supported
2024-09-20 16:06:35 +02:00
Rémi Verschelde 330cb45c5a
Merge pull request #96981 from ItzCog/patch-1
Change "deconstructor" to "destructor"
2024-09-20 16:06:31 +02:00
Rémi Verschelde 7e62565f1e
Merge pull request #95787 from timothyqiu/domestic
Add translation domain
2024-09-20 16:06:23 +02:00
Rémi Verschelde 6bf8a3e3f8
Merge pull request #95449 from SlashScreen/array_functions
Add callable support for `find` and `rfind` `Array` methods
2024-09-20 16:06:13 +02:00
Dungeon Master d33f4820cd
Change "deconstructor" to "destructor" in `NOTIFICATION_PREDELETE` docs 2024-09-20 15:49:03 +02:00
Haoyu Qiu 9e1121a18c Add missing period for sentences in classref 2024-09-20 19:33:32 +08:00
SheepYhangCN 3b839347df Added fallback_to_opengl3 2024-09-20 06:10:05 +08:00
Lisandro Lorea bdcee836ad Expose Viewport::get_audio_listener_2d and Viewport::get_audio_listener_3d to scripting
Document exposed methods

Apply suggestions from code review

Co-authored-by: Micky <66727710+Mickeon@users.noreply.github.com>

Document default behavior when no audio listeners are active
2024-09-19 18:43:33 -03:00
Jiří Švejda c4bea28e17 Fix typo in CompositorEffect documentation 2024-09-19 22:26:23 +02:00
ev13bird e2b25cfc0d Fix minor typo in EditorPlugin remove_inspector_plugin 2024-09-20 06:17:15 +10:00
Rémi Verschelde 575c3212c5
Merge pull request #96954 from HolonProduction/highlighter-duplicate-docs
Docs: Add warning about sharing a syntax highlighter to `TextEdit`
2024-09-19 17:13:30 +02:00
Rémi Verschelde b1b4c5da4b
Merge pull request #96928 from dsnopek/rename-and-expose-texture-create-external
Expose a function to create textures from a native handle in the compatibility renderer
2024-09-19 17:13:27 +02:00
HolonProduction 30ad025f8d
Docs: Add warning about sharing a syntax highlighter to `TextEdit` 2024-09-19 17:07:04 +02:00
David Snopek 7d56b09f23 Expose a function to create textures from a native handle in the compatibility renderer 2024-09-19 09:05:32 -05:00
MewPurPur f7a7ecc10a Expose has_undo() and has_redo() of LineEdit 2024-09-19 13:18:04 +03:00
Rémi Verschelde 694d3c2930
Merge pull request #97141 from timothyqiu/character-breaks
Fix typo in `string_get_character_breaks()` sample code
2024-09-18 17:41:12 +02:00
Rémi Verschelde a80e57c663
Merge pull request #97004 from Giganzo/file_dialog_size
Fix FileDialog default size
2024-09-18 17:41:03 +02:00
Rémi Verschelde 57c868483a
Merge pull request #90703 from ZerxZ/core/classdb_get_api_type
Expose `ClassDB.class_get_api_type()` method
2024-09-18 17:40:39 +02:00
深淵の鴿子 949d24b388
Expose ClassDB::class_get_api_type method 2024-09-18 15:45:21 +01:00
Haoyu Qiu 354b58fae4 Fix typo in `string_get_character_breaks()` sample code 2024-09-18 19:14:32 +08:00