Commit Graph

725 Commits

Author SHA1 Message Date
Fabrice Desré
a09583d2ef Bug 776672 - Check that app processes using the application management APIs have the right permission(s) [r=cjones] 2012-09-29 20:08:01 -07:00
Fabrice Desré
97127bdc67 Bug 772364 - Implement update mechanism for packaged apps [r=gwagner] 2012-09-29 10:57:18 -07:00
Phil Ringnalda
eee9bbbf40 Back out eae519534b01 (bug 772364), 4935822abf87 (bug 795164) and ddee22deae16 (bug 793082) for orange on a CLOSED TREE 2012-09-29 13:20:09 -07:00
Fabrice Desré
0992143e97 Bug 772364 - Implement update mechanism for packaged apps [r=gwagner] 2012-09-29 10:57:18 -07:00
Etienne Segonzac
4785fb6428 Bug 795164 - Preventing DOMApplicationRegistry from broadcasting the same message to the same message manager multiple times. [r=fabrice] 2012-09-29 10:57:18 -07:00
Phil Ringnalda
8aa24b1c1a Merge last PGO-green changeset of mozilla-inbound to mozilla-central 2012-09-28 22:06:29 -07:00
David Dahl
bea0055f87 Bug 758269 - Install permissions from manifest to Permission Manager r=fabrice 2012-09-28 17:16:29 -05:00
Ben Turner
fdc00e0ba2 Bug 794563 - 'Make app uninstall trigger new clear private data notifications'. r=mounir+sicking. 2012-09-28 09:24:45 -07:00
Fabrice Desré
8c783dc3ee Bug 790870 - Implement install/update API during installation of hosted apps - Part 2 : hosted apps implementation [r=gwagner] 2012-09-26 18:01:20 -07:00
Ryan VanderMeulen
22ea5db2cf Backout 5c0e68dceca8 (bug 758269) due to mochitest-other orange.
--HG--
extra : rebase_source : 4576482dfdf270c203572a0c39093e590836fa76
2012-09-26 19:49:43 -04:00
David Dahl
8a1b0e1843 Bug 758269 - Install permissions from manifest to Permission Manager r=fabrice 2012-09-26 17:22:54 -05:00
Ben Turner
484cefec2c Bug 784378 - 'Apps API - Clear Private Data'. r=jlebar. 2012-09-26 15:03:25 -07:00
Gregor Wagner
5a0bbab753 Bug 792882 - Errant call to mm.broadcastMessage in Webapps.jsm. r=fabrice 2012-09-26 12:04:33 -07:00
Gregor Wagner
e8d5cb7b98 Bug 792846 - SystemMessageInternal.js fails if one of the message receiver is closed. r=vingtetun 2012-09-26 11:06:25 -07:00
Andrea Marchesini
b13172b91d Bug 779982 - Change behaviour of getSelf and add amInstalled function. r=sicking 2012-09-25 11:04:24 -04:00
Myk Melez
159114ff49 Bug 791943. r=fabrice 2012-09-24 22:41:21 -04:00
Ryan VanderMeulen
c4c6c1f408 Backout 63643fbbde88 due to mochitest-other orange. 2012-09-23 16:48:35 -04:00
Myk Melez
01e392abba Bug 791943. r=fabrice 2012-09-23 15:26:35 -04:00
Marco Castelluccio
56cce214f7 Bug 789341 - Webapps.js catch eats everything. r=fabrice 2012-09-22 20:48:27 -04:00
Marco Castelluccio
d5db9231ba Bug 786710 - Don't allow the launch_path of a manifest for absolute URLs to launch an app. r=fabrice 2012-09-22 20:48:26 -04:00
Fabrice Desré
6b050bae3f Bug 793243 - Eng builds (VARIANT=) fail to show homescreen on otoro [r=dhylands] 2012-09-21 20:40:03 -07:00
Fabrice Desré
d661e4976a Bug 789527 - Change the way we install packaged apps [r=gwagner] 2012-09-27 12:34:41 -07:00
Phil Ringnalda
2cd3626604 Back out c6cb52ebb2c8 (bug 789527) for xpcshell bustage
--HG--
extra : rebase_source : 461c95c93d64d14f2130296acde2c7030a3009e4
2012-09-27 14:37:39 -07:00
Fabrice Desré
c7dcb8fc6f Bug 789527 - Change the way we install packaged apps [r=gwagner] 2012-09-27 12:34:41 -07:00
Fabrice Desré
158cd8dd65 Bug 787439 - Ensure applications permissions are updated when doing a system update [r=vingtetun] 2012-09-19 09:28:55 -07:00
Fabrice Desré
74db4fd985 Bug 777204 - Webapps.jsm broadcasts information to all content processes [r=gwagner] 2012-09-18 10:34:55 -07:00
Fabrice Desré
638cd93d5c Bug 791144 - Remove useless __exposedProps__ [r=mrbkap] 2012-09-14 07:52:31 -07:00
Fabrice Desré
36bb58bca1 Bug 788125 - System messages don't work with different entry points if the app is not already open [r=vingtetun] 2012-09-13 11:47:34 -07:00
David Chan
75a2500868 Bug 790815 - appStatus is not properly set for packaged apps [r=fabrice] 2012-09-12 17:52:03 -07:00
Fabrice Desré
d0e21218f9 Backed out changeset f5a65da34f1d 2012-09-12 17:49:30 -07:00
David Chan
9a39eef032 date: Wed Sep 12 17:26:44 2012 -0700
Bug 790815 - Fix appStatus assignment for packaged apps [r=fabrice]
2012-09-12 17:47:10 -07:00
David Chan
d7680c1cc5 Bug 790795 - mozApps.installPackage doesn't call onsuccess/onerror handlers [r=fabrice] 2012-09-12 16:12:59 -07:00
Fabrice Desré
cdd45aeb2c Bug 786361 - Prevent a startup race waiting for the DOM application registry to load [r=marshall] 2012-09-11 18:17:01 -07:00
Myk Melez
0626a2e761 bug 777400 - disable mozApps.installPackage API in Firefox for Desktop and Android; r=fabrice, sr=sicking 2012-09-11 13:53:42 -07:00
Dave Hylands
7d713cabde Bug 784805 - Add a name field to mozIApplication and set it from the manifest r=fabrice 2012-09-10 21:30:10 -07:00
Etienne Segonzac
abc1d7153f Bug 788751 - Bubble the manifestURL in the webapps-launch mozChromeEvent. r=vingtetun 2012-09-07 17:41:26 +02:00
Fabrice Desré
f076c96d44 Bug 775327 - App ID generation and storage is unsafe [r=sicking] 2012-09-05 18:07:21 -07:00
Fabrice Desré
557d38dbbf Bug 788872 - Cannot run packaged apps after install without restarting gecko [r=gwagner] 2012-09-05 17:37:41 -07:00
Fabrice Desré
5d55bf4797 Bug 787564 - Today repository cause a black display on SGS2/Otoro due to regression from bug 778079 [r=vingtetun] 2012-09-03 16:33:39 -07:00
Fabrice Desré
5d7e68e82f Bug 783573 - Remove permissions whitelist from navigator.mozApps [r=gwagner] 2012-08-31 08:36:39 -07:00
Mounir Lamouri
41418e78b5 Bug 786296 - Remove permissions when an app is uninstalled. r=jlebar,fabrice 2012-08-31 11:34:28 -03:00
Fabrice Desré
ecc761ed3a Bug 778079 - Support loading app packages from multiple locations [r=vingtetun] 2012-08-29 14:20:03 -07:00
Fabrice Desré
82aa89bd1d Bug 787090 - Fix the implementation of launch() when there is an entry point. [r=vingtetun] 2012-08-30 15:02:00 -07:00
Ryan VanderMeulen
578664b73b Backout 2865d46e472d (bug 778079) for xpcshell failures on a CLOSED TREE. r=IfYoureGoingToUseTryLookAtTheResultsBeforePushingToInbound 2012-08-29 18:58:31 -04:00
Fabrice Desré
6de4eae610 Bug 778079 - Support loading app packages from multiple locations [r=vingtetun] 2012-08-29 14:20:03 -07:00
Fabrice Desré
30faf6cc6f Bug 768868 - App manifest should support application type [r=vingtetun] 2012-08-27 19:43:57 -07:00
Fabrice Desré
ddc1158fbe Bug 781620 - Bridge the DOM webapps registry with nsIPrincipal::GetStatus() - Part 4 : leak fix [r=jlebar] 2012-08-29 07:31:10 -07:00
Fabrice Desré
55e3fe03b2 Bug 781620 - Bridge the DOM webapps registry with nsIPrincipal::GetStatus() - Part 2 : refactoring AppsService to cache webapps data in the content process [r=mounir, vingtetun] 2012-08-27 19:43:57 -07:00
Fabrice Desré
e973026a8b Bug 781620 - Bridge the DOM webapps registry with nsIPrincipal::GetStatus() - Part 1 : nsPrincipal changes [r=mounir] 2012-08-27 19:43:57 -07:00
Phil Ringnalda
5423f5636c Back out a08d28e8a86b (bug 768868), 9b96029a9cf0 and 010b5cb3576d (bug 781620) for test failures and leaks 2012-08-27 21:34:53 -07:00
Fabrice Desré
f24d334b22 Bug 768868 - App manifest should support application type [r=vingtetun] 2012-08-27 19:43:57 -07:00
Fabrice Desré
a8c212eb9e Bug 781620 - Bridge the DOM webapps registry with nsIPrincipal::GetStatus() - Part 2 : refactoring AppsService to cache webapps data in the content process [r=mounir, vingtetun] 2012-08-27 19:43:57 -07:00
Fabrice Desré
b2b008100b Bug 781620 - Bridge the DOM webapps registry with nsIPrincipal::GetStatus() - Part 1 : nsPrincipal changes [r=mounir] 2012-08-27 19:43:57 -07:00
Philipp von Weitershausen
5801c8b2ab Bug 776825 - Separate message managers into senders and broadcasters. r=smaug
--HG--
rename : content/base/public/nsIFrameMessageManager.idl => content/base/public/nsIMessageManager.idl
2012-08-27 11:13:02 -03:00
Nick Desaulniers
30e8676a5a Bug 781379: getNotInstalled should be under mgmt and return apps from all origins; r=felipe 2012-08-20 10:19:56 -07:00
Fabrice Desré
3cc4e0a638 Bug 783825 - Fix b2g breakage after bug 553102 - Part 1 : fix mozChromeEvent events and system message manager [r=gal] 2012-08-19 12:00:19 -07:00
Phil Ringnalda
a87528cd9f Back out a9f462ea67f9 (bug 783825) for mochitest-chrome bustage 2012-08-18 21:08:40 -07:00
Fabrice Desré
469d9b9918 Bug 783825 - Fix b2g breakage after bug 553102 [r=cjones] 2012-08-18 19:50:44 -07:00
Wes Johnston
ceed4adc3e Bug 650399 - All webapps should use the same webapp database. r=mfinkle 2012-08-15 17:02:15 -04:00
Fabrice Desré
747dcf0bbc Bug 782835 - System Messages: oop processes not receiving web activities system messages [r=vingtetun] 2012-08-15 13:27:02 -07:00
Gene Lian
e467ccc6c5 Bug 782772 - Support the href property in web activities. r=vivien,fabrice 2012-08-15 10:40:12 +08:00
Fabrice Desré
dc0b9aab51 Bug 779176 - Activities doesn't work with different entry points (not using href) [r=mounir] 2012-08-09 08:39:52 -07:00
Chris Jones
8db92af81c Bug 776649, part 1: Add mozIApplication in order to expose a hasPermission() method through it. r=fabrice 2012-08-08 19:58:06 -07:00
Marco Castelluccio
c3543b66ba Bug 774142. Support webapp uninstallation on Linux through mozApps.uninstall function. r=felipe 2012-08-08 18:04:48 -07:00
Chris Jones
7867ac451f Back out bug 776649. r=bustage 2012-08-08 20:13:12 -07:00
Chris Jones
df30ce715d Bug 776649, part 1: Add mozIApplication in order to expose a hasPermission() method through it. r=fabrice 2012-08-08 19:58:06 -07:00
Wes Johnston
fe19c64718 backout c030a8af8abd and dd0c287660e9 CLOSED TREE 2012-08-08 14:07:39 -07:00
Wes Johnston
e93b6d5b1c Bug 776677 - Send notifications when webapp install errors are not handled by the requester. r=fabrice 2012-08-08 12:35:15 -07:00
Wes Johnston
06b4038d02 Bug 776600 - Add support for orientation in webapp manifests. r=felipe 2012-08-08 12:35:15 -07:00
Fabrice Desré
3cc4461330 Bug 779935 - nsIAppsService.idl need to get mozIDOMApplication from manifest id [r=mounir] 2012-08-08 09:41:47 -07:00
Myk Melez
dcd6634043 bug 780686 - DOMApplicationRegistry._cloneAppObject doesn't clone the receipts array; r=fabrice 2012-08-07 13:51:44 -07:00
Ryan VanderMeulen
063e6430c9 Backout 4e54a6eb43d2 (bug 780686) and f10e4ac36ed2 (bug 772299) due to mochitest-other permaorange on a CLOSED TREE. 2012-08-07 20:32:09 -04:00
Fabrice Desré
872b0933cd Bug 780686 - DOMApplicationRegistry._cloneAppObject doesn't clone the receipts array - followup [r=fabrice] 2012-08-07 15:56:46 -07:00
Myk Melez
12b13696cd bug 780686 - DOMApplicationRegistry._cloneAppObject doesn't clone the receipts array; r=fabrice
--HG--
extra : rebase_source : e9aede7e1195c92b908ede022444ad6bee78cab8
2012-08-07 13:51:44 -07:00
Wes Johnston
3a191aa6b7 Backout 81a090e983d2, 8236b3579bf3, 2012-08-07 10:08:41 -07:00
Wes Johnston
e501512494 Bug 776677 - Fire notifications when webapp installs throw errors. r=fabrice 2012-08-07 09:48:44 -07:00
Marco Castelluccio
c8ab37634e Bug 760748: Add the category of the application to the desktop entry file; r=fabrice 2012-08-06 18:16:00 -07:00
Mike Hommey
6173fa297f Bug 774032 bonus - Use @DEPTH@ and @relativesrcdir@ in Makefile.in. r=ted 2012-08-04 20:26:44 +02:00
Mike Hommey
4e998b1d36 Backout changeset 2ef51674316a (bug 774032 bonus) for various Mochitest bustages on a CLOSED TREE 2012-08-04 10:38:41 +02:00
Mike Hommey
17fb6cad2d Bug 774032 bonus - Use @DEPTH@ and @relativesrcdir@ in Makefile.in. r=ted 2012-08-04 08:48:56 +02:00
Fabrice Desré
df8ace7073 Bug 714299 - Manifest fetched on install shouldn't be cached [r=mayhemer] 2012-08-03 09:24:35 -07:00
Fabrice Desré
14eb0a4d9b Bug 738298 - navigator.mozApps.mgmt.getAll() doesn't handle non-ASCII characters in the manifest [r=vingtetun] 2012-07-31 03:06:56 -07:00
Fabrice Desré
ae3833ac3f Bug 777195 - AppsService is not e10s ready [r=cjones] 2012-07-26 09:30:38 -07:00
Fabrice Desré
cedf35e79d Bug 715814 - Implement Web Activities: DOM Part [r=mounir] 2012-07-20 17:41:30 +02:00
Mounir Lamouri
19b289e5df Bug 758258 - Part 2 - Add GetExtendedOrigin(), NO_APP_ID and UNKNOWN_APP_ID. r=sicking 2012-07-18 21:25:19 -07:00
Steve Fink
fe7cf7ba30 Backed out changeset afc1cf222996 2012-07-19 15:22:32 -07:00
Mounir Lamouri
a5975943d6 Bug 758258 - Part 2 - Add GetExtendedOrigin(), NO_APP_ID and UNKNOWN_APP_ID. r=sicking 2012-07-18 21:25:19 -07:00
Ed Morley
80af77da9d Backout ea6db8f420c0 (bug 770831), b51c79ee0883 (bug 774957), 020f6ed5958b (bug 758258), 11d8e19e1fca (bug 758258), 707fc51bfe2e (bug 775354), 489d944a6fe6 (bug 327244), be7df3c9d50f (bug 327244) for m-oth orange 2012-07-19 08:29:48 +01:00
Mounir Lamouri
e7de2ebedc Bug 758258 - Part 2 - Add GetExtendedOrigin(), NO_APP_ID and UNKNOWN_APP_ID. r=sicking 2012-07-18 21:25:19 -07:00
Mounir Lamouri
30ac846f75 Bug 772050 - Remove 'classInfo' from AppsService and SettingsService. r=gwagner 2012-07-18 07:58:02 -07:00
Ryan VanderMeulen
f9cf4cd881 Merge m-c to inbound. 2012-07-16 20:38:39 -04:00
Etienne Segonzac
ae3aabc3d4 Bug 774216. Can't launch apps on B2G since it's seen as XP_UNIX by WebappOSUtils. r=felipe 2012-07-16 11:22:16 -07:00
Dan Walkowski
28c56e849b Bug 772600. Create WebappOSUtils to host platform-specific webapps code and implement native app launch. r=felipe
Windows part by Tim Abraldes and Linux part by Marco Castelluccio
2012-07-14 01:09:39 -07:00
Anant Narayanan
bbe38a194a Bug 761045: Upload locally installed apps on first run; r=gps 2012-07-13 19:52:30 -07:00
Fabrice Desré
b550133be0 Bug 769350 - Implement trusted/certified app scheme support [r=vingtetun] 2012-07-11 08:38:36 -07:00
Fabrice Desré
d85fdad2c5 Bug 772363 - Implement installation API for packaged apps [r=vingtetun] 2012-07-11 08:38:33 -07:00
Ryan VanderMeulen
959e0d6234 Merge m-c to inbound. 2012-07-09 20:53:11 -04:00
Gregory Szorc
f0647bbe94 Merge mozilla-central into services-central 2012-07-08 20:48:04 -07:00
Gregory Szorc
80b5ac1bfa Merge mozilla-central into services-central 2012-07-03 09:55:45 -07:00
Richard Newman
bed5378e3f Merge m-c to s-c. 2012-07-01 11:06:36 -07:00
Anant Narayanan
630d1ebde3 Bug 760898: Merge with s-c 2012-06-26 13:21:36 -07:00
Anant Narayanan
7ac9ca93dc Bug 760898: Set dom.mozApps.used when the Apps DOM API is used; r=fabrice 2012-06-26 13:12:33 -07:00
Gregory Szorc
91b6cd65d3 Bug 767023 - Change "deleted" to "hidden" per spec change; r=rnewman 2012-06-23 10:22:53 -07:00
Fabrice Desré
85686b7317 Bug 764091 - Accessing mozApps manifest properties need __exposedProps__ set correctly [r=vingtetun] 2012-06-20 21:12:21 -07:00
Ed Morley
acf544c10f Merge last PGO-green changeset of mozilla-inbound to mozilla-central 2012-07-03 10:10:06 +01:00
Felipe Gomes
0fac728073 Bug 770297. Call to isLaunchable needs to use the app origin, and not the install origin. r=fabrice 2012-07-02 20:45:00 -07:00
Fabrice Desré
677562f2d8 Bug 755245 - Implement System Message Handler - Part 5, Add system messages registration from webapps manifests [r=vingtetun] 2012-07-02 17:16:55 -07:00
Nathan Froyd
a7eb97f896 Bug 370750 - consolidate mochitest files installation; r=glandium
With assistance on the patch from Ms2ger, Waldo, and Mossop.
2012-07-03 16:49:02 -04:00
Mounir Lamouri
a49170baba Bug 770832 - Add 'localeId' to WebApps registry. r=fabrice 2012-07-09 12:25:41 +02:00
Myk Melez
618d1fd23a bug 765063 - save installURL for later use; r=fabrice
--HG--
extra : rebase_source : 7360e295a4549d29d2667a0c8e38708959df7f40
2012-07-05 11:12:55 -07:00
Felipe Gomes
4be4f50178 Bug 768276. Part 3 - Implement mozApps.getNotInstalled. r=jst 2012-06-29 13:46:21 -07:00
Felipe Gomes
480edeec88 Bug 768276. Part 2 - Use isLaunchable in existing mozApps calls to only return launchable apps. r=jst 2012-06-29 13:46:21 -07:00
Felipe Gomes
effc578374 Bug 768276. Part 1 - Implement Webapps._isLaunchable on desktop platforms to verify if a webapp is launchable. r=myk
Original patches for Windows by Tim in bug 756306, for Mac by Dan in bug 762698, and for Linux by Marco in bug 756307
2012-06-29 13:46:21 -07:00
Fabrice Desré
09ad591ce1 Bug 702369 - ensure that web app install caches them into app cache on B2G [r=jonas,vingtetun,felipe] 2012-06-11 11:41:46 -07:00
Ian Bicking
90b8df8cb5 bug 739330 - call error handler with NOT_INSTALLED when page tries to uninstall webapp that is not installed; r=fabrice
--HG--
extra : rebase_source : 5ea5510c43d336a23245ad12b7cddbf8a438b164
2012-06-18 12:57:16 -07:00
Ian Bicking
20c3cba3dd bug 734294 - when installing an app the InstallTime is returning undefined; r=fabrice
--HG--
extra : rebase_source : 91e5a5d467826927f6c6df4c97ab5cecab73b26f
2012-06-18 12:49:35 -07:00
Fabrice Desré
4b1c5d7555 Bug 761729 - Either implement mozIDOMApplicationEvent in C++, or make WebApps use CustomEvent [r=smaug] 2012-06-14 16:03:55 -07:00
Ed Morley
db49714a0c Merge mozilla-central to mozilla-inbound 2012-07-16 18:32:39 +01:00
Mounir Lamouri
c379064cab Bug 769621 - Checking Contacts, Settings, Wifi and WebApps permission should use principal instead of URI. r=sicking 2012-07-16 08:44:52 -07:00
Phil Ringnalda
b22fc2d9a9 Back out 3eded0507a6e (bug 702369) for mochitest-chrome bustage on a CLOSED TREE 2012-06-11 15:57:56 -07:00
Fabrice Desré
bedd360208 Bug 702369 - ensure that web app install caches them into app cache on B2G [r=jonas,vingtetun] 2012-06-11 11:41:46 -07:00
Andy McKay
497d74980c Bug 762250 - Receipts aren't exposed as an App property [r=fabrice] 2012-06-08 11:06:16 -07:00
Gregor Wagner
5fa949d91d Bug 761837 - inner-window-destroyed observer gets added twice for webapps. r=fabrice 2012-06-07 09:55:55 -07:00
Fabrice Desré
08a9f92515 Bug 760277 - Move Webapps.js and Webapps.jsm out of dom/base [r=mounir]
--HG--
rename : dom/base/Webapps.js => dom/apps/src/Webapps.js
rename : dom/base/Webapps.jsm => dom/apps/src/Webapps.jsm
rename : dom/base/Webapps.manifest => dom/apps/src/Webapps.manifest
2012-06-01 14:40:17 -07:00
Mounir Lamouri
632f949ad0 Bug 754141 (3/4) - Get the application object from an AppsService based on the manifest URL and save it on the window object. r=fabrice,jlebar 2012-05-16 12:40:47 +02:00