Mike Hommey
0060683747
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
ed70c5f377
Bug 1041941 - Use templates for programs, simple programs, libraries and C++ unit tests. r=gps
2014-09-03 14:10:54 +09:00
Jim Chen
8117b170c6
Bug 1056941 - Remove extract libs parameter; r=glandium
2014-08-26 15:08:00 -04:00
Bill McCloskey
d52ab46335
Bug 1045847 - Initialize sProcessType really, really early (r=khuey)
2014-08-08 17:52:12 -07:00
Kartikaya Gupta
c604d4ad5a
Bug 1049136 - Add native-code awareness of the Java UI thread so we can do thread assertions. r=snorp
2014-08-08 18:15:38 -04:00
Kartikaya Gupta
80b3b6bf72
Bug 1049136 - Hook up touch event handling for apz-fennec. r=wesj,snorp
2014-08-08 18:15:37 -04:00
Kartikaya Gupta
96362eb56b
Bug 1046344 - Unbitrot and rearrange the old APZ glue code in Fennec. r=snorp
2014-08-08 17:42:20 -04: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
1cf20f37fd
Bug 1036286 - Ensure faulty.lib diverts libc's sigaction instead of a LD_PRELOADed one. r=nfroyd
...
and force-send calls to sigaction from faulty.lib-loaded libraries to the libc.
2014-08-07 02:51:20 +09:00
Mike Hommey
15851645b4
Bug 1036286 - Delay registration of the faulty.lib signal handler until when it's necessary. r=nfroyd
...
It's necessary to delay it because for the second part, we need to call dlopen,
and until recently bionic's linker dead-locked when using dlopen from a static
initializer.
2014-08-07 02:51: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
Ed Morley
a82632349d
Merge mozilla-central and b2g-inbound
2014-08-05 16:33:22 +01:00
Mike Hommey
8c39460da9
Backout changeset 34235900c3a0 (bug 1036286) because it wasn't the right fix.
2014-08-05 16:07:06 +09:00
Ting-Yu Chou
1e305aa73a
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
f50c0faa02
Merge latest green inbound changeset and mozilla-central; a=merge
2014-08-01 16:11:12 +01:00
Wes Kocher
c60b44a7b1
Backed out changeset f73cd738c1fe (bug 1038854) a=backout
2014-07-31 15:04:49 -07:00
Ehsan Akhgari
e71edf0cc1
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
cce7014830
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
5f6ba110e6
Bug 1043802 - Remove TOOLS_DIRS and TEST_TOOLS_DIRS. r=gps
2014-07-29 08:55:55 +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
0b4c32ffd7
Bug 1043351 - Build ShowSSEConfig as a C++ unit test after it was forgotten in bug 894941 and move linker tests to avoid conflicts. r=mshal
...
--HG--
rename : mozglue/tests/Makefile.in => mozglue/linker/tests/Makefile.in
rename : mozglue/tests/TestZip.cpp => mozglue/linker/tests/TestZip.cpp
rename : mozglue/tests/moz.build => mozglue/linker/tests/moz.build
rename : mozglue/tests/no_central_dir.zip => mozglue/linker/tests/no_central_dir.zip
rename : mozglue/tests/test.zip => mozglue/linker/tests/test.zip
2014-07-25 07:14:21 +09:00
Jeff Walden
ec20cc707d
Bug 1037100 - Remove all use of ScopedDeleteArray from mozglue/. r=glandium
...
--HG--
extra : rebase_source : dbc49be874fd57130f33584892589c180c7d1128
2014-07-21 18:14:11 -04:00
Mike Hommey
1e14ec2f14
Bug 1036286 - Make sure libraries loaded by faulty.lib use its own sigaction. r=nfroyd
...
Android L added a libsigchain library it LD_PRELOADs. That library exposes
a different sigaction than libc's. It's used for ART.
faulty.lib gets its sigaction from libsigchain, but after bug 874708, the
libraries it loads simply use libc's sigaction, assuming it would be the
hooked one. In turn, this means libraries loaded by faulty.lib may
override faulty.lib's handler, which is definitely not the intent.
This essentially restores some of the code that bug 874708 removed.
An alternative fix would be to add support for LD_PRELOAD, but that has more
implications and feels more risky. This could be done, if necessary, as a
followup.
2014-07-24 13:43:56 +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
Mike Hommey
a33d7d67e6
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
Nicholas Nethercote
2a0942be41
Bug 1036789 - Convert the third quarter of MFBT to Gecko style. r=Ms2ger.
...
--HG--
extra : rebase_source : 668cd394806203ddfa34bd4f226335ff26c846b5
2014-07-10 19:10:17 -07:00
Ehsan Akhgari
22b05d25b2
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
Jeff Walden
8c69dfae30
Bug 953296 - Convert trivial ScopedDelete{Ptr,Array} uses to UniquePtr in mozglue/linker/. (More remain, but they're less trivial to change.) r=glandium
...
--HG--
extra : rebase_source : 7af7ff2daa70ff3aedaac91d3898bcd90a402162
2013-12-30 13:34:54 -06:00
Benoit Jacob
875ebd67ca
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
1ebe57b5fe
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)
01cc0c8352
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
995ff094cd
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
51ba75d135
Bug 1016240 - Exterminate CR+LF line endings. r=briansmith,cpearce,ehsan,gavin
2014-06-18 17:56:02 -07:00
Mike Hommey
f358f3711f
Bug 1024248 - Properly tag linker error/warnings in logcat. r=nfroyd
2014-06-13 08:45:58 +09:00
Patrick Wang (Chih-Kai Wang)
58e49a079d
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
Jim Chen
c0baa0f500
Bug 992357 - b. Add array support stubs; r=blassey
2014-05-16 18:25:29 -04:00
Jim Chen
3a91fe28bb
Bug 992359 - b. Add skeletal NativeJSObject.toBundle; r=blassey
2014-05-12 12:50:46 -04:00
Jacek Caban
feaa797775
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
c9a196626d
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
7043c985ba
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
4d025daa76
Bug 1002748: Blocklist libinject.dll. r=bsmedberg
...
--HG--
extra : rebase_source : 09e8355ea54c81d8e82b7a01a6ccabf212fa814f
2014-05-07 09:59:20 +12:00
Ehsan Akhgari
7257ee5010
Bug 1004564 - Move AtomicRefCounted to mozilla::external and outlaw it in Gecko code; r=froydnj
2014-05-01 14:33:20 -04:00
David Major
d11a936043
Bug 973138: Block DLLs that match the MovieMode pattern. r=bsmedberg
2014-04-15 11:40:42 +12:00
Wes Kocher
048b39c570
Merge m-c to b2g-inbound
2014-04-28 16:26:34 -07:00
Mike Hommey
95601eca19
Bug 1001703 - Remove memswap wrapping. r=snorp
2014-04-29 04:12:27 +09:00
James Willcox
4379c05e4a
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
0f7f7f7cff
Bug 982569 - Don't hard-code the page size. r=khuey
2014-04-21 19:32:48 +02:00
David Major
951594b3b3
Bug 970362 - Block F-Secure on Windows XP. r=bsmedberg
2014-04-13 14:18:03 -04:00
Jim Chen
a19a03d507
Bug 984458 - f. Add NativeJSObject opt getters; r=blassey
2014-04-01 15:16:56 -04:00
Jim Chen
a829ab70bd
Bug 984458 - e. Add NativeJSObject object getter; r=blassey
2014-04-01 15:16:55 -04:00
Jim Chen
5e4de5d8fb
Bug 984458 - d. Add NativeJSObject property getters; r=blassey
2014-04-01 15:16:55 -04:00
Jim Chen
cdc7a228c1
Bug 984458 - c. Add skeletal NativeJSObject implementation; r=blassey
2014-04-01 15:16:54 -04:00
Jim Chen
1447ea535f
Bug 984458 - b. Add threading support to NativeJSContainer; r=blassey
2014-04-01 15:16:53 -04:00
Jim Chen
d291d3bec4
Bug 984458 - a. Add NativeJSContainer implementation; r=blassey
2014-04-01 15:16:52 -04:00
Nathan Froyd
b87a188e24
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
Douglas Crosher
a33e69853e
Bug 944612 - Guard the ElfLoader sigaction wrapper against the SIGSEGV handler not being installed. r=glandium
2014-03-20 12:35:15 +11:00
Thomas Zimmermann
2fac99cc52
Bug 979913: Remove unused variables, r=khuey
2014-03-14 11:23:51 +01:00
Thomas Zimmermann
fd33abc3bd
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
Thomas Zimmermann
c95349d6cd
Bug 979913: Fix GCC warning about undeclared function |snprintf|, r=khuey
2014-03-14 11:23:50 +01:00
Carsten "Tomcat" Book
fe03b8518d
Backed out changeset b2e50a5b5eb3 (bug 979913) on request for pushing wrong version of the patch on a CLOSED TREE
2014-03-14 09:40:38 +01:00
Carsten "Tomcat" Book
4442714511
Backed out changeset 3e9182f7e25d (bug 979913)
2014-03-14 09:39:35 +01:00
Carsten "Tomcat" Book
013dd86d57
Backed out changeset 79ee6fda8e65 (bug 979913)
2014-03-14 09:39:26 +01:00
Thomas Zimmermann
ad35a39b55
Bug 979913: Remove unused variables, r=khuey
2014-03-14 09:24:05 +01:00
Thomas Zimmermann
69fdcaadac
Bug 979913: Conditionally define PAGE_SIZE, r=khuey
...
With this patch the PAGE_SIZE value from the system is used if
possible. The code still assumes that the PAGE_SIZE is 4096, but
emits a warning if the actual value differs. If page size is not
defined by the system, it is set to 4096 bytes and a warning is
emitted as well.
2014-03-14 09:24:04 +01:00
Thomas Zimmermann
aea66889b6
Bug 979913: Fix GCC warning about undeclared function |snprintf|, r=khuey
2014-03-14 09:24:04 +01:00
Jed Davis
154d9c5e2a
Bug 977859 - Drop uid 0 in all content processes immediately after fork. r=bent r=kang
...
Now all regular child processes, including preallocated, are deprivileged.
Only Nuwa needs uid 0, because each of its children has a different uid/gid.
2014-03-12 15:48:15 -07:00
Cervantes Yu
3b8647cc68
Bug 979741 - Use MOZ_DEBUG_CHILD_PROCESS environment variable for processes forked from Nuwa. r=khuey
2014-03-05 20:43:06 +08:00
Michael Comella
fd1b99b814
Bug 915312 - Part 2: Build native crypto into mozglue. r=glandium,kats,rnewman
2014-03-06 12:10:54 -08:00
Michael Comella
fbb95e3823
Bug 915312 - Part 1: Import sha files. r=rnewman
2014-03-06 12:10:54 -08:00
Ehsan Akhgari
17f4a32d8b
Bug 976896 - Port STL_FLAGS to moz.build; r=mshal
2014-03-04 19:39:06 -05:00
David Major
dacf888628
Bug 951827 - Force a detour-style hook for LdrLoadDll. r=ehsan
2014-03-03 10:27:21 -05:00
Ryan VanderMeulen
12d0416fc6
Backed out 5 changesets (bug 951827) for causing bug 975820.
...
Backed out changeset 16b840c2de31 (bug 951827)
Backed out changeset 8fb155711dfe (bug 951827)
Backed out changeset 1109dba48e6b (bug 951827)
Backed out changeset 236ed76eea8b (bug 951827)
Backed out changeset 96cf7c13a8cb (bug 951827)
2014-02-24 14:52:14 -05:00
Ehsan Akhgari
a8a0206da1
Bug 935778 - Part 1: Add RefCountType, a type compatible with nsrefcnt, to MFBT; r=dbaron,froydnj
2014-02-21 14:45:50 -05:00
Ehsan Akhgari
7e41f47adf
Bug 935778 - Part 0.4: Spray even more MOZ_DECLARE_REFCOUNTED_TYPENAME across the tree
2014-02-21 09:11:33 -05:00
David Major
e08a801cd5
Bug 951827 - Part 4: Support absolute jumps in hooks. r=ehsan
2014-02-14 14:58:12 -08:00
Ehsan Akhgari
53ce387626
Bug 973389 - Move the LOCAL_INCLUDES in mozglue to moz.build; r=glandium
2014-02-18 01:02:32 -05:00
Wes Johnston
c1bd2f002f
Bug 946344 - Remove GeckoEventResponder. r=mfinkle,blassey,kats
...
--HG--
rename : mobile/android/base/util/EventDispatcher.java => mobile/android/base/EventDispatcher.java
2014-02-11 09:16:00 -08:00
Ehsan Akhgari
e4f4a283cc
Bug 970727 - Move DEFFILE to moz.build; r=mshal
2014-02-11 11:28:54 -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
David Major
1e5de10330
Bug 944542 - Blocklist spvc32.dll. r=bsmedberg
2014-02-10 15:52:34 -05:00
Cervantes Yu
18af4cf1b7
Bug 966802 - Fix and protect from stack overflow of the threads cloned in the Nuwa process. r=khuey
2014-02-10 08:46:05 -05:00
Carsten "Tomcat" Book
b9788c5190
merge fx-team to mozilla-central
2014-02-06 12:51:21 +01:00
Jim Chen
c654d33cdf
Bug 967553 - Restore to using __wrap_free. r=gcp
2014-02-05 13:39:48 -05:00
Jim Chen
f9fdd4fcb3
Bug 964859 - Refactor SQLite bridge exception handling; r=gcp
2014-01-31 20:18:55 -06:00
Jim Chen
8cc0f19e61
Bug 959214 - Use unwinder when getting ANR native stack; r=blassey
2014-02-05 12:37:54 -06:00
Mike Hommey
81d8ff07e9
Bug 956398 - Only support text relocations for libflashplayer.so. r=nfroyd
2014-01-25 07:59:14 +09:00
Cervantes Yu
9556ddc7f7
Bug 961959: fix profiler breakage for the Nuwa process. r=khuey,benwa
2014-01-22 18:56:45 +08:00
Mike Hommey
9fe01db5ab
Bug 958404 - Recurse mfbt from top-level when building js standalone. r=gps
2014-01-20 09:11:45 +09:00
Mike Hommey
ec7b1e070a
Bug 956398 - Support text relocations in the custom linker. r=nfroyd
2014-01-16 09:13:42 +09:00
James Willcox
8cb44b437e
Bug 935676 - Stub out missing Flash symbols r=glandium
...
--HG--
extra : rebase_source : 7e02a6283a6ee53b3749e1816d4005b238085954
2014-01-15 09:16:33 -06:00
Mike Hommey
2d9ef44f86
Bug 959254 - Make MappableSeekableZStream::ensure mprotect error message more useful for debugging failures. r=nfroyd
2014-01-15 16:21:45 +09:00
David Major
248db83ccd
Bug 957258 - Block sprotector.dll on all versions of Windows. r=bsmedberg
2014-01-10 08:41:22 -05:00
Ehsan Akhgari
b6f3a348f0
Bug 956783 - Stop using NULL in Fennec's JNI code; r=jchen
2014-01-06 15:21:27 -05:00
Brad Lassey
b3ffa93ade
bug 832052 - log nss library load failures r=glandium
2013-12-18 00:25:18 -05:00
Wes Kocher
c4b5359756
Backed out changeset 9ab60c44a510 (bug 832052) for breaking android 2.2 debug builds
2013-12-17 21:13:35 -08:00
Brad Lassey
4741da17cb
bug 832052 - log nss library load failures r=glandium
2013-12-17 23:07:30 -05:00
Brad Lassey
47b9def07a
Backed out changeset ffcd46c7e8eb, forgot to refresh
2013-12-17 23:06:55 -05:00
Brad Lassey
647db11e26
bug 832052 - log nss library load failures r=glandium
2013-12-17 21:11:28 -05:00
Jacek Caban
fabc4c9101
Bug 945216 - Fixed mozglue/ compilation on mingw. r=glandium
2013-12-17 12:01:39 +01:00
Kartikaya Gupta
0b8bb93d3e
Bug 949132 - Use the FrameMetrics flag on the layers update to update APZC scroll offset instead of tracking it in widget code. r=Cwiiis
2013-12-16 12:04:46 -05:00
Benjamin Smedberg
62e28bd724
Bug 946799 part B - fix the blocklist annotation to use the correct size, r=dmajor
2013-12-06 09:00:06 -05:00
Jed Davis
b9e7a73a98
Bug 943170 - Fix Android mozglue for raise() to avoid pthread bug. r=glandium
2013-12-02 17:08:27 -05:00
Carsten "Tomcat" Book
c282ee3baf
Merge m-c to mozilla-inbound
2013-11-28 14:20:02 +01:00
Carsten "Tomcat" Book
6bf96d1851
merge fx-team to mozilla-central
2013-11-28 12:44:14 +01: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
a1486ce449
Bug 942043 - Straighten up zlib linkage wrt shared js and system zlib. r=gps,r=ted
2013-11-22 23:03:21 +09:00
Brad Lassey
c830fe558b
bug 744519 - mplement memory-pressure flag to react quicker to memory pressure, without waiting for event loop r=gsvelto
2013-11-27 06:52:05 -05: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
0a1fb8d11c
Bug 942043 - Straighten up zlib linkage wrt shared js and system zlib. r=gps,r=ted
2013-11-28 12:49:43 +09:00
Mike Hommey
2812d11fce
Bug 939632 - Remove LIBRARY_NAME for leaf libraries. r=gps
...
Landing on a CLOSED TREE.
2013-11-19 11:50:54 +09:00
Mike Hommey
b2e90f6233
Bug 914245 - Move FORCE_SHARED_LIB to moz.build. r=mshal
2013-11-19 11:47:45 +09:00
Mike Hommey
e80e877ab7
Bug 939044 - Remove most definitions of MODULE. r=mshal
2013-11-19 11:47:39 +09:00
Mike Hommey
dda5b915fe
Bug 939039 - Remove now useless FORCE_STATIC_LIB definitions. r=gps
2013-11-19 11:47:28 +09:00
Mike Hommey
ffe0380912
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
David Major
1a2255d5e0
Bug 925459 - Block all versions of bitguard.dll. r=bsmedberg
2013-11-15 21:46:38 -05:00
David Major
4a637bff20
Bug 932100 - Part 2: Move DLL blocklist code to mozglue. r=bsmedberg, r=glandium
...
--HG--
rename : toolkit/xre/nsWindowsDllBlocklist.cpp => mozglue/build/WindowsDllBlocklist.cpp
2013-11-12 08:31:32 -05:00
Birunthan Mohanathas
c01f63b478
Bug 784739 - Switch from NULL to nullptr in mozglue/linker/; r=ehsan
2013-11-11 14:15:46 -05:00
Birunthan Mohanathas
a159fb8617
Bug 784739 - Switch from NULL to nullptr in mozglue/; r=ehsan
2013-11-11 14:14:45 -05:00
Birunthan Mohanathas
1bde8d50d8
Bug 784739 - Switch from NULL to nullptr in build/; r=ehsan
2013-11-11 14:13:38 -05: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
Mike Hommey
3da504d65e
Bug 933135 - Treat SIMPLE_PROGRAMS more like PROGRAM. r=mshal
2013-11-02 08:43:55 +09:00
Mike Hommey
4a02ac1e8a
Bug 864774 part 3 - Move some more CPPSRCS to moz.build. r=mshal
2013-10-30 07:51:03 +09:00
Jim Chen
9705613071
Bug 930627 - Implement __gnu_Unwind_Find_exidx in custom linker on ARM. r=glandium
2013-10-31 11:40:32 -04:00
Ted Mielczarek
673fd74516
Bug 930674 - convert VISIBILITY_FLAGS in Makefile.in to NO_VISIBILITY_FLAGS in moz.build. r=mshal
2013-10-24 15:06:19 -04:00
Cykesiopka
d733533b8f
Bug 914270 - Part 2: Manual moves. r=joey
2013-10-24 18:52:00 +01: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
Cervantes Yu
2f25875737
Bug 928186: fix nuwa process crash due to LibcAllocator not allocating enough memory. r=khuey
2013-10-17 17:00:00 +01:00
Mike Hommey
59a17d0f20
Bug 921492 - Make StrictOrderingOnAppendList use actual alphabetical sorting. r=mshal,r=gps
2013-10-24 08:05:43 +09:00
Mike Hommey
3fa7456cd6
Bug 913268 - Make CPP_SOURCES a StrictOrderingOnAppendList. r=mshal
2013-10-24 08:00:23 +09:00
Nathan Froyd
d0c177ce05
Bug 927428 - use __LP64__ instead of HAVE_64BIT_OS in the linker; r=glandium
2013-10-16 11:14:19 -04:00
Mike Hommey
f6addb05b1
Bug 886736 - Disable on-demand decompression when latency to get into segfault handlers is too high. r=nfroyd
2013-10-01 15:30:45 +09:00
Thinker Lee ext:(%2C%20Cervantes%20Yu%20%3Ccyu%40mozilla.com%3E)
52df1fd957
Bug 771765 - Support template content process, part 1: the Nuwa API and low-level wrappers. r=khuey
...
Support of zygote-like process forking is done as:
* The b2g chrome process forks a child process that will be the template for forking other content processes.
* The template process starts running to some point and freeze.
* When ready, the chrome process starts requesting the template to fork content proceses.
* The content processes forked from the template process recovers its states including the threads, file descriptors for epoll, signaling and IPC.
Recovery of the process states are done by wrapping some system and pthread calls to record the states in the template process and recover in the forked content process.
2013-05-07 14:25:13 +08:00
Nathan Froyd
0dd69ef1ca
Bug 920558 - map anonymous pages differently on ARM and x86; r=glandium
2013-09-26 11:17:05 -04:00
Nathan Froyd
eb112dbe95
Bug 916923 - work around crash reporter issues with adjacent memory mappings on x86 android; r=glandium,f=gbrown
2013-09-23 15:02:28 -04:00
Joey Armstrong
4913c4a933
bug 870406: move CSRCS to mozbuild (file batch #3 ). r=mshal
2013-09-20 17:37:36 -04:00
Joey Armstrong
d1be2c217c
bug 888009: move HOST_CPPSRCS to mozbuild (batch #2 ) r=mshal
2013-09-12 13:32:27 -04:00
Mike Hommey
0f2f8bef4c
Bug 914374 - Fix buffer overflow in BCJ_X86_filter when the given buffer is too small. r=nfroyd
2013-09-11 08:15:39 +09:00
Seth Fowler
f9cdc752b1
Bug 912299 - Make RefCounted's refcount field mutable. r=waldo
2013-09-06 13:32:55 -07:00
Mike Hommey
f8bc7fa754
Bug 912293 - Remove now redundant boilerplate from Makefile.in. r=gps
2013-09-05 09:01:46 +09:00
Makoto Kato
d3479dad32
Bug 911914 - Cannot build BionicGlue.cpp with --enable-android-libstdcxx. r=glandium
2013-09-03 18:39:35 +09:00
Mike Hommey
eb14682f30
Bug 907957 - Detect if a segfault signal handler is useless. If it is, disable on-demand decompression. r=nfroyd
2013-08-30 11:14:17 +09:00
Mark Finkle
6e7aba3837
Backout 193e7c0052a9, suspicion of regression a talos test (bug 910274) and sync failures (bug 910289)
2013-08-28 12:10:07 -04:00
Shilpan Bhagat
b19dec7f71
Bug 886925 - Use Symlink instead of INIparser for GeckoProfile. r=mfinkle
2013-08-27 11:05:56 -07:00
Ms2ger
4807f1c86c
Bug 882859 - Part b: Move FAIL_ON_WARNINGS into moz.build; r=joey+gps
2013-08-22 08:55:59 +02:00
Ms2ger
9cfd854dab
Bug 906342 - Move the remaining SIMPLE_PROGRAMS to moz.build and disallow setting SIMPLE_PROGRAMS in Makefiles; r=gps
2013-08-22 08:35:03 +02:00
Jim Chen
6a7879204c
Bug 904646 - Skip NULLs when traversing envp/auxv pointers to let GDB work on Android 4.3; r=glandium
2013-08-14 12:54:33 -04:00
Ms2ger
9d023a67df
Bug 904110 - Move alignment features out of Util.h into a new header; r=Waldo
2013-08-14 09:00:52 +02:00
Ehsan Akhgari
2824b29025
Bug 895322 - Part 1: Replace the usages of MOZ_STATIC_ASSERT with C++11 static_assert; r=Waldo
...
This patch was mostly generated by running the following scripts on the codebase, with some
manual changes made afterwards:
# static_assert.sh
#!/bin/bash
# Command to convert an NSPR integer type to the equivalent standard integer type
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 "*.cc" \
-o -iname "*.mm" \) | \
xargs -n 1 `dirname $0`/assert_replacer.py #sed -i -e "s/\b$1\b/$2/g"
}
convert MOZ_STATIC_ASSERT static_assert
hg rev --no-backup mfbt/Assertions.h \
media/webrtc/signaling/src/sipcc/core/includes/ccapi.h \
modules/libmar/src/mar_private.h \
modules/libmar/src/mar.h
# assert_replacer.py
#!/usr/bin/python
import sys
import re
pattern = re.compile(r"\bMOZ_STATIC_ASSERT\b")
def replaceInPlace(fname):
print fname
f = open(fname, "rw+")
lines = f.readlines()
for i in range(0, len(lines)):
while True:
index = re.search(pattern, lines[i])
if index != None:
index = index.start()
lines[i] = lines[i][0:index] + "static_assert" + lines[i][index+len("MOZ_STATIC_ASSERT"):]
for j in range(i + 1, len(lines)):
if lines[j].find(" ", index) == index:
lines[j] = lines[j][0:index] + lines[j][index+4:]
else:
break
else:
break
f.seek(0, 0)
f.truncate()
f.write("".join(lines))
f.close()
argc = len(sys.argv)
for i in range(1, argc):
replaceInPlace(sys.argv[i])
--HG--
extra : rebase_source : 4b4a4047d82f2c205b9fad8d56dfc3f1afc0b045
2013-07-18 13:59:53 -04:00
Jacek Caban
dfe29b8d9f
Bug 899045 - Linkage to sse_enabled/sse2_enabled failure on mingw. r=glandium
2013-07-29 14:42:33 +02:00
Christian Holler
b7f60a3bb9
Bug 898230 - Disable alloc-dealloc checking under AddressSanitizer. r=glandium
2013-07-29 02:44:00 +02:00
Paul Adenot
85bccc71ae
Bug 894941 - Move SSE.{h,cpp} and arm.{h,cpp} to mozglue/build/. r=glandium
...
--HG--
rename : xpcom/glue/SSE.cpp => mozglue/build/SSE.cpp
rename : xpcom/glue/SSE.h => mozglue/build/SSE.h
rename : xpcom/glue/arm.cpp => mozglue/build/arm.cpp
rename : xpcom/glue/arm.h => mozglue/build/arm.h
rename : xpcom/tests/ShowSSEConfig.cpp => mozglue/tests/ShowSSEConfig.cpp
2013-07-26 18:46:31 +02:00
Mike Hommey
92fbf52fbf
Bug 897723 - Allow faulty.lib's on-demand decompression to be reentrant. r=nfroyd
2013-07-26 12:57:53 +09:00
Botond Ballo
d689c3581c
Bug 895904 - Hook up NativePanZoomController.abortAnimation(). r=kats
2013-07-23 16:41:22 -04:00
Botond Ballo
1cdb67fea9
Bug 859929 - Make AsyncPanZoomController work with progressive tile painting on Fennec. r=kats
2013-07-22 22:33:05 -04:00
Mike Hommey
078b980b8d
Bug 894829 - Avoid symbol resolution for relocations for the same symbol in faulty.lib. r=nfroyd
2013-07-23 07:26:08 +09:00
Mike Hommey
abaa52c443
Bug 882608 - Fix various issues in faulty.lib with incomplete pages and MOZ_LINKER_ONDEMAND=0. r=nfroyd
2013-07-23 07:26:07 +09:00
Shawn Huang
8400c587ff
Bug 884239 - Remove the wrapper function of timer_create if ANDROID_VERSION is greater than JB MR1. r=mwu
2013-07-19 10:10:00 -04:00
Gregory Szorc
19850b9b8e
Bug 891632 - Port NO_DIST_INSTALL to moz.build; r=joey
...
Many of the moved variables are likely not needed. moz.build should one
day validate the sandbox's output and error if "useless" variables are
present.
--HG--
extra : rebase_source : 3abdea056c18d00ede8c15b37db60532eca58630
2013-07-10 12:08:21 -07:00
Mike Hommey
fd44bdf519
Bug 891266 - Allow to enable faulty.lib debug log at runtime. r=nfroyd
2013-07-10 14:12:35 +09:00
Justin Lebar
051c5b560a
Bug 802686 - s/MOZ_NOT_REACHED/MOZ_CRASH/ in Gecko. r=(see below)
...
r=tbsaunde for accessible
r=jmuizelaar for gfx
r=roc for layout
r=glandium for mozglue
r=jduell for netwerk
r=khuey for everything else
This is a mechanical change made with sed. Later patches in this queue
clean up the whitespace errors and so on.
2013-06-28 18:38:30 -07:00
Mike Hommey
071998d656
Bug 886730 - Move a szip.cpp MOZ_ASSERT to a safer place. r=nfroyd
2013-06-27 09:35:49 +09:00
Mike Hommey
fc82c0f523
Bug 886730 - Add and use a MemoryRange class and helper functions for page alignment in faulty.lib. r=nfroyd
2013-06-27 09:35:49 +09:00
Mike Hommey
b340449c73
Bug 886726 - Fix warnings in szip.cpp. r=nfroyd
2013-06-27 09:35:49 +09:00
Mike Hommey
c7c836946d
Bug 886722 - Rename log/debug to LOG/DEBUG_LOG in faulty.lib. r=nfroyd
2013-06-27 09:35:49 +09:00
Mike Hommey
6d626eb6a0
Bug 885336 - Fix various issues with the dl_mmap interface. r=nfroyd
2013-06-27 09:35:48 +09:00
Brad Lassey
fbe796c4d5
bug 884792 - crash in nsXPCWrappedJS::Release, removeObserver being called off main thread r=kats
2013-06-19 13:55:35 -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
Brad Lassey
c08786522e
bug 882196 - Android crash in nsXPCWrappedJS::AddRef, remove nsAppShell::NotifyObservers r=kats
2013-06-17 17:09:09 -04:00
Brad Lassey
bf0cb53536
bug 882196 - Android crash in nsXPCWrappedJS::AddRef, remove nsAppShell::CallObservers r=snorp
2013-06-15 17:40:27 -04:00
Jim Chen
3f9f3d0dd5
Bug 863777 - Add native stack JNI method definitions; r=kats
2013-06-14 12:42:10 -04:00
Julian Seward
bdb61b948e
Bug 882903 - SPS breadkpad unwinder segfaults with on-demand decompression on. r=glandium.
2013-06-14 14:03:25 +02:00
Nick Alexander
0242a75718
Bug 873569 - Part 2: Move Gecko .so libraries into assets/ directory of Android APK. r=glandium
2013-06-12 13:24:30 -07:00
Mike Hommey
7a3c231b71
Bug 874708 - Hook libc's sigaction to avoid system libraries replacing our segfault handler temporarily and restoring it wrongly. r=nfroyd
2013-06-09 09:23:03 +02:00
Mike Hommey
48e758d56b
Bug 875824 - Allow to disable on-demand decompression at runtime. r=sewardj
2013-05-29 16:18:27 +02:00
Mike Hommey
a7befac654
Bug 876110 - Manually set fennec process ptraceable on non release builds. r=kats
2013-05-28 09:44:57 +02:00
Mike Hommey
32562dee67
Bug 875821 - Fix library loading time message and add process usage on top of thread usage. r=kats
2013-05-28 09:44:39 +02:00
Mike Shal
5169c0a913
Bug 864774 - Part 2: Move CPPSRCS to moz.build as CPP_SOURCES; r=joey CLOSED TREE
...
From 9e0ba7f425143f545eb6c4b26a9a96b5ade4d8e9 Mon Sep 17 00:00:00 2001
2013-04-23 17:54:15 -04:00
Mike Hommey
5215bd9e2d
Bug 865583 - Use thread-safe ref-counting in the linker. r=nfroyd
2013-05-18 09:53:18 +02:00
Mike Hommey
32f20f1c9f
Bug 864035 - Add an atomic RefCounted and WeakPtr implementation. r=Waldo
2013-05-18 09:52:53 +02:00
Jim Chen
a37934c572
Bug 860879 - Make GeckoAppShell.processNextNativeEvent waitable; r=blassey
2013-05-09 21:48:00 -04:00
Gabriele Svelto
a8c937e2a1
Bug 793735 - Make XRE_StartupTimelineRecord() generate TimeStamps and modify its callers to use the appropriate timers, r=nfroyd
2013-03-26 11:31:20 +01:00
Kartikaya Gupta
c4ff270851
Bug 839641 - Implement the PostDelayedTask callback for APZC in AndroidBridge. r=Cwiiis, blassey
2013-04-26 13:26:46 -04:00
Kartikaya Gupta
909ef092fe
Bug 839641 - Add a stub NativePanZoomController class to start Java bindings to APZC. r=Cwiiis
2013-04-26 13:24:28 -04:00
Mike Hommey
93db2e2330
Bug 865106 - Remove allocator mismatch when freeing asprintf allocated buffers. r=kats
2013-04-24 19:35:22 +02:00
Benoit Girard
c18ef0a706
Bug 788022 - Add support for dalvik profiling. r=snorp,kats
...
--HG--
extra : rebase_source : 3eb56af40018a546586fd0fb33e343589ddcf207
2013-04-23 13:10:29 -04:00
Mike Shal
df7deac25b
Bug 846634 - Part 2: Move EXPORTS to moz.build; r=joey
2013-04-16 15:24:43 -04:00
Mike Hommey
803e59e01a
Bug 850332 - Use jemalloc inside mozglue. r=kats,r=mwu
2013-03-17 08:03:05 +01:00
Mike Hommey
5d442bca12
Bug 861796 - Fix crash in LibHandle::~LibHandle. r=nfroyd
2013-04-15 18:36:13 +02:00
Mike Hommey
1cb6364a2e
Bug 802240 - Expose an API to mmap the underlying file for a library loaded by faulty.lib. r=nfroyd
2013-04-12 10:23:12 +02:00
Vicamo Yang
f8906b8557
Bug 859830: determine Android API level through android/api-leve.h instead. r=glandium
2013-04-12 13:39:42 +08:00
Mike Hommey
6e05e224dc
Bug 848385 - Avoid recompressing a szip, and (de)compress in-place (but still with a temporary file). r=nfroyd,khuey
2013-04-11 09:37:44 +02:00
Mike Hommey
aaed6c5d7f
Bug 859763 - Remove more remains of the old linker. r=blassey
2013-04-10 09:02:32 +02:00
Nathan Froyd
0f42f822c1
Backout 61e1edc0b6bf (bug 793735), 77014412cd4a (bug 793735), and 8c5aa269c3cd (bug 793735) for botching FHR data
2013-04-09 16:25:42 -04:00
Mike Hommey
f2ce301848
Bug 855824 - Get rid of the lib.id file on Android. r=blassey
2013-04-09 14:05:07 +02:00