Jim Chen
9e607e9dd3
Bug 1286663 - Update existing code using ByteBuffer; r=me
2016-07-21 13:49:04 -04:00
Carsten "Tomcat" Book
95f8860e7a
Backed out changeset c402d9e91897 (bug 1265386)
2016-07-21 13:58:46 +02:00
Thomas Zimmermann
f9c80c3f21
Bug 1265386: Convert code in widget/ to |UniquePtr|, r=nfroyd
...
This patch replaces all references to |nsAutoPtr| in widget/ by references
to |UniquePtr|. |nsAutoPtr| is deprecated and will go away soon.
MozReview-Commit-ID: 8xAS79wTkPC
2016-07-21 13:29:33 +02:00
Chris Peterson
6c0f810682
Bug 1277106 - Part 2: Expand MOZ_UTF16() strings to u"" string literals. r=Waldo
2016-07-20 22:03:25 -07:00
Carsten "Tomcat" Book
be31f19100
Backed out changeset 7cd055ed9366 (bug 1286663) for android bustage on a CLOSED TREE
2016-07-21 08:18:59 +02:00
Carsten "Tomcat" Book
b366a410a1
Backed out changeset 142caeafd119 (bug 1286663)
2016-07-21 08:18:23 +02:00
Carsten "Tomcat" Book
58f5467519
Backed out changeset 684888aeee81 (bug 1287946)
2016-07-21 08:07:12 +02:00
Carsten "Tomcat" Book
8cc058c83a
Backed out changeset d8a07729a34c (bug 1286663)
2016-07-21 08:04:52 +02:00
Jim Chen
0ea27022be
Bug 1287946 - Update existing code to use mozilla::java; r=me
2016-07-21 00:42:26 -04:00
Jim Chen
d5a351d0e4
Bug 1286663 - Remove THUMBNAIL event from GeckoEvent; r=snorp
...
Remove the now-obsolete THUMBNAIL event from GeckoEvent, as well as its
implementations in nsAppShell and AndroidBridge.
2016-07-21 00:41:13 -04:00
Jim Chen
e58d307fbe
Bug 1286663 - Add request thumbnail native method to ThumbnailHelper; r=snorp
...
Add and use a request thumbnail native method call in ThumbnailHelper,
instead of using the THUMBNAIL event in GeckoEvent.
2016-07-21 00:41:13 -04:00
Jim Chen
3bd23d057b
Bug 1286663 - Update existing code using ByteBuffer; r=me
2016-07-21 00:41:13 -04:00
Jim Chen
b53f227487
Bug 1286925 - Remove screen orientation event from GeckoEvent; r=snorp
...
Remove the now-obsolete SCREENORIENTATION_CHANGED event from GeckoEvent.
2016-07-20 21:44:48 -04:00
Jim Chen
ddaa038b1c
Bug 1286925 - Add orientation change method in GeckoScreenOrientation; r=snorp
...
Add and use the onOrientationChanged native method in
GeckoScreenOrientation in place of the screen orientation event in
GeckoEvent.
2016-07-20 21:44:48 -04:00
Jim Chen
da993a6fe6
Bug 1286662 - Remove network events from GeckoEvent; r=snorp
...
Remove the now-obsolete network events from GeckoEvent.
2016-07-20 21:44:48 -04:00
Jim Chen
3ce5e25d0d
Bug 1286662 - Add native methods for GeckoNetworkManager notifications; r=snorp
...
Add and use onConnectionChanged and onStatusChanged native methods in
GeckoNetworkManager in place of the network events in GeckoEvent.
2016-07-20 21:44:48 -04:00
Jim Chen
f66eb37a0d
Bug 1285572 - Remove LOAD_URI event; r=snorp
...
Remove the LOAD_URI event, which is now obsolete, from GeckoEvent.
2016-07-20 21:43:34 -04:00
Jim Chen
1734a48c65
Bug 1285572 - Move ResolveURI to nsAppShell; r=snorp
...
Change ResolveURI to be a member function of nsAppShell, so that code
outside of nsAppShell can use it.
2016-07-20 21:43:34 -04:00
Jim Chen
ac6891b4f6
Bug 1285570 - Implement VISITED event as native method; r=snorp
...
Convert the VISITED event in GeckoEvent to a native method call in
GeckoAppShell.
2016-07-11 18:07:35 -04:00
Jim Chen
528399d686
Bug 1283882 - Implement LOCATION_EVENT as native call; r=snorp
...
Convert LOCATION_EVENT in GeckoEvent to a native method call in
GeckoAppShell.
2016-07-08 11:39:10 -04:00
Jim Chen
3ee69c99e1
Bug 1283844 - Implement SENSOR_EVENT as native call; r=snorp
...
Remove SENSOR_EVENT from GeckoEvent and implement it as a native method
in GeckoAppShell that is invoked by the sensor event listener in
GeckoAppShell.
2016-07-08 11:39:09 -04:00
Chih-Yi Leu
f307964a4d
Bug 1221730 - Postpone singleton release in GamepadPlatformService::MaybeShutdown. r=baku
2016-06-28 00:27:00 +02:00
Chih-Yi Leu
50630611e7
Bug 1221730 - Move gamepad API to PBackground. r=qdot, r=baku
2016-06-28 00:25:00 +02:00
SUN Haitao
8e77aec824
Bug 1252650 - Add a 'data' parameter to GeckoThread.createServices. r=kit
2016-04-16 14:19:37 +08:00
Carsten "Tomcat" Book
30b801493e
merge mozilla-inbound to mozilla-central a=merge
2016-04-28 16:30:24 +02:00
Jan Henning
5837d874ba
Bug 1263110 - Part 3 - Remove the remains of the old crash loop detection. r=mfinkle r=sebastian
...
The number of recent successive crashes is now tracked wholly within Java, so we can remove the old Gecko pref and the associated reset code.
MozReview-Commit-ID: 7bR9wqJsLoi
2016-04-09 17:51:57 +02:00
Kyle Huey
f3e34e67b3
Bug 1266595: Replace Chromium Task with Runnable. r=froydnj
2016-04-27 17:06:05 -07:00
Kyle Huey
a9cf047227
Bug 1265927: Move nsRunnable to mozilla::Runnable, CancelableRunnable to mozilla::CancelableRunnable. r=froydnj
2016-04-25 17:23:21 -07:00
Nathan Froyd
b8b87ee970
Bug 1266401 - stop constructing temporary strings in Android's appshell; r=snorp
...
We don't have to construct temporary strings to get at the raw
characters of a string.
2016-04-21 12:52:42 -04:00
Jim Chen
fedfd24301
Bug 1252650 - Add intent to create XPCOM services in GeckoService; r=snorp
...
Add support for Intents that launch GeckoService and create services
based on a category registered with the category manager.
2016-04-20 15:06:13 -04:00
Shatur
723ff2e162
Bug 1250387 - Kill GckoConnectivityReceiver.java and improve GeckoNetworkManager.java r=grisha
2016-04-19 06:31:17 +05:30
Nathan Froyd
fd54fb9eb1
Bug 1263708 - remove unused gWidgetLog in Android's nsAppShell; r=snorp
2016-04-12 10:48:24 -04:00
Jim Chen
ce22b65b4b
Bug 1260243 - Remove sendEventToGeckoSync and related code; r=me
...
We can remove GeckoAppShell.sendEventToGeckoSync and related code
because GeckoThread.waitOnGecko is replacing it.
2016-04-05 21:43:41 -04:00
Jim Chen
f9326bedaf
Bug 1260243 - Convert backgrounding/foregrounding GeckoEvent to native calls; r=snorp
...
Convert APP_BACKGROUNDING and APP_FOREGROUNDING events in GeckoEvent to
native calls onPause and onResume in GeckoThread, respectively.
2016-04-05 21:43:41 -04:00
Jim Chen
0a0568bae4
Bug 1260243 - Add GeckoThread.waitOnGecko; r=snorp
...
GeckoThread.waitOnGecko blocks the current thread and waits for previous
events on the Gecko thread to finish executing before continuing. This
is implemented by synchronously running a dummy event on the Gecko
thread. This patch also lets us get rid of sendEventToGeckoSync in
GeckoAppShell.
2016-04-05 21:43:40 -04:00
James Willcox
c954a908ff
Bug 1222098 - Devicemotion event timestamp should return values from Android sensor API and not Gecko. r:smaug
2016-04-04 12:22:59 -05:00
Jim Chen
dde137fc0d
Bug 1257319 - Remove BROADCAST GeckoEvent; r=me
...
Remove the now-obsolete BROADCAST GeckoEvent.
2016-03-23 14:42:38 -04:00
Jim Chen
ec33750925
Bug 1257319 - Add notifyObservers methods to GeckoAppShell; r=snorp
...
Add notifyObservers and the synchronous syncNotifyObservers methods to
GeckoAppShell to replace the BROADCAST event.
2016-03-23 14:42:38 -04:00
Carsten "Tomcat" Book
684f8d7e60
Backed out changeset 0b0b229e5968 (bug 1257319) for causing merge conflicts when uplifting to mozilla-central
2016-03-23 10:55:31 +01:00
Carsten "Tomcat" Book
26a9134e8a
Backed out changeset 48d6faa3bf0f (bug 1257319)
2016-03-23 10:55:06 +01:00
Jim Chen
8e1f418443
Bug 1257319 - Remove BROADCAST GeckoEvent; r=me
...
Remove the now-obsolete BROADCAST GeckoEvent.
2016-03-22 22:24:32 -04:00
Jim Chen
f736fc9776
Bug 1257319 - Add notifyObservers methods to GeckoAppShell; r=snorp
...
Add notifyObservers and the synchronous syncNotifyObservers methods to
GeckoAppShell to replace the BROADCAST event.
2016-03-22 22:24:31 -04:00
Jim Chen
beab71e409
Bug 1248695 - Check for null browser app object when handling UI telemetry events; r=snorp
...
The nsAppShell mBrowserApp object may not have been initialized when
handling UI telemetry events. In that case, we should bail instead of
crashing.
2016-02-16 16:57:49 -05:00
Jim Chen
82870a9c22
Bug 1244875 - Update JNI usages; r=snorp
...
Update JNI usages to match the changes in JNI templates.
2016-02-09 17:27:28 -05:00
Birunthan Mohanathas
bfee0fb40c
Bug 1235261 - Part 1: Rename nsAutoTArray to AutoTArray. r=froydnj
2016-02-02 17:36:30 +02:00
Jim Chen
408f9ac1e8
Bug 1243070 - Remove obsolete size-change code; r=snorp
...
Remove obsolete SIZE_CHANGED event and its handler in nsWindow. Also
remove some other supporting code (such as gAndroidBounds and the
FORCED_RESIZE event) that should be unnecessary by now.
2016-02-01 17:38:14 -05:00
Jim Chen
4231f47432
Bug 1243069 - Control GeckoThread state entirely from C++ code; r=snorp
...
Right now, we rely on browser.js sending Gecko:Ready, to set the
GeckoThread state to RUNNING upon receiving Gecko:Ready. This patch
gets rid of this dependency on browser.js and Gecko:Ready.
2016-02-01 17:38:14 -05:00
Jim Chen
f92aa52cc1
Bug 1243049 - Implement new PrefsHelper native methods; r=snorp
...
Implement the PrefsHelper native methods. The previous browser.js
implementation supported "pseudo-prefs" that did not exist as actual
prefs, but was accessible through PrefsHelper. In order to accommodate
these pseudo-prefs, we send observer notifications in order to
communicate with browser.js about prefs that we don't support.
2016-02-01 17:38:13 -05:00
Phil Ringnalda
d871b9515f
Back out 7 changesets (bug 1235261) for cpptest failures in TestTArray
...
CLOSED TREE
Backed out changeset d66c3f19a210 (bug 1235261)
Backed out changeset 467d945426bb (bug 1235261)
Backed out changeset 32b61df13142 (bug 1235261)
Backed out changeset c50bb8ed4196 (bug 1235261)
Backed out changeset 0ff0fa6fe81f (bug 1235261)
Backed out changeset df70e89669da (bug 1235261)
Backed out changeset 064969357fc9 (bug 1235261)
2016-01-31 10:10:57 -08:00
Birunthan Mohanathas
245cd6a02f
Bug 1235261 - Part 1: Rename nsAutoTArray to AutoTArray. r=froydnj
2016-01-31 17:12:12 +02:00