gecko-dev/extensions
Nikhil Marathe 6197d267f6 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

--HG--
extra : rebase_source : 252fff15ec81dc08faf91fba3b066af91f9989b4
2013-03-29 12:16:15 -07:00
..
auth bug 804605 - backout 766973 767158 785050 from beta of 18 a=lsblakk 2012-12-03 15:55:06 -05:00
cookie Bug 822712 - SimplePush WebSocket implementation, r=dougt, jlebar, jst. a=blocking-b2g:leo+ 2013-03-29 12:16:15 -07:00
gio Bug 799441 - Build GIO module in libxul. r=ted,a=lsblakk 2012-10-18 14:47:10 +02:00
gnomevfs Bug 791906: Replace NSPR integer limit constants with stdint ones; r=ehsan 2012-09-28 01:57:33 -05:00
permissions Bug 773151: Convert nsCAutoString->nsAutoCString CLOSED TREE r=bsmedberg 2012-09-01 22:35:17 -04:00
pref Bug 791906: Replace NSPR integer limit constants with stdint ones; r=ehsan 2012-09-28 01:57:33 -05:00
spellcheck Bug 717853 - Add a native version of DMD. r=jlebar, r=glandium, a=jlebar 2012-12-10 16:05:07 -08:00
universalchardet Bug 780979 - Compute length of char to freq order tables. r=smontagu 2012-08-29 06:48:15 -07:00
widgetutils Bug 773151: Convert nsCAutoString->nsAutoCString CLOSED TREE r=bsmedberg 2012-09-01 22:35:17 -04:00
Makefile.in Bug 774032 bonus - Use @DEPTH@ and @relativesrcdir@ in Makefile.in. r=ted 2012-08-04 20:26:44 +02:00
build.mk Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
confvars.sh Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00