aboutsummaryrefslogtreecommitdiffstats
path: root/tools (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* Add DictDecoder.readDictionaryBinary.Yuichiro Hanada2013-08-233-13/+10
| | | | | Bug: 10434720 Change-Id: I14690a6e0f922ed1bab3a4b6c9a457ae84d4c1a4
* Remove symbols shifted layoutTadashi G. Takaoka2013-08-232-5/+3
| | | | | Bug: 9059539 Change-Id: I7fe6520e4eafcb7e1748b8bf011333c7e0da7ac2
* Merge "Add DictEncoder."Ken Wakasa2013-08-222-7/+9
|\
| * Add DictEncoder.Yuichiro Hanada2013-08-222-7/+9
| | | | | | | | Change-Id: I41049b9118b58838e5dedf8e5618d939ca70c5ef
* | Fix Hebrew currency symbolTadashi G. Takaoka2013-08-221-0/+2
|/ | | | Change-Id: Ib747828aeec20c1ebb4087169a7eb373deb163c3
* Rename BinaryDictEncoder to BinaryDictEncoderUtils.Yuichiro Hanada2013-08-213-6/+7
| | | | Change-Id: I4dabf17da7003b1d8204a83dbd10e5be6e8fd805
* Rename BinaryDictDecoder to Ver3DictDecoder.Yuichiro Hanada2013-08-204-10/+10
| | | | Change-Id: Ibf9b95b658df6e2c2218bdb62e2380f326a03832
* [Refactor] Rename BinaryDictReader and BinaryDictDecoder.Yuichiro Hanada2013-08-194-18/+20
| | | | | | | BinaryDictReader -> BinaryDictDecoder. BinaryDictDecoder -> BianryDictDecoderUtils. Change-Id: Iadf2153b379b760538ecda488dda4f17225e5f37
* Rename Node to PtNodeArrayJean Chalard2013-08-167-18/+21
| | | | | Bug: 10247660 Change-Id: I1a0ac19f58f96adb5efac5fd35c6404831618c99
* Remove unused imports.Yuichiro Hanada2013-08-163-9/+1
| | | | Change-Id: Ib46da6efeaa8f83a9cda24c947fc2e667a1468e8
* Fix build.Yuichiro Hanada2013-08-151-2/+2
| | | | Change-Id: I80d177f3c9bff1fb90029edeafa4a62d0b99e09e
* [Refactor] Divide BinaryDictInputOutput into BinaryDictEncoder and ↵Yuichiro Hanada2013-08-158-22/+24
| | | | | | BinaryDictDecoder. Change-Id: I7c3269d77e3e3b567e459dcaa1bc029903941744
* Add an initial JNI interface to dicttool.Jean Chalard2013-08-155-15/+102
| | | | | Bug: 10100269 Change-Id: I883992c2033e7d9e7c754c0bf653767728b221b6
* Revert "[Refactor] Divide BinaryDictInputOutput into BinaryDictInputUtils ↵Ken Wakasa2013-08-155-16/+14
| | | | | | | | and BinaryDictOutputUtils." This reverts commit 4c63d0614e7ed7aea4bcbab3a17090d841661d92. Change-Id: I1fa277d720bab4d895259df7d6d82eebfa5eb6c5
* [Refactor] Divide BinaryDictInputOutput into BinaryDictInputUtils and ↵Yuichiro Hanada2013-08-155-14/+16
| | | | | | BinaryDictOutputUtils. Change-Id: I0d476abe763c11ba9005152f928e8dccf15ac9de
* Merge "Add BinaryDictReader."Ken Wakasa2013-08-133-28/+14
|\
| * Add BinaryDictReader.Yuichiro Hanada2013-08-133-28/+14
| | | | | | | | | | | | Bug: 9618601 Change-Id: Ief07fa0c3c4f7f5999a3fafcef4e47b6b6fd8143
* | Rename maketext tool to make-keyboard-textTadashi G. Takaoka2013-08-1362-18/+18
|/ | | | Change-Id: Icceda22aec75f9e3602da8775c0e94b110283575
* Fix parenthesis direction for RTL languagesTadashi G. Takaoka2013-08-133-2/+3
| | | | | Bug: 10284912 Change-Id: Ie0fc09b101034482a775961c8f8f1fcdf6dbec8f
* Reword "No language"Jean Chalard2013-08-051-1/+1
| | | | | Bug: 10064334 Change-Id: Ie4e6c333566eee9000fa5c8e59e9df8b9b56a5b3
* Fix Catalan keyboard layoutTadashi G. Takaoka2013-07-313-4/+10
| | | | | Bug: 10098472 Change-Id: I60e4aa6716f8166ca60ab5687b0faf2d84cd846b
* Move a couple classes to the utils packageKen Wakasa2013-07-191-1/+1
| | | | Change-Id: Ia14a2011d79bad7cd02697b9254705f6e2099442
* Remove dependencies to android source in dicttoolKen Wakasa2013-07-172-4/+84
| | | | | bug: 9889653 Change-Id: I2630c56548f9146ade85b17f891932dae2082a85
* Fix build.Ying Wang2013-07-161-0/+1
| | | | Change-Id: I51c0b7ba5641c1e7c1d63a4e5a6307b08d6f4886
* Merge "Generalize constuctors & add tests"Jean Chalard2013-07-042-9/+26
|\
| * Generalize constuctors & add testsJean Chalard2013-07-042-9/+26
| | | | | | | | | | | | | | | | | | | | If there is any two-args constructor with the right arg types in a test class, use it. Also, add a test suite to dicttool test. Also, have the return value of dicttool reflect success or failure. Change-Id: I51ab2a4abb93a0a483e8d6ef3c39d1ff1bce1dbd
* | Add Azerbaijani keyboardTadashi G. Takaoka2013-07-041-0/+59
| | | | | | | | | | Bug: 7963448 Change-Id: I39c192b342278e82e30ac6ef12c6d150c817ae70
* | Add Kazakh keyboardTadashi G. Takaoka2013-07-042-0/+60
| | | | | | | | | | Bug: 9697273 Change-Id: Ic9943569ed60d601f093181bf135e45a25399121
* | Followup com.android.inputmethod.latin.utils changeTadashi G. Takaoka2013-07-031-1/+1
|/ | | | | | This is a folowup of I1c5b27c8ed. Change-Id: I12c422a26e599923cadf21c3ab24e4b901cf94cc
* Add args to dicttool test.Jean Chalard2013-07-011-10/+57
| | | | Change-Id: I0667e0a5a6f6db3964cfcca5c8f083b9ceb41a2e
* Move util classes to the latin/utils directoryKen Wakasa2013-06-241-2/+2
| | | | Change-Id: I1c5b27c8edf231680edb8d96f63b9d04cfc6a6fa
* Add tests to dicttool test.Jean Chalard2013-06-207-8/+159
| | | | | Bug: 8526576 Change-Id: Idd6f9cd076d5915361c68f5c29afbba67dd54eba
* Add an initial test command to dicttool.Jean Chalard2013-06-196-8/+66
| | | | | | | | Also fix some warnings This is a preliminary change to help track b/8526576 Bug: 8526576 Change-Id: If2ed74bb92f9b5fb7bbaf9c4851d9d0b5514b405
* Fix two nasty bugs with surrogate pairs.Jean Chalard2013-04-011-0/+114
| | | | | | | | | | | | | | | | The important bug is in findWordInTree. The problem, which is not obvious, is that we were calling codePointAt() with the code point index in the string, instead of the char index. The other bug this change fixes was harmless in the practice, because it's in the iteration which is only used for debug and pretty printing purposes. It's very similar in that it would substract a length in code point to a length in chars and truncate a StringBuilder at that length, so it would fail in a quite similar manner. This changes the meaning of the "length" attribute in Position, but it's clearer this way anyway. Bug: 8450145 Change-Id: If396f883a9e6449de39351553ba83f5be5bd30f0
* Remove unused importTadashi G. Takaoka2013-03-221-1/+0
| | | | | | This is a follow up of I062c076f. Change-Id: Ic3a83d95aed1f86121ed552a6f20f0d24f9d6d83
* Remove reference to string.english_ime_nameTadashi G. Takaoka2013-03-221-4/+5
| | | | | Bug: 6789579 Change-Id: I062c076f0ca16cc39274e20955aa83d667b7380d
* Language dependent single/doule quotation more keysTadashi G. Takaoka2013-03-1227-108/+121
| | | | | | | | | | | | | | | The natural way of marking quoted text vary from language to language. This change introduces the following variations. * LEFT and RIGHT quotations (English etc.) * LOW-9 and LEFT quotations (German etc.) * LOW-9 and RIGHT quotations (Dutch etc.) * RIGHT and RIGHT quotations (Swedish etc.) * LEFT ANGLE and RIGHT ANGLE quotations (French etc.) * RIGHT ANGLE and LEFT ANGLE quotations Bug: 8356419 Change-Id: I75726ab7ed783d02f189b46236c9d5079737bcff
* Fix Apache license commentTadashi G. Takaoka2013-01-211-8/+8
| | | | Change-Id: Ic56167f952a7f4449da366e1e81610e72c966086
* Fix drawing Arabic diacriticsTadashi G. Takaoka2013-01-153-2/+8
| | | | | Bug: 8001868 Change-Id: I0e5aab266bbaad8c68e4a900b8d5572977a0379d
* Fix layout switch keys' label of no language subtype keyboardTadashi G. Takaoka2012-12-1317-3/+164
| | | | | | | | | | | This change moves the following string from resources to KeyboardTextsSet. - label_to_alpha_key - label_to_symbols_key - label_to_symbols_with_microphone_key Bug: 7697799 Change-Id: Icf9b8848de4c70f792e336f2ae274dab12be79ee
* Clean up dependency for dicttoolKen Wakasa2012-11-292-5/+20
| | | | | bug: 7635215 Change-Id: Ie50297ab592261390885c593341b6c46161b2e63
* Reorganize currency keysTadashi G. Takaoka2012-11-2010-3/+78
| | | | | | | | Add Rial(ar), Indian Rupee(hi), Tugrik(mn), Baht(th), Hryvnia(uk), Dong(vi) currency sign keys to symbol layout. Bug: 7455289 Change-Id: I0f819631ff05c4a31d3a6868dea5e18a1797f103
* Swap single and double quotation marks in Spanish tablet keyboardTadashi G. Takaoka2012-11-141-0/+3
| | | | | Bug: 6672279 Change-Id: I120613e36ba6a690e54447fa6c9c90e131f2a155
* Fix a bug in the diff toolJean Chalard2012-11-081-1/+6
| | | | | | | | Fix reporting of removed attributes multiple times instead of just one in some cases. Also, report the frequency of the removed bigram in the same cases. Change-Id: I1455fa7553fcebc3005c222bf5aa9afcf1678c31
* Add a missing report, and fix a wrong reportJean Chalard2012-11-011-7/+16
| | | | | | | Deleted words would be reported, but added words wouldn't Also, shortcuts would be reported as bigrams Change-Id: I017653f2afa65cf16924017a0be2ee2cbd6ca10d
* Add a "no changes" message in the diff commandJean Chalard2012-11-011-8/+30
| | | | | | | Also fix a bug where no locale would be interpreted as a different locale instead of the same. Change-Id: I296feef45e39a9e89509cb315e789676755141ab
* Fix an NPE in recent codeJean Chalard2012-11-011-1/+3
| | | | Change-Id: I5c76edff5c3c250167d425a737b09b10e25f9f84
* Merge "Use spaces instead of tabs in the combined format."Jean Chalard2012-10-311-3/+3
|\
| * Use spaces instead of tabs in the combined format.Jean Chalard2012-10-311-3/+3
| | | | | | | | Change-Id: Ie8a4cdc44f87839e29bfbffc03d4853b7b5cc5f6
* | Add a plumbing option to dicttool info.Jean Chalard2012-10-312-10/+22
|/ | | | | | | | Also align the `porcelain' option to the diff command that was used mistakenly. Bug: 7388665 Change-Id: Ic0e1b98c62ce37b2e909384a0370af4458563703