Thaddeus Crews
e66d9988a6
Merge pull request #95774 from Mickeon/documentation-miscellaneous-oddities
...
Fix miscellaneous oddities around the class reference
2024-11-12 09:27:47 -06:00
Micky
5c5460b026
Fix many untagged true/false/null in the documentation
2024-11-10 11:26:39 +01: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
330cb45c5a
Merge pull request #96981 from ItzCog/patch-1
...
Change "deconstructor" to "destructor"
2024-09-20 16:06:31 +02:00
Dungeon Master
d33f4820cd
Change "deconstructor" to "destructor" in NOTIFICATION_PREDELETE
docs
2024-09-20 15:49:03 +02:00
Haoyu Qiu
c5d147b9b5
Allow configuring which translation domain Object.tr uses
2024-09-17 13:09:44 +08:00
Danil Alexeev
be5068d44b
Core: Bind and document iterator API virtual methods
2024-08-27 21:57:22 +03:00
Jason Wodicka
97cf2c147e
Fix C# code example for Object._get_property_list
...
There were two small errors in this code example that kept it from working when copied to a new node locally. These are the fixes I used locally to test the example.
2024-08-26 12:36:01 -07:00
Micky
b8f78b14be
Fix miscellaneous oddities around the class reference
2024-08-18 23:18:44 +02:00
Sai Nane
15f6984675
Fix check in Object._ValidateProperty
example
...
The GDScript version above makes the `number` property read only whenever
`is_number_editable` is false.
```gdscript
func _validate_property(property: Dictionary):
if property.name == "number" and not is_number_editable:
property.usage |= PROPERTY_USAGE_READ_ONLY
```
The C# version is similar, but omits the negation, so the Number property is
made read only whenever `is_number_editable` is true.
This adds the negation to the C# example, making it match the GDScript
example.
2024-08-09 19:08:27 +00:00
A Thousand Ships
6ab303cd76
[Doc] Clarify the session-specific nature of RID
and ObjectID
2024-06-18 20:19:21 +02:00
MewPurPur
409202d574
Add notes in Object about TranslationServer methods
2024-05-04 02:58:12 +03:00
Radiant
75bca7d112
Remove experimental flag.
2024-04-18 19:37:05 +03:00
Radiant
e263b11cdd
Implement remove_user_signal()
...
Co-authored-by: Timothe Bonhoure <tbonhoure@ymail.Com>
Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
Co-authored-by: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>
2024-04-18 11:22:59 +03:00
kkoang
3286e191f3
doc: Use Signal.emit
instead of emit_signal
in Object examples
2024-04-09 10:35:15 +02:00
kobewi
83789426cc
Improve some notification and translation docs
2024-03-24 15:14:02 +01:00
A Thousand Ships
59bcc2888c
Add methods to get argument count of methods
...
Added to:
* `Callable`s
* `Object`s
* `ClassDB`
* `Script(Instance)`s
2024-03-10 11:02:43 +01:00
A Thousand Ships
2f1f8ee39b
[Docs][C#] Use PropertyName
constants in more places
2024-03-07 13:03:03 +01:00
A Thousand Ships
1cc5b0aa0d
[Doc] Clarify some details about deferred calls
2024-02-28 17:04:47 +01:00
Rémi Verschelde
3ce9ae71fc
Merge pull request #84906 from /fix-some-defvals
2024-02-23 11:29:22 +01:00
Raul Santos
5ba92e5a57
Fix some DEFVALs to use the right type
...
- Use `StringName()` in DEFVAL for StringNames.
- Use `Variant()` in DEFVAL for Variants.
2024-02-23 01:50:18 +01:00
kobewi
5473c7e222
Fix implementation of property_can_revert() in PropertyListHelper
2024-02-22 15:05:19 +01:00
Michael Alexsander
7b42c24550
Make auto translation inheritable
2024-02-15 16:51:19 -03:00
RedMser
5911a12db1
Update class reference to include some keywords
...
More should be added in future PRs, wherever there is demand.
2024-02-09 18:13:23 +01:00
EterDelta
fee70558f8
Expose NOTIFICATION_EXTENSION_RELOADED to ClassDB
2024-02-02 14:57:00 -05:00
Rémi Verschelde
964de297e4
Merge pull request #85450 from KoBeWi/advanced_properties_for_every_Object
...
Improve documentation for dynamic properties
2024-01-29 13:16:12 +01:00
kobewi
7d0d405e22
Improve documentation for dynamic properties
2024-01-18 02:01:06 +01:00
Gwen
e40b23c619
Correct C# syntax in _validate_property example for the Object class
2023-12-30 19:13:58 +01:00
Rémi Verschelde
d99285db6a
Merge pull request #83609 from k0T0z/fix-csharp-syntax-error-in-web-doc
...
Fix Object class C# syntax error
2023-10-20 15:10:38 +02:00
CopyTIME
458cb99966
Change return type of "_Set" method in csharp code example
...
Add "return false" to GDScript code example of _Set method
2023-10-19 18:52:11 +08:00
Saif Kandil
74efbde7df
Fix Object class C# syntax error
...
Signed-off-by: Saif Kandil <74428638+k0T0z@users.noreply.github.com>
2023-10-19 13:43:54 +03:00
Yuri Sizov
cc0eebd9d8
Validate code
tags for class and member references
...
This commit also adds means to manually disable warnings
in `code` tags where it's a false positive with the new
`skip-lint` attribute.
Warnings are now enabled on CI to prevent future errors.
2023-10-03 15:48:31 +02:00
Rémi Verschelde
8dfd9d39a6
Merge pull request #81093 from mateuseap/docs/objectClassReference
...
Improve `Object.get_property_list()` method description
2023-08-29 12:48:19 +02:00
Mateus Elias
6020e34757
Improve Object.get_property_list() method description
2023-08-29 07:11:11 -03:00
kobewi
67db4693eb
Expose _validate_property() for scripting
2023-08-28 15:18:48 +02:00
Yuri Sizov
4b208fec74
Merge pull request #80884 from timothyqiu/typo-fixes
...
Fix various typos in classref
2023-08-25 14:58:47 +02:00
Haoyu Qiu
d026b37abd
Fix various typos in classref
2023-08-22 18:05:50 +08:00
kobewi
90160eff80
Fix _set example
2023-08-12 12:46:46 +02:00
Rémi Verschelde
81064cc239
Doctool: Remove version attribute from XML header
...
We don't use that info for anything, and it generates unnecessary diffs
every time we bump the minor version (and CI failures if we forget to
sync some files from opt-in modules (mono, text_server_fb).
2023-07-06 10:08:21 +02:00
Rémi Verschelde
346f1ab86b
Bump version to 4.2-dev
...
Keep on waitin'
2023-07-05 22:07:03 +02:00
L4Vo5
2747dd35e7
clarify the meaning of "deferred"
2023-06-18 00:46:58 -03:00
Yuri Sizov
5edcf4f3c7
Merge pull request #77614 from mhilbrunner/class_ref_documentation_object_set_meta
...
Docs: Update Object's class reference regarding meta data
2023-05-29 17:06:32 +02:00
Devin
cdc2e6d872
Updated Object's class reference documentation for set_meta to indicate metadata's name must be a valid identifier
2023-05-29 16:09:16 +02:00
Dipal Zambare
41ac5a406e
Fix typo in CS notification example of the Object class
2023-05-25 10:09:12 +02:00
Juan Linietsky
98c655ec8d
Refactor Node Processing
...
* Node processing works on the concept of process groups.
* A node group can be inherited, run on main thread, or a sub-thread.
* Groups can be ordered.
* Process priority is now present for physics.
This is the first steps towards implementing https://github.com/godotengine/godot-proposals/issues/6424 .
No threading or thread guards exist yet in most of the scene code other than Node. That will have to be added later.
2023-05-09 19:17:51 +02:00
Juan Linietsky
1c93606e47
Add ValidatedCall to MethodBind
...
* This should optimize GDScript function calling _enormously_.
* It also should simplify the GDScript VM considerably.
NOTE: GDExtension calling performance has most likely been affected until going via ptrcall is fixed.
2023-04-30 20:01:26 +02:00
Paweł
4431cdd154
Remove double thes from documentation
2023-04-17 21:45:30 +02:00
Rémi Verschelde
1c1524a651
Bump version to 4.1-dev
...
Can't stop, won't stop, they said, huh?
2023-03-01 01:44:37 +01:00
Haoyu Qiu
cc384a8228
Add missing period for sentences in classref
2023-02-12 11:39:14 +08:00
Yuri Sizov
03ae8caea8
Fix incorrect description for Signal::get_connections
2023-02-03 17:28:17 +01:00