Commit Graph

145 Commits

Author SHA1 Message Date
Doug Turner
3640ceaf27 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
870b8d7d2c Merge mozilla-central to mozilla-inbound 2011-11-22 02:42:27 +00:00
Steve Workman
1e492d58a1 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
11be33cd8f 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
e717fb795f Merge. 2011-11-15 01:09:26 -08:00
Patrick Walton
d20e174b9a Bug 695448 - Implement a Java compositor, and use it to scroll. r=? 2011-11-09 17:39:29 -08:00
Matt Brubeck
3b6926c9b5 Revert to addb9a82a6b8 (undo my failed backouts) 2011-11-09 17:31:09 -08:00
Matt Brubeck
7267c6f214 Back out 150b57fca97c, 22f16ec4052a, 03c53ee42fc9
* * *
Back out 03c53ee42fc9 on suspicion of causing talos failures
2011-11-09 16:06:20 -08:00
Doug Turner
5e91e54024 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
c971b7be6d Removing use strict from a hosed merge 2011-11-07 20:54:50 -08:00
Patrick Walton
7d0b84a62b 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
129c7c71ff * * *
try: -b do -p linux-android -u none -t none
2011-11-07 14:15:58 -08:00
Doug Turner
cd42b892d2 Merge 2011-11-04 10:46:58 -07:00
Doug Turner
9005fea036 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
9d7ad87af8 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
2545c63c8e 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
dd3fde0590 no bug - make quit work r=dougt
--HG--
extra : rebase_source : 167f35f6ac7543d3954e8f7c0d641d6e70414ce9
2011-10-19 16:31:31 -04:00
Kartikaya Gupta
d076409347 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
2084bc10db Backing out the Quit change which is causing bug 696386. r=mfinkle 2011-10-23 21:19:42 -07:00
Brad Lassey
8f858b54f3 no bug - make quit work r=dougt 2011-10-19 16:31:31 -04:00
Doug Turner
f7ffea8082 Patch from https://github.com/snorp/mozilla-central faster branch. 2011-10-10 17:40:17 -07:00
Brad Lassey
5cf7a49da2 Backed out changeset c3a50afc2243 due to large volume of crashes tracked in bug 687367 2011-10-10 10:40:27 -04:00
Matt Brubeck
d53193f383 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
ab723a6a51 merge 2011-10-10 10:40:57 -04:00
Brad Lassey
4528a38462 Backed out changeset c3a50afc2243 due to large volume of crashes tracked in bug 687367 2011-10-10 10:40:27 -04:00
Michael Edwards
8d268b37aa 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
d6af4c95e2 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
6ed3ac0c23 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
840a06f55b 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
e2cf17b6ba 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
d174ebedad Backed out changeset c3a50afc2243 due to large volume of crashes tracked in bug 687367 2011-10-10 10:40:27 -04:00
Matt Brubeck
eb9465f1a3 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
5b66ee0ddb Bug 700263 - Add remainingTime support to android backend. r=cjones 2011-11-09 15:13:37 +01:00
Mounir Lamouri
629dc18d52 Bug 699742 - (4/4) battery.level should be a double (android backend). r=cjones 2011-11-09 09:56:37 +01:00
Matt Brubeck
6abf5a179d Merge last green changeset of mozilla-inbound to mozilla-central 2011-10-07 12:06:20 -07:00
Mike Hommey
43ad082aeb 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
253dcacb30 Bug 692381 - Remove one of the Android library extraction code paths. r=mwu 2011-10-07 08:30:32 +02:00
Makoto Kato
760958734d Bug 681202 - Add Android x86 target. r=glandium 2011-09-29 13:39:03 +09:00
Fabrice Desré
710899e3ab Bug 659188 - Android and media parts [r=blassey] [r=cpearce] 2011-09-26 17:25:41 -07:00
Mike Hommey
af8e7baa1b Bug 687147 - Ensure Instruction and Data cache coherency after extracting libraries. r=mwu 2011-09-23 14:31:11 +02:00
Mike Hommey
e9f9b017a8 Bug 686876 - Move libraries at the top level in the apk. r=mfinkle 2011-09-21 18:06:14 +02:00
Jim Chen
c1be77aca6 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
fa4f75d7e3 Bug 630007 - Minimal support NPAPI on ANDROID. Pre-Honeycomb inproccess support only. r=josh. 2011-09-16 14:34:31 -07:00
Ed Morley
00e6fcf8b2 Backout d4bdab069bbc (bug 630007) for qt build bustage and various oranges on other platforms 2011-09-17 00:27:55 +01:00
Doug Turner
0ef3efa1a5 Bug 630007 - Minimal support NPAPI on ANDROID. Pre-Honeycomb inproccess support only. r=josh. 2011-09-16 14:34:31 -07:00
Kyle Huey
614dad33a3 Merge m-c to b-s. 2011-09-07 10:47:50 -04:00
Mike Hommey
43f0a42c79 Bug 684213 - Directly uncompress libraries into the mmap()ed cache files. r=mwu 2011-09-07 07:56:28 +02:00
Mike Hommey
d0a3d1bc2f 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
ed260633c7 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
2fe1065da6 Merge b-s to m-c. 2011-09-02 17:35:11 -04:00
Mike Hommey
cfd3ac70a2 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
1fbab12774 Bug 680440 - Clean up jemalloc linkage. r=khuey 2011-09-01 14:11:56 +02:00
Kyle Huey
7b7b45a351 Merge m-c to b-s. 2011-08-31 07:52:43 -04:00
Jim Chen
7bcf05e723 Bug 674806 - d. Use char* for pointer arithmetic [r=mwu] 2011-08-30 17:11:37 -07:00
Ed Morley
19a1226d22 Merge last green changeset on m-i to m-c 2011-09-01 08:41:18 +01:00
Atul Aggarwal
31dcf08260 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
0e655f0dc8 Merge m-c to b-s. 2011-08-24 08:34:27 -04:00
Mike Hommey
35dde42be0 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
a41c1ed56d Bug 681203 - Bind all symbols when dynamic symbol lookup is not supported. r=mwu 2011-08-23 16:12:44 +02:00
Doug Turner
c6d0970106 Bug 661978 - Android file input activity deadlocks. r=blassey 2011-08-18 19:30:22 -07:00
Mike Hommey
664eff9807 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
910fe37b7c Bug 681588 - Cleanup wrap malloc and its use on Android. r=ted 2011-08-29 19:21:22 +02:00
Doug Turner
0efa167f2b 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
3bdb5635c9 Bug 670201 - Remove most #ifdef DEBUG from custom loader. r=mwu 2011-07-09 19:50:22 -07:00
Mike Hommey
393dc001bc Bug 647288 - Make our Android linker properly load libraries outside the .apk. r=mwu 2011-07-07 16:34:33 +02:00
Mike Hommey
4a5a3c957f Bug 664934 - Add user and system usage in GeckoLibLoad log. r=mwu 2011-06-17 08:59:39 +02:00
Brad Lassey
1868c65dfc bug 660326 - send java exceptions to crash-stats r=dougt 2011-06-01 13:54:53 -04:00
Vladimir Vukicevic
32e8962d5a Content processes should not crash on startup when building with --disable-crashreporter, r=mwu 2011-05-25 16:54:30 -04:00
Mike Hommey
e56745d75b 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
48fbd0b2c2 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
41e96455b0 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
f409ccb261 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
34e417e9fd 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
609cadcef6 Bug 606194 - Use mmap given addresses if necessary, r=taras a=blocking-fennec 2011-02-03 12:10:02 -05:00
Doug Turner
bba386c412 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
cd8359f6c2 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
d097901939 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
a5a9217796 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
d886cf3236 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
e30bc616e7 Bug 616075 - HTML5 offline event support for Android. r=mwu a=blocking-fennec 2011-01-20 20:06:13 +09:00
Brad Lassey
c3b167855a bug 623999 - Takes 35s to start up r=dougt f=taras a=blocking-fennec 2011-01-19 17:32:58 -05:00
Taras Glek
96b1b10db5 Bug 624889 - Useful startup debugging aids on android r=mwu a=mfinkle 2011-01-12 13:08:28 -08:00
Brad Lassey
fc5ace8d13 bug 623598 - avoid repeatedly extracting and deleting libraries r=mbrubeck a=blocking-fennec 2011-01-06 21:02:07 -05:00
Brad Lassey
b195811fd6 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
ff23778648 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
f57c62a5e3 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
17979f22b9 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
402efe298f 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
c13d5f5238 Bug 608239: Backout changeset 99233ad2ff70 a=fennec-should-load-pages 2010-10-29 10:07:54 -04:00
Michael Wu
bb0cf0f8a4 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
5e86d3928c 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
8b9c95cf77 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
53f6429368 Bug 603592 - Report mapping to crash reporter, r=ted a=blocking-fennec 2010-10-20 20:44:03 -04:00
Michael Wu
ddf3ce3ed1 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
f71e519090 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