Commit Graph
1288 Commits
Author SHA1 Message Date
Chris Peterson 99516d2a45 Bug 1236389 - Annotate intentional switch fallthroughs to suppress -Wimplicit-fallthrough warnings in mozapps/update. r=rstrong
toolkit/mozapps/update/updater/updater.cpp:3722:7 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
toolkit/mozapps/update/updater/updater.cpp:3768:7 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
2016-01-01 17:04:00 -07:00
Nicholas Nethercote 6a634f5d75 Bug 1237151 (part 3) - Remove ignored qualifiers in all remaining code. r=froydnj. 2016-01-05 17:08:45 -08:00
Dave Townsend 8dc7f59eb3 Bug 1229142: Link browser and toolkit test directory to the shared eslintrc files. r=Standard8 2015-11-30 13:05:00 -08:00
Ryan VanderMeulen 326846d25f Merge inbound to m-c. a=merge 2016-01-01 19:29:16 -05:00
Nick Alexander 66edd0998b Bug 1207890 - Post: Hacks to make --disable-compile-environment work on Mac OS X. r=glandium 2015-12-23 16:50:47 -08:00
Jan Beich b8f4fb5f3e Bug 1234033 - Unbreak build --with-system-bz2 using Clang. r=dvander 2015-07-24 08:09:04 +00:00
Matt Howell 5c9a362b31 Bug 1212939 - Disable update logging if given a log file path longer than MAX_PATH; r=rstrong 2015-12-21 11:36:54 -08:00
Mike Hommey 2ce648fa3e Bug 1235676 - Replace $(abspath $(DEPTH)) with $(topobjdir). r=mshal 2015-12-31 08:10:02 +09:00
Stephen A Pohl f6ba924be9 Bug 1222555: Copy updater.app to the proper location for app update mochitest chrome tests. r=rstrong,ted 2015-12-21 12:21:57 -05:00
Chris Manchester a9a94364b3 Bug 1223745 - Move generate headers in toolkit/mozapps/update/updater/Makefile.in to GENERATED_FILES. r=glandium 2015-12-16 13:08:34 -08:00
Mike Hommey 3d8b770e1a Backout changeset 0104f1c911ca (bug 1223530) because it breaks running on Windows XP on a CLOSED TREE 2015-11-26 08:38:16 +09:00
Ted Mielczarek 69f0a91a07 bug 1223530 - Move MOZ_WINCONSOLE to configure. r=glandium
This patch moves the logic for selecting MOZ_WINCONSOLE out of individual
Makefile.in files and into configure. It also changes config.mk to only
pass -SUBSYSTEM:CONSOLE if MOZ_WINCONSOLE=1. The MSDN docs state that
in the absence of -SUBSYSTEM, the linker will select the proper subsystem
based on whether the program contains [w]main or [w]WinMain, so let it
do that.

One program (windbgdlg) needed a tweak to add a wmain for when MOZ_WINCONSOLE
is defined.

This patch leaves one instance in security/sandbox/win/wow_helper/Makefile.in,
that Makefile has its own separate bug.
2015-11-11 06:24:39 -05:00
Andrew Halberstadt 21a1942ba7 Bug 1219442 - Re-write specialpowers as a restartless addon, r=jmaher
In order to meet the addon signing requirement for tests, specialpowers
needs to be installed at gecko runtime. This means it must be restartless.
This patch packages specialpowers as a restartless addon, but it does not
yet install it at runtime.
2015-11-05 10:00:59 -05:00
Matt Howell bca3053aa3 Bug 1205843 - Part 2: Disable maintenance service on WinXP < SP3 - r=rstrong
Attempt to get around the fact that XP SP2 (and below) systems won't be able to
handle Authenticode signatues with SHA-2 digests by disabling the maintenance
service, the only thing on our update path that uses Authenticode, on systems
running WinXP below SP3.

This patch both prevents the service from being included in new installations,
and prevents the service from being used where it is already installed.
2015-10-27 14:31:34 -07:00
Philip Chee 51934ab1b2 Bug 1217985 Follow up fix test bustage 2015-10-28 09:16:44 -07:00
Kathy Brade 1eb030c8f2 Bug 1217985 - Don't depend on Windows crypto DLLs
If not building the Windows Maintenance Service, avoid a dependency
on crypt32.dll and wintrust.dll.

Also, avoid setting sUsingService inside the updater code; this
ensures that all Maintenance Service related codepaths are skipped.
2015-10-27 17:50:32 -07:00
Matt Howell 5406d9bca0 Bug 1208626 - Add needed parameter to getHistogramById. r=rstrong 2015-09-25 13:43:18 -07:00
Ehsan Akhgari e1e9f36e74 Bug 1208926 - Initialize hOldFont so that it can't be accessed uninitialized; r=rstrong
Found by Viva64.
2015-09-27 20:54:31 -04:00
Tooru Fujisawa 7e974cd5fd Bug 1207497 - Part 2: Remove use of expression closure from tests in toolkit/. r=Gijs 2015-09-24 21:25:24 +09:00
Dave Townsend f657500ff0 Bug 1192924: Expose the update URL formatting code a new UpdateUtils module. r=rstrong
The GMP manager uses a copy of the update service's url formatting code and has
since fallen out of sync. We'll also want to use the same formatting code for
the system add-on update checks so this just exposes it in a shared API.

I've moved the contents of UpdateChannel.jsm to UpdateUtils.jsm and exposed
formatUpdateURL there as well as a few properties that the update service still
needs access to.

UpdateUtils.UpdateChannel is intended to be a lazy getter but isn't for now
since tests expect to be able to change the update channel at runtime.
2015-09-14 11:04:19 -07:00
Wes Kocher 69b522405d Backed out 3 changesets (bug 1192924) for Android bustage CLOSED TREE
Backed out changeset 30d612836685 (bug 1192924)
Backed out changeset a6860f880e01 (bug 1192924)
Backed out changeset 10e1fa2cc23a (bug 1192924)
2015-09-22 11:02:55 -07:00
Dave Townsend eef8701d19 Bug 1192924: Expose the update URL formatting code a new UpdateUtils module. r=rstrong
The GMP manager uses a copy of the update service's url formatting code and has
since fallen out of sync. We'll also want to use the same formatting code for
the system add-on update checks so this just exposes it in a shared API.

I've moved the contents of UpdateChannel.jsm to UpdateUtils.jsm and exposed
formatUpdateURL there as well as a few properties that the update service still
needs access to.

UpdateUtils.UpdateChannel is intended to be a lazy getter but isn't for now
since tests expect to be able to change the update channel at runtime.
2015-09-14 11:04:19 -07:00
Alexandre Lissy 3fadbc5ae7 Bug 1201556 - Send hashed device id for foxfooders. r=fabrice 2015-09-17 05:06:00 +02:00
Nicholas Nethercote 0d40f6d4a2 Bug 1202971 (part 2) - Fix compile warnings in toolkit/mozapps/update/tests. r=rstrong. 2015-09-15 17:39:12 -07:00
Shu-yu Guo 37989840cd Bug 1202902 - Mass replace toplevel 'let' with 'var' in preparation for global lexical scope. (rs=jorendorff) 2015-09-15 11:19:45 -07:00
Jacek Caban f1774511f9 Bug 1199615 - Fixed toolkit/mozapps/update/ compilation on mingw. r=rstrong 2015-09-15 13:12:03 +02:00
Nicholas Nethercote 12fec02dfb Bug 1198334 (part 1) - Replace the opt-in FAIL_ON_WARNINGS with the opt-out ALLOW_COMPILER_WARNINGS. r=glandium.
The patch removes 455 occurrences of FAIL_ON_WARNINGS from moz.build files, and
adds 78 instances of ALLOW_COMPILER_WARNINGS. About half of those 78 are in
code we control and which should be removable with a little effort.
2015-08-27 20:44:53 -07:00
Jacek Caban f6c003d071 Bug 1199118 - Don't use pragma comment in certificatecheck.cpp. r=glandium 2015-08-28 13:17:54 +02:00
Robert Strong 8a707150ec Bug 862173 - don't verify mar file hash when using mar signing to verify the mar file (lessens main thread I/O). r=spohl 2015-08-20 10:05:05 -07:00
Robert Strong d1f721c720 Bug 1177861 - remove remaining unused declarations and cleanup update staging. r=spohl 2015-08-11 14:30:35 -07:00
Nathan Froyd e06a3d4625 Bug 1191819 - part 2 - move updater's CXXFLAGS munging to moz.build; r=mshal 2015-08-06 17:26:46 -04:00
Christoph Kerschbaumer f4af4abdb2 Bug 1191107 - Split TYPE_XMLHTTPREQUEST and TYPE_DATAREQUEST for EventSource (r=sicking,ehsan) 2015-08-06 11:17:24 -07:00
Carsten "Tomcat" Book 24bab71afa Backed out 2 changesets (bug 1191107, bug 1180273) for causing xpcshell and m-oth testfailures on a CLOSED TREEi IGNORE IDL
Backed out changeset c5f710ed8718 (bug 1191107)
Backed out changeset d98d82f9981b (bug 1180273)
2015-08-06 08:39:05 +02:00
Christoph Kerschbaumer a7a204019a Bug 1191107 - Split TYPE_XMLHTTPREQUEST and TYPE_DATAREQUEST for EventSource - IGNORE IDL (r=sicking,ehsan) 2015-08-05 12:58:05 -07:00
Makoto Kato 9932a771f3 Bug 830801 - Part 2. Remove NOMINMAX define from moz.build. r=mshal 2015-08-03 10:07:09 +09:00
Stephen A Pohl f666ce089a Bug 1183077: Modify test to check for new ABI on Windows. r=rstrong 2015-07-27 10:17:56 -04:00
Stephen A Pohl 6dacc6872f Bug 1183077: Include CPU architecture in build target on Windows. r=rstrong 2015-07-27 10:17:53 -04:00
Stephen Pohl c7cd674561 Bug 1158870: Enable marVersionDowngrade.js and marWrongChannel.js on all platforms except gonk. r=rstrong 2015-07-20 15:35:45 -04:00
Stephen Pohl 44ac199edd Bug 1158870: Disable mar signing code path in updater for gonk until mar signing is available there. r=bbondy 2015-07-20 15:35:40 -04:00
Robert Strong 000e8cd69c Bug 1171518 - cleanup maintenance service logging. r=bbondy 2015-07-14 12:08:45 -07:00
Carsten "Tomcat" Book a069b5fa09 merge mozilla-inbound to mozilla-central a=merge 2015-06-25 11:09:46 +02:00
Panos Astithas 488fffbdb9 Display the update badge on the hamburger menu when staging is not possible (bug 1171852). r=rstrong 2015-06-24 16:00:12 -07:00
Mike Hommey 8f41e83edd Bug 1175856 - Still do cert validation when app.update.url.override is set to an empty value. r=rstrong 2015-06-24 10:49:55 -07:00
Robert Strong 6f7f295b9f Bug 1171792 - An update is attempted from an update notification when it is not possible to update. r=spohl 2015-06-08 13:11:43 -07:00
Robert Strong b02ffe1f69 Bug 1168720 - Remove use of test env var MOZ_NO_REPLACE_FALLBACK and associated tests that are covered by other tests. r=spohl 2015-06-04 09:20:00 -07:00
Robert Strong ad77d912c1 Bug 1165061 - Fix Intermittent test_0102_background_restartNotification_staging.xul by not copying app files when staging for tests and enable the tests for Linux and Mac. r=spohl 2015-06-03 11:29:51 -07:00
Robert Strong 1aff2289c8 Bug 1168489 - Combine XPCSHELL_TESTS_MANIFESTS entries in moz.build. r=spohl 2015-06-02 12:17:45 -07:00
Robert Strong a0b7c51e19 Bug 1168009 - heap-use-after-free (ASAN build) in updater.cpp mstrtok. r=spohl 2015-06-01 11:52:08 -07:00
Mike Hommey 5bf5691ed6 Bug 991983 - Define SOURCES as SourcePath. r=gps 2015-05-28 07:34:15 +09:00
Ryan VanderMeulen f97a0ba497 Backed out changeset d39ba5b549c5 (bug 1165061) for LSAN leaks. a=me 2015-05-21 11:50:34 -04:00