Граф коммитов

127 Коммитов

Автор SHA1 Сообщение Дата
Robert Strong 35aaed5fff Client code - Bug 1234401 - check that the patch dir subdirectory is valid. r=mhowell 2017-04-28 16:37:37 -07:00
Robert Strong 0de416e483 Client code - Bug 1342742 - check that the app update patch dir, install dir, and working dir paths are valid. r=mhowell
--HG--
rename : toolkit/mozapps/update/common/updatelogging.cpp => toolkit/mozapps/update/common/updatecommon.cpp
rename : toolkit/mozapps/update/common/updatelogging.h => toolkit/mozapps/update/common/updatecommon.h
2017-04-28 16:36:45 -07:00
Robert Strong d760090512 Bug 1336979 - Remove unnecessary logging of the update.status contents in the maintenance service. r=mhowell 2017-04-19 22:59:30 -07:00
Daniel Holbert 95a650ec1b Bug 1343975: Get rid of all dos/windows linebreaks in Mozilla C++ code. r=ehsan
This is an automated patch, generated by the following command:
find . -name "*.h" -exec fromdos {} \; && \
  find . -name "*.cpp" -exec fromdos {} \; && \
  hg revert -C gfx/angle \
               gfx/sfntly \
               media/webrtc \
               media/libstagefright \
               media/openmax_il \
               other-licenses

MozReview-Commit-ID: Gunlz3vE3h6
2017-03-02 13:08:29 -08:00
Sebastian Hengst 940ecb23ef Bug 1334883 - Remove code NSIS pre-3.0a2 code from installer. r=mhowell
MozReview-Commit-ID: 7mhVME2tUcv
2017-01-31 11:25:18 +01:00
Masatoshi Kimura 5aabeea338 Bug 1325217 - Remove Windows Vista from <supportedOS> manifest. r=jimm
MozReview-Commit-ID: BoZo3XKCgv0

--HG--
extra : rebase_source : 8ad6fa7d6fcc3741e308287a57471f61dd62f97b
2016-12-22 07:17:30 +09:00
Jim Mathies ff3ad8815a Main patch for Bug 1305453 - Prevent non-esr stand alone installers from installing on XP/Vista. r=rstrong 2016-11-21 12:11:44 -08:00
Tom Tromey 5538d692d3 Bug 1286877 - do not set c-basic-offset for python-mode; r=gps
This removes the unnecessary setting of c-basic-offset from all
python-mode files.

This was automatically generated using

    perl -pi -e 's/; *c-basic-offset: *[0-9]+//'

... on the affected files.

The bulk of these files are moz.build files but there a few others as
well.

MozReview-Commit-ID: 2pPf3DEiZqx

--HG--
extra : rebase_source : 0a7dcac80b924174a2c429b093791148ea6ac204
2016-07-14 10:16:42 -06:00
Matt Howell f80a68c7d5 Bug 1247239 - Allow the maintenance service to copy updater.exe only from the installation directory, and verify it first; r=rstrong
MozReview-Commit-ID: 68tbdamvFf0

--HG--
extra : rebase_source : 3523dd7e04ada5246cdc275ce704ede39103d8c8
2016-07-08 10:58:21 -07:00
Ryan VanderMeulen 59d32bcab0 Backed out changeset 0712c02d259e (bug 1247239) because it regressed update staging.
--HG--
extra : rebase_source : ec4834ba5bb4904f4c6037655eb69bff589faac5
2016-04-08 12:13:09 -04:00
Matt Howell b194792316 Bug 1247239 - Remove copying of updater.exe for service updates; r=rstrong
MozReview-Commit-ID: 1Nz2v1d51nk
2016-04-01 15:53:04 -07:00
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