Commit Graph

9564 Commits

Author SHA1 Message Date
Ryan VanderMeulen
85e5c369e0 Merge fx-team to m-c. a=merge
CLOSED TREE
2015-02-27 13:21:37 -05:00
Kim Moir
b5e8e0c304 Bug 1137575 - Disable test_native_mouse_mac.xul on OSX 10.10. r=mstange
CLOSED TREE
2015-02-27 06:54:00 -05:00
Mark Hammond
c7735fefd4 Bug 1127577 - nsITaskbarPreview::Invalidate no longer throws when not visible. r=jimm 2015-02-27 14:21:48 +11:00
Carsten "Tomcat" Book
330dfed36a Merge mozilla-central to fx-team 2015-02-26 12:07:22 +01:00
David Parks
bbd90790c7 Bug 1124408 - Report cocoa view focus correctly when sheets are exposed. r=masayuki,smichaud
nsChildView::SetInputContext sets secure input based on
IMEInputHandler::IsOrWouldBeFocused, which should report true if the
view would get focus if the window got focus.  This fixes the function
to report NO when the focus would instead go to a sheet 'child window'.
2015-02-24 03:51:53 -08:00
Milan Sreckovic
b1b2513c55 Bug 1019209 - Allow GL initialization without Android bridge, delay some GL string initialization, clean up some AndroidBridge code. r=snorp 2015-02-18 16:50:31 -05:00
Bas Schouten
99fae5a372 Bug 1136487: Destroy the compositors for all windows when any window detects a device reset. r=jrmuizel 2015-02-25 18:04:18 +00:00
Markus Stange
83efad64a3 Bug 1135912 - Don't repaint vibrant regions on mouseover. r=smichaud 2015-02-23 18:27:15 -05:00
Wes Kocher
87d554fb35 Backed out changeset 58d13a71c5dc (bug 1135912) for reftest bustage on a CLOSED TREE 2015-02-24 17:32:00 -08:00
Wes Kocher
788d1b8da6 Merge m-c to inbound a=merge CLOSED TREE 2015-02-24 15:42:16 -08:00
Wes Kocher
4f4a1fd300 Merge b2g-inbound to m-c a=merge 2015-02-24 15:36:56 -08:00
Mason Chang
1470e52e97 Bug 1129133 - Clean up GeckoTouchDispatcher so that it's a real singleton. r=kats,mwu 2015-02-24 12:52:16 -08:00
Jacek Caban
6abea86092 Bug 1136177 - Amount by mouse wheel scrolling is wrong. r=jimm 2015-02-24 09:07:00 -05:00
Ryan VanderMeulen
5ce7838926 Backed out 7 changesets (bug 1075670) for e10s browser_586068-browser_state_interrupted.js crashes.
Backed out changeset 4ca74b217fe8 (bug 1075670)
Backed out changeset 83199cfc333f (bug 1075670)
Backed out changeset 065b859e6525 (bug 1075670)
Backed out changeset a3e8329610d9 (bug 1075670)
Backed out changeset ced9055e0bcc (bug 1075670)
Backed out changeset e6d6f0c11133 (bug 1075670)
Backed out changeset b823c6c95030 (bug 1075670)

CLOSED TREE
2015-02-24 11:53:34 -05:00
Markus Stange
d95c3b927d Bug 1135912 - Don't repaint vibrant regions on mouseover. r=smichaud 2015-02-23 18:27:15 -05:00
Gian-Carlo Pascutto
f943c84116 Bug 755070 - Move WrappedJavaObject comment to the class it refers to. rs=snorp DONTBUILD NPOTB 2015-02-23 16:20:35 +01:00
Jacek Caban
a6e7574096 Bug 1133818 - Fixed GCC warnings in widget/windows. r=jmathies 2015-02-23 12:15:53 +01:00
Phil Ringnalda
a6b7d30db5 Bug 1134111 - Update test_platform_colors.xul to include new 10.10 color for -moz-cellhighlight 2015-02-20 20:14:48 -08:00
Sotaro Ikeda
93b8bf86d8 Bug 1133426 - Care about new CompositorChild and CompositorParent re-creation. 2015-02-22 08:53:37 -08:00
David Parks
5ba7cdfc47 Bug 1075670 - Fix PuppetWidget calculations wrt client offset. r=smaug
Change the PuppetWidget from defining screen coordinates from tab-content-relative to being based on actual screen geometry. PuppetWidgets can have position. In the parent process, the widget has a position and a separate client position (that includes OS window chrome... on Linux and Windows as others have no chrome). In the child process, the widget (non-origin) position, whose calculation compensates for the OS window decoration.
2015-02-04 04:00:28 -08:00
Wes Kocher
7a36c08df6 Merge b2g-inbound to m-c a=merge CLOSED TREE 2015-02-20 18:17:56 -08:00
Alexandre Lissy
7d2d48e5df Bug 1133741 - Add camera focus hardware button. r=masayuki 2015-02-20 00:06:00 -05:00
Anish
48094b2951 Bug 1056851 - Change existing callers of SpecialPowers.setBoolPref/setIntPref/setCharPref to SpecialPowers.pushPrefEnv. r=jmaher,mwargers 2015-02-19 11:53:01 -05:00
Carsten "Tomcat" Book
b6ef20bdf0 Backed out changeset 6885e993936a (bug 1056851) for crashtest failures 2015-02-19 15:02:05 +01:00
Jim Mathies
ba99c49d0c Bug 1132874 - Improve PPluginWidget shutdown logic. r=aklotz 2015-02-19 07:05:12 -06:00
Anish
bbc6a8a249 Bug 1056851 - Change existing callers of SpecialPowers.setBoolPref/setIntPref/setCharPref to SpecialPowers.pushPrefEnv. r=jmaher 2015-02-19 07:26:41 -05:00
Masayuki Nakano
ef1c96c431 Bug 1119609 part.17 TextInputProcessor shouldn't allow to begin input transaction with different TextEventDispatcher during dispatching an event r=smaug 2015-02-19 15:50:21 +09:00
Masayuki Nakano
f1fce37659 Bug 1119609 part.14 Reimplement/redesign EventUtils.synthesizeKey() with nsITextInputProcessor r=smaug 2015-02-19 15:50:20 +09:00
Masayuki Nakano
d837b657fd Bug 1119609 part.13 EventUtils.synthesizeComposition() and synthesizeCompositionChange() should take KeyboardEvent for emulating composition state change caused by a key operation rs=smaug 2015-02-19 15:50:20 +09:00
Masayuki Nakano
60d702a190 Bug 1119609 part.12 nsITextInputProcessor should take KeyboardEvent as an argument of composition releated methods for dispatching key events around composition events r=smaug, sr=smaug 2015-02-19 15:50:20 +09:00
Masayuki Nakano
d1a96d851a Bug 1119609 part.11 TextEventDispatcher shouldn't allow to begin input transaction during dispatching a event r=smaug 2015-02-19 15:50:20 +09:00
Masayuki Nakano
4ebbc05525 Bug 1119609 part.10 Support all key and code values which are enough stable in DOM Level 3 KeyboardEvent key/code Values rs=smaug 2015-02-19 15:50:20 +09:00
Masayuki Nakano
1d6da0c4e1 Bug 1119609 part.7 Make TextInputProcerros possible to share modifier state r=smaug, sr=smaug 2015-02-19 15:50:19 +09:00
Masayuki Nakano
be3248be75 Bug 1119609 part.6 TextInputProcessor should manage modifier key state and set it to dispatching key events automatically r=smaug, sr=smaug 2015-02-19 15:50:19 +09:00
Masayuki Nakano
a05a4768db Bug 1119609 part.5 Compute KeyboardEvent.location and .keyCode if they are 0 r=smaug, sr=smaug 2015-02-19 15:50:19 +09:00
Masayuki Nakano
0b52432e63 Bug 1119609 part.3 Implement converting methods from key/code value to key/code name index r=smaug 2015-02-19 15:50:19 +09:00
Masayuki Nakano
e4ba074794 Bug 1119609 part.2 Don't dispatch keyboard events from TextEventDispatcher if there is a composition r=smaug 2015-02-19 15:50:18 +09:00
Masayuki Nakano
076ffafc55 Bug 1119609 part.1 Implement key event dispatcher in TextEventDispatcher r=smaug 2015-02-19 15:50:18 +09:00
Steven Michaud
8d63013d20 Bug 1110888 - Always do plugin IME in main process, even with e10s. r=masayuki,smaug 2015-02-20 10:37:02 -06:00
David Parks
2a04e39d53 Bug 1075670 - Make PuppetWidget::WidgetToScreenOffset use proper screen position. r=josh
PuppetWidget::WidgetToScreenOffset now reports proper widget screen location. Previously, in the content process, all widgets were defined to be located at the screen origin. This also repairs mac e10s OOP plugin coordinate calculations that would be broken by this change.
2015-02-04 04:17:15 -08:00
Michael Schloh von Bennewitz
d5ac641e47 Bug 1123480 - Component: widget nsTransferable private browsing correction. r=jdm
This patch mitigates violation of private browsing disk access. The DataStruct API and implementation is modified to obey private browsing design when used by objects such as nsTransferable (during clipboard data caching for example.)

Without this patch, a user is misled by use of private browsing when copying (or in some case just selecting) large blocks of text. A condition (presently hard coded at one million bytes kLargeDatasetSize) produces a cache file on disk regardless of whether private browsing is in use. This violates Mozilla's design (documented online at https://support.mozilla.org/kb/private-browsing-browse-web-without-saving-info/ and https://wiki.mozilla.org/PrivateBrowsing) This patch simply corrects the violation, discovered and resolved by the Tor Browser community.
2015-02-18 06:52:00 -05:00
Ryan VanderMeulen
f6cd16df92 Merge inbound to m-c. a=merge 2015-02-18 20:29:54 -05:00
David Anderson
2147691b41 Add weak reference support to nsBaseWidget. (bug 1133150, r=roc) 2015-02-17 22:27:53 -08:00
Jim Mathies
3f81cb3313 Bug 1095761 - Child plugin window focus handling for e10s. r=aklotz 2015-02-17 13:16:09 -06:00
Ryan VanderMeulen
f19a6fcd25 Merge inbound to m-c. a=merge 2015-02-17 14:24:51 -05:00
Gabriele Svelto
648983dd11 Back out bug 1075670 for causing smoketest failures on B2G, bug 1133518 and friends. rs+a=kats 2015-02-17 10:39:35 -05:00
Carsten "Tomcat" Book
ad716b71e4 Backed out changeset d81339c7ac52 (bug 1128934) 2015-02-17 14:32:11 +01:00
David Zbarsky
f180088d5f Bug 1125040: Use LayoutDeviceIntPoint for synthesizing native events on widgets r=botond 2015-02-15 13:52:28 -05:00
Nicolas Silva
d0462d286c Bug 1128934 - Avoid calling GetClientBounds from BasicComposior. r=roc, karlt 2015-02-14 12:37:32 +01:00
Jeff Gilbert
ea33309bb2 Bug 1124394 - Support Core profiles for GLContext. - r=kamidphish 2015-02-12 19:00:41 -08:00
Xidorn Quan
bc9fd0cedd Bug 1132679 - Fix warnings on windows widget and enable FAIL_ON_WARNINGS there. r=jimm
--HG--
extra : rebase_source : 548b36856606721dcbbab4ffede1d9dca338a169
extra : source : 706be6f1897cae827e8e22345585e03540de14ea
2015-02-14 11:29:29 +11:00
Mason Chang
3f5482f778 Bug 1127151. Part 1: Expose dwmFlush to winutils. r=jrmuizel 2015-02-13 17:17:23 +08:00
Carsten "Tomcat" Book
e121494bac Merge mozilla-central to mozilla-inbound 2015-02-17 14:47:52 +01:00
Makoto Kato
82a450d867 Bug 1121313 - Part 3. Don't commit composition on IME blur from child process's widget. r=masayuki 2015-02-17 20:10:56 +09:00
Makoto Kato
271736bce5 Bug 1121313 - Part 2. Don't generate composition event on child process if parent process doesn't send composition event by NotifyIME. r=masayuki 2015-02-17 11:30:55 +09:00
Makoto Kato
48ad18f570 Bug 1121313 - Part 1. Replace NS_COMPOSITION_CHANGE with NS_COMPOSITION_COMMIT. r=masayuki 2015-02-17 11:30:38 +09:00
Nigel Babu
3c325e1af3 Backed out changeset 93fb431c3464 (bug 1121313) for M1,M2 bustage, CLOSED TREE 2015-02-17 10:17:16 +05:30
Nigel Babu
ec7445fbdb Backed out changeset 456038b0bdb5 (bug 1121313) for M1,M2 bustage 2015-02-17 10:15:44 +05:30
Makoto Kato
d008ca3fc2 Bug 1121313 - Part 2. Don't generate composition event on child process if parent process doesn't send composition event by NotifyIME. r=masayuki 2015-02-17 11:30:55 +09:00
Makoto Kato
71090457fb Bug 1121313 - Part 1. Replace NS_COMPOSITION_CHANGE with NS_COMPOSITION_COMMIT. r=masayuki 2015-02-17 11:30:38 +09:00
Andrea Marchesini
06b21f208b Bug 1134280 - Get rid of Tag() - patch 2.13 - Fix all the occurrences, m=smaug, r=surkov 2015-03-03 11:09:00 +00:00
Andrea Marchesini
454d9140a2 Bug 1134280 - Get rid of Tag() - patch 1 - Is{HTML,XUL,MathML,SVG}Element and IsAnyOf{HTML,XUL,MathML,SVG}Elements, r=smaug 2015-03-03 11:08:59 +00:00
Jean-Yves Avenard
3143ac9875 Bug 1138731: Fix non-unified compilation in beta. r=smichaud 2015-03-03 16:31:10 +11:00
Jacek Caban
bb44353026 Bug 1102297 - mingw wchar_t/char16_t mismatch fixup. 2015-02-16 12:38:00 +01:00
Paul Rouget
d402fef360 Bug 1127205 - Can't quit B2G Desktop on Mac. r=mstange 2015-02-18 16:34:00 +01:00
David Parks
40a829791b Bug 1075670 - Fix PuppetWidget calculations wrt client offset r=smaug 2015-02-04 04:00:28 -08:00
David Parks
da39b412fa Bug 1075670 - Make PuppetWidget::WidgetToScreenOffset use proper screen position r=josh 2015-02-04 04:17:15 -08:00
Aaron Klotz
7bfb6d567f Bug 1132305 - Ensure that BHR knows when thread activity has resumed in nextEventMatchingMask. r=smichaud 2015-02-12 10:31:42 -07:00
Botond Ballo
a3f5ee9fb5 Bug 1127066 - Use (nsBaseWidget's) APZEventState in ChromeProcessController. r=kats
--HG--
extra : source : 65d5458b6f6af13ebaf424ccef87d4a0654646c4
2015-02-09 19:06:06 -05:00
Botond Ballo
5725e5dbc8 Bug 1127066 - Use APZEventState in nsBaseWidget. r=kats
--HG--
extra : source : 64a96018a0782e6aafc4215bb995136020ea1391
2015-02-06 19:45:23 -05:00
Botond Ballo
daadb3f902 Bug 1127066 - Add weak reference support to the gonk nsWindow type. r=kats
--HG--
extra : source : 2c81ee3e4c61c82770fad9f3eac9c64abb6ab4ec
2015-02-09 13:50:51 -05:00
Botond Ballo
d6a3fd9f6d Bug 1127066 - Implement proper sending of target-apzc notification and creation of displayport in the root process. r=kats
--HG--
extra : source : c9bb96ed11a96554006175b55e04f9feede60a04
2015-02-06 18:11:30 -05:00
Botond Ballo
cf0ac08b62 Bug 1127066 - Apply the APZ callback transform to touch events targeted to the root process. r=kats
--HG--
extra : source : 0df1683cb64100e03e4afd23a3d5e158788f082b
2015-02-04 12:52:18 -05:00
Botond Ballo
eaf4eff1d2 Bug 1127066 - Fold APZCCallbackHelper::UpdateCallbackTransform() into ScrollFrame(). r=kats
--HG--
extra : source : 5b78d9e9ba84408c898d9e0ab55ae30f437792c8
2015-01-28 17:40:29 -05:00
Carsten "Tomcat" Book
27cd4c3c96 Backed out 6 changesets (bug 1075670) for bustage on a CLOSED TREE
Backed out changeset 4d68750b4e28 (bug 1075670)
Backed out changeset 4d34eb58c46d (bug 1075670)
Backed out changeset d3ac4fd82311 (bug 1075670)
Backed out changeset 8b72b1201661 (bug 1075670)
Backed out changeset cd6cf15b27cc (bug 1075670)
Backed out changeset bf710daef92b (bug 1075670)
2015-02-11 16:03:06 +01:00
David Parks
7aa8617a05 Bug 1075670 - [e10s] event.screenX and event.screenY is wrong
Change the PuppetWidget from defining screen coordinates from
tab-content-relative to being based on actual screen geometry.
PuppetWidgets can have position.  In the parent process, the
widget has a position and a separate client position (that
includes OS window chrome... on Linux and Windows as others have no
chrome).  In the child process, the widget (non-origin) position,
whose calculation compensates for the OS window decoration.
2015-02-04 04:00:28 -08:00
David Parks
5e166ef704 Bug 1075670 - [e10s] event.screenX and event.screenY is wrong
PuppetWidget::WidgetToScreenOffset now reports proper widget screen location.  Previously, in the content process, all widgets were defined to be located at the screen origin.  This also repairs mac e10s OOP plugin coordinate calculations that would be broken by this change.
2015-02-04 04:17:15 -08:00
Carsten "Tomcat" Book
34b660c646 merge mozilla-inbound to mozilla-central a=merge 2015-02-11 14:58:16 +01:00
Botond Ballo
516cb8221c Bug 1125422 - Correctly determine whether a touch event was prevent-defaulted in the chrome process. r=kats 2015-02-10 16:28:07 -05:00
Ryan VanderMeulen
817924eff7 Merge inbound to m-c. a=merge
CLOSED TREE
2015-02-10 16:03:15 -05:00
Ryan VanderMeulen
9392837e52 Merge fx-team to m-c. a=merge
CLOSED TREE
2015-02-10 15:54:32 -05:00
Jonathan Kew
b3a90f42af Bug 1130936 - Support vertical writing mode in nsTextStore for Windows TSF. r=masayuki 2015-02-10 14:00:02 +00:00
Jonathan Kew
10efb3d26f Bug 1076657 pt 3 - Support drawsVerticallyForCharacterAtIndex method in Cocoa childView and IME input handler. r=masayuki 2015-02-10 15:28:05 +00:00
Jonathan Kew
1470a1e836 Bug 1076657 pt 2 - Add writing-mode to the reply to NS_QUERY_TEXT_RECT event. r=masayuki 2015-02-10 15:28:05 +00:00
Sushil Chauhan
739f066742 Bug 1122850 - Use setPowerMode interface for HWC 1.4 and above. r=dwilson 2015-02-05 12:30:54 -08:00
Martin Stransky
6727c7a42d Bug 1097897 - Add HiDPI support (scale) for Gtk2 and update and fix calculation of scaled screen borders. r=karlt 2015-02-10 02:14:00 -05:00
Kartikaya Gupta
837a435159 Bug 930939 - Switch the B2G controller thread from the main thread to the compositor thread. r=botond,mwu 2015-02-10 08:24:23 -05:00
Andrew Comminos
86ddf478ab Bug 1126094 - Adds high resolution display support to GdkScreen. r=karlt
--HG--
extra : rebase_source : e537c0be8ce98c46b81cb7e7e7cffb46c16e2c81
2015-01-26 17:21:00 +01:00
Carsten "Tomcat" Book
9bc83a0c77 Backed out changeset 88c746188a40 (bug 1125934) for rc6 test failures 2015-02-09 15:28:41 +01:00
Aaron Klotz
c39b0b312f Bug 1102297: Obtain user GEOID from Windows; r=jimm
--HG--
extra : rebase_source : 0736fa13c87ab309c6b8935f54c847502930a896
2015-02-08 14:29:13 -07:00
Tooru Fujisawa
528397e9dc Bug 1125934 - Discard redundant NS_COMPOSITION_CHANGE event which is send just before NS_COMPOSITION_END on TSF. r=masayuki 2015-02-09 21:19:43 +09:00
Markus Stange
aa6f521cd1 Bug 1045213 - Rename template parameters to something more descriptive. r=botond 2015-02-09 00:17:35 -05:00
Masayuki Nakano
6cea2a629c Bug 1131026 Rename nsITextInputProcessor.init() and .initForTests() to .beginInputTransaction() and .beginInputTransactionForTests() r=smaug, sr=smaug 2015-02-10 17:09:29 +09:00
Chris Peterson
77c54d35be Bug 1130828 - Fix clang -Widiomatic-parentheses and -Wsemicolon-before-method-body warnings. r=smichaud 2015-02-06 00:09:39 -08:00
Nicholas Nethercote
6ee3666899 Bug 1127201 (attempt 2, part 1) - Replace most NS_ABORT_IF_FALSE calls with MOZ_ASSERT. r=Waldo.
--HG--
extra : rebase_source : 488e401ff87e31a2074c4108c4df0572d9536667
2015-02-09 14:34:50 -08:00
Markus Stange
cc338f0a96 Bug 1130746 - Always position window buttons at their default position in fullscreen mode. r=smichaud 2015-02-09 00:50:44 -05:00
Tooru Fujisawa
6558751505 Bug 1125934 - Discard redundant NS_COMPOSITION_CHANGE event which is send just before NS_COMPOSITION_END on TSF. r=masayuki 2015-02-11 12:20:02 +09:00
Andrew McCreight
8413cc973c Back out Bug 1127201 (part 2) for various problems. 2015-02-06 15:04:32 -08:00
Jeff Gilbert
8bb794cb82 Backout 80a88a3badba for causing bug 1130086. 2015-02-06 11:37:04 -08:00
Robert O'Callahan
b5425a3820 Bug 1129774. Part 6: Remove aContext parameter from nsIWidget::CreateChild. r=jmathies
--HG--
extra : rebase_source : cbe3decbca5f4a212a3ed6cbcd5132729a8b3cd3
2015-02-05 18:38:47 +13:00