summaryrefslogtreecommitdiff
path: root/doc/classes/String.xml
AgeCommit message (Collapse)Author
2023-03-14Document using `String.uri_encode()` with `OS.shell_open()`Hugo Locurcio
(cherry picked from commit 81ac3c3e7157a290c02548e7ad6adf50fd6e5118)
2023-02-17Merge pull request #73195 from timothyqiu/weblate-commentsRémi Verschelde
Improvements and fixes based on Weblate comments
2023-02-14Add missing documentation for String & StringNameMicky
Also fixes typos brought up in #69821's replies.
2023-02-13Improvements and fixes based on Weblate commentsHaoyu Qiu
* Description of `ui_text_submit` action should be "Submit Text" instead of "Text Submitted". * Spell out "Animation" instead of using "Anim.". * Treat "Max" as regular word instead of writing "Max.". * Use generic "Set %s" for action name instead of a dedicated "Set target_position". * Add translator comment for: * "Inclusive" and "Self" in the profiler. * Places where it needs the context about being an editor progress label. * "Duplicated Animation Name" since it's refering to the new name of a duplicated animation. * Disambiguation of "View Plane Transform", "Paste Selects" and "Display Normal". * Fix wrong undo action name for renaming an input action. * Fix missing end quote in a shader error message. * In class reference: * Fix duplicated "if" in the description of `signf()`. * Fix mismatched example output in `String.operator %()`. * Fix typo in the description of `Decal.texture_emission`. * Unify description of `String.match()` and `StringName.match()`.
2023-02-02Mention `String.match()` is also called "glob"/"globbing"Hugo Locurcio
This is mostly for Ctrl + F purposes, in case someone is looking how to perform globbing on a string.
2023-01-27Add missing classref changes after #62942Rémi Verschelde
2023-01-27Handle gltf binaryK. S. Ernest (iFire) Lee
[ Ignore and Warn | Extract Textures (default) | Optimize Loading Embedded as Basisu ] Enable compressed mip maps from Basis Universal for faster compressions. Increase the quality of Basis to avoid corruption. To keep compatibility use the first mip of the previous internal Godot format. Because texture names may have invalid filename characters, adds String::validate_filename to sanitize filenames for import pipeline use.
2022-12-15Fix typos with codespellRémi Verschelde
2022-12-12Fix docstring for String.get_base_dirAndrés Botero
2022-12-09Update StringName documentation to match String'sMicky
2022-12-09Merge pull request #68747 from rune-scape/rune-stringname-unificationRémi Verschelde
GDScript: Unify StringName and String
2022-12-05Unify String and StringNamerune-scape
2022-12-05Overhaul String DocumentationMicky
2022-11-23Merge pull request #68217 from Mickeon/doc-stringmngffhMax Hilbrunner
Add missing String & StringName operator descriptions
2022-11-23Add missing String & StringName operator descriptionsMicky
2022-11-20Double precision of `String.split_floats`Micky
2022-11-14Merge pull request #68229 from Mickeon/c-escape-hellRémi Verschelde
Remove "?" from String.c_escape()
2022-11-04Add support for empty delimiter in String.splitkobewi
2022-11-03Remove "?" from String.c_escape()Micky
2022-11-02Style: Misc docs and comment style and language fixesRémi Verschelde
- Removed empty paragraphs in XML. - Consistently use bold style for "Example:", on a new line. - Fix usage of `[code]` when hyperlinks could be used (`[member]`, `[constant]`). - Fix invalid usage of backticks for inline code in BBCode. - Fix some American/British English spelling inconsistencies. - Other minor fixes spotted along the way, including typo fixes with codespell. - Don't specify `@GlobalScope` for `enum` and `constant`.
2022-11-02Merge pull request #66361 from dalexeev/remove-int-plus-stringRémi Verschelde
Unexpose confusing `String + int` and `int + String` operations
2022-10-21Fix small mistakes throughout much of the documentationVolTer
2022-09-24Remove confusing `String + int` and `int + String` operationsDanil Alexeev
2022-08-30Add `String.to_{camel,pascal,snake}_case` methodsDanil Alexeev
2022-08-29Rename String `plus_file` to `path_join`Aaron Franke
2022-08-17[doc] Fix grammar in class docs: amount vs. numberAndy Maloney
Number is used for things that can be counted (discrete items - think "integer" in this context). Also fixes a couple of awkward phrases.
2022-08-09[doc] Use "param" instead of "code" to refer to parameters #3Andy Maloney
2022-08-08Rename the argument tag to param in XML documentationYuri Sizov
2022-08-05updated the String class with info about the 'allow_empty' optional argumentTom
2022-06-27Improve String.format() documentationHaoyu Qiu
2022-06-12Fix parameter name for String.left and String.rightHaoyu Qiu
2022-03-31Fixing some of my own typos...nova++
(and a little improvement to wording that was bugging me)
2022-03-26doc: Fix String.rsplit code exampleRémi Verschelde
Fixes #36898. Supersedes and closes #36951.
2022-03-17Unify TextServer built-in module and GDExtension code.bruvzg
2022-03-14Remove generating of null comparison operators from documentationYuri Roubinsky
2022-02-23Added or improved documentation to a few more String methodsNova
2022-02-22Document String's humanize_size static methodNova
2022-02-21Update doc for match: empty argument doesn't match anythingMarkus Sauermann
2022-02-15Add an XML schema for documentationHugo Locurcio
This makes it easier to spot syntax errors when editing the class reference. The schema is referenced locally so validation can still work offline. Each class XML's schema conformance is also checked on GitHub Actions.
2022-02-12Clarify identical `hash()` return values due to collisionsHugo Locurcio
2022-02-08[GDExtension] Add binds for missing methods, operators, and constants ↵bruvzg
required for GDExtension TextServer implementation.
2022-02-04String: Add contains().Anilforextra
2022-01-26Rename String::is_subsequence_ofi to String::is_subsequence_ofnWilson E. Alvarez
2022-01-17Clarify to_float() and to_int() methodskobewi
2022-01-02Fix usage of "Return" in the docskobewi
2021-12-16Make `--doctool` locale awareHaoyu Qiu
* Adds `indent(str)` to `String`: * Indent the (multiline) string with the given indentation. * This method is added in order to keep the translated XML correctly indented. * Moves the loading of tool/doc translation into `editor/editor_translation.{h,cpp}`. * This will be used from both `EditorSettings` and the doc tool from `main`. * Makes use of doc translation when generating XML class references, and setup the translation locale based on `-l LOCALE` CLI parameter. The XML class reference won't be translated if `-l LOCALE` parameter is not given, or when it's `-l en`.
2021-11-15Replace Godot docs URL with `$DOCS_URL` in XML class referenceRémi Verschelde
2021-11-02Merge pull request #54453 from KoBeWi/slice_of_stringRémi Verschelde
2021-11-02Expose String.get_slicekobewi
2021-10-29Move the docs for constructors and operators out of methods sectionAaron Franke