Commit Graph

31315 Commits (e988434074c48cc542a6c34f5f1f917147972748)

Author SHA1 Message Date
Keisuke Kuroyanagi 87db47d175 Use emplace_back to push DicNode to vector.
Before:
(0)  2234.43 (0.71%)
(1)  310083.71 (99.07%)
(2)  626.88 (0.20%)
(66)  0.26 (0.00%)
Total 312995.33 (sum of others 312945.28)

After
(0)  2266.21 (0.79%)
(1)  285422.05 (98.97%)
(2)  642.62 (0.22%)
(66)  0.19 (0.00%)
Total 288384.35 (sum of others 288331.07)


Change-Id: I5ab98076c54d147ff7ec2a29280859f4558e24d0
2014-03-10 15:41:33 +09:00
Keisuke Kuroyanagi 66cc9dec55 Stop new BigramDictionary.
BigramDictionary is allocated inside of Dictionary.

Change-Id: If224b4c408403f43eb3d2e292c0e0ecb86429290
2014-03-10 05:42:36 +00:00
Tadashi G. Takaoka bf3502bfb5 am e07a777e: Fix unneeded u with diaeresis more key on Swedish keyboard
* commit 'e07a777ed6f97549c7816265b1df98e6611719ca':
  Fix unneeded u with diaeresis more key on Swedish keyboard
2014-03-09 19:19:49 -07:00
Tadashi G. Takaoka e07a777ed6 Fix unneeded u with diaeresis more key on Swedish keyboard
Change-Id: Ib4a17fa464899907616e76426e5df0d370a40f80
2014-03-10 11:15:18 +09:00
Tadashi G. Takaoka 5dfd40f31b am 31501063: Fix excessive more keys on Estonian keyboard
* commit '315010636ae187b3c1f23f77e4c4f28dce222c81':
  Fix excessive more keys on Estonian keyboard
2014-03-09 19:04:23 -07:00
Tadashi G. Takaoka 315010636a Fix excessive more keys on Estonian keyboard
Change-Id: I6c2d5d123d519278a6ff0f12fece69ccbad1aad5
2014-03-10 10:56:26 +09:00
Ken Wakasa 36e544b6e1 am 783aee47: Remove string-arrays that are getting in the way
* commit '783aee47e0b120c0c3dfe1ee5b53c4bc120cad38':
  Remove string-arrays that are getting in the way
2014-03-08 06:21:57 -08:00
Ken Wakasa 783aee47e0 Remove string-arrays that are getting in the way
These empty string-arrays should not have been in this resource file.
They are in the translated files, and they are getting in the way of
the resource finding paths.

Fundamental fixes definitely should follow. For now, this CL should be
safe and acceptable for Cannellini.

bug: 13340486
Change-Id: I14c36babf9eb30cfc1c0adc5977136189a305f33
2014-03-08 22:37:27 +09:00
Keisuke Kuroyanagi 520c898c6f am f14cf3e6: Fix: dicttool build.
* commit 'f14cf3e64caea68419969deb71793b367b1bbce2':
  Fix: dicttool build.
2014-03-07 05:16:41 -08:00
Keisuke Kuroyanagi f14cf3e64c Fix: dicttool build.
Change-Id: I5c3bcbe9f3054bdd1a760398fe11344e0e05ac6a
2014-03-07 13:01:48 +00:00
Keisuke Kuroyanagi 7a15267e58 am 32326a9d: Merge "Move DictionaryOptions from FusionDictionary to FormatSpec."
* commit '32326a9d7ad07f19dcdd2c0bfb578b2582eb2993':
  Move DictionaryOptions from FusionDictionary to FormatSpec.
2014-03-07 02:44:39 -08:00
Keisuke Kuroyanagi 32326a9d7a Merge "Move DictionaryOptions from FusionDictionary to FormatSpec." 2014-03-07 10:42:18 +00:00
Keisuke Kuroyanagi d37cf57a2d am ee5d8441: Merge "Introduce SuggestionResults and use it for predictions."
* commit 'ee5d8441d175dd32e4b2088f2ac04ded912fa981':
  Introduce SuggestionResults and use it for predictions.
2014-03-07 02:41:19 -08:00
Keisuke Kuroyanagi ee5d8441d1 Merge "Introduce SuggestionResults and use it for predictions." 2014-03-07 10:38:22 +00:00
Keisuke Kuroyanagi e137ec0a91 Introduce SuggestionResults and use it for predictions.
Bug: 8187060
Bug: 13333066
Change-Id: I1ead897024508b7e40fbd93af7d14bfe74b93826
2014-03-07 19:36:19 +09:00
Tadashi G. Takaoka b2c114a56d am a0a8d96c: Merge "Filter Spacer before keyboard layout test"
* commit 'a0a8d96c49847f136c283521f2c0c09532968b2c':
  Filter Spacer before keyboard layout test
2014-03-07 02:35:47 -08:00
Tadashi G. Takaoka a0a8d96c49 Merge "Filter Spacer before keyboard layout test" 2014-03-07 10:33:37 +00:00
Tadashi G. Takaoka 8c6b34e51d Filter Spacer before keyboard layout test
Bug: 13017434
Change-Id: I836d2f79a839ee77325535c08d7a59bb02b83c28
2014-03-07 19:18:51 +09:00
Keisuke Kuroyanagi 55ca3f735d am a103e29d: Merge "Separate WeightedString from FusionDictionary."
* commit 'a103e29d00edb719c98b3597a64686d4074fd004':
  Separate WeightedString from FusionDictionary.
2014-03-07 01:39:16 -08:00
Keisuke Kuroyanagi 3a88f45854 am c36c97b4: Merge "Use unique_ptr."
* commit 'c36c97b4f797bd20625f232f032c862611dfef44':
  Use unique_ptr.
2014-03-07 01:39:14 -08:00
Keisuke Kuroyanagi a103e29d00 Merge "Separate WeightedString from FusionDictionary." 2014-03-07 09:07:26 +00:00
Keisuke Kuroyanagi c36c97b4f7 Merge "Use unique_ptr." 2014-03-07 09:06:58 +00:00
Tadashi G. Takaoka 4a6a2d9ed5 am 0dc53b06: Add en_US keyboard layout test
* commit '0dc53b0699e17da1a6c040bc006c382a9d063160':
  Add en_US keyboard layout test
2014-03-07 00:54:28 -08:00
Tadashi G. Takaoka c7854d46aa am 238e9898: Add QWERTY expected keyboard layouts
* commit '238e9898cd3d2eae22d73728b028da67915807fa':
  Add QWERTY expected keyboard layouts
2014-03-07 00:44:40 -08:00
Tadashi G. Takaoka 0dc53b0699 Add en_US keyboard layout test
Bug: 13017434
Change-Id: I3fb343721221ecae210bffcb3e83ce4f2df0d0ff
2014-03-07 17:44:36 +09:00
Tadashi G. Takaoka 238e9898cd Add QWERTY expected keyboard layouts
Bug: 13017434
Change-Id: Ia8a65b692521f0050f003e20712a5873a0b236b4
2014-03-07 17:39:54 +09:00
Tadashi G. Takaoka 21ad49b79b am ad04ed54: Merge "Add ActualKeyboardBuilder for testing keyboard layouts"
* commit 'ad04ed54600a0cd0927dc535e69936e61e0dd087':
  Add ActualKeyboardBuilder for testing keyboard layouts
2014-03-07 00:38:05 -08:00
Tadashi G. Takaoka ad04ed5460 Merge "Add ActualKeyboardBuilder for testing keyboard layouts" 2014-03-07 08:36:43 +00:00
Ken Wakasa 1e7ab379d8 am 6767f88e: Address warnings pointed out by clang
* commit '6767f88e3c7814ab9aecd256e24b939f9b80234a':
  Address warnings pointed out by clang
2014-03-07 00:32:42 -08:00
Tadashi G. Takaoka ff8405cdfb Add ActualKeyboardBuilder for testing keyboard layouts
Bug: 13017434
Change-Id: I38b1f5c261ea1f3ff312c780d7d9b5fe3fba8aaf
2014-03-07 17:29:58 +09:00
Ken Wakasa 6767f88e3c Address warnings pointed out by clang
Change-Id: I7943f6c7f9ba08f283a3116adc2af29495f04a21
2014-03-07 17:05:09 +09:00
Ken Wakasa 0751495921 am 2bebda2f: Merge "Recover the dicttool build except for Mac"
* commit '2bebda2fa798f4c25239ccb2046c6181d393be99':
  Recover the dicttool build except for Mac
2014-03-06 22:16:27 -08:00
Ken Wakasa 2bebda2fa7 Merge "Recover the dicttool build except for Mac" 2014-03-07 06:14:07 +00:00
Ken Wakasa 344742b0d1 Recover the dicttool build except for Mac
With a hack: Temporarily disable host tool build on Mac until the
build system is ready for C++11.

Change-Id: Ib412ba0d7fecc968cc09b4d8fde4e838bdc0618a
2014-03-07 15:04:27 +09:00
Keisuke Kuroyanagi 3ee2196cfb am 9c2f003d: Merge "Revert "Revert "Use std::min() and std::max()"""
* commit '9c2f003d598e2519637007ef4d918022521bdecf':
  Revert "Revert "Use std::min() and std::max()""
2014-03-06 21:34:45 -08:00
Tadashi G. Takaoka a2293ec906 am 937c40ee: Merge "Fix AZERTY/tablet layout"
* commit '937c40ee00f388e762a6ac856210c3ea648d9bb5':
  Fix AZERTY/tablet layout
2014-03-06 21:34:42 -08:00
Keisuke Kuroyanagi 9c2f003d59 Merge "Revert "Revert "Use std::min() and std::max()""" 2014-03-07 05:33:30 +00:00
Tadashi G. Takaoka 937c40ee00 Merge "Fix AZERTY/tablet layout" 2014-03-07 05:32:05 +00:00
Keisuke Kuroyanagi 4ce480d5ce Use unique_ptr.
Change-Id: Id92a5b07da4f7f95e2cd293ce8dc1a5f979b7853
2014-03-07 14:31:54 +09:00
Keisuke Kuroyanagi d5aa36505f am a1e0ef48: Fix: point to line segment distance can be NaN.
* commit 'a1e0ef4836f59a9fd5a2b44ecb94c27227e159c6':
  Fix: point to line segment distance can be NaN.
2014-03-06 21:31:23 -08:00
Tadashi G. Takaoka a4fe6a8dba Fix AZERTY/tablet layout
Bug: 13351429
Change-Id: I599627a78397e5bbae689c1aec3a3f11b72a834f
2014-03-07 14:29:30 +09:00
Keisuke Kuroyanagi 865e6cf497 Revert "Revert "Use std::min() and std::max()""
This reverts commit f63000abea.

Change-Id: I6056d176a13c6ecad38e658ab8778bd898291d02
2014-03-07 14:19:56 +09:00
Keisuke Kuroyanagi a1e0ef4836 Fix: point to line segment distance can be NaN.
Change-Id: I7db6bfea925a0eda82bfb1f7b5e1110b193dabdb
2014-03-07 14:19:52 +09:00
Keisuke Kuroyanagi 9d0bf57108 am 33392248: Merge "Use nullptr instead of 0 for pointers."
* commit '33392248136d030463f5bac15c3cacfde320972c':
  Use nullptr instead of 0 for pointers.
2014-03-06 19:59:45 -08:00
Keisuke Kuroyanagi 3339224813 Merge "Use nullptr instead of 0 for pointers." 2014-03-07 03:56:56 +00:00
Ken Wakasa b4a7d95d95 am ce2ac1c8: Merge "Revert "Use std::min() and std::max()""
* commit 'ce2ac1c835e9794dde41fe14e4e953177c8333cc':
  Revert "Use std::min() and std::max()"
2014-03-06 18:42:19 -08:00
Ken Wakasa ce2ac1c835 Merge "Revert "Use std::min() and std::max()"" 2014-03-07 02:37:05 +00:00
Ken Wakasa f63000abea Revert "Use std::min() and std::max()"
This somehow breaks TRT.

bug: 13350753

This reverts commit cf612a3abf.

Change-Id: I812f067e7cc8106b054527732dc6fe4efd7cc0fe
2014-03-07 02:30:18 +00:00
Keisuke Kuroyanagi 6c7ebc4023 Use nullptr instead of 0 for pointers.
Change-Id: Ic9425de07b896f940ca11c51968c637ebb897514
2014-03-07 10:04:44 +09:00
Baligh Uddin 73105cc079 am 1df1f56e: (-s ours) Merge "Import translations. DO NOT MERGE"
* commit '1df1f56ec5b5c14fbc9ff1013ed9007981abff41':
  Import translations. DO NOT MERGE
2014-03-06 14:15:49 -08:00