Masatoshi Kimura
f70d08c5aa
Bug 1120062 - Part 1: Remove most Nullptr.h includes. r=waldo
2015-01-11 11:34:52 +09:00
James Willcox
16dc163af8
bug 1118552 - fix gcc4.9 warnings on Android r=glandium
2015-01-06 22:20:46 -05:00
Botond Ballo
912ac2fc93
Bug 1073003 - Remove an unused function in Nuwa.cpp. r=glandium
...
--HG--
extra : rebase_source : 96fa8ccbeab6c2046c9ca522307a82fe93b04327
2014-12-23 03:21:39 -05:00
Botond Ballo
b3191db47e
Bug 1073003 - Fix -Wunused-variable in Nuwa.cpp. r=glandium
...
--HG--
extra : rebase_source : 6d902895f5e2d08be939213c414e763968d64547
2014-12-23 03:21:24 -05:00
Chris Peterson
50740301f2
Bug 1110031 - Part 2: Mark some directories as FAIL_ON_WARNINGS for some compilers. r=gps
2014-12-10 22:46:01 -08:00
Kai-Zhen Li
bc6f254ba7
Bug 1103827 - Remove __pthread_cond_timedwait. r=cyu
2014-12-12 16:12:21 +08:00
Kai-Zhen Li
c61e014e79
Bug 1104649 - Always cast the string for putenv. r=glandium
2014-11-26 20:26:56 +08:00
Mike Hommey
b8f61ba195
Bug 1101070 - Add missing OSX build flag for the new replace-malloc symbol. r=njn,r=khuey
...
Bug 818922 added a new replace-malloc symbol that the OSX linker tricks need
to know about.
2014-11-19 09:46:47 +09:00
Cervantes Yu
66f8cbe724
Bug 1091533, Part 2: Implement NuwaAddThreadConstructor() to allow a thread to perform a custom action after being recreated in the content process. r=khuey,tlee
2014-11-06 19:34:03 +08:00
Cervantes Yu
4199f3e652
Bug 1091533, Part 1: Don't wrap tgkill() on the Nuwa process. r=BenWa
2014-11-06 19:10:52 +08: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
2a17803c46
Bug 1077148 part 1 - Define mozcrt in moz.build. r=gps
...
--HG--
rename : mozglue/build/Makefile.in => mozglue/crt/Makefile.in
rename : mozglue/build/fixcrt.py => mozglue/crt/fixcrt.py
2014-10-30 13:05:50 +09:00
Mike Hommey
a567ba99f8
Bug 1083686 - Tool to capture and reproduce Firefox's memory allocations. r=njn,r=mshal
...
--HG--
rename : mozglue/build/Makefile.in => mozglue/build/replace_malloc.mk
2014-10-24 13:08:01 +09:00
Mike Hommey
3bdc381f46
bug 1081034 part 4 - Remove wrapping for weak libc symbols. r=nfroyd
...
This effectively backs out bug 791419, a part of bug 850332, and bug 1001703.
2014-10-16 09:20:16 +09:00
Mike Hommey
a1c71319c9
Bug 1080342 - Change how the symbols the flash plugin uses are hooked on Android. r=snorp
...
With bug 1077366, the linker makes the library containing it a fake
LD_PRELOAD. As a consequence, instead of, in the linker itself,
explicitely special-casing the symbols that disappeared in Android 4.4
that the flash plugin uses, it is now possible to use normal symbol
resolution to stubs defined separately in libmozglue.
2014-10-14 07:18:01 +09: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
David Major
dd046c050e
Bug 1046382 - Blocklist dtwxsvc.dll. r=bsmedberg
...
--HG--
extra : rebase_source : 007867f3df7090bf67dcadeeac6f4ec422e16ac5
2014-09-18 14:27:11 +12:00
Mike Hommey
a653121671
Bug 1059113 - Use templates for shared libraries and frameworks. r=gps
...
Also force to use the existing template for XPCOM components.
2014-09-04 09:04:45 +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
0f4c5d9244
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
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
Ting-Yu Chou
8cabe66818
Bug 1038854 - Synchronize mutexes in pthread_cond_wait after recreating threads to avoid race conditions. Parts by Ting-Yu, r=khuey. Parts by Kyle Huey, r=thinker
2014-07-31 10:47:30 +08:00
Ed Morley
2b7789a643
Merge latest green inbound changeset and mozilla-central; a=merge
2014-08-01 16:11:12 +01:00
Wes Kocher
01b38e09aa
Backed out changeset f73cd738c1fe (bug 1038854) a=backout
2014-07-31 15:04:49 -07:00
Ehsan Akhgari
8a89df52af
Bug 1042414 - Make mozglue.def depend on GLOBAL_DEPS; r=glandium
...
--HG--
extra : rebase_source : 6dbd6aa6ea9e697c037fa33e0638abbaa92ca08a
2014-07-31 20:30:30 -04:00
Ting-Yu Chou
cb194e9b0d
Bug 1038854 - Avoid making unlocked mutex to locked uncontended after recreating threads from pthread condition wait wrappers. r=khuey
2014-07-31 10:47:30 +08:00
Mike Hommey
dbad84b131
Bug 1043344 - Move libraries and programs build to the compile tier. r=gps
2014-07-25 07:14:40 +09: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
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
Ehsan Akhgari
e65619e81d
Bug 1036235 - Do not use __asan_default_options with clang-cl because it is not supported yet; r=decoder
2014-07-09 15:16:55 -04:00
Benoit Jacob
d8fadb8326
Bug 1008254 - Allow Nuwa's global sAllThreads list to be non-empty on exit, to green a near-permanent orange on B2G mochitest-9 - r=khuey
2014-07-02 16:40:29 -04:00
David Major
262886ab0c
Bug 1023239 - Block crashy builds of V-Bates. r=bsmedberg
...
--HG--
extra : rebase_source : 5b0d32f84ddcea375736777270f99af4e63a0513
2014-07-01 09:33:43 +12:00
Patrick Wang (Chih-Kai Wang)
942764c5d4
Bug 1026864: prevent malloc from calling wrapped pthread_mutex_lock and get rid of LibcAllocator. r=cyu,r=glandium,r=khuey
2014-06-25 10:44:58 +08:00
Jed Davis
36b77185fa
Bug 1024805 - Use TaggedAnonymousMemory for Nuwa thread stacks. r=khuey
...
Bonus fixes: make the guard page PROT_NONE instead of PROT_READ,
and correct the stack bounds passed to pthread_attr_setstack.
2014-06-18 17:41:00 +02:00
Birunthan Mohanathas
ec8396a564
Bug 1016240 - Exterminate CR+LF line endings. r=briansmith,cpearce,ehsan,gavin
2014-06-18 17:56:02 -07:00
Patrick Wang (Chih-Kai Wang)
8ea8314683
Bug 999323: use an extra thread to free stack of a exit thread in Nuwa. r=cyu,r=khuey
2014-06-10 16:02:45 +08:00
Jacek Caban
a61a0617b4
Bug 973138 - Fixed goto crossing variable declaration (fixes GCC compilation).
...
--HG--
extra : rebase_source : 8b488731cb06cab3fc1e74e66f88046583e95fc2
2014-05-12 11:01:53 +02:00
David Major
e20edcb656
Bug 988311: Blocklist rf-firefox-22.dll. r=bsmedberg
...
--HG--
extra : rebase_source : 2729d41ff87bb92220e667ec43ad8f4a0273e1b7
2014-05-08 10:18:17 +12: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
David Major
c809e48890
Bug 1002748: Blocklist libinject.dll. r=bsmedberg
...
--HG--
extra : rebase_source : 09e8355ea54c81d8e82b7a01a6ccabf212fa814f
2014-05-07 09:59:20 +12:00
David Major
29a785c2f6
Bug 973138: Block DLLs that match the MovieMode pattern. r=bsmedberg
2014-04-15 11:40:42 +12:00
Wes Kocher
58c95fbbad
Merge m-c to b2g-inbound
2014-04-28 16:26:34 -07:00
Mike Hommey
32a335e0ef
Bug 1001703 - Remove memswap wrapping. r=snorp
2014-04-29 04:12:27 +09:00
James Willcox
f0ff167752
Bug 966154 - Don't use __fork, it's gone in newer bionic r=glandium
...
--HG--
extra : rebase_source : d9658b67bae73031b2a8212764a33bff8f0e3bb7
2014-04-28 10:21:22 -05:00
Gabriele Svelto
aefac143df
Bug 982569 - Don't hard-code the page size. r=khuey
2014-04-21 19:32:48 +02:00
David Major
458b64738b
Bug 970362 - Block F-Secure on Windows XP. r=bsmedberg
2014-04-13 14:18:03 -04:00
Nathan Froyd
37e08e5564
Bug 988499 - terminate #warning string in Nuwa.cpp; r=khuey; f=tzimmerman DONTBUILD because #warnings don't need build and tests
2014-03-24 13:35:43 -04:00
Thomas Zimmermann
2e54989c3f
Bug 979913: Remove unused variables, r=khuey
2014-03-14 11:23:51 +01:00
Thomas Zimmermann
a0988f8236
Bug 979913: Conditionally define PAGE_SIZE, r=khuey
...
With this patch the PAGE_SIZE value from the system is used if
possible. If page size is not defined by the system, it is set
to 4096 bytes and a warning is emitted. PAGE_ALIGN_MASK is now
derived from PAGE_SIZE. With these changes, the code should be
more robust on systems with non-4KiB page size.
2014-03-14 11:23:51 +01:00