jief666
d4b3fb9b7a
Bug I introduced in StrHToBuf.
...
Remove PRINTF_EMIT_CR=1.
ReleaseDate wrongly had a \n at the end.
Bug in utf8_stringnn_from_utf16_string.
XString replaceAll(XString,XString) function.
2020-08-16 16:21:12 +03:00
jief666
de45197556
Correct trim() in XString.
2020-08-16 12:33:41 +03:00
jief666
bc04c86a93
Refactoring some CHAR8* and CHAR16* to XString.
2020-08-15 16:47:56 +03:00
jief666
8947e66382
SETTINGS serialize method.
2020-08-13 15:07:40 +03:00
jief666
052732eba0
Refactor GetStrArraySeparatedByChar, replaced by Split
2020-08-13 11:21:45 +03:00
jief666
59d8cbad7f
Refactoring KEXT_PATCH.
...
Change numerous CHAR8* CHAR16* to XString.
2020-08-12 18:15:47 +03:00
jief666
29718aaa0b
Fix -W effc++ warnings.
...
SETTINGS_DATA is a class.
XIcon is separate class.
KernelAndKextPatches in LOADER_ENTRY is not a pointer anymore.
2020-08-11 15:43:53 +03:00
jief666
7765a988fe
XStringArray self assignament test.
...
Rename SPrintf S8Printf.
Rename NullXString NullXString8.
Rename XStringArray XString8Array.
2020-08-11 09:00:19 +03:00
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
SergeySlice
7af605b0b6
eliminate some warnings by gcc10
...
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-05-15 06:23:33 +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 L
af28b47c72
Refactor BootOptions as XStringArray.
2020-04-26 16:07:30 +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
asava
0847234281
Enhance Linux Scan and some other GUI corrections
2020-04-26 02:54:13 +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
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
5d38db4501
Simplify dataSized. Update refit.inf.
2020-04-23 17:02:48 +03:00
Jief L
fd0f4589ec
New implementation of XString.
2020-04-23 16:20:48 +03:00
SergeySlice
16806d435f
demo other linux
...
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-04-23 14:36:35 +03:00
SergeySlice
574cc3261c
Merge branch 'master' of https://github.com/CloverHackyColor/CloverBootloader
2020-04-23 12:08:23 +03:00
SergeySlice
01f33f7552
detect unknown linux versions,
...
stylish change: remove space between func and brace
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
2020-04-23 12:08:10 +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
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
c405c4e4f3
Remove const on takeValueFrom.
2020-04-15 19:01:14 +03:00
Jief L
2d11da499e
Silence warnings.
2020-04-09 20:07:32 +03:00
Jief L
91b0145ab9
Disable automatic conversion of XString to wchar_t*.
2020-04-09 19:32:46 +03:00
Jief L
751fcfb8df
Git rid of unused XStringWP.
2020-04-09 18:53:21 +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
Sergey Isakov
75427f2d83
refactoring text handling
...
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-04-07 22:48:36 +03:00
Jief L
b8bb76d51e
Refactor LoadOptions as XString.
2020-04-05 15:25:39 +03:00
asava
ed196e10c8
Correct missouts preventing compilation
2020-04-03 01:54:03 +03:00
Jief L
418b4f4cc3
Get SelectionImage to work.
2020-04-02 22:27:10 +03:00
Jief L
fbfc206a41
Renamed SPrintf to SWPrintf for XStringW
2020-03-31 19:10:30 +03:00
Jief L
23b45d569a
Get rid of XStringWP + few cleanings.
2020-03-31 18:59:35 +03:00
Jief L
2cb912ca74
Fix XImage assignment operator a better way.
2020-03-31 00:42:58 +03:00
Sergey Isakov
6dc43d9d8e
a possibility to use wchar in icon names
...
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-03-30 18:31:52 +03:00
Jief L
e734530b9b
Get rid of AsciiSPrint.
2020-03-29 16:44:08 +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
Sergey Isakov
8f2c4b5efd
separate data in global config
...
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-03-27 19:50:17 +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
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 L
3d73ed884e
VS2017 warnings.
2020-03-12 19:16:18 +03:00
Jief L
c2897bf11e
DBG wrongly defined in XString header.
2020-03-12 18:27:17 +03:00
Jief L
3ded70c215
Avoid redefining in XString. refit.inf updated.
2020-03-12 18:23:36 +03:00
Jief L
4cad90281f
Activate snprintf in printf_lite.
2020-03-12 17:46:04 +03:00
jief
b920b9f8fb
Introducing a UTF8 XString
2020-03-12 17:40:38 +03:00
jief
3e95e94a05
Allow NULL as parameter in StrLenInWChar.
2020-03-11 19:32:08 +03:00
jief
acfb89da04
Resolved ambiguous operator for clang.
2020-03-11 17:27:07 +03:00
jief
19cfe2831a
Warning removal. New class XUINTN (not yet used).
2020-03-11 17:23:58 +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
jief
1cb7b4e69e
Few cleaning in XImage. XPointer improvement.
...
Renamed some method in XArray XObjArray and XStringW.
2020-03-09 04:12:24 +03:00
Sergey Isakov
d71acbb41d
testing draw, not working
...
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-03-06 17:02:06 +03:00
jief
564a3ca06c
Make XPointer a shared instance. Fixed some unallocated memory with
...
XArray.
2020-03-06 10:55:52 +03:00
Jief L
2fca0d97a5
VS2017 C++ globals and unit tests
2020-03-04 16:37:39 +03:00
jief
5b1c65486c
XPointer revisited.
2020-03-02 18:43:54 +03:00
jief
dec25e954e
Start refactoring includes. Make gen-config compile.
2020-02-29 10:30:21 +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
5c73df9feb
use setEmpty in XArray
...
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-02-27 16:11:03 +03:00
Sergey Isakov
6c6fe90842
use isEmpty and setEmpty
...
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-02-27 15:32:14 +03:00
jief
5fc9b805af
empty cannot be define for a const object, because empty modifed itself.
2020-02-27 14:48:47 +03:00
Sergey Isakov
d1043e2673
modify XArray and lodepng to compile as cpp
...
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-02-27 12:17:50 +03:00
Sergey Isakov
a4952d32de
preliminary introduce image class
...
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-02-25 16:55:39 +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
2775f5a2d4
refit.inf update.
...
Removed an inline that failed compilation with clang.
2020-02-24 22:02:32 +03:00
jief
ed8f05d367
Commit the real files instead of symlinks.
2020-02-24 17:51:58 +03:00
jief
eb5071dede
Remove symlinks.
2020-02-24 17:51:02 +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