Commit Graph

78 Commits

Author SHA1 Message Date
Branimir Karadžić
36ad6131f4 Added: bx::formatHumanNumber. (#368) 2026-02-01 02:45:04 +00:00
Branimir Karadžić
d8d7d13c85 Happy New Year! (#363) 2026-01-14 15:30:08 +00:00
Branimir Karadžić
808aa150f8 StringView constexpr. (#351) 2025-11-23 02:41:54 +00:00
Бранимир Караџић
c8128850f8 Implement getCallStackFast/Exact for fast call-stack backtrace. 2025-10-14 23:05:08 -07:00
Бранимир Караџић
81ea23aba0 Fixed unit test. 2025-09-19 20:55:45 -07:00
Branimir Karadžić
2fe4b15234 Added FixedStringT. 2025-09-19 20:36:42 -07:00
Martijn Courteaux
5fb8c15e15 TinySTL attempt 3. (#342)
* Update TinySTL (attempt 2).

* Fix MSVC compilation issue for TinySTL.

* Fix MSVC warning.

* Favor ptrdiff_t for sizes in string.

* Update genie.lua

* Update math_test.cpp

* Update test.h

* Update test.h

---------

Co-authored-by: Бранимир Караџић <branimirkaradzic@gmail.com>
2025-01-31 16:14:20 -08:00
Бранимир Караџић
fae06fa431 Revert "Update TinySTL (attempt 2). (#341)"
This reverts commit 73966ef218.
2025-01-30 11:42:36 -08:00
Martijn Courteaux
73966ef218 Update TinySTL (attempt 2). (#341) 2025-01-29 20:38:06 -08:00
Бранимир Караџић
8ebafda960 toString: Added more tests. 2025-01-17 16:28:06 -08:00
Бранимир Караџић
13c40f9a6e Happy New Year! 2025-01-13 15:45:25 -08:00
Бранимир Караџић
3e9604c743 Removed BX_STATIC_ASSERT. Not needed in C++17. 2024-12-07 22:51:31 -08:00
Бранимир Караџић
67dfdf34f6 Happy New Year! 2024-01-14 01:55:51 -08:00
Бранимир Караџић
7ac95d5131 Added test tags. Broken up libm tests. 2023-06-03 20:56:11 -07:00
Бранимир Караџић
ac1b473832 Clang: Fixed bx::signbit. 2023-06-01 20:00:05 -07:00
Бранимир Караџић
7e6f30a241 Removed StringView ctor/set argument default values. 2023-05-09 18:17:01 -07:00
Бранимир Караџић
6c7ddeb2a3 Cleanup. 2023-05-04 20:23:06 -07:00
Бранимир Караџић
d403162701 Added bx::StringLiteral. 2023-05-04 20:09:54 -07:00
Бранимир Караџић
1b227fada6 Happy New Year! 2023-01-14 10:04:18 -08:00
Бранимир Караџић
d1becf7991 Cleanup. 2022-09-01 22:00:16 -07:00
Бранимир Караџић
c969169fc1 Happy New Year! 2022-01-15 11:58:42 -08:00
Бранимир Караџић
b15aa9057a Added a few more trim tests. 2022-01-01 10:47:21 -08:00
kingscallop
0ccbdcaa0c Fix various trim functions (#271)
Trim doesn't handle the case where the whole string should be trimmed,
due to being composed of only trimmable chars.
For example the string "\n" when trimmed with chars " \t\n\r" should
yield the empty string "" and not return "\n".
Some test cases were fixed and some were added.
2022-01-01 10:38:58 -08:00
Бранимир Караџић
0f8bd8dfd5 Fixed issue #267. 2021-12-01 18:57:24 -08:00
Бранимир Караџић
f5c797a03a vsnprintf now can take StringView as argument. 2021-10-03 16:11:27 -07:00
Бранимир Караџић
70f998ba19 Added strTrimPrefix/Suffix. 2021-10-02 11:20:32 -07:00
Бранимир Караџић
e7a74d8768 Added hasPrefix, and hasSuffix string functions. 2021-10-01 20:12:44 -07:00
Бранимир Караџић
99d4cb78ad Added strRTrimSpace and strTrimSpace. 2021-01-22 19:25:23 -08:00
Бранимир Караџић
be174e43e6 Happy New Year! 2021-01-14 15:52:13 -08:00
Бранимир Караџић
74e8c2bd91 Happy New Year! 2020-01-14 21:25:09 -08:00
Бранимир Караџић
1680ef418a Fixed issue #222. 2019-11-24 19:27:13 -08:00
Бранимир Караџић
d60912bcb5 Fixed issue #218. 2019-09-27 09:43:57 -07:00
Бранимир Караџић
bb3426030a Fixed strCmp. 2019-02-17 16:09:58 -08:00
Бранимир Караџић
1a2c2cd4a0 Happy New Year! 2019-01-13 17:11:07 -08:00
Branimir Karadžić
ac47b863b0 Switch to C++14. 2018-11-12 19:20:31 -08:00
Branimir Karadžić
43f530b4ec Cleanup. 2018-11-11 16:48:46 -08:00
Branimir Karadžić
7cdcfdc94b Replaced strmb with strFindBlock. 2018-10-28 16:58:32 -07:00
Branimir Karadžić
0af3748629 StringView cleanup. 2018-10-21 19:16:28 -07:00
Branimir Karadžić
5c17a7d678 Added strSkip unit test. 2018-10-05 21:34:41 -07:00
Branimir Karadžić
a4447f725b Added commified output when converting from integer to string. 2018-07-16 19:37:49 -07:00
Branimir Karadžić
6db21d9a36 Fixed issue #178. 2018-02-24 07:19:30 -08:00
Branimir Karadžić
d0e2be1755 Cleanup. 2018-02-22 15:45:42 -08:00
Branimir Karadžić
9987d5cc5a Added STL string to bx::StringView conversion. 2018-02-20 11:14:17 -08:00
Branimir Karadžić
4a77249234 Happy New Year! 2018-01-01 11:13:43 -08:00
Branimir Karadžić
95b68197c3 Cleanup. 2017-12-20 11:08:53 -08:00
Branimir Karadžić
e3993fd7e9 Cleanup. 2017-12-09 17:54:52 -08:00
Branimir Karadžić
148bdc60fa Cleanup. 2017-11-27 23:10:20 -08:00
Branimir Karadžić
03a6f9d6f2 Cleanup. 2017-11-13 09:23:48 -08:00
Branimir Karadžić
386d050b75 Cleanup. 2017-11-12 19:56:03 -08:00
Branimir Karadžić
54fad631a4 Added .ini settings utility. 2017-11-12 17:25:49 -08:00