kdelibs/kdeui/tests/kconfig_compiler
Ivailo Monev 9a5af1214b kdecore: reimplement KuitSemantics
is interesting how much simpler it can be by assuming that the tags are
strict and by using Qt::mightBeRichText() for the rich text detection.
while mostly compatible (entities are not converted, some tags were not
used and some even did not do anything) it is subject to optimization by
using QStringMatcher or other tricks (like using a separate tag for the
numbers precision)

overall - no regular expression matching, no XML parser is used and does
what the old implementation was doing but with less code. also passes
most tests (the exception is KLocalizedString test case that expect
entities to be replaced)

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-08-17 01:43:12 +03:00
..
CMakeLists.txt generic: remove redundant build varibles 2023-06-17 20:25:52 +03:00
kconfigcompiler_test.cpp generic: use CMake moc instead of automoc4 by default 2015-02-27 07:40:26 +00:00
kconfigcompiler_test.h generic: namespaced Qt4/Katie build fixes 2017-08-04 09:24:39 +00:00
myprefs.h initial import 2014-11-13 01:04:59 +02:00
test1.cpp.ref kdecore: deal with TODO related to KConfigSkeleton::ItemEnum 2022-09-23 11:28:46 +03:00
test1.h.ref initial import 2014-11-13 01:04:59 +02:00
test1.kcfg initial import 2014-11-13 01:04:59 +02:00
test1.kcfgc initial import 2014-11-13 01:04:59 +02:00
test1main.cpp initial import 2014-11-13 01:04:59 +02:00
test2.cpp.ref kdecore: deal with TODO related to KConfigSkeleton::ItemEnum 2022-09-23 11:28:46 +03:00
test2.h.ref initial import 2014-11-13 01:04:59 +02:00
test2.kcfg initial import 2014-11-13 01:04:59 +02:00
test2.kcfgc initial import 2014-11-13 01:04:59 +02:00
test2main.cpp initial import 2014-11-13 01:04:59 +02:00
test3.cpp.ref generic: drop support for storing passwords in kcfg files 2022-10-16 19:11:32 +03:00
test3.h.ref generic: drop support for storing passwords in kcfg files 2022-10-16 19:11:32 +03:00
test3.kcfg generic: drop support for storing passwords in kcfg files 2022-10-16 19:11:32 +03:00
test3.kcfgc initial import 2014-11-13 01:04:59 +02:00
test3a.cpp.ref generic: drop support for storing passwords in kcfg files 2022-10-16 19:11:32 +03:00
test3a.h.ref generic: drop support for storing passwords in kcfg files 2022-10-16 19:11:32 +03:00
test3a.kcfg generic: drop support for storing passwords in kcfg files 2022-10-16 19:11:32 +03:00
test3a.kcfgc initial import 2014-11-13 01:04:59 +02:00
test3amain.cpp initial import 2014-11-13 01:04:59 +02:00
test3main.cpp initial import 2014-11-13 01:04:59 +02:00
test4.cpp.ref kdecore: deal with TODO related to KConfigSkeleton::ItemEnum 2022-09-23 11:28:46 +03:00
test4.h.ref initial import 2014-11-13 01:04:59 +02:00
test4.kcfg initial import 2014-11-13 01:04:59 +02:00
test4.kcfgc initial import 2014-11-13 01:04:59 +02:00
test4main.cpp initial import 2014-11-13 01:04:59 +02:00
test5.cpp.ref kdecore: deal with TODO related to KConfigSkeleton::ItemEnum 2022-09-23 11:28:46 +03:00
test5.h.ref initial import 2014-11-13 01:04:59 +02:00
test5.kcfg initial import 2014-11-13 01:04:59 +02:00
test5.kcfgc initial import 2014-11-13 01:04:59 +02:00
test5main.cpp initial import 2014-11-13 01:04:59 +02:00
test6.cpp.ref initial import 2014-11-13 01:04:59 +02:00
test6.h.ref initial import 2014-11-13 01:04:59 +02:00
test6.kcfg initial import 2014-11-13 01:04:59 +02:00
test6.kcfgc initial import 2014-11-13 01:04:59 +02:00
test6main.cpp initial import 2014-11-13 01:04:59 +02:00
test7.cpp.ref initial import 2014-11-13 01:04:59 +02:00
test7.h.ref initial import 2014-11-13 01:04:59 +02:00
test7.kcfg initial import 2014-11-13 01:04:59 +02:00
test7.kcfgc initial import 2014-11-13 01:04:59 +02:00
test7main.cpp initial import 2014-11-13 01:04:59 +02:00
test8a.cpp.ref initial import 2014-11-13 01:04:59 +02:00
test8a.h.ref initial import 2014-11-13 01:04:59 +02:00
test8a.kcfg initial import 2014-11-13 01:04:59 +02:00
test8a.kcfgc initial import 2014-11-13 01:04:59 +02:00
test8b.cpp.ref initial import 2014-11-13 01:04:59 +02:00
test8b.h.ref initial import 2014-11-13 01:04:59 +02:00
test8b.kcfg initial import 2014-11-13 01:04:59 +02:00
test8b.kcfgc initial import 2014-11-13 01:04:59 +02:00
test8main.cpp initial import 2014-11-13 01:04:59 +02:00
test9.cpp.ref initial import 2014-11-13 01:04:59 +02:00
test9.h.ref initial import 2014-11-13 01:04:59 +02:00
test9.kcfg initial import 2014-11-13 01:04:59 +02:00
test9.kcfgc initial import 2014-11-13 01:04:59 +02:00
test9main.cpp initial import 2014-11-13 01:04:59 +02:00
test10.cpp.ref initial import 2014-11-13 01:04:59 +02:00
test10.h.ref initial import 2014-11-13 01:04:59 +02:00
test10.kcfg initial import 2014-11-13 01:04:59 +02:00
test10.kcfgc initial import 2014-11-13 01:04:59 +02:00
test10main.cpp initial import 2014-11-13 01:04:59 +02:00
test11.cpp.ref kdecore: reimplement KuitSemantics 2023-08-17 01:43:12 +03:00
test11.h.ref initial import 2014-11-13 01:04:59 +02:00
test11.kcfg initial import 2014-11-13 01:04:59 +02:00
test11.kcfgc initial import 2014-11-13 01:04:59 +02:00
test11_types.h initial import 2014-11-13 01:04:59 +02:00
test11a.cpp.ref kdecore: reimplement KuitSemantics 2023-08-17 01:43:12 +03:00
test11a.h.ref initial import 2014-11-13 01:04:59 +02:00
test11a.kcfg initial import 2014-11-13 01:04:59 +02:00
test11a.kcfgc initial import 2014-11-13 01:04:59 +02:00
test11main.cpp initial import 2014-11-13 01:04:59 +02:00
test12.cpp.ref initial import 2014-11-13 01:04:59 +02:00
test12.h.ref initial import 2014-11-13 01:04:59 +02:00
test12.kcfg initial import 2014-11-13 01:04:59 +02:00
test12.kcfgc initial import 2014-11-13 01:04:59 +02:00
test12main.cpp initial import 2014-11-13 01:04:59 +02:00
test_dpointer.cpp.ref kdecore: deal with TODO related to KConfigSkeleton::ItemEnum 2022-09-23 11:28:46 +03:00
test_dpointer.h.ref initial import 2014-11-13 01:04:59 +02:00
test_dpointer.kcfg initial import 2014-11-13 01:04:59 +02:00
test_dpointer.kcfgc initial import 2014-11-13 01:04:59 +02:00
test_dpointer_main.cpp initial import 2014-11-13 01:04:59 +02:00
test_signal.cpp.ref initial import 2014-11-13 01:04:59 +02:00
test_signal.h.ref initial import 2014-11-13 01:04:59 +02:00
test_signal.kcfg initial import 2014-11-13 01:04:59 +02:00
test_signal.kcfgc initial import 2014-11-13 01:04:59 +02:00
test_signal_main.cpp initial import 2014-11-13 01:04:59 +02:00