Commit Graph

9487 Commits

Author SHA1 Message Date
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
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
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