Mike Hommey
fb847fca47
Bug 1087245 part 1 - Allow replace-malloc libraries to register debug file handles to poison IO interposer. r=nfroyd
2014-11-18 19:21:06 +09:00
Mike Hommey
e6bc795b4f
Bug 1097507 - Make libxul independent of libdmd when DMD is enabled. r=njn
...
This also effectively changes how DMD is enabled from requiring both
replace-malloc initialization and the DMD environment variable to
requiring only the former. The DMD environment variable can still be
used to specify options, but not to disable entirely.
This however doesn't touch all the parts that do enable DMD by setting
the DMD environment variable to 1, so the code to handle this value
is kept.
2014-11-18 19:21:06 +09:00
Mike Hommey
5da2027760
Bug 818922 - Add bidirectional method calls with replace-malloc library. r=njn
2014-11-18 19:21:06 +09:00
Guilherme Goncalves
e0957f3ac7
Bug 762448 - Disable tcache in jemalloc3. r=glandium
2014-10-23 02:36:00 -04: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
e29f3df03f
Bug 1083686 part 0 - Don't set MOZ_MEMORY_API to static for OSX in replace_malloc.c. r=njn
...
It appears to be an unnecessary optimization, since the compiler is still inlining
the functions when they're not marked static. OTOH, following patches will require
the _impl functions not to be static.
2014-10-24 13:08:01 +09:00
Guilherme Goncalves
177e6396f5
Bug 1082199 - Recompute stats in jemalloc_stats when using jemalloc3. r=glandium
2014-10-17 15:55:00 +02:00
Mike Hommey
b08088c7c1
Bug 1077366 - Remove most symbol wrapping from Android builds. r=nfroyd
...
Since essentially everything is linked to libmozglue and libmozglue takes
precedence in symbol resolution in our dynamic linker, there is no need
to wrap most symbols. PR_GetEnv/PR_SetEnv still needs wrapping because
there's no other way to actually wrap the calls from NSPR itself and NSS,
as well as the symbols wrapped because our dynamic linker can't find them
in system libraries on some devices because they're weak.
2014-10-14 07:17:13 +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
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
31cd528278
Bug 1036894 part 1 - Move MAKE_FRAMEWORK, SDK_LIBRARY, SHARED_LIBRARY_NAME and STATIC_LIBRARY_NAME to moz.build. r=gps
...
At the same time, make the Library data more useful in the build frontend.
2014-07-23 13:29:09 +09:00
Chris Peterson
01fc5ee208
Bug 1033188 - #include <stdlib.h> for getenv() function declaration. r=glandium
2014-07-01 18:49:52 -07:00
Mike Hommey
32cc5addf8
Bug 1019881 - Ensure the default purgeable zone is after the default zone on OS X. rs=njn
2014-06-11 11:07:27 +09:00
Jan Beich
54ad6dccae
Bug 1015602 - Populate chunksize/bin_unused for MOZ_JEMALLOC3 as they're now used after bug 1006769. r=erahm
2014-05-24 06:41:00 -04:00
Thomas Zimmermann
080d80adff
Bug 979887: Fix GCC warning about undeclared function |vsnprintf|, r=glandium
2014-03-06 11:20:00 +01:00
Thomas Zimmermann
ba12020eb1
Bug 979887: Fix GCC warnings about inline variable declarations, r=glandium
...
Some code is compiled in C90 mode, where inline declarations of
variables are not allowed.
2014-03-06 11:19:57 +01:00
Ehsan Akhgari
bf09c6f469
Bug 976896 - Port STL_FLAGS to moz.build; r=mshal
2014-03-04 19:39:06 -05:00
Ehsan Akhgari
9914a6332b
Bug 973403 - Move the LOCAL_INCLUDES in memory to moz.build; r=glandium
2014-02-18 01:05:51 -05:00
Shelly Lin
a031d65530
Bug 801571 - Override vasprintf and asprint for Android platform to avoid the mismatch of malloc()/free(). r=glandium
2014-01-17 16:54:06 +08:00
Ryan VanderMeulen
41ae41c2b0
Backed out changeset 4230d328b65f (bug 801571) for memory leaks.
2014-01-17 14:25:28 -05:00
Shelly Lin
7e0c060dfd
Bug 801571 - Override vasprintf and asprint for Android platform to avoid the mismatch of malloc()/free(). r=glandium
...
DONTBUILD
2014-01-17 16:54:06 +08:00
Ryan VanderMeulen
c078284cba
Backed out changeset 0496d73bf88e for landing with the wrong bug # in the commit message.
2014-01-17 11:13:30 -05:00
Shelly Lin
ad1c315a7d
Bug 801517 - Override vasprintf and asprint for Android platform to avoid the mismatch of malloc()/free(). r=glandium
2014-01-17 16:54:06 +08:00
Kai-Zhen Li
b16aaa6f7f
Bug 957450 - fix compile error from jemalloc in gonk-kk. r=gal
2014-01-10 14:14:53 +08:00
Marco Chen
e515090378
Backout 977d6be3df40 Bug 957450 - The added "or condition" didn't prevent gonk-kk version fall into non-const definition.
2014-01-15 15:55:12 +08:00
Kai-Zhen Li
8d36cf0bd0
Bug 957450 - fix compile error in gonk-kk. r=iacobcatalin
2014-01-10 14:14:53 +08: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
Mike Hommey
2b828323f2
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
d210f8ff00
Bug 874266 - Move all DEFINES that can be moved to moz.build. r=mshal
2013-11-28 13:08:16 +09:00
Ehsan Akhgari
420fcbeed2
Backed out changeset c3d41ab0a2df (bug 940218) for causing bug 941616
...
--HG--
extra : rebase_source : c0d9b2840ddb6a6b88b86cfc3e3a6810ac9e37e2
2013-11-21 14:28:52 -05:00
Chris Peterson
8c9d97fa4e
Bug 940218 - Build memory/jemalloc and friends in unified mode. r=glandium
2013-11-17 01:16:36 -08:00
Mike Hommey
bb6779efe3
Bug 939044 - Remove most definitions of MODULE. r=mshal
2013-11-19 11:47:39 +09:00
Mike Hommey
57a2dfcb91
Bug 939039 - Remove now useless FORCE_STATIC_LIB definitions. r=gps
2013-11-19 11:47:28 +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
Cykesiopka
a3710e5c11
Bug 914270 - Part 1: Simple/Automated moves. r=joey
2013-10-24 18:51:00 +01:00
Mike Hommey
1d566f7586
Bug 929905 - Consolidate sources in moz.build. r=gps
2013-10-25 08:23:05 +09:00
Masatoshi Kimura
610685c38b
Bug 928210 - Get rid of MOZ_INLINE
2013-10-22 06:34:24 +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
5c2b63d2c7
Merge m-c to inbound.
2013-08-02 11:07:57 +02:00
Ms2ger
061d88874c
Bug 897921 - Remove some dead assignments in makefiles; r=mshal
2013-08-02 09:03:55 +02:00
Justin Lebar
f7f1906708
Bug 899880 - Fix jemalloc3 so it works after bug 898558, which changed jemalloc's stats struct. r=glandium
2013-08-01 16:37:54 -07: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
6829937e70
bug 870406: move CSRCS to mozbuild (config batch #2 ) r=mshal
2013-06-04 11:08:44 -04:00
David Zbarsky
f3e4506def
Fix b2g build, no bug
2013-05-16 18:07:12 -07:00
Mike Shal
77cdb6567d
Bug 846634 - Part 2: Move EXPORTS to moz.build; r=joey
2013-04-16 15:24:43 -04:00
Kyle Machulis
5aa83c3e11
Bug 855465 - Add emacs python mode comments to moz.build files; r=gps
2013-04-01 11:36:59 -07:00
Kyle Machulis
c79ccc0693
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
a59d40f143
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
Mike Shal
9680b82df6
Bug 844654 - Part 2: Move MODULE to moz.build; rs=gps
2013-03-19 11:47:00 -07:00
Gregory Szorc
85e5647383
Bug 784841 - Part 18c: Convert /memory, /mfbt, /mozglue; r=ted f=Ms2ger
2013-02-25 12:47:17 -08:00