Bug 851610 - Don't look for fastboot for emulator runs, r=ahal, a=test-only
Bug 839716: B2G configs for leo/inari device builds. r=hwine a=akeybl
Bug 839757: UDP Server Socket support in Necko - Interface definition r=honzab.moz, a=blocking-b2g:leo+
Bug 839757: UDP Server Socket support in Necko - Implementation r=honzab.moz, a=blocking-b2g:leo+
Bug 839757: UDP Server Socket support in Necko - Net glue r=honzab.moz, a=blocking-b2g:leo+
Bug 839757: UDP Server Socket support in Necko - Tests r=honzab.moz, a=blocking-b2g:leo+
Bug 822712 - Simple Push notifications for b2g - Interfaces sr=jonas, a=blocking-b2g:leo+
Bug 822712 - SimplePush WebSocket implementation, r=dougt, jlebar, jst. a=blocking-b2g:leo+

This patch sets up the build.

Push.js is the object that sits on navigator as navigator.pushNotification.
PushService always runs as soon as Gecko starts.

Folded:
Bug 822712 - setup, initialization
* * *
Bug 822712 - Notify app/site using system messages
* * *
Bug 822712 Extra notification, bad code but needed to prevent massive MQ conflicts
* * *
Bug 822712 - Parallel requests prohibited for sync. Needs tuning.
* * *
Bug 822712 - Protocol implementation
* * *
Bug 822712 - Use origin instead of manifest as identity for sites. Use DOM principal too.
* * *
Lots of changes to system messages to try out things. WIP
* * *
Minor PushService fixes for Android.
* * *
Add Push[Service] files to the Android package.
* * *
Bug 822712 - Remove registration sync attempt in register callback
* * *
Bug 822712 - Don't clear pending requests on websocket disconnect
* * *
Bug 822712 - Mark creation time of request
* * *
Bug 822712 - Retry conflicting channelIDs
* * *
Bug 822712 - Webapps.jsm cannot be imported in child processes.

This will prevent us from delivering system messages to the page specified in the manifest.
FIXME
* * *
Bug 822712 - Three changes

Do not fake desktop notifications, they are not working.
Add necko_websocket.xpt to b2g build.
onStop is not the same as onServerClose. the status is a NS_ error code. This needs further fixes
* * *
Bug 822712 - Prefs exceptions
* * *
Bug 822712: Use Preferences to prevent exceptions
* * *
Bug 822712 - Start WebSocket if we have registrations
* * *
Bug 822712 - Reconnect on socket error
* * *
Bug 822712 - Send channelIDs in hello
* * *
Bug 822712 - Unregister should clear local database first
* * *
Retry connecting to server with exponential backoff
Bug 822712 - Start UDP socket on boot if required. r=dougt, jlebar, jst, a=blocking-b2g:leo+
Bug 822712 - SimplePush - Add PushManager to the test_interfaces.html test. r=dougt a=blocking-b2g:leo+
Bug 827266 - [Bluetooth][Hfp] Support 'call waiting notification activation'. r=echou, a=akeybl
Bug 828175 - [Bluetooth] [Hfp] Error handling for AT+CHLD command. r=echou, a=akeybl
Bug 823346 - [Bluetooth] [Hfp] Updating status change of Battery level. r=echou, a=akeybl
Bug 827230 - [Bluetooth] [Hfp] Support feature 'Query Operator Selection' (AT+COPS?). r=echou, a=akeybl
Bug 828798 - [Bluetooth] [HFP] No redundant +CIEV commands are sent to bluetooth headset. r=echou, a=akeybl
Bug 841336 - Remove assertion in RunDBusCallback if platform is gonk. r=echou, a=leo+
Bug 849330 - Camera recording needs AID_SDCARD_RW capability. r=dhylands, a=leo+
Remove all moz.build files. r=ryanvm. a=buildgod

--HG--
extra : rebase_source : a644bee98c2513aff89afb52be637303180eb86f
Backed out changeset 91f808d088fd
backout of 6c95f9a21e9b