summaryrefslogtreecommitdiff
path: root/doc/classes/String.xml
AgeCommit message (Collapse)Author
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
2021-10-22Fix `bin_to_int` documentation examplesRaul Santos
The `bin_to_int` method uses the `0b` prefix.
2021-10-06doc: Update links to latest documentation after content reorganizationRémi Verschelde
2021-09-20Don't generate empty doc sections and reduce code duplicationAaron Franke
2021-09-17Allow indexing of String values in scripting languagesGeorge Marques
2021-09-17Allow comparing equality between builtin types and nullGeorge Marques
2021-08-29Rename String::is_rel_path to String::is_relative_pathWilson E. Alvarez
2021-08-24Merge pull request #52041 from Rubonnek/expose-simplify-pathMax Hilbrunner
Expose `String.simplify_path`
2021-08-24Expose String.simplify_pathWilson E. Alvarez
2021-08-23Update documentation for is_absolute_path and is_rel_pathWilson E. Alvarez
2021-08-20Improve documentation for `String.get_extension()`Hugo Locurcio
2021-08-18String: Fix default decimals truncation in num and num_realRémi Verschelde
Fixes undefined behavior, and fixes the logic for negative powers of ten. Fixes #51764. Adds tests to validate the changes and prevent regressions. Adds docs for `String.num`.
2021-08-08Fix Unicode URL link tags to render correctly.follower
Change incorrect `[/code]` closing tags to `[/url]` tags. The `url` tags for the links to the Unicode code points information use `[/code]` rather than `[/url]` to close them. This results in the links being rendered incorrectly in the IDE--the entire rest of the documentation for each method gets turned into a giant underlined link. This issue was introduced in https://github.com/godotengine/godot/commit/a2271ba3bdaa5fab0f6518a2445b839d36e283eb.
2021-07-30doc: Use self-closing tags for `return` and `argument`Rémi Verschelde
For the time being we don't support writing a description for those, preferring having all details in the method's description. Using self-closing tags saves half the lines, and prevents contributors from thinking that they should write the argument or return documentation there.
2021-06-16Rename `is_valid_integer()` to `is_valid_int()`Lightning_A
Method from `String`
2021-06-03Rename `String.is_abs_path()` to `String.is_absolute_path()`Hugo Locurcio
This is more consistent with `NodePath.is_absolute()`.
2021-05-20Change behavior of String.rightTomasz Chabora
2021-03-18doc: Sync classref with current sourceRémi Verschelde
And move GLTF docs to its module folder.
2021-03-09Merge pull request #45545 from abaire/relaxes_gltf_name_sanitizationRémi Verschelde
Relaxes node name sanitization in gltf documents.
2021-03-05Docs: Port Code Examples to C# (R, S, T, U)HaSa1002
* RenderingServer * RichTextEffect * SceneTree * SceneTreeTimer * ScriptCreateDialog * SpinBox * Sprite2D * StreamPeer * String * SurfaceTool * TextEdit * TileMap * Tree * Tween * UDPServer * UndoRedo Co-authored-by: Aaron Franke <arnfranke@yahoo.com>
2021-02-24Relaxes Node naming constraints in glTF documents to match the Editor.abaire
2021-01-28Unify URI encoding/decoding and add to C#Aaron Franke
http_escape and percent_encode have been unified into uri_encode, and http_unescape and percent_decode have been unified into uri_decode.
2021-01-28Make hex_to_int and bin_to_int handle the prefix automaticallyAaron Franke
Also add BinToInt to C#
2021-01-26Renamed String.ord_at to unicode_atYuri Roubinsky
2021-01-10Clarify `lstrip()/rstrip()` methods in `String` for removed charactersAndrii Doroshenko (Xrayez)
2021-01-04doc: Sync classref with current sourceRémi Verschelde
2020-12-28Rename empty() to is_empty()Marcel Admiraal