Hugo Locurcio
1c343cd54d
Expose Color's to_linear()
and to_srgb()
to scripting
2022-03-28 12:17:55 +02:00
Rémi Verschelde
00e9170812
Merge pull request #59574 from Sauermann/proposal-rename-warp-mouse
...
Rename warp mouse functions to warp_mouse
2022-03-28 08:52:02 +02:00
Fabio Alessandrelli
4a95408dd4
[Net] Change HTTPRequest timeout type to double.
...
For consistency with the Timer class and general time representation
inside the engine.
2022-03-27 18:15:56 +02:00
Karmavil
aef97305db
Add descriptions to operators
2022-03-27 12:13:56 -03:00
reduz
360dea5348
Add GDExtension support to Script
...
* Ability to create script languages from GDExtension
* Some additions to gdnative_extension.h to make this happen
* Moved the GDExtension binder to core
This now allows creating scripting languages from GDExtension, with the same ease as if it was a module. It replaces the old PluginScript from Godot 3.x.
Warning: GodotCPP will need to be updated to support this (it may be a bit of work as ScriptInstance needs to be created over there again).
2022-03-27 16:13:00 +02:00
Markus Sauermann
0494e024d8
Rename warp mouse functions to warp_mouse
2022-03-27 14:12:01 +02:00
Rémi Verschelde
f0407ad14d
Merge pull request #59336 from YeldhamDev/where_we_dropping_boys
2022-03-26 23:30:07 +01:00
Rémi Verschelde
5371009d8e
Object: Remove unused category boilerplate
...
We might want to re-add something like this if/when we find a good use case
for it and do the effort to categorize all objects in the API properly.
Until then, it's better to remove that boilerplate since it's not needed.
Closes #18711 .
2022-03-26 15:46:01 +01:00
Rémi Verschelde
e7fd0ec31f
doc: Fix String.rsplit code example
...
Fixes #36898 .
Supersedes and closes #36951 .
2022-03-26 15:05:05 +01:00
FireForge
bb7e6e9951
Rename "ss_reflections_" to "ssr_" in Environment
2022-03-25 14:37:01 -05:00
Hugo Locurcio
7d8b344f01
Increase the maximum number of concurrent DNS queries from 32 to 256
...
This makes the following error message less likely to be printed
when performing many concurrent HTTP requests:
Condition ' resolving == IP::RESOLVER_INVALID_ID ' is true. returned: ERR_BUG
2022-03-23 18:18:23 +01:00
Haoyu Qiu
405bc96a1e
Document how to specify explicit value for PROPERTY_HINT_ENUM
names
2022-03-23 17:05:49 +08:00
Rémi Verschelde
9162f27836
Merge pull request #59314 from reduz/add-static-methods-to-classdb
2022-03-22 19:22:46 +01:00
reduz
2f651277da
Add static method support to ClassDB
...
* Based on the work done for Variant in the past.
* Added `ClassDB::bind_static_method`
* Cleaned up ClassDB::bind_method to use variadic templates.
This adds support for having static methods in Object derived classes.
Note that this does not make it work yet in GDScript or Mono and, while it works for GDExtension, GodotCPP needs to be updated.
2022-03-22 16:27:34 +01:00
kobewi
3eb7fc4bfd
Add optional 'default' argument to get_meta()
2022-03-22 15:50:47 +01:00
Rémi Verschelde
4c55a6529a
Merge pull request #59354 from Chaosus/astar3d
2022-03-22 13:15:21 +01:00
Rémi Verschelde
7538ad81ac
Merge pull request #59410 from bruvzg/mac_menu_features
2022-03-22 12:58:29 +01:00
Rémi Verschelde
2a116f601b
Merge pull request #59275 from bruvzg/ft_brotli
2022-03-22 12:47:00 +01:00
bruvzg
595995a5a7
[macOS] Add missing global menu features.
2022-03-22 12:38:14 +02:00
Michael Alexsander
94b8f38de2
Add visual marker when dragging and dropping tabs
2022-03-21 22:16:29 -03:00
zacryol
21fc3cbe81
update _init() description
...
Specify details regarding required parameters.
2022-03-21 09:13:32 -06:00
Rémi Verschelde
16e96e52d3
Merge pull request #59352 from winterpixelgames/notify-local-transform-constant
2022-03-21 12:26:26 +01:00
Haoyu Qiu
6bf01e0567
Mention default output node name for AnimationNodeBlendTree
2022-03-21 18:02:40 +08:00
Max Hilbrunner
aa8ff21b2a
Merge pull request #59142 from Calinou/doc-multiplayerpeerextension
...
Document the MultiplayerPeerExtension class
2022-03-21 00:54:10 +01:00
Jason Knight
640099cce5
Bind NOTIFICATION_LOCAL_TRANFORM_CHANGED
2022-03-20 11:34:01 -06:00
Yuri Roubinsky
7913e04950
Rename AStar
to AStar3D
2022-03-20 17:34:40 +03:00
BARTEK-PC\Bartek
4972f1b864
Expose navigable layers for NavigationAgent2D/3D
2022-03-20 15:04:56 +01:00
Rémi Verschelde
cb51df3286
Merge pull request #59343 from madmiraal/fix-57943
...
Ensure minimum modifiers are pressed when matching actions
2022-03-20 11:26:05 +01:00
Marcel Admiraal
ea20049afc
Ensure minimum modifiers are pressed when matching actions
2022-03-20 08:02:54 +00:00
kobewi
342dac77d4
Hide text and icon properties in OptionButton
2022-03-19 13:36:10 +01:00
Rémi Verschelde
288cdca71d
Merge pull request #59290 from rburing/get_process_info_docs
...
PhysicsServer3D docs: sync phrasing of get_process_info with 2D docs
2022-03-19 08:30:44 +01:00
Ricardo Buring
a1d4f8d389
PhysicsServer3D docs: sync phrasing of get_process_info with 2D docs
2022-03-18 19:53:14 +01:00
Rémi Verschelde
9c231c2c1a
Merge pull request #59254 from Calinou/doc-node-owner
...
Mention that Node's `owner` must be set for persistence to work
2022-03-18 19:24:07 +01:00
Hugo Locurcio
be1acf3b92
Mention that Node's owner
must be set for persistence to work
...
This is already done in `Node.add_child()` documentation, but
this copies the note in `Node.owner` for good measure.
2022-03-18 18:12:44 +01:00
Rémi Verschelde
19950076b1
Merge pull request #58394 from bruvzg/rtl_hint
2022-03-18 14:49:13 +01:00
Rémi Verschelde
5c8bd6fd71
Merge pull request #58233 from bruvzg/gde_ts
2022-03-18 14:29:58 +01:00
bruvzg
e07a8f0aa6
Add brotli decoder and WOFF2 support.
2022-03-18 15:09:38 +02:00
Rémi Verschelde
acc9b5b390
Merge pull request #55399 from RPicster/particlesmaterial-sphere-emittershape
...
ParticleMaterial: Sphere emission shape emitting from the volume.
2022-03-18 08:21:59 +01:00
Rémi Verschelde
5d23613836
Merge pull request #49738 from Calinou/ssao-gi-default-half-resolution
...
Compute SSAO at half resolution by default
2022-03-18 07:14:23 +01:00
Rémi Verschelde
756178d342
Merge pull request #59087 from clayjohn/sky-mode
...
Replace DirectionalLight3D's `use_in_sky_only` with `sky_mode` enum
2022-03-18 00:09:35 +01:00
Michael Alexsander
deb1342036
Make TabBar/Container
default their alignments to the left instead of center
2022-03-17 18:12:23 -03:00
Hugo Locurcio
c45d2c242b
Replace DirectionalLight3D's use_in_sky_only
with sky_mode
enum
...
3 options are available:
- Light and Sky (default)
- Light Only (new)
- Sky Only (equivalent to `use_in_sky_only = true`)
Co-authored by: clayjohn <claynjohn@gmail.com>
2022-03-17 14:00:02 -07:00
Rémi Verschelde
c6c6d58c71
i18n: Sync classref translations with Weblate
...
(cherry picked from commit 009b286e31
)
2022-03-17 19:53:31 +01:00
Rémi Verschelde
8ed8a7a22b
doc: Sync missing Color value update after #59229
...
Missed in CI as the Mono build where this is checked is temporarily disabled.
2022-03-17 19:53:10 +01:00
Rémi Verschelde
bc576af969
Merge pull request #57675 from TokageItLab/fix-blending
2022-03-17 10:49:34 +01:00
bruvzg
f19cd44346
Unify TextServer built-in module and GDExtension code.
2022-03-17 08:15:29 +02:00
Haoyu Qiu
a635ecf6d4
Add item tooltip access to OptionButton
2022-03-17 13:50:16 +08:00
qhdtlr
2832b55b23
Document the MultiplayerPeerExtension class
2022-03-16 23:36:41 +01:00
Rémi Verschelde
c9d764e14a
Merge pull request #59140 from reduz/physics-server-extension
2022-03-16 17:11:40 +01:00
bruvzg
98d0af7d5c
Implement GDExtension export plugin.
2022-03-16 11:16:19 +02:00
Silc 'Tokage' Renew
b06d253920
Fix blend animation to solve TRS track bug & blend order inconsistency
2022-03-16 05:11:55 +09:00
reduz
8b547331be
Create GDExtension clases for PhysicsServer3D
...
* Allows creating a GDExtension based 3D Physics Server (for Bullet, PhysX, etc. support)
* Some changes on native struct binding for PhysicsServer
This allows a 3D Physics server created entirely from GDExtension. Once it works, the idea is to port the 2D one to it.
2022-03-15 18:39:31 +01:00
Rémi Verschelde
e255a10682
Merge pull request #59143 from Calinou/doc-range-value-changed
2022-03-15 08:40:29 +01:00
Hugo Locurcio
cdbb31adc9
Document Range's value_changed
signal is also emitted with code changes
...
This also mentions that the signal is potentially emitted every frame,
which can have performance implications.
2022-03-14 21:32:23 +01:00
Yuri Roubinsky
32f2c47356
Remove generating of null comparison operators from documentation
2022-03-14 22:35:23 +03:00
Rémi Verschelde
95b6c6cf9a
Merge pull request #58693 from Calinou/doc-physics-shapes
2022-03-14 15:08:58 +01:00
Max Hilbrunner
43120c2e2d
Merge pull request #59086 from Calinou/doc-nodepath-stringname
...
Improve documentation for NodePath and StringName
2022-03-14 14:14:58 +01:00
Rémi Verschelde
b7bc8dbebe
Merge pull request #57392 from madmiraal/implement-3888
2022-03-14 08:31:58 +01:00
kobewi
3c53752b4a
Cleanup embed subwindows getters
2022-03-13 18:20:53 +01:00
Rémi Verschelde
47c35f5b96
Merge pull request #59108 from KoBeWi/somewhere_on_the_screen
2022-03-13 18:10:33 +01:00
Rémi Verschelde
972bca75a8
Merge pull request #59107 from otonashixav/expose-add-animation-slice
2022-03-13 17:18:42 +01:00
kobewi
bcf13dc175
Expose methods for screen-space transforms
2022-03-13 16:05:08 +01:00
Xavier Loh
a0e720efb2
Expose RenderingServer::canvas_item_add_animation_slice
in GDScript
2022-03-13 22:53:24 +08:00
Hugo Locurcio
51896c4682
Improve documentation for NodePath and StringName
...
- Update the NodePath shorthand prefix for `master`.
- Document the StringName construction shorthand (`&"example"`).
- Cross-link between NodePath and StringName, as these are related
concepts.
2022-03-13 01:04:51 +01:00
Rémi Verschelde
6721290831
Merge pull request #58018 from Calinou/procedural-sky-add-cover-texture
...
Add sky cover texture for ProceduralSkyMaterial
2022-03-13 00:56:09 +01:00
Rémi Verschelde
71da4c4132
Merge pull request #54399 from Calinou/filedialog-current-properties-hint-no-editor
...
Don't store and show current file/directory/path FileDialog properties
2022-03-12 20:48:32 +01:00
kobewi
42078dec9f
Allow negative indexes in ItemList and PopupMenu
2022-03-12 01:14:03 +01:00
Hugo Locurcio
35c8d332b5
Clarify the position of points in Curve{2D,3D}.add_point()
2022-03-11 18:22:55 +01:00
bruvzg
b32e8d63d8
Add options to embolden and transform font outlines to simulate bold and italic typefaces.
2022-03-11 14:02:30 +02:00
Rémi Verschelde
952b71a425
Merge pull request #58751 from bruvzg/loc_str_props
2022-03-11 10:45:02 +01:00
Rémi Verschelde
af9a60d5b3
Merge pull request #58965 from TechnoPorg/remove-stex-occurrences
...
Remove more occurrences of "stex"
2022-03-11 08:00:52 +01:00
TechnoPorg
f4bc9f5821
Remove more occurrences of "stex"
2022-03-10 18:31:48 -07:00
Rémi Verschelde
26fd6fe2b2
Merge pull request #58485 from aaronfranke/time-offset
2022-03-10 21:13:29 +01:00
Rémi Verschelde
1c51fd48db
Merge pull request #58781 from BastiaanOlij/openxr_signals_and_events
...
Adding signals and events to OpenXR interface
2022-03-10 18:10:26 +01:00
reduz
6f51eca1e3
Discern between virtual and abstract class bindings
...
* Previous "virtual" classes (which can't be instantiated) are not corretly named "abstract".
* Added a new "virtual" category for classes, they can't be instantiated from the editor, but can be inherited from script and extensions.
* Converted a large amount of classes from "abstract" to "virtual" where it makes sense.
Most classes that make sense have been converted. Missing:
* Physics servers
* VideoStream
* Script* classes.
which will go in a separate PR due to the complexity involved.
2022-03-10 12:28:11 +01:00
Bastiaan Olij
d11cb5fe98
Adding signals and events to OpenXR interface
...
Improving interaction profile logic
2022-03-10 17:14:56 +11:00
Rémi Verschelde
3d7f155586
Remove unused Bullet module and thirdparty code
...
It has been disabled in `master` since one year (#45852 ) and our plan
is for Bullet, and possibly other thirdparty physics engines, to be
implemented via GDExtension so that they can be selected by the users
who need them.
2022-03-09 21:45:47 +01:00
Rémi Verschelde
9b05f29894
Remove unused GDNative code
...
This has been superseded by GDExtension so this code is no longer useful
nor usable.
There's still some GDNative-related stuff in platform export code which
needs to be adapted for GDExtension (e.g. to include GDExtension libraries
in exports).
2022-03-09 13:59:03 +01:00
Rémi Verschelde
da4fc8d0ea
i18n: Sync classref translations with Weblate
...
(cherry picked from commit 6c56433997
)
2022-03-09 10:44:30 +01:00
Michael Alexsander
182e038af5
Replace TabBar
's min_width
with max_tab_width
and expose it
2022-03-09 01:48:18 -03:00
Rémi Verschelde
f73ef03a86
Merge pull request #58877 from akien-mga/core-unexpose-range_step_decimals
2022-03-08 22:45:29 +01:00
Marcel Admiraal
507f72db8e
Rename Control's Rect properties to exclude rect_ part
2022-03-08 16:30:35 +00:00
Rémi Verschelde
6046d3babb
Merge pull request #57769 from Chaosus/vs_custom
2022-03-08 15:34:08 +01:00
Rémi Verschelde
45fa14e1ae
Merge pull request #58850 from YeldhamDev/more_tab_regressions
2022-03-08 14:28:39 +01:00
Yuri Roubinsky
4d6790e9df
Add _get_func_code/_is_available
virtual functions to custom nodes
2022-03-08 16:23:44 +03:00
Rémi Verschelde
1561737055
Merge pull request #49447 from Calinou/remove-shadow-color-property
...
Remove unused `shadow_color` property from Light3D
2022-03-08 07:48:05 +01:00
Rémi Verschelde
4e3d5a9a2c
VariantUtility: Unexpose Math::range_step_decimals
...
This method was meant only as a convenience for editor code
to allow using a step of 0 to disable snapping.
It was exposed by mistake when refactoring GlobalScope.
2022-03-07 22:13:49 +01:00
Rémi Verschelde
6c3170e875
Merge pull request #57930 from piiertho/bugfix/add-none-flag-to-resource-saver
2022-03-07 12:05:35 +01:00
Pierre-Thomas Meisels
f9d4f08090
Fix ResourceSaver::save method exposition flag parameter
...
enh: Add FLAG_NONE to SaverFlags in ResourceSaver to fix api inconsistency
fix: flags parameter of ResourceSaver::save is now uint32_t to allow flag composition in scripts
2022-03-07 10:39:51 +01:00
Rémi Verschelde
a51f724b8b
Merge pull request #57812 from piiertho/bugfix/add-none-enum-global-constants
2022-03-07 10:23:25 +01:00
Pierre-Thomas Meisels
a41fb2fa3c
bugfix: bind core enums' none values
2022-03-07 09:16:25 +01:00
Rémi Verschelde
eb8ce0ce68
Merge pull request #58750 from Chaosus/vs_varyings
...
Add varying support to visual shaders
2022-03-07 07:41:11 +01:00
Michael Alexsander
c0381594c3
Fix regressions with nameless and icon-only tabs
2022-03-06 22:17:35 -03:00
Rémi Verschelde
d37e8586be
Merge pull request #58788 from reduz/rename-streamtexture
...
Rename StreamTexture* to CompressedTexture*
2022-03-06 00:19:55 +01:00
Rémi Verschelde
9b4d4bbaea
Merge pull request #58803 from KoBeWi/a_bit_of_everything
...
Various code and documentation improvements
2022-03-06 00:17:39 +01:00
kobewi
bc3aff9b46
Various code and documentation improvements
2022-03-05 22:00:35 +01:00
kobewi
b3864db7e0
Change tabs_rearrange_group to property
2022-03-05 21:03:01 +01:00
reduz
ccd4cdfd8b
Rename StreamTexture* to CompressedTexture*
...
* Its not and will not be used for streaming.
* Streaming will be implemented in 4.1 and it will work different.
* It makes more sense to be called CompressedTexture since it imports and compresses texture files.
2022-03-05 16:43:38 +01:00
Rémi Verschelde
cdd63fa872
Merge pull request #53839 from EricEzaM/editor-settings-changed-settings
...
Added ability to get list of editor settings changed when saving editor settings. Optimised settings changed notification.
2022-03-05 12:54:38 +01:00
Eric M
a0ef294ba5
Added ability to retrieve array of changed settings changed when it is saved.
2022-03-05 19:26:40 +10:00