Commit Graph

43 Commits

Author SHA1 Message Date
Amir E. Aharoni
3b6d5cc83e Log ime-change event
Change-Id: I6dfc769f0de536e2ef35b165fe7a35f196bb181b
2013-08-20 08:34:52 +03:00
Santhosh Thottingal
8f5be106f5 Update jquery.ime library
upstream: http://github.com/wikimedia/jquery.ime

changes:
* Support for contenteditable, like the VisualEditor surfaces. This
  support is very minimal now. Because of VE bugs on IME support, many
  things are broken. But one-one keyboard mappings should work with less
  issues. The UI of jquery.ime is not integrated with VE toolbar
* More input methods
	- IPA-X-SAMPA by Amir
	- Armenian keymaps by  Aleksey Chalabyan
	- Kurdish keymaps by Ghybu
	- Кыргыз keymap by Amir
	- Central Kurdish keyboards by Çalak
* A lot of input method bug fixes multiple contributors
* Minor UX fixes

Introduces Rangy library.
A module named rangy is defined in VisualEditor extension with more features of rangy.
Here we need only the core library. This module is loaded dynamically from
client when rangy is undefined. If VE is present rangy will be defined, the module
defined in VE will be used. ie, This get loaded only when VE is not present and
user trying to type in a contenteditable.

Bug: 49569
Bug: 50849
Bug: 50220

Change-Id: Iadad5a4e5972fbd1359847526d28e9dbbe00a7c4
2013-08-19 04:40:08 +00:00
Santhosh Thottingal
18b8bbd89c Update jquery.ime from upstream
Change-Id: Ieb29f2cb90862a9ffb61309dc5cbc351e79074f1
Version: v0.1.0+20130722
Upstream: http://github.com/wikimedia/jquery.ime
Bug: 50939
2013-07-22 14:11:43 +05:30
Amir E. Aharoni
95c23085ff Update jquery.ime from upstream
Change-Id: I1eabfcda79be85c8c28c11472ddc17b2e90c061d
2013-07-15 15:59:29 +03:00
Santhosh Thottingal
2f61970301 Update jquery.ime from upstream
Change-Id: I37d3f1e6b0ebff3ddfd46b2c155e4f5fe590cb4b
Version: 0.1.0+20130708
2013-07-08 15:23:47 +05:30
Santhosh Thottingal
69e037862c Update jquery.ime from upstream
Bug: 50790
Change-Id: I3755581136cca9958e31b20694c4285c14646c38
2013-07-07 21:01:57 +05:30
Amir E. Aharoni
244b20d2b5 Update jquery.ime from upstream
Bug: 49679
Change-Id: I1bc5a4ac2788d20d2bdba6454bd278a3b4681168
2013-06-26 08:52:38 +00:00
Santhosh Thottingal
96f6721772 Update jquery.ime from upstream
Version:  v0.1.0+20130625

* Add sa-iast input method
* Fix bug https://github.com/wikimedia/jquery.ime/issues/188

Bug: 49515
Change-Id: I8ebd5bc4857285eb29d0ec6741cc6953ac187722
2013-06-25 17:17:46 +05:30
Santhosh Thottingal
6374b34029 Update jquery.ime from upstream
Version: v0.1.0+20130624
Fixes Kannada transliteration input method name

Bug: 50006
Change-Id: I283d2b1faaf6640f6327f82ea2ba74b3d0121f4f
2013-06-24 11:19:22 +05:30
Santhosh Thottingal
8dfc3976b1 Update jquery.ime from upstream
Version: 0.1.0+20130619
* Make system as default ime for all languages
* Update uk keyboard

Bug: 49783
Change-Id: I534b13e50f9d95673f66639f1ccef90d7fa8304c
2013-06-19 09:58:55 +00:00
Santhosh Thottingal
2ca2f6d3fe Update jquery.ime from upstream
Version: 0.1.0+20130617

Bug: 49317
Change-Id: I566980aeafb9dce45ab4916751947c301778377c
2013-06-17 16:56:27 +05:30
Santhosh Thottingal
2c2e0f6142 Update jquery.ime from upstream
Bug: 49317
Change-Id: If84ed1017d68e4061b86464c683c82102a8986d1
2013-06-10 12:44:14 +05:30
Santhosh Thottingal
d10b5c86fc Update jquery.ime from upstream
Version: 0.1.0+20130607

Changes:
* Bug 49178: IME icon not visible in IE8
* Bug 49073 - In RTL, checkmark for selected input method overlaps text in ime menu
* Correct Malayalam Avagraha in Malayalam transliteration

Change-Id: Ib3fc2409958e8be8522a2f4072181dce434a76e3
2013-06-07 20:18:15 +05:30
Santhosh Thottingal
335b338b69 Update jquery.ime from upstream
Fixes issue: Native Keyboard selection not reflected on the input fields
Version: 0.1.0+20130605
Bug: 49152

Change-Id: I1f16b3d8084bec8a4b7ab0b28bbe71777b44c077
2013-06-07 08:01:32 +00:00
Santhosh Thottingal
000d04c14e Update jquery.ime from upstream
Change-Id: Iac3c14f82c982396c4bcecfb3c5cc97df82c41cb
Version: 0.1.0+20130531
2013-05-31 16:43:46 +05:30
Santhosh Thottingal
8655504371 Refactor interface integration code
Reduce document.ready code by moving functions outside and grouping
tooltip related code to a function.

Also remove window and document from wrapper anon function since
browser: true is defined in .jshintrc

Bug: 48156
Change-Id: I7228285cdcb33b915e96e7e2c59e4dbc90f5fc96
2013-05-27 12:35:49 +00:00
Santhosh Thottingal
a93438a14e Update jquery.ime from upstream
Version 0.1.0.20130522

Changes:
* Correct the versioning by adding build date metadata
* Remove an unwanted css style
* Avoid screen jump on click of IME menu items
* AltGr+M doesn't create a µ
* Code cleanup

Change-Id: Ia9ccd89a24f4d8627cf3a16f59984ad79f3d49f5
2013-05-22 13:33:21 +05:30
Santhosh Thottingal
00c37b9218 Update jquery.ime from upstream
* selectLanguage need to check whether
 ime changed before return with noop
* Add dot reph(0D4E) to Malayalam transliteration

Change-Id: I35c05e8261270096ceb652db9b0dc24be9fa71fc
2013-05-20 08:07:50 +00:00
Amir E. Aharoni
b9e1fe5547 Update from upstream
Bug: 43904
Change-Id: I34e8ad3e82ffa23f03b5ddf25e92d850991abb43
2013-05-08 16:16:23 +03:00
Amir E. Aharoni
42fb994f0a Update from upstream
Change-Id: I376b19a7c686de2769ee64f4fc8258c4b0ceec1f
2013-05-06 19:23:45 +03:00
Amir E. Aharoni
552cd25ae6 Update from upstream
Change-Id: I8affdf79e5a2f33c88f7661082d2cbd7777240fb
2013-04-23 16:03:28 +03:00
Santhosh Thottingal
d3ce43b1d7 Update jquery.ime from upstream
Fixes the positioning of the menu if there is not enough space
in the left side.

Bug: 41738
Change-Id: I64d40acb41559b0b6376c03a4076d17dcedbc466
2013-04-03 05:50:14 +00:00
Santhosh Thottingal
b8b4b275ff Update jquery.ime from upstream
Change-Id: I8aaec153f29863174430d9c338eb2d97b8c835d6
2013-03-13 13:24:26 +05:30
Santhosh Thottingal
0fcd17ab88 Update jquery.ime from upstream
* Fixes bug 44992
* Improvements to click event handling

Change-Id: I2146340051b937cb51e7f296fd947262c781d712
2013-03-11 11:45:14 +05:30
Santhosh Thottingal
0738d68504 Update jquery.ime from upstream
Change-Id: I5cecbb8628fe61a00abfab89cc628db25b408528
2013-03-06 15:33:06 +05:30
Santhosh Thottingal
7d9b81fb9d Update jquery.ime from upstream
* Adds many input methods

Change-Id: I2f3576948416e7d2bf2f935e609fe50977e7e9d9
2013-02-17 09:44:26 +00:00
Siebrand Mazeland
a98ff90d49 Update jquery.ime and jquery.webfonts from upstream
Change-Id: I7963adc763c53df87cfb8452fde514554a332e6c
2013-01-17 18:30:36 +00:00
Amir E. Aharoni
4359f1e85a Updating from upstream
Change-Id: I3acc149e5272914d10c879b08e284ef5aa1e2f7f
2012-11-27 08:44:09 +02:00
Santhosh Thottingal
0d4c477323 Update jquery.ime from upstream
* Hide the IME selector after a few milliseconds of inactivity.

Change-Id: I1d06cab7b5a573dea9c82a95fea463b021c4f8ba
2012-11-26 12:12:36 +05:30
Santhosh Thottingal
58b304206a Update jquery.ime from upstream
* Hide ime on blur

Change-Id: I18e18243c751efb96781ec20fba40495a1ee9f21
2012-11-22 15:17:44 +05:30
Santhosh Thottingal
f8947b9686 Update jquery.ime from upstream
* UI improvements, fixes
* More input methods
* Misc functionality fixes

Change-Id: I1a516027e9654a498e4e87c83f8d72ad24eb5596
2012-11-19 07:56:53 +00:00
Santhosh Thottingal
fed90fbacb Update jquery.ime from upstream
Change-Id: I2bf298173918b8b4c8a14fd69242e858f6ec4744
2012-11-13 14:45:18 +05:30
Amir E. Aharoni
8d5307852a Update from upstream
Change-Id: If1843b6292c92d07b3dcf7f58ade57e2eb0bd880
2012-11-10 12:01:13 +05:30
Santhosh Thottingal
e6c0052d1a Update jquery.ime from upstream
Avoid css inheritance for the selector menu.

Change-Id: I407ff816582be9def0e9802a21e8ad06aa0d45ff
2012-10-31 18:03:32 +05:30
Santhosh Thottingal
b24d629780 Update jquery.ime from upstream
- Namespaces for events

Change-Id: Ife372ec4fc3b9610c6a04ce5a94aa2b83b9c933e
2012-10-31 12:52:16 +05:30
Santhosh Thottingal
8069e530e7 i18n for input method settings
Change-Id: Id6cf3f24fe355a6757533d3b7f302e3d33cfa0c3
2012-10-30 19:50:35 +01:00
Santhosh Thottingal
7546da7888 Update jquery.ime from upstream
Localized named for input methods
Remove capitalize keyboard for English

Change-Id: I3cd64c01adbe9749f8210119070301e0c4cb3488
2012-10-30 20:48:40 +05:30
Santhosh Thottingal
e10bf2f3ce Update jquery.ime from upstream
Fixes IE8 error on Object.keys

Change-Id: I91e05725ce890edc79b64fbbce3a6e2b920c7216
2012-10-30 11:03:07 +05:30
Santhosh Thottingal
45acc5d7b3 Update jquery.ime from upstream
Provides overridable help link along with other code cleanups

Change-Id: I78b8cdcd3ca53c9008674fc775e98aa9cf1e5764
2012-10-29 16:18:49 +05:30
Santhosh Thottingal
fc4ca9f823 Callback for preference save action is optional
$.noop() was wrong. Changed it to $.noop as callback

Change-Id: Iff935e1a9c1b364efd947ce1bff785dacb81570e
2012-10-29 10:34:43 +05:30
Santhosh Thottingal
e12f80ee75 Save the ime preference when disabled
This was causing unwanted activation of IME across page visits

Change-Id: Ibbcb5494154770ca363f8baf8e975973a393f7e2
2012-10-29 10:25:48 +05:30
Santhosh Thottingal
5cbad377e0 Update jquery.ime from upstream and a fix in default preferences
Default preferences are kept while loading from localstorage. It may
be empty first time. Handling that case.

Change-Id: If5780006120e401a4df1171146760692b8963363
2012-10-26 08:54:19 +00:00
Santhosh Thottingal
f13e474e43 Input method integration with ULS
The file ext.uls.settingspanel.js is a draft for common
code in the different settings panels.

Change-Id: I057274f16b27b2c18d43d41c1d43f485a18ef0bf
2012-10-26 11:14:02 +05:30