Commit Graph

263 Commits

Author SHA1 Message Date
Dave Townsend
4dd683b489 Bug 435743: Allow installs and updates from non-built in certificates. r=robstrong, a=gavin 2010-09-07 13:49:02 -07:00
Dave Townsend
72d9ae17b8 Bug 585339: Uninstalling disabled add-ons cannot be undone. r=robstrong, a=blocking-b6 2010-09-01 10:02:28 -07:00
Dave Townsend
2ba6c27470 Bug 562901: Add icon64URL to API. r=Unfocused, sr=robstrong, a=blocking-b6 2010-09-01 11:10:03 -07:00
Ben Parr
cccc978cbe Bug 586591: Expose AMO data to installed add-ons. r=dtownsend, a=blocking-beta5 2010-08-23 18:04:06 -07:00
Dave Townsend
554abbf176 Bug 588440: The compatibility dialog should not show up for new profiles. r=robstrong, a=blocking-beta5 2010-08-23 10:49:00 -07:00
Dave Townsend
0ec1659dfa Bug 585950: Implement the new list view mockups. r=Unfocused, a=blocking-beta5 2010-08-23 10:46:05 -07:00
Dave Townsend
b5ebf047af Bug 588925: Cancelling an upgrade AddonInstall needs to remove the pendingUpgrade property from the existing addon. r=robstrong, a=blocking-betaN 2010-08-20 12:47:03 -07:00
Alon Zakai
12dd2f3c6a Bug 550936 - Make InstallTrigger support cross-process communication r=Mossop a=blocking-beta4+,blocking-fennec2.0a1+ 2010-08-16 16:41:46 -04:00
Dave Townsend
5b22fb4b20 Bug 557956: Update compatibility information for installed add-ons when the application is upgraded. r=robstrong, a=blocking-beta5
--HG--
rename : toolkit/mozapps/extensions/test/addons/test_bug542391_3/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug542391_3_1/install.rdf
rename : toolkit/mozapps/extensions/test/addons/test_bug542391_3/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug542391_3_2/install.rdf
rename : toolkit/mozapps/extensions/test/unit/test_bug542391.js => toolkit/mozapps/extensions/test/xpcshell/test_bug542391.js
2010-08-17 12:08:33 -07:00
Kyle Huey
458463b64d Backed out changeset c8dc4dd369ee 2010-08-17 01:07:56 -04:00
Alon Zakai
313afe29d5 Bug 550936 - Make InstallTrigger support cross-process communication r=Mossop a=blocking-beta4+,blocking-fennec2.0a1+ 2010-08-16 16:41:46 -04:00
Dave Townsend
f35f6c2010 Bug 576735: If an add-ons directory is removed when it is already pending uninstall startup fails badly. r=Unfocused 2010-08-11 09:46:55 -07:00
Gavin Sharp
6f30159cc2 Backed out changeset bdb98838d6f6 from bug 550936 due to js-reftest failures
--HG--
extra : rebase_source : d9f9b6bc3d24f302a4aacb62b28538921b7de3ce
2010-08-03 01:20:08 -04:00
Alon Zakai
57a3120e2a Bug 550936: Make InstallTrigger support cross-process communication, r=Mossop 2010-08-02 23:52:59 -04:00
Dave Townsend
e65cba989c Bug 552742: Support multi-package XPIs in the new add-ons manager. r=robstrong 2010-08-01 10:52:24 -07:00
Dave Townsend
07f770e320 Bug 582837: Failure to update appDisabled state for add-ons with targetPlatforms when upgrading the application. r=robstrong 2010-07-29 12:50:55 -07:00
Dave Townsend
b8eae452cc Bug 553494: Remove the restriction on disabling the active theme. r=robstrong 2010-07-26 10:20:35 -07:00
Asaf Romano
cc0f3e76fa Bug 573149: Expose whether an addon requires a restart to enable/disable/uninstall/install. r=dtownsend 2010-07-26 10:34:06 -07:00
Ben Parr
89264092a7 Bug 578467: xpinstall.whitelist.add prefs are not emptied when converted into permissions on startup with new profile. r=dtownsend 2010-07-21 11:35:50 -07:00
Dave Townsend
81ac7dbf24 Bug 579513: Force updating metadata for add-ons in the application directory when the app upgrades. r=robstrong 2010-07-19 16:05:04 -07:00
Dave Townsend
29bd32b24a Bug 579170: DB migration can apply compatibility information to the wrong version of an add-on. r=robstrong 2010-07-16 14:33:00 -07:00
Dave Townsend
fbd07113b1 Bug 376553: Don't restart during startup affor extension and app changes. r=robstring, r=bsmedberg 2010-07-14 10:13:26 -07:00
Dave Townsend
555b6bb197 Bug 562599: Add an event to signal when changable properties on Addon objects are changed. r=robstrong 2010-07-13 09:55:08 -07:00
Dave Townsend
dff5576412 Bug 575987: Pointer files containing an invalid path throw an error during startup. r=robstrong 2010-07-03 16:21:23 -07:00
Dave Townsend
d2ba3675b3 Bug 565064: Update theme disabled states when changing builds. r=robstrong 2010-07-02 16:03:34 -07:00
Dave Townsend
579811cb3a Bug 558834: Use targetPlatform when making compatibility judgements. r=robstrong 2010-07-01 11:37:32 -07:00
Dave Townsend
76a55bb085 Bug 576089: updateInfoURI is not exposed and needs to be passed through to the resulting Addon. r=robstrong 2010-07-01 11:42:19 -07:00
Dave Townsend
8bc798989b Bug 575463: Rename AddonInstall.sourceURL to sourceURI and make it return an nsIURI rather than a string. r=robstrong 2010-07-01 20:36:50 -07:00
Dave Townsend
7ccae0d31f Bug 558834: Add support for targetPlatform, size and skinnable properties to the database. r=robstrong 2010-07-01 11:35:48 -07:00
Dave Townsend
ecff834b44 Bug 552965 and bug 553455: Notify the application when add-on installs triggered by webpages fail or complete. r=robstrong 2010-07-01 10:56:48 -07:00
Dave Townsend
67aadd8d55 Backing out patches for bug 552965 and bug 553455 due to test failures. 2010-06-30 16:51:05 -07:00
Dave Townsend
3deb575eeb Bug 552965 and bug 553455: Notify the application when add-on installs triggered by webpages fail or complete. r=robstrong 2010-06-30 14:13:56 -07:00
Dave Townsend
43fb0fdf65 Bug 565064: Switch back to the default theme if the previous theme is made incompatible by an application update. r=robstrong 2010-06-29 11:12:30 -07:00
Dave Townsend
e3da85a95e Bug 567175: Bootstrapped add-ons with invalid target applications should not be started up. r=robstrong 2010-06-26 16:03:25 -07:00
Dave Townsend
ba5998d44f Bug 574541: getResourceURI fails to work correctly with files in subdirectories of the add-on. r=robstrong 2010-06-24 19:33:36 -07:00
Dave Townsend
3b1258cf1e Bug 570484: Ignore invalid targetApplication and localized properties. r=robstrong 2010-06-24 16:41:46 -07:00
Michael Kaply
54a2800830 Bug 563262: Rename GetResourceURL to GetResourceURI and have it return a URI. r=Mossop 2010-06-21 17:13:52 -05:00
Dave Townsend
ec0a3cf17f Bug 570200: Errors aren't passed sanely from getInstallForFile. r=robstrong
--HG--
rename : toolkit/mozapps/extensions/test/xpinstall/corrupt.xpi => toolkit/mozapps/extensions/test/xpcshell/data/corrupt.xpi
rename : toolkit/mozapps/extensions/test/xpinstall/empty.xpi => toolkit/mozapps/extensions/test/xpcshell/data/empty.xpi
rename : toolkit/mozapps/extensions/test/xpinstall/unsigned.xpi => toolkit/mozapps/extensions/test/xpcshell/data/unsigned.xpi
2010-06-10 16:39:47 -07:00
Dave Townsend
0c0f37d6c6 Bug 570173: Errors from findUpdates aren't passed out to the listener correctly. r=robstrong 2010-06-10 11:11:16 -07:00
Robert Strong
f53301ea3d Bug 567184 - A bootstrap add-on with a target app version less than the current app version is enabled when installed. r=dtownsend 2010-05-28 14:46:38 -07:00
Neil Rashbrook
b311068e3b Bug 563241 Support dynamic skin switching preference r=Mossop 2010-05-28 10:07:21 +01:00
Dave Townsend
6162f65208 Bug 562756: Use sqlite transactions and open the extensions database exclusively. r=robstrong 2010-05-27 15:10:09 -07:00
Dave Townsend
dfda71ab3e Bug 562930: Extensions containing JS components break on every update/reinstall. r=robstrong 2010-05-27 15:09:26 -07:00
Dave Townsend
81c5cd116c Bug 568480: Extensions with icons in the root of their XPI cannot be installed on Windows. r=robstrong 2010-05-27 15:00:19 -07:00
Dave Townsend
aadbb25e72 Bug 566626: Add-ons will randomly not appear in the UI. r=robstrong 2010-05-27 09:33:10 -07:00
Dave Townsend
4d51eb9778 Bug 552744: Don't override the icon passed to InstallTrigger with an empty icon, bustage fix, r=robstrong over IRC 2010-05-26 15:02:30 -07:00
Dave Townsend
3f8d8f3b3f Follow up doc fix from bug 552744 2010-05-26 14:39:57 -07:00
Dave Townsend
4f24bb2be3 Bug 552744: Support reading the icon.png from the package for the iconURL. r=robstrong 2010-05-26 13:46:10 -07:00
Dave Townsend
5af5ad1f21 Bug 553505: Command to open the about window should be disabled for addons that are disabled. r=robstrong 2010-05-26 08:10:57 -07:00
Dave Townsend
d4827c5f55 Bug 567319: Bootstrapped add-ons don't get started after a restart. r=robstrong 2010-05-24 13:14:32 -07:00
Dave Townsend
ed04c02b90 Bug 566485: Changes made to the list of bootstrapped extensions during startup are lost if an EM restart is necessary. r=robstrong 2010-05-18 16:21:24 -07:00
Dave Townsend
0072e5eb08 Bug 562938 and bug 564639 typo fixed. r=robstrong 2010-05-10 11:59:43 -07:00
Dave Townsend
b3ca9b0be8 Bug 562919: When migrating with multiple themes all will be marked as enabled in the database. r=robstrong 2010-05-10 11:10:10 -07:00
Dave Townsend
b93d8a84eb Bug 564030: Updating an add-on that is incompatible to a version that is compatible requires more restarts. r=robstrong 2010-05-06 12:45:56 -07:00
Dave Townsend
b7778b00a0 Bug 563562: Do not keep AddonInstall objects for restartless installs. r=robstrong 2010-05-06 12:43:58 -07:00
Dave Townsend
6045db4919 Bug 563256: Re-enabling the active theme doesn't clear the pending switch preference. r=robstrong 2010-05-06 16:02:04 -07:00
Dave Townsend
6b67506d41 Bug 553112: Add a shared module for add-ons manager logging. r=robstrong 2010-04-26 12:14:19 -07:00
Dave Townsend
01d68eb9be Bug 561078: Switching to the default theme doesn't require a restart when a lightweight theme is selected. r=robstrong 2010-04-27 13:45:20 -07:00
Dave Townsend
62b241c16d Bug 553092: Initialise the permissions manager on startup. r=robstrong 2010-04-26 12:19:18 -07:00
Dave Townsend
466b7d16f8 Bug 555349: Finalize the restartless add-on format. r=robstrong 2010-04-28 09:23:36 -07:00
Dave Townsend
33401770dc Bug 558823: Migrate compatibility information from extensions.rdf. r=robstrong 2010-04-20 15:41:56 -07:00
Dave Townsend
c62098e5c3 Bug 556842: Switch the blocklist service to the new APIs. r=robstrong
--HG--
rename : toolkit/mozapps/extensions/test/unit/test_bug449027.js => toolkit/mozapps/extensions/test/xpcshell/test_bug449027.js
rename : toolkit/mozapps/extensions/test/unit/test_bug455906.js => toolkit/mozapps/extensions/test/xpcshell/test_bug455906.js
rename : toolkit/mozapps/extensions/test/unit/test_bug514327_3.js => toolkit/mozapps/extensions/test/xpcshell/test_bug514327_3.js
2010-04-26 11:45:22 -07:00
Dave Townsend
ed58af6a70 Bug 559800: Extensions.sqlite doesn't get properly recreated if it is deleted. r=robstrong 2010-04-20 15:33:00 -07:00
Dave Townsend
243009b763 Bug 557849: Make Addon.updateAutomatically persist and work. r=robstrong
* * *
Bug 559876: test_update.js is failing intermittently.
2010-04-20 16:39:10 -07:00
Dave Townsend
74dbc43f95 Bug 555942: Name of AddonsManager.getAddons() is misleading/inconsistent. r=robstrong 2010-04-26 10:49:19 -07:00
Dave Townsend
80b649a569 Bug 555942: Style and attribute prefix fixes, no review
* * *
Fix argument renames for test_registry.js
2010-04-28 09:42:07 -07:00
Dave Townsend
acbf6c0648 Bug 557269: Port old xpcshell tests to the new API. r=robstrong
--HG--
rename : toolkit/mozapps/extensions/test/unit/test_bug541420.js => toolkit/mozapps/extensions/test/xpcshell/test_bug541420.js
2010-04-28 11:49:56 -07:00
Dave Townsend
dd14cba960 Bug 553022: Remove cancelled and failed installs from the active installs list. r=robstrong 2010-04-07 11:16:10 -07:00
Dave Townsend
d75ab5e396 Bug 552732: Add isCompatibleWith and rename the UpdateListener methods. r=robstrong 2010-04-26 10:43:09 -07:00
Dave Townsend
e25c9920c1 Bug 555486: Add a scope property to add-ons and allow disabling loading add-ons from certain scopes. r=robstrong 2010-04-07 11:08:32 -07:00
Dave Townsend
36b29afadd Bug 555083: Add support for registry install locations. r=robstrong 2010-04-08 12:28:10 -07:00
Dave Townsend
e444ba5de0 Bug 553094: Support localised metadata in the preferences. r=robstrong 2010-04-07 11:05:28 -07:00
Dave Townsend
94b9ec725c Bug 553114: Add a list of enabled add-ons to crash reports. r=robstrong 2010-04-07 11:05:03 -07:00
Dave Townsend
06cc40d128 Bug 552758: Detect when the network goes offline and cancel downloads. r=robstrong 2010-04-08 14:04:03 -07:00
Dave Townsend
f25d880bc4 Bug 552759: Allow treating untrusted signers as unsigned. r=robstrong 2010-04-08 14:06:59 -07:00
Dave Townsend
844e6d390f Bug 554246: Add tests for updateURL escaping and fix the UPDATE_TYPE values. r=robstrong 2010-04-06 10:26:33 -07:00
Dave Townsend
d43ec78fb3 Bug 552756: Use consistent naming of loadGroup to fix auth and cookie issues. r=robstrong 2010-04-28 09:33:43 -07:00
Dave Townsend
b916ab6614 Bug 553868: Add an onNoUpdateAvailable event. r=robstrong 2010-04-07 11:14:51 -07:00
Dave Townsend
18562465f2 Bug 553967: Add an install property to Addons pending install to get the AddonInstall. r=robstrong 2010-04-07 11:16:41 -07:00
Dave Townsend
e4a54bb1ae Bug 553872: Add a PENDING_UPGRADE bit and provide access to the Addon instance that is pending. r=robstrong 2010-04-07 10:54:23 -07:00
Dave Townsend
fa941bdce9 Bug 553790: Make getInstalls filter on type. r=robstrong 2010-04-05 13:40:08 -07:00
Dave Townsend
02d14d7ba7 Bug 552835: Use the system principal to construct bootstrap sandboxes. r=robstrong 2010-04-05 10:31:00 -07:00
Dave Townsend
ca167a04ce Bug 553090: Check for updated compatibility for local file installs. r=robstrong 2010-04-06 09:57:53 -07:00
Dave Townsend
d4c80bc30e Bug 553169: Implement XPI extensions in the new extension manager API. r=robstrong 2010-04-29 13:11:23 -07:00
Dave Townsend
74b7768710 Backout new add-ons manager due to Ts regression on OSX 10.5
--HG--
rename : toolkit/mozapps/extensions/test/xpcshell/data/test_bug404024.xml => toolkit/mozapps/extensions/test/unit/data/test_bug404024.xml
rename : toolkit/mozapps/extensions/test/xpcshell/data/test_bug417606.xml => toolkit/mozapps/extensions/test/unit/data/test_bug417606.xml
rename : toolkit/mozapps/extensions/test/xpcshell/data/test_bug424262.xml => toolkit/mozapps/extensions/test/unit/data/test_bug424262.xml
rename : toolkit/mozapps/extensions/test/xpcshell/test_bug404024.js => toolkit/mozapps/extensions/test/unit/test_bug404024.js
rename : toolkit/mozapps/extensions/test/xpcshell/test_bug417606.js => toolkit/mozapps/extensions/test/unit/test_bug417606.js
rename : toolkit/mozapps/extensions/test/xpcshell/test_bug424262.js => toolkit/mozapps/extensions/test/unit/test_bug424262.js
rename : toolkit/mozapps/extensions/test/xpcshell/test_bug449027.js => toolkit/mozapps/extensions/test/unit/test_bug449027.js
rename : toolkit/mozapps/extensions/test/xpcshell/test_bug455906.js => toolkit/mozapps/extensions/test/unit/test_bug455906.js
rename : toolkit/mozapps/extensions/test/xpcshell/test_bug514327_3.js => toolkit/mozapps/extensions/test/unit/test_bug514327_3.js
rename : toolkit/mozapps/extensions/test/xpcshell/test_bug541420.js => toolkit/mozapps/extensions/test/unit/test_bug541420.js
2010-05-01 11:04:44 -07:00
Dave Townsend
bec41add7f Bug 553112: Add a shared module for add-ons manager logging. r=robstrong 2010-04-26 12:14:19 -07:00
Dave Townsend
2507dab858 Bug 561078: Switching to the default theme doesn't require a restart when a lightweight theme is selected. r=robstrong 2010-04-27 13:45:20 -07:00
Dave Townsend
d62ee330b3 Bug 553092: Initialise the permissions manager on startup. r=robstrong 2010-04-26 12:19:18 -07:00
Dave Townsend
33d0afcc8b Bug 555349: Finalize the restartless add-on format. r=robstrong 2010-04-28 09:23:36 -07:00
Dave Townsend
35c35cb8f1 Bug 558823: Migrate compatibility information from extensions.rdf. r=robstrong 2010-04-20 15:41:56 -07:00
Dave Townsend
f272e41278 Bug 556842: Switch the blocklist service to the new APIs. r=robstrong
--HG--
rename : toolkit/mozapps/extensions/test/unit/test_bug449027.js => toolkit/mozapps/extensions/test/xpcshell/test_bug449027.js
rename : toolkit/mozapps/extensions/test/unit/test_bug455906.js => toolkit/mozapps/extensions/test/xpcshell/test_bug455906.js
rename : toolkit/mozapps/extensions/test/unit/test_bug514327_3.js => toolkit/mozapps/extensions/test/xpcshell/test_bug514327_3.js
2010-04-26 11:45:22 -07:00
Dave Townsend
162e9c8417 Bug 559800: Extensions.sqlite doesn't get properly recreated if it is deleted. r=robstrong 2010-04-20 15:33:00 -07:00
Dave Townsend
ddf0793ddb Bug 557849: Make Addon.updateAutomatically persist and work. r=robstrong
* * *
Bug 559876: test_update.js is failing intermittently.
2010-04-20 16:39:10 -07:00
Dave Townsend
6210ae85c3 Bug 555942: Name of AddonsManager.getAddons() is misleading/inconsistent. r=robstrong 2010-04-26 10:49:19 -07:00
Dave Townsend
a1c6c4d97f Bug 555942: Style and attribute prefix fixes, no review
* * *
Fix argument renames for test_registry.js
2010-04-28 09:42:07 -07:00
Dave Townsend
86823f9000 Bug 557269: Port old xpcshell tests to the new API. r=robstrong
--HG--
rename : toolkit/mozapps/extensions/test/unit/test_bug541420.js => toolkit/mozapps/extensions/test/xpcshell/test_bug541420.js
2010-04-28 11:49:56 -07:00
Dave Townsend
16fa9d38b2 Bug 553022: Remove cancelled and failed installs from the active installs list. r=robstrong 2010-04-07 11:16:10 -07:00
Dave Townsend
8d7a4d9af6 Bug 552732: Add isCompatibleWith and rename the UpdateListener methods. r=robstrong 2010-04-26 10:43:09 -07:00
Dave Townsend
7dbd88b267 Bug 555486: Add a scope property to add-ons and allow disabling loading add-ons from certain scopes. r=robstrong 2010-04-07 11:08:32 -07:00
Dave Townsend
ab68fc177e Bug 555083: Add support for registry install locations. r=robstrong 2010-04-08 12:28:10 -07:00
Dave Townsend
6859d044da Bug 553094: Support localised metadata in the preferences. r=robstrong 2010-04-07 11:05:28 -07:00
Dave Townsend
ce5fa21bef Bug 553114: Add a list of enabled add-ons to crash reports. r=robstrong 2010-04-07 11:05:03 -07:00
Dave Townsend
b13c90cd5c Bug 552758: Detect when the network goes offline and cancel downloads. r=robstrong 2010-04-08 14:04:03 -07:00
Dave Townsend
26bf2c75e2 Bug 552759: Allow treating untrusted signers as unsigned. r=robstrong 2010-04-08 14:06:59 -07:00
Dave Townsend
245056072b Bug 554246: Add tests for updateURL escaping and fix the UPDATE_TYPE values. r=robstrong 2010-04-06 10:26:33 -07:00
Dave Townsend
b1e2a2d8c3 Bug 552756: Use consistent naming of loadGroup to fix auth and cookie issues. r=robstrong 2010-04-28 09:33:43 -07:00
Dave Townsend
5504b2f505 Bug 553868: Add an onNoUpdateAvailable event. r=robstrong 2010-04-07 11:14:51 -07:00
Dave Townsend
250dff6390 Bug 553967: Add an install property to Addons pending install to get the AddonInstall. r=robstrong 2010-04-07 11:16:41 -07:00
Dave Townsend
5f2fa99ee0 Bug 553872: Add a PENDING_UPGRADE bit and provide access to the Addon instance that is pending. r=robstrong 2010-04-07 10:54:23 -07:00
Dave Townsend
8efb1024de Bug 553790: Make getInstalls filter on type. r=robstrong 2010-04-05 13:40:08 -07:00
Dave Townsend
73df5e151d Bug 552835: Use the system principal to construct bootstrap sandboxes. r=robstrong 2010-04-05 10:31:00 -07:00
Dave Townsend
8a8a29465d Bug 553090: Check for updated compatibility for local file installs. r=robstrong 2010-04-06 09:57:53 -07:00
Dave Townsend
08dec30cae Bug 553169: Implement XPI extensions in the new extension manager API. r=robstrong 2010-04-29 13:11:23 -07:00