Chris Peterson
71920a9550
Bug 1207030 - Enable -Wshadow flag in more directories that have no -Wshadow warnings. r=glandium
2015-09-22 21:39:03 -07:00
Nicholas Nethercote
419069a3b4
Bug 1202971 (part 1) - Fix compile warnings in libmar. r=rstrong.
...
Also remove ALLOW_COMPILER_WARNINGS=True so they don't come back.
--HG--
extra : rebase_source : fceb154a2c73ee34696cf4e24393182cf27b99e8
2015-09-15 17:39:11 -07:00
Shu-yu Guo
64db2267cf
Bug 1202902
- Mass replace toplevel 'let' with 'var' in preparation for global lexical scope. (rs=jorendorff)
2015-09-15 11:19:45 -07:00
Ted Mielczarek
ac2377ae08
bug 1200360 - fix $(DEFINES) usage in modules/libmar/tool/moz.build. r=mshal
...
--HG--
extra : commitid : 3fQbo4FOeXE
extra : rebase_source : 69742ce29b52ee7f2b71de51c40f879bb7161659
2015-09-08 13:58:53 -04:00
Ted Mielczarek
6be16c3688
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.
--HG--
extra : commitid : J26MhSiPq9g
extra : rebase_source : 81c5b98371042803741ddace8d01b0097757dff3
2015-09-08 11:35:43 -04: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
Stephen Pohl
de219632ca
Bug 1184500: Improve handling of index names in MAR files. r=rstrong
...
--HG--
extra : commitid : C2RlzuAzH0w
2015-07-18 18:42:15 -07:00
Chris Peterson
3623e42122
Bug 1171358 - Fix -Wunreachable-code-return warning in libmar/tool. r=rstrong
2015-06-04 00:00:23 -07:00
Josios
2388d6503d
Bug 1161686 - libmar's |SECU_GetModulePassword| can leak allocated string (command line build utility). Free unused return of GetPasswordString. r=bbondy
2015-05-12 19:40:06 -07:00
Chris Peterson
ba9a9426e3
Bug 1163364 - Fix -Wnull-conversion warnings about conversion of NULL constant to 'CSSM_CSP_HANDLE'. r=spohl
2015-05-06 08:59:14 -07:00
Josios
d7907499a5
Bug 1161666 - |extract_signature| leaks memory if |sigIndex| > 0 (command line build utility). Free allocated memory while skipping signatures. r=rstrong
2015-05-07 10:34:51 -07:00
Josios
33c3c7354c
Bug 1161640 - |mar_read_entire_file| can leak file descriptor (command line build utility). Close descriptor when fseeko fails. r=rstrong
2015-05-07 10:34:38 -07:00
Brian R. Bondy
0aee90b831
Bug 973933 - Fix libmar warnings. r=rstrong. a=Callek
...
--HG--
extra : amend_source : 27417e9f4e775cded600fae95f17faad4bb73b47
2015-04-06 12:03:19 -04:00
Stephen Pohl
884903af05
Bug 991993: Disable NSS for updater on OSX and enable native APIs. r=smichaud,rstrong
2014-10-22 21:52:54 -04:00
Brian R. Bondy
598238b91e
Bug 903135 - Multi platform MAR verification build config. r=rstrong
2014-10-22 21:00:19 -04:00
Brian Smith
6a474042e5
Bug 903135 - Updates to libmar needed to support B2G MAR signature verification. r=bbondy
2014-10-22 21:00:15 -04: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
Andrew Halberstadt
d292ee73f1
Bug 1066735 - Remove root b2g and android specific xpcshell manifests, r=chmanchester
2014-10-07 18:18:28 -04:00
Nathan Froyd
4a5959372c
Bug 1062874 - part 2 - don't preprocess head_libmar.js; r=ted
2014-09-02 13:46:10 -04:00
Nathan Froyd
74632e9bd3
Bug 1062874 - part 1 - remove preprocessor-requiring bits from head_libmar.js.in; r=bbondy
2014-09-02 13:18:39 -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
Shashank Sabniveesu
903c685d53
Bug 1021142 - 'fclose()' at 2 places to avoid leaks on failure. r=bbondy
2014-08-28 11:35:50 -07:00
Mike Hommey
89777800f9
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
1e6fb05108
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
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
a62cdc4fa7
Bug 1043344 - Move libraries and programs build to the compile tier. r=gps
2014-07-25 07:14:40 +09:00
Mike Hommey
1b6283507b
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
95063176fa
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
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
Mike Hommey
8e037642dc
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
0cf1dbaebb
Bug 978597: Implement native MAR verification for OS X 10.6. r=smichaud
2014-04-22 20:45:59 -04:00
Brian R. Bondy
eecd2c5b79
Bug 996564 - Mar command line help is wrong and fix libmar warning. r=spohl
2014-04-15 21:12:05 -04:00
Chris Peterson
efce97687f
Bug 995655 - Fix -Wpointer-sign warnings in libmar. r=rstrong
2013-12-16 16:55:53 -08:00
Chris Peterson
c58be709c7
Bug 995655 - Fix -Wuninitialized warnings in libmar. r=rstrong
2014-04-12 11:47:57 -07:00
Stephen Pohl
53be662026
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
50525f2d94
Bug 975729 - Move one CFLAGS variable in libmar signing code to DEFINES in moz.build; r=mshal
2014-02-22 21:40:15 -05:00
Ehsan Akhgari
9df66916f4
Bug 973405 - Move some misc LOCAL_INCLUDES to moz.build; r=glandium
2014-02-18 08:49:12 -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
d91d200572
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
a4c3a2ef68
Bug 947735 - Build modules/libmar/ in unified mode; r=bbondy
2013-12-09 13:30:27 -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
e80e877ab7
Bug 939044 - Remove most definitions of MODULE. r=mshal
2013-11-19 11:47:39 +09:00
Mike Hommey
a470038314
Bug 935305 - Move preprocessor to mozbuild.action. r=gps
...
--HG--
rename : config/Preprocessor.py => python/mozbuild/mozbuild/preprocessor.py
rename : config/tests/unit-Expression.py => python/mozbuild/mozbuild/test/test_expression.py
rename : config/tests/unit-LineEndings.py => python/mozbuild/mozbuild/test/test_line_endings.py
rename : config/tests/unit-Preprocessor.py => python/mozbuild/mozbuild/test/test_preprocessor.py
2013-11-09 10:35:44 +09:00
Mike Hommey
00a70f6f7d
Bug 933120 - Move HOST_PROGRAM and HOST_SIMPLE_PROGRAMS to moz.build. r=gps
2013-11-02 08:44:11 +09:00
Cykesiopka
d2f6b7333c
Bug 914270 - Part 1: Simple/Automated moves. r=joey
2013-10-24 18:51:00 +01:00
Mike Hommey
b000a846c2
Bug 929905 - Consolidate sources in moz.build. r=gps
2013-10-25 08:23:05 +09:00
Daniel Holbert
cc038cbc31
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
ca1b5bf42a
Bug 926906 - Kill core_abspath, core_realpath and core_winabspath. r=gps
2013-10-17 07:55:16 +09:00
Gregory Szorc
7bd3c0ae36
Bug 901990 - Part 2: Upgrade xpcshell manifests; r=ted
...
--HG--
rename : toolkit/mozapps/extensions/test/xpcshell-unpack/head_unpack.js => toolkit/mozapps/extensions/test/xpcshell/head_unpack.js
2013-09-24 11:50:08 -07:00
Mike Hommey
f8bc7fa754
Bug 912293 - Remove now redundant boilerplate from Makefile.in. r=gps
2013-09-05 09:01:46 +09:00
Ms2ger
04a948975a
Bug 906619 - Part a: Move unconditional CSRCS to moz.build; r=mshal
2013-08-22 08:56:02 +02:00
Dustin Mitchell
b1bb3c6f53
Bug 884931 - signmar should output the gecko version in its usage and/or --version. r=bbondy
2013-08-15 09:40:56 -04:00
Mike Shal
8d75be459f
Bug 904768 - Print filename when failing to open files in libmar; r=netzen
2013-08-13 15:18:03 -04:00
Ms2ger
a4e67abf5e
Bug 897921 - Remove some dead assignments in makefiles; r=mshal
2013-08-02 09:03:55 +02:00
Ehsan Akhgari
853dd82f0f
Bug 895322 - Part 4: Only use MOZ_STATIC_ASSERT in mar.h when we're compiling C code; r=Waldo
...
--HG--
extra : rebase_source : 9180550b66311f339e9ea46546aa75cab3d8c92b
2013-07-18 14:36:39 -04:00
Ehsan Akhgari
ef4b479714
Bug 872127 - Part 2: Replace mozilla/StandardInteger.h with stdint.h; r=Waldo,ted
2013-07-30 10:25:31 -04:00
Mihnea Dobrescu-Balaur
dd8d005df3
Bug 895572 - Use the sandboxed tempDir so that modules/libmar tests can be run concurrently. r=bbondy
2013-07-22 09:15:08 -07:00
Brian R. Bondy
c945912fd6
Bug 890853. r=rstrong.
2013-07-22 22:35:20 -04:00
Brian O'Keefe
11bcc1cd9e
Bug 875934 - Move LIBRARY_NAME to moz.build (batch #1 ); r=mshal
...
--HG--
extra : rebase_source : 385d3fd65475ffc18ee44ae088753649470e214b
2013-06-17 15:21:01 -04:00
Joey Armstrong
dbbef415ed
bug 872087: mozbuild HOST_LIBRARY_NAME conversion cleanup. r=gps
2013-06-19 09:19:25 -04:00
Joey Armstrong
ac2232fc29
bug 875549: mozbuild cleanup for HOST_CSRCS. r=gps
2013-06-18 09:10:50 -04:00
Joey Armstrong
ccea9f9d5e
bug 875549: move HOST_CSRCS to mozbuild (file batch #1 ). r=mshal
2013-06-11 11:31:11 -04:00
Joey Armstrong
722eab8a6b
bug 872087: move HOST_LIBRARY to moz.build (file batch #1 ). r=mshal
2013-06-10 12:21:32 -04:00
Joey Armstrong
2c39cbb922
bug 870406: move to moz.build (config batch #1 ) r=mshal
2013-05-24 17:21:14 -07:00
Joey Armstrong
26736a0ee2
bug 869143: phase2 cleanup for XPCSHELL_TEST conversion. r=mshal
2013-05-13 16:24:07 -04:00
Brian O'Keefe
8d90859ddb
Bug 862986 - Part 2a: Migrate PROGRAM from Makefile.in to moz.build. r=gps
2013-05-01 14:05:40 -04:00
Ryan VanderMeulen
8dd4074205
Backed out changesets c7937fb5f4bb and cf8db9b6bd61 (bug 862986) for bustage.
...
CLOSED TREE
2013-04-30 21:09:41 -04:00
Brian O'Keefe
7422d5ac7b
Bug 862986 - Part 2: Migrate PROGRAM from Makefile.in to moz.build. r=gps
2013-04-30 20:46:10 -04:00
Ryan VanderMeulen
b6cc74b921
Backed out changesets 64c7ba1d3d04 and 7e9d5bb4a9af (bug 862986) for test failures.
2013-04-30 10:08:38 -04:00
Brian O'Keefe
0baa2a32d6
Bug 862986 - Part 2: Migrate PROGRAM from Makefile.in to moz.build. r=gps
2013-04-30 09:08:31 -04:00
Joey Armstrong
321d063783
bug 844655: Port XPCSHELL_TESTS to moz.build as XPCSHELL_TESTS_MANIFESTS
2013-04-29 14:49:00 -04:00
Mike Shal
df7deac25b
Bug 846634 - Part 2: Move EXPORTS to moz.build; r=joey
2013-04-16 15:24:43 -04:00
Kyle Machulis
72a717a860
Bug 855465 - Add emacs python mode comments to moz.build files; r=gps
2013-04-01 11:36:59 -07:00
Kyle Machulis
43628a7867
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
334c0800cf
Bug 855465 - Add emacs python mode comments to moz.build files; r=gps
...
--HG--
extra : rebase_source : 004a756492323e1a049586e85b3be5037159df20
2013-03-29 13:56:18 -07:00
Gregory Szorc
89e86f9b21
Bug 844654 - Part 3: Remove now empty Makefile.in files; rs=khuey
...
--HG--
extra : rebase_source : 8de9c7f68a953e574dda22f8c14c2b2ca60444f9
2013-03-19 18:49:07 -07:00
Mike Shal
7ecea60097
Bug 844654 - Part 2: Move MODULE to moz.build; rs=gps
2013-03-19 11:47:00 -07:00
Mike Hommey
4fbe923803
Bug 648407 - Allow to fold NSPR, NSS and SQLite libraries all together. r=ted
2013-03-17 07:53:39 +01:00
Gregory Szorc
3416b992a8
Bug 784841 - Part 18y: Convert /modules; r=glandium
2013-02-25 12:47:23 -08:00
Mike Hommey
efce124035
Bug 838165 - Cleanup in NSPR hooking in the build system. r=ted
2013-02-14 08:25:43 +01:00
Nathan Froyd
348797d9b2
Bug 798564 - remove prtypes.h #includes in modules/libmar/; r=ehsan
2013-01-23 16:36:59 -05:00
Trevor Saunders
2a624f853c
backout an accidental change that landed with bug 817133
2012-12-05 20:35:09 -05:00
Trevor Saunders
496f01cda1
bug 817133 - move platform init and shutdown stuff out of nsAccessNodeWrap and ApplicationAccessibleWrap static methods r=surkov
2012-12-01 19:58:25 -05:00
Ehsan Akhgari
8e702f60c5
Backed out 2 changesets (bug 579517)
...
Backed out changeset 5298adc70963
Backed out changeset 86ccf7c918ce (bug 579517)
2012-10-25 12:32:24 -04:00
Ehsan Akhgari
f3c0ac7a23
Code hygiene: don't use PR_TRUE and PR_FALSE, and use stdint types instead of PRInt types (no bug really, but you could say bug 579517)
2012-10-25 11:48:19 -04:00
Brian R. Bondy
def62086b3
Bug 795915 - Ensure permissions get encoded correctly in libmar test suite. r=rstrong
2012-10-19 19:07:25 -04:00
Brian R. Bondy
5cc09309d8
Bug 798415 - Import signature to MAR files implementation. r=bsmith
2012-10-17 09:39:44 -04:00
Brian R. Bondy
4a89eb4cad
Bug 798415 - Tests for import signature to MAR files. r=bsmith
2012-10-17 09:39:44 -04:00
Brian R. Bondy
459817141a
Bug 798415 - Binary data for tests for import signatures to MAR files. r=bsmith
2012-10-17 09:39:44 -04:00
Brian R. Bondy
f6cba803e5
Bug 798413 - Tests for export signature from MAR files. r=bsmith
2012-10-17 09:39:44 -04:00
Brian R. Bondy
39483bb578
Bug 798413 - Export signature from MAR files implementation. r=bsmith
2012-10-17 09:39:44 -04:00
Brian R. Bondy
df5ae31148
Bug 798413 - Binary data for tests for export signatures from MAR files. r=bsmith
2012-10-17 09:39:44 -04:00
Brian R. Bondy
f171dd7d09
Bug 792452 - Base implementation for multiple signing and verifying. r=bsmith
2012-10-17 09:39:44 -04:00
Brian R. Bondy
6f9f43864f
Bug 792452 - Tests for multiple signing. r=bsmith
2012-10-17 09:39:44 -04:00
Brian R. Bondy
b232454d68
Bug 792452 - Binary data for multiple signature test cases. r=bsmith
2012-10-17 09:39:43 -04:00
Brian R. Bondy
e3b4a12541
Bug 795921 - Change MAR verification to use AND semantics for multiple signatures. r=bsmith
2012-10-17 09:39:42 -04:00
Ehsan Akhgari
845651448b
Bug 579517 - Part 5: Add missing StandardInteger.h #includes where needed; r=bsmedberg
...
Landing on a CLOSED TREE
2012-08-08 17:08:17 -04:00