Commit Graph

  • bf36edbf7e Update README.md master mii443 2025-03-04 01:13:48 +09:00
  • 14afac9728 Unbreak build on windows. Tomoki Nakagawa 2025-02-26 16:46:09 +00:00
  • 64b59251cb Fix TSAN error in session_watch_dog_test. Tomoki Nakagawa 2025-02-26 09:46:03 +00:00
  • 914e13462e Uses the default copy operator to copy engine_converter. Taku Kudo 2025-02-26 08:47:16 +00:00
  • f35915da57 Fix build errors. Hiroyuki Komatsu 2025-02-26 03:09:53 +00:00
  • 55e2e72440 Fix progress_printer.py copyright header (#1197) Yohei Yukawa 2025-02-26 15:35:27 +09:00
  • ae9dc93982 Fix the link to build_mozc_for_android.md (#1192) Yohei Yukawa 2025-02-26 15:35:07 +09:00
  • 44542afa83 Follow PEP 394 in build_mozc_for_android.md (#1194) Yohei Yukawa 2025-02-26 15:34:48 +09:00
  • e3f30a92f6 Introduce platform host-windows-clang-cl (#1195) Yohei Yukawa 2025-02-26 15:34:33 +09:00
  • 9891b5892e Fix rules_cc_BUILD.windows.tpl.patch (#1196) Yohei Yukawa 2025-02-26 15:34:14 +09:00
  • a924c05f2e Download LLVM to use clang-cl for Window (#1193) Yohei Yukawa 2025-02-26 15:33:56 +09:00
  • 87145233d2 - Migrated new ConfigHandler API to all component. - Removed legacy ConfigHandler API. Taku Kudo 2025-02-25 08:37:29 +00:00
  • 4af84e37ba Add a experimental flag to control the bugfix in cl/694010741 Toshiyuki Hanaoka 2025-02-25 08:24:06 +00:00
  • d939d1446b Use FlatMultimap in composer. Tomoki Nakagawa 2025-02-25 07:45:15 +00:00
  • eb94720726 Use FlatSet in converter_main. Tomoki Nakagawa 2025-02-25 07:37:20 +00:00
  • ced4050676 Use FlatMap in key_translator. Tomoki Nakagawa 2025-02-25 07:31:32 +00:00
  • db201f932e Stop using raw pointers to manage shared ConverterInterface. Taku Kudo 2025-02-25 06:59:06 +00:00
  • e083edab93 Moves shared config and request in setter. This reduces unnecessary reference counting. Taku Kudo 2025-02-25 05:36:36 +00:00
  • 206785c5b6 Stop using raw pointer to share Config and Request. Taku Kudo 2025-02-23 12:12:13 +00:00
  • 5f789eb97e Stop using raw pointer to share composer::Table. Taku Kudo 2025-02-23 09:35:44 +00:00
  • 73d25e30ab Uses the new ConfigHandler::GetSharedConfig. Taku Kudo 2025-02-23 08:40:58 +00:00
  • 68db458763 ConfigHandler cleanup: - Moves SetMedata/FixupFilePermission from public to internal function. - Introduced GetSharedDefaultConfig(), as we will use shared_ptr to manage shared config. - Renamed (Get|Set)ConfigFileName to (Get|Set)ConfigFileNameForTesting - Introduced two config hash (w/ metadata and w/o metadata) to prevent unnecessary config update. Taku Kudo 2025-02-22 17:07:52 +00:00
  • 992b1f49f1 Introduce constexpr flat containers. Tomoki Nakagawa 2025-02-22 03:40:10 +00:00
  • f215eaf71a Extract out Android build instructions (#1191) Yohei Yukawa 2025-02-21 21:53:44 +09:00
  • 5c0b4bdab5 Extract out ProgressPrinter (#1190) Yohei Yukawa 2025-02-21 21:53:12 +09:00
  • ce468cff76 Compare explicitly against nullptr. Tomoki Nakagawa 2025-02-21 09:57:04 +00:00
  • 09d9351a96 Rollback the versions of Abseil, Protobuf and Googletest. Hiroyuki Komatsu 2025-02-21 03:45:23 +00:00
  • 039172127a Fix use of uninitialized value. Tomoki Nakagawa 2025-02-21 01:52:19 +00:00
  • 6f0fbad9ac Make //base:singleton thread-safe. Tomoki Nakagawa 2025-02-20 08:05:01 +00:00
  • c523a3b998 Move Repository rule documentation under Bzlmod Mozc team 2025-02-19 11:11:51 +00:00
  • a58296ae24 Rollback the versions of Abseil, Protobuf and Googletest. Hiroyuki Komatsu 2025-02-21 04:54:16 +00:00
  • 922d4cd7eb Replace remaining "Google Inc." with "Google LLC" (#1187) Yohei Yukawa 2025-02-19 12:25:20 +09:00
  • 76343ffa70 Patch rules_cc 0.0.17 to use clang-cl for x86 (#1186) Yohei Yukawa 2025-02-18 20:22:40 +09:00
  • 58256b6ba7 Bazel: 8.0.0 -> 8.1.0 (#1185) Yohei Yukawa 2025-02-18 20:22:25 +09:00
  • d0b7b13628 Follow up build instructions on bazelisk (#1184) Yohei Yukawa 2025-02-18 20:22:06 +09:00
  • db249d2ef4 A bit more gracefully handle missing Android NDK (#1182) Yohei Yukawa 2025-02-18 20:21:36 +09:00
  • e198ede52b Also download Android NDK in update_deps.py (#1183) Yohei Yukawa 2025-02-18 20:21:12 +09:00
  • 22bca1ed10 [Japanese Usage Dictionary] Set the delay to show the floating usage dictionary window to 1000ms (1s) only for Android. Ruihao Huang 2025-02-18 07:45:16 +00:00
  • f8fe1c177d Add diff test for personal name entries (myoji). Toshiyuki Hanaoka 2025-02-18 02:07:05 +00:00
  • 55f00ee1df Stop using const pointer to initialize predictor and rewriter. We use reference as pointer can be nullable. Taku Kudo 2025-02-17 09:04:58 +00:00
  • 080eddd316 Address clang-tidy warning. Tomoki Nakagawa 2025-02-17 07:10:01 +00:00
  • 4c86252df2 Update protobuf from 29.1 to 30.0-rc1 Hiroyuki Komatsu 2025-02-14 04:04:29 +00:00
  • b669abbf92 Uses shared_ptr to efficiently manage the config via caller and ConfigHandler. Keeps the legacy interface as-is. We will migrate to the new API later. Taku Kudo 2025-02-13 11:17:53 +00:00
  • b5e10e1507 Remove composer/internal/converter. Taku Kudo 2025-02-13 10:55:12 +00:00
  • 4a65062698 - Introduced Options::incognito_mode to make an on-the-fly incognito mode request. - Added ConversionRequest::incognito_mode() - Stop having incognito_config_ in EngineConverter. Taku Kudo 2025-02-13 10:09:56 +00:00
  • aefddca40c - Cleanup ImeContext: Introduces an inner CopyableData to handle copyable and non-copiable data. - Stop passing config to request to create engine_converter. They are set via Set config and SetRequest in the first place. Currently, default objects are passed, which are not used. Taku Kudo 2025-02-13 09:41:11 +00:00
  • e9f158cfdf Use absl::HashOf to compute the hash of Table. Taku Kudo 2025-02-13 02:29:39 +00:00
  • 0dc00e8cd2 Moves TransliteratorInterface to transliterator.h as it is purely internal interaface only used Transliterator. Moves them inside internal namespace so it is not used by outside of this module. Taku Kudo 2025-02-13 02:25:31 +00:00
  • d3c6051c43 Update third_party/protobuf from 29.1 to 30.0-rc1 Hiroyuki Komatsu 2025-02-14 04:01:07 +00:00
  • f8bb199623 Enable to build protobuf v30 with Bazel+MSVC (#1178) Yohei Yukawa 2025-02-12 15:45:27 +09:00
  • 6b16135208 Rollback the version of protobuf from 29.3 to 29.1. Hiroyuki Komatsu 2025-02-12 04:37:08 +00:00
  • b49001915a Support realtime conversion for handwriting input ばらが→薔薇が きょうははれ→今日は晴れ Toshiyuki Hanaoka 2025-02-12 04:06:18 +00:00
  • 4925e83093 Fix the build error of com_test.cc Hiroyuki Komatsu 2025-02-12 02:51:20 +00:00
  • 2da6c963eb Rollback the version of third_party/protobuf from v29.3 to v29.1 Hiroyuki Komatsu 2025-02-11 17:10:04 +00:00
  • 813eff7841 Update dependencies of abseil-cpp, protobuf and googletest in MODULE.bazel Hiroyuki Komatsu 2025-02-10 09:33:36 +00:00
  • 7f686f1ee1 Update Android NDK in Dockerfile to r28 (#1176) Yohei Yukawa 2025-02-10 20:28:08 +09:00
  • 011f9de746 Update rules_android_ndk to 0.1.13 (#1175) Yohei Yukawa 2025-02-10 20:27:17 +09:00
  • 0252291bb9 Remove tiny_storage and registory. They were mainly used in usage_stats. Taku Kudo 2025-02-10 09:04:59 +00:00
  • 0a143847a6 Fix build failures for Windows. Hiroyuki Komatsu 2025-02-10 08:54:41 +00:00
  • 9979b6309f Set mobile request based on the engine type Toshiyuki Hanaoka 2025-02-10 08:53:55 +00:00
  • b733eab221 Initializes incoginito_config laizily to avoid a deep copy of config on each key event. Taku Kudo 2025-02-10 08:33:08 +00:00
  • 501f97cac0 Stop "混ぜ書き" handwriting looking up when the composition does not contain Hiragana. Toshiyuki Hanaoka 2025-02-10 07:33:49 +00:00
  • 057830511e Removed typing_correction_legacy_expansion_mode. Always populates new typing scores to all typing corrections generated by the legacy components. Taku Kudo 2025-02-08 10:34:44 +00:00
  • 289147804b Removed usage_stats feature. UsageStats is no longer used. Taku Kudo 2025-02-06 10:39:15 +00:00
  • bb327ff393 Add variants::GetDescription() and variants::GetPrefix(). Hiroyuki Komatsu 2025-02-06 07:37:35 +00:00
  • 48a716dfa2 Update third_party/gtest to v1.16.0 Hiroyuki Komatsu 2025-02-10 09:17:36 +00:00
  • ed552bae4e Update third_party/protobuf to v29.3 Hiroyuki Komatsu 2025-02-10 09:16:16 +00:00
  • 0bc6bdb016 Update third_party/abseil-cpp to 20250127.0 Hiroyuki Komatsu 2025-02-10 09:15:05 +00:00
  • 3baa8d865d Fixed problems related to date conversion function, etc. (#1173) Masato TOYOSHIMA 2025-02-07 02:09:27 +09:00
  • 4175e0dc32 PreeditHandler: update preedit string when it's empty (#1174) Liang Qi 2025-02-06 18:08:46 +01:00
  • 1fa3dd4444 Use const T& for the constructor of UserSegmentHistoryRewriter. Hiroyuki Komatsu 2025-02-06 03:15:57 +00:00
  • 380f4f3169 Use Dictionary as const& to Rewriter constructors. Hiroyuki Komatsu 2025-02-06 03:14:09 +00:00
  • 2fd4185e51 Change Candidate to class. Hiroyuki Komatsu 2025-02-06 00:58:10 +00:00
  • a8b975aea4 Pass DataManager as const& to Rewriter constructors. Hiroyuki Komatsu 2025-02-05 13:36:24 +00:00
  • fddcd2eb23 - Remove depedency from Session to EngineOutput - stop using pure static class, EngineOutput. uses output namespace instead. - cleanup visibility. Taku Kudo 2025-02-05 10:09:24 +00:00
  • 8409b8de12 Add candidate.cc to converter_base.gyp Hiroyuki Komatsu 2025-02-05 07:55:15 +00:00
  • f62f2e5dac Code cleanup in variants_rewriter.cc Hiroyuki Komatsu 2025-02-05 06:31:19 +00:00
  • 775a396b09 Code update of CorrectionRewriter. Hiroyuki Komatsu 2025-02-05 06:29:32 +00:00
  • a78066135a Stop using const pointer to set request, config, and table. Pointers can be nullable, and introduce a level of complexity that can make code harder to read, write, and debug. Taku Kudo 2025-02-05 02:13:45 +00:00
  • 306e9fae5c Remove dependency from dictionary_impl_test.cc to converter. Taku Kudo 2025-02-04 02:46:26 +00:00
  • 2158213129 Move Segments::Candidate out as Candidate in candidate.h. Hiroyuki Komatsu 2025-02-03 10:21:20 +00:00
  • 879ad43ed5 Refactor the logic of inserting and deleting candidates. Hiroyuki Komatsu 2025-02-03 07:31:56 +00:00
  • 3267df5b00 Refactor to extract a logic to create an alternative candidate. Hiroyuki Komatsu 2025-02-03 07:28:37 +00:00
  • 2a2f6cf3d3 Rename parameters to clarify the definitions. Hiroyuki Komatsu 2025-02-03 07:27:00 +00:00
  • d16473dbcd Update the logic to add a new candidate as a preparation for the next step. Hiroyuki Komatsu 2025-02-03 07:25:00 +00:00
  • f0019d7af4 Refactoring of GetFormTypesFromStringPair. Hiroyuki Komatsu 2025-02-03 07:23:06 +00:00
  • 2446710579 Use Util::FormType instead of VariantsRewriter::FormType. Hiroyuki Komatsu 2025-02-03 07:21:15 +00:00
  • 63c01793b0 Renamed SessionConverter to EngineConverter Taku Kudo 2025-02-03 07:20:59 +00:00
  • a28a1e5268 Change the arguments and return value of GetFormTypesFromStringPair. Hiroyuki Komatsu 2025-02-03 07:19:10 +00:00
  • 3b5b6e3d65 Move GetFormTypesFromStringPair to VariantsRewriter Hiroyuki Komatsu 2025-02-03 07:17:07 +00:00
  • 290d7f16b9 Second trial to remove SessionInterface and SessionHandlerInterface. Taku Kudo 2025-02-03 04:31:20 +00:00
  • 4245eb1b19 Fix typos in VariantsRewriter. Hiroyuki Komatsu 2025-02-03 03:55:13 +00:00
  • 4d162402bc Remove the dependency to Converter and Segments from EngineInterface. Taku Kudo 2025-01-31 06:34:40 +00:00
  • 72f08d4ab3 Change EraseExistingCandidates to FindEraseCandidates. Hiroyuki Komatsu 2025-01-30 09:59:09 +00:00
  • cbc0dd98fa Stop inserting candidates more than once. Hiroyuki Komatsu 2025-01-30 09:56:53 +00:00
  • f698c99746 Refactoring of NumberRewriter Hiroyuki Komatsu 2025-01-30 09:54:46 +00:00
  • 1e581d04c1 Remove session/internal and engien/internal. Using internal directory is deprecated. Taku Kudo 2025-01-30 07:58:35 +00:00
  • ffd9c5d038 Automated g4 rollback of changelist 720920580. Mozc team 2025-01-29 13:19:22 +00:00
  • 310b28cea0 Removed SessionInterface and SessionHandlerInteface. Taku Kudo 2025-01-29 12:33:24 +00:00
  • 3fb4d00e74 Address clang-tidy warning: constness of local preventing automatic move. Tomoki Nakagawa 2025-01-29 11:52:53 +00:00