summaryrefslogtreecommitdiffstats
path: root/core/ustring.cpp
Commit message (Collapse)AuthorAgeFilesLines
...
* Update snake_case splittingMarco Melorio2017-04-231-1/+3
|
* Add "Godot Engine contributors" copyright lineRémi Verschelde2017-04-081-0/+1
|
* A Whole New World (clang-format edition)Rémi Verschelde2017-03-051-1463/+1323
| | | | | | | | | | | | | | | | | | | | | | | | I can show you the code Pretty, with proper whitespace Tell me, coder, now when did You last write readable code? I can open your eyes Make you see your bad indent Force you to respect the style The core devs agreed upon A whole new world A new fantastic code format A de facto standard With some sugar Enforced with clang-format A whole new world A dazzling style we all dreamed of And when we read it through It's crystal clear That now we're in a whole new world of code
* Merge pull request #7830 from volzhs/str-format-3Rémi Verschelde2017-02-261-6/+9
|\ | | | | Fix zero padding formatting
| * Fix zero padding formattingvolzhs2017-02-181-6/+9
| |
* | -renamed globals.h to global_config.cpp (this seems to have caused a few ↵Juan Linietsky2017-02-211-0/+32
|/ | | | | | modified files) -.pck and .zip exporting redone, seems to be working..
* Merge pull request #7002 from RandomShaper/vcs-friendlinessJuan Linietsky2017-01-251-1/+10
|\ | | | | Greater VCS friendliness
| * Improve .tscn VCSPedro J. Estébanez2017-01-161-1/+10
| | | | | | | | | | | | | | | | | | | | | | Serialize dictionaries adding newlines between key-value pairs Serialize group lists also with newlines in between Serialize string properties escaping only " and \ (needed for a good diff experience with built-in scripts and shaders) Bonus: Make AnimationPlayer serialize its blend times always sorted so their order is predictable in the .tscn file. This PR is back-compat; won't break the load of existing files.
* | Fix crash when creating new projectvolzhs2017-01-171-3/+2
| |
* | Style: Fix statements ending with ';;'Rémi Verschelde2017-01-161-2/+2
| |
* | Style: Cleanups, added headers, renamed filesRémi Verschelde2017-01-161-4/+6
| | | | | | | | | | | | | | | | | | Made sure files in core/ and tools/ have a proper Godot license header when written by us. Also renamed aabb.{cpp,h} and object_type_db.{cpp,h} to rect3.{cpp,h} and class_db.{cpp,h} respectively. Also added a proper header to core/io/base64.{c,h} after clarifying the licensing with the original author (public domain).
* | Merge pull request #7525 from neikeq/pr-plus_fileRémi Verschelde2017-01-141-2/+3
|\ \ | | | | | | String: plus_file(String) no longer adds a root
| * | String: plus_file(String) no longer adds a rootIgnacio Etcheverry2017-01-141-2/+3
| | |
* | | Merge pull request #7010 from AlexHolly/format-string2Juan Linietsky2017-01-141-1/+72
|\ \ \ | | | | | | | | advanced string format
| * | | advanced string formatAlexHolly2016-11-011-1/+72
| | |/ | |/|
* | | Style: Fix whole-line commented codeRémi Verschelde2017-01-141-3/+3
| | | | | | | | | | | | | | | They do not play well with clang-format which aligns the `//` part with the rest of the code block, thus producing badly indented commented code.
* | | rename String.extension() -> String.get_extension() / String.basename() -> ↵Juan Linietsky2017-01-141-2/+2
| |/ |/| | | | | String.get_basename()
* | Variant INT and REAL are now 64 bits (other types remain at 32)Juan Linietsky2017-01-081-24/+72
| |
* | Merge remote-tracking branch 'origin/gles3' into gles3-on-masterRémi Verschelde2017-01-021-0/+2
|\ \ | | | | | | | | | | | | Various merge conflicts have been fixed manually and some mistakes might have been made - time will tell :)
| * | Some BRDF fixesJuan Linietsky2016-12-211-0/+2
| | |
* | | Welcome in 2017, dear changelog reader!Rémi Verschelde2017-01-011-1/+1
| |/ |/| | | | | | | | | | | | | That year should bring the long-awaited OpenGL ES 3.0 compatible renderer with state-of-the-art rendering techniques tuned to work as low as middle end handheld devices - without compromising with the possibilities given for higher end desktop games of course. Great times ahead for the Godot community and the gamers that will play our games!
* | added implementation of is_valid_ip_address()Ariel Manzur2016-10-201-19/+71
|/
* Merge pull request #6650 from volzhs/resource-pathRémi Verschelde2016-10-031-0/+5
|\ | | | | Fix error when using 2 or more slashes on resource path
| * Fix error when using 2 or more slashes on resource pathvolzhs2016-09-301-0/+5
| |
* | Fix typo for word_wrapvolzhs2016-09-301-1/+1
|/
* Fix String::is_valid_integer() for single symbols + and -allkhor2016-07-311-1/+1
|
* Remove unused variables (fourth pass) + dead codeRémi Verschelde2016-07-081-1/+0
| | | | Also fix a potential regression from 3fcb9b1ec179b99d979d4cfea9b5e3c80e4a3e33.
* Merge pull request #5380 from vnen/string-canvasitem-docsRémi Verschelde2016-06-241-0/+17
|\ | | | | Documentation for String and CanvasItem
| * Add sha256_buffer() function to StringGeorge Marques2016-06-231-0/+17
| |
* | Fix bug in String==StrRange comparisonGeorge Marques2016-06-241-5/+2
|/ | | | | | | It was comparing the StrRange with itself, always return true if both were the same length. Fix #3843
* Add similarity comparison to StringGeorge Marques2016-06-191-0/+44
| | | | | Uses the Sorensen-Dice coefficient to calculate similarity. This also adds String.bigrams() as a convenience function needed by the comparison.
* Add sha256 to String and File/FileAccess.Bojidar Marinov2016-06-171-7/+20
| | | | Probably does #4166
* Add 'is_subsequence_of' function to StringGeorge Marques2016-06-121-0/+44
|
* remove trailing whitespaceHubert Jarosz2016-05-211-1/+1
|
* -Added configuration warning system for nodesJuan Linietsky2016-05-171-1/+21
| | | | | -Added a new "add" and "instance" buttons for scene tree -Added a vformat() function to ease translation work
* Added possibility to strip left and right to strip_edges (#4594)Mattias Cibien2016-05-111-11/+15
|
* fix percent decode utf8 errorAlexander Holland2016-05-051-5/+6
|
* Modified editor strings to be translatable in the futureJuan Linietsky2016-05-031-0/+11
|
* remove trailing whitespaceHubert Jarosz2016-03-091-114/+114
|
* Fixed String::camelcase_to_underscore() so it works in all cases. Fixes PR #1650Julian Murgia - StraToN2016-02-171-11/+20
|
* added a new function to escape properly json, fixes #3282Juan Linietsky2016-01-101-0/+15
|
* -Replaced tinyjpg for jpgd (public domain), fixes progressive encoded jpgs ↵Juan Linietsky2016-01-031-3/+7
| | | | | | and speeds up. Closes #2040 -Removed support of loading BitMap as image, now it must be load as a pnm, also closes #2040
* Update copyright to 2016 in headersGeorge Marques2016-01-011-1/+1
|
* Fix call to _snprintf on GCCRémi Verschelde2015-11-201-15/+7
| | | | | | Was a regression from ddbf2ff. This commit also introduce a "#define snprintf _snprintf", so the rest of the file was simplified to make use of this instead of distinguishing between snprintf and _snprintf in the various functions.
* compile fixesJuan Linietsky2015-11-191-1/+1
|
* fix compile error in some msvc version (snprintf not found)Ariel Manzur2015-11-191-1/+6
|
* Fixes the make_doc.sh, <, > and & signs in descriptions that cause the ↵Aren Villanueva2015-11-191-0/+42
| | | | | | | | parser to break. Documentation for HTTPClient. Added a query_string_from_dict method to HTTPClient to create a x-www-form-urlencoded valid query string for GET and POST messages. String now has http_escape() and http_unescape() methods to help facilitate the above query_string_from_dict method.
* Add missing \n to world_wrap. Close #2516Bojidar Marinov2015-09-241-1/+1
| | | The issue was that world_wrap would skip over newlines, without adding them to the output.
* Fix _xml_unescape, as suggested by @reduzBojidar Marinov2015-09-231-2/+2
|
* Flip &lt; and &gt; in String::xml_escape. Close #2511Bojidar Marinov2015-09-231-2/+2
| | | Before > referred to &lt; and < to &gt;, which is incorrect...