It executes ImmutableConverter, Rewriters, SuppressionDictionary.
ApplyConversion does not initialize the Segment unlike StartConversion.
#codehealth
PiperOrigin-RevId: 702189619
* Copy include directories to the dest directory for macOS.
* Fix the issue that necessary files are not copied to the dest directory when `qt_dest_dir` is different from `qt_src_dir`.
#codehealth
PiperOrigin-RevId: 700937457
* All ConversionRequest sent to StartConversion must be the CONVERSION type.
* Also simplified the code in IsValidSegments.
PiperOrigin-RevId: 700872045
* Use StartPrediction covers all functionality.
* ConversionRequest::RequestType controls the behavior.
For example, instead of using StartPartialSuggestion, please use StartPrediction with ConversionRequest with RequestType set to PARTIAL_SUGGESTION.
Before:
const ConversionRequest convreq = ConversionRequestBuilder()
...
.Build();
converter.StartPartialSuggestion(convreq, *segment);
After:
const ConversionRequest convreq = ConversionRequestBuilder()
.SetRequestType(ConversionRequest::PARTIAL_SUGGESTION)
....
.Build();
converter.StartPrediction(convreq, *segment);
PiperOrigin-RevId: 699945320
* Other suggestion/prediction functions will be removed in the following CLs.
* Added DCHECK to validate the ConversionRequest::RequestType.
* Updated unit tests to set ConversionRequest::RequestType to align with the production behavior.
PiperOrigin-RevId: 699944808
* This is a preparation to merge Prediction/Suggestion functions in Converter.
* Clarify the output of StartSuggestion.
#codehealth
PiperOrigin-RevId: 699944402
* The ComposerData object is always available.
* If it's not initialized (in unit tests), an empty ComposerData is returned.
* ConversionRequest::Options is preferred to change the behavior.
PiperOrigin-RevId: 699937472
* Composer is always set in ConversionRequest.
* Updated the unit tests for UserHistoryPredictor to align with the actual behaviors.
PiperOrigin-RevId: 699937176
* Merged Converter() into StartConversion().
* Removed the argument of `key` from Predict().
* This is a preparation for updates with ConversionRequest in following CLs.
#codehealth
PiperOrigin-RevId: 699936135
* These methods are not used in production code.
* This is a preparation for updates with ConversionRequest in following CLs.
#codehealth
PiperOrigin-RevId: 699935170
* the composer object is always available.
* if has_composer() returns false, composer() returns an empty ComposerData.
* This is a preparation to remove ConversionRequest::has_composer().
#codehealth
PiperOrigin-RevId: 699909262
Before Mozc becomes available to ARM64 processes in Windows, let's
disallow Mozc64.msi to be installed into ARM64 Windows machines to avoid
unnecessary user confusions.
Note that this commit only blocks the initial installation. There is no
behavior change for those who have already installed Mozc into their
ARM64 Windows environments. This means that both upgrading from a
previous version of Mozc and uninstalling Mozc continue to be allowed.
Closes#1127.
PiperOrigin-RevId: 699710858