Commit Graph

106 Commits

Author SHA1 Message Date
Eugen Sawin
06a7828be2 Bug 1301665 - [1.1] Statically initialize lib mapping array. r=glandium 2016-09-13 14:11:30 +02:00
Jim Chen
984436a532 Bug 1297807 - Remove old JNI stubs; r=snorp 2016-08-26 12:26:46 -04:00
Jim Chen
75ce4d9aaa Bug 1292323 - Move Java UI thread registration to mozglue; r=snorp
We need to register the Java UI thread in native code very early in the
startup process, before libxul registers its JNI entry points. So it
makes sense to register the Java UI thread in mozglue.
2016-08-12 23:15:52 -04:00
Bob Owen
c43bf02cda Bug 1035125 Part 8: Pass sandboxing pointers through XRE_InitChildProcess instead of linking to more functions in xul. r=aklotz,glandium
MozReview-Commit-ID: 5AiktOArpfU

--HG--
extra : rebase_source : 1ba3be949e2bfeb3b67687ab05d43342852ab764
2016-05-15 16:35:22 +01:00
Nathan Froyd
1e312fab5b Bug 1220189 - use UniquePtr<T[]> instead of delete[] calls in mozglue/android/; r=darchons
We can do better than use raw new[]/delete[] calls all over this file:
we can factor out the code for APK library loading into a separate
function, and use UniquePtr there.  This refactoring will also
centralize the code for determining the path to a library within the
APK.
2015-10-30 11:16:24 -04:00
Jim Chen
aacb32b312 Bug 1207642 - Work around Dalvik bug by realigning stack on JNI entry. r=snorp
Use the force_align_arg_pointer attribute to force realigning stack at JNI entry points.
2015-10-21 08:27:00 -04:00
Jim Chen
ee3de3a3c3 Bug 1192082 - Iniialize/deinitialize JNI in nsAppShell; r=snorp
First we need to set the Gecko thread JNIEnv* in nsAndroidStartup, but
after that we can initialize and deinitialize the rest of JNI, including
AndroidBridge, in GeckoAppShell. This makes nsAppShell control the
AndroidBridge lifetime. Over time, parts of the AndroidBridge
functionality will be migrated to nsAppShell.
2015-08-13 00:53:40 -04:00
Gabriele Svelto
17358b10b8 Bug 858928 - Switch XRE_StartupTimelineRecord() from PRTime to TimeStamp. r=froydnj
--HG--
extra : rebase_source : b39bf19f68a124cefaf5ceac2adccb20e05bf279
2015-07-06 18:01:09 +02:00
James Willcox
47ca1c6198 Bug 1127464 - Assert when we unexpectedly unload libraries on Android r=glandium 2015-03-09 08:33:22 -05:00
James Willcox
bdedcc0b2a Bug 1108709 - Don't chdir on Android r=glandium 2015-02-02 17:49:44 -06:00
Eugen Sawin
de460cbc39 Bug 1101583 - Remove unused variables. r=glandium 2014-11-19 17:17:28 +01:00
Chris Pearce
f3af16c459 Bug 1088488 - Add GMPLoader interface to encapsulate loading GMPs, pass that to XRE_InitChildProcess. r=jesup,r=bsmedberg,r=glandium 2014-11-14 21:26:24 +13:00
Nick Alexander
430b02189b Bug 976699 - Place architecture specific assets in assets/$(ANDROID_CPU_ARCH). r=glandium 2014-11-03 20:04:20 -08:00
Jim Chen
ead154121a Bug 1066760 - Redirect mozalloc_abort through Java exception handling; r=snorp 2014-09-24 14:12:54 -04:00
Jim Chen
8117b170c6 Bug 1056941 - Remove extract libs parameter; r=glandium 2014-08-26 15:08:00 -04:00
Bill McCloskey
d52ab46335 Bug 1045847 - Initialize sProcessType really, really early (r=khuey) 2014-08-08 17:52:12 -07:00
Birunthan Mohanathas
a159fb8617 Bug 784739 - Switch from NULL to nullptr in mozglue/; r=ehsan 2013-11-11 14:14:45 -05:00
Nick Alexander
0242a75718 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
a7befac654 Bug 876110 - Manually set fennec process ptraceable on non release builds. r=kats 2013-05-28 09:44:57 +02:00
Mike Hommey
32562dee67 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
Gabriele Svelto
a8c937e2a1 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
Mike Hommey
aaed6c5d7f Bug 859763 - Remove more remains of the old linker. r=blassey 2013-04-10 09:02:32 +02:00
Nathan Froyd
0f42f822c1 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
f2ce301848 Bug 855824 - Get rid of the lib.id file on Android. r=blassey 2013-04-09 14:05:07 +02:00
Gabriele Svelto
fc85f865dd 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
Mike Hommey
347a7c2d09 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
8cf8cff7ce Backout changeset f12e5c87adf6 (bug 852950) because it breaks running from dist/bin 2013-03-20 23:59:45 +01:00
Mike Hommey
fa1c295631 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 Hommey
34ea330cd0 Bug 648407 - Support loading the folded library on Android. r=blassey 2013-03-17 08:02:35 +01:00
Mike Hommey
ce277304e9 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
Kartikaya Gupta
00928b8a5e Bug 794982 - Autogenerate libxul JNI stubs and fail build if they change. r=glandium 2013-02-07 09:37:06 -05:00
Kartikaya Gupta
4486494833 Bug 794982 - Extract non-libxul native JNI functions from GeckoAppShell. r=glandium, cpeterson 2013-02-07 09:37:06 -05:00
Mike Hommey
4256e397e3 Bug 825901 - Remove the old linker code. r=blassey 2013-01-03 08:43:26 +01:00
Vladimir Vukicevic
bb65cff7d7 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
Vicamo Yang
01e53d6362 Bug 775997 - Part 2/2: Android implementation. r=dougt 2012-11-06 13:32:07 -08:00
Vicamo Yang
3363ab5f81 Bug 742790 - Part 4/5: Android implementation, r=mounir,blassey 2012-10-30 18:53:31 +08:00
Chris Lord
ae4d4e2f4d 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
Chris Peterson
a01aab1be1 Bug 793062 - Remove unused PostToJavaThread() and ExecuteNextRunnable(). r=blassey 2012-09-20 17:44:24 -07:00
Chris Peterson
68edfe8314 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
30e0f551ce Bug 687267 - Initial support for Flash on Honeycomb r=bgirard,vlad,jgilbert,blassey 2012-07-20 15:20:51 -04:00
Ed Morley
320a116efd Backout 4987ffd173a4 (bug 687267) for bustage 2012-07-23 14:47:54 +01:00
James Willcox
752928c2eb 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
cb94cc2ce1 Bug 776142 - Back out bug 687267 / changeset 8571114112b2 on a CLOSED TREE. 2012-07-22 14:02:18 +02:00
James Willcox
5517ea9fde Bug 687267 - Initial support for Flash on Honeycomb r=bgirard,vlad,jgilbert 2012-07-20 15:20:51 -04:00
Chris Peterson
74cdd3bf3c 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
871b9e2a3a Bug 764021 - Cleanup Android use of StartupTimeline. r=blassey 2012-06-19 09:16:33 +02:00
Chris Peterson
675783dddd Bug 765116 - Part 2: mozglue/android: fix gcc -pedantic warnings. r=glandium 2012-06-18 09:06:59 -07:00
Chris Peterson
d6ba4d000b Bug 765116 - Part 1: mozglue/android: fix gcc -Wall warnings. r=glandium 2012-06-18 09:07:07 -07:00
Brad Lassey
378cd4054d 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
James Willcox
dbd1c52af7 Bug 727421 - Implement full screen support for Flash on Android r=blassey 2012-05-30 12:10:49 -04:00