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
Andrea Marchesini
18858bf144
Bug 1173320 - patch 1/8 - Implement Directory object as string and not as BlobImpl, r=smaug
2016-03-20 11:56:10 +01:00
Phil Ringnalda
b47ec4d2bd
Backed out 8 changesets (bug 1173320) for adding dom/filesystem/tests/test_basic.html without making it work on Android
...
Backed out changeset 7e3a105b9160 (bug 1173320)
Backed out changeset 094819fbb07f (bug 1173320)
Backed out changeset 23b0e55ff1db (bug 1173320)
Backed out changeset 8bf8e2fcedad (bug 1173320)
Backed out changeset 3de390c6f47f (bug 1173320)
Backed out changeset fb298010e12e (bug 1173320)
Backed out changeset f1a965c2f796 (bug 1173320)
Backed out changeset 176128ba757f (bug 1173320)
2016-03-19 19:44:22 -07:00
Andrea Marchesini
232e5767b0
Bug 1173320 - patch 1/8 - Implement Directory object as string and not as BlobImpl, r=smaug
2016-03-19 22:29:46 +01:00
Ryan VanderMeulen
ac97cbbe14
Backed out 8 changesets (bug 1173320) for bustage.
...
Backed out changeset e5c224d964bc (bug 1173320)
Backed out changeset db971ba7c26d (bug 1173320)
Backed out changeset cd7e79d9a750 (bug 1173320)
Backed out changeset 56bbea4fe199 (bug 1173320)
Backed out changeset e94ced2f8e3c (bug 1173320)
Backed out changeset 401c1e7df8ea (bug 1173320)
Backed out changeset bf65b38f759e (bug 1173320)
Backed out changeset ac58a56021ac (bug 1173320)
DONTBUILD CLOSED TREE
2016-03-19 10:52:12 -04:00
Andrea Marchesini
f1f32823dd
Bug 1173320 - patch 1/8 - Implement Directory object as string and not as BlobImpl, r=smaug
2016-03-19 14:32:18 +01:00
Bob Owen
1f36475812
Bug 1257825: Remove checks for paper height and width <= 0 in nsPrintSettings. r=dvander
...
Also added the check for invalid width / height into nsDeviceContextSpecProxy that was added into nsDeviceContextSpecWin.
2016-03-19 11:07:16 +00:00
Bob Owen
0640767db4
Bug 1257791: Return correct DPI and printing scale from nsDeviceContextSpecWin when printing to PDF. r=jimm
2016-03-19 11:01:30 +00:00
Liang-Heng Chen
43f7a9cfb8
Bug 1256618 - change VK_SELECT to VK_RETURN; r=masayuki
...
--HG--
extra : rebase_source : a08b627929304dcdf65ed938baa0b60b96d9978b
2016-03-17 14:57:09 +08: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
Jonathan Kew
08fa921c03
Bug 1256731 - patch 2 - Notify front-end code when screen resolution changes on Windows, so that TabsInTitlebar code can refresh its computations. r=gijs,emk
2016-03-17 12:53:31 +00:00
Jonathan Kew
d5c912cdc6
Bug 1256731 - patch 1 - Don't apply theme-dpi scaling to metrics of window border elements, because Windows doesn't respect per-monitor dpi scaling when it draws them. r=emk
2016-03-16 14:15:47 +00:00
Wes Kocher
733e78634f
Backed out changeset 93f4eafb8beb (bug 1256693) for media mochitest leaks CLOSED TREE
...
MozReview-Commit-ID: 1K6kSNA28N9
2016-03-17 15:42:54 -07:00
Nicolas Silva
3d48952156
Bug 1256693 - ISurfaceAllocator cleanup. r=sotaro
2016-03-17 14:58:58 +01:00
Andrew McCreight
16efc40bdc
Bug 1242084 - Fix GfxInfoBase nsStringBuffer leak. r=dvander
2016-03-14 10:27:00 +01:00
Makoto Kato
79b5a1a459
Bug 1137561 - Follow up VS2015 build error. r=masayuki
...
MozReview-Commit-ID: 52ccdKvzVbK
2016-03-17 13:56:15 +09:00
Sotaro Ikeda
47242038f0
Bug 1255303 - Use SurfaceFormat::B8G8R8X8 as back buffer if possible r=jrmuizel
2016-03-16 18:30:41 -07:00
Mike Hommey
f5e10530d9
Bug 1256988 - Fix #endif comments for MOZ_WIDGET_GTK. r=chmanchester
2016-03-17 06:49:44 +09:00
Mike Hommey
7f131dbc35
Bug 1256988 - Replace tests on MOZ_ENABLE_GTK with tests on MOZ_WIDGET_TOOLKIT containing gtk. r=chmanchester
2016-03-17 06:49:44 +09:00
Mike Hommey
45e34d9474
Bug 1256988 - Replace tests on MOZ_ENABLE_GTK3 with tests on MOZ_WIDGET_TOOLKIT==gtk3. r=chmanchester
2016-03-17 06:49:44 +09:00
Mike Hommey
2360b9887b
Bug 1256988 - Replace tests on MOZ_ENABLE_GTK2 with tests on MOZ_WIDGET_TOOLKIT==gtk2. r=chmanchester
2016-03-17 06:49:44 +09:00
Jim Chen
ae409c5147
Bug 1254629 - Let query events fail when content root is wrong; r=masayuki
...
Make query events fail (including when caching selection) if the queried
content root is different from what we expected.
Also, introduce a fix-up to the selection fix in test_imestate.html.
2016-03-16 14:20:30 -04:00
Jonathan Kew
36f8bc41ec
Bug 1254019 - Don't attempt to resize a maximized window on DPI change; and when handling a DPI change, constrain the resized window to the screen bounds. r=emk
2016-03-15 19:52:46 +00:00
Carsten "Tomcat" Book
2cf11e3de4
Backed out changeset 1c2aac5e9b1c (bug 1254019)
2016-03-16 10:33:39 +01:00
Carsten "Tomcat" Book
c05ed2b925
Backed out changeset 0359d3b3dc55 (bug 1254629) for rc4 perma failures
2016-03-16 10:29:10 +01:00
Jonathan Kew
82c0bcdb21
Bug 1254019 - Don't attempt to resize a maximized window on DPI change; and when handling a DPI change, constrain the resized window to the screen bounds. r=emk
2016-03-15 19:52:46 +00:00
Makoto Kato
0838e690e7
Bug 1033488 - Send RTL information to child process by WM_INPUTLANGCHANGE. r=masayuki
...
MozReview-Commit-ID: KB9ok2oly7y
--HG--
extra : rebase_source : c268d4aa25bb03c921ca96cde80e8be85725a500
2016-03-11 17:48:10 +09:00
Jim Chen
1f14c2a2c3
Bug 1254629 - Let query events fail when content root is wrong; r=masayuki
...
Make query events fail (including when caching selection) if the queried
content root is different from what we expected.
Also, introduce a fix-up to the selection fix in test_imestate.html.
2016-03-16 02:16:56 -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
79ec55bd08
Bug 1249184 Dead key shouldn't cause keypress event on Mac OS X r=smaug+m_kato
2016-03-16 13:50:01 +09:00
Masayuki Nakano
1fd5361cb0
Bug 1137563 part.5 Set charCode of dead key's keypress event on Mac to the dead char r=m_kato
2016-03-16 13:47:50 +09:00
Masayuki Nakano
063150ff0d
Bug 1137563 part.4 Implement IMEInputHandler::WillDispatchKeyboardEvent() r=m_kato
2016-03-16 13:47:50 +09:00
Masayuki Nakano
350d910666
Bug 1137563 part.3 TextInputHandler should use TextEventDispatcher r=m_kato
2016-03-16 13:47:50 +09:00
Masayuki Nakano
25c87fdc53
Bug 1137563 part.2 IMEInputHandler should use TextEventDispatcher r=m_kato
2016-03-16 13:47:50 +09:00
Masayuki Nakano
0790ee93ea
Bug 1137563 part.1 Implement TextEventDispatcherListener in TextEventInputHandlerBase and IMEInputHandler r=m_kato
2016-03-16 13:47:49 +09:00
Masayuki Nakano
9aa8592b7f
Bug 1137565 part.4 Implement IMContextWrapper::WillDispatchKeyboardEvent() r=m_kato
2016-03-16 13:47:49 +09:00
Masayuki Nakano
7b8ce29651
Bug 1137565 part.3 nsWindow for GTK should use TextEventDispatcher for dispatching keyboard events r=m_kato
2016-03-16 13:47:49 +09:00
Masayuki Nakano
ad8535477c
Bug 1137565 part.2 IMContextWrapper should use TextEventDispatcher r=m_kato
2016-03-16 13:47:49 +09:00
Masayuki Nakano
a9f207530a
Bug 1137565 part.1 Implement TextEventDispatcherListener in IMContextWrapper r=m_kato
2016-03-16 13:47:49 +09:00
Masayuki Nakano
ca2f7e94a8
Bug 1137561 part.9 NativeKey should dispatch keypress events after removing following char messages if there are two or more characters to be inputted r=m_kato
2016-03-16 13:47:49 +09:00
Masayuki Nakano
bd594893c8
Bug 1137561 part.8 Implement WinTextEventDispatcherListener::WillDispatchKeyboardEvent() r=m_kato
2016-03-16 13:47:49 +09:00
Masayuki Nakano
697c992f55
Bug 1137561 part.7 Rename whole members added by the previous patch r=m_kato
2016-03-16 13:47:49 +09:00
Masayuki Nakano
1728345f86
Bug 1137561 part.6 Store some strings which may be inputted by the key with some modifier state before dispatching keydown event r=m_kato
2016-03-16 13:47:49 +09:00
Masayuki Nakano
22e9178025
Bug 1137561 part.5 TextEventDispatcher should decide if keypress events should be fired for specific keys r=m_kato
2016-03-16 13:47:49 +09:00
Masayuki Nakano
2b2851d542
Bug 1137561 part.4 Make NativeKey use TextEventDispatcher r=m_kato
2016-03-16 13:47:49 +09:00
Masayuki Nakano
4de2cb08cc
Bug 1137561 part.3 Make IMMHandler use TextEventDispatcher r=m_kato
2016-03-16 13:47:48 +09:00
Masayuki Nakano
04597dabbb
Bug 1137561 part.2 Make TSFTextStore use TextEventDispatcher r=m_kato
2016-03-16 13:47:48 +09:00
Masayuki Nakano
af9e084206
Bug 1137561 part.1 Implement WinTextEventDispatcherListener as a singleton class for using TextEventDispatcher at handling native keyboard and IME events r=m_kato
2016-03-16 13:47:48 +09:00
Masayuki Nakano
8f5b9a4048
Bug 1137572 part.9 TextEventDispatcher should not allow WillDispatchKeyboardEvent() modifies unexpected members of WidgetKeyboardEvent r=smaug
2016-03-16 13:47:48 +09:00
Masayuki Nakano
eec8a32d3a
Bug 1137572 part.8 Callers of methods to dispatch composition events of TextEventDispatcher should be able to specify specific time/timeStamp r=smaug
2016-03-16 13:47:48 +09:00
Masayuki Nakano
3e80dd382b
Bug 1137572 part.7 Add TextEventDispatcherListener::WillDispatchKeyboardEvent() for easier to maintain r=smaug
2016-03-16 13:47:48 +09:00
Masayuki Nakano
3c4efaa1cc
Bug 1137572 part.6 TextEventDispatcher::DispatchKeyboardEventInternal() should copy mNativeKeyEvent when it's in native text input transaction r=smaug
2016-03-16 13:47:48 +09:00
Masayuki Nakano
da1a9a4507
Bug 1137572 part.5 Implement TextEventDispatcher::SetPendingComposition() for some platforms whose clause information may overlap each other or the order may not be from start to the end r=smaug
2016-03-16 13:47:48 +09:00
Masayuki Nakano
e7fa655b11
Bug 1137572 part.4 TextEventDispatcher::DispatchInputEvent() should decide if dispatches events with nsIWidget::DispatchInputEvent() with input transaction type r=smaug
2016-03-16 13:47:48 +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
Masayuki Nakano
3a5c26cf72
Bug 1137572 part.2 Add nsIWidget::GetNativeTextEventDispatcherListener() for TextEventDispatcher::NotifyIME() r=smaug, sr=smaug
2016-03-16 13:47:47 +09:00
Masayuki Nakano
13c20e8b89
Bug 1137572 part.1 TextEventDispatcher should manage its input transaction type r=smaug
2016-03-16 13:47:47 +09:00
Masayuki Nakano
e0d18691b8
Bug 1203059 part.4 Update test_keycodes.xul for the new behavior r=smaug
2016-03-16 10:58:28 +09:00
Masayuki Nakano
12a007fd7f
Bug 1203059 part.2 When an event is reserved by chrome, it should be fired only on chrome r=smaug
2016-03-16 10:58:28 +09:00
Masayuki Nakano
86ac26d06f
Bug 1203059 part.1 nsXBLWincowKeyHandler mark WidgetEvent::mFlags if it's reserved by chrome before the event is dispatched into the content r=smaug
2016-03-16 10:58:28 +09:00
Nicholas Nethercote
51a54c4e56
Bug 1255655 - Const-ify GetCommandStr.kCommands. r=karlt.
...
--HG--
extra : rebase_source : 111210feb14070bb0ea7ffbf18b4826bd6697ca1
2016-03-11 13:57:18 +11:00
Nicholas Nethercote
f5787d55ab
Bug 1255655 - Const-ify kKeyNames and kCodeNames. r=karlt.
...
--HG--
extra : rebase_source : f8bbaa32b9fe7f13ad5998718921f96e3021b43d
2016-03-11 13:18:39 +11:00
Nicholas Nethercote
9fab9cab8c
Bug 1255655 - Const-ify keysymtab. r=karlt.
...
This lets it be shared between processes.
--HG--
extra : rebase_source : 5cd14c68d7bbd54e4c1b9e8aef3621057a9588b8
2016-03-11 13:15:11 +11:00
Nicolas Silva
bd7973ab2d
Bug 1256693 - ISurfaceAllocator cleanup. r=sotaro
2016-03-17 14:58:58 +01: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
Jonathan Kew
35c3b97bb4
Bug 1255475 - Properly distinguish 'moving' from 'resizing' state when a maximized window is dragged, resulting in a WM_SIZING message followed by WM_MOVING; this allows us to handle DPI rescaling during the move if necessary. r=emk
2016-03-14 18:35:59 +00:00
Ting-Yu Lin
b8972c7eb9
Bug 1225412 Part 2 - Add support to dispatch toggle events to details element. r=smaug
...
Add ontoggle event handler, and dispatch toggle events to the details
element if the open attribute is added or changed. According to the
spec, if a new toggle event has been queued, previous toggle events
should be aborted.
MozReview-Commit-ID: EN6Jf5hVHHD
--HG--
extra : rebase_source : 35605e49950bb59a0eb6dca594c3ede465ff587d
2016-03-12 19:53:51 +08:00
Jim Mathies
ee3a95d698
Bug 1041599 - Maintain a single volume control session between browser, content, and plugins on Windows. r=aklotz
...
MozReview-Commit-ID: 2LuYciKfsWn
2016-03-13 08:25:23 -05:00
Xidorn Quan
b8db274b17
Bug 1255659 part 2 - Add 'fullscreen' tag to tests which ever put window into fullscreen. r=smaug
...
MozReview-Commit-ID: EBynEGbpYQU
--HG--
extra : rebase_source : 1f777ff519e602403486d24e739b252a2dfc8428
2016-03-11 10:45:00 +08:00
Wes Kocher
2e2090e51e
Backed out changeset fd7564bd9998 (bug 1254629) for windows failures in test_windowless_ime.html
...
MozReview-Commit-ID: IEl8esnckqP
2016-03-11 14:05:08 -08: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
Randall Barker
17328787e7
Bug 1232338 - part 1, Add better mouse support to InputData MouseInput r=kats
2016-03-11 11:03:50 -08:00
Jim Chen
33195c666d
Bug 1254629 - Let query events fail when content root is wrong; r=masayuki
...
Make query events fail (including when caching selection) if the queried
content root is different from what we expected.
Also, introduce a fix-up to the selection fix in test_imestate.html.
2016-03-11 13:47:22 -05: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
Carsten "Tomcat" Book
ee9fb75679
Merge mozilla-central to mozilla-inbound
2016-03-11 16:57:57 +01:00
Carsten "Tomcat" Book
e070379821
merge mozilla-inbound to mozilla-central a=merge
2016-03-11 16:50:43 +01:00
Xidorn Quan
51156be7b4
Bug 1244546 part 1 - Apply proper unit conversion for SynthesizeNativeMouseEvent. r=karlt
...
MozReview-Commit-ID: 6XLzx7CyFEj
--HG--
extra : source : 5c61d059fc06b04456ab69c608d98e1e9433619d
2016-03-11 19:10:44 +08:00
Jonathan Kew
0114592c75
Bug 1249496 - Don't apply dpi-based scaling for window titlebar dimensions when on a secondary display, because windows doesn't scale it. r=emk
2016-03-09 10:55:35 +00:00
Drew Willcoxon
fcfc071a48
Bug 1253479 - [e10s] Make widget/tests/test_assign_event_data.html work under e10s. r=masayuki
2016-03-10 16:56:13 -08:00
Kartikaya Gupta
bc8c21c555
Bug 1242690 - Squash together DispatchAPZAwareEvent and DispatchInputEvent. r=dvander
...
MozReview-Commit-ID: 2cou0cK4Yw8
2016-03-10 18:25:48 -05:00
Kartikaya Gupta
8792f6fbea
Bug 1242690 - Ensure that mouse events have the callback transform applied. r=botond
...
MozReview-Commit-ID: 9V7xXPT8WHk
2016-03-10 18:25:48 -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
Kartikaya Gupta
0f4af98816
Bug 1252262 - Don't combine the client offset into the outer rect for the child process. r=jimm
...
MozReview-Commit-ID: BslkWk7ndkx
2016-03-08 14:14:43 -05:00
Lee Salzman
37e22e44ca
Bug 1254151 - use B8G8R8X8 for 24 bit depth visuals in nsShmImage with Cairo. r=jrmuizel
2016-03-08 11:18:13 -05:00
Chris Peterson
3ff300d9d3
Bug 1253753 - Remove unnecessary switch fallthrough to avoid -Wimplicit-fallthrough warning. r=karlt
...
widget/gtk/NativeKeyBindings.cpp:230:5: warning: unannotated fall-through between switch labels [-Wimplicit-fallthrough]
2016-03-07 21:30:02 -08:00
Ryan VanderMeulen
54367e83bf
Merge fx-team to m-c. a=merge
2016-03-05 19:22:45 -05:00
Bob Owen
ddc3b95f28
Bug 1253247: Return an error when trying to Init an nsDeviceContextSpecProxy without a RemotePrintJob. r=jimm
2016-03-05 18:25:14 +00:00
Drew Willcoxon
f9662f1a06
Bug 1253713 - [e10s] Make widget/tests/test_plugin_scroll_invalidation.html work under e10s. r=mccr8
...
MozReview-Commit-ID: AZ7MZWHoWhr
--HG--
rename : widget/tests/plugin_scroll_invalidation.html => dom/plugins/test/mochitest/plugin_scroll_invalidation.html
rename : widget/tests/test_plugin_scroll_invalidation.html => dom/plugins/test/mochitest/test_plugin_scroll_invalidation.html
2016-03-04 16:57:04 -08:00
Jonathan Kew
399d5724c9
Bug 1253446 - patch 2 - Return the proper scaling factor when querying the primary screen on Windows. r=emk
2016-03-04 16:14:43 +00:00
Masatoshi Kimura
890c5198f9
Bug 1253566
- Deal with char16_t/wchar_t mismatch. r=aklotz
2016-03-05 08:47:50 +09: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
Lee Salzman
4ee1769ed1
Bug 1251984 - allow gfx.xrender.enabled pref to work for compositing even if content backend is not Cairo. r=jrmuizel
2016-03-01 14:33:53 -05:00
Jonathan Kew
981fc99698
Bug 1245442 - Backout cset 9bde73f95ead (part 9 from bug 890156) for breaking the minimize/maximize/close buttons when a window is maximized on a monitor with non-system DPI. r=emk
2016-03-01 12:08:35 +00:00
Chris Peterson
6a3b0f8eea
Bug 1251887 - Add break to unintentional switch fallthrough in GfxInfoBase.cpp to fix -Wimplicit-fallthrough warning. r=milan
...
widget/GfxInfoBase.cpp:158:5: warning: unannotated fall-through between switch labels [-Wimplicit-fallthrough]
2016-02-26 18:57:15 -08:00
Jonathan Kew
f82a78c907
Bug 1246389 - Resize window appropriately on WM_DPICHANGED messages for dynamic resolution changes. r=emk
2016-02-29 13:09:04 +00:00
Jonathan Kew
51b8759a25
Bug 1240749 - Fixes for DPI support in Gtk widget interface: remove incorrect Get[Avail]RectDisplayPix overrides, as desktop pixels == device pixels for the Gtk widget backend, and implement nsScreenGtk::GetDefaultCSSScaleFactor, required by nsGlobalWindow since per-monitor DPI patches in bug 890156. r=karlt
2016-02-26 22:34:11 +00:00
Carsten "Tomcat" Book
275bc053c7
Backed out changeset bc33885d2034 (bug 1240749) for bustage
2016-02-29 08:37:55 +01:00
Jonathan Kew
281e26438c
Bug 1240749 - Fixes for DPI support in Gtk widget interface: remove incorrect Get[Avail]RectDisplayPix overrides, as desktop pixels == device pixels for the Gtk widget backend, and implement nsScreenGtk::GetDefaultCSSScaleFactor, required by nsGlobalWindow since per-monitor DPI patches in bug 890156. r=karlt
2016-02-26 22:34:11 +00:00
David Anderson
c00e9a5d93
Handle device resets by recreating the compositor, rather than the compositor IPDL stack. (bug 1245765 part 7, r=mattwoodrow)
2016-02-29 01:53:15 -05:00
David Anderson
dd2df9d99a
Remove some static_casting in CompositorParent. (bug 1245765 part 5, r=mattwoodrow)
2016-02-29 01:53:14 -05:00
Lee Salzman
27c94bb979
Bug 1247935 - Part 2: use shared pixmaps with XShm for nsShmImage. r=jrmuizel
2016-02-27 23:16:57 -05:00
Lee Salzman
aedcb20e84
Bug 1247935 - Part 1: double-buffer nsShmImage. r=jrmuizel
2016-02-27 23:16:57 -05:00
Jonathan Kew
a7a0605352
Bug 1251624 - patch 2 - Check for scaling override (devPixelsPerPx setting) in nsScreenWin::GetDefaultCSSScaleFactor, for proper window positioning when a custom scale factor is used. r=emk
2016-02-27 15:44:59 +00:00
Jonathan Kew
fc1454115f
Bug 1251624 - patch 1 - The desktop to device scaling in WinUtils::MonitorFromRect should not depend on custom CSS pixel scaling (devPixelsPerPx setting). r=emk
2016-02-27 15:37:31 +00:00
Mike Taylor
64df1dacf7
Bug 1247796
. Use keyboardFocusIndicatorColor for ActiveBorder system color keyword. r=mstange
...
This matches what Safari and Chrome do on Mac.
2016-02-26 16:30:52 -06: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
Milan Sreckovic
548b45eaca
Bug 1249640: Part 4 Android to use new blocking. r=snorp
2016-02-22 14:23:00 +01:00
Milan Sreckovic
9ca74932b6
Bug 1249640: Part 3 Update Mac to use the new blocking. r=mchang
2016-02-24 10:25:00 +01:00
Milan Sreckovic
536d058333
Bug 1249640: Part 1 A way to block canvas 2D acceleration from blocklists. r=benwa
2016-02-19 14:39:00 +01:00
aleth
e8c9144643
Bug 1251019 - Add -moz-mac-chrome-active and -inactive colours for OS X 10.10 and higher. r=mstange
...
--HG--
extra : rebase_source : f1fb035d5588fd4db09393e3403aee21e0c04f7d
2016-02-24 23:54:55 +01:00
Jonathan Kew
6f476c6953
Bug 1239353 - Don't try to change DPI on the fly for popup windows, they remain connected to their parent's presShell and therefore need to share its resolution. r=emk
2016-03-03 11:58:41 +00:00
Aaron Klotz
183fd9cb81
Bug 1240315: Add startup crash report annotation for AppInit_DLLs; r=jimm
...
--HG--
extra : rebase_source : e96da444713515a12520969c34731db244d844e2
2016-01-16 14:09:28 -07:00
Bob
bd8cdd84ef
Bug 730192 - allow headset controls to function by passing media keyevents through to Android OS; r=jchen
2016-03-01 07:49:54 -05:00
Jim Chen
6e298a23a6
Bug 1248459 - Don't query out-of-bounds selection; r=masayuki
...
During a query selection event, fail if the selection is outside of the
editor's root content. This can happen if the placeholder text in an
input field is somehow selected. The placeholder is in a separate
element outside of the root content.
Also fix a bug in test_imestate, where the selection was not properly
reset at the start of a test.
2016-03-03 13:10:07 -05:00
Karl Tomlinson
3c21b4d662
bug 1197165 apply tooltip style class when creating window instead of when drawing r=acomminos
...
This is consistent with gtktooltip.c.
gtk_style_context_save() modifies the CSS node hierarchy causing this rule to
incorrectly match:
.tooltip * {
background-color: transparent;
}
See also https://bugzilla.gnome.org/show_bug.cgi?id=761870#c2
--HG--
extra : rebase_source : baa16e2ca297db702aa5d9250fd3d9606dcf891a
2016-03-02 18:04:00 +13:00