Commit Graph

463 Commits

Author SHA1 Message Date
Christian Holler
0309d28890 Bug 898230 - Disable alloc-dealloc checking under AddressSanitizer. r=glandium 2013-07-29 02:44:00 +02:00
Paul Adenot
d99657eb53 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
cb347d0c4a Bug 897723 - Allow faulty.lib's on-demand decompression to be reentrant. r=nfroyd 2013-07-26 12:57:53 +09:00
Botond Ballo
f79359461b Bug 895904 - Hook up NativePanZoomController.abortAnimation(). r=kats 2013-07-23 16:41:22 -04:00
Botond Ballo
ffdcf14f78 Bug 859929 - Make AsyncPanZoomController work with progressive tile painting on Fennec. r=kats 2013-07-22 22:33:05 -04:00
Mike Hommey
53e9be1b70 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
ba3a64dfdf 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
24a1cea8b8 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
0a41c9c2f9 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
2e76adde74 Bug 891266 - Allow to enable faulty.lib debug log at runtime. r=nfroyd 2013-07-10 14:12:35 +09:00
Justin Lebar
cab87a0cce 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
d6a0cc46cf Bug 886730 - Move a szip.cpp MOZ_ASSERT to a safer place. r=nfroyd 2013-06-27 09:35:49 +09:00
Mike Hommey
1ec2b29538 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
b367684f5a Bug 886726 - Fix warnings in szip.cpp. r=nfroyd 2013-06-27 09:35:49 +09:00
Mike Hommey
583ac82250 Bug 886722 - Rename log/debug to LOG/DEBUG_LOG in faulty.lib. r=nfroyd 2013-06-27 09:35:49 +09:00
Mike Hommey
5e2afdfba7 Bug 885336 - Fix various issues with the dl_mmap interface. r=nfroyd 2013-06-27 09:35:48 +09:00
Brad Lassey
a4e4a1b3a4 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
ed17339221 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
b14200f199 bug 882196 - Android crash in nsXPCWrappedJS::AddRef, remove nsAppShell::NotifyObservers r=kats 2013-06-17 17:09:09 -04:00
Brad Lassey
c042612d73 bug 882196 - Android crash in nsXPCWrappedJS::AddRef, remove nsAppShell::CallObservers r=snorp 2013-06-15 17:40:27 -04:00
Jim Chen
4ae44380c9 Bug 863777 - Add native stack JNI method definitions; r=kats 2013-06-14 12:42:10 -04:00
Julian Seward
408b385c35 Bug 882903 - SPS breadkpad unwinder segfaults with on-demand decompression on. r=glandium. 2013-06-14 14:03:25 +02:00
Nick Alexander
bbe4241fac 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
5138bbb50a 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
b667e52bc0 Bug 875824 - Allow to disable on-demand decompression at runtime. r=sewardj 2013-05-29 16:18:27 +02:00
Mike Hommey
77c7a44efb Bug 876110 - Manually set fennec process ptraceable on non release builds. r=kats 2013-05-28 09:44:57 +02:00
Mike Hommey
3764d4fbd2 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
6f32ddf61c 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
035ff0e9c7 Bug 865583 - Use thread-safe ref-counting in the linker. r=nfroyd 2013-05-18 09:53:18 +02:00
Mike Hommey
d292a5f228 Bug 864035 - Add an atomic RefCounted and WeakPtr implementation. r=Waldo 2013-05-18 09:52:53 +02:00
Jim Chen
0de64fce71 Bug 860879 - Make GeckoAppShell.processNextNativeEvent waitable; r=blassey 2013-05-09 21:48:00 -04:00
Gabriele Svelto
6ed5cd83f8 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
7beee2619e Bug 839641 - Implement the PostDelayedTask callback for APZC in AndroidBridge. r=Cwiiis, blassey 2013-04-26 13:26:46 -04:00
Kartikaya Gupta
dd12b53d5e 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
5465fcccca Bug 865106 - Remove allocator mismatch when freeing asprintf allocated buffers. r=kats 2013-04-24 19:35:22 +02:00
Benoit Girard
3335578c70 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
24b4056720 Bug 846634 - Part 2: Move EXPORTS to moz.build; r=joey 2013-04-16 15:24:43 -04:00
Mike Hommey
8c58d3bec3 Bug 850332 - Use jemalloc inside mozglue. r=kats,r=mwu 2013-03-17 08:03:05 +01:00
Mike Hommey
c630587d1d Bug 861796 - Fix crash in LibHandle::~LibHandle. r=nfroyd 2013-04-15 18:36:13 +02:00
Mike Hommey
88e250d16b 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
020c221ba5 Bug 859830: determine Android API level through android/api-leve.h instead. r=glandium 2013-04-12 13:39:42 +08:00
Mike Hommey
c4a1abb511 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
03000fc3c0 Bug 859763 - Remove more remains of the old linker. r=blassey 2013-04-10 09:02:32 +02:00
Nathan Froyd
afb62e15ba 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
4724178608 Bug 855824 - Get rid of the lib.id file on Android. r=blassey 2013-04-09 14:05:07 +02:00
Gabriele Svelto
fd8cb96cec Bug 793735 - Make XRE_StartupTimelineRecord() generate TimeStamps and modify its callers to use the appropriate timers, r=froydnj 2013-03-26 11:31:20 +01:00
Kyle Machulis
f5e3aadf0b Bug 855465 - Add emacs python mode comments to moz.build files; r=gps 2013-04-01 11:36:59 -07:00
Kyle Machulis
d2b6e6e01a 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
5663b98bc5 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 Hommey
0bc0448a86 Bug 852950 - Kill libxpcom. r=bsmedberg
Also refactored the xpcom standalone glue to reside in a single file and
removed its use of realpath().

--HG--
rename : xpcom/stub/dependentlibs.py => toolkit/library/dependentlibs.py
rename : xpcom/stub/nsXPComStub.cpp => xpcom/build/FrozenFunctions.cpp
2013-03-20 14:56:41 +01:00
Mike Hommey
bb6cc49735 Backout changeset f12e5c87adf6 (bug 852950) because it breaks running from dist/bin 2013-03-20 23:59:45 +01:00
Mike Hommey
b93ae84da9 Bug 852950 - Kill libxpcom. r=bsmedberg
--HG--
rename : xpcom/stub/dependentlibs.py => toolkit/library/dependentlibs.py
rename : xpcom/stub/nsXPComStub.cpp => xpcom/build/FrozenFunctions.cpp
2013-03-20 14:56:41 +01:00
Mike Shal
ea1d9b8ba7 Bug 844654 - Part 2: Move MODULE to moz.build; rs=gps 2013-03-19 11:47:00 -07:00
Gregory Szorc
02d1d31696 Bug 844635 - Part 3: Remove empty Makefile.in files; r=glandium 2013-03-17 18:01:25 -07:00
Mike Hommey
a223b733af Backout changeset 120a29c1b1c9 (bug 850332) on suspicion of Android M8 orange 2013-03-17 10:11:51 +01:00
Mike Hommey
6de4add0cd Bug 850332 - Use jemalloc inside mozglue. r=kats,r=mwu 2013-03-17 08:03:05 +01:00
Mike Hommey
b38b1ef9de Bug 648407 - Support loading the folded library on Android. r=blassey 2013-03-17 08:02:35 +01:00
Mike Hommey
1e3590b5c2 Bug 848770 - Choose the best compression settings automagically for seekable zstreams (szip). r=nfroyd 2013-03-13 15:28:57 +01:00
Mike Hommey
a33ca19f11 Bug 842681 - Use the linker Zip code through JNI for GeckoJarReader. r=kats 2013-03-08 19:20:13 +01:00
Mike Hommey
43f44ed9db Backout changeset 99e3a0501c52 and 0616a4ae8aa2 (bug 842681) because of android robocop orange 2013-03-08 13:26:29 +01:00
Mike Hommey
a4f77fcd18 Bug 848773 - Add x86 BCJ filter for szip. r=nfroyd,r=ted 2013-03-08 09:32:56 +01:00
Mike Hommey
1c42c66788 Bug 842681 - Use the linker Zip code through JNI for GeckoJarReader. r=kats 2013-03-08 09:27:52 +01:00
Mike Hommey
6ad19b8d2c Bug 842681 - Refactor the linker Zip code and allow to use an existing memory buffer as a Zip file. r=mwu 2013-03-08 09:24:46 +01:00
Mike Hommey
51a7a6e6e7 Bug 848270 - Various fixups for Android builds on OSX after bug 847479. r=nfroyd 2013-03-06 17:01:56 +01:00
Mike Hommey
c4bb2fdbe8 Bug 847479 - Add a dictionary to improve compression rate. r=nfroyd 2013-03-06 07:30:07 +01:00
Mike Hommey
7cf1e1c317 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
58aa71ea04 Bug 847479 - Allow to specify a chunk size on szip command line. r=nfroyd 2013-03-06 07:29:51 +01:00
Mike Hommey
7feaf66ade 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
2c7bda2472 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
5bb97af302 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
5ce71b8dfe 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
327ef3b84a Bug 847479 - Add buffer length information when initializing a SeekableZStream. r=nfroyd 2013-03-06 07:29:05 +01:00
Gregory Szorc
bab4f2e930 Bug 784841 - Part 18c: Convert /memory, /mfbt, /mozglue; r=ted f=Ms2ger 2013-02-25 12:47:17 -08:00
Kartikaya Gupta
f8f3bbe74d 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
108e5d044f 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
e929a15265 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
7aa31b9e0e Bug 794982 - Autogenerate libxul JNI stubs and fail build if they change. r=glandium 2013-02-07 09:37:06 -05:00
Kartikaya Gupta
f4f5d9a488 Bug 794982 - Extract non-libxul native JNI functions from GeckoAppShell. r=glandium, cpeterson 2013-02-07 09:37:06 -05:00
Kartikaya Gupta
38549c2de4 Bug 837551 - Ignore dynamic section headers of type DT_FLAGS_1. r=glandium 2013-02-04 09:58:54 -05:00
Mike Hommey
5dbfa09a08 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
142dba2bef 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
915357dd17 Bug 830326 - Get rid of warnings in the custom linker code. r=nfroyd 2013-01-15 10:12:56 +01:00
Mike Hommey
662f0e4f8e 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
a3448d3290 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
9c38e97fd2 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
74c0646883 Bug 826263 - Fix ~_MappableBuffer in the linker on Android. r=nfroyd 2013-01-03 16:46:09 +01:00
Mike Hommey
63dc82f43f Bug 826178 - Prefix all hexadecimal values with 0x in linker logs. r=nfroyd 2013-01-03 16:45:57 +01:00
Mike Hommey
bbfb58f0e5 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
a07bbca52c Bug 825901 - Remove the old linker code. r=blassey 2013-01-03 08:43:26 +01:00
Jim Chen
1011f7060d Bug 824715 - Correctly calculate next page offset in custom linker; r=glandium 2013-01-01 21:44:04 -05:00
Josh Matthews
c48496e31d Backed out changeset 10b47593c4d7 (bug 824715) 2012-12-28 19:03:50 -05:00
Jim Chen
75228bbbd7 Bug 824715 - Correctly calculate next page offset in custom linker; r=glandium 2012-12-28 15:29:44 -05:00
Rafael Gieschke
2e928f89ea 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
59b6cf75be 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
d5e3887cb4 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
31446e19f7 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
5e11c6363f 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
75650d3c4c Fixup for dl_iterate_phdr after bug 808121. r=me 2012-11-07 16:45:48 +01:00
Mike Hommey
346f9cf011 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
6a20e6d6e6 Bug 775997 - Part 2/2: Android implementation. r=dougt 2012-11-06 13:32:07 -08:00
Vicamo Yang
008bac0748 Bug 742790 - Part 4/5: Android implementation, r=mounir,blassey 2012-10-30 18:53:31 +08:00
Michael Wu
83677b0e70 Bug 799805 - Avoid using bionic's fork(), r=cjones 2012-10-25 19:34:06 -04:00
Ryan VanderMeulen
4ab0bcd6c5 Merge m-c to inbound. 2012-10-25 17:43:19 -04:00
Mark Finkle
4fd976fbe9 Backout e28405983f87, Likely causing startup crashes (bug 805432) r=me 2012-10-25 13:01:13 -04:00
Chris Lord
45bbf04571 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
e03dfc4049 Bug 745384 - Handle null parameters passed to sqlitebridge. r=gcp 2012-10-24 10:53:14 -07:00
Brian Smith
bcc1ba760b Bug 794510, Part 9: remove security/nss/cmd/** includes from mozglue; r=glandium 2012-10-19 10:59:15 -04:00
Jan Beich
4697f18049 Bug 788955 - Without --enable-jemalloc detect and use jemalloc3 in libc. r=glandium 2012-10-17 16:36:49 +02:00
Wes Johnston
5173d66c6a Bug 745384 - backout 8e36fd7113ba 2012-10-08 16:59:24 -07:00
Wes Johnston
d2eacb269d Bug 745384 - Allow passing null to queries from java to gecko. r=gpascutto 2012-10-05 18:01:06 -07:00
Chris Peterson
b7a8fbc69b Bug 793062 - Remove unused PostToJavaThread() and ExecuteNextRunnable(). r=blassey 2012-09-20 17:44:24 -07:00
Mike Hommey
bb24c0a7f2 Bug 783331 - Add Phdr pointer and count to dl_iterate_phdr implementation. r=nfroyd 2012-08-29 08:55:57 +02:00
Ehsan Akhgari
8c296bbcd4 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
c1b35e7b2a Bug 774032 bonus - Use @DEPTH@ and @relativesrcdir@ in Makefile.in. r=ted 2012-08-04 20:26:44 +02:00
Chris Peterson
51f10d37e8 Bug 779366 - Part 3: Move direct buffer allocation to DirectBufferAllocator. r=kats 2012-07-31 15:54:29 -07:00
Andrew Quartey
eb11829813 Bug 735615 - Remove AutoClean from mozglue/linkers/Utils.h r=glandium 2012-07-30 14:17:53 -04:00
Chris Peterson
dbfb55e969 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
f97d0fb4b7 Bug 687267 - Initial support for Flash on Honeycomb r=bgirard,vlad,jgilbert,blassey 2012-07-20 15:20:51 -04:00
Ed Morley
865b492e14 Backout 4987ffd173a4 (bug 687267) for bustage 2012-07-23 14:47:54 +01:00
James Willcox
a2f250042f 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
8c936ae394 Bug 776142 - Back out bug 687267 / changeset 8571114112b2 on a CLOSED TREE. 2012-07-22 14:02:18 +02:00
James Willcox
ff21a06364 Bug 687267 - Initial support for Flash on Honeycomb r=bgirard,vlad,jgilbert 2012-07-20 15:20:51 -04:00
Dave Hylands
99b30c8c9a 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
01dd020968 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
5ebe96eb14 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
4c822c2b6b 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
882d156651 Bug 763651 - Link the javascript engine against zlib. r=khuey 2012-07-12 08:30:59 +02:00
Chris Peterson
1ea66da331 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
13388d7565 Bug 763987 - Normalize autoconf.mk.in. r=ted 2012-06-20 09:00:48 +02:00
Mike Hommey
2c40a7fa85 Backout changeset 6984dace6afb (bug 763987) because of OSX opt jsreftest bustage 2012-06-20 10:55:59 +02:00
Mike Hommey
7d33543b83 Bug 763987 - Normalize autoconf.mk.in. r=ted 2012-06-20 09:00:48 +02:00
Mike Hommey
aa8b0b1f6b Bug 764021 - Cleanup Android use of StartupTimeline. r=blassey 2012-06-19 09:16:33 +02:00
Jeff Walden
fb7e6c0e93 Bug 763000 - Remove MOZ_Assert. r=Ms2ger, r=terrence, r=ted 2012-06-07 14:41:11 -07:00
Chris Peterson
c8b4f4c715 Bug 765116 - Part 2: mozglue/android: fix gcc -pedantic warnings. r=glandium 2012-06-18 09:06:59 -07:00
Chris Peterson
46be7d9901 Bug 765116 - Part 1: mozglue/android: fix gcc -Wall warnings. r=glandium 2012-06-18 09:07:07 -07:00
Mike Hommey
6312934810 Bug 735278 - Call destructors in reverse order of initializers in the linker. r=froydnj 2012-06-07 10:41:59 +02:00
Mike Hommey
505d68ddea Bug 580408 - Glue for jemalloc 3.0.0. r=khuey 2012-06-07 10:41:59 +02:00
Ms2ger
4a79288e69 Bug 558313 - Remove ipc/chromium/src/base/third_party/nspr for great justice; r=ted 2012-06-06 09:24:55 +02:00
Brad Lassey
e2a1dbe98f bug 759146 - Looper throws uncaught exception on (some?) HTC Sense 4.0 phones (HTC Evo 4G LTE, HTC J, etc) r=snorp 2012-05-31 20:07:07 -04:00
Ed Morley
8f3214576b Merge mozilla-central to mozilla-inbound 2012-05-30 18:24:56 +01:00
James Willcox
f881190c2a Bug 727421 - Implement full screen support for Flash on Android r=blassey 2012-05-30 12:10:49 -04:00
James Willcox
1a03a64625 Backout 814d564578d1 due to xul bustage 2012-05-30 11:58:50 -04:00
James Willcox
9709d39263 Bug 727421 - Implement full screen support for Flash on Android r=blassey 2012-05-30 10:29:16 -04:00
Gervase Markham
638c878b13 Bug 759095 - upgrade license to MPL 2, and other licensing cleanups.
--HG--
extra : rebase_source : da55a4937383eda2baf7c9a362501da8ee664146
2012-05-29 16:52:43 +01:00
Mike Hommey
649f071818 Backout changeset 81c2e2ea2dbf (bug 746794) because of bug 758648 2012-05-25 18:21:03 +02:00
Mike Hommey
0b236180b9 Bug 746794 - Always use the STL wrappers when #pragma visibility is supported. r=ted 2012-05-25 08:31:33 +02:00
Gervase Markham
87620f5676 Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Lucas Rocha
77a72c036b Bug 750950 - Kill any zombie processes if database is locked (r=blassey) 2012-05-11 17:09:04 +01:00
Kartikaya Gupta
2f23696854 Bug 751262 - Guard against leaking memory if NewDirectByteBuffer fails. r=blassey 2012-05-10 13:15:56 -04:00
Mike Hommey
4f93bd0355 Fixup for bug 736564 - Ship libmemory.a in the SDK instead of libjemalloc.a. r=ted 2012-05-04 09:46:27 +02:00
Mike Hommey
9fda438cd4 Bug 736564 - Ship mozglue and jemalloc libraries in the SDK. r=bsmedberg,r=ted
As one import library on Windows, as one shared library on OSX and Android,
and as two separate static libraries on systems where mozglue is a static
library.
2012-05-03 08:36:12 +02:00
Fabrice Desré
1154e7484d Bug 749695 - building with --disable-jemalloc fails [r=mwu] 2012-04-30 09:32:57 -07:00
James Willcox
22ddeff430 Bug 727116 - Draw Flash plugins with OpenGL during pan/zoom on legacy Android r=blassey 2012-04-27 16:04:47 -04:00
Mike Hommey
1e89bab7e7 Bug 747033 - Implement dl_iterate_phdr in the custom linker. r=froydnj
--HG--
rename : mozglue/linker/CustomElf.h => mozglue/linker/Elfxx.h
2012-04-25 09:05:02 +02:00
Lucas Rocha
0eac9baa3c Bug 746444 - Add native function to force unlock on database file (r=blassey) 2012-04-24 16:34:03 -04:00
Ali Juma
c40c713688 Bug 733596 - Tell the compositor about the new surface size on surface change. r=bgirard a=blocking-fennec 2012-04-20 11:46:30 -04:00
Gian-Carlo Pascutto
1caa4e6161 Bug 745863 - Debug logging is not compiled out in NSSBridge. r=wesj 2012-04-17 11:25:54 +02:00
Wes Johnston
c87af9265a Bug 744816 - Fix leak encrypting passwords for android sync. r=rnewman 2012-04-16 09:14:18 -07:00
Wes Johnston
a7fdde1ec1 Bug 740961 - Remove debug logging from nssbridge. r=mfinkle 2012-04-12 20:32:41 -07:00
Gian-Carlo Pascutto
30618dd6a5 Bug 743715 - Cannot build Fennec without jemalloc. r=glandium 2012-04-11 14:12:34 +02:00
Michael Wu
2c7e03bdf1 Bug 738561 - Cleanup mozglue for gonk, r=glandium 2012-03-29 18:32:44 -07:00
Cervantes Yu
a59d33371b Bug 741272 - Implement raise() using pthread_kill() so the signal will be sent to the the caller thread instead of a random thread in the thread group. r=blassey,khuey 2012-04-02 17:59:29 +08:00
Wes Johnston
a004234b01 Bug 740218 - Support transactions in sqlitebridge and use them. r=gcp,rnewman,lucasr 2012-04-09 10:08:37 -07:00
Wes Johnston
d605226018 Backed out changeset f5d6cc2e4726 2012-04-09 10:44:32 -07:00
Wes Johnston
19dd5922a5 Bug 740218 - Support transactions in sqlitebridge and use them. r=gcp,rnewman,lucasr 2012-04-09 10:08:37 -07:00
Mike Hommey
8707a0e9c7 Bug 738176 - Completely disable jemalloc when it's supposed to be disabled on OSX, and cleanup exposed APIs. r=jlebar,r=khuey 2012-04-05 09:20:53 +02:00
Brad Lassey
2f434bf365 bug 741284 - add async file request method r=kats 2012-04-05 01:50:06 -04:00
Mike Hommey
32fccdfe72 Bug 736963 - Move jemalloc'ed strdup/strndup definitions. r=jlebar,r=ted 2012-03-31 09:23:19 +02:00
Andreas Gal
1a6c88293d fix mozglue/gonk/Makefile.in comment style (bug 739003, r=cjones) 2012-03-25 01:55:34 +01:00
Andreas Gal
bc72a8ec29 add mozglue support for gonk (bug 738559, r=glandium) 2012-03-23 00:40:14 -07:00
Mike Hommey
6e80036c6d Bug 737084 - Do pthread_atfork in jemalloc on mac and android. r=blassey,r=khuey 2012-03-22 08:01:51 +01:00
Phil Ringnalda
11c327453c Back out bf4b1d3c624e (bug 732069) on suspicion of causing increased failure to start the browser during tests 2012-03-17 12:32:44 -07:00
Ehsan Akhgari
9475dfbd3e Merge mozilla-central into mozilla-inbound 2012-03-14 13:40:34 -04:00
Kartikaya Gupta
4e638d7d12 Bug 725095 - Merge off-main-thread compositor from Maple. IGNORE BAD COMMIT MESSAGES 2012-03-14 11:18:15 -04:00
Benoit Girard
32745d1cc3 Merge mc->Maple 2012-03-13 11:05:28 -04:00
Mike Hommey
e0db526ef8 Bug 734832 - Forcibly export a __dso_handle symbol from libmozglue.so on android. r=blassey 2012-03-13 09:49:18 +01:00
Mike Hommey
211a2a503b Bug 734812 - Make the linker error out when text relocations are defined with DF_TEXTREL. r=nfroyd 2012-03-13 09:48:20 +01:00
Mike Hommey
62a6f3c31e Bug 734046 - Don't export __aeabi_* symbols from libmozglue.so on ARM. r=ted 2012-03-13 09:47:03 +01:00
Mike Hommey
4a35c2f77d Bug 727959 - Ignore 0xffffffff entries the x86 Android NDK puts in .{init,fini}_array. r=tglek 2012-03-14 10:53:21 +01:00
Benoit Girard
fb79343e79 Merge mc->Maple 2012-03-09 11:13:30 -05:00
Benoit Girard
0f0612ce47 Merge mc->Maple 2012-03-07 11:10:45 -05:00
Kartikaya Gupta
d5c3b7e98b Merge m-c again to pick up 75deec1f1a7b 2012-02-28 14:37:26 -05:00
Kartikaya Gupta
134e9fec76 Merge m-c 2012-02-27 15:06:35 -05:00
Mike Hommey
ef4d6baf1b Bug 729883 - Avoid linker warnings when starting up on Android. r=tglek 2012-02-27 08:19:20 +01:00
Wes Johnston
cf7e041e14 backout a965cebe4462 32220d7085e0 3689bb4199d8 d0c82cb6eb28 b295c8825acd and 95ab5c738512 2012-03-08 12:32:01 -08:00
Wes Johnston
efeccda967 Bug 718760 - Fix bustage by removing extra apk_mtime variable. r=glandium 2012-03-08 11:14:13 -08:00
Wes Johnston
5cf9cd63ef Bug 718760 - Crypto for the java passwords provider. r=blassey,bsmith 2012-03-08 10:25:44 -08:00
Wes Johnston
b5e7f2956c Bug 732069 - Remove library extraction from APKOpen. r=glandium,blassey 2012-03-08 10:25:44 -08:00
Mike Hommey
361a60f8b4 Bug 727959 - Don't error out when missing symbol for PLT relocations is weak. r=nfroyd 2012-03-08 08:29:39 +01:00
Mike Hommey
3bf06f8b2d Bug 729596 - Use ftruncate in szip instead of posix_fallocate. r=taras 2012-02-22 19:42:56 +01:00
Doug Turner
0aea58f84d merge with mozilla-central: 2012-02-22 09:30:09 -08:00
Mike Hommey
3d8bc03c87 Bug 727960 - When extracting libraries, reuse cached library if it is newer than the apk. r=tglek 2012-02-22 08:12:15 +01:00
Mike Hommey
8d28677bfb Bug 728071 part 2 - Include application.ini.h in APKOpen.cpp instead of nsAndroidStartup.cpp. r=blassey 2012-02-22 08:12:15 +01:00
Mike Hommey
1e0e261382 Bug 686805 part 6 - Add functions to display stats about seekable compressed streams. r=tglek 2012-02-22 08:12:15 +01:00
Mike Hommey
e7516c8cad Bug 686805 part 4 - Make the linker load libraries with on-demand decompression when they are seekable compressed streams. r=tglek,r=sewardj 2012-02-22 08:12:15 +01:00
Mike Hommey
fcd37595c8 Bug 686805 part 3 - Tool to generate seekable compressed streams. r=tglek 2012-02-22 08:12:15 +01:00
Mike Hommey
92cc953984 Bug 686805 part 2 - Use a SIGSEGV signal handler to handle segmentation faults happening in loaded libraries address space. r=tglek,r=sewardj 2012-02-22 08:12:15 +01:00
Mike Hommey
239a544403 Bug 686805 part 1 - Make Mappable::munmap, Mappable1stPagePtr::munmap and MappedPtr::munmap private. r=tglek 2012-02-22 08:12:15 +01:00
Mike Hommey
c0d232df2d Fixup for bug 733087. rs=dougt 2012-03-06 09:54:17 +01:00
Jeff Muizelaar
6762bb3af8 Bug 733087 - Support DT_FLAGS a little bit. r=glandium 2012-03-06 09:28:09 +01:00
Brad Lassey
9e55996669 merge from mozilla-central 2012-02-18 17:29:33 -05:00
Doug Turner
b66a0f8126 Merge with mozilla-central 2012-02-16 18:06:54 -08:00
Mike Hommey
ac45ce455a Bug 723939 part 1 - When reserving memory for the loaded library, ensure correct alignment for future MAP_SHARED mappings. r=tglek 2012-02-17 08:55:36 +01:00
Thomas G Eaton
17f65c17d1 Bug 721807 - APKOpen.cpp fails to compile on X86 android. r=glandium 2012-02-15 19:30:35 +09:00
Chris Peterson
25de198b98 Bug 730527 - Fix compiler warnings in APKOpen.cpp. r=glandium 2012-02-24 18:49:56 -08:00
Wes Johnston
896668eaea Bug 732069 - Remove library extraction from APKOpen. r=glandium,blassey
* * *
Bug 718760 - Fix bustage by removing extra apk_mtime variable. r=glandium
2012-03-08 10:25:44 -08:00
Gian-Carlo Pascutto
9320025538 Bug 726821 - Caching JNI class references should use a global reference. r=blassey 2012-02-27 12:28:22 +01:00
Gian-Carlo Pascutto
a132129a4d Bug 726821 - Push Cursor usage down into native bridge code. r=blassey 2012-02-27 12:28:22 +01:00
Gian-Carlo Pascutto
8fc091bd34 Bug 727264 - Add an extra argument to pass more SQLite query results. Cleanup & simplify bridge. r=blassey 2012-02-27 12:28:21 +01:00
Tor Lillqvist
1d6f66c98d Bug 731961 - Include cstdio from Mappable.cpp for sprintf. r=glandium 2012-02-07 11:35:00 +02:00
Ali Juma
c7be76443f Pause/resume composition on surface destruction/creation. 2012-02-06 13:57:06 -05:00
Patrick Walton
acf57d7d37 Poke the compositor to composite on a pan or zoom; stub AndroidBridge::GetViewTransform() 2012-02-03 18:35:58 -08:00
Patrick Walton
13458c16d5 Eliminate coupling between the software layer client and the rest of Fennec 2012-02-02 23:30:41 -08:00
Mike Hommey
a3b11d2747 Bug 727202 - Wrap malloc and free to use jemalloc in GeckoAppShell.{allocate,free}DirectBuffer. r=blassey 2012-02-16 09:02:25 +01:00
Kartikaya Gupta
fe5be9ae3c Bug 735344 - Use a refcounted pointer to Zip so that the delete doesn't crash Fennec. Also remove some spurious logging. r=glandium 2012-03-13 14:59:53 -04:00
Mike Hommey
209c46958e Bug 729596 - Use ftruncate in szip instead of posix_fallocate. r=taras 2012-02-22 19:42:56 +01:00
Mike Hommey
32dfe6f4a3 Bug 727959 - Add symbol name to relocation errors in the linker. r=tglek 2012-02-21 08:10:43 +01:00
Mike Hommey
2dbd7b5621 Bug 720737 - Set MOZ_LINKER_CACHE instead of CACHE_PATH. r=blassey 2012-01-25 10:36:58 +01:00
Gian-Carlo Pascutto
e21cbaf86b Bug 720461 - Fix loop logic in Android SQLiteBridge. r=dougt 2012-01-25 07:53:04 +01:00
Wes Johnston
84c48ba2cf Bug 718760 - Crypto for the java passwords provider. r=blassey,bsmith 2012-03-08 10:25:44 -08:00
Matt Brubeck
cc3760f150 Back out bug 718760, bug 725052, bug 732069 because of broken Android build 2012-03-12 10:37:22 -07:00
Wes Johnston
e87040c949 Bug 732069 - Remove library extraction from APKOpen. r=glandium,blassey
* * *
Bug 718760 - Fix bustage by removing extra apk_mtime variable. r=glandium
2012-03-08 10:25:44 -08:00
Wes Johnston
91d4fd947c Bug 718760 - Crypto for the java passwords provider. r=blassey,bsmith 2012-03-08 10:25:44 -08:00
Mike Hommey
685377aa5e Fixup for bug 683127 part 11 to properly load sqlite3. rs=tbsaunde 2012-01-23 08:37:56 +01:00
Mike Hommey
9b20785e96 Fixup for Bug 683127 part 11 to avoid crashing on places migration. rs=Ms2ger 2012-01-21 20:25:09 +01:00
Ed Morley
43229a8c0c Merge last green changeset of mozilla-inbound to mozilla-central 2012-01-21 02:31:32 +00:00
Jon Buckley
f924de20af Bug 716397. Fix mozglue package warning on Linux. f=sgautherie r=khuey. 2012-01-20 12:49:23 +01:00
Gian-Carlo Pascutto
d57453072b Bug 713228 - Fix spurious semicolons in APKOpen.cpp. r=blassey 2012-01-19 21:21:36 +01:00
Gian-Carlo Pascutto
86a031a384 Bug 713228 - Add bridge to access our own SQLite libraries from Java. r=blassey 2012-01-19 21:19:56 +01:00
James Willcox
43d0cd88c2 Bug 719233 - Only use direct texturing on whitelisted devices r=blassey 2012-01-18 20:41:28 -05:00
Mike Hommey
4ec263e37b Fixup for Bug 683127 part 11. r=me 2012-01-20 09:58:14 +01:00
Mike Hommey
5d84f48491 Bug 683127 part 11 - Hook the new linker in Android initialization. r=blassey 2012-01-20 09:49:07 +01:00
Mike Hommey
49c2097241 Bug 683127 part 10 - Allow debug symbols to be found under gdb without extracted libraries. r=tglek,r=mwu 2012-01-20 09:49:03 +01:00
Mike Hommey
8ea2a12034 Bug 683127 part 9 - Allow to temporarily extract Elf files from a Zip archive for e.g. valgrind. r=tglek 2012-01-20 09:48:50 +01:00
Mike Hommey
71c38e1b7f Bug 683127 part 8 - Allow to load Elf files from a Zip archive. r=tglek,r=sewardj 2012-01-20 09:48:44 +01:00
Mike Hommey
2cbbea95da Bug 683127 part 7 - Use a custom Elf linker for libraries given with an absolute path name. r=sewardj 2012-01-20 09:48:44 +01:00
Mike Hommey
c697155254 Bug 683127 part 5 - Initial Elf Loader, wrapping around dlopen/dladdr/dlsym/dlclose. r=tglek,r=sewardj 2012-01-20 09:48:39 +01:00
Mounir Lamouri
51107564e9 Bug 674725 - Part AT - Handle failures for getMessages(). r=smaug,cjones 2011-12-22 23:25:14 +01:00
Mounir Lamouri
09da127c98 Bug 674725 - Part AQ - Read the next message in the list (Android backend). r=cjones 2011-12-22 23:16:59 +01:00
Mounir Lamouri
4dac706233 Bug 674725 - Part AL - Store Android Cursors to keep track of created message lists. r=cjones 2011-12-22 23:16:22 +01:00
Mounir Lamouri
97a37fb5c9 Bug 674725 - Part AG - Notify when delete() fails. r=smaug,cjones sr=sicking 2011-12-22 23:15:44 +01:00
Mounir Lamouri
92cf45e8cd Bug 674725 - Part AF - Implement delete() on Android. r=cjones 2011-12-22 23:15:28 +01:00
Mounir Lamouri
ef742879a6 Bug 674725 - Part AD - Notify when getMessage() fails. r=smaug,cjones sr=sicking 2011-12-22 23:14:45 +01:00
Mounir Lamouri
a300600e0c Bug 674725 - Part AC - Implement getMessage() on Android. r=cjones 2011-12-22 23:08:58 +01:00
Mounir Lamouri
0c18bf7a81 Bug 674725 - Part Y - Notify when send() fails. r=smaug,cjones sr=sicking 2011-12-22 23:06:35 +01:00
Mounir Lamouri
32b8a98ec5 Bug 674725 - Part X - Use SmsRequest for send() method. r=smaug,cjones 2012-01-13 14:26:50 +01:00
Mounir Lamouri
932753cdba Bug 674725 - Part U - Implement WebSMS delivered event for the Android backend. r=cjones 2012-01-13 14:26:24 +01:00
Mounir Lamouri
205528614d Bug 674725 - Part R - Save sent messages in the Android database. r=cjones 2012-01-13 14:25:47 +01:00
Mike Hommey
b05271bf64 Bug 725230 - Enable and fix assertions in linker code. r=tglek 2012-02-13 15:49:45 +01:00
Mike Hommey
3f5c329700 Bug 717540 - Remove MFBT dependency on JS_Assert, add MOZ_Assert, and use it for WTF assertions. r=waldo,r=khuey 2012-02-13 15:48:23 +01:00