Commit Graph

116 Commits

Author SHA1 Message Date
Matt Howell
ea26f3c2e6 Bug 1079858, Deal with deprecation of SHA1 (SHA-1) Authenticode signatures for Windows signing, part 1 with two certs, r=catlee, a=lizzard
--HG--
extra : amend_source : aacafc1ae4b3aadd26705196280ed22a8258711f
2015-12-09 12:42:20 -05:00
Nick Thomas
a408867daf Backed out 2 changesets (bug 1079858)
Backed out changeset a8965ae93c5d (bug 1079858)
Backed out changeset ba03ae4ac5df (bug 1079858)
2015-12-09 12:40:58 -05:00
Matt Howell
23f09f2b29 Bug 1079858, Deal with deprecation of SHA1 (SHA-1) Authenticode signatures for Windows signing, part 1, r=catlee, a=lizzard
--HG--
extra : amend_source : 90642316bf1b25d73c8a2b5f4278ec1f9625ed9d
2015-12-08 16:06:26 -05:00
Wes Kocher
39967e9806 Backed out changeset 0ea0832d052d (bug 1079858) for causing bug 1230631 a=backout
--HG--
extra : commitid : GeBy210BpUB
2015-12-04 14:58:55 -08:00
Ben Hearsum
2658b43d3a Bug 1079858: Enable SHA2 signing for windows. r=catlee rs=rstrong
--HG--
extra : amend_source : c605389facd952635d04a60b15bb14a269d073dc
2015-12-02 14:12:37 -05:00
Mike Hommey
0cc838448f Backout changeset 0104f1c911ca (bug 1223530) because it breaks running on Windows XP on a CLOSED TREE
--HG--
rename : toolkit/components/maintenanceservice/Makefile.in => xpcom/windbgdlg/Makefile.in
2015-11-26 08:38:16 +09:00
Ted Mielczarek
879065de9d 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.

--HG--
extra : commitid : 8acDjmfKivj
extra : rebase_source : 03b4fa4c8ae077a894b08f3762ef93541e34ac1a
2015-11-11 06:24:39 -05:00
Ted Mielczarek
8b765abfbe bug 1224308 - Remove some Makefile cruft. r=gps
--HG--
extra : commitid : JdDnpW7zfHf
extra : rebase_source : 9eca8f978c43eb6f26c8d14d5d13fee5ea556a02
2015-11-12 06:39:11 -05:00
Nicholas Nethercote
f44287005f 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.

--HG--
extra : rebase_source : 82e3387abfbd5f1471e953961d301d3d97ed2973
2015-08-27 20:44:53 -07:00
Robert Strong
b7924a4a24 Bug 1177861 - remove remaining unused declarations and cleanup update staging. r=spohl
--HG--
rename : toolkit/components/maintenanceservice/certificatecheck.cpp => toolkit/mozapps/update/common/certificatecheck.cpp
rename : toolkit/components/maintenanceservice/certificatecheck.h => toolkit/mozapps/update/common/certificatecheck.h
rename : toolkit/components/maintenanceservice/registrycertificates.cpp => toolkit/mozapps/update/common/registrycertificates.cpp
rename : toolkit/components/maintenanceservice/registrycertificates.h => toolkit/mozapps/update/common/registrycertificates.h
2015-08-11 14:30:35 -07:00
Robert Strong
7f05087707 Bug 1171518 - cleanup maintenance service logging. r=bbondy 2015-07-14 12:08:45 -07:00
Brian R. Bondy
61e5af9fda Bug 862894 - Handle Maintenance Service control panel version info. r=rstrong, r=jimm 2015-04-24 13:55:11 -04:00
Brian R. Bondy
ab9ccba028 Bug 973933 - New updater-xpcshell binary for updater tests. r=rstrong
This is a rollup of recent work. Changes include:
- Creating an xpcshell only updater binary. This binary has an embedded xpcshell only cert for verifying test only mars.  It is only used by tests and is not signed w/ authenticode certs.
- Modifying tests to use that new binary
- Adding a check-cert option to the maintenance service
- Using that new cert-check option in new tests to test the authenticode path
- No longer doing an authenticode check during service updater tests on the xpcshell binary.
- Enables more tests for other platforms

--HG--
rename : toolkit/mozapps/update/updater/moz.build => toolkit/mozapps/update/updater/updater-common.build
2015-04-06 12:03:18 -04:00
Robert Strong
478a8e47e2 Bug 1138282 - Extend telemetry for large number of SERVICE_STILL_APPLYING_ON_FAILURE errors. r=bbondy 2015-04-03 11:19:01 -07:00
Sebastian Hengst
394a2dd441 Bug 1143470 - Add BUG_COMPONENT to moz.build files in toolkit and xulrunner. r=gavin 2015-03-15 19:36:24 +01:00
Brian Smith
713ef86ae7 Bug 1119072, Part 14: Fix prototype of MakeCommandLine to match definition, r=rstrong
--HG--
extra : rebase_source : c75cdd915684b715a2cc70b193edd6f309b2abce
2015-01-08 15:36:24 -08:00
Chris Peterson
74a96a4348 Bug 1095883 - Mark toolkit/components directories as FAIL_ON_WARNINGS. r=Mossop 2014-11-08 00:41:17 -08:00
Mike Hommey
47c853314f Bug 1077148 part 4 - Add and use new moz.build templates for Gecko programs and libraries. r=gps
There are, sadly, many combinations of linkage in use throughout the tree.
The main differentiator, though, is between program/libraries related to
Gecko or not. Kind of. Some need mozglue, some don't. Some need dependent
linkage, some standalone.

Anyways, these new templates remove the need to manually define the
right dependencies against xpcomglue, nspr, mozalloc and mozglue
in most cases.

Places that build programs and were resetting MOZ_GLUE_PROGRAM_LDFLAGS
or that build libraries and were resetting MOZ_GLUE_LDFLAGS can now
just not use those Gecko-specific templates.
2014-10-30 13:06:12 +09:00
zhoubcfan@163.com
567fb422f4 Bug 1076926 - Add windows 10 support to exe manifest. r=jimm 2014-10-04 14:43:01 +09:00
Robert Strong
1960e60eb0 Mac v2 signing - Bug 1072722 - With older clients the new maintenance service checks the updated directory's updater.exe when verifying the updater.exe for replace requests. r=spohl 2014-09-29 11:53:07 -07:00
Robert Strong
076224aff0 Mac v2 signing - Bug 1064523 - Create staging directory outside of the Mac bundle. r=bbondy 2014-09-29 11:52:08 -07:00
Brian R. Bondy
2175404bac Backout bug 945192 for intermittent failures. r=rstrong 2014-09-15 20:29:35 -04:00
Brian R. Bondy
c581ce9932 Bug 945192. r=rstrong 2014-05-25 21:58:53 -04:00
Mike Hommey
ed70c5f377 Bug 1041941 - Use templates for programs, simple programs, libraries and C++ unit tests. r=gps 2014-09-03 14:10:54 +09:00
Mike Hommey
d9443ec932 Bug 1045783 - Move most OS_LIBS to moz.build and do some related cleanup. r=mshal 2014-08-06 07:25:33 +09:00
Mike Hommey
5fab42fcaf Bug 1036894 part 8 - Move most in-tree library linkage information to moz.build, as USE_LIBS. r=gps 2014-07-23 13:30:52 +09:00
Jeff Walden
f7ef4836ca Bug 953296 - Convert ScopedDeletePtr to UniquePtr in toolkit/components/maintenanceservice/serviceinstall.cpp. r=bbondy
--HG--
extra : rebase_source : 15e5da4db5e2f1ec198b888f1abfe7fa702f1261
2014-01-06 09:45:49 -06:00
Brian R. Bondy
7ce0e02be8 Bug 1025640 - Enable building and installing the x64bit maintenance service on x64. r=rstrong 2014-06-19 11:03:04 -04:00
Brian R. Bondy
fd335c8c32 Bug 775458 - Microsoft Security Essentials causes slow update fix. r=rstrong 2014-06-17 22:44:54 -04:00
Ehsan Akhgari
17f4a32d8b Bug 976896 - Port STL_FLAGS to moz.build; r=mshal 2014-03-04 19:39:06 -05:00
Ehsan Akhgari
5ff28bc333 Bug 976886 - Port RCINCLUDE to moz.build; r=mshal
--HG--
extra : rebase_source : e8a75bc01c3f57516a1a1307de3d170ea07ca1ac
2014-03-04 17:19:24 -05:00
Ehsan Akhgari
ae84232a40 Bug 976885 - Port RCFLAGS to moz.build; r=glandium 2014-02-26 09:12:49 -05:00
Ehsan Akhgari
39fc9361f6 Bug 975740 - Port WIN32_EXE_LDFLAGS to moz.build; r=mshal 2014-02-24 08:30:25 -05:00
Ms2ger
33da18c67e Bug 968856 - Move unconditional LOCAL_INCLUDES into moz.build; r=mshal 2014-02-15 21:24:59 +01:00
Ehsan Akhgari
b7b6d52aef Bug 970745 - Move USE_STATIC_LIBS to moz.build; r=glandium 2014-02-11 09:12:33 -05:00
Ehsan Akhgari
1b83407ce9 Bug 927728 - Part 1: Replace PRUnichar with char16_t; r=roc
This patch was automatically generated by the following script:

#!/bin/bash
# Command to convert PRUnichar to char16_t

function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
       ! -wholename "*security/nss*" \
       ! -wholename "*modules/libmar*" \
       ! -wholename "*/.hg*" \
       ! -wholename "obj-ff-dbg*" \
       ! -name prtypes.h \
       ! -name Char16.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 PRUnichar char16_t
2014-01-04 10:02:17 -05:00
Mike Hommey
8fd06cf41b Bug 874266 - Move all DEFINES that can be moved to moz.build. r=mshal 2013-11-27 22:55:07 +09:00
Mike Hommey
b32a4ed166 Backout changeset 3fd4b546eed4 (bug 874266) and changeset a35d2e3a872f (bug 942043) for ASAN build bustage and Windows test bustage
--HG--
extra : amend_source : f20d09aeff1c8b5cbd0f1d24c7ce04e86f3aed1d
2013-11-28 14:24:05 +09:00
Mike Hommey
682364d535 Bug 874266 - Move all DEFINES that can be moved to moz.build. r=mshal 2013-11-28 13:08:16 +09:00
Mike Hommey
294db4b946 Bug 937359 - Make all objects built into xul.dll built with -MD/-MDd, not -MT/-MTd. r=bsmedberg
--HG--
rename : toolkit/mozapps/update/common/Makefile.in => toolkit/mozapps/update/common-standalone/Makefile.in
2013-11-16 13:37:56 +09:00
Mike Hommey
b000a846c2 Bug 929905 - Consolidate sources in moz.build. r=gps 2013-10-25 08:23:05 +09:00
Birunthan Mohanathas
9deb678652 Bug 784739 - Switch from NULL to nullptr in toolkit/components/ (2/2); r=ehsan 2013-10-10 16:38:19 -04:00
Birunthan Mohanathas
72f11bcb4b Bug 784739 - Switch from NULL to nullptr in toolkit/components/ (1/2); r=ehsan 2013-10-10 16:38:05 -04:00
Ben Hearsum
27fc7c6800 bug 803531: renew authenticode certificates in september 2013 - update authenticode issuer in tree. r=rstrong 2013-09-26 13:44:27 -04:00
Mike Hommey
f8bc7fa754 Bug 912293 - Remove now redundant boilerplate from Makefile.in. r=gps 2013-09-05 09:01:46 +09:00
Ms2ger
af2c13c793 Bug 906412 - Cleanup some random parts of the build system; r=mshal 2013-08-22 08:55:59 +02:00
Robert O'Callahan
db46dd4baf Bug 898946. Avoid #including XPCOM headers within maintenanceservice. r=bbondy
--HG--
extra : rebase_source : b19663967f7af21daf8f3cf123701a79e295f4b3
2013-08-02 21:30:06 +12:00
Matt Brubeck
13f48c66d9 Bug 897674 - Don't use STL wrappers when building maintenance service [r=gps] 2013-07-27 11:07:10 -07:00
Masatoshi Kimura
78388690cb Bug 888870 - Add Windows 8.1 support to WinUtils::GetWindowsVersion. r=jimm 2013-07-12 06:26:55 +09:00
Brian R. Bondy
bcb7b85ead Bug 888361. r=rstrong 2013-07-01 19:11:52 -04:00