Merge pull request #9491 from mcirlanaru/bug_834718

Bug 834718 - [Music] Add visual feedback for current view by ... r=@dominickuo(cherry picked from commit c4ebcc10a3b3097b5245cd826599788d3b56bb7e)

Conflicts:

	apps/music/index.html
	apps/music/style/music.css
Bug 878797 - Sync languages_all.json between v1-train and master

Adding missing 15 languages to v1-train
Merge pull request #10158 from albertopq/call-log-error-highlight

Bug 878726 -  Call time in red although answered (not missed call)(cherry picked from commit 21590fbe6ff9e566b7f4b63319e7b18a5ddb45a0)

Conflicts:
	apps/communications/dialer/style/call_log.css
Revert "Merge pull request #10018 from huchengtw-moz/sms/Bug_875564_after_attaching_image_sometimes_send_button_is_still_disabled"

This reverts commit 39f21224da6e4494d84e0f1980393fb98a3bc4a5.
Bug 875183 - Remove UA override for thechive.com r=fabrice
(cherry picked from commit e8854c0a3b3ebba70448c9527bddddb789920d09)
Merge pull request #8361 from taratatach/add_alternate_punctuation

Bug 845760 - long press on period key does not show special character me... r=davidflagan(cherry picked from commit c3cc7069002c7ad7925b473d393c7e5c480155bc)
Bug 878657 - Add UA overrides for Hungary, Mexico, Montenegro, and Serbia r=fabrice
(cherry picked from commit 5b01f824e0d8ff6b09be85de7366aa9394888f50)

Conflicts:
	build/ua-override-prefs.js
Bug 873934: uplift auto-correct patches from master to v1-train

Revert "Merge pull request #9971 from es92/bug-851565-keyboard-suggestion-capitalization-fix"

This reverts commit 37d7a218f06629b9e1dee6d3ce4d6a8276d84ae0, reversing
changes made to eea34495a4610d1b00d333e64586202bc6d488b5.

Revert "Merge pull request #9183 from evelynhung/issue-861108-v1.0.1"

This reverts commit 21ff040abc73842b1304790b574a7fceea270451.

Merge pull request #9052 from davidflanagan/autocorrect

Bug 860462 - enable keyboard auto-correction r=gwagner(cherry picked from commit 132c5a712ec4d4e92208ba4fc65ca98b8be00b31)

Conflicts:

	apps/keyboard/style/keyboard.css

Merge pull request #9124 from ckerschb/docu2

Bug 858158 (final) - [keyboard] document prediction algorithm and make it tuneable(cherry picked from commit d83b55803088a2b0a447a3282ead603f625ea9ff)

Merge pull request #9421 from davidflanagan/bug797171

Bug 797171: revert user-selected suggested words on backspace r=anygregor(cherry picked from commit 23ed3304a4123a1b177ebd9a802870feebdeb501)

Merge pull request #9422 from davidflanagan/bug861113

Bug 861113: correctly define uppercase for non Latin-1 letters(cherry picked from commit 58665c2e62206c59356e1a4c040fa81251294e55)

Merge pull request #9153 from davidflanagan/bug860624

Bug 865484 - refactor dictionary data structure and search algorithm for keyboard auto-correct r=anygregor r=ckerschb
(cherry picked from commit 413482d038560cb4065d4866013c15c64730bdfe)

Merge pull request #9610 from davidflanagan/autocorrect-visuals

Bug 868819: modify auto-correct UX and visuals(cherry picked from commit 9fa85e6ec186f865810a7ad1a4805fd37689c6d0)

Conflicts:

	apps/keyboard/style/keyboard.css

Merge pull request #10038 from comoyo/keyboard_no_autocorrect

Bug 876658 - Dont perform autocorrect if old & new word are the same. r=rudyl(cherry picked from commit bebcb40d4fe8539674f166ab057e93c9a19c1751)

Merge pull request #10155 from davidflanagan/bug876891

Bugs 878387, 878168, 876891: fix three closely related auto-correct bugs. r=janjongboom(cherry picked from commit 6ca1a9b1f327047697ab409e7e13bccd1d0a887a)

Merge pull request #10154 from davidflanagan/bug873223

Bug 873223: make long suggestions fit, increase font size, fix justification r=RudyLu(cherry picked from commit 417e5e24b7a617fdb01de10341c78b1214fdf5c8)

Conflicts:

	apps/keyboard/style/keyboard.css

Merge pull request #10171 from davidflanagan/bug878384

Bug 878384: don't autocorrect single-letters r=es92(cherry picked from commit 7611662e5c5649d446b9c61cf1dfaeff51934e94)

Merge pull request #10172 from davidflanagan/bug878838

Bug 878838: don't suggest the same word twice r=es92(cherry picked from commit 06890504218906b24dfdc568729d330e6316a645)

Merge pull request #10173 from davidflanagan/nondeterministic-autocorrect

Bug 879076: handle case of nearby keys correctly r=es92(cherry picked from commit 60d03c4ff2570844f868a7bedcd8b5249e3b27ea)

Merge pull request #10175 from davidflanagan/bug878843

Bug 878843 - Integrate with replaceSurroundingText for autocorrect (with... r=fabrice,djf(cherry picked from commit bc48562d5ede4d0c96f10557d64ccf9a5204253c)

tweak css for suggestions display because of keyboard layout differences between master and v1-train

Merge pull request #10228 from es92/Bug879187

Bug879187: Autocorrect suggestions disappear when keyboard redrawn r=davidflanagan(cherry picked from commit 159b0dd42bbc4c2ddfa6aee6b9a0bea11bbd3072)

Merge pull request #10227 from davidflanagan/bug879533

Bug 879533: don't display user's input if we don't have any suggestions r=es92(cherry picked from commit eed087331dcdf1a509286ca125c013869a780968)

Merge pull request #10230 from davidflanagan/bug878386

Bug 878386: if initial search for corrections fails, search harder r=es92(cherry picked from commit 0225f1ac137f619043054a7b05c998b89fbfaaaf)
Merge pull request #10225 from davidflanagan/autocorrect-uplift

Bug 873934: uplift auto-correct patches from master to v1-train a=akeybl
Merge pull request #10144 from dominickuo/bug-874289-new

Bug 874289 - modify open activities of Video and Music to handle errors, r=djf(cherry picked from commit 2f44e5a02f0f11c2d525c672dc045f1c75a19c7c)
Merge pull request #9929 from mcirlanaru/v1-train_bug_834718

Bug 834718 - [Music] Add visual feedback for current view by ... r=@dominickuo(cherry picked from commit c4ebcc10a3b3097b5245cd826599788d3b56bb7e)

Conflicts:

	apps/music/index.html
	apps/music/style/music.css
Bug 875564 - [MMS] after attaching image, sometimes send button is still disabled - r=gnarf

- Assimilate recipients when input gains focus
- Assimilate recipients when attachment button is pressed
- Assimilate recipients when send button is pressed

https://bugzilla.mozilla.org/show_bug.cgi?id=875564

Signed-off-by: Rick Waldron <waldron.rick@gmail.com>

Closes gh-10224
(cherry picked from commit fdc0e5ea5461a9464ebf707fd0dcb27a4354a23f)
Merge pull request #10262 from ian-liu/clock/Bug878701_no_received_localized_event_while_onring_page_loaded

Bug 878701 - [Buri][REG][Alarm]Alarm clock to remind interface display abnormal, no ring , keypad can not operate it., r=@timdream(cherry picked from commit 8aa9a8f905294f3d821f85f1a4a27d47d6ba9a57)
bug 867038 - allow alarms with/without vibrate and ring tone
bug 879899 fixed display issue with with repeat select, and added tests for function at fault
bug 880431 copy buttons.css BB locally
Merge pull request #7800 from RudyLu/vkb/Bug823791_lang_selectUI

Bug 823791 - Modify the highlighted background of keyboard layout select...(cherry picked from commit fa169fa5ccc6aa8fba2cae65dc42079453d36011)
Merge pull request #10167 from lodr/bug-878833-completing-test-coverage

Bug 878833 - Completing test coverage for bug 873365
r=arcturus(cherry picked from commit bddfa7ca6a7b4cac70156a4b80f94b5c1e120260)
Merge pull request #10186 from lodr/bug-877990-performance-limits

Bug 877990 - Adding minimum delay between automatic requests to respect performance limits.
r=@jmcanterafonseca(cherry picked from commit e82cd52989ac88fcf8335489d04871656f8b80a4)
Bug 877683 - [MMS] Compose field obscured by subheader r=gnarf37

In accordance with the UI specification, update the interaction between
the "subheader" elements and the Compose field. Specifically, this
means:

- Some elements should never obscure the Compose fields (when active,
  they should instead "push" the Compose field downward if it is
  rendered at maximum height. These elements are:
  - The Recipients List (or "To: Field")
  - The "MMS Max Length" notifications
  - The "Carrier" element
- The "Message Convert Notification" should render overlaid on the
  Compose field.

To implement the specified behavior, this commit includes the following
changes:

- The "subheader" elements
  - Markup has been updated to differentiate between notifications that
    should push the Compose field downward and those that are "overlaid"
    on the Compose field.
  - Styling has been updated to ensure that the appropriate elements
    trigger resizing of the "subheader" (while taking care not to alter
    the visual presentation of these elements)
- Compose field height recalculation:
  - Scheduled to occur whenever changes in the DOM may change the height
    of the "subheader"
  - Removed logic that triggered recalculation in response to the
    global `hashchange` event (the above change obsoletes this more
    simplistic heuristic)
- Maximum input height calculation now has been generalized to honor any
  change in height to the "subheader"
- The Compose field's height calculation logic has been updated:
  - Modify the input's scoll offset (in order to prevent undesired
    changes in position)
  - Comments and variable names updated as appropriate
  - Remove meaningless CSS calculation (setting the `bottom` attribute
    of a `position: static;` element)
(cherry picked from commit 9e8b529b16875f63aec3ad5eae5ec9ce52721aa0)