Carsten "Tomcat" Book
9eb45808ae
merge mozilla-inbound to mozilla-central a=merge
2016-04-20 11:50:29 +02:00
Shatur
31ec617e18
Bug 1250387 - Kill GckoConnectivityReceiver.java and improve GeckoNetworkManager.java r=grisha
2016-04-19 06:31:17 +05:30
Masayuki Nakano
cbe8f5268a
Bug 1259656 part.1 Rename WidgetEvent::refPoint to WidgetEvent::mRefPoint r=smaug
...
MozReview-Commit-ID: ESWM5ZyBpSR
--HG--
extra : rebase_source : c5e1e3f60bcdde2a7f6c399e72430b29a3e552cd
2016-04-18 23:09:02 +09:00
Randall Barker
a6e212d425
Bug 1265551 - Autocomplete popup lags behind pan/zoom position r=kats
2016-04-19 07:53:50 -07:00
Alastor Wu
0d34b81b5a
Bug 1249579 - part1 : request audio focus on Fennec. r=snorp.
...
MozReview-Commit-ID: 45qW0Wjmnad
--HG--
extra : transplant_source : %C0%D5%AE%95m%89cW%E9%F6oK%0F%BBm%8E%BD%C2%2A9
2016-04-18 18:48:19 +08:00
Jim Chen
5f8eefe278
Bug 1206822 - Handle JS exceptions in NativeJSContainer; r=snorp
...
Clear any JS exceptions in appropriate places in NativeJSContainer, so
the exceptions don't affect subsequent JS API calls. We don't actually
"handle" the exceptions because we throw a Java exception instead or it
is safe to ignore the JS exception.
2016-04-18 08:46:31 -04:00
Masayuki Nakano
07b6f24132
Bug 1259657 Rename WidgetGUIEvent::widget to WidgetGUIEvent::mWidget r=smaug
...
MozReview-Commit-ID: 167PQWJDEHW
--HG--
extra : rebase_source : 6cd44095b9f33e03190972f043087786cbd772f2
2016-04-14 17:03:14 +09:00
Kartikaya Gupta
f72cd76655
Bug 1250505 - Convert SynthesizeNativeTouchPoint and SynthesizeNativeTouchTap to take a LayoutDeviceIntPoint instead of a ScreenPoint. r=njn
...
MozReview-Commit-ID: EybGq9b1B8Z
--HG--
extra : rebase_source : defc16fc066a3a40480fa4c94f3a742a267344a8
2016-04-15 06:39:36 -04:00
Milan Sreckovic
e0b2b9e425
Bug 1259513: Make gfxContext constructor private, use a utility function that can return nullptr. r=bas,lsalzman
...
MozReview-Commit-ID: rHhLEDZEQt
--HG--
extra : rebase_source : 4988f3f488c19dd35a9979e96f78a5511ee8f3d2
2016-04-12 15:18:11 -04:00
Nathan Froyd
9fb29c89bf
Bug 1263708 - remove unused gWidgetLog in Android's nsAppShell; r=snorp
2016-04-12 10:48:24 -04:00
Mark Capella
7fad4e451f
Bug 1218955 - Remove nsIMEPicker, r=jchen
2016-04-07 21:30:07 -04:00
Randall Barker
d2124b8263
Bug 1257959 - Dynamic toolbar transition seems to slow down flings r=kats
2016-04-06 14:42:01 -07:00
Jim Chen
8af38dfebc
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
2bb3a5b2e1
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
8318ca75b7
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
0391aa89f2
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
Masayuki Nakano
57445d0047
Bug 1259668 Rename WidgetTouchEvent::touches to WidgetTouchEvent::mTouches r=smaug
...
MozReview-Commit-ID: FLbows8davI
--HG--
extra : rebase_source : b564d09aa76311793a78d80b6c78c91e232edc47
2016-03-30 18:44:28 +09:00
Randall Barker
3eeb55a5ff
Bug 1257269 - Panning up in a scrollable element should not hide the toolbar r=kats,jchen
2016-04-01 16:07:29 -07:00
Mouaad
f3c1e51f7d
Bug 1255394 - Restrictions: Fix java package. r=sebastian
...
MozReview-Commit-ID: XzS7bSaXhW
--HG--
extra : rebase_source : 65844d0e0e381fc54da4f678b5dcf7257c2322e0
2016-03-31 17:30:43 +02:00
Masayuki Nakano
e9a1bcb370
Bug 1259658 Rename WidgetInputEvent::modifiers to WidgetInputEvent::mModifiers r=smaug
...
MozReview-Commit-ID: 7avEiqKfaHA
--HG--
extra : rebase_source : ffb6fbe424a4d5c2799444223608e03237e7c7a2
2016-03-31 17:03:00 +09:00
Eugen Sawin
0715884307
Bug 1232911 - [2.2] Add VPX decoding blocking support. r=snorp
2016-03-30 13:19:33 +02:00
Kyle Huey
d9265a3eaf
Bug 1259294: Part 2 - Use MOZ_ALWAYS_SUCCEEDS. r=froydnj
2016-03-28 10:28:15 -07:00
Arata Furukawa
676913b9bb
Bug 1259655 - part 1 Rename WidgetEventTime::time to WidgetEventTime::mTime r=masayuki
...
MozReview-Commit-ID: 7lBCEVkanvF
--HG--
extra : source : d629f018d02594951b7deccf1e1fce279d04694c
2016-03-28 13:29:42 +09:00
Jim Chen
bcb596d239
Bug 1257319 - Remove BROADCAST GeckoEvent; r=me
...
Remove the now-obsolete BROADCAST GeckoEvent.
2016-03-23 14:42:38 -04:00
Jim Chen
d6e1f310e4
Bug 1257319 - Don't use broadcast event in AndroidContentController; r=rbarker
...
We should use observer service directly instead of broadcast event.
2016-03-23 14:42:38 -04: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
Jim Chen
84972cba31
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
0f5bdcdccf
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
2f948d1235
Backed out changeset bba3d09859d6 (bug 1257319)
2016-03-23 10:55:12 +01:00
Carsten "Tomcat" Book
2d9af02ea5
Backed out changeset 9d6577fd74f3 (bug 1257319)
2016-03-23 10:55:08 +01:00
Carsten "Tomcat" Book
15ef5dbe45
Backed out changeset 48d6faa3bf0f (bug 1257319)
2016-03-23 10:55:06 +01:00
Jim Chen
126366bd4a
Bug 1257319 - Remove BROADCAST GeckoEvent; r=me
...
Remove the now-obsolete BROADCAST GeckoEvent.
2016-03-22 22:24:32 -04:00
Jim Chen
92c9a70aa5
Bug 1257319 - Don't use broadcast event in AndroidContentController; r=rbarker
...
We should use observer service directly instead of broadcast event.
2016-03-22 22:24:31 -04: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
Jim Chen
2025f2f89b
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
David Anderson
f3dc22db8d
Rename PCompositor to PCompositorBridge. (bug 1258479 part 2, r=mattwoodrow)
...
--HG--
rename : gfx/layers/ipc/CompositorChild.cpp => gfx/layers/ipc/CompositorBridgeChild.cpp
rename : gfx/layers/ipc/CompositorChild.h => gfx/layers/ipc/CompositorBridgeChild.h
rename : gfx/layers/ipc/CompositorParent.cpp => gfx/layers/ipc/CompositorBridgeParent.cpp
rename : gfx/layers/ipc/CompositorParent.h => gfx/layers/ipc/CompositorBridgeParent.h
2016-03-22 14:08:38 -04:00
Nick Alexander
e90bd4aabb
Bug 1256401 - Part 2: Remove references to b2gdroid. r=fabrice
...
MozReview-Commit-ID: 63yJGdgPbhe
--HG--
extra : rebase_source : 2256e0a12588703a83f4cba06971231ac3c64592
extra : amend_source : 1f35a04191f37225986bd7ff4d0b6b2c34a71b05
extra : histedit_source : 82d351700936c8e1297eeca91ce00f96340e2f2c
2016-03-18 14:41:51 -07:00
Jim Chen
15ee4d0aaa
Bug 1255461 - Notify pref handlers when pseudo-prefs change; r=snorp
...
When "pseudo-prefs" change, the Java side expects the same change
notification as regular prefs.
2016-03-18 15:18:51 -04:00
Makoto Kato
a2d62a5ab3
Bug 1255707 - Part 1. Remove ContentCreationNotifier. r=snorp
...
ContentCreationNotifier is unnecessary because nsWindow::GetAndroidScreenBounds is ununsed after bug 1182665
MozReview-Commit-ID: JvchWCuxf96
--HG--
extra : rebase_source : 677e5701f3b1923fcd63f98f6f5d4b1bcc40884d
2016-03-15 11:40:12 +09:00
Masayuki Nakano
e65433cc66
Bug 1137572 part.3 Use pseudo IME context when TextEventDispatcher has input transaction which is not for native event handler r=smaug
2016-03-16 13:47:47 +09:00
Randall Barker
9a7d54c34b
Bug 1251346 - Fennec should not generate touch events from mouse events. r=kats
2016-03-14 16:56:46 -07:00
Randall Barker
103ad74923
Bug 1248090 - Fix nsWindow::NPZCSupport unsafe usage of nsWindow::WidgetToScreenOffset r=snorp
2016-03-11 11:03:50 -08:00
Randall Barker
960adce8b4
Bug 1232338 - part 2, Fix mouse hover events to have correct refPoint value when C++APZ is enabled r=jchen
2016-03-11 11:03:50 -08:00
Jim Chen
2b624272eb
Bug 1254629 - Ensure content root is in document when flushing IME changes; r=esawin
...
One work-around for the bug is to ensure that our content root is in a
document when flushing IME changes, because when an input becomes
hidden, the previous content root is removed from the document.
2016-03-11 13:47:22 -05:00
Jim Chen
fc50ab814f
Bug 1254629 - Make onKeyEvent more efficient; r=esawin
...
When handling synthetic keys, don't remove existing compositions and
don't check for certain early exit conditions.
2016-03-11 13:47:22 -05:00
Mark Capella
aa9ca8ef90
Bug 1252802 - Web page scrolls when dragging caret in editable, r=snorp
2016-03-10 18:06:13 -05:00
Carsten "Tomcat" Book
6e681479dc
Merge mozilla-central to fx-team
2016-03-04 13:40:08 +01:00
Sebastian Kaspari
d652a7e6b4
Bug 1240710 - Pick (temporary) download directory depending on whether permission has been granted. r=nalexander,paolo,jchen
...
As soon as the user clicks on a link to download a file Gecko will start the download - even before prompting the
user. This led to problems when the user hadn't granted the permission to write to the downloads directory yet. The
download would fail even though the user (later) accepted the permission.
With this patch we will start the download to the app's cache directory (only if we do not have the permission) and
prompt the user. As soon as the user has accepted the permission the download will be moved to the public downloads
directory (even while still downloading). If the permission is denied the download will be cancelled.
After the permission has been granted all subsequent downloads will start writing to the downloads directory
directly.
MozReview-Commit-ID: CCqk9h7Sxor
--HG--
extra : rebase_source : 1634a39dcf6fff2d8eca88e28b3f3fb72dc97540
2016-02-18 15:11:42 +00:00
Makoto Kato
cb4e448046
Bug 1252808
- Don't use mozilla_sampler_stop() directly. r=snorp
...
When SPS profiler is disabled (breakpad is disabled etc), mozilla_sampler_stop() is undefined. We should use profiler_stop() instead. profiler_stop calls mozilla_sampler_stop() when SPS profiler is built.
MozReview-Commit-ID: LmuDJEQV7Pr
--HG--
extra : rebase_source : 741a68fea1a76152d332c1ce97a926dab41d4073
2016-03-03 18:16:56 +09:00
Jim Chen
a0129dc275
Bug 1250314 - Let changes flush when committing or canceling composition; r=esawin
...
Flush IME changes when committing or canceling the composition, before
sending a notification, so that the Gecko and Java sides are on the same
page.
Also, use the GeckoEditableListener constants when calling notifyIME so
we don't rely on the Gecko platform constants having the same values as
our Java constants.
2016-02-26 14:38:57 -05:00