summaryrefslogtreecommitdiff
path: root/core/ustring.cpp
AgeCommit message (Collapse)Author
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.
2015-09-23Fix _xml_unescape, as suggested by @reduzBojidar Marinov
2015-09-23Flip &lt; and &gt; in String::xml_escape. Close #2511Bojidar Marinov
Before > referred to &lt; and < to &gt;, which is incorrect...
2015-08-25make sure array is created if not existing, as noted by Guilherme FelipeJuan Linietsky
2015-08-25Show documentation for properties on hover.Juan Linietsky
This works if the property has been documented (about half are at this point)
2015-06-30small fixesJuan Linietsky
2015-06-29Several performance improvements, mainly in loading and instancing scenes ↵Juan Linietsky
and resources. A general speedup should be apparent, with even more peformance increase when compiling optimized. WARNING: Tested and it seems to work, but if something breaks, please report.
2015-05-04fix font import path on windows, closes #1675Juan Linietsky
2015-04-18Updated copyright year in all headersJuan Linietsky
2015-03-23Camel casing being capitalized only happens in the inspector now.Nathan Warden
2015-03-22Revert "Camelcased script variables will now capitalize in the inspector."Juan Linietsky
2015-03-22Merge pull request #1396 from Spooner/fix_sprintf_errorsJuan Linietsky
Fix sprintf errors
2015-02-19Camelcased script variables will now capitalize in the inspector.Nathan Warden
2015-02-19Correctly halt on error in sprintf parsing (fixes #1393)Bil Bas (Spooner)
2015-02-01Completed more complex formatting.Bil Bas (Spooner)
2015-02-01Completed implementing standard formatting.Bil Bas (Spooner)
2015-01-10Added basic sprintf functionality (e.g. "fish %d %s" % [12, Vector2(1, 2)])Bil Bas (Spooner)
2015-01-03removed printJuan Linietsky
2015-01-03-fixed issue with denormals in half precission, closes #1073Juan Linietsky
-added h_offset and v_offset to 3D Camera, should allow to do the same as in #1102
2014-10-09-Rasterizer supports meshes with both skeletons and blend shapesJuan Linietsky
-Collada exporter supports Blend Shapes (even on actions via set driven keys)
2014-09-21Fixed too many little issues, check the issues closed today.Juan Linietsky
2014-08-01Small Issues & MaintenanceJuan Linietsky
-=-=-=-=-=-=-=-=-=-=-=-=-= -Begin work on Navigation Meshes (simple pathfinding for now, will improve soon) -More doc on theme overriding -Upgraded OpenSSL to version without bugs -Misc bugfixes
2014-06-11Light Baker!Juan Linietsky
-=-=-=-=-=-= -Support for lightmap baker, have fun figuring out how it works before tutorial is published.
2014-05-13Make String::right count from pos instead of pos+1marynate
2014-03-13Merge branch 'master' of https://github.com/okamstudio/godotJuan Linietsky
Conflicts: modules/multiscript/register_types.cpp platform/android/java/src/com/android/godot/GodotLib.java
2014-03-13-fix bug in cache for atlas import/exportJuan Linietsky
-fix some menus -fixed bug in out transition curves -detect and remove file:/// in collada -remove multiscript for now -remove dependencies on mouse in OS, moved to Input -avoid fscache from screwing up (fix might make it slower, but it works) -funcref was missing, it's there now
2014-02-26Fix string version of begins_withVinzenz Feenstra
Signed-off-by: Vinzenz Feenstra <evilissimo@gmail.com>
2014-02-17Fix for Issue #108Vinzenz Feenstra
Entering a somethign in the 'Path field' triggers the `_path_changed` signal being triggered. This in turn calls Globals::localize_path(const String& p_path) with the currently entered string. localize_path then is replacing backslashes with slashes and calls afterwards `String::simplify_path` String::simplify_path is checking wheter a string starts with: - res:// - local:// - user:// If any of those is true it removes this section. However, if any of the first letters of those are matching begins_with returns true, which is wrong. It should only return true if the whole string is matched at the beginning. This caused the whole desaster and lead localize_path into an endless loop because out of `u` suddenly became user:// which it then tried again to localize and so on. This fix, fixes the root of the problem which is begins_with which should not return true if not the whole search string was matched. Signed-off-by: Vinzenz Feenstra <evilissimo@gmail.com>
2014-02-09GODOT IS OPEN SOURCEJuan Linietsky