Ninni Pipping
96ad972dc5
[3.x] Clarify range of various ID values are 32 bit
2023-05-19 17:23:11 +02:00
Rémi Verschelde
1538b870f1
Merge pull request #76715 from m4gr3d/add_input_event_cancelled_state_3x
...
[3.x] Augment the `InputEvent` class with a `CANCELED` state
2023-05-17 18:21:42 +02:00
Rémi Verschelde
4cc2229a52
Merge pull request #72251 from RandomShaper/robust_sync_3.x
...
[3.x] Backport some multi-threading goodies
2023-05-16 13:16:25 +02:00
Fredia Huya-Kouadio
94d6c3dcc6
Augment the InputEvent
class with a CANCELED
state
...
The `InputEvent` class currently supports the `pressed` and `released` states, which given the binary nature, is represented by a `bool` field.
This commit introduced the `CANCELED` state, which signals that an ongoing input event has been canceled.
To represent all the states, the `InputEventState` enum is added and the `InputEvent` logic is refactored accordingly.
2023-05-12 15:22:54 -07:00
Hugo Locurcio
c65967c17f
Document 3D particle color properties requiring vertex color as albedo
2023-05-09 00:55:19 +02:00
Fredia Huya-Kouadio
f9ae38d87c
Merge pull request #73692 from m4gr3d/update_touchscreen_editor_settings_3x
...
[3.x] Enable granular control of touchscreen related settings
2023-05-08 09:10:36 -07:00
Fredia Huya-Kouadio
b78935ef51
Adds a scale_gizmo_handles
entry to the Touchscreen
editor settings
...
When enabled, this scales the editor icons to improve usability on touchscreen devices.
In addition this commit fixes touch detection for the collision_shape_2d_editor_plugin so it scales with the icons size.
2023-05-07 15:55:03 -07:00
Rémi Verschelde
83e91ab818
Merge pull request #76323 from aaronfranke/3.x-t2d-basis-det
...
[3.x] Expose `determinant` in Transform2D, rename internal method
2023-04-26 12:17:00 +02:00
Rémi Verschelde
15c729e1d9
Merge pull request #76321 from Calinou/doc-projectsettings-ubershader-3.x
...
Improve documentation related to ubershaders in ProjectSettings
2023-04-25 19:25:11 +02:00
Hugo Locurcio
d20305a718
Improve documentation related to ubershaders in ProjectSettings
2023-04-25 19:03:49 +02:00
Rémi Verschelde
bfb6877b3c
Merge pull request #75612 from lawnjelly/fix_skele2d_bounds2
...
[3.x] Fix Polygon2D skinned bounds (for culling)
2023-04-25 16:24:59 +02:00
Rémi Verschelde
31224276ee
Merge pull request #63193 from BimDav/visibility_enabler2
...
Add option in VisibilityEnabler2D to hide the parent for better performance
2023-04-25 16:24:54 +02:00
Aaron Franke
141783d90f
[3.x] Expose determinant
in Transform2D, rename internal method
2023-04-22 13:47:47 -05:00
Rémi Verschelde
78739f7266
Merge pull request #76016 from AThousandShips/image_compress
...
[3.x] Expose more compression formats in Image
2023-04-17 17:25:37 +02:00
Rémi Verschelde
4c5a934408
Merge pull request #68960 from lawnjelly/multirect
...
Batching - Add MultiRect command
2023-04-17 17:25:20 +02:00
Ninni Pipping
2ca86ef449
[3.x] Expose more compression formats in Image
2023-04-13 09:49:16 +02:00
lawnjelly
dd6c213dac
Fix Polygon2D skinned bounds (for culling)
...
The bound Rect2 was previously incorrect because bone transforms need to be applied to verts in bone space, rather than local space. This was previously resulting in skinned Polygon2Ds being incorrectly culled.
2023-04-12 10:17:02 +01:00
Rémi Verschelde
632a544c6e
Merge pull request #75527 from lawnjelly/growable_message_queue3
...
[3.x] Make MessageQueue growable
2023-04-11 22:01:32 +02:00
Rémi Verschelde
b14a759fb3
Merge pull request #75898 from YuriSizov/docs-make-rst-enhancements-3.x
...
Update `make_rst.py` to match the master version
2023-04-11 15:03:37 +02:00
Rémi Verschelde
0facd88410
Merge pull request #74973 from timothyqiu/a-color
...
[3.x] Add Color + alpha constructor for Color
2023-04-11 10:53:33 +02:00
Yuri Sizov
0f24d6ecf7
Update make_rst.py to match the master version
...
This does not include master-specific concepts, like
constructors, operators, annotations, and bitfields.
2023-04-10 20:47:01 +02:00
Fredia Huya-Kouadio
61e41facc7
Enable granular control of touchscreen related settings
2023-04-05 10:11:53 -07:00
lawnjelly
5f1e7e6fbc
Make MessageQueue growable
...
* Uses simple vector resizing (po2)
* Uses pair of read and write buffers
2023-03-31 10:07:56 +01:00
Haoyu Qiu
3544cd1dad
Add Color + alpha constructor for Color
2023-03-16 14:51:40 +08:00
kobewi
fdae01de10
Add set_value_no_signal() to Range
2023-03-13 16:36:18 +00:00
lawnjelly
910ddd13c4
Batching - Add MultiRect command
...
Large groups of similar rects can be processed more efficiently using the MultiRect command. Processing common to the group can be done as a one off, instead of per rect.
Adds the new API to VisualServerCanvas, and uses the new functionality from Font, BitmapFont, DynamicFont and TileMap, via the VisualServerCanvasHelper class.
2023-03-10 10:58:04 +00:00
Hugo Locurcio
a836b6bc88
Mention String.match()
is also called "glob"/"globbing"
...
This is mostly for Ctrl + F purposes, in case someone is looking
how to perform globbing on a string.
(cherry picked from commit 64906bd1f7
)
2023-03-06 13:05:17 +01:00
Rémi Verschelde
0cee4a85f5
Merge pull request #74284 from Calinou/doc-shell-open-uri-encode-3.x
...
Document using `String.percent_encode()` with `OS.shell_open()` (3.x)
2023-03-06 12:38:04 +01:00
Hugo Locurcio
1a6343729b
Document using String.percent_encode()
with OS.shell_open()
2023-03-03 11:17:21 +01:00
Ninni Pipping
8185fa8e2a
[3.x] Backport Tree::set_selected
...
Backport function from godotengine#68448
Co-authored-by: bruvzg <7645683+bruvzg@users.noreply.github.com>
2023-02-27 20:26:15 +01:00
Pedro J. Estébanez
32a9227f5b
Robustify multi-threading primitives
2023-02-17 19:16:10 +01:00
Rémi Verschelde
8adf26540c
Merge pull request #69200 from tbveralrud/ios-touch-leak-fix-3.x
...
iOS: Fix memory leak on touch input [3.x]
2023-02-17 12:15:00 +01:00
Travis Veralrud
28b11a0785
iOS: Fix memory leak on touch input
...
Replaces iOS gesture with touch implementation
Fixes #66422
Remove godot_view_gesture_recognizer
It's now unused.
Remove input_devices/pointing/ios/touch_delay
Unused with removal of gesture.
Remove unused methods from interface
Implementation made obsolete in prior commit
Style conformance
2023-02-15 21:38:55 -08:00
Aaron Franke
1949b7c652
[3.x] Improve the clarity of Viewport's documentation
2023-02-13 16:23:07 -06:00
Rémi Verschelde
fb846d3522
Merge pull request #71425 from Calinou/spinbox-add-independent-arrow-step-3.x
...
Add independent spinbox arrow step precision
2023-02-01 13:05:43 +01:00
Fredia Huya-Kouadio
aed400cce2
Merge pull request #71654 from m4gr3d/increase_scroll_bar_size_for_touchscreen_3x
...
[3.x] Update the size of the scrollbar for the editor on touchscreen devices
2023-01-31 21:52:03 -08:00
lawnjelly
5a0cb54b3a
Improve error messages and classref for occluders and portals
...
Misused functions would previously produce no error messages which was confusing for users.
2023-01-24 14:05:48 +00:00
Rémi Verschelde
ae47e1d37c
Merge pull request #71889 from Calinou/doc-environment-background-energy
...
Document Environment's `background_energy` property affecting lighting
2023-01-23 17:04:25 +01:00
Rémi Verschelde
dd7f517407
Merge pull request #66711 from rsubtil/port_popup_menu_rework
...
[3.x] PopupMenu rework and enhancements
2023-01-23 17:04:17 +01:00
Hugo Locurcio
646a2d9d94
Document Environment's background_energy
property affecting lighting
...
Godot 4.0 allows controlling ambient and specular light intensity
separately, but 3.x doesn't.
2023-01-23 00:43:59 +01:00
Fredia Huya-Kouadio
8170b7ae1e
Add a theme usability setting which updates the touch area of UI elements (e.g: scrollbar) for the editor on touchscreen devices
2023-01-22 07:09:48 -08:00
EricEzaM
6a5992c9f1
PopupMenu rework and enhancements
...
Many scrolling behaviour improvements and the ability to limit popup size.
2023-01-21 21:36:26 +00:00
Rémi Verschelde
f747967444
i18n: Sync classref translations with Weblate (3.5 branch)
...
(cherry picked from commit c9ae52f32e
)
2023-01-20 12:31:09 +01:00
Hugo Locurcio
04225415c3
Document image size restrictions for custom mouse cursors in HTML5
...
(cherry picked from commit 296b8f299a
)
2023-01-20 12:15:07 +01:00
Rémi Verschelde
161134e969
Merge pull request #71672 from RandomShaper/compat_hooks_3.x
...
[3.x] Let make_rst.py be forward compatible with 4.0's
2023-01-20 12:12:58 +01:00
Rémi Verschelde
f3da393b44
Merge pull request #70378 from Calinou/os-expose-read-from-stdin-3.x
...
Expose `OS.read_string_from_stdin()` to the scripting API (3.x)
2023-01-20 12:12:35 +01:00
Pedro J. Estébanez
373e545f55
Let make_rst.py be forward compatible with 4.0's
2023-01-19 13:34:21 +01:00
Rémi Verschelde
d4f66544ce
Merge pull request #71146 from dalexeev/3.x-fix-sprite-frames-doc
...
[3.x] Fix wrong `SpriteFrames` docs
2023-01-16 22:22:02 +01:00
Hugo Locurcio
badcfa2523
Expose OS.read_string_from_stdin()
to the scripting API
...
This can be used in scripts to read user input in a blocking manner.
This also removes the unused `block` argument, which is always `true`.
2023-01-16 11:39:53 +01:00
Jóhannes Gunnar Þorsteinsson
e09d4d255e
Add independent spinbox arrow step precision
...
Backported from the `master` branch, with a property hint added.
2023-01-14 20:14:17 +01:00