Mike Hommey
11a4734e0d
Bug 1332523 - Remove nsXPCOMGlue.h. r=bsmedberg
...
--HG--
extra : rebase_source : 7a0b2441f768cbdef1a5b51139f8ecd4a6fde0c1
2017-01-13 07:56:05 +09:00
Mike Hommey
bebd095c4c
Bug 1306327 - Use the new XRE Bootstrap API in Firefox for Android. r=bsmedberg
...
Here, we also modify APKOpen to use the XPCOM glue loading process
instead of custom symbol resolution, so that the Bootstrap API can be
used in a more straightforward manner.
--HG--
extra : rebase_source : 55037ba30ca66a090b73923a3ce8df5b054bf47a
2016-12-17 06:48:01 +09:00
Benjamin Smedberg
d37894f60d
Bug 1321593 part A - Refactor nsXREAppData: 1) make nsXREAppData strongly own its members 2) rename it to mozilla::XREAppData 3) separate out the static compiled data into StaticXREAppData 4) Remove XRE_CreateAppData and XRE_FreeAppData 5) remove the struct size and related size-checking code which was only ever useful for cross-version compatibility, r=glandium
...
MozReview-Commit-ID: CQv1UrSaw4D
--HG--
rename : xpcom/build/nsXREAppData.h => xpcom/build/XREAppData.h
rename : xpcom/glue/AppData.cpp => xpcom/glue/XREAppData.cpp
extra : source : eae2252a519f3ac5850f5110a6a1be45891ea5e9
2016-12-02 09:07:24 -05:00
Sebastian Hengst
27bd22acd7
Backed out changeset eae2252a519f (bug 1321593) for leaks, e.g. in clipboard and jetpack tests. r=backout
...
--HG--
rename : xpcom/build/XREAppData.h => xpcom/build/nsXREAppData.h
rename : xpcom/glue/XREAppData.cpp => xpcom/glue/AppData.cpp
2016-12-12 22:10:17 +01:00
Benjamin Smedberg
835aaa0cad
Bug 1306327 part A - NS_EXPORT macro in APKOpen.h can conflict with nscore.h: rename it to APKOPEN_EXPORT to avoid build issues on a CLOSED TREE, r=glandium
...
MozReview-Commit-ID: 5Y08hwtc7s2
--HG--
extra : source : b1a3d2e42a4e38ca49f7316bef5ac5de9340f940
extra : amend_source : 7858b1690ccf42619c88dd3c9a2984dedebd4e65
2016-11-29 14:27:30 -05:00
Benjamin Smedberg
4df1abc2c0
Bug 1321593 part A - Refactor nsXREAppData: 1) make nsXREAppData strongly own its members 2) rename it to mozilla::XREAppData 3) separate out the static compiled data into StaticXREAppData 4) Remove XRE_CreateAppData and XRE_FreeAppData 5) remove the struct size and related size-checking code which was only ever useful for cross-version compatibility, r=glandium
...
MozReview-Commit-ID: CQv1UrSaw4D
--HG--
rename : xpcom/build/nsXREAppData.h => xpcom/build/XREAppData.h
rename : xpcom/glue/AppData.cpp => xpcom/glue/XREAppData.cpp
extra : rebase_source : c909ee206d31b110c6a38cc466ef24a465ee2ae5
extra : histedit_source : e86c3900412229f99ade29c5b8e3943d943ec718
2016-12-02 09:07:24 -05:00
Randall Barker
de17af98b5
Bug 1314466 - part 5, Add service process manager r=snorp
2016-11-14 16:45:23 -08:00
Eugen Sawin
73f2949cad
Bug 1309708 - [1.2] Delete reported library mapping on close. r=glandium
2016-11-10 15:47:59 +01:00
John Lin
ce9e7de84b
Bug 1295106 - Part 4: implement JNI methods for shared memory buffers. r=nalexander
...
MozReview-Commit-ID: 7tXhV6KHzO8
--HG--
extra : rebase_source : c3f97ff1b31011e67c13dbc72a382b0f8bcd53fd
2016-10-06 16:21:24 +08:00
Eugen Sawin
06c47357d2
Bug 1298090 - [1.6] Extract and cache native libraries on APK update. r=glandium,snorp
2016-10-10 22:59:27 +02:00
Sebastian Hengst
cdcc9e20da
Bug 1304829 - rename RELEASE_BUILD to RELEASE_OR_BETA: main part. r=ted,Mossop
...
MozReview-Commit-ID: 1lCt0xTMV5O
2016-10-08 11:14:49 +02:00
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
cb7a422ffa
Bug 1296744 - Update auto-generated bindings; r=me
2016-08-26 12:26:46 -04:00
Jim Chen
da50d1a62c
Bug 1297462 - Combine Java exception stack code paths; r=snorp
...
Right now we report Java exception stacks through two code paths:
- GeckoAppShell.reportJavaCrash for exceptions caught by Java code
- jni::HandleUncaughtException for exceptions caught by native code
This patch combines the code for reporting the Java stack trace into
ReportException, to make it easier to add new features such as reporting
OOM exceptions.
2016-08-26 12:25:57 -04:00
Jim Chen
adde79eb82
Bug 1294481 - Update auto-generated bindings; r=me
2016-08-23 18:52:30 -04:00
Jim Chen
7b67a45c6a
Bug 1294479 - Update auto-generated bindings; r=me
2016-08-19 17:17:25 -04:00
Jim Chen
f78bb41597
Bug 1294482 - Move onFullScreenPluginHidden out of AndroidJNI.cpp; r=snorp
...
Move onFullScreenPluginHidden out of AndroidJNI.cpp and into a new-style
native method in nsAppShell.cpp.
2016-08-18 18:04:11 -04:00
Jim Chen
16c96d39f8
Bug 1294071
- Move dispatchMemoryPressure out of GeckoAppShell; r=snorp
...
Move dispatchMemoryPressure out of GeckoAppShell and AndroidJNI.cpp
2016-08-18 18:04:11 -04:00
Jim Chen
ef76c29f7a
Bug 1294069 - Move notifyBatteryChange out of GeckoAppShell; r=snorp
...
Move notifyBatteryChange out of GeckoAppShell and AndroidJNI.cpp.
2016-08-18 18:04:11 -04:00
Jim Chen
f76d27da14
Bug 1294710 - Move UI thread methods out of GeckoAppShell; r=snorp
...
Move methods to run callbacks on UI thread out of GeckoAppShell and into
GeckoThread.
2016-08-18 18:04:11 -04:00
Randall Barker
983cc6b2d1
Bug 1291373 - [geckoview] part 4, Remove GeckoEvent and AndroidGeckoEvent r=jchen
2016-08-16 14:33:43 -07:00
Jim Chen
7b6a176b60
Bug 1292323 - Update auto-generated bindings; r=me
2016-08-12 23:15:52 -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
Carsten "Tomcat" Book
1f5f6ac888
Merge mozilla-central to fx-team
2016-08-04 16:06:09 +02:00
Jim Chen
2dbcd17eca
Bug 1288821 - Update auto-generated bindings; r=me
2016-08-04 09:17:54 -04:00
Kartikaya Gupta
6962e151a2
Bug 1273356 - Remove the unused and incorrect ComputeRenderIntegrity codepath for computing checkerboard. r=rbarker
...
MozReview-Commit-ID: 4i1rmeqrkZ1
2016-08-03 11:59:08 -04:00
Tom Tromey
5538d692d3
Bug 1286877 - do not set c-basic-offset for python-mode; r=gps
...
This removes the unnecessary setting of c-basic-offset from all
python-mode files.
This was automatically generated using
perl -pi -e 's/; *c-basic-offset: *[0-9]+//'
... on the affected files.
The bulk of these files are moz.build files but there a few others as
well.
MozReview-Commit-ID: 2pPf3DEiZqx
--HG--
extra : rebase_source : 0a7dcac80b924174a2c429b093791148ea6ac204
2016-07-14 10:16:42 -06:00
Makoto Kato
c5a642ffaa
Bug 1287015 - Part 1. Remove SurfaceBits and getSurfaceBits. r=snorp
...
MozReview-Commit-ID: 2dFvgwxavgx
--HG--
extra : rebase_source : e1424a90e6bcc3c53985d9582ac89facc8818bc8
extra : histedit_source : f7040478e0bb6952d09cc46376441e71abe021de
2016-07-15 11:02:04 +09:00
Jim Chen
1ea9e5b8da
Bug 1285570 - Update auto-generated bindings; r=me
2016-07-11 18:07:35 -04:00
Jim Chen
ae02c9f568
Bug 1283882 - Update auto-generated bindings; r=me
2016-07-08 11:39:10 -04:00
Jim Chen
11c94a2c71
Bug 1283844 - Update auto-generated bindings; r=me
2016-07-08 11:39:09 -04:00
Nathan Froyd
313f1bfddf
Bug 1278863 - fix delete/delete[] mismatch in NativeCrypto; r=snorp
...
This mismatch doesn't affect us with everything going through jemalloc,
but clang does warn about it, so let's get rid of the warning.
2016-06-09 18:44:34 -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
Chris Peterson
353ee65255
Bug 1272513 - Part 1: Suppress -Wshadow warnings-as-errors in some directories. r=glandium
2016-05-11 00:00:01 -07:00
Jim Chen
be66658bcc
Bug 1257319 - Update auto-generated bindings; r=me
...
Update auto-generated bindings. The jni-stubs.inc change is due to the
fact that we still have old-style native methods in GeckoAppShell.
2016-03-23 14:42:38 -04:00
Carsten "Tomcat" Book
2f948d1235
Backed out changeset bba3d09859d6 (bug 1257319)
2016-03-23 10:55:12 +01:00
Jim Chen
e4028af97d
Bug 1257319 - Update auto-generated bindings; r=me
...
Update auto-generated bindings. The jni-stubs.inc change is due to the
fact that we still have old-style native methods in GeckoAppShell.
2016-03-22 22:24:31 -04:00
Ms2ger
975233737a
Bug 1252112 - Remove obsolete rules to copy prcpucfg.h around; r=ted
2016-03-01 09:17:29 +01:00
Jim Chen
10166a711a
Bug 1238761 - Switch NativePanZoomController to use native methods; r=rbarker
...
This patch turns NativePanZoomController's MotionEvent handler into a
native method, and it adds the WrapForJNI annotations to all native
methods so that bindings will be automatically generated for them.
2016-01-15 13:05:44 -05:00
Nathan Froyd
c5ae5ab0c2
Bug 1237009
- avoid extra AddRef/Release in Android NativeZip JNI code; r=darchons
...
We don't need to take an extra ref when we're just going to release the
one we already have. Just return our ref directly.
2016-01-04 20:18:41 -05:00
Jim Chen
ac9893acc0
Bug 1233812 - Remove obsolete methods in GeckoAppShell; r=snorp
...
These methods were from the XUL Fennec days and are obsolete.
2015-12-23 22:03:35 -05:00
Jim Chen
61ae086c99
Bug 1227706 - Remove unused GLController calls and events; r=snorp
...
Remove GLController calls and events in GeckoAppShell and GeckoEvent
that were made obsolete by the new native calls.
2015-12-23 22:03:34 -05:00
Kartikaya Gupta
d8274721d5
Bug 1230522 - Make some unimplemented functions not be native. r=rbarker
...
--HG--
extra : commitid : 2Gky2VCfkfA
2015-12-10 17:23:07 -05:00
Reuben Morais
b51e2336d8
Bug 1212679 - Handle KitKat default messaging app intents. r=fabrice r=snorp
2015-12-08 14:43:09 -05:00
Sebastian Kaspari
8f25247ae4
Bug 1197720 - NativeCrypto (SHA-256): Let caller define number of bytes in 'str' to update from. r=snorp
...
In Java we will call this method with byte array buffers we use to read from a stream. Java does not
guarantee to completely fill the buffer (and can't at the end of a stream). Passing the number of bytes
to read from the array to NativeCrypto avoids copying bytes between arrays of various lengths.
--HG--
extra : commitid : 7Vp3hqUE08T
extra : amend_source : 89845bccc20cfe36b421a568e52bdaa1be2f2800
2015-11-30 15:59:56 +01:00
Dylan Roeh
035e729b8f
Bug 1221040 - Add SHA-256 support to NativeCrypto and relevant tests to robocop. r=snorp
2015-11-18 13:10:51 -06:00
Randall Barker
02228538d3
Bug 1223440 - Implement NativePanZoomController::setIsLongpressEnabled so long-press detection can be disabled during testing. r=kats
...
--HG--
extra : commitid : al8R68DZJ5
2015-11-10 12:47:48 -05:00
Mike Hommey
762aba02cd
Bug 1221453 - Use ObjDirPaths for GENERATED_INCLUDES and merge with LOCAL_INCLUDES. r=gps
2015-11-06 09:59:21 +09: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