Bug 925584 - Remove some unnecessary jsapi.h inclusions from .cpp files.  r=Ms2ger.

--HG--
extra : rebase_source : 41fcb0e922a519ef679c1c1b6293c2b638e83a48
Merge m-c to m-i
Bug 912015 - Support multiple wap_supplicant connections. r=mrbkap
Bumping gaia.json for 1 gaia-central revision(s) a=gaia-bump

========

https://hg.mozilla.org/integration/gaia-central/rev/dfae5ff6b7c4
Author: Corey Frang <gnarf37@gmail.com>
Desc: Bug 912010 - [Keyboard][V1.2] Default Keyboard when all keyboards are de-selected - r=rlu r=garychen r=arthurcc

- Refactors `KeyboardHelper`
  - Renames the application method to `getApps`, which now caches response until the apps change
  - Adds a new API `getLayouts` to get a callback with an array of layouts.
  - Adds a new API `watchLayouts` to get a callback whenever layout settings or apps change
  - No longer calls `saveToSettings` itself when changing layout parameters.  This allows a consumer to batch operations before saving.
  - New method `checkDefaults` will make sure there is at least one `text` `url` and `number` keyboard enabled, calling the callback with anything it enabled.
  - +unit test suite.

- ManifestHelper now automatically returns a ManifestHelper for each object it contains
  - +unit test suite
  - now waits until access time to handle the language selection instead of creation time
     - this allows holding the one manifest helper and having its "name" property change with the language

- Settings Changes
  - Now uses `watchLayouts` from keyboard_helper
  - Now calls `checkDefaults` when disabling a keyboard
    - If a default is enabled opens a DefaultKeyboardEnabledDialog
  - Removed a bunch of commented out code for dealing with the old layout settings

- System Changes
  - Now uses `watchLayouts` from keyboard_helper
  - Will call `checkDefaults` whenever it can't find a keyboard to show, showing the default from `text` if it still can't find one

- Test suite
  - Moved some mocks to shared and updated require statements
  - Mock Settings now allows a "sync mode" that can call the callbacks for observers on demand.

Closes gh-12866
Bumping gaia.json for 2 gaia-central revision(s) a=gaia-bump

========

https://hg.mozilla.org/integration/gaia-central/rev/a4ca66875990
Author: James Lal <james@lightsofapollo.com>
Desc: Merge pull request #13100 from lightsofapollo/revert-4c652c5

Revert "Merge pull request #13097 from dmarcos/bug928614"

========

https://hg.mozilla.org/integration/gaia-central/rev/2c17c8a26ed7
Author: James Lal <james@lightsofapollo.com>
Desc: Revert "Merge pull request #13097 from dmarcos/bug928614"

This reverts commit 4c652c5ca43f301217cbabf8f781b93a860bec37, reversing
changes made to afbf45f26a73b7cd5e0a831bea48087331975286.
Bumping gaia.json for 2 gaia-central revision(s) a=gaia-bump

========

https://hg.mozilla.org/integration/gaia-central/rev/79a154658ac1
Author: James Lal <james@lightsofapollo.com>
Desc: Merge pull request #13101 from lightsofapollo/vbump-marionette-1.0.0

NO BUG - vbump marionette a=test-only

========

https://hg.mozilla.org/integration/gaia-central/rev/a186a56904a6
Author: James Lal <james@lightsofapollo.com>
Desc: NO BUG - vbump marionette a=test-only
Bumping gaia.json for 2 gaia-central revision(s) a=gaia-bump

========

https://hg.mozilla.org/integration/gaia-central/rev/84806d46b65c
Author: Francisco Borja Salguero Castellano <borjasalguero@users.noreply.github.com>
Desc: Merge pull request #12935 from borjasalguero/uk_v1.2_sprint3_forward

Bug 927783 - [Messaging][Forward] Create action panel for deleting/forwa...

========

https://hg.mozilla.org/integration/gaia-central/rev/592fc908accc
Author: borjasalguero <fbsc@tid.es>
Desc: Bug 927783 -  [Messaging][Forward] Per message context menu opens options/action menu (to incl. delete, forward) r=schung,rwldrn
Merge m-c to b-i
CLOSED TREE
Merge m-c to b-i
CLOSED TREE
Bug 931586 - Use FileUtils.PERMS_DIRECTORY instead of 0755 in nsUpdateService.js. r=bbondy
Bumping gaia.json for 2 gaia-central revision(s) a=gaia-bump
Truncated some number of revisions since the previous bump.

========

https://hg.mozilla.org/integration/gaia-central/rev/5cffbcaff577
Author: Ryan VanderMeulen <rvandermeulen@mozilla.com>
Desc: Merge pull request #13066 from Pike/bug-930469-malformed-properties

bug 930469, malformed properties file.

========

https://hg.mozilla.org/integration/gaia-central/rev/89f65b6d853c
Author: Axel Hecht <axel@pike.org>
Desc: bug 930469, malformed properties file.
Remove leftover merge conflict marker
Bumping gaia.json for 2 gaia-central revision(s) a=gaia-bump

========

https://hg.mozilla.org/integration/gaia-central/rev/c73e725d0176
Author: Evyatar Amitay <evyatron@gmail.com>
Desc: Merge pull request #12529 from EverythingMe/session-reinit

[Bug 914591] make sure sessions get re-inited after expiration [r=ranbena]

========

https://hg.mozilla.org/integration/gaia-central/rev/7f8b27532247
Author: Evyatar Amitay <evyatron@gmail.com>
Desc: [Bug 914591] make sure sessions get re-inited after expiration [r=ranbena]
Bug 929891 - [Bluetooth][bluedroid] Enable/Disable Bluetooth, r=echou
Bug 913372 - Patch 1: Refine the architecture of BluetoothProfileController, r=echou
Bug 913372 - Patch 2: Set mController to null before invoking callback function, r=echou

For each profile manager, we'd like to make sure that the data member of
mController is nulled out before invoking the callback function. Because, in the
callback function, we continue to handle the next connect/disconnect request,
and we'd like to null out mController of previous request before handling the
new one.
Bug 913372 - Patch 3: Make a queue for active connection requests, r=echou
Bumping gaia.json for 1 gaia-central revision(s) a=gaia-bump
Truncated some number of revisions since the previous bump.

========

https://hg.mozilla.org/integration/gaia-central/rev/373644db99ce
Author: Rick Waldron <waldron.rick@gmail.com>
Desc: Bug 920546 - [Messages] Short-term fixes for the recipient panel r=julienw

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

- Apply new "invalid recipient" indicator style
- Decouple searchContact from list display
- Create ThreadUI.listContact(...)
- Create ThreadUI.validateContact(...)
- Adds two level validation:
    - Is the entry questionable?
        - This kicks off a silent search for matching contacts
        - If there are one or more matches, use the first to create a Recipient
    - Is the entry invalid?
        - This state is reached if no contacts could be found
          for the typed value.
        - Prevents enableSend
        - Prevents "export" of recipient entry at Send
          (when mixed with multiple valid recipients)
- Refactor Utils.getContactDisplayInfo logic
- Adds tests for enableSend
- Adds tests for questionable Recipient detection.

Changes, post review:

> Bug 1:
>  - enter a bogus recipient, press enter to "accept" it
>  - press backspace => the cursor is correctly inside the contenteditable element, but it's still "red" and the keyboard is hiding

Fixed by adding CSS rules:
  [contenteditable=false].attention
  [contenteditable=true].attention

---

> Bug 2:
>  - with the recipient light workload, that has a "Adam L. Card" contact
>  - typing exactly "Adam L. Card" => no match
>  - typing "Adam Card" => match

Yep, this has always been true. See also: https://bugzilla.mozilla.org/show_bug.cgi?id=860804

---

> Bug 3:
>  - add text in the composer
>  - add a bogus contact => the send button is enabled, should be disabled

Fixed by being more explicit in enableSend:

Set hasRecipients to true based on the following conditions:

 1. There is a valid recipients object
 2. One of the following is true:
     - The recipients object contains at least 1 valid recipient
       - OR -
     - There is >1 character typed and the value will not
       evaluate to a NaN

Signed-off-by: Rick Waldron <waldron.rick@gmail.com>
Bumping gaia.json for 3 gaia-central revision(s) a=gaia-bump

========

https://hg.mozilla.org/integration/gaia-central/rev/b722b062fc40
Author: steveck-chung <schung@mozilla.com>
Desc: Merge pull request #12924 from steveck-chung/incoming-call-refinement

Bug 924736 - [Dialer] Incoming call lock screen icons css/animation fine -tune. r=etiennesegonzac, a=timdream.

========

https://hg.mozilla.org/integration/gaia-central/rev/6d7b8275b447
Author: Steve Chung <schung@mozilla.com>
Desc: Bug 924736 - [Dialer] Incoming call lock screen icons css/animation fine-tune

========

https://hg.mozilla.org/integration/gaia-central/rev/6527c99890cc
Author: Rudy Lu <left.lu@gmail.com>
Desc: Revert "Merge pull request #13115 from RudyLu/keyboard/Bug928281-keyboard_OOP"

  This reverts commit 9c6586d85d4340600ace0aa69f5741c5f3f67970, reversing
  changes made to 0c52c04fa2e07c119f4777f1dddc1081734de4ab.

Revert "Bug 912010 - [Keyboard][V1.2] Default Keyboard when all keyboards are de-selected - r=rlu r=garychen r=arthurcc"

  This reverts commit ad0bf992cd379a32de18b9a4bb765757db8af986.

  Conflicts:
	apps/settings/index.html
Bumping gaia.json for 2 gaia-central revision(s) a=gaia-bump

========

https://hg.mozilla.org/integration/gaia-central/rev/8e5ab4582834
Author: evelynhung <jj.evelyn@gmail.com>
Desc: Merge pull request #13024 from MBRSL/eng-mode

Bug 913385 - Add Hardware tests mode r=evelyn,zac

========

https://hg.mozilla.org/integration/gaia-central/rev/7c55c55ae7f6
Author: Tom Jao <tjao@mozilla.com>
Desc: Bug 913385 - Add Hardware tests mode r=evelyn

    This patch organize old tests into API and UI parts, and add new Hardware tests.
    Also, there are some minor fixes on existing tests.
    HW tests mode provide the following tests:

    Audio loop
    Battery
    Bluetooth
    Camera
    Headphone
    LCD
    Physical keys
    Ringer
    SDCard
    Sensors
    Touch screen
    Vibrator
Bumping gaia.json for 1 gaia-central revision(s) a=gaia-bump

========

https://hg.mozilla.org/integration/gaia-central/rev/33b06ed662ee
Author: Arthur Chen <crh0716@gmail.com>
Desc: Revert "Bug 909689 - Set data connection text based on the network mode and the existence of calls"

This reverts commit d505b37f2e856d0cf7c7cd5b37c02eec44f06b7d.