Commit graph

8642 commits

Author SHA1 Message Date
Jean Chalard
6d471258b2 am c9349db1: Merge "Add a constant for S_INT_MIN" into jb-mr1.1-dev
* commit 'c9349db1d2244a74c4d34025f7e0dd4922555706':
  Add a constant for S_INT_MIN
2012-11-20 19:37:39 -08:00
Jean Chalard
c9349db1d2 Merge "Add a constant for S_INT_MIN" into jb-mr1.1-dev 2012-11-20 19:36:25 -08:00
Tadashi G. Takaoka
8a5b176f65 am fd1267e3: Add Spanish United States keyboard (DO NOT MERGE)
* commit 'fd1267e396d62694958569e35d0edfbc6b6ac7d3':
  Add Spanish United States keyboard (DO NOT MERGE)
2012-11-20 18:56:48 -08:00
Jean Chalard
592f2b315f Add a constant for S_INT_MIN
This is necessary for I807ae4bd

Bug: 7491364
Change-Id: I46ee92a76eb65e80b64538d0300b718eac6a3ddb
2012-11-20 21:25:46 +09:00
Tadashi G. Takaoka
fd1267e396 Add Spanish United States keyboard (DO NOT MERGE)
Bug: 7531804
Change-Id: Idd66ee30e5228260540308a97c930185b48e775f
2012-11-19 11:27:07 +09:00
Ken Wakasa
1f256e941b am 66cee1f9: Merge "Revert "Correctly add double quote to the space strippers"" into jb-mr1.1-dev
* commit '66cee1f92de0413756b8f306275d3508cd2b040f':
  Revert "Correctly add double quote to the space strippers"
2012-11-16 18:23:53 -08:00
Ken Wakasa
66cee1f92d Merge "Revert "Correctly add double quote to the space strippers"" into jb-mr1.1-dev 2012-11-16 18:20:49 -08:00
Ken Wakasa
86e554739f Revert "Correctly add double quote to the space strippers"
This reverts commit af7264abb7

Change-Id: I5673103c4a0e9c48df563187d2188ca6e2f15877
bug: 7561815
2012-11-16 18:17:10 -08:00
Ken Wakasa
7acd310d02 am f9ff4fb5: Merge "Revert "Only add spaces automatically when appropriate."" into jb-mr1.1-dev
* commit 'f9ff4fb5da5971bd02eec491a497006540e1438a':
  Revert "Only add spaces automatically when appropriate."
2012-11-16 18:03:47 -08:00
Ken Wakasa
f9ff4fb5da Merge "Revert "Only add spaces automatically when appropriate."" into jb-mr1.1-dev 2012-11-16 18:00:15 -08:00
Ken Wakasa
5986931fcb Revert "Only add spaces automatically when appropriate."
This reverts commit 6ce66d1c7d

Change-Id: I90004a5fea0bc7999ecf8742f883ff4dac264d8a
bug: 7565414
2012-11-16 17:49:22 -08:00
Jean Chalard
3dd4548ec6 am 191d49ae: Merge "Only add spaces automatically when appropriate." into jb-mr1.1-dev
* commit '191d49ae8a0f4bb10724b83d9424d80f08ac7181':
  Only add spaces automatically when appropriate.
2012-11-15 19:12:11 -08:00
Jean Chalard
191d49ae8a Merge "Only add spaces automatically when appropriate." into jb-mr1.1-dev 2012-11-15 19:09:04 -08:00
Jean Chalard
6ce66d1c7d Only add spaces automatically when appropriate.
Bug: 7164981
Change-Id: Id672104a0fda99c52923913fb0e40c3a1ead4787
2012-11-15 17:57:16 +09:00
Jean Chalard
5dee6e69f1 am 187e683a: Merge "Fix a bug with some text fields" into jb-mr1.1-dev
* commit '187e683aea117fde1ad2de2d0cdd18c3fd4ce7f4':
  Fix a bug with some text fields
2012-11-14 20:38:19 -08:00
Jean Chalard
187e683aea Merge "Fix a bug with some text fields" into jb-mr1.1-dev 2012-11-14 20:37:19 -08:00
Jean Chalard
d7dbaa9cb6 am e4958d5c: Merge "Correctly add double quote to the space strippers" into jb-mr1.1-dev
* commit 'e4958d5c185ecf3a4e953c4a20f0208ac396da56':
  Correctly add double quote to the space strippers
2012-11-14 20:36:54 -08:00
Jean Chalard
b1844a57e1 am b240c38e: Merge "[DO NOT MERGE] Correct a wrong base character in Russian" into jb-mr1.1-dev
* commit 'b240c38ea2e10460aeb351fa9aef56f3d872bca3':
  [DO NOT MERGE] Correct a wrong base character in Russian
2012-11-14 20:35:25 -08:00
Jean Chalard
e4958d5c18 Merge "Correctly add double quote to the space strippers" into jb-mr1.1-dev 2012-11-14 20:35:19 -08:00
Jean Chalard
b240c38ea2 Merge "[DO NOT MERGE] Correct a wrong base character in Russian" into jb-mr1.1-dev 2012-11-14 20:34:15 -08:00
Tadashi G. Takaoka
d4886ff541 am 929bfdd0: Merge "Update shift state only when input field is restarted" into jb-mr1.1-dev
* commit '929bfdd059df5bb0340a3b22a3feff211f03798e':
  Update shift state only when input field is restarted
2012-11-14 16:31:31 -08:00
Tadashi G. Takaoka
428d1b6469 am 4826c3ff: Merge "Fix language switch key behavior (DO NOT MERGE)" into jb-mr1.1-dev
* commit '4826c3ff7ec8640d2a982e9362577b2900614080':
  Fix language switch key behavior (DO NOT MERGE)
2012-11-14 16:31:30 -08:00
Tadashi G. Takaoka
929bfdd059 Merge "Update shift state only when input field is restarted" into jb-mr1.1-dev 2012-11-14 16:29:43 -08:00
Tadashi G. Takaoka
4826c3ff7e Merge "Fix language switch key behavior (DO NOT MERGE)" into jb-mr1.1-dev 2012-11-14 16:29:32 -08:00
Ken Wakasa
36c6e2933f am aef0acdb: DO NOT MERGE - Fix an error in the base char table for LETTER L WITH STROKE
* commit 'aef0acdbe078fe83ed834ffe986e9cb7b4b8df7d':
  DO NOT MERGE - Fix an error in the base char table for LETTER L WITH STROKE
2012-11-14 15:18:13 -08:00
Ken Wakasa
aef0acdbe0 DO NOT MERGE - Fix an error in the base char table for LETTER L WITH STROKE
Cherrypick of I67a431d8

bug: 7539944
Change-Id: I0d1f9649f30c36b8e464944a5b881c2cb9c05ccf
2012-11-15 00:54:53 +09:00
Tadashi G. Takaoka
d0725a6842 Update shift state only when input field is restarted
Bug: 7482766
Change-Id: Ifdfa110c44b95acfbcd3e0aa34f675c70b7d7285
2012-11-14 18:44:43 +09:00
Tadashi G. Takaoka
d62be28515 Fix language switch key behavior (DO NOT MERGE)
Bug: 7075923
Change-Id: If139411db4aa65eed64337bf2a79387cfcd04496
2012-11-14 18:29:01 +09:00
Jean Chalard
f1d0b2b911 [DO NOT MERGE] Correct a wrong base character in Russian
Bug: 7516306
Change-Id: I80cee4b2b11e5bfa68c12923049cb612abd0bc7e
2012-11-14 15:50:28 +09:00
Jean Chalard
af7264abb7 Correctly add double quote to the space strippers
This is a format error >.>

Bug: 7531719
Change-Id: I34b4c496192a32862c1ecb85bb6f6f38a06d6c61
2012-11-14 13:00:15 +09:00
Jean Chalard
00c0010ccf Fix a bug with some text fields
Not sure when this happens exactly, but it is possible that
InputConnection#getTextBeforeCursor returns null. This
happens for example upon rotating the screen with the
composing field empty in Gmail.
In this case, StringBuilder#append will convert the null
pointer into the string "null", which is sure better than a
crash, but can have a number of bad side-effects, like
auto-caps not working.

Bug: 7533034
Change-Id: Ia1cfab432c13a12ff1c2f013c59bac05a587f553
2012-11-14 12:22:40 +09:00
Jean Chalard
f592270a0f am 7648b37d: Merge "Make sure all FDs are correctly closed." into jb-mr1.1-dev
* commit '7648b37d1e4cf3799288f85cc9c5f67b515e24c4':
  Make sure all FDs are correctly closed.
2012-11-13 18:43:57 -08:00
Jean Chalard
7648b37d1e Merge "Make sure all FDs are correctly closed." into jb-mr1.1-dev 2012-11-13 18:42:35 -08:00
Jean Chalard
5c32b6da44 Make sure all FDs are correctly closed.
In this kind of series of calls, it's possible that an outer call to a
constructor fails, but the inner succeeded.
Example:
try {
    is = new A(new B());
} finally {
    if (null != is) is.close();
}
In this case, if new B() succeeds but new A() throws an
exception, is stays null and the intermediate object is never
closed. This is what was happening in this instance.

Bug: 7377336
Change-Id: I3fae9fec1135244982fcf5098c76d93f3e0f2add
2012-11-13 16:53:07 +09:00
Jean Chalard
7d34763e23 am fac619a3: Merge "Don\'t restrict reset composing state to non-identical setText" into jb-mr1.1-dev
* commit 'fac619a34c8101cac504db500d74114dc8768372':
  Don't restrict reset composing state to non-identical setText
2012-11-12 23:02:34 -08:00
Jean Chalard
a13a8a58e0 am 0e84041b: Refactor all phantom-space-inserted spaces in one place
* commit '0e84041bf740590230198fa845d8c45acd4cb586':
  Refactor all phantom-space-inserted spaces in one place
2012-11-12 23:02:32 -08:00
Jean Chalard
fac619a34c Merge "Don't restrict reset composing state to non-identical setText" into jb-mr1.1-dev 2012-11-12 23:00:12 -08:00
Jean Chalard
0e84041bf7 Refactor all phantom-space-inserted spaces in one place
Bug: 7164981
Change-Id: If1635c212b2d5d9cf51f5fb074f3b20dd7ec7b2a
2012-11-13 12:53:55 +09:00
Jean Chalard
61cc2a3391 Don't restrict reset composing state to non-identical setText
Bug: 7497063
Change-Id: Ifbd5c37408131867458fd921bdef46ef90d81478
2012-11-12 18:34:18 +09:00
The Android Open Source Project
a8ec322b1a am bc43e3f2: Reconcile with jb-mr1-release - do not merge
* commit 'bc43e3f29060252d2a08b4e976bdb2ca50438623':
2012-11-07 10:24:23 -08:00
The Android Open Source Project
bc43e3f290 Reconcile with jb-mr1-release - do not merge
Change-Id: I105d8e6a795dd5b38d42051196581896e7ea4f30
2012-11-07 10:20:18 -08:00
The Android Automerger
be07aad4e9 merge in jb-mr1-release history after reset to jb-mr1-dev 2012-11-06 18:04:26 -08:00
Ken Wakasa
aa5d6fe05c am 9cc22c45: am 5d2556b9: Reset the IME if requested by the app.
* commit '9cc22c45ec04f3b1772631e1ef18103dc55c2a0b':
  Reset the IME if requested by the app.
2012-11-06 14:29:45 -08:00
Ken Wakasa
9cc22c45ec am 5d2556b9: Reset the IME if requested by the app.
* commit '5d2556b93286f5f1d7d829b586b84a8b7ae55743':
  Reset the IME if requested by the app.
2012-11-06 14:27:24 -08:00
The Android Open Source Project
4d09554794 am 202c3a5f: Reconcile with jb-mr1-factory-release jb-mr1-release - do not merge
* commit '202c3a5f32e20939a3dff24b7e2f047e47b29e17':
  Import translations. DO NOT MERGE
  Import translations. DO NOT MERGE
  Build LatinIME with NDK r8
2012-11-06 12:24:06 -08:00
The Android Open Source Project
202c3a5f32 Reconcile with jb-mr1-factory-release jb-mr1-release - do not merge
Change-Id: I355e91c06f0958f1baec5923324dcbcdf408d3f2
2012-11-06 12:18:48 -08:00
Ken Wakasa
5d2556b932 Reset the IME if requested by the app.
Specifically, reset the KeyboardState to the main Alphabet layout in
LatinIME.onStartInputViewInternal() if a keyboard layout set doesn't get
reloaded in the method.

Please note TextView.setText() calls up resetInput(), then the IME should
reset with it.

bug: 7482086

Note that bug: 6851364 needs to be revisited.

Change-Id: I5d448c10963d3dd952dd13cb587085ec7b014e69
2012-11-07 01:09:26 +09:00
The Android Automerger
cbbfb472ab merge in jb-mr1-release history after reset to jb-mr1-dev 2012-10-26 16:23:17 -07:00
Satoshi Kataoka
5e118c4c04 am 60dea36d: Assuming that NO_EXTRACT_UI mode is NO_FULSCREEN
* commit '60dea36dafc4a567b948b5175bcca776b08fdfad':
  Assuming that NO_EXTRACT_UI mode is NO_FULSCREEN
2012-10-25 19:26:35 -07:00
Satoshi Kataoka
60dea36daf Assuming that NO_EXTRACT_UI mode is NO_FULSCREEN
Bug: 7393485
Bug: 7272829
Change-Id: I873e8d99486c734e76484526631a90fc55e91c86
2012-10-25 20:00:46 +09:00