Nicholas Nethercote
1b81677176
Bug 1232219 (part 1) - Fix -Wunused warnings in libmar/. r=bbondy.
2015-12-16 22:24:19 -08:00
Bogdan Postelnicu
ec267a46bd
Bug 1228332 - Fix a potentially uninitialized pointer read, flagged by static analysis. r=spohl
2015-12-14 07:00:00 +01:00
Nicholas Nethercote
112d083e7c
Bug 1202971 (part 1) - Fix compile warnings in libmar. r=rstrong.
...
Also remove ALLOW_COMPILER_WARNINGS=True so they don't come back.
2015-09-15 17:39:11 -07:00
Ted Mielczarek
029f96acc1
bug 1200360 - fix $(DEFINES) usage in modules/libmar/tool/moz.build. r=mshal
2015-09-08 13:58:53 -04:00
Ted Mielczarek
042e8a13ff
bug 1198226 - Move HOST_{C,CXX}FLAGS to moz.build HOST_{CFLAGS,CXXFLAGS,DEFINES}. r=mshal
...
As part of this move, HOST_NSPR_MDCPUCFG needed to be changed to get the quoting right.
2015-09-08 11:35:43 -04: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
Chris Peterson
940078b6ba
Bug 1171358 - Fix -Wunreachable-code-return warning in libmar/tool. r=rstrong
2015-06-04 00:00:23 -07:00
Brian R. Bondy
fe783c0bad
Bug 973933 - Fix libmar warnings. r=rstrong. a=Callek
2015-04-06 12:03:19 -04:00
Brian Smith
468a4ba048
Bug 903135 - Updates to libmar needed to support B2G MAR signature verification. r=bbondy
2014-10-22 21:00:15 -04:00
Mike Hommey
632dbaeb90
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
Mike Hommey
aec0b61280
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
c1d57ebc0b
Bug 1047267 - Move remaining OS_LIBS and EXTRA_LIBS to moz.build. r=gps
...
* * *
Bug 1047267 - To fold with "Move remaining OS_LIBS and EXTRA_LIBS to moz.build"
2014-08-07 14:21:03 +09:00
Mike Hommey
8e23b6e08e
Bug 1045783 - Move HOST_EXTRA_LIBS to moz.build as HOST_OS_LIBS. r=mshal
2014-08-06 07:26:05 +09:00
Mike Hommey
426076cdef
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
d674c9a855
Bug 1043344 - Move libraries and programs build to the compile tier. r=gps
2014-07-25 07:14:40 +09:00
Mike Hommey
21cfc0c686
Bug 1043289 - Don't declare SOURCES and USE_LIBS when there is nothing to build. r=mshal
2014-07-25 07:10:15 +09:00
Mike Hommey
94198503d2
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
1a33ab8a10
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
Mike Hommey
87bfe2cb67
Bug 1036894 part 7 - Move HOST_LIBS to moz.build, as HOST_USE_LIBS. r=gps
2014-07-23 13:29:50 +09:00
Stephen Pohl
4a6aa51677
Bug 978597: Implement native MAR verification for OS X 10.6. r=smichaud
2014-04-22 20:45:59 -04:00
Brian R. Bondy
439027eefb
Bug 996564 - Mar command line help is wrong and fix libmar warning. r=spohl
2014-04-15 21:12:05 -04:00
Stephen Pohl
49447fb3a1
Bug 978596: Implement native MAR verification for OS X 10.7+. r=bbondy, rstrong, smichaud
2014-04-08 10:06:56 -04:00
Ehsan Akhgari
be1e735a00
Bug 970745 - Move USE_STATIC_LIBS to moz.build; r=glandium
2014-02-11 09:12:33 -05:00
Mike Hommey
06f022b38f
Bug 874266 - Move all DEFINES that can be moved to moz.build. r=mshal
2013-11-27 22:55:07 +09:00
Mike Hommey
3a5f5f0076
Backout changeset 3fd4b546eed4 (bug 874266) and changeset a35d2e3a872f (bug 942043) for ASAN build bustage and Windows test bustage
2013-11-28 14:24:05 +09:00
Mike Hommey
3405bc48c6
Bug 874266 - Move all DEFINES that can be moved to moz.build. r=mshal
2013-11-28 13:08:16 +09:00
Mike Hommey
7f7e4faac1
Bug 939044 - Remove most definitions of MODULE. r=mshal
2013-11-19 11:47:39 +09:00
Mike Hommey
cb26380fb8
Bug 933120 - Move HOST_PROGRAM and HOST_SIMPLE_PROGRAMS to moz.build. r=gps
2013-11-02 08:44:11 +09:00
Mike Hommey
8227d7aa95
Bug 929905 - Consolidate sources in moz.build. r=gps
2013-10-25 08:23:05 +09:00
Daniel Holbert
5969ef6b7b
Bug 929466: Cast '0' + known-small-uint32_t to type "char" in comparison within mar.c, to fix sign-compare build warning. r=bbondy
2013-10-23 08:22:32 +02:00
Mike Hommey
b207d5baf7
Bug 912293 - Remove now redundant boilerplate from Makefile.in. r=gps
2013-09-05 09:01:46 +09:00
Dustin Mitchell
7217956c10
Bug 884931 - signmar should output the gecko version in its usage and/or --version. r=bbondy
2013-08-15 09:40:56 -04:00
Ms2ger
6451372ea6
Bug 897921 - Remove some dead assignments in makefiles; r=mshal
2013-08-02 09:03:55 +02:00
Joey Armstrong
4d3c15a57d
bug 875549: mozbuild cleanup for HOST_CSRCS. r=gps
2013-06-18 09:10:50 -04:00
Joey Armstrong
4e678d6b3e
bug 875549: move HOST_CSRCS to mozbuild (file batch #1 ). r=mshal
2013-06-11 11:31:11 -04:00
Joey Armstrong
8d8fa49bd3
bug 870406: move to moz.build (config batch #1 ) r=mshal
2013-05-24 17:21:14 -07:00
Brian O'Keefe
3d03d7fb25
Bug 862986 - Part 2a: Migrate PROGRAM from Makefile.in to moz.build. r=gps
2013-05-01 14:05:40 -04:00
Ryan VanderMeulen
8b7ac290c8
Backed out changesets c7937fb5f4bb and cf8db9b6bd61 (bug 862986) for bustage.
...
CLOSED TREE
2013-04-30 21:09:41 -04:00
Brian O'Keefe
2c06b0c5a8
Bug 862986 - Part 2: Migrate PROGRAM from Makefile.in to moz.build. r=gps
2013-04-30 20:46:10 -04:00
Ryan VanderMeulen
1c50d0138b
Backed out changesets 64c7ba1d3d04 and 7e9d5bb4a9af (bug 862986) for test failures.
2013-04-30 10:08:38 -04:00
Brian O'Keefe
5db881e6c4
Bug 862986 - Part 2: Migrate PROGRAM from Makefile.in to moz.build. r=gps
2013-04-30 09:08:31 -04:00
Kyle Machulis
331f36baa9
Bug 855465 - Add emacs python mode comments to moz.build files; r=gps
2013-04-01 11:36:59 -07:00
Kyle Machulis
ec9b53db93
Backout for changeset 03452b187c14 (Bug 855465) due to bustage on a CLOSED TREE; r=qdot
2013-03-29 15:12:58 -07:00
Kyle Machulis
0419a0b889
Bug 855465 - Add emacs python mode comments to moz.build files; r=gps
2013-03-29 13:56:18 -07:00
Mike Shal
24be52d653
Bug 844654 - Part 2: Move MODULE to moz.build; rs=gps
2013-03-19 11:47:00 -07:00
Gregory Szorc
db19ba72e6
Bug 784841 - Part 18y: Convert /modules; r=glandium
2013-02-25 12:47:23 -08:00
Brian R. Bondy
d96d6aa2ac
Bug 798415 - Import signature to MAR files implementation. r=bsmith
2012-10-17 09:39:44 -04:00
Brian R. Bondy
644afa0442
Bug 798413 - Export signature from MAR files implementation. r=bsmith
2012-10-17 09:39:44 -04:00
Brian R. Bondy
51b257b785
Bug 792452 - Base implementation for multiple signing and verifying. r=bsmith
2012-10-17 09:39:44 -04:00
Ehsan Akhgari
243c878d26
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