Commit Graph

145 Commits

Author SHA1 Message Date
Doug Turner
357eaf5609 Merge with mozilla-central 6f998cc964be
--HG--
rename : embedding/android/GeckoApp.java => mobile/android/base/GeckoApp.java
2011-11-22 12:48:22 -08:00
Ed Morley
ef0eaaa132 Merge mozilla-central to mozilla-inbound 2011-11-22 02:42:27 +00:00
Steve Workman
e80c212d1f Bug 694325: Add threadsafe getaddrinfo to libmozutils; restore multi-threading to nsHostResolver for DNS requests. r=mwu 2011-11-21 18:21:21 -08:00
Brad Lassey
b219896cab merged mozilla-central to birch
--HG--
rename : gfx/thebes/GLContextProviderEGL.cpp => gfx/gl/GLContextProviderEGL.cpp
rename : embedding/android/AndroidManifest.xml.in => mobile/android/base/AndroidManifest.xml.in
2011-11-21 01:21:42 -05:00
Doug Turner
1c8dfdcdde Merge. 2011-11-15 01:09:26 -08:00
Patrick Walton
c4170c90c4 Bug 695448 - Implement a Java compositor, and use it to scroll. r=? 2011-11-09 17:39:29 -08:00
Matt Brubeck
955a2d79b2 Revert to addb9a82a6b8 (undo my failed backouts) 2011-11-09 17:31:09 -08:00
Matt Brubeck
c6ca3ef1b3 Back out 150b57fca97c, 22f16ec4052a, 03c53ee42fc9
* * *
Back out 03c53ee42fc9 on suspicion of causing talos failures
2011-11-09 16:06:20 -08:00
Doug Turner
b167053206 backing out the backout of the landing of the patrick patch queue. lets try this again in the morning with fresh eyes and fresh coffee 2011-11-07 23:54:21 -08:00
Doug Turner
acd647739e Removing use strict from a hosed merge 2011-11-07 20:54:50 -08:00
Patrick Walton
e20f60272b Back out birch-pan-zoom patch queue due to crashes on mochitests. no bug, r=mfinkle 2011-11-07 17:04:44 -08:00
Patrick Walton
0d652e87cc * * *
try: -b do -p linux-android -u none -t none
2011-11-07 14:15:58 -08:00
Doug Turner
d1545231e8 Merge 2011-11-04 10:46:58 -07:00
Doug Turner
233a45e5ce Bug 696315 - Remove Quit menu option. r=bnicholson@mozilla.com
--HG--
extra : rebase_source : 27492a24f3c58e71d9df98534612c0f74c05d7e4
2011-11-02 22:32:36 -07:00
Doug Turner
0c6ccb23a7 No Bug - Missing wrappers in APKOpen.cpp that were on birch. Verbal r=blassey
--HG--
extra : rebase_source : be760413dbc9a0ffdf6bd4f5b59286fcc6602f00
2011-11-21 11:39:47 -08:00
Mounir Lamouri
505e9f3919 Bug 696038 - (2/3) Boilerplate code to communicate between hal and Android Java code. r=cjones 2011-11-02 16:35:11 +01:00
Brad Lassey
949973d39e no bug - make quit work r=dougt
--HG--
extra : rebase_source : 167f35f6ac7543d3954e8f7c0d641d6e70414ce9
2011-10-19 16:31:31 -04:00
Kartikaya Gupta
ae1acb0127 Bug 695170 - Implement visited link styles [r=blassey]
Provide an IHistory interface implementation from the android widgets
rather than using the one in Places. This allows the Link class to get
history information from the android code. The IHistory implementation
talks to the Android browser history database via JNI.
The Java-side implementation attempts to batch-process the requests coming
in, and keeps an in-memory cache of the visited links to avoid multiple
hits to the database. The in-memory cache is guaranteed to be cleared
by the VM before an OOMs get thrown.
The current implementation does not consider external events that might
update the history database, and so the visited link information
provided to Gecko might not reflect the latest information in the
Android browser history database.
2011-10-25 11:39:32 -04:00
Doug Turner
5a15b2030f Backing out the Quit change which is causing bug 696386. r=mfinkle 2011-10-23 21:19:42 -07:00
Brad Lassey
72ea013272 no bug - make quit work r=dougt 2011-10-19 16:31:31 -04:00
Doug Turner
952b4094a1 Patch from https://github.com/snorp/mozilla-central faster branch. 2011-10-10 17:40:17 -07:00
Brad Lassey
f8154cb9d3 Backed out changeset c3a50afc2243 due to large volume of crashes tracked in bug 687367 2011-10-10 10:40:27 -04:00
Matt Brubeck
cfe560c34b Back out f7bf7ac18a79 (bug 684826), 3a910924c50c (bug 687367), and 524a6bb8744b (bug 693086) because of Android bustage on a CLOSED TREE 2011-10-10 09:43:58 -07:00
Brad Lassey
60a64b5e80 merge 2011-10-10 10:40:57 -04:00
Brad Lassey
bf25d94f50 Backed out changeset c3a50afc2243 due to large volume of crashes tracked in bug 687367 2011-10-10 10:40:27 -04:00
Michael Edwards
cd0c00f8f2 Bug 687367 - Make bionic domain name functions thread-safe on pre-3.0 Android, r=dougt 2011-10-06 20:55:50 -07:00
Matt Brubeck
7e0963eed8 Bug 691054 - Back out bug 667980 (getNetworkLinkType) on Android because of scary permissions [r=dougt] 2011-10-03 16:34:43 -07:00
Mike Hommey
9783ee4a43 Bug 690856 - Ensure Instruction and Data cache coherency after extracting libraries from the DEBUG intent r=mwu 2011-09-30 20:42:24 +02:00
Mike Hommey
1f5cbbfc2e Bug 702764 part 3 - Add linker initialization and library loading timestamps for nsAppStartup::GetStartupInfo. r=tglek 2011-11-18 08:54:37 +01:00
Mike Hommey
50a0f04721 Bug 702764 part 1 - Use RUSAGE_THREAD for library loading time consumption reporting. r=tglek 2011-11-18 08:54:17 +01:00
Brad Lassey
3b89b06f44 Backed out changeset c3a50afc2243 due to large volume of crashes tracked in bug 687367 2011-10-10 10:40:27 -04:00
Matt Brubeck
605f836e6c Back out f7bf7ac18a79 (bug 684826), 3a910924c50c (bug 687367), and 524a6bb8744b (bug 693086) because of Android bustage on a CLOSED TREE 2011-10-10 09:47:27 -07:00
Mounir Lamouri
fecd5a34c5 Bug 700263 - Add remainingTime support to android backend. r=cjones 2011-11-09 15:13:37 +01:00
Mounir Lamouri
7157bc2786 Bug 699742 - (4/4) battery.level should be a double (android backend). r=cjones 2011-11-09 09:56:37 +01:00
Matt Brubeck
7b9b87d629 Merge last green changeset of mozilla-inbound to mozilla-central 2011-10-07 12:06:20 -07:00
Mike Hommey
367d83793c Bug 687446 - Allow debug symbols to be found under gdb without extracted libraries. r=mwu 2011-10-07 08:31:29 +02:00
Mike Hommey
0f6fcdb7e9 Bug 692381 - Remove one of the Android library extraction code paths. r=mwu 2011-10-07 08:30:32 +02:00
Makoto Kato
89bf0597c8 Bug 681202 - Add Android x86 target. r=glandium 2011-09-29 13:39:03 +09:00
Fabrice Desré
2b1103493c Bug 659188 - Android and media parts [r=blassey] [r=cpearce] 2011-09-26 17:25:41 -07:00
Mike Hommey
20df4a9374 Bug 687147 - Ensure Instruction and Data cache coherency after extracting libraries. r=mwu 2011-09-23 14:31:11 +02:00
Mike Hommey
10d9b1f0d9 Bug 686876 - Move libraries at the top level in the apk. r=mfinkle 2011-09-21 18:06:14 +02:00
Jim Chen
62b8c6e951 Bug 687147 - Workaround linker crash when calling .init_array in libmozalloc.so; r=
Bug 687147 - Workaround linker crash when calling .init_array in libmozalloc.so; r=mfinkle r=glandium
2011-09-20 11:16:00 -04:00
Doug Turner
c938f47ba6 Bug 630007 - Minimal support NPAPI on ANDROID. Pre-Honeycomb inproccess support only. r=josh. 2011-09-16 14:34:31 -07:00
Ed Morley
9c6e88d2d6 Backout d4bdab069bbc (bug 630007) for qt build bustage and various oranges on other platforms 2011-09-17 00:27:55 +01:00
Doug Turner
d6d932e4e7 Bug 630007 - Minimal support NPAPI on ANDROID. Pre-Honeycomb inproccess support only. r=josh. 2011-09-16 14:34:31 -07:00
Kyle Huey
a0800c6141 Merge m-c to b-s. 2011-09-07 10:47:50 -04:00
Mike Hommey
892d941413 Bug 684213 - Directly uncompress libraries into the mmap()ed cache files. r=mwu 2011-09-07 07:56:28 +02:00
Mike Hommey
402b882927 Backout the backout of e5815c156b6c (bug 683096), 9ca928d8095c (merge), a286edb8ca4b (bug 683875), 61dc35b8f63f (bug 683171), b0741ae44def (bug 683875), 8e01bc314326 + e2697c06468f (bug 677501), 805e28e85577 (bug 680440) 2011-09-03 08:19:06 +02:00
Ed Morley
ee10afb48a Backout e5815c156b6c (bug 683096), 9ca928d8095c (merge), a286edb8ca4b (bug 683875), 61dc35b8f63f (bug 683171), b0741ae44def (bug 683875), 8e01bc314326 + e2697c06468f (bug 677501), 805e28e85577 (bug 680440) for Win opt orange and purple galore, on a CLOSED TREE 2011-09-03 04:35:21 +01:00
Kyle Huey
5aba5a29af Merge b-s to m-c. 2011-09-02 17:35:11 -04:00
Mike Hommey
8285bb9468 Bug 677501 - Build a mozutils library containing jemalloc and other things. r=khuey
--HG--
rename : memory/jemalloc/Makefile.in => memory/mozutils/Makefile.in
rename : memory/jemalloc/fixcrt.py => memory/mozutils/fixcrt.py
rename : memory/jemalloc/jemalloc.def => memory/mozutils/mozutils.def.in
2011-09-01 14:12:10 +02:00
Mike Hommey
4f09641fb4 Bug 680440 - Clean up jemalloc linkage. r=khuey 2011-09-01 14:11:56 +02:00
Kyle Huey
134b8fad07 Merge m-c to b-s. 2011-08-31 07:52:43 -04:00
Jim Chen
031e5ad085 Bug 674806 - d. Use char* for pointer arithmetic [r=mwu] 2011-08-30 17:11:37 -07:00
Ed Morley
c62c25def9 Merge last green changeset on m-i to m-c 2011-09-01 08:41:18 +01:00
Atul Aggarwal
6c8e5db9c1 Bug 679612 - Add fclose calls to every exit point in APKOpen.cpp to prevent resource leaks; r=mwu 2011-08-31 16:30:33 +01:00
Kyle Huey
4a1055ab6c Merge m-c to b-s. 2011-08-24 08:34:27 -04:00
Mike Hommey
7f22909cc5 Bug 680373 - Link jemalloc into mozutils instead of mozalloc on Android. r=blassey,r=pbiggar 2011-08-24 12:55:13 +02:00
Mike Hommey
49b43ec341 Bug 681203 - Bind all symbols when dynamic symbol lookup is not supported. r=mwu 2011-08-23 16:12:44 +02:00
Doug Turner
5fa554f56b Bug 661978 - Android file input activity deadlocks. r=blassey 2011-08-18 19:30:22 -07:00
Mike Hommey
05fea6caff Bug 651889 - Add support for dynamic symbol lookup in the Android dynamic linker. r=mwu 2011-08-09 13:35:52 +02:00
Mike Hommey
ad6774938a Bug 681588 - Cleanup wrap malloc and its use on Android. r=ted 2011-08-29 19:21:22 +02:00
Doug Turner
7dbf23a135 Bug 667980: Expose network connection type to chrome. r=dougt
Add an attribute to nsINetworkLinkService that represents the connection type,
and add code to the android back-end to expose the connection type and notify
when it changes.
2011-07-10 15:24:05 -07:00
Doug Turner
d75610af9e Bug 670201 - Remove most #ifdef DEBUG from custom loader. r=mwu 2011-07-09 19:50:22 -07:00
Mike Hommey
ff080071d2 Bug 647288 - Make our Android linker properly load libraries outside the .apk. r=mwu 2011-07-07 16:34:33 +02:00
Mike Hommey
9c0ad6e9b2 Bug 664934 - Add user and system usage in GeckoLibLoad log. r=mwu 2011-06-17 08:59:39 +02:00
Brad Lassey
f9a2da5283 bug 660326 - send java exceptions to crash-stats r=dougt 2011-06-01 13:54:53 -04:00
Vladimir Vukicevic
234cfda8ff Content processes should not crash on startup when building with --disable-crashreporter, r=mwu 2011-05-25 16:54:30 -04:00
Mike Hommey
7de58a1cfa Bug 620931 part 3 - Allow GRE and XUL application to use omni.jar independently. r=bsmedberg,r=mwu
We now store two independent locations for an omni.jar, allowing GRE/XRE and
XUL application to each have their own omni.jar. And since xulrunner setups
are very independent from the XUL applications, we implement support for both
omni.jar and non omni.jar cases in the same runtime, with the side effect of
allowing to switch from one to the other manually without rebuilding the
binaries.

We let the mozilla::Omnijar API handle both cases, so that callers don't need
too much work to support them.

We also make the preferences service load the same set of preferences in all
the various cases (unified vs. separate, omni.jar vs. no omni.jar).

The child process launcher for IPC is modified to pass the base directories
needed for the mozilla::Omnijar API initialization in the child process.

Finally, the startupcache file name canonicalization is modified to separate
APP and GRE resources.
2011-02-25 12:53:36 +01:00
Mike Hommey
07288ec010 Bug 637316 part 1 - Report whole memory mapping to crash reporter for libraries on Android. r=mwu 2011-03-14 15:23:32 +01:00
Brad Lassey
8c69c594eb bug 611163 - Fennec doesn't start due a problem with 'ashmem buffer' in DDMS r=taras a=blocking-fennec 2011-03-04 18:08:24 -05:00
Brad Lassey
1adee5d2e5 bug 631760 - don't hard code "/data/data/<package name>" r=dougt a=blocking-fennec 2011-02-07 23:40:42 -05:00
Brad Lassey
534b38b388 bug 611163 - Fennec doesn't start due a problem with "ashmem buffer" in DDMS, patch to add logging r=taras a=blockingfennec 2011-02-07 23:40:42 -05:00
Michael Wu
69b48cf346 Bug 606194 - Use mmap given addresses if necessary, r=taras a=blocking-fennec 2011-02-03 12:10:02 -05:00
Doug Turner
dadda286c4 Bug 630595 - Followup. Do not need a dash before the option. Removing unused memory watcher. r=blassey, a=blocking-fennec 2011-02-02 01:00:34 -08:00
Doug Turner
00f33aa1b3 Bug 630133 - Need to unmap files in the non fork case, or we leak libraries. r=blassey a=blocking-fennec
--HG--
extra : rebase_source : b1577150130bbc79fc560bd747f01957900ad9bc
2011-01-31 12:36:35 -08:00
Mike Hommey
8c33516f6d Bug 628233 part 1 - Make the Android linker stop assuming there is only one read-only PT_LOAD entry. r=mwu,a=sdwilsh 2011-01-28 09:22:58 +01:00
Brad Lassey
1d9d87db18 bug 627767 - When starting up fennec, there are two fennec process, don't fork for lib cache when there are no libs to cache r=dougt a=blocking-fennec 2011-01-21 13:28:44 -05:00
Doug Turner
2ed6ba5845 Bug 624652 - Add memory watcher to reduce the chance of ooming on the Nexus S. r=mwu/cjones. a=blocking-fennec
--HG--
extra : rebase_source : faf23b65fe8b5c64080c1ee3f6d4794e8837097d
2011-01-19 22:14:12 -08:00
Makoto Kato
0a56de0ca0 Bug 616075 - HTML5 offline event support for Android. r=mwu a=blocking-fennec 2011-01-20 20:06:13 +09:00
Brad Lassey
9d589f4402 bug 623999 - Takes 35s to start up r=dougt f=taras a=blocking-fennec 2011-01-19 17:32:58 -05:00
Taras Glek
06cf5e166a Bug 624889 - Useful startup debugging aids on android r=mwu a=mfinkle 2011-01-12 13:08:28 -08:00
Brad Lassey
20887a7a34 bug 623598 - avoid repeatedly extracting and deleting libraries r=mbrubeck a=blocking-fennec 2011-01-06 21:02:07 -05:00
Brad Lassey
b872b843b0 Bug 608042 - Add ability to make fat android builds that extract APK to disk r=dougt a=blocking-fennec
--HG--
extra : rebase_source : 60be05d268c70c08a5979e6480e40add3dc72b9d
2011-01-04 15:10:53 -05:00
Michael Wu
7bd9634fcf bug 620584 - add ANDROID_PACKAGE_NAME rather than hard code org.mozilla.@MOZ_APP_NAME@ r=ted,blassy a=stuart 2010-12-21 15:02:14 -05:00
Michael Wu
5c309e8921 Bug 610970 - Round length up to the nearest page when reporting mapped regions, r=ted a=blocking-fennec 2010-11-11 20:51:48 -08:00
Michael Wu
ec11ef19b4 Bug 609671 - custom Android linker prevents system libraries from being dlopen'd, r=taras a=blocking-fennec 2010-11-10 19:31:16 -08:00
Michael Wu
e9a652183b Bug 607534 - Optimize custom dynamic loader to use less memory, r=cjones a=blocking-fennec 2010-10-29 12:22:28 -07:00
Mark Finkle
ecf2427900 Bug 608239: Backout changeset 99233ad2ff70 a=fennec-should-load-pages 2010-10-29 10:07:54 -04:00
Michael Wu
1a9d63506c Bug 607534 - Optimize custom dynamic loader to use less memory, r=cjones a=blocking-fennec 2010-10-28 23:45:46 -07:00
Michael Wu
817f4533d7 bug 607367 - custom lib loader doesn't work on Galaxy S w/2.2 r=vlad a=blocking-fennec 2010-10-26 21:57:54 -04:00
Brad Lassey
aa0b369a7d bug 601282 - Sometimes fennec's window is black when started the DEBUG intent r=mwu a=blocking-fennec 2010-10-24 19:54:09 -04:00
Michael Wu
eca11b20b3 Bug 603592 - Report mapping to crash reporter, r=ted a=blocking-fennec 2010-10-20 20:44:03 -04:00
Michael Wu
59aad4a57f Bug 588607 - 1. Add support for reading libraries out of the apk, r=taras a=blocking-fennec
--HG--
extra : rebase_source : 539f8fea7689fd85cbeb727dcfb09d0b56a3499b
2010-10-15 11:27:57 -07:00
Michael Wu
e645e54620 Bug 588607 - 0. Add bionic linker files, r=lvilla a=blocking-fennec
--HG--
extra : rebase_source : 8ea4efe4309b8fac52ba62cd22a2c69039061755
2010-10-15 11:27:48 -07:00