Commit Graph

199 Commits

Author SHA1 Message Date
Mike Hommey
b9f0bf40ff Bug 847479 - Add a dictionary to improve compression rate. r=nfroyd 2013-03-06 07:30:07 +01:00
Mike Hommey
d471ff050e Bug 847479 - Add smart filters borrowed from xz-utils to improve SeekableZStream compression rate. r=nfroyd 2013-03-06 07:29:59 +01:00
Mike Hommey
60e28c920b Bug 847479 - Allow to specify a chunk size on szip command line. r=nfroyd 2013-03-06 07:29:51 +01:00
Mike Hommey
44e01f23f5 Bug 847479 - Use raw zlib streams when compressing with szip. r=nfroyd
And keep compatibility to decompress old streams.
2013-03-06 07:29:41 +01:00
Mike Hommey
73a4258edf Bug 847479 - Sanity check that szip's compressed output can properly be decompressed. r=nfroyd 2013-03-06 07:29:33 +01:00
Mike Hommey
60d3ebf162 Bug 847479 - Add a command line argument to szip to decompress an existing seekable stream. r=nfroyd 2013-03-06 07:29:22 +01:00
Mike Hommey
de58eff006 Bug 847479 - Add a helper class for a buffer mapped from a file. r=nfroyd 2013-03-06 07:29:13 +01:00
Mike Hommey
8a0c55bde9 Bug 847479 - Add buffer length information when initializing a SeekableZStream. r=nfroyd 2013-03-06 07:29:05 +01:00
Gregory Szorc
85e5647383 Bug 784841 - Part 18c: Convert /memory, /mfbt, /mozglue; r=ted f=Ms2ger 2013-02-25 12:47:17 -08:00
Kartikaya Gupta
c3a3264303 Bug 839622 - Move websms backend JNI bindings so that they are not built if websms is not enabled. r=blassey 2013-02-08 16:42:14 -05:00
Kartikaya Gupta
6218e14d70 Bug 839622 - Remove a native function that hasn't been used since bug 735230, and the unneeded setSurfaceView implementation. r=cpeterson 2013-02-08 16:42:13 -05:00
Kartikaya Gupta
32e789c81b Bug 837821 - When calling a JNI function from a library that hasn't been loaded yet, throw a Java exception. r=glandium 2013-02-07 10:17:27 -05:00
Kartikaya Gupta
079ab4de81 Bug 794982 - Autogenerate libxul JNI stubs and fail build if they change. r=glandium 2013-02-07 09:37:06 -05:00
Kartikaya Gupta
21d8277af9 Bug 794982 - Extract non-libxul native JNI functions from GeckoAppShell. r=glandium, cpeterson 2013-02-07 09:37:06 -05:00
Kartikaya Gupta
96ab84cbed Bug 837551 - Ignore dynamic section headers of type DT_FLAGS_1. r=glandium 2013-02-04 09:58:54 -05:00
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