summaryrefslogtreecommitdiff
path: root/doc/classes/String.xml
AgeCommit message (Collapse)Author
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
2020-11-10doc: Sync classref to add operators after #43419Rémi Verschelde
2020-11-09Variant: Sync docs with new constructors, fixups after #43403Rémi Verschelde
Change DocData comparators for MethodDoc and ArgumentDoc to get a better ordering of constructors.
2020-11-04doc: Sync classref with current source + fixup some bindingsRémi Verschelde
Includes various changes triggered by the refactoring of method bindings.
2020-10-01Merge pull request #42435 from Calinou/doc-string-is-valid-ip-addressRémi Verschelde
Improve the `String.is_valid_ip_address()` documentation
2020-09-30Improve the `String.is_valid_ip_address()` documentationHugo Locurcio
This closes https://github.com/godotengine/godot-docs/issues/4097.
2020-09-30Improve the String comparison methods' documentationHugo Locurcio
This closes https://github.com/godotengine/godot-docs/issues/4096.
2020-09-03[Complex Test Layouts] Change `String` to use UTF-32 encoding on all platforms.bruvzg
2020-08-31Add link titles for all links in the class referenceHugo Locurcio
This makes them display in a nicer way in the editor help. (The title will display instead of the full URL.)
2020-07-29Document how to perform advanced string splitting using RegExHugo Locurcio
This closes https://github.com/godotengine/godot-docs/issues/3607.
2020-07-27Improve the Object, Reference and Resource class documentationsHugo Locurcio
2020-07-15Document which escape sequences are supported by `String.c_unescape()`Hugo Locurcio
See https://github.com/godotengine/godot/issues/38716.
2020-07-04Merge pull request #40103 from Calinou/doc-fix-string-capitalizeRémi Verschelde
Fix `String.capitalize()` description to follow camelCase changes