mirror of
https://github.com/august-alt/gpui.git
synced 2025-03-14 12:58:39 +03:00
* wip: adding ragel file `pol.rl` * wip: init cmake * feat: update cmake files * fead: add empty `parser.h` * feat: add ragel to dockerfile * wip: `libparsepol` adding * fix: remove unnecessary `std::move` * chore: remove ragel from docker * chore: remove unnecessary comments * chore: splitting tests into different methods * chore: use `qDebug`/`qWarning`/`qCritical` instead of `std::cout`/`std::cerr` * chore: use `QCOMPARE` instead of `std::runtime_error`/`assert` in tests * chore: improve test for `QTest` * fix: `BE QWORD` -> `LE QWORD` * fix: allow multiply value with same `keyPath` and `valueName` * chore: replace preprocessor macros with functions * style: adding a line between functions * chroe: small changes style: small fix code format wip: use one `uint64_t` variable instead of two `uint32_t` to comparison fix: adding `Keypath` `Valuename` and type validation into writer * chore: separate LE and BE tests * chore: throw exception on `REG_NONE` and invalid iconv descriptor * style: remove `./` from includes * style: rename some functions `bufferToString` -> `readStringFromBuffer`, `stringToBuffer` -> `writeStringToBuffer`, `bufferToStrings` -> `readStringsFromBuffer`, `stringsToBuffer` -> `writeStringsFromBuffer`, `bufferToVector` -> `readVectorFromBuffer`, `vectorToBuffer` -> `writeVectorToBuffer`, * chore: minimize `getType` * chore: rename `bufferToIntegral` -> `readIntegralFromBuffer`, `integralToBuffer` -> `writeIntegralToBuffer` * chore: add new constants and use it insted of `reinterpret_cast<iconv_t>(-1)` and `reinterpret_cast<size_t>(-1)` * chore: remove missing `./` * chore: add missing include * fix: rename `LittleEngian` -> `LittleEndian` * fix: removing unnecessary PolicyBody * chore: make `PRegParser` final and make all methods non-virtual * chore: remove unnecessary include * style: rename iconv descriptors * style: fix style