Jcrespo
528a76486c
Add inverse hyperbolic functions asinh()
, acosh()
& atanh()
...
GDScript has the following built-in trigonometry functions:
- `sin()`
- `cos()`
- `tan()`
- `asin()`
- `acos()`
- `atan()`
- `atan()`
- `sinh()`
- `cosh()`
- `tanh()`
However, it lacks the hyperbolic arc (also known as inverse
hyperbolic) functions:
- `asinh()`
- `acosh()`
- `atanh()`
Implement them by just exposing the C++ Math library, but clamping
its values to the closest real defined value.
For the cosine, clamp input values lower than 1 to 1.
In the case of the tangent, where the limit value is infinite,
clamp it to -inf or +inf.
References #78377
Fixes godotengine/godot-proposals#7110
2023-09-01 01:27:56 +02:00
Rémi Verschelde
549fcce5f8
Merge pull request #81175 from raulsntos/dotnet/project_settings_changed
...
C#: Replace usage of deprecated `project_settings_changed` signal
2023-08-31 08:56:55 +02:00
Rémi Verschelde
59f3ab0c0d
Merge pull request #81157 from azuloo/webrtcpeerconnection-typo-fix
...
Fix typo in WebRTCPeerConnection documentation
2023-08-31 08:56:27 +02:00
Rémi Verschelde
56a5fb26a0
Merge pull request #81156 from jsjtxietian/fix-crash-when-built-in-scripts-not-saved-and-have-error
...
Fix a crash when built-in script is not saved and have syntax error
2023-08-31 08:56:04 +02:00
Rémi Verschelde
46ff9aa2ca
Merge pull request #81144 from anvilfolk/incremental-option
...
SCons: Add option for MSVC incremental linking.
2023-08-31 08:55:41 +02:00
Rémi Verschelde
98f6844554
Merge pull request #81136 from Faless/mp/replication_mode
...
[MP] Improve SceneReplicationConfig editor UX + optimizations
2023-08-31 08:55:17 +02:00
Rémi Verschelde
1594acc64e
Merge pull request #81073 from raulsntos/dotnet/cached-string-names
...
C#: Replace `StringNameCache` with `SNAME`
2023-08-31 08:54:53 +02:00
Rémi Verschelde
ae7bab8c37
Merge pull request #81040 from Ymanawat/control-theme-80989
...
Fix setting TabContainer's `font_hovered_color` theme property
2023-08-31 08:54:29 +02:00
Rémi Verschelde
59de8f913d
Merge pull request #80976 from Calinou/editor-unsaved-changes-display-last-save-time
...
Display time of last save in the unsaved changes confirmation editor dialog
2023-08-31 08:54:05 +02:00
Rémi Verschelde
aa9f3583e8
Merge pull request #80933 from ChibiDenDen/clear_color_mobile_fix
...
Fix clear color on mobile renderer
2023-08-31 08:53:41 +02:00
Rémi Verschelde
79e87eee1d
Merge pull request #80354 from RedworkDE/ci-compat-multi
...
CI: Compare API compatibility against both 4.0 and 4.1
2023-08-31 08:53:11 +02:00
Hugo Locurcio
3ba031602b
Display time of last save in the unsaved changes confirmation editor dialog
...
When multitasking, this makes it clearer whether closing a window with unsaved
changes is potentially dangerous or not.
2023-08-31 00:47:11 +02:00
RedworkDE
b83dff752c
CI: Compare API compatibility against both 4.0 and 4.1
2023-08-30 23:33:09 +02:00
Raul Santos
cde9dc6c3c
C#: Replace usage of deprecated project_settings_changed
signal
...
Replace usage of `EditorPlugin::project_settings_changed` signal with `ProjectSettings::settings_changed`.
2023-08-30 19:45:41 +02:00
Yogendra Manawat
d7bf05b490
Fix TabContainer's font_hovered_color theme property
2023-08-30 21:25:41 +05:30
Fabio Alessandrelli
c1c6911b5c
[MP] Improve ReplicationEditor UX
...
Use an option button for the replication mode making sync and watch (now
"Always" and "On Change") mutually exclusive.
2023-08-30 15:37:42 +02:00
Fabio Alessandrelli
711e96edc4
[MP] Make replication mode an enum + optimizations
...
REPLICATION_MODE_ALWAYS (sync) and REPLICATION_MODE_ON_CHANGE (watch)
are now mutually exclusive.
Prevent invalid NodePath from being added to the config.
Optimize the replication config loading by composing the lists on
demand.
2023-08-30 15:00:39 +02:00
azuloo
7ab0582625
Fix typo in WebRTCPeerConnection documentation
2023-08-30 14:02:33 +03:00
Rémi Verschelde
bc88dca176
Merge pull request #81155 from garychia/separator_priority
...
ItemList: Draw separators before selected style boxes
2023-08-30 12:16:29 +02:00
Rémi Verschelde
56b13b6865
Merge pull request #81001 from RandomShaper/win_safe_save
...
Make Windows' safe save more resilient
2023-08-30 12:16:06 +02:00
Rémi Verschelde
a0d12cf93f
Merge pull request #65558 from the-sink/replication-editor
...
Allow enter key to add properties to replication editor list
2023-08-30 12:15:38 +02:00
jsjtxietian
cfd7dfd985
Fix a crash when built-in script is not saved and have syntax error
...
When built-in script is not saved, it has empty path, and origin
code assumes error with empty path is a depended_error but that's
not always the case.
Also add protection before access list index 0.
2023-08-30 17:45:58 +08:00
Chia-Hsiang Cheng
749db00227
Draw separators before selected style boxes
2023-08-30 16:32:58 +08:00
Rémi Verschelde
f7c48cf803
Merge pull request #81128 from KoBeWi/devourer_of_input_meets_destroyer_of_focus
...
Unfocus LineEdit when pressing Escape
2023-08-30 08:47:26 +02:00
Rémi Verschelde
d222194d0d
Merge pull request #81110 from akien-mga/freetype-2.13.2
...
FreeType: Update to version 2.13.2
2023-08-30 08:47:02 +02:00
Rémi Verschelde
3f7c1bccef
Merge pull request #81103 from bruvzg/svg_em
...
[TextServer] Fix SVG emoji placement.
2023-08-30 08:46:39 +02:00
Rémi Verschelde
d4465dbef4
Merge pull request #81084 from MewPurPur/improve-line2d-docs
...
Improve Line2D documentation
2023-08-30 08:46:15 +02:00
Rémi Verschelde
0a349d54fd
Merge pull request #80440 from the-sink/folder-colors
...
Add custom color support to project folders
2023-08-30 08:45:51 +02:00
Rémi Verschelde
fc0b3f7021
Merge pull request #80320 from Sauermann/fix-remove-invalidation-function
...
Remove `CanvasItem::_invalidate_global_transform`
2023-08-30 08:45:27 +02:00
Rémi Verschelde
34a4885579
Merge pull request #79570 from BastiaanOlij/new_pico_interactions
...
Change to new PICO interaction profiles
2023-08-30 08:45:04 +02:00
Rémi Verschelde
8edc0b43b9
Merge pull request #78634 from Sauermann/fix-notification-order
...
Fix `Object::notification` order
2023-08-30 08:44:36 +02:00
the-sink
8f80ebc035
Allow enter key to add properties to replication editor list
2023-08-29 19:29:01 -07:00
Bastiaan Olij
3a89bb388d
Change to new PICO interaction profiles
2023-08-30 10:25:35 +10:00
ocean (they/them)
bbafe14970
Build system: add option for MSVC incremental linking.
2023-08-29 18:53:45 -04:00
Markus Sauermann
7f317ef1bf
Remove CanvasItem::_invalidate_global_transform
...
The only use of that function can be replaced by `_notify_transform`,
which makes the `propagate_call` unnecessary.
As far as I can tell, the `data.blocked`-checks of `propagate_call`
are not needed in this case, because `_invalidate_global_transform`
causes no user-noticeable changes.
2023-08-30 00:29:42 +02:00
Markus Sauermann
c4705a590b
Fix Object::notification order
...
Previously the `p_reversed` parameter didn't influence the order
in a correct way.
Also script overridden _notification functions were not called in
the correct order.
To fix this some `notification` functions had to add a `p_reversed`
parameter.
This made it necessary to adjust cpp-bindings.
Co-authored-by: David Snopek <dsnopek@gmail.com>
2023-08-30 00:15:55 +02:00
ChibiDenDen
df25e87842
fix clear color on mobile renderer
2023-08-30 00:57:59 +03:00
Rémi Verschelde
d2f76e8786
Merge pull request #81137 from KoBeWi/gradiEND
...
Fix consistency of GradientTexture changes
2023-08-29 23:03:43 +02:00
Rémi Verschelde
a6d31141be
Merge pull request #81134 from BlueCube3310/Dds-lum-revert
...
Fix grayscale DDS loading
2023-08-29 23:03:17 +02:00
the-sink
95b0f28255
Add custom color support to project folders
2023-08-29 12:13:53 -07:00
kobewi
9f9210e60c
Fix consistency of GradientTexture changes
2023-08-29 20:28:39 +02:00
BlueCube3310
cbbcaa31d5
Fix grayscale dds loading
2023-08-29 19:24:22 +02:00
Rémi Verschelde
cfe9cd5cae
Merge pull request #81126 from clayjohn/revert-dds-runtime
...
Revert "Implement loading DDS textures at run-time"
2023-08-29 18:42:56 +02:00
Rémi Verschelde
1f66a9f729
Merge pull request #81132 from AcatXIo/raycast-grammar
...
Grammatical improvements for the RayCast 2D and 3D class references.
2023-08-29 17:30:56 +02:00
Rémi Verschelde
d7ceb7f1dc
Merge pull request #81129 from KoBeWi/debug_bug
...
Remove debug print
2023-08-29 17:30:32 +02:00
Rémi Verschelde
da12106112
Merge pull request #80852 from dsnopek/extension-api-exclude-unexposed
...
Exclude unexposed classes from the extension_api.json
2023-08-29 17:30:04 +02:00
AcatXIo
45aa5bfe3c
Grammatical improvements for the RayCast 2D and 3D class references.
2023-08-29 16:33:45 +02:00
David Snopek
39a604c9ab
Exclude unexposed classes from the extension_api.json
2023-08-29 08:45:58 -05:00
kobewi
5b95935e18
Remove debug print
2023-08-29 15:34:24 +02:00
Rémi Verschelde
922689c801
Merge pull request #81127 from KoBeWi/errors_begone
...
Prevent errors if Tween callback's object is freed
2023-08-29 15:07:35 +02:00