Commit Graph

2589 Commits

Author SHA1 Message Date
Tim Taubert
c76979351d merge m-c to fx-team 2012-07-05 15:26:49 +02:00
Tim Taubert
581e9c530a Bug 669603 - Part 1 - Add MODE_RDWR to FileUtils.jsm; r=ted 2012-07-05 12:12:09 +02:00
Mark Banner
8a189904ac Bug 766264 Fix test failures in test_0201_app_launch_apply_update.js and test_0203_app_launch_apply_update.js when MOZ_MAINTENANCE_SERVICE isn't set for the build by correctly handling the applied state value. Also tidy up some error statements to provide better debug. r=ehsan 2012-07-05 08:42:03 +01:00
Ehsan Akhgari
45fe6d3ae2 Bug 722872 - Part 1: Add nsITransferable::Init(nsILoadContext*), enforce that it's called in debug builds, and add nsIDOMDocument* arguments to nsIClipboardHelper methods; r=roc
This patch does the following:

* It adds nsITransferable::Init(nsILoadContext*).  The load context
  might be null, which means that the transferable is non-private, but
  if it's non-null, we extract the boolean value for the privacy mode
  and store it in the transferable.
* It adds checks in debug builds to make sure that Init is always
  called, in form of fatal assertions.
* It adds nsIDOMDocument* agruments to nsIClipboardHelper methods which
  represent the document that the string is coming from.
  nsIClipboardHelper implementation internally gets the nsILoadContext
  from that and passes it on to the transferable upon creation.  The
  reason that I did this was that nsIClipboardHelper is supposed to be a
  high-level helper, and in most of its call sites, we have easy access
  to a document object.
* It modifies all of the call sites of the above interfaces according to
  this change.
* It adds a GetLoadContext helper to nsIDocument to help with changing
  the call sites.
2012-04-16 22:14:01 -04:00
Siddharth Agarwal
3af8a72761 Bug 767827 - TestAUSReadStrings.cpp fails with 'unable to find platform specific path separator' under Pymake on Windows. r=rstrong 2012-06-26 22:39:17 +05:30
Neil Rashbrook
0c34361ca7 Bug 758354 Stop unnecessarily preprocessing chrome r=dolske 2012-06-26 00:11:16 +01:00
Brian R. Bondy
f76c80dc4d Bug 767471 - Report telemetry data for if the MozillaMaintenance service was ever manually uninstalled. r=rstrong 2012-06-25 15:17:45 -04:00
Ed Morley
58e896dd49 Backout ec9451e9e830 (bug 758354) for PGO linux permaorange in browser_bug422590.js and friends 2012-06-25 19:14:43 +01:00
Neil Rashbrook
7e7b835fdc Bug 758354 Stop unnecessarily preprocessing chrome r=dolske 2012-06-25 09:24:49 +01:00
Brian R. Bondy
e2564e9daa Bug 735975 - Get rid of UNEXPECTED_ERROR codes from updater error handling. r=ehsan 2012-06-21 19:40:47 -04:00
Brian R. Bondy
7393218c0a Bug 766567 - Figure out the source of WRITE_ERROR (7) errors in updater code. r=ehsan 2012-06-21 19:40:43 -04:00
Ed Morley
4992a5b7b4 Merge mozilla-central to mozilla-inbound 2012-06-21 08:38:39 +01:00
Mike Hommey
58718e5c70 Bug 763987 - Normalize autoconf.mk.in. r=ted 2012-06-20 09:00:48 +02:00
Ted Mielczarek
4c5e760fbc bug 766664 - make double-including package-name.mk not break things. r=glandium 2012-06-20 15:39:46 -04:00
Mike Hommey
7a97c993d4 Backout changeset 6984dace6afb (bug 763987) because of OSX opt jsreftest bustage 2012-06-20 10:55:59 +02:00
Mike Hommey
3331a294da Bug 763987 - Normalize autoconf.mk.in. r=ted 2012-06-20 09:00:48 +02:00
Mark Banner
b8289dc31e Bug 757794 - Constant "command timed out: 1200 seconds without output" in test_0200_app_launch_apply_update.js and others. Ensure that timeout loops will always abort eventually. r=ehsan
--HG--
extra : rebase_source : d29af708ec3c8d26bb5bcc95c51e25b13f798072
2012-06-19 15:48:00 +01:00
Ryan VanderMeulen
dd68fb6231 Merge inbound to m-c. 2012-06-16 09:38:43 -04:00
Brian R. Bondy
0bf749eba5 Bug 763025 - Report telemetry data for the number of people that cannot upgrade due to permissions. r=rstrong 2012-06-15 11:59:35 -04:00
Brian R. Bondy
d12eed31bb Bug 763018 - Report telemetry data for if background updates are enabled. r=rstrong 2012-06-15 11:59:35 -04:00
Brian R. Bondy
18331a6af5 Bug 763016 - Report telemetry data for if the MozillaMaintenance service is installed. r=rstrong 2012-06-15 11:59:35 -04:00
Brian R. Bondy
1cbb101a8e Bug 763022 - Report telemetry data for the number of service related errors people encountered. r=rstrong 2012-06-15 11:59:35 -04:00
Brian R. Bondy
5040132ee7 Bug 763017 - Report telemetry data for if the MozillaMaintenance service is enabled. r=rstrong 2012-06-15 11:59:35 -04:00
Brian R. Bondy
a038a03cd7 Bug 763012 - Report telemetry data for whether or not updates are automatic. r=rstrong 2012-06-15 11:59:35 -04:00
Brian R. Bondy
d5a8bf8d85 Bug 763011 - Report telemetry data for whether or not updates are enabled. r=rstrong 2012-06-15 11:59:35 -04:00
Ehsan Akhgari
dead1c5a1b Bug 757632 - Re-enable the test; r=rstrong 2012-06-13 10:30:07 -04:00
Ehsan Akhgari
7ce04794eb Bug 764587 - Do not throttle the download of a complete mar if we fall back to a complete update after attempting to stage a partial update; r=rstrong 2012-06-13 22:00:03 -04:00
Ehsan Akhgari
7c66e981ad Bug 764269 - Handle symbolic links properly when copying the installation directory before staging an update; r=rstrong 2012-06-13 20:38:56 -04:00
Ehsan Akhgari
87bbd427a3 Bug 760577 - Part 4: Add full round-trip tests for keeping the mar file around and falling back to apply it at startup if replacing the application fails; r=rstrong
--HG--
rename : toolkit/mozapps/update/test/unit/test_0201_app_launch_apply_update.js => toolkit/mozapps/update/test/unit/test_0203_app_launch_apply_update.js
rename : toolkit/mozapps/update/test_svc/unit/test_0201_app_launch_apply_update_svc.js => toolkit/mozapps/update/test_svc/unit/test_0203_app_launch_apply_update_svc.js
2012-06-08 15:06:53 -04:00
Ehsan Akhgari
48639f87df Bug 760577 - Part 3: Verify the fallback behavior on all the locked file tests; r=rstrong
--HG--
rename : toolkit/mozapps/update/test/unit/test_0161_appInUse_xp_win_complete.js => toolkit/mozapps/update/test/unit/test_0162_appInUse_xp_win_complete.js
rename : toolkit/mozapps/update/test/unit/test_0172_fileLocked_xp_win_complete.js => toolkit/mozapps/update/test/unit/test_0174_fileLocked_xp_win_complete.js
rename : toolkit/mozapps/update/test/unit/test_0173_fileLocked_xp_win_partial.js => toolkit/mozapps/update/test/unit/test_0175_fileLocked_xp_win_partial.js
rename : toolkit/mozapps/update/test/unit/test_0184_fileInUse_xp_win_complete.js => toolkit/mozapps/update/test/unit/test_0188_fileInUse_xp_win_complete.js
rename : toolkit/mozapps/update/test/unit/test_0185_fileInUse_xp_win_partial.js => toolkit/mozapps/update/test/unit/test_0189_fileInUse_xp_win_partial.js
rename : toolkit/mozapps/update/test/unit/test_0186_rmrfdirFileInUse_xp_win_complete.js => toolkit/mozapps/update/test/unit/test_0190_rmrfdirFileInUse_xp_win_complete.js
rename : toolkit/mozapps/update/test/unit/test_0187_rmrfdirFileInUse_xp_win_partial.js => toolkit/mozapps/update/test/unit/test_0191_rmrfdirFileInUse_xp_win_partial.js
rename : toolkit/mozapps/update/test_svc/unit/test_0161_appInUse_xp_win_complete_svc.js => toolkit/mozapps/update/test_svc/unit/test_0162_appInUse_xp_win_complete_svc.js
rename : toolkit/mozapps/update/test_svc/unit/test_0172_fileLocked_xp_win_complete_svc.js => toolkit/mozapps/update/test_svc/unit/test_0174_fileLocked_xp_win_complete_svc.js
rename : toolkit/mozapps/update/test_svc/unit/test_0173_fileLocked_xp_win_partial_svc.js => toolkit/mozapps/update/test_svc/unit/test_0175_fileLocked_xp_win_partial_svc.js
rename : toolkit/mozapps/update/test_svc/unit/test_0184_fileInUse_xp_win_complete_svc.js => toolkit/mozapps/update/test_svc/unit/test_0188_fileInUse_xp_win_complete_svc.js
rename : toolkit/mozapps/update/test_svc/unit/test_0185_fileInUse_xp_win_partial_svc.js => toolkit/mozapps/update/test_svc/unit/test_0189_fileInUse_xp_win_partial_svc.js
rename : toolkit/mozapps/update/test_svc/unit/test_0186_rmrfdirFileInUse_xp_win_complete_svc.js => toolkit/mozapps/update/test_svc/unit/test_0190_rmrfdirFileInUse_xp_win_complete_svc.js
rename : toolkit/mozapps/update/test_svc/unit/test_0187_rmrfdirFileInUse_xp_win_partial_svc.js => toolkit/mozapps/update/test_svc/unit/test_0191_rmrfdirFileInUse_xp_win_partial_svc.js
2012-06-14 09:26:02 -04:00
Ehsan Akhgari
cee6e67eff Bug 760577 - Part 2: Fall back to regular updates if the replacing step fails after we've staged an update; r=rstrong 2012-06-14 09:25:24 -04:00
Ehsan Akhgari
97c7757142 Bug 760577 - Part 1: Keep the update files around when an update has been staged; r=rstrong 2012-06-14 09:21:13 -04:00
Ehsan Akhgari
5f1a93f20d Bug 762032 - Increase the amount of time we wait for the helper application to finish running in the updater tests; r=rstrong 2012-06-11 10:36:21 -04:00
Matt Brubeck
cee86ebe22 Merge last green changeset from inbound to mozilla-central 2012-06-13 13:23:54 -07:00
Brian R. Bondy
4f18864be4 Bug 763474 - Firefox win32 l10n builds broken because Win2008R2 check not avail in NSIS 2.33. r=jimm 2012-06-13 12:33:15 -04:00
Ben Hearsum
f11903524a bug 758644: Contents/CodeResources isn't included in MARs. r=ted 2012-06-11 11:10:05 -04:00
Jason Orendorff
c3b86b1336 Bug 750307 - "Assertion failure: isBoolean()" in RegExpObject::ignoreCase after redefining nonconfigurable data property. r=Waldo. Second landing, test change rs=bholley on IRC. 2012-06-13 03:11:18 -05:00
Takanori MATSUURA
91189edc0c bug 761975 - remove extra closing parenthesis that makes RPM nightly build fail; r=bsmedberg
--HG--
extra : rebase_source : 2958a216f8077fdad42c3b9237642ee8aa533b0e
2012-06-06 10:56:40 -07:00
Brian R. Bondy
a088a5ed7f bug 740842 - When updating Firefox the service is used although the UAC is off in win8. r=rstrong 2012-06-15 17:43:58 -04:00
Gavin Sharp
a3c93217a5 Tweak comment that I forgot to update when fixing bug 657462 2012-06-15 11:08:50 -07:00
Chris AtLee
ba25ea5df2 Bug 763632: Only GPG sign .checksum files. r=rail,khuey 2012-06-15 09:29:32 -04:00
Brian R. Bondy
f891991945 Bug 741174 - Silent install option for maintenance service. r=bbondy 2012-06-15 08:08:31 -04:00
Ehsan Akhgari
7b7a3556e8 Merge the last green changeset of mozilla-inbound to mozilla-central 2012-06-02 14:39:47 -04:00
Pranav Ravichandran
a74d2889e8 Bug 750554 - If service is not used for updates then do not show it in preferences. r=bbondy 2012-05-31 10:28:01 -04:00
Ehsan Akhgari
5b1b2aa3b0 Bug 760290 - The update UI needs to be aware of the possibility that the update cannot be staged in the background; r=rstrong 2012-05-31 20:28:32 -04:00
Ehsan Akhgari
c1a2ef8da5 Bug 760027 - Attempt to retry moving the installation directory when performing the replace stage of an update 10 times; r=strong
This will hopefully give the applications which might have a handle to some
file in that directory open a chance to close them up so that the replace
operation would finish successfully.
2012-05-31 15:40:07 -04:00
Ehsan Akhgari
991b81f254 Bug 759615 - Avoid running the PostUpdate step when only staging the update in the background; r=rstrong 2012-05-30 18:09:59 -04:00
Ehsan Akhgari
976be9a0fc Merge mozilla-central into mozilla-inbound 2012-06-01 17:22:53 -04:00
Ed Morley
092d819417 Merge mozilla-central to mozilla-inbound 2012-06-01 16:58:27 +01:00
Ginn Chen
fd2aa86370 Bug 758514 consistently use typedef for NS_tchar, also enable testing for Solaris r=rstrong 2012-06-01 17:50:35 +08:00