Commit Graph

208 Commits

Author SHA1 Message Date
Mike Hommey
297afd1bbb Bug 1094521 - Rewrite export rules in toolkit/mozapps/update/updater/Makefile.in to not regenerate files every time. r=mshal 2014-11-07 10:16:41 +09:00
Mike Hommey
d667f4bb59 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
Nicholas Nethercote
0489de37fb Bug 1080302 (part 2) - Convert all mentions of -foo options to --foo options in comments, help messages and error messages. r=glandium. 2014-10-23 17:35:27 -07:00
Brian R. Bondy
4c907f5523 Bug 902761 - Build configuration for turning .der files into .h files. r=rstrong 2014-10-15 23:00:23 -04:00
Brian R. Bondy
0992cdf330 Bug 902761 - Stop storing certs used for MAR verification in EXE resource files. r=rstrong 2014-10-15 23:01:11 -04:00
zhoubcfan@163.com
3f8deea4e9 Bug 1076926 - Add windows 10 support to exe manifest. r=jimm 2014-10-04 14:43:01 +09:00
Robert Strong
9a3ec598b5 Mac v2 signing - Bug 1075169 - Copy staged update when renaming fails and fix crash on staging failure. r=spohl, a=RyanVM over irc 2014-09-30 20:36:45 -07:00
Robert Strong
d441a04b8a Mac v2 signing - Bug 1071465 - old precomplete file is not removed on update. r=spohl 2014-09-29 11:52:48 -07:00
Robert Strong
5f62c99fe4 Mac v2 signing - Bug 1071134 - Fix command line help for updater. r=spohl 2014-09-29 11:52:44 -07:00
Robert Strong
f6aad009a3 Mac v2 signing - Bug 1070661 - Error setting access/modification time on application bundle. r=spohl 2014-09-29 11:52:21 -07:00
Robert Strong
1b2658d18f Mac v2 signing - Bug 1068439 - Move the distribution directory from Content/MacOS to Contents/Resources on app update due to v2 signing requirements. r=spohl 2014-09-29 11:52:18 -07:00
Robert Strong
43f735be13 Mac v2 signing - Bug 1064523 - Create staging directory outside of the Mac bundle. r=bbondy 2014-09-29 11:52:08 -07:00
Robert Strong
b20be455fe Mac v2 signing - Bug 1059467 - Move precomplete file from the root of the Mac bundle to Contents/Resources. r=bbondy, r=nthomas
--HG--
rename : tools/update-packaging/test/from-mac/precomplete => tools/update-packaging/test/from-mac/Contents/Resources/precomplete
rename : tools/update-packaging/test/to-mac/precomplete => tools/update-packaging/test/to-mac/Contents/Resources/precomplete
2014-09-29 11:51:55 -07:00
Stephen Pohl
70fc651292 Mac v2 signing - Bug 1046924 - Move updates directory out of the .app bundle. r=rstrong 2014-09-29 11:51:08 -07:00
Brian R. Bondy
9185a536b0 Backout bug 945192 for intermittent failures. r=rstrong 2014-09-15 20:29:35 -04:00
Antonio M. Amaya
9ae2f280fd Bug 1066543 - Add MS_VERBOSE to the remount options in the updater automounter. r=marshall_law 2014-09-12 10:33:00 -04:00
Brian R. Bondy
212fe6d529 Bug 945192 - Changes for tests. r=rstrong. 2014-09-05 12:56:09 -04:00
Brian R. Bondy
e6d3f78a05 Bug 945192. r=rstrong 2014-05-25 21:58:53 -04:00
Ehsan Akhgari
6ff5c79a69 Bug 1061054 - Fix more bad implicit constructors in updater; r=bbondy 2014-09-04 23:23:24 -04:00
Mike Hommey
fc99c53ae5 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
ec54bf6c1f Bug 1045783 - Move most OS_LIBS to moz.build and do some related cleanup. r=mshal 2014-08-06 07:25:33 +09:00
Nathan Froyd
9ea6c585f8 Bug 1042878 - part 2 - move MOZ_CAIRO_CFLAGS et al additions to C*FLAGS into moz.build; r=glandium 2014-07-24 11:55:33 -04:00
Mike Hommey
71623acdd6 Bug 1036894 part 9 - Replace all EXTRA_DSO_LDOPTS, SHARED_LIBRARY_LIBS and LIBS with EXTRA_LIBS, OS_LIBS or OS_LDFLAGS, appropriately. r=gps
OS_LIBS for libraries that are not part of the gecko tree, EXTRA_LIBS for
libraries, such as NSPR, that are in the tree, but are not handled by
moz.build just yet. Those EXTRA_LIBS may also come from a system library.
However, in cases where the expanded variables are always empty for the
in-tree case, OS_LIBS is used (as for, e.g. MOZ_ZLIB_LIBS). OS_LDFLAGS is
used exclusively for non-library linker flags.

Always pass EXTRA_LIBS before OS_LIBS on linker command lines.

Forbid EXTRA_DSO_LDOPTS, SHARED_LIBRARY_LIBS and LIBS in Makefiles.
2014-07-23 13:31:02 +09:00
Mike Hommey
e5c43ef995 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
Jacek Caban
53a170226d Bug 1022847 - toolkit/mozapps/update fails to compile with MinGW r=netzen
--HG--
extra : rebase_source : d876570cbfb29bc86cf1435f8e0f79eda49b5764
2014-06-25 11:30:05 +02:00
Robert Strong
2d1b1ffb4a Bug 606415: Tests for bug 1009668. r=spohl 2014-05-23 10:42:58 -04:00
Stephen Pohl
c267206a18 Bug 1009668: Make retrieval of updater.ini more robust and predictable on OSX. r=smichaud,rstrong 2014-05-23 10:42:52 -04:00
Robert O'Callahan
949537330f Bug 1006248. Part 1: Add MOZ_EXPORT in various places. r=glandium
--HG--
extra : rebase_source : cfe209a412cae28d405eae413415cebb6959072a
2014-05-06 17:26:46 +12:00
Nochum Sossonko
cadc5a852b bug 906466: Updates not properly signed on the nightly-ux branch: Certificate did not match issuer or name. r=rstrong
--HG--
extra : rebase_source : 1dc83f67c495d431e4ae4d2ed35b12e6f5eb03d4
2014-04-14 09:56:58 -04:00
Ehsan Akhgari
98311f51be Bug 981428 - Move OSX -framework flags to moz.build; r=mshal 2014-03-10 20:18:33 -04:00
Robert Strong
a98abe6963 Main patch for Bug 759469 - Add new updater instruction to add a file if it doesn't exist in the destination. r=bbondy 2014-03-05 11:43:11 -08:00
Robert Strong
f32e59dab1 Bug 896224 - Remove support for the version 1 manifest from the updater. r=bbondy 2014-03-05 11:43:03 -08:00
Ehsan Akhgari
bf09c6f469 Bug 976896 - Port STL_FLAGS to moz.build; r=mshal 2014-03-04 19:39:06 -05:00
Ehsan Akhgari
cfe6f6fd0a Bug 976886 - Port RCINCLUDE to moz.build; r=mshal
--HG--
extra : rebase_source : e8a75bc01c3f57516a1a1307de3d170ea07ca1ac
2014-03-04 17:19:24 -05:00
Ehsan Akhgari
918a2ef75e Bug 976885 - Port RCFLAGS to moz.build; r=glandium 2014-02-26 09:12:49 -05:00
Ehsan Akhgari
f594359272 Bug 975740 - Port WIN32_EXE_LDFLAGS to moz.build; r=mshal 2014-02-24 08:30:25 -05:00
Ms2ger
c3f4f67f82 Bug 968900 - Move LOCAL_INCLUDES to moz.build in toolkit/; r=mshal 2014-02-15 21:25:20 +01:00
Ms2ger
6e066deaea Bug 968856 - Move unconditional LOCAL_INCLUDES into moz.build; r=mshal 2014-02-15 21:24:59 +01:00
Ehsan Akhgari
fbe321aed6 Bug 970745 - Move USE_STATIC_LIBS to moz.build; r=glandium 2014-02-11 09:12:33 -05:00
Ehsan Akhgari
b870bb3fe9 Bug 969757 - Remove the dead code in our tree which pretends to support OS/2; r=roc,mcmanus,gps,jorendorf,bsmedberg sr=bsmedberg 2014-02-10 17:57:01 -05:00
Ehsan Akhgari
ac38419e37 Bug 944800 - Move the information about delay loaded DLLs into moz.build; r=gps 2014-02-06 14:17:44 -05:00
Ehsan Akhgari
31e7cec189 Backed out changeset b54e8c328c32 (bug 944800) because of test failures on a CLOSED TREE 2014-02-04 17:03:17 -05:00
Ehsan Akhgari
cf46d0e8c5 Bug 944800 - Move the information about delay loaded DLLs into moz.build; r=gps
--HG--
extra : rebase_source : 3eca29dae04c42fa8e7d113318b8a169a0cf22e4
2014-02-04 13:57:34 -05:00
Robert Strong
549d097e8b Bug 925747 - patch file extraction cleanup. r=bbondy 2014-01-22 17:16:39 -08:00
Robert Strong
27483bfe2f Part 8 - Bug 951662 - fix file removal race condition and only launch the callback app from the updater when the MOZ_PROCESS_UPDATES env var is not defined. r=bbondy 2014-01-12 13:46:43 -08:00
Robert Strong
eb080a3da3 Part 4 - Bug 951662 - don't finish updater logging unless error is not ERROR_SHARING_VIOLATION and make log text more consistent. r=bbondy 2014-01-12 13:45:26 -08:00
Robert Strong
c3b10b6c7b Part 1 - Bug 951662 - change background to staging for consistency. r=bbondy 2014-01-12 13:44:41 -08:00
Ehsan Akhgari
ebd358dfd7 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
bf60896454 Bug 943728 - Replace double quotes with single quotes in Makefiles (or remove them when it makes sense). r=mshal 2013-12-03 06:34:21 +09:00
Mike Hommey
9245936f8b Bug 874266 - Move all DEFINES that can be moved to moz.build. r=mshal 2013-11-27 22:55:07 +09:00