1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-05 12:10:55 +00:00
Commit Graph

214 Commits

Author SHA1 Message Date
Thaddeus Crews
051712dfb8 Merge pull request #103264 from mhilbrunner/docs-path-join
Rename "file" param for str.path_join() to "path"
2025-05-07 12:48:29 -05:00
风青山
14249097e8 Clarify the conditions that need to be met for a valid file name in Godot 2025-04-30 20:13:45 +08:00
Thaddeus Crews
9b3e445e47 Merge pull request #105073 from Mickeon/documentation-miscellaneous-oddities-part-4
Fix miscellaneous oddities around the class reference (part 4)
2025-04-11 09:51:11 -05:00
Priahoud
bf963e767e Add Options, Functions and Settings to convert Node-Names and Strings to kebab-case
- refactored and renamed String::_camelcase_to_underscore to String:_separate_compound_words
- refactored String::to_snake_case to work with the refactored String::_separate_compound_words
- created char_utils::is_hyphen to catch all hyphen variants in kebab-case conversion
- created String::to_kebab_case using the new String::_separate_compound_words
- created corresponding Documentation in String and StringName
- simplified both switch statements in EditorNode and ProjectDialog
- added new kebab-casing Option for Node Names in ProjectSettings
- added missing camelCase Options to Scene- and Node-Names in ProjectSettings
- simplified Mono RuntimeInterop Functions
- hooked up the ConnectionsDialog
- created additional Unit Tests
2025-04-10 21:22:21 +02:00
Micky
e935fb1ee2 Fix miscellaneous oddities around the class reference (part 4) 2025-04-10 17:56:58 +02:00
Thaddeus Crews
ed13d794a8 Merge pull request #104378 from DarkiStar/master
Documentation: Fix `hex_decode()` example in `String` and `StringName`
2025-04-10 10:18:19 -05:00
A Thousand Ships
889410dcda Add String::replace_char(s) methods for performance and convenience 2025-04-10 13:08:45 +02:00
Pāvels Nadtočajevs
9abe2e5294 Add uri_file_decode to handle + in file names. 2025-04-07 23:49:17 +03:00
Rémi Verschelde
05c207039f Merge pull request #100849 from ColinSORourke/string-docs-clarify
Clarify ambiguous String comparison methods documentation
2025-03-28 17:29:55 +01:00
bruvzg
48bfe13e4f Add methods to decode/encode multibyte encodings. 2025-03-28 17:32:34 +02:00
Colin O'Rourke
f8582ac5c3 Clarify Ambiguous Documentation
Clarifying Ambiguous wording in the description of multiple String Compare To functions.
2025-03-26 10:08:52 -07:00
Carsten
d4363d5cdd Update String.xml
Fixed hex_decode() example
2025-03-19 19:45:13 +01:00
A Thousand Ships
331a43a9d8 Add String::remove_char(s) methods for performance and convenience 2025-03-10 13:19:28 +01:00
Max Hilbrunner
3275116304 Rename "file" param for str.path_join() to "path" 2025-02-25 15:58:33 +01:00
Micky
ca4b29b18d Standardize all "Prints" comments in documentation 2024-12-23 21:26:00 +01:00
Raul Santos
072ff85f82 [.NET] Use collection expressions in docs
As of C# 12 we can now use collection expressions to reduce some boilerplate when initializing collections.
2024-12-21 02:28:59 +01:00
Thaddeus Crews
4146bcc0dc Merge pull request #99089 from Mickeon/documentation-truth-csharp-rabbit-hoole
Fix C# boolean "Prints" comments in documentation
2024-12-11 17:35:30 -06:00
Rémi Verschelde
88e81ee730 Fix various typos and code style issues 2024-11-28 17:40:42 +01:00
Micky
2d855f2955 Fix format description being different between String and StringName 2024-11-13 18:26:16 +01:00
Thaddeus Crews
6d08005ddb Merge pull request #95758 from Mickeon/documentation-no-differences-String
Fix differences between String and StringName's documentation
2024-11-12 09:27:36 -06:00
Micky
0c2296fb1b Fix C# boolean "Prints" comments in documentation 2024-11-11 21:19:34 +01:00
Mansur Isaev
98c89f17c4 Add Object support for String.format 2024-10-29 22:27:33 +01:00
tetrapod00
a0134ad375 Docs: link to GlobalScope string methods from String docs 2024-10-23 14:07:27 -07:00
elle
90aad071f5 Remove outdated note about not operator with String and StringName 2024-09-16 21:51:18 +09:30
Haoyu Qiu
8bf4ecc026 Add String.is_valid_unicode_identifier()
- Adds `is_valid_unicode_identifier()`
- Adds `is_valid_ascii_identifier()`
- Deprecates `is_valid_identifier()`
- Renames `validate_identifier()` to `validate_ascii_identifier()`
2024-08-27 11:34:08 +08:00
Micky
4ce5856384 Remove empty [b]Example:[/b] lines from the class reference 2024-08-19 01:00:52 +02:00
Micky
519351f677 Fix differences between String and StringName's documentation 2024-08-18 18:26:29 +02:00
A Thousand Ships
b4c6cc7d82 [Core] Add case-insensitive String::containsn 2024-05-08 12:48:01 +02:00
Rémi Verschelde
4b070e8031 Fix various typos with codespell
Using 2.2.7.dev217+g10c2abcf.

Had to add `colour` to the ignore list as we used it as an alias/keyword for the
documentation of color-related APIs.
Also ignore recommendations to change `thirdparty` to either `third-party` or
`third party`, which are correct but we use the former fairly consistently.
2024-05-07 10:08:42 +02:00
Yuri Rubinsky
d0af8901aa Add a note for String::reverse to warn about its implementation 2024-04-30 12:33:28 +03:00
Rémi Verschelde
1b84421c9b Merge pull request #89608 from AThousandShips/format_doc_fix
[Doc] Clarify behavior of `String.format` with keys in replacements
2024-04-08 11:20:13 +02:00
A Thousand Ships
2cbf469912 Fix sorting of files/dirs in dialogs
Sorts leading `_` before other characters except `.`.
2024-03-20 13:45:47 +01:00
A Thousand Ships
8a78e7e174 [Doc] Clarify behavior of String.format with keys in replacements 2024-03-17 15:02:12 +01:00
A Thousand Ships
b384beccc5 [Doc] Fix GDScript casing of String.num_scientific 2024-02-24 17:51:21 +01:00
Hugo Locurcio
f781571d07 Add keywords to improve search in the class reference 2024-02-22 16:16:49 +01: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
Rémi Verschelde
339a793fa2 Merge pull request #86639 from Mickeon/please-this-took-me-15-minutes-can-we-merge-it-before-2025
Fixing few reports to String's documentation
2024-01-11 17:38:35 +01:00
Micky
46b0f3e9d6 Fixing some reports to String's documentation
Closes https://github.com/godotengine/godot-docs/issues/8043
Closes https://github.com/godotengine/godot-docs/issues/8044
Mitigates https://github.com/godotengine/godot-docs/issues/8190
Closes https://github.com/godotengine/godot/issues/86734
2024-01-10 12:21:08 +01:00
Septian
d3e7b8c8a8 Fix various typos in documentation 2024-01-05 15:47:58 +07:00
Aaron Franke
7e3e13fc66 Doc: Reference String <-> PackedByteArray conversions from each other 2023-09-12 03:43:01 -05:00
Rémi Verschelde
20e24bd2bb Merge pull request #78529 from Chaosus/string_reverse
Add `String.reverse` method
2023-08-16 16:53:40 +02:00
Rémi Verschelde
69dbbcc313 Merge pull request #79092 from akien-mga/doctool-remove-version-attribute
Doctool: Remove version attribute from XML header
2023-07-07 08:34:55 +02:00
Amir-Rasteg
9744657bb8 Fix a typo in the String.to_float description 2023-07-06 17:27:58 +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
Yuri Sizov
c16afc1c2d Merge pull request #79050 from capnm/fix_teststr_what
Fix import hints that are followed by dot.number
2023-07-05 15:59:44 +02:00
Martin Capitanio
470083caed Fix import hints that are followed by dot.number.
Fixes #78881.
2023-07-05 14:49:53 +02:00
Yuri Roubinski
230385b587 Add String.reverse method 2023-06-21 20:40:48 +03:00
Ninni Pipping
edff9ebd18 Clarify String.get_slice behavior
Clarify that the function returns the whole string if there is no
instances of the delimiter in the string.
2023-06-20 10:33:56 +02:00
Tim Yuen
18fa7cf967 Mention that the not operator cannot be used with Strings and StringNames 2023-05-30 11:33:17 +02:00