24 Commits

Author SHA1 Message Date
maron2000
e1d74ab354 Add a dot to CD labels when longer than 8 characters 2025-03-15 21:12:38 +09:00
maron2000
55708743c2 Fix unit testing for Set_Label function 2025-01-13 21:49:37 +09:00
maron2000
c10b11554f Some more fixes for Set_Label tests 2025-01-12 00:11:47 +09:00
maron2000
befd0dc78e Some more fixes in Set_Label testing 2025-01-12 00:01:38 +09:00
maron2000
c0e4cb1637 Fix Set_label test 2025-01-11 23:56:55 +09:00
Jaak Ristioja
4a6bcc706e
Use nullptr/NULL instead of 0 for pointers, two fixes for undefined behavior
This commit fixes most -Wzero-as-null-pointer-constant warnings, except in
some places which appear to be vendored 3rd party libraries, e.g. in sdl_ttf.c,
libchdr, physfs and gmock and in 3rd party components therein. Since it might
make more sense to update this 3rd party code to some later versions instead of
fixing the warnings manually, I decided not to enable the C++ compiler flag in
configure.ac at this point.

In two functions with the return type of std::string executed `return 0;`
statements, causing std::string to be constructed from a null pointer. To avoid
undefined behavior these were changed to `return {};`.

Signed-off-by: Jaak Ristioja <jaak@ristioja.ee>
2024-05-09 14:18:10 +03:00
RainRat
902ce67fad fix typos 2024-02-28 19:08:20 -08:00
crazii
cbbe23a2bd tiny bugfix. 2023-12-02 03:12:00 +08:00
crazii
f0bd7f05f2 enable debugger 2023-12-01 13:12:34 +08:00
Wengier
0ade375ae1 fix test code 2022-04-16 16:01:23 -04:00
Wengier
588a84c234 update 2022-03-29 17:57:23 -04:00
Wengier
7de086d3e2 add test 2022-03-28 17:01:26 -04:00
Wengier
20b4d03143 fix failed test 2022-01-15 20:48:54 -05:00
Wengier
a4d431c6c4 more 2021-11-27 00:21:26 -05:00
Wengier
d8dce08ddf make option changeable 2021-11-24 02:55:39 -05:00
Wengier
cc35d356c7 fix for HX-DOS build 2021-11-23 23:35:48 -05:00
Wengier
fa288f31f6 more 2021-11-23 22:40:59 -05:00
Wengier
d090d48861 fix for unit tests 2021-11-23 22:28:16 -05:00
Brandon Roberts
40e502a3d8 add DOS files tests and fixed for DOSBox-X 2021-11-23 22:27:38 -05:00
Wengier
796d0befe2 fix to pass tests 2021-11-23 20:02:20 -05:00
Wengier
a7170ad496 add GTest files 2021-11-23 07:05:51 -05:00
Wengier
baaebd367b make unit tests available in all debug builds 2021-11-23 06:19:51 -05:00
Brandon Roberts
04dc30abb8 Add unit tests from Staging 2021-11-23 04:58:07 -05:00
Wengier
219f3ebf89 Add Google unit test for VS builds (via -tests option) 2021-11-23 04:53:22 -05:00