358 Commits

Author SHA1 Message Date
Бранимир Караџић
a2dff8e0a0 Added bx::unique. 2022-09-10 08:37:47 -07:00
Бранимир Караџић
d1becf7991 Cleanup. 2022-09-01 22:00:16 -07:00
Бранимир Караџић
274771cb46 Added typetraits.h 2022-08-31 21:29:57 -07:00
Бранимир Караџић
0ee20c6c83 Cleanup. 2022-08-28 14:33:21 -07:00
Бранимир Караџић
dbafa143d9 Added BX_OFFSETOF. 2022-08-25 20:01:07 -07:00
Бранимир Караџић
d4403099f9 Added numeric min/max for type. 2022-08-22 20:30:24 -07:00
Бранимир Караџић
6322a5159d Cleanup. 2022-08-22 07:20:10 -07:00
Бранимир Караџић
7d784e74ff Fixed atan2. Issue #282. Caused by 7929f098f5. 2022-08-21 18:39:42 -07:00
Бранимир Караџић
f39ba8010a Updated catch2 v3.1.0 - https://github.com/catchorg/Catch2/releases/tag/v3.1.0 2022-08-21 17:18:24 -07:00
Бранимир Караџић
a8545d7b5b Added lower/upperBound, templatizes comparison functions. 2022-08-21 16:21:51 -07:00
Бранимир Караџић
7929f098f5 Fixed bx::sign function to return tri-state result. 2022-08-20 11:35:27 -07:00
Бранимир Караџић
a8b2d9ee4e Cleanup. 2022-08-19 20:49:52 -07:00
Бранимир Караџић
ba7024418d Disabled unit-test ANSI color output for Emscripten build. 2022-08-08 20:19:19 -07:00
Бранимир Караџић
91fb6f84cd Cleanup. 2022-08-08 20:01:07 -07:00
Бранимир Караџић
cfb6a1c1e0 Cleanup. 2022-08-07 21:25:23 -07:00
Бранимир Караџић
81025f36da Added binarySearch, and isSorted functions. 2022-08-07 19:26:28 -07:00
Бранимир Караџић
74b5b7ef11 Added HashCrc32 type test. 2022-08-01 19:23:42 -07:00
Бранимир Караџић
13ae21207d Cleanup. 2022-07-27 14:47:57 -07:00
nathanstouffer
1f5b2117e5 Add unit tests for unruly functions on release builds of web (#278)
* add unit tests for unruly inputs to sqrt

* add unit tests for unruly inputs to sin/cos on release web
2022-07-27 14:46:07 -07:00
Бранимир Караџић
0314d3b018 Hash cleanup. 2022-05-23 18:45:58 -07:00
Бранимир Караџић
c634760181 Fixed warnings. 2022-05-22 20:10:27 -07:00
Бранимир Караџић
1d7f087ba9 Added MurmurHash2A test. 2022-05-22 20:06:41 -07:00
Бранимир Караџић
d7ecac1706 Removed musl libc workaround inability to detect it via macros. 2022-04-18 18:13:15 -07:00
luzpaz
ad018d47c6 Fix various typos (#272)
* Fix various typos

Found via `codespell -q 3 -S ./3rdparty -L ba,nin,numer,ro`

* Fix source typo in tests/crt_test.cpp
2022-02-05 19:08:43 -08: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
Бранимир Караџић
cea0995f2d Fixed toUpper/toLower string function. 2021-12-04 07:36:43 -08:00
Jim Drygiannakis
950f71632d Fixed issue #267 (#268) 2021-12-03 10:10:41 -08:00
Бранимир Караџић
0f8bd8dfd5 Fixed issue #267. 2021-12-01 18:57:24 -08:00
Бранимир Караџић
51c3264846 Fixed assert macros, and improved error handling. 2021-10-25 18:59:11 -07:00
Branimir Karadžić
5c4fdc884b Fixed warnings. 2021-10-13 20:07:24 -07:00
Бранимир Караџић
5dfb7f91f5 Cleanup. 2021-10-13 19:54:13 -07:00
Бранимир Караџић
2eee001125 Cleanup. 2021-10-12 21:04:11 -07:00
Бранимир Караџић
44c9661169 Cleanup. 2021-10-08 19:06:39 -07:00
Бранимир Караџић
c7fc7b4ac6 Fixed non-POD varargs. 2021-10-04 13:28:19 -07: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
Бранимир Караџић
59b391d9d6 printf: Fixed parsing invalid format specifier. 2021-10-02 09:51:18 -07:00
Бранимир Караџић
e7a74d8768 Added hasPrefix, and hasSuffix string functions. 2021-10-01 20:12:44 -07:00
Бранимир Караџић
e50536ac03 Added initializer types. 2021-09-06 09:03:01 -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
Бранимир Караџић
f888abe8fb RRenamed BX_CHECK to BX_ASSERT. 2020-06-16 10:06:04 -07:00
Бранимир Караџић
3fc639a235 Cleanup. 2020-05-17 10:44:33 -07:00
Бранимир Караџић
73af60ade3 Updated vsnprintf tests. 2020-05-04 22:04:45 -07:00
Бранимир Караџић
f26f7feeb0 Fixed printf formating. 2020-04-30 23:00:16 -07:00
Бранимир Караџић
f98e4b29ee Fixed printf formating. 2020-04-30 20:55:36 -07:00
Бранимир Караџић
f1db37eec3 Fixed printf width parameter. 2020-04-29 17:57:54 -07:00
Бранимир Караџић
39711f53df Removed alignment macros, and added functions instead. 2020-04-19 18:22:33 -07:00