Commit Graph

2708 Commits

Author SHA1 Message Date
Joe Drew
69555688a4 Bug 706908 - Tests for Windows 8 version, and some other OS version tests. r=bjacob 2012-08-31 12:42:07 -04:00
Ehsan Akhgari
5b76a146bc Bug 579517 - Part 5: Add missing StandardInteger.h #includes where needed; r=bsmedberg
Landing on a CLOSED TREE
2012-08-08 17:08:17 -04:00
Ehsan Akhgari
0fd9123eac Bug 579517 - Part 1: Automated conversion of NSPR numeric types to stdint types in Gecko; r=bsmedberg
This patch was generated by a script.  Here's the source of the script for
future reference:

function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
       ! -wholename "*security/nss*" \
       ! -wholename "*/.hg*" \
       ! -wholename "obj-ff-dbg*" \
       ! -name nsXPCOMCID.h \
       ! -name prtypes.h \
         -type f \
      \( -iname "*.cpp" \
         -o -iname "*.h" \
         -o -iname "*.c" \
         -o -iname "*.cc" \
         -o -iname "*.idl" \
         -o -iname "*.ipdl" \
         -o -iname "*.ipdlh" \
         -o -iname "*.mm" \) | \
    xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}

convert PRInt8 int8_t
convert PRUint8 uint8_t
convert PRInt16 int16_t
convert PRUint16 uint16_t
convert PRInt32 int32_t
convert PRUint32 uint32_t
convert PRInt64 int64_t
convert PRUint64 uint64_t

convert PRIntn int
convert PRUintn unsigned

convert PRSize size_t

convert PROffset32 int32_t
convert PROffset64 int64_t

convert PRPtrdiff ptrdiff_t

convert PRFloat64 double
2012-08-22 11:56:38 -04:00
Gavin Sharp
ac923ca26d merge fx-team into mozilla-central 2012-08-21 10:27:25 -07:00
Abhishek Potnis
45b5824eb5 Bug 771086 - Fix 4 strict warnings in toolkit/mozapps/extensions/content/extensions.js r=Unfocused 2012-08-20 07:26:00 +12:00
Tim Taubert
4f193b6d6f merge m-c to fx-team 2012-08-19 21:07:15 -07:00
Yury
f4592c9bd2 Bug 777388 - Make PDF Viewer settings persistent. r=mak 2012-08-20 20:14:20 -04:00
Shlomi Fish
a76083efba Bug 781808 - Don't fail to remove inexistent .pyc files during sdk packaging. r=glandium 2012-08-18 11:20:04 +02:00
Geoff Lankow
b2eaa3cc6d Bug 740289 - Check install.rdf has a valid combination of optionsType, optionsURL and/or options.xul in the add-on. r=Unfocused 2012-08-18 19:48:53 +12:00
Geoff Lankow
431c5ce219 Bug 704751 - toolkit/mozapps/extensions/content/extensions.js should not use sync XHR; r=Unfocused 2012-08-18 19:48:53 +12:00
Phil Ringnalda
34d464d80a Bug 783738 - Use Components.results.NS_BINDING_ABORTED instead of hardcoding the value, r=gavin 2012-08-14 23:32:06 -07:00
Jesper Kristensen
e07e018813 Bug 782115 - Dictionary add-ons should be compatible by default. r=Mossop 2012-08-16 22:05:30 -04:00
Marcos S.
157d596ad5 Bug 758950 - Part 1: Use more for...of loops in Add-ons Manager frontend and backend code. r=Unfocused 2012-08-06 01:03:00 +12:00
Ed Morley
16f4f94306 Merge mozilla-central and fx-team 2012-08-17 19:22:11 +01:00
Mark Capella
4de57b3515 Bug 783404 - Remove superfluous check that nsIDirectoryEnumerator returns a nsIFile, r=unfocused 2012-08-16 16:45:00 +12:00
Tim Taubert
988348b086 merge m-c to fx-team 2012-08-16 11:10:41 -07:00
Atul Jangra
da5d828b6c Bug 767236 - Part 3: Name all anonymous functions in XPIProvider.jsm. r=Unfocused 2012-08-15 08:25:00 +12:00
Mark Capella
f6b3d51d4a Bug 772272 - Remove do_load_httpd_js from xpcshell tests, Toolkits, r=ted, f=gps 2012-08-14 10:06:12 -04:00
Tim Taubert
ca8d108df1 merge m-c to fx-team 2012-08-13 20:52:40 -07:00
Takanori MATSUURA
161b1f827b Bug 781338 - .mkdir.done file should not be bundled with final package and omnijar archive. r=mhommey 2012-08-10 11:29:58 -04:00
Chris Double
409cd2ff74 Bug 759945 - Part 1: Build changes for software decoding using libstagefright on Android - r=khuey
--HG--
extra : rebase_source : 842a055874967f1e3117e8198821ef14d8ec54aa
2012-08-10 20:15:12 +12:00
Blair McBride
ec56c1ee93 Bug 780121 - Expose internal Add-ons Manager objects in debug builds. r=Mossop 2012-08-13 14:19:37 +12:00
Blair McBride
3552bc7b16 Bug 772238 - NS_ERROR_FILE_TARGET_DOES_NOT_EXIST @ XPIProvider.jsm line 1932 when installing addons on B2G. r=Mossop 2012-08-13 14:19:31 +12:00
Ed Morley
969a047a7e Merge last PGO-green changeset of mozilla-inbound to mozilla-central 2012-08-08 17:18:26 +01:00
Mark Capella
7f1134962e Bug 779057 - DirInstallLocation._readAddons() deletes stale pointer files unsafely, r=unfocused 2012-08-07 06:57:00 +12:00
Ed Morley
088ff72137 Backout 16a8b66f1503 (bug 758950) for M1 failures in test_bug292789.html 2012-08-07 11:12:26 +01:00
Marcos Santiago
d4a1961350 Bug 758950 - Part 1: Use more for...of loops in Add-ons Manager frontend and backend code. r=Unfocused 2012-08-06 01:03:00 +12: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
Mark Capella
286e999e99 Bug 772272 - Remove do_load_httpd_js from xpcshell tests, r=ted, f=gps 2012-08-08 00:51:28 -04:00
Blair McBride
17a2129b49 Bug 780313 - Remove unnecessary preprocessing of Toolkit files. r=gavin 2012-08-04 13:22:55 +12:00
Ed Morley
edbbd284ab Merge mozilla-central and fx-team 2012-08-03 15:52:55 +01:00
Devdatta Akhawe
a7f111cd79 Bug 767676 - Implement Security UI Telemetry. r=honzab,bsmith,felipc,dtownsend 2012-08-02 18:51:17 -07:00
Ryan VanderMeulen
d33bddd4d3 Merge m-c to inbound. 2012-08-16 17:35:14 -04:00
Mark Banner
3be4f7256b Bug 741972 - Test failures on ESR when channel is set to ESR, TEST-UNEXPECTED-FAIL | test_AddonRepository_compatmode.js | compatmode-strict@tests.mozilla.org == compatmode-ignore@tests.mozilla.org and more. Change tests to re-use the new AddonManager.checkCompatibility attribute for future-proofing channel additions/changes. r=bmcbride 2012-08-16 08:49:46 +01:00
Ekanan Ketunuti
b70f4a81e2 Bug 779420 - Fix mixed up variable names newVersion/oldVersion in XPIProvider.processPendingFileChanges. r=Unfocused 2012-08-02 13:48:46 +07:00
Tim Taubert
7c84c23358 merge m-c to fx-team 2012-07-31 16:38:32 +02:00
Fraser Gutteridge
bebdb02029 Bug 759642 - Part 1: Add-ons Manager should use Components.Exception consistently when throwing exceptions. r=Unfocused 2012-07-30 22:46:45 +12:00
Dave Townsend
f5fd283f55 Bug 753900: Encode extension ID and version in breakpad annotations. r=Unfocused 2012-07-27 10:53:09 -07:00
Margaret Leibovic
666c0aa48d Bug 777805 - Update error message for unsupported plugins to include "Learn More..." link. r=mbrubeck 2012-07-26 14:57:34 -07:00
Christian Holler
6998e56f0f Bug 776556 - Disable package signing when ASan is enabled 2012-07-30 13:58:34 +02:00
Dave Townsend
a47d2f37ce Bug 782881 - Protect against attempts to use the Add-ons Manager APIs after shutdown. r=Unfocused
Bug 782881 - Protect against attempts to use the Add-ons Manager APIs after shutdown. r=Unfocused
2012-05-10 11:33:02 -07:00
Blair McBride
7ca24186f5 Backout 42bc5a310a29 (bug 782881) due to multi-orange. 2012-08-15 23:07:45 +12:00
Mark Capella
c68262e73d Bug 779407 - Remove usage of nsILocalFile in Add-ons Manager, r=unfocused 2012-08-14 16:04:00 +12:00
Dave Townsend
4da8c0b7f4 Bug 782881 - Protect against attempts to use the Add-ons Manager APIs after shutdown. r=Unfocused 2012-05-10 11:33:02 -07:00
Siddharth Agarwal
c466c7c762 Bug 741014 - Pymake is busted with make l10n-check. Hack around the spaces issue by using a wildcard, and fix an underspecified dependency. r=ted
--HG--
extra : rebase_source : bbf2d6963f9eb2f2f3a3656fdd9833b719039717
2012-08-08 00:38:48 +05:30
Margaret Leibovic
4b0d9065c7 Bug 725286 - Plugin placeholder text for the unsupported platforms is misleading. r=blassey,dolske 2012-07-25 21:44:11 -07:00
Ed Morley
b38279790a Merge mozilla-central to fx-team 2012-07-24 11:31:54 +01:00
Atul Jangra
46d7815f75 Bug 767236 - Part 2: Name all anonymous functions in content/extensions.js. r=Unfocused 2012-07-24 16:23:26 +12:00
Atul Jangra
f71f53c33c Bug 767236 - Part 1: Name all anonymous functions in AddonRepository.jsm. r=Unfocused 2012-07-24 16:23:11 +12:00
Ryan VanderMeulen
dabaa78a3b Backout 53d053772879, e68d8406541e, 1a18d1d71ddf, 705c22e17976, 73f73097fb1a, and 8b28f53415fe (bug 722995) due to frequent linux32 mochitest-other orange. 2012-07-21 14:29:50 -04:00
Saurabh Anand
02d334a579 Bug 722995 - DownloadLastDir.jsm uses global Private Browsing state to make decisions, r=ehsan 2012-07-21 11:25:37 +05:30
Saurabh Anand
c04ff46abb Bug 722995 - Part 4: Convert test_DownloadLastDirWithCPS.js to mochitest, r=ehsan 2012-07-21 11:23:29 +05:30
Saurabh Anand
6fc95fb768 Bug 722995 - Part 3: Convert test_DownloadLastDir.js to mochitest, r=ehsan 2012-07-21 11:22:30 +05:30
Saurabh Anand
660e719f39 Bug 722995 - Part 1: Convert test_privatebrowsing_downloadLastDir.js to mochitest, r=ehsan 2012-07-21 11:20:24 +05:30
Dave Townsend
940dc350ef Bug 774990: Copying a profile with a disabled restartless add-on to a different directory causes extensions to fail to load. r=Unfocused 2012-07-23 11:53:57 -07:00
Geoff Lankow
a8f8937b62 [Bug 776411] Migrated addons.sqlite not updated due to schema changes; r=Unfocused 2012-07-23 14:26:42 +12:00
Mike Hommey
a6fef5eeed Bug 774772 - Fix webapprt l10n after bug 762864. r=bsmedberg
--HG--
extra : transplant_source : %17%9D%F6%99%D8%1Fx%26%B6q%F3F%A7%89%0C%03%AF%E2%C5%3C
2012-07-18 08:34:56 +02:00
Matt Brubeck
e49b5dbdd7 Bug 774789 - Add quotes around MOZ_APP_DISPLAYNAME to fix build errors on beta [r=ted] 2012-07-17 12:10:11 -07:00
Geoff Lankow
d72258e637 Bug 767320 - Cache results of Addon.hasResource() to try avoid unnecessary IO; r=Unfocused 2012-07-18 01:24:51 +12:00
Geoff Lankow
9b34e299fa Bug 760892 - Store available icon sizes from the API in addons.sqlite; r=Unfocused 2012-07-18 01:24:51 +12:00
Felipe Gomes
6368ea4947 Bug 630567. Disable test_taskbarprogress_service.xul due to frequent failures. r=philor 2012-07-12 22:37:37 -07:00
David Keeler
12645e6e65 bug 760625 - use the blocklist to inform click-to-play plugins. r=joshmoz,bmcbride 2012-07-11 08:56:34 -07:00
Nathan Froyd
9d8e979b65 Bug 772532 - fix JavaScript warnings for XPIProviderUtils.js; r=Unfocused 2012-07-10 15:37:51 -04:00
Ehsan Akhgari
492eece072 Bug 767968 - Increase the amount of time we wait for the helper application to finish running in the updater tests; r=rstrong 2012-07-10 20:13:52 -04:00
Chris Lee
e14a0505c7 Bug 680897 - There should be a colon after "You have chosen to open" in download window. r=MattN
--HG--
extra : rebase_source : bf548819f24f58600f75c2ae09626a8ff6ea1f42
2012-06-04 18:26:02 -07:00
Ehsan Akhgari
dd9116b556 Bug 771766 - Preserve the case of the application installation directory when replacing the application after an update for it has been staged; r=rstrong 2012-07-09 20:50:16 -04: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
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