Commit Graph

160 Commits

Author SHA1 Message Date
Chris Peterson
0bd0346914 Bug 1204403 - Fix -Wshadow warnings in xpcom. r=mccr8 2015-09-07 23:56:16 -07:00
Ms2ger
e82a245870 Bug 1194603 - Remove INTERNAL_TOOLS; r=mshal
Its only purpose is to disable PGO. Where that was not already explicitly done,
or irrelevant (because the directory only contains python), I disabled it in
moz.build.
2015-09-10 13:49:19 +02:00
Nicholas Nethercote
10d95cca57 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
doofgod
a312542b6d Bug 1155969 - Make xpt.py flake8 compliant. r=ted 2015-05-25 19:58:00 -04:00
doofgod
0ae6398038 Bug 1155969 - Make runtests.py flake8 compliant. r=ted 2015-05-25 19:57:00 -04:00
Mike Hommey
3a3e32f4c0 Bug 1043692 - Move DIST_INSTALL to moz.build. r=gps 2015-05-12 07:55:22 +09:00
Ehsan Akhgari
a00943dde1 Bug 1157212 - Teach clang-analyzer about XPT_ASSERT; r=froydnj 2015-04-22 11:40:17 -04:00
Mike Hommey
4da5ed0b71 Bug 1138293 - Use malloc/free/realloc/calloc instead of moz_malloc/moz_free/moz_realloc/moz_calloc. r=njn
The distinction between moz_malloc/moz_free and malloc/free is not
interesting. We are inconsistent in our use of one or the other, and
I wouldn't be surprised if we are mixing them anyways.
2015-03-31 12:32:49 +09:00
Bill McCloskey
d524d0d64e Bug 997325 - Implement main process scriptable only flag in XPIDL (r=mrbkap) 2015-03-26 14:39:48 -07: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
Mike Hommey
6bcd36f9cd Bug 1077148 part 3 - Do not link PrimitiveTest, SimpleTypeLib, TestAUSHelper, TestAUSReadStrings and screentopng against mozglue on Linux. r=gps
There is no reason these should be linked to mozglue on Linux only. This
makes the intent clearer for the related changes in part 4.
2014-10-30 13:06:04 +09:00
Mike Hommey
30febd13b1 Bug 1081000 - Build xpt tests without a dependency on xul, mozalloc and mozglue. r=bsmedberg 2014-10-14 07:14:13 +09:00
Mike Hommey
6258dd8523 Bug 1059090 - Don't require SOURCES to be set for CPP_UNIT_TESTS and SIMPLE_PROGRAMS. r=mshal 2014-09-03 14:16:37 +09: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
Ms2ger
f5a6e98287 Bug 1044657 - Move PYTHON_UNIT_TESTS to moz.build; r=mshal
As a first step, this moves PYTHON_UNIT_TESTS to moz.build as a passthru
variable. In the future, we could hook it up to |mach test|.

The __init__.py files may not need to be in the list, but I don't want to
change the list here.
2014-07-28 17:51:12 +02:00
Mike Hommey
ad9b49263a Bug 1041936 part 2 - Directly use the static library "xul" to link into "xul-gtest" instead of having an intermediate library "xul" used by "xul-shared" and "xul-gtest". r=gps 2014-07-23 13:33:09 +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
Mike Hommey
d10b15b035 Bug 1041860 - Avoid setting FINAL_LIBRARY to libraries that further use a FINAL_LIBRARY. r=mshal 2014-07-23 08:37:51 +09:00
Nathan Froyd
d1d52d93ee Bug 1031352 - move most of the _MSC_VER references in Makefile.in to moz.build; r=glandium 2014-06-27 10:32:05 -04:00
Birunthan Mohanathas
d9e98ea58a Bug 1028557 - Part 3: Flatten xpcom/typelib/xpt/{public,src}/ directories. r=khuey
--HG--
rename : xpcom/typelib/xpt/src/Makefile.in => xpcom/typelib/xpt/Makefile.in
rename : xpcom/typelib/xpt/src/xpt_arena.cpp => xpcom/typelib/xpt/xpt_arena.cpp
rename : xpcom/typelib/xpt/public/xpt_arena.h => xpcom/typelib/xpt/xpt_arena.h
rename : xpcom/typelib/xpt/src/xpt_struct.cpp => xpcom/typelib/xpt/xpt_struct.cpp
rename : xpcom/typelib/xpt/public/xpt_struct.h => xpcom/typelib/xpt/xpt_struct.h
rename : xpcom/typelib/xpt/src/xpt_xdr.cpp => xpcom/typelib/xpt/xpt_xdr.cpp
rename : xpcom/typelib/xpt/public/xpt_xdr.h => xpcom/typelib/xpt/xpt_xdr.h
2014-06-30 08:39:46 -07:00
Nathan Froyd
299b9aee87 Bug 996061 - part 4 - throw away unscriptable interfaces that aren't otherwise needed; r=ted 2014-04-15 14:41:08 -04:00
Nathan Froyd
94bb6d69ae Bug 996061 - part 0 - make tests use [scriptable] interfaces; r=ted
Smart xpt linking will keep around [scriptable] interfaces and anything
those interfaces depend on.  Modify the tests that deal with xpt linking
so they use [scriptable] interfaces, ensuring that the tests continue to
work in the face of smarter linkers.
2014-05-19 12:35:21 -04:00
Chris Peterson
92df38d44e Bug 1007525 - Mark xpcom/typelib/xpt/ as FAIL_ON_WARNINGS. r=bholley 2014-05-07 19:53:49 -07:00
Ehsan Akhgari
958ae15e31 Bug 994964 - Make DOM XPIDL interfaces non-scriptable, and add shim Components.interfaces entries for them; r=bzbarsky,bholley 2014-05-08 16:45:36 -04:00
Chris Peterson
c7e6ac0c67 Bug 1006998 - Fix -Wdeprecated-writable-strings warnings by const-correcting typelib/xpt code. r=bholley 2014-05-05 21:40:06 -07:00
Ehsan Akhgari
4b2590958a Bug 1005321 follow-up: fix the link error on Windows 2014-05-05 20:39:46 -04:00
Ehsan Akhgari
960e39897a Bug 1005321 - Convert the xpt code to C++; r=bholley
--HG--
rename : xpcom/typelib/xpt/src/xpt_arena.c => xpcom/typelib/xpt/src/xpt_arena.cpp
rename : xpcom/typelib/xpt/src/xpt_struct.c => xpcom/typelib/xpt/src/xpt_struct.cpp
rename : xpcom/typelib/xpt/src/xpt_xdr.c => xpcom/typelib/xpt/src/xpt_xdr.cpp
rename : xpcom/typelib/xpt/tests/PrimitiveTest.c => xpcom/typelib/xpt/tests/PrimitiveTest.cpp
rename : xpcom/typelib/xpt/tests/SimpleTypeLib.c => xpcom/typelib/xpt/tests/SimpleTypeLib.cpp
2014-05-05 19:52:09 -04:00
Ehsan Akhgari
741e1ab301 Bug 973388 - Move the LOCAL_INCLUDES in xpcom to moz.build; r=glandium 2014-02-18 09:01:06 -05:00
Ehsan Akhgari
5850c6bcff Bug 936912 - Build xpcom in unified mode; r=froydnj 2013-11-18 21:34:00 -05:00
Mike Hommey
8ceb917350 Bug 939074 - Remove most LIBXUL_LIBRARY. rs=gps 2013-11-19 11:48:10 +09:00
Mike Hommey
bb6779efe3 Bug 939044 - Remove most definitions of MODULE. r=mshal 2013-11-19 11:47:39 +09:00
Mike Hommey
d7b6f95761 Bug 935881 - Use FINAL_LIBRARY for all (fake) libraries that end up linked in a single other library. r=gps 2013-11-19 11:47:14 +09:00
Mike Hommey
d8d527c143 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
ff4fa14954 Bug 933135 - Treat SIMPLE_PROGRAMS more like PROGRAM. r=mshal 2013-11-02 08:43:55 +09:00
Mike Hommey
1d566f7586 Bug 929905 - Consolidate sources in moz.build. r=gps 2013-10-25 08:23:05 +09:00
Mike Hommey
cf3407e3e6 Bug 927775 - Cleanup xpcom/typelib/xpt/tools/Makefile.in. r=mshal 2013-10-22 10:02:49 +09:00
Mike Hommey
f1cf3b4238 Bug 912293 - Remove now redundant boilerplate from Makefile.in. r=gps 2013-09-05 09:01:46 +09:00
Ms2ger
d62e2c8439 Bug 906619 - Part a: Move unconditional CSRCS to moz.build; r=mshal 2013-08-22 08:56:02 +02:00
Ms2ger
c3e345584c Bug 883284 - Part f: Move LIBXUL_LIBRARY into moz.build (p-z); r=glandium 2013-08-22 08:56:01 +02:00
Ms2ger
93933b0de8 Bug 897909 - Cleanup some SIMPLE_PROGRAMS; r=gps
* * *
FOLD
2013-08-14 09:00:13 +02:00
Trevor Saunders
1dd775a5cf bug 900330 - part 1 rm xpcom/typelib/xpidl/ r=ted 2013-08-02 23:30:09 -04:00
Trevor Saunders
b13af92c34 bug 900330 - part 0 clean up xpcom/typelib/xpt/src/Makefile.in r=ted
we don't need to build the C xpt code before idl parsing anymore so change to
 compile it during libs
2013-08-02 14:06:02 -04:00
Ehsan Akhgari
9854ac6166 Bug 872127 - Part 2: Replace mozilla/StandardInteger.h with stdint.h; r=Waldo,ted 2013-07-30 10:25:31 -04:00
Benoit Girard
5b43ee14ca Bug 892861 - Remove useless -D flags 'IMPL_THEBES,_IMPL_NS_GFX,...'. r=glandium 2013-07-12 08:56:54 -04:00
Catalin Iacob
de67aac0eb Bug 798914 (part 3) - Use newly introduced MozMallocSizeOf in xpt. r=njn.
--HG--
extra : rebase_source : 6c3d707727bd1448acb26317cab2c64c82aa896c
2013-06-20 21:17:44 +02:00
Brian O'Keefe
5f8b5163e8 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
e7afc73381 bug 872086: move SIMPLE_PROGRAMS to moz.build (file batch #1) r=mshal 2013-06-13 12:02:02 -04:00
Gregory Szorc
14c4938355 Bug 873629 - Remove 129 empty Makefile.in files; r=ted 2013-05-17 16:20:11 -07:00
Mike Shal
77cdb6567d Bug 846634 - Part 2: Move EXPORTS to moz.build; r=joey 2013-04-16 15:24:43 -04:00
Nathan Froyd
2de8456c06 Bug 859367 - make xpt.py use unpack_from instead of unpack; r=ted 2013-04-08 12:32:22 -04:00