summaryrefslogtreecommitdiff
path: root/core/ustring.cpp
AgeCommit message (Collapse)Author
2017-05-12Fix natural sorting order in EditorFileDialog, FileDialog and ↵Damian Day
EditorFileSystemDirectory Make EditorFileDialog, FileDialog and EditorFileSystemDirectory alphanumerical sorting more natural Added a new method 'naturalnocasecmp_to' and comparator 'NaturalNoCaseComparator' to String. Fixes #8712.
2017-04-28Move core thirdparty files to thirdparty/{minizip,misc}Rémi Verschelde
2017-04-23Update snake_case splittingMarco Melorio
2017-04-08Add "Godot Engine contributors" copyright lineRémi Verschelde
2017-03-05A Whole New World (clang-format edition)Rémi Verschelde
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
2017-02-26Merge pull request #7830 from volzhs/str-format-3Rémi Verschelde
Fix zero padding formatting
2017-02-21-renamed globals.h to global_config.cpp (this seems to have caused a few ↵Juan Linietsky
modified files) -.pck and .zip exporting redone, seems to be working..
2017-02-18Fix zero padding formattingvolzhs
2017-01-25Merge pull request #7002 from RandomShaper/vcs-friendlinessJuan Linietsky
Greater VCS friendliness
2017-01-17Fix crash when creating new projectvolzhs
2017-01-16Improve .tscn VCSPedro J. Estébanez
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.
2017-01-16Style: Fix statements ending with ';;'Rémi Verschelde
2017-01-16Style: Cleanups, added headers, renamed filesRémi Verschelde
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).
2017-01-14Merge pull request #7525 from neikeq/pr-plus_fileRémi Verschelde
String: plus_file(String) no longer adds a root
2017-01-14String: plus_file(String) no longer adds a rootIgnacio Etcheverry
2017-01-14Merge pull request #7010 from AlexHolly/format-string2Juan Linietsky
advanced string format
2017-01-14Style: Fix whole-line commented codeRémi Verschelde
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.
2017-01-14rename String.extension() -> String.get_extension() / String.basename() -> ↵Juan Linietsky
String.get_basename()
2017-01-08Variant INT and REAL are now 64 bits (other types remain at 32)Juan Linietsky
2017-01-02Merge remote-tracking branch 'origin/gles3' into gles3-on-masterRémi Verschelde
Various merge conflicts have been fixed manually and some mistakes might have been made - time will tell :)
2017-01-01Welcome in 2017, dear changelog reader!Rémi Verschelde
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!
2016-12-21Some BRDF fixesJuan Linietsky
2016-11-01advanced string formatAlexHolly
2016-10-20added implementation of is_valid_ip_address()Ariel Manzur
2016-10-03Merge pull request #6650 from volzhs/resource-pathRémi Verschelde
Fix error when using 2 or more slashes on resource path
2016-09-30Fix typo for word_wrapvolzhs
2016-09-30Fix error when using 2 or more slashes on resource pathvolzhs
2016-07-31Fix String::is_valid_integer() for single symbols + and -allkhor
2016-07-08Remove unused variables (fourth pass) + dead codeRémi Verschelde
Also fix a potential regression from 3fcb9b1ec179b99d979d4cfea9b5e3c80e4a3e33.
2016-06-24Merge pull request #5380 from vnen/string-canvasitem-docsRémi Verschelde
Documentation for String and CanvasItem
2016-06-24Fix bug in String==StrRange comparisonGeorge Marques
It was comparing the StrRange with itself, always return true if both were the same length. Fix #3843
2016-06-23Add sha256_buffer() function to StringGeorge Marques
2016-06-19Add similarity comparison to StringGeorge Marques
Uses the Sorensen-Dice coefficient to calculate similarity. This also adds String.bigrams() as a convenience function needed by the comparison.
2016-06-17Add sha256 to String and File/FileAccess.Bojidar Marinov
Probably does #4166
2016-06-12Add 'is_subsequence_of' function to StringGeorge Marques
2016-05-21remove trailing whitespaceHubert Jarosz
2016-05-17-Added configuration warning system for nodesJuan Linietsky
-Added a new "add" and "instance" buttons for scene tree -Added a vformat() function to ease translation work
2016-05-11Added possibility to strip left and right to strip_edges (#4594)Mattias Cibien
2016-05-05fix percent decode utf8 errorAlexander Holland
2016-05-03Modified editor strings to be translatable in the futureJuan Linietsky
2016-03-09remove trailing whitespaceHubert Jarosz
2016-02-17Fixed String::camelcase_to_underscore() so it works in all cases. Fixes PR #1650Julian Murgia - StraToN
2016-01-10added a new function to escape properly json, fixes #3282Juan Linietsky
2016-01-03-Replaced tinyjpg for jpgd (public domain), fixes progressive encoded jpgs ↵Juan Linietsky
and speeds up. Closes #2040 -Removed support of loading BitMap as image, now it must be load as a pnm, also closes #2040
2016-01-01Update copyright to 2016 in headersGeorge Marques
2015-11-20Fix call to _snprintf on GCCRémi Verschelde
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.
2015-11-19compile fixesJuan Linietsky
2015-11-19fix compile error in some msvc version (snprintf not found)Ariel Manzur
2015-11-19Fixes the make_doc.sh, <, > and & signs in descriptions that cause the ↵Aren Villanueva
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.
2015-09-24Add missing \n to world_wrap. Close #2516Bojidar Marinov
The issue was that world_wrap would skip over newlines, without adding them to the output.