Commit Graph

19801 Commits

Author SHA1 Message Date
takayuki_yamaguchi
da0885219b Bug 1259675 - Clean up InternalTransitionEvent r=masayuki
MozReview-Commit-ID: 8fTJ4Z9yJGl

--HG--
extra : rebase_source : 7c461ee6124e4e7cce0a709b3dfe2c97c6df9e8f
2016-03-26 16:26:35 +09:00
Tetsuharu OHZEKI
8fe5a1b9d4 Bug 1259659 - rename from InternalUIEvent.detail to InternalUIEvent.mDetail. r=masayuki
MozReview-Commit-ID: FjqZ5D2NCFb

--HG--
extra : rebase_source : fad73cc04658b7891f6c5932f0da55db8ae1d615
2016-03-26 16:22:27 +09:00
Tetsuharu OHZEKI
2bc03e825a Bug 1259673 rename from InternalClipboardEvent.clipboardData to InternalClipboardEvent.mClipboardData. r=masayuki
MozReview-Commit-ID: GNELyxueTyN

--HG--
extra : rebase_source : e42df5d79366e2c781971b54ec64483a5f51c05d
2016-03-26 17:19:57 +09:00
takayuki_yamaguchi
85f5fd892b Bug 1257067 - modified XF86XK_ keysyms to GDK_ ones r=masayuki
MozReview-Commit-ID: 1UvswTZ2B6p

--HG--
extra : rebase_source : 7127f3959dee5d132f3c73337a546b29e046c3d7
2016-03-26 13:25:06 +09:00
Arata Furukawa
50e6b19fc3 Bug 1259679 - Space key shouldn't work as a space key if it's assigned to a function key. r=masayuki
Even if space key is pressed but it's assigned to a non-printable key, it shouldn't work as a space key because some users may assign Enter key or something to the space key.

MozReview-Commit-ID: 4av1n9GPfSf

--HG--
extra : rebase_source : d68de958406a9b0be252697336df7e79136abdfd
2016-03-26 14:06:16 +09:00
Masayuki Nakano
30630d4a6a Bug 1257760 TextInputHandler should dispatch keypress event even when a plugin has focus r=m_kato
When a plugin has focus, TextInputHandler shouldn't send native keydown event to interpretKeyEvents of NSView.  However, it should dispatch keypress events because shortcut key handlers wait following keypress event.

MozReview-Commit-ID: HpG108s2Rde

--HG--
extra : rebase_source : de0b76f0d1e78092f6e9cdcece22ab47a0810621
2016-03-23 15:31:54 +09:00
Tetsuharu OHZEKI
457fcdc348 Bug 1259676 - part4: reorder InternalAnimationEvent's members. r=masayuki
MozReview-Commit-ID: DVf0r4hDIDP

--HG--
extra : rebase_source : 7dd008304d58808d2ce57515a21a06fa7d32f868
2016-03-26 13:37:20 +09:00
Tetsuharu OHZEKI
34d28e65df Bug 1259676 - part3: rename from 'InternalAnimationEvent.pseudoElement' to 'InternalAnimationEvent.mPseudoElement'. r=masayuki
MozReview-Commit-ID: GBJtFdobipj

--HG--
extra : rebase_source : 528abb3d04e52547e6c4e13ea396e080406008b1
2016-03-26 13:37:20 +09:00
Tetsuharu OHZEKI
3aeb31cf0f Bug 1259676 - part2: rename from 'InternalAnimationEvent.elapsedTime' to 'InternalAnimationEvent.mElapsedTime'. r=masayuki
MozReview-Commit-ID: 4n5YQwxLeAx

--HG--
extra : rebase_source : 6c29d53092c7d1f84ef2ad38f44380c7579df270
2016-03-26 13:37:19 +09:00
Tetsuharu OHZEKI
693106452d Bug 1259676 - part1: rename from 'InternalAnimationEvent.animationName' to 'InternalAnimationEvent.mAnimationName'. r=masayuki
MozReview-Commit-ID: DK5Q477WoXu

--HG--
extra : rebase_source : 59f061c7835b6e2359ca937a06cf3890871a70ea
2016-03-26 13:37:19 +09:00
Jorg K
f372a0eb94 Bug 1254980 - Ensure that text/html is still written to the clipboard. r=enndeakin 2016-03-22 11:47:00 -04:00
Martin Stransky
4577ff8de2 Bug 1258989 - Switch gtk3drawing to a C++ file, r=karlt
--HG--
rename : widget/gtk/gtk3drawing.c => widget/gtk/gtk3drawing.cpp
extra : rebase_source : e9942bfc95c6e15c6406be73d43420eae06dfe1e
2016-03-23 03:49:00 +01:00
Jonathan Kew
28cbd6992f Bug 1254020 - Always compute theme scaling factor when per-monitor dpi aware, even if only a single display is currently present. r=emk 2016-03-24 11:10:17 +00:00
Jonathan Kew
5bebe5a758 Bug 1259065 - Don't constrain window position (only its size) when DPI-rescaling during a move. r=emk 2016-03-23 17:54:45 +00:00
Jonathan Watt
e09f239495 Bug 1259224 - Silence some warnings in the mac widget code. r=mstange 2016-03-07 02:10:17 +00:00
Sotaro Ikeda
ccef41ec11 Bug 1254897 - Recycle back buffer in BasicCompositor r=jrmuizel 2016-03-23 21:41:43 -07: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
Jonathan Kew
50c7a4cfac Bug 1248675 - Update the cached mBounds in nsChildView when its backing scale factor (display DPI) changes. r=mstange 2016-03-23 16:30:07 +00:00
Jonathan Kew
20c6827390 Bug 1256576 - Make sure texture is (re)initialized if the size changed. r=snorp 2016-03-23 14:38:31 +00: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
Masayuki Nakano
ccfe495436 Bug 1258153 Initialize mozilla::widget::Native key with actual inputting character if it's created for WM_CHAR r=m_kato
When user types a Unicode character with Alt + Numpad keys, recevied messages are:

1. WM_SYSKEYDOWN for Alt (VK_MENU)
2. WM_SYSKEYDOWN and WM_SYSKEYUP of Numpad keys
3. WM_KEYUP for Alt (VK_MENU)
4. WM_CHAR for the Unicode character

The WM_CHAR indicates Alt key with its scancode.  Then, we shouldn't set the key value of the keypress event as "Alt".  Instead of that, we should set key value to the inputted Unicode character.  Then, the keypress event won't be supprressed by WidgetKeyboardEvent::ShouldCauseKeypressEvents() in TextEventDispatcher (this is what the cause of bug 1253153 is.

MozReview-Commit-ID: 8KjOWvYcKMs

--HG--
extra : rebase_source : 463d3185a7074eb564afaf3bb453bbf6967d9677
2016-03-20 22:31:27 +09:00
Masayuki Nakano
399cac9177 Bug 1256589 part.7 Add PropagationStopped() to WidgetEvent r=smaug
MozReview-Commit-ID: 3eLDURWr6d9

--HG--
extra : rebase_source : 058ab0d76512622a63c792cb91eb83700743549a
extra : source : 5fda4309b3413d8227828dcfce585500290c0a04
2016-03-17 16:21:57 +09:00
Masayuki Nakano
cea0b9cf02 Bug 1256589 part.6 Move the implementation of IsTrusted() from dom::Event to WidgetEvent r=smaug
MozReview-Commit-ID: 1SgMbTL8csl

--HG--
extra : rebase_source : 748fa8a594176edf7b2addd038b8031019d0dd35
extra : source : f4ce36e68ce06c405a6fab31facc120b94709aed
2016-03-17 16:01:30 +09:00
Masayuki Nakano
8c8cbe0e4c Bug 1256589 part.5 Add DefaultPrevented() and DefaultPreventedByContent() to WidgetEvent r=smaug
MozReview-Commit-ID: 5q3QUPTf12Z

--HG--
extra : rebase_source : 83ed946b44910713a61c80bd21202aba9430dd2a
extra : source : 4eb2193814ab1958a65add0c8c307d07c646d61c
2016-03-22 16:47:52 +09:00
Masayuki Nakano
6181d95afb Bug 1256589 part.4 Move the implementation of PreventDefault() and add PreventDefaultBeforeDispatch() from dom::Event to WidgetEvent r=smaug
mDefaultPreventedByChrome is hacky. When PresShell handles Escape key events in fullscreen mode, it prevents default of every Escape key events and dispatch it only into chrome. After that, it check mDefaultPreventedByChrome if at least one call of preventDefault() occurred in chrome. Therefore, if we shouldn't set both mDefaultPreventedByChrome and mDefaultPreventedByContent to true before dispatching an event. This the reason why we need a special method, PreventDefaultBeforeDispatch() is needed for setting only mDefaultPrevented to true.

MozReview-Commit-ID: BPSq68GnWw6

--HG--
extra : rebase_source : f2f963afeba6994cc090efedebc29c0d9334c96d
extra : source : 1012dc095cc1b7236991a7befdbfbf174dc1c1af
2016-03-22 16:26:27 +09:00
Masayuki Nakano
2748ab1e88 Bug 1256589 part.3 Move the implementation of StopCrossProcessForwarding() from dom::Event to WidgetEvent r=smaug
MozReview-Commit-ID: KXeVxCJ05Mo

--HG--
extra : rebase_source : 2f8d49412e32eec4a0a8f599984d057637f491a1
extra : source : a68c4bb4878612d61425d87a47b4eca78f271240
2016-03-22 16:01:46 +09:00
Masayuki Nakano
823c6c0373 Bug 1256589 part.2 Move the implementation of StopImmediatePropagation() from dom::Event to WidgetEvent r=smaug
MozReview-Commit-ID: ERTfIhS8bBi

--HG--
extra : rebase_source : e67b968789b51c08ca4b9ccbea37462d7b509f0c
extra : source : 501ec2dfd279deeb85fad3b843676496da6dff3c
2016-03-17 11:57:42 +09:00
Masayuki Nakano
d185d40ab2 Bug 1256589 part.1 Move the implementation of StopPropagation() from dom::Event to WidgetEvent r=smaug
MozReview-Commit-ID: Br5eBgC8TbW

--HG--
extra : rebase_source : 0e5743583f80b3e9e09397f49bd438bfe0f49d06
extra : source : 745c9d855d209780a884bd7a3d2cd3cdc20632af
2016-03-17 11:17:42 +09: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
Masayuki Nakano
3af2033805 Bug 1154183 part.7 Don't dispatch preceding keydown events of reserved keypress events on content in the default event group r=smaug
MozReview-Commit-ID: 5zdkdfNxbxb
2016-03-22 15:05:25 +09:00
Masayuki Nakano
7bcaf602d0 Bug 1154183 part.2 eKeyDown event should have charCode value of following keypress event r=smaug
MozReview-Commit-ID: 9duzKfCFPro
2016-03-19 20:57:11 +09:00
Masayuki Nakano
963976b46d Bug 1154183 part.1 Move shortcut/access key candidate list creators from nsContentUtils to WidgetKeyboardEvent r=smaug
MozReview-Commit-ID: Ied6qEUc2Kz
2016-03-18 11:22:37 +09:00
Sotaro Ikeda
a8248d2037 Bug 1258094 - Use SurfaceFormat::B8G8R8A8 as back buffer surface r=jrmuizel 2016-03-22 17:30:52 -07: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
Nicolas Silva
390e6acf22 Fix b2g build after bug 1256693. r=gerard-majax 2016-03-22 14:50:57 +01:00
Carsten "Tomcat" Book
5d83e31d04 merge mozilla-inbound to mozilla-central a=merge 2016-03-22 12:14:15 +01:00
Makoto Kato
437a65f86c Bug 1033488 - Part 2. Make PuppetBidiKeyboard correctly on content process. r=masayuki
MozReview-Commit-ID: KtStkwxw54f
2016-03-22 13:13:09 +09:00
Aaron Klotz
e164a07c1e Bug 1256501: Fix warning C4312 with 64-bit VS2015 in widget/windows/nsWindow.cpp; r=jimm
MozReview-Commit-ID: 4JdQs90t4Fe

--HG--
extra : rebase_source : 1c974f4536f72f625a4e594d31ac06e7071d15b3
2016-03-21 13:27:00 -06:00
Karl Tomlinson
93260a97b3 bug 1257695 disable GTK3 deprecation warnings in widget/gtk r=acomminos
MozReview-Commit-ID: 4tFJXIfhfTI

--HG--
extra : rebase_source : 720964966bc2f5f61da34c378f4faeabd4f3dd57
2016-03-17 22:45:01 +13: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
Karl Tomlinson
bc64779561 bug 1211892 read -unico-border-gradient of early Unico versions for ThreeDHighlight and ThreeDShadow r=acomminos
MozReview-Commit-ID: KWfQqT5MIjT

--HG--
extra : rebase_source : d480fe8538530aafd0b68da9b947f215af119bd1
2016-03-18 22:49:46 +13:00