Commit Graph

22 Commits

Author SHA1 Message Date
D8H 74a60f6a12 Remove a failing test on float printing since we only use double (#8181) 2026-01-28 10:40:16 +01:00
D8H 91a02d132f Remove the dependency to SFML (#3865)
* This allows to run Core tests more easily.
2022-05-13 13:27:41 +02:00
Florian Rival 0c6511ac69 Modify tags in extensions made in the editor so that they are stored as an array of strings
Only show in developer changelog
2020-12-17 22:08:53 +01:00
Florian Rival a8559bfbbc Add clang-format to format (C++) source files automatically (#491)
* Update all CMakeLists of extensions to use clang-format
* Run clang-format on all Extensions
* Update GDCore CMakeLists.txt to add clang-format
* Run clang-format on GDCore files
* Update GDJS and GDCpp CMakeLists.txt to add clang-format
* Run clang-format on GDCpp and GDJS files
2018-05-09 15:57:38 -07:00
Florian Rival e444e80493 Update copyrights year 2016-01-14 19:46:56 +01:00
Florian Rival b24e37ff01 Refactoring to use gd::String::FindAndReplace 2015-08-24 19:24:38 +02:00
Florian Rival c369db20ba Add gd::String::FindAndReplace and tests for it 2015-08-24 18:06:36 +02:00
Victor Levasseur 2a0052b207 Add gd::String::From/To template to replace all FromXXX/ToXXX() methods 2015-07-21 14:35:29 +02:00
Victor Levasseur 14fa7118fc Improve priv::PositionFromCaseFolded 2015-07-20 21:58:25 +02:00
Victor Levasseur cb37c4f9a1 Add FindCaseInsensitive in gd::String 2015-07-20 10:32:55 +02:00
Victor Levasseur 3b8518c691 Add support for Unicode casefolding (for case-insensitive searches) and normalization
All strings are normalized when constructed (if the string is UTF8-valid)
2015-07-19 14:01:01 +02:00
Victor Levasseur 445e0061a7 Remove Utf8Tools.h 2015-07-17 12:05:12 +02:00
Victor Levasseur 479ec12e18 Add a lot more tests for gd::String 2015-07-14 21:00:35 +02:00
Victor Levasseur 4efab914fe Rename Utf8String.h/.cpp to String.h/.cpp 2015-07-09 18:17:13 +02:00
Victor Levasseur eb32c32bb9 Add tests for find_first/last(_not)_of and fix a bug in find_last_of 2015-06-28 22:36:45 +02:00
Victor Levasseur 86abc65988 Fix tests with Travis CI (clang) 2015-06-28 21:22:06 +02:00
Victor Levasseur 3c543c1109 Add two gd::String::erase overloads, fix a possible bug in the test 2015-06-28 19:19:29 +02:00
Victor Levasseur 460a7609ae Add a gd::String::replace overload, add a test for this method 2015-06-28 18:44:50 +02:00
Victor Levasseur 10b40edc7e gd::String::rfind is now implemented inside the class 2015-06-28 17:37:27 +02:00
Victor Levasseur 625708d45e Add gd::String::find overloads, rewrite find method
Add tests for gd::String
2015-06-27 23:18:30 +02:00
Victor Levasseur 50bc037be9 Fix the UTF SubStr function not throwing an exception when pos > length
Improve UTF8 tests
2015-05-09 12:08:24 +02:00
Victor Levasseur ed6ef52fd2 Add tests for Utf8 tools 2015-05-09 11:38:59 +02:00