Commit Graph

184 Commits

Author SHA1 Message Date
Mike Hommey
db6a9e4506 Bug 834459 - Specialize RefCounted template for LibHandle to better allow refcounting during destructor execution. r=nfroyd 2013-01-29 09:35:32 +01:00
Chris Peterson
cd87a59758 Bug 834611 - Part 3: Mark widget/android, mozglue/android, and image/decoders/icon/android as FAIL_ON_WARNINGS. r=kats 2013-01-25 11:03:56 -08:00
Mike Hommey
39e56e008a Bug 830326 - Get rid of warnings in the custom linker code. r=nfroyd 2013-01-15 10:12:56 +01:00
Mike Hommey
c405bd3d02 Bug 830295 - Avoid RefPtr<LibHandle> triggering recursive calls to ~CustomElf, and use it in the linker segfault handler. r=nfroyd 2013-01-15 10:12:36 +01:00
Mike Hommey
002fb23a0e Bug 828894 - Fix possible off-by-one-page in custom linker. r=nfroyd
--HG--
extra : rebase_source : 7bdafcec8108b001bf2b817bd2c4b293a0dbee2e
2013-01-11 12:24:31 +01:00
Mike Hommey
58eb7add29 Bug 828301 - Free zlib internal buffers when we're done uncompressing in the custom linker. r=nfroyd 2013-01-10 08:39:07 +01:00
Mike Hommey
f5f7c589dd Bug 826263 - Fix ~_MappableBuffer in the linker on Android. r=nfroyd 2013-01-03 16:46:09 +01:00
Mike Hommey
0fb348e03d Bug 826178 - Prefix all hexadecimal values with 0x in linker logs. r=nfroyd 2013-01-03 16:45:57 +01:00
Mike Hommey
7ac5c31dd2 Bug 826173 - Avoid calling close/fclose/unlink with uninitialized values in the linker. r=nfroyd 2013-01-03 16:45:50 +01:00
Mike Hommey
f03d4cf39f Bug 825901 - Remove the old linker code. r=blassey 2013-01-03 08:43:26 +01:00
Jim Chen
3c83ad1c04 Bug 824715 - Correctly calculate next page offset in custom linker; r=glandium 2013-01-01 21:44:04 -05:00
Josh Matthews
9d82867b14 Backed out changeset 10b47593c4d7 (bug 824715) 2012-12-28 19:03:50 -05:00
Jim Chen
a2bf550375 Bug 824715 - Correctly calculate next page offset in custom linker; r=glandium 2012-12-28 15:29:44 -05:00
Rafael Gieschke
3e2f839a8e Bug 791419 - Firefox for Android crashes on start on Kindle Fire HD 7 r=glandium 2012-12-28 13:07:52 -05:00
Mike Hommey
6bc0fa9501 Bug 804303 part 2 - Add ability to dynamically replace or supplement jemalloc implementation. r=jlebar,r=khuey 2012-12-07 09:32:24 +01:00
Mike Hommey
95d176978d Bug 804303 part 1 - Cleanup how the mozjemalloc/jemalloc3 glue is set up, attempting to make it clearer. r=jlebar,r=khuey
--HG--
rename : memory/build/extraMallocFuncs.c => memory/build/jemalloc_config.c
rename : memory/mozjemalloc/jemalloc.h => memory/build/mozmemory.h
rename : memory/build/extraMallocFuncs.c => memory/build/mozmemory_wrap.c
2012-12-07 09:32:24 +01:00
Gabriele Svelto
1e1d781bc1 Bug 805855 - Add an extra function to jemalloc to free dirty unused pages. r=glandium 2012-11-08 20:06:50 +01:00
Vladimir Vukicevic
25d7bd4839 b=810478; fix missing null termination of buffer that's used via str* functions later on; r=glandium 2012-11-13 14:21:08 -05:00
Mike Hommey
e14946ab94 Fixup for dl_iterate_phdr after bug 808121. r=me 2012-11-07 16:45:48 +01:00
Mike Hommey
31305e4e03 Bug 808121 - Ensure the pointers we change in the r_debug data are writable, which they aren't with upcoming Android system linker. r=nfroyd 2012-11-07 08:02:53 +01:00
Vicamo Yang
9b246c4e60 Bug 775997 - Part 2/2: Android implementation. r=dougt 2012-11-06 13:32:07 -08:00
Vicamo Yang
e86f728f7a Bug 742790 - Part 4/5: Android implementation, r=mounir,blassey 2012-10-30 18:53:31 +08:00
Michael Wu
fc15bd28a1 Bug 799805 - Avoid using bionic's fork(), r=cjones 2012-10-25 19:34:06 -04:00
Ryan VanderMeulen
130a50c2ca Merge m-c to inbound. 2012-10-25 17:43:19 -04:00
Mark Finkle
66d9775d52 Backout e28405983f87, Likely causing startup crashes (bug 805432) r=me 2012-10-25 13:01:13 -04:00
Chris Lord
ee6e58be16 Bug 805028 - Use ComputeRenderIntegrity to calculate accurate checkerboard. r=kats
Use ComputeRenderIntegrity so that checkerboarding values remain accurate when
progressive tiles are enabled.
2012-10-25 17:23:47 +01:00
Wes Johnston
eaed156d7e Bug 745384 - Handle null parameters passed to sqlitebridge. r=gcp 2012-10-24 10:53:14 -07:00
Brian Smith
fa9871fff3 Bug 794510, Part 9: remove security/nss/cmd/** includes from mozglue; r=glandium 2012-10-19 10:59:15 -04:00
Jan Beich
1f2244b4e3 Bug 788955 - Without --enable-jemalloc detect and use jemalloc3 in libc. r=glandium 2012-10-17 16:36:49 +02:00
Wes Johnston
e5a84e3250 Bug 745384 - backout 8e36fd7113ba 2012-10-08 16:59:24 -07:00
Wes Johnston
460e194b03 Bug 745384 - Allow passing null to queries from java to gecko. r=gpascutto 2012-10-05 18:01:06 -07:00
Chris Peterson
f6d8de3463 Bug 793062 - Remove unused PostToJavaThread() and ExecuteNextRunnable(). r=blassey 2012-09-20 17:44:24 -07:00
Mike Hommey
47d4a8624f Bug 783331 - Add Phdr pointer and count to dl_iterate_phdr implementation. r=nfroyd 2012-08-29 08:55:57 +02:00
Ehsan Akhgari
0fd9123eac Bug 579517 - Part 1: Automated conversion of NSPR numeric types to stdint types in Gecko; r=bsmedberg
This patch was generated by a script.  Here's the source of the script for
future reference:

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 "*.c" \
         -o -iname "*.cc" \
         -o -iname "*.idl" \
         -o -iname "*.ipdl" \
         -o -iname "*.ipdlh" \
         -o -iname "*.mm" \) | \
    xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}

convert PRInt8 int8_t
convert PRUint8 uint8_t
convert PRInt16 int16_t
convert PRUint16 uint16_t
convert PRInt32 int32_t
convert PRUint32 uint32_t
convert PRInt64 int64_t
convert PRUint64 uint64_t

convert PRIntn int
convert PRUintn unsigned

convert PRSize size_t

convert PROffset32 int32_t
convert PROffset64 int64_t

convert PRPtrdiff ptrdiff_t

convert PRFloat64 double
2012-08-22 11:56:38 -04:00
Mike Hommey
6173fa297f Bug 774032 bonus - Use @DEPTH@ and @relativesrcdir@ in Makefile.in. r=ted 2012-08-04 20:26:44 +02:00
Chris Peterson
f1e7ec6bd4 Bug 779366 - Part 3: Move direct buffer allocation to DirectBufferAllocator. r=kats 2012-07-31 15:54:29 -07:00
Andrew Quartey
64caf103c0 Bug 735615 - Remove AutoClean from mozglue/linkers/Utils.h r=glandium 2012-07-30 14:17:53 -04:00
Chris Peterson
fed25bb34b Bug 777193 - Fix warning about extra semicolon in APKOpen.cpp. r=glandium
--HG--
extra : rebase_source : c4650aabcff018a6b53f4e669a405f14cacb3aed
2012-07-24 16:03:46 -07:00
James Willcox
80029db926 Bug 687267 - Initial support for Flash on Honeycomb r=bgirard,vlad,jgilbert,blassey 2012-07-20 15:20:51 -04:00
Ed Morley
69ac41ee19 Backout 4987ffd173a4 (bug 687267) for bustage 2012-07-23 14:47:54 +01:00
James Willcox
9c75650095 Bug 687267 - Initial support for Flash on Honeycomb r=bgirard,vlad,jgilbert,blassey
--HG--
extra : rebase_source : 450055ae3e71ea84f74252d3bf100fe970d29d14
2012-07-20 15:20:51 -04:00
Ms2ger
0a56bc3482 Bug 776142 - Back out bug 687267 / changeset 8571114112b2 on a CLOSED TREE. 2012-07-22 14:02:18 +02:00
James Willcox
f0d7883166 Bug 687267 - Initial support for Flash on Honeycomb r=bgirard,vlad,jgilbert 2012-07-20 15:20:51 -04:00
Dave Hylands
3fa91a8635 Bug 773414 - Add PR_DuplicateEnvironment function. r=cjones
From 2236c867cfc9b25bc1327206da8b4b29a91f65e0 Mon Sep 17 00:00:00 2001
Need to reimplement PR_GetEnv and PR_SetEnv so that we can access
to the lock. This is needed by PR_DuplicateEnvironment, which
was moved to ipc/chromium/src/base/process_util_linux.cc otherwise
the alloc/frees don't get matched up properly.

This is tempoarary until we can get PR_DuplicateEnvironment landed
into NSPR.
---
 configure.in                 |    2 +-
 mozglue/build/BionicGlue.cpp |   44 +++++++++++++++++++++++++++++++++++++++++-
 2 files changed, 44 insertions(+), 2 deletions(-)
2012-07-12 13:28:14 -07:00
Ed Morley
6c00eca83e Backout 41f4bdd4b6bd (bug 772734), af578c454d1e (bug 773414) for XUL Android bustage, on a CLOSED TREE 2012-07-18 09:51:44 +01:00
Dave Hylands
4906fffa4f Bug 773414 - Add PR_DuplicateEnvironment function. r=cjones
From b339e5a9ec0218d6ef947b65f95a0da944197449 Mon Sep 17 00:00:00 2001
This is a hacked up version of PR_DuplicateEnvironment which
we can use until such time as we can get a version landed in
NPSR
---
 configure.in                 |    2 +-
 mozglue/build/BionicGlue.cpp |   58 +++++++++++++++++++++++++++++++++++++++++-
 2 files changed, 58 insertions(+), 2 deletions(-)
2012-07-12 13:28:14 -07:00
Mike Hommey
e4397fcaf7 Bug 772886 - Avoid failure to mmap some library segments on some armv6 devices. r=nfroyd 2012-07-14 10:54:22 +02:00
Mike Hommey
d145a2d1a8 Bug 763651 - Link the javascript engine against zlib. r=khuey 2012-07-12 08:30:59 +02:00
Chris Peterson
c40113b422 Bug 766797 - Fix compiler warnings in APKOpen.cpp. r=glandium
--HG--
extra : rebase_source : b8e23d7dfa4d126a932229e2f0e3bc9266f8f05d
2012-06-21 17:18:37 -07:00
Mike Hommey
58718e5c70 Bug 763987 - Normalize autoconf.mk.in. r=ted 2012-06-20 09:00:48 +02:00