9 Commits

Author SHA1 Message Date
moxian 077af7f886 Remove ghc/filesystem polyfill now that we are on C++17 (#79092)
* Remove ghc/filesystem shim now that we are on C++17

* fixies

* astyle

* teach clang-tidy about <filesystem>
2025-01-13 09:17:22 +01:00
Alexey 07356b65a5 Normalize TEST_CASE names (#66241)
* Convert integer parsing test to use normal TEST_CASEs

* Rename test name too similar to another

* Test to enforce normalized test names

* Normalize TEST_CASE names (scripted)
2023-06-17 13:57:19 -03:00
akrieger f67a5e7d96 Add fs::path variants for filesystem functions 2022-09-15 22:04:53 -07:00
Binrui Dong 6b5fb45a4c Use pimpl<T> class for TranslationManagerImpl 2022-01-03 21:54:18 +08:00
John Bytheway 0a1191638e Remove redundant parentheses
Apply the new check to remove lots of redundant parentheses throughout
the codebase.
2021-11-07 12:57:53 -05:00
Binrui Dong 96c5b0f1b1 Traverse all strings in MO translation document to detect memory access violation 2021-10-12 02:19:09 +08:00
John Bytheway 252341a067 Show path in tests that check for path
Some of the translation tests verify the existence of a path, but don't
say what that path is on failure.

Capture the path so that they do.
2021-09-22 09:32:29 -04:00
Binrui Dong c7e1c6f45e Add TranslationManager translate singular message benchmark 2021-09-20 17:11:08 +08:00
Binrui Dong 0efe692cae In-house translation library implementation to support loading multiple MO files (#51363)
* Core part of built-in translation library

* Test coverage for translation library

* Plural forms evaluator

* Add plural forms translation test cases

* Remove dependency on gettext and libintl

* Remove libintl-lite for Android

* Rename ngettext to n_gettext to avoid collision with libintl.h

* Improve InvalidTranslationDocumentException diagnostic message

* Fix raw_string_format not supporting positional arguments on Windows
2021-09-18 09:04:17 -07:00