Commit Graph

126 Commits

Author SHA1 Message Date
jief666
1c4bb3f823 Some CHAR16* refactored to XStringW.
Add insertAtPos, deleteCharsAtPos.
Bug : moved trim, lowerAscii, upperAscii in XStringAbstract.
2020-08-10 14:06:06 +03:00
jief666
4555bb9e9f Remove the last PoolPrints. 2020-08-09 18:55:30 +03:00
jief
a2b8d1217f Handle self assignment for ObjArray. 2020-05-23 23:12:48 +03:00
Jief L
a2b23b391f Add XStringArray::remove and removeIC tests. Create var for "quiet" and
"splash".
2020-05-10 12:41:34 +03:00
Jief L
ce9538bb4e strcpy bug. DecodeOptions bug. 2020-05-03 23:53:50 +03:00
Jief L
ab90362ebf Split and ConcatAll more flexible. 2020-05-03 18:07:34 +03:00
Jief L
5ad1616d7f XtoolsCommon tests. 2020-05-01 00:43:44 +03:00
Jief L
0c88de9390 Rename _XS to _XS8 2020-04-30 09:22:26 +03:00
Jief L
e170b16516 Rename XString to XString8. 2020-04-30 09:03:56 +03:00
Jief L
82b679bcbd Avoid memory copy at XString initialisation. 2020-04-30 08:17:51 +03:00
Jief L
de2bb5f950 Refactor some Path to XStringW. 2020-04-27 12:50:49 +03:00
jief
2ccc95513e Improve Split in XStringArray. 2020-04-26 14:52:10 +03:00
jief
7d43ca70d5 XStringArray re-implementation with template. 2020-04-26 13:12:05 +03:00
Jief L
8d35aa3ecc new trim method in XString. 2020-04-25 14:33:01 +03:00
Jief L
a71fe28d34 Fix VS compilation. 2020-04-25 12:59:07 +03:00
Jief L
fc0b83c34b Fix warnings. 2020-04-24 18:15:05 +03:00
Jief L
5f195c9d8a More cleaning in tests. 2020-04-24 12:30:09 +03:00
Jief L
ad33a3b16a Replace XToolsCommon by XToolsConf in include. Improved panic(). 2020-04-24 09:36:29 +03:00
Jief L
73411bbc47 Cleaning in XString. Some method renaming. 2020-04-23 23:43:35 +03:00
Jief L
fd0f4589ec New implementation of XString. 2020-04-23 16:20:48 +03:00
jief
22ba40a466 Deactivate XStringW operator with native type (to catch things like
"Title != NULL")
2020-04-23 11:23:57 +03:00
Sergey Isakov
e37d782aad VS2019 compatibility
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-04-20 15:45:25 +03:00
jief
1db9b51864 Revert a change, add a test. 2020-04-17 16:32:12 +03:00
jief
647955dd8c Fix %x format for char and short. 2020-04-17 15:27:38 +03:00
jief
e429268dfc Remove functions prototypes from Plateform.h 2020-04-16 10:15:26 +03:00
jief
ff91406362 Update unicode_conversions 2020-04-15 20:28:59 +03:00
jief
c248c89a50 Forgotten with previous commit. 2020-04-15 19:03:38 +03:00
jief
e471eb744a Make Id protected in XCinema 2020-04-14 22:37:44 +03:00
jief
3ed1a89bcc Swicth %X to %x in snprintf and get rid of LowCase. 2020-04-13 10:25:42 +03:00
Jief L
cb51add9aa Add 2 tests about spd serial. 2020-04-11 09:12:10 +03:00
Jief L
325b576b1d End of AsciiSPrintf replacement. 2020-04-10 16:52:49 +03:00
Jief L
109cbc1cda Some more checked conversion to snprintf. 2020-04-10 16:27:04 +03:00
Jief L
2fb28154a8 Unit test. 2020-04-10 14:32:10 +03:00
Jief L
8e8fb57178 Fix printf width specifier for %s. 2020-04-10 14:01:16 +03:00
Jief L
91b0145ab9 Disable automatic conversion of XString to wchar_t*. 2020-04-09 19:32:46 +03:00
Jief L
7ad745cfa1 Replace utf8Conversion by unicode_conversions. 2020-04-09 18:46:17 +03:00
Jief L
da5dc56504 Add a test in XStringW. 2020-04-09 18:12:48 +03:00
Jief L
879b0c2961 DontStopAtPanic helper, XUINTN remove, PRIuPTR and few warnings. 2020-04-08 13:49:00 +03:00
Jief L
b8bb76d51e Refactor LoadOptions as XString. 2020-04-05 15:25:39 +03:00
Jief L
1c1db57638 Get rid of UnicodeSPrint. 2020-04-04 16:50:13 +03:00
Jief L
fbfc206a41 Renamed SPrintf to SWPrintf for XStringW 2020-03-31 19:10:30 +03:00
Jief L
6f64681239 Fix includes and refit.inf 2020-03-31 19:05:34 +03:00
Jief L
23b45d569a Get rid of XStringWP + few cleanings. 2020-03-31 18:59:35 +03:00
Jief L
6f46b07534 Operator _XS. Fix to VectorGraphics I've misunderstood. 2020-03-29 12:40:13 +03:00
Jief L
324b0608e6 Move operator (ctor and =). 2020-03-28 19:17:02 +03:00
Jief L
651f7a02c6 Get rid of Print() calls. 2020-03-28 18:14:18 +03:00
Sergey Isakov
e5beea2f1b exclude tests for VS
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-03-27 11:29:38 +03:00
Jief L
ee6124bd10 Bye bye PoolPrintFloat. 2020-03-26 15:59:20 +03:00
Jief L
e8fd94bb8f Switch to new printf format for DebugLog. 2020-03-25 21:32:44 +03:00
asava
ceb6ffbd2f Omit debug to console in printf_lite tests 2020-03-21 23:36:24 +02:00
Jief L
14cdfe29c7 MemLogf and MemLogfVA. Not used yet in Clover. 2020-03-21 16:12:26 +03:00
jief
0484955f0b New platform Posix. Replace strlen, strcmp implementation. 2020-03-13 16:11:58 +03:00
Jief L
d1a66122d3 Start to switch UTF16 litteral to utf8. 2020-03-12 20:45:28 +03:00
jief
b920b9f8fb Introducing a UTF8 XString 2020-03-12 17:40:38 +03:00
Jief L
8541a85391 Disable warning for VS. 2020-03-11 21:36:21 +03:00
jief
b0da9ea598 cpp tests debug message cleaning. 2020-03-11 19:41:45 +03:00
jief
d3f5ae071e Remove dead code that gives a warning with GCC. 2020-03-11 19:32:32 +03:00
jief
19cfe2831a Warning removal. New class XUINTN (not yet used). 2020-03-11 17:23:58 +03:00
Sergey Isakov
61cab50a09 fix mistake with deleteParser
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-03-11 14:52:40 +03:00
Sergey Isakov
0d4c4eb5ee C++ One Definition Rule
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-03-10 21:31:40 +03:00
jief
51711c1004 Disable assign & ctor with char* and wchar_t* parameter. 2020-03-10 19:50:55 +03:00
jief
7256a868e5 REFIT_ABSTRACT_MENU_ENTRY.Title to XStringW 2020-03-10 14:51:04 +03:00
Sergey Isakov
956009f8ea files for qemu
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-03-10 07:32:08 +03:00
jief
2b41073035 Jief debug code 2020-03-05 10:38:15 +03:00
jief
c6a59f85f9 Caught few access to address 0 2020-03-05 00:54:59 +03:00
Jief L
2fca0d97a5 VS2017 C++ globals and unit tests 2020-03-04 16:37:39 +03:00
Sergey Isakov
b9b89cc46a change debugging codes
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-03-04 09:20:37 +03:00
jief
fc2f226e8d Resolve conflicts. Compile, but unresolved external. 2020-03-03 17:43:23 +03:00
Sergey Isakov
8ff35c6295 improved XPoitner and XImage, menu advance
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-03-03 17:17:39 +03:00
jief
e05286e4a4 Big big refactoring of REFIT_MENU structs. They are now objects.
There is some cleaning to do
in the hierarchy of REFIT_ABSTRACT_MENU_ENTRY.
2020-02-28 23:28:33 +03:00
jief
c77802d200 Refactor of "Volumes" global var as an XObjArray. 2020-02-27 17:34:29 +03:00
Sergey Isakov
282bc531d7 fix GCC53 compatibility
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-02-25 20:42:06 +03:00
Sergey Isakov
0155a4bf8a some VS adoptations
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-02-25 13:29:33 +03:00
jief
40dbcf08a9 UTF8 conversion for XStringW 2020-02-24 16:07:24 +03:00
jief
71e952401a Import XStringWArray in Clover.
Added unit tests
2020-02-23 23:23:31 +03:00
jief
56ca2c3e67 Import XArray and XObjArray.
Create a basic unit test of C++ classes.
2020-02-23 14:21:28 +03:00