Commit Graph

246 Commits

Author SHA1 Message Date
Amir E. Aharoni
a1cbd5074a Update jquery.uls from upstream
* Fix ota writing system and autonym
* Clean up conditions code in uls.core
* Localisation updates

Bug: 60815
Change-Id: I2c7bfa55e495fcac6d9e2cf747004ee4a0e46475
2014-04-25 18:02:59 +03:00
Amir E. Aharoni
767c3cea4f Update jquery.ime from upstream
* Add Batak input method
* Fix Odia Lekhani input method

Bug: 56309

Change-Id: I9192554f42994a799309b9cec7466045dccfe27d
2014-04-20 12:19:23 +00:00
Santhosh Thottingal
ed6c2cf3c8 Remove a console debug statement added in I579c3ccb6e0c1ad
Change-Id: Ifbbc9b8b3a643d38fd8874e23c1087e5ee431e80
2014-04-16 10:53:42 +05:30
Santhosh Thottingal
db750d1a1e Update jquery.webfonts to 372aad1
Introduce overridable font family option
Font stacks given in overridableFontFamilies will be overridden
as as exception to the general policy of not altering elements with
explicit font family styles

Change-Id: I579c3ccb6e0c1ad39d434651a4689e8c595e5a84
2014-04-14 17:35:34 +05:30
Kartik Mistry
bfdda7bde4 Update jquery.ime from upstream
Upstream: https://github.com/wikimedia/jquery.ime

Changes:
* hi-inscript: Fixed incorrectly mapped Devanagari letter TTHA
* ml-inscript: Correct the mapping of ഠ
* or-inscript: fix mapping of Oriya letters TTA and TTHA
* Remove unwanted escape for double quotes from rules files
* Remove prefixed border-radius rules
* Avoid JavaSript error while trying to get autonym
* Rules loading: Use $.ajax to cache the rule js file

Change-Id: I49b88551263434a93b600278d665e80737edb555
2014-04-08 18:58:31 +00:00
Amir E. Aharoni
d1efe292a5 Localization update from upstream
Change-Id: I3ffc4214dafec7517a13cd52ef9aa3eb592717bc
2014-04-07 01:09:45 +03:00
Amir E. Aharoni
f67b21bd85 Update jquery.uls from upstream
* German localization update.
* Removed redundant prefixed CSS rules.

Change-Id: I1fe46b7d37d4809d5dd2748d9003a4db40e53364
2014-03-31 20:56:32 +03:00
Amir E. Aharoni
24a47aa034 Update jquery.webfonts from upstream
Changes:
* Fixed the condition for queueing elements for webfonts application.

Bug: 62530
Change-Id: I0100b653682ecf9a07256528aa40a5d8765489db
2014-03-17 06:15:31 +00:00
Amir E. Aharoni
e1c6eb9323 Update from ULS upstream
* Localisation updates
* Added to langdb:
** Lushootseed (lut)
** Fíntika Rómma (rmf)

Change-Id: Ica4420acdfbb96fec5d884d293978c854cd801ce
2014-03-16 14:37:24 +00:00
Kartik Mistry
d8c6e59da8 Update jquery.webfonts from upstream
Upstream: https://github.com/wikimedia/jquery.webfonts
 Changes:
 * Bug 56081: Reset webfonts where we found inline css style upon reset.
   This will fix broken live preview of content font bug.

Change-Id: I60a75611db8cc299b6cc9ba14c5aff6719cb3239
2014-03-14 10:18:40 +05:30
jenkins-bot
361750c310 Merge "Update jquery.uls from upstream" 2014-02-20 13:26:36 +00:00
Kartik Mistry
80a8a465e9 Update jquery.uls from upstream
Upstream: https://github.com/wikimedia/jquery.uls
Changes:
* Optimize all SVGs.
* Bug 60815: Add rwr and ota to the languages supported by ULS.
* Drop -moz-linear-gradient for images.
* Localisation updates from https://translatewiki.net.

Change-Id: I3455db4ec0b9ffd8f0a29d41e8ef56309e9c59d2
2014-02-20 17:59:20 +05:30
Kartik Mistry
2a403e407a Update jquery.ime from upstream
Upstream: https://github.com/wikimedia/jquery.ime
Changes:
* Optimize all SVGs.
* Removed unused images/ime-inactive.* files.
* Renamed: rules/README -> rules/README.md

Also, updated version in UniversalLanguageSelector.php

Change-Id: Ifd848da55e8ac68ef63fef5d435ecc23fc20e000
2014-02-20 17:20:34 +05:30
jenkins-bot
ce27557f02 Merge "Update jquery.i18n from upstream" 2014-02-14 04:24:34 +00:00
Kartik Mistry
db055c8f47 Update jquery.ime from upstream
Upstream: https://github.com/wikimedia/jquery.ime
Changes:
 * Bug 53695: For languages with no input methods, set
   "use native keyboard" by default.
 * Add Venetian input method.
 * Drop -moz-linear-gradient
 * Apply /* @embed */ pragma to all images, not just the topmost in each
   block.
 * Validate the input method id in load method.

Change-Id: I05f8350003227e150948670caf919f05a2b00f88
2014-02-11 18:38:39 +02:00
Kartik Mistry
9c40252a72 Update jquery.i18n from upstream
Upstream: https://github.com/wikimedia/jquery.i18n
Changes:
 * Support fallback loading when folder is passed as source to load
 * Do not overwrite existing messages for a locale while adding messages
   second time
 * Fix the country code case issue
 * Renamed jquery.i18n.messages.js to jquery.i18n.messagestore
 * ULS: Updated Resources.php for renaming of jquery.i18n.messages file

Change-Id: I60a6e3224cb7b8ea813a8ccd7e389071b3d1244c
2014-01-21 10:20:57 +05:30
Santhosh Thottingal
1113786330 Detect tofu before applying any default fonts
To detect whether the client can render a given string,
use a tofu detection algorithm.

If the user has an explicit font preference, do not override it.

If the user has no preference and there is a default font for a
language, see if that language can be rendered at the user's browser
using tofu detection.

If tofu is detected, apply the font.

If the element has 'autonym' class, apply Autonym font only when
that language has tofu.

Change-Id: Ib9ee9497e6bcfa7eb86f7d264e0980d8880d6b70
2014-01-20 22:20:58 +05:30
Ori Livneh
f7066d4d2a Apply /* @embed */ pragma to every image, not just the topmost in each block
/* @embed */ is scoped to the rule immediately below it, not the entire block.

Change-Id: I862b01e6bb70a53904b8264872f08d1bc1b073c1
2014-01-17 19:21:52 -08:00
Amir E. Aharoni
5f57b41101 Update ULS from upstream
Chuvash localization

Change-Id: I50b73d0f50fe6c5e71799d51bd3ddbcf0baa78c5
2014-01-12 15:57:11 +02:00
Amir E. Aharoni
ce9b6c8dbd When clicking a region, scroll only the list and not the whole page
Bug: 59175
Change-Id: I7b6b53ac01b99c6172830513f25ab51c6a83d919
2014-01-06 12:24:32 +00:00
Amir E. Aharoni
f2355dfd65 Updating from ULS upstream
* Localization updates.
* Added localization for Dutch informal.
* Performance improvements - see
  https://github.com/wikimedia/jquery.uls/pull/122

Change-Id: I6a76097722ae7ab2774172838823d73da5050581
2013-12-20 15:24:41 +02:00
Amir E. Aharoni
d7d43e1dbb Update from upstream
Includes the change of all i18n files to Unicode encoding.

Change-Id: I0529696fe541f40c9cdcf8589c9e6b717a921ff9
2013-12-03 20:13:31 +02:00
Amir E. Aharoni
d309b344ea Update uls core from upstream
Change-Id: I8e89431ce1f33da2b46826e9e6669cc214c92a4b
2013-12-01 19:28:19 +02:00
Amir E. Aharoni
6cf71a54d0 Update jquery.ime from upstream
This should fix bug 54646.

Change-Id: Ibda702d1b92f160de426ebdb05b00d38a1ff5c0d
2013-11-22 19:18:27 +00:00
Amir E. Aharoni
313b4a108a Update from upstream
* Localization updates.
* Solution for bug 54725

Change-Id: I91f8263c49fdfba3084f2b3107a8b57963fd720d
2013-11-22 22:55:48 +05:30
Santhosh Thottingal
6cd178359e Update jquery.ime to latest version
Version: v0.1.0+20131111
Changes:
* Optimizez icon images

Change-Id: I221c064c47cece276b8f9760fae7dce0e3bd4160
2013-11-11 11:14:38 +05:30
Santhosh Thottingal
42deb56323 Update jquery.i18n from upstream
Upstream: https://github.com/wikimedia/jquery.i18n
Upstream changes:
* Fixed a potential js error because of wrong logic
* Fixed some JShint errors
* Added license and credits files
* Updated gitignore file
* Fixed uk and ru grammar rules and updating tests
* Source code formatting updates

Change-Id: I43433cc3d9993045160dc85ed9e73370d22794cf
2013-11-08 16:08:54 +05:30
Kartik Mistry
fca6e1b17b Update jquery.uls from upstream.
Upstream: https://github.com/wikimedia/jquery.uls
Changes:
1. Optimize png images with optipng -o7
2. Optimize language icon SVG
3. Optimize the search and worldmap svgs
4. Localization updates.

Change-Id: Ic921b31830b0d7a1424d9d663924e92b9c5268f1
2013-11-08 15:21:57 +05:30
Santhosh Thottingal
01acd4cc94 Avoid grid overrides in jquery.uls
Updates jquery.uls from upstream

Change-Id: I0009039aa9a71bb61f5f62ed4de10d83838d9abf
2013-11-06 07:11:14 +00:00
Santhosh Thottingal
5aa1198417 Remove the Autonym font from the lib/jquery.uls
Followup I10b8658e29c03b136b4475c4c69ace33e5628a98

Change-Id: I25992159fd5b999cfa0e4861196850d36eb5890e
2013-11-04 20:02:16 +05:30
Santhosh Thottingal
c197309810 Update jquery.uls from upstream
Upstream: https://github.com/wikimedia/jquery.uls
Changes:
* Reduce data size of uls language data a bit by using unescaped unicode
* Move the autonym font to example instead of making part of jquery.uls
* Use attr and prop consistently in jquery.uls.lcd.js
* Remove unnecessary object instance from jquery.uls.lcd.js
* Avoid 'recalculate style' by changing classes conditionally while
scrolling the language list
* Remove non-existing "-ms-linear-gradient"
* Localisation updates

Change-Id: I10b8658e29c03b136b4475c4c69ace33e5628a98
2013-11-01 09:57:48 +00:00
Siebrand Mazeland
901916967f Update jQuery.IME from upstream
* Make names for Hindi input methods consistent.
* Make names for Marathi input methods consistent.

Bug: 56160
Change-Id: I0b4ff9d8d7e01392237facb54e7b77ee9ef753b0
2013-10-29 14:56:38 +01:00
Siebrand Mazeland
a1cf6c7592 Update jQuery.IME from upstream
* Add autonym class where applicable
* Change name for de-transliteration input method
* Remove obsolete my-kbd input method

Bug: 55698
Change-Id: I6e9613b760af2916a614ab687822b3b3b45e1ce5
2013-10-29 14:08:52 +01:00
Santhosh Thottingal
63a0dd5666 Update jquery.uls from upstream
Upstream: https://github.com/wikimedia/jquery.uls/

Changes:

* Update Autonym font
* Code formatting fixes
* Localization updates
* Language autonym correction and language additions
* Performance fix for region selector

Change-Id: I1da30aa31ad8a4fe430a12fef05c4e6b54fc6648
2013-10-23 20:33:14 +05:30
Santhosh Thottingal
7867b41ca4 Update jquery.webfonts from upstream
Upstream: https://github.com/wikimedia/jquery.webfonts/

Changes:
* Respect explicit font styles of child elements when switching
languages
* Fix duplicate font-weight property

Change-Id: Ic45357b2613e6f33c392f9a78cc389f31c99e036
2013-10-22 17:17:52 +00:00
Santhosh Thottingal
35ac3b972a Fix monospace font usage for input fields for latin scripts
Updating jquery.webfonts from upstream

Bug: 53734
Change-Id: I58c9c3fb74774e26e0f680cec0b0f9b2d3b2c11c
2013-10-21 16:01:35 +00:00
KartikMistry
ec532d6347 Merge "Update jquery.ime from upstream" 2013-10-21 09:23:03 +00:00
Santhosh Thottingal
007d7358c5 Update Autonym font
Downstreaming a48123ef1e

Change-Id: Iad60bfda7fea2c228754b3eb619dda16b8cfdfa5
2013-10-20 11:28:37 +05:30
Santhosh Thottingal
cc413a3a4d Update jquery.ime from upstream
version: v0.1.0+20131019 (commit: 4ac70e0047)
upstream: https://github.com/wikimedia/jquery.ime

Changes:
* Language tags are case insensitive now
* Fixes to Hindi and Persian input methods
* Shift modifier key support
* Misc CSS fixes

Bug: 54117
Change-Id: I581a1006c34fd86372facdae85ea48b4ed1ffc2c
2013-10-19 20:00:22 +05:30
jenkins-bot
b65c2d4956 Merge "Use Autonym font for language autonyms" 2013-10-18 07:17:20 +00:00
Ori Livneh
27224935c6 Cherry-pick dcbed4f from jquery.webfonts upstream
dcbed4f: Remove magic date from version query string
<https://github.com/wikimedia/jquery.webfonts/commit/dcbed4f>

Change-Id: I8cbce12916b67601db93dcbca63d9985b6b49717
2013-10-17 09:39:15 -07:00
Santhosh Thottingal
52ead2aa41 Use Autonym font for language autonyms
Updates jquery.uls from upstream autonymfont branch

Also contains an example html page which can be used
for testing the font

Change-Id: Ia702ba1df91701df67160d973a0caaa72511c743
2013-10-17 14:40:40 +05:30
Amir E. Aharoni
de57dadf33 Localization update from upstream
Change-Id: I9ac867e8b54b63119acf213e82f3171e7dee32fc
2013-09-30 16:25:06 -07:00
Santhosh Thottingal
3fbbf05c26 Optionally exclude elements from applying webfonts
* Updates jquery.webfonts from upstream
* Introduces wgULSNoWebfontsSelectors configuration variable. It
  takes an array of jquery selector to which webfonts will not be
  applied if defined.

Change-Id: I0dc263f84620af4077f52e18eeb0f986ff0f13b9
2013-09-19 10:17:54 -07:00
Kartik Mistry
9db73d2a11 Update jquery.ime from upstream
Version: v0.1.0+20130914

Changes:
1. Improved Persian keyboard.
2. Show the menu correctly if it goes off-screen.
3. Removed unneeded code.
4. Ability to customise time out for IME selector widget.

Bug: 52154
Change-Id: Id87dee11456de0499450083f434b64e188b6d33f
2013-09-14 10:51:31 +05:30
Santhosh Thottingal
8250d94625 Update jquery.ime from upstream
Version: v0.1.0+20130904
Changes:
1. Add Persian keyboard
2. In a ltr page with rtl input, if menu has no space in left,
flip it right

Bug: 50690
Change-Id: Id84fa09b93bd0e31d328bbdaedc4219ea6a9e75d
2013-09-04 12:28:13 +05:30
Amir E. Aharoni
60e038b0db Update jquery.ime from upstream
Adds support for specifying the input method menu header text.

Change-Id: I4c0b8c4879ef49b58a4c897b9131dbfddea524f0
2013-08-26 10:22:08 +00:00
Santhosh Thottingal
35f7172a11 Update jquery.webfonts from upstream
Bug: 49151
Change-Id: I9dd87f44c0465801ac225a1bdc6268e85f89911e
2013-08-26 11:44:37 +05:30
Santhosh Thottingal
17956d5af8 Update jquery.webfonts from upstream
Upstream: https://github.com/wikimedia/jquery.webfonts
Changes:
* Fixes Bug 53203
* More documentation and code cleanup

Bug: 53203
Change-Id: Ieb48ba532cc1d9880d2fde1b185af7cbed1a3eff
2013-08-23 13:52:35 +05:30
Amir E. Aharoni
e018a52498 Update jquery.ime from upstream
Change-Id: I904dfd1e089e92deaa2da50510d0975a8e317a94
2013-08-22 15:36:02 +03:00