Ting-Yu Lin
097bf2b9b7
Bug 1221459 - Remove TouchCaret and SelectionCarets prefs in test files. r=mtseng, r=roc
...
For test_bug648573.html and test_bug644768.html, we no longer need to
create an iframe to turn off the preferences. I move the content of
iframe.src back to the test files.
--HG--
extra : amend_source : eec926c474be934b99faeb604493c01c471066e7
2015-12-22 14:14:12 +08:00
Nigel Babu
ca777970e8
Backed out changeset b61190bd4069 (bug 1121459)
2015-12-22 14:03:19 +05:30
Ting-Yu Lin
010e08ad0b
Bug 1121459 - Remove TouchCaret and SelectionCarets prefs in test files. r=mtseng,roc
...
For test_bug648573.html and test_bug644768.html, we no longer need to
create an iframe to turn off the preferences. I move the content of
iframe.src back to the test files.
--HG--
extra : rebase_source : 5cf321bf3280e032cc6645810e3e7faa7a6ff615
2015-12-22 14:14:12 +08:00
Carsten "Tomcat" Book
b25476080d
merge mozilla-inbound to mozilla-central a=merge
2015-12-11 11:38:17 +01:00
Masayuki Nakano
4d21fa83d0
Bug 1179632 part.6 KeyboardEvent.isComposing shouldn't expose IME state on different document r=smaug
2015-12-04 18:50:43 +09:00
Masayuki Nakano
3d27dcecfa
Bug 1179632 part.5 WidgetCompositionEvent::mNativeIMEContext should be used at looking for a TextComposition instance for a WidgetCompositionEvent r=smaug
2015-12-04 18:50:34 +09:00
Masayuki Nakano
da7a2f4f8d
Bug 1179632 part.2 WidgetCompositionEvent should store NativeIMEContext which caused the event and PuppetWidget should store it for GetNativeIMEContext() r=smaug, sr=smaug
2015-12-11 15:15:57 +09:00
Masayuki Nakano
6cad726628
Bug 1179632 part.1 native IME context should not be stored in InputContext but should be able to retrieve with nsIWidget::GetNativeData() r=smaug
2015-12-11 15:15:57 +09:00
Gijs Kruitbosch
297357597f
Bug 1224605 - also show the OSK when tapping in focused inputs, r=masayuki
...
--HG--
extra : commitid : Dk5EQ4MMs4X
extra : rebase_source : 3bfa3f930a95904d2b179b58f3735f2e1cae1dc0
2015-12-08 09:56:27 -05:00
Nicholas Nethercote
16cd9db041
Bug 1230863 - Remove unused nsPresContext args from many functions. r=roc.
2015-12-06 17:15:53 -08:00
Kartikaya Gupta
e0c2c8e4f0
Bug 1228597 - Clean up code paths that (un)apply a pres shell resolution. r=tn,botond
...
A clear separation is introduced between paths that deal with a root
document resolution (at the process boundary in e10s setups) and paths
that deal with a non-root document resolution (elsewhere in Layout code).
This allows both code paths to run on all platforms.
--HG--
extra : source : 22bf09630803392dba3052a3f79691475af0c5e2
2015-11-30 19:13:20 -05:00
Botond Ballo
1cb64f6960
Bug 1228597 - Remove the MOZ_SINGLE_PROCESS_APZ define. r=tn
...
Code previously guarded by this (added in bug 1224015) will now run
unconditionally.
--HG--
extra : source : ce0f51f55572334002ddf1878db447540d4c9b82
2015-11-27 21:39:07 -05:00
David Rajchenbach-Teller
186f04cf6f
Bug 1219150
- EventStateManager::{LatestUserInputStart, UserInputCount};r=smaug
...
To detect slow behaviors, it is useful to find out whether a user
input was handled between two instants.
This patch introduces EventStateManager::UserInputCount, which lets
client code determine whether user input was handled between two
points of execution, and EventStateManager::LatestUserInputStart,
which lets client code find out when the altest user input was
handled.
--HG--
extra : commitid : uK1v8pj0fi
2015-12-03 17:40:45 -08:00
Carsten "Tomcat" Book
5adcabb340
merge mozilla-inbound to mozilla-central a=merge
2015-12-02 15:20:57 +01:00
Masayuki Nakano
c62bfb339f
Bug 1213589 part.9 ContentEventHandler::ShouldBreakLineBefore() should return false if the content is unknown HTML element r=smaug
2015-12-02 13:20:01 +09:00
Masayuki Nakano
ca5b42279c
Bug 1213589 part.8 When there are no nodes causing text, ContentEventHandler should set start of the editor root to start of the range r=smaug
2015-12-02 13:20:01 +09:00
Masayuki Nakano
14e03f9711
Bug 1213589 part.6 ContentEventHandler should insert line breaks at open tag of elements except non-replaced inline elements r=smaug
2015-12-02 13:20:00 +09:00
Masayuki Nakano
661b0d48d5
Bug 1213589 part.5 Redesign the rules to create range in ContentEventHandler::SetRangeFromFlatTextOffset() r=smaug
2015-12-02 13:20:00 +09:00
Masayuki Nakano
6edaa422d8
Bug 1213859 part.4 ContentEventHandler should use NS_NewPreContentIterator rathr than NS_NewContentIterator at converting between DOM tree and flattened text r=smaug
2015-12-02 13:20:00 +09:00
Masayuki Nakano
ae9603b782
Bug 1213589 part.3 ContentEventHandler::GetFlatTextLengthInRange() should handle specially when it's called by nsIMutationObserver::ContentRemoved() r=smaug
2015-12-02 13:20:00 +09:00
Masayuki Nakano
18395c1495
Bug 1213589 part.2 Clean up GenerateFlatTextContent(), GelerateFlatFontRanges() and GetFlatTextOffsetOfRange() of ContentEventHandler r=smaug
2015-12-02 13:20:00 +09:00
Masayuki Nakano
1b1d719d0f
Bug 1213589 part.1 Make ContentEventHandler::GetTextLength() and GetNativeTextLength() called only with a text node r=smaug
2015-12-02 13:20:00 +09:00
David Anderson
0bf441628c
Add APZ support for mousewheel delta multiplier prefs. (bug 1214170 part 2, r=kats)
...
--HG--
extra : rebase_source : e2847430422f19d872c446524627cbaa526ffe06
2015-12-01 13:46:07 -08:00
David Anderson
83e664a4cd
Add APZ support for mousewheel.acceleration prefs. (bug 1214170 part 1, r=kats)
...
--HG--
extra : rebase_source : b97121b98c3e42a83135f7e8fa186575b4fbfcb5
2015-12-01 13:45:49 -08:00
Jonathan Watt
740627a24c
Bug 1209924 - Implement a general filtering mechanism for Directory::GetFilesAndDirectories, and add filtering of sensitive files/directories. r=baku
2015-10-09 15:59:40 +01:00
Randall Barker
c3c082c5dd
Bug 1224015 - Part 3: ifdef changes to C++APZ so that they only apply to single process APZ. r=tnikkel
...
Added MOZ_SINGLE_PROCESS_APZ flag.
2015-11-26 20:51:13 -06:00
Randall Barker
73d7c06ec0
Bug 1224015 - Part 1: nsLayoutUtils functions do not account for nsPresShell resolution r=tnikkel
2015-11-26 20:51:13 -06:00
Randall Barker
a1e8bb482c
Bug 1228216 - Event::GetScreenCoords incorrectly converts the coords to a CSSPoint when the widget is null r=tnikkel
2015-11-26 20:04:16 -06:00
Nigel Babu
29e98fdbc3
Backed out changeset ebb6fb453cca (bug 1214170) for build bustage on a CLOSED TREE
2015-11-25 16:22:16 +05:30
David Anderson
859092e6a5
Add APZ support for mousewheel.acceleration prefs. (bug 1214170, r=kats)
2015-11-25 01:12:33 -08:00
Chris H-C
61f8d55777
Bug 1107782 - Only accept certain mouse, gamepad events as user-active. r=smaug
...
Based on a patch by gfritsche, this filters out mouse events not indicative of
user activity (like hit tests), and brings in gamepad events that might be
indicative of user activity.
2015-11-24 05:52:00 +01:00
Jesse Schwartzentruber
0bcc5caeef
Bug 938341 - Crashtest.
2015-11-24 20:04:04 +01:00
sajitk
5fb2c53074
Bug 1219478: Replace PRLogModuleInfo usage with LazyLogModule in dom folders except media.r=amerchesini
2015-11-23 11:09:25 -08:00
Jorg K
88642f71dc
Bug 938991 - text/rtf support for clipboard data. r=enndeakin
2015-11-23 11:04:26 -08:00
Andrew Herron
ffb1c5dd5b
Bug 586587 - support kHTMLMime in the Windows clipboard as CF_HTML. r=jimm
2015-07-22 16:56:57 +10:00
Jim Mathies
d44b0e2442
Bug 1222662 - In the content process, detect when the mouse exists a plugin frame and update the content cursor accordingly. r=enn
2015-11-20 11:00:12 -06:00
Mark Capella
e7b070ed41
Bug 1215959
- (GeckoCaret2) Upgrade Core and AccessibleCaret, r=smaug
2015-12-01 15:25:06 -05:00
Andrea Marchesini
5855a7439f
Bug 1226147 - WorkerPrivate->CreationTime() and CreationTimeStamp(), r=bz
2015-11-19 20:32:49 +00:00
Nathan Froyd
5aa6eb62b0
Bug 1225873 - micro-optimize creating event target chains; r=smaug
...
This code is only called in a few cases that aren't on the critical
path, but less code is less code: we eliminate the checks for whether we
have enough space in the copying loop, and maybe save some function
calls.
2015-11-18 09:48:45 -05:00
Botond Ballo
f7282ab158
Bug 1217515 - Clean up the way touch event support is configured. r=roc
...
- all.js now sets dom.w3c_touch_events.enabled to auto-detect on all
platforms except windows and mac
- auto-detect always returns true for android and b2g
- graphene and tests override the all.js pref with their own value
--HG--
extra : rebase_source : 85a88985f77dfb47301cab17d939a88f3043a7a1
extra : source : 95e992d129c32f5e5f39b67f6f946e5d1dcbf530
2015-10-26 16:06:27 -04:00
Boris Zbarsky
9ecf8df931
Bug 1225188. Implement window.onstorage. r=smaug
2015-11-17 18:09:53 -05:00
Gijs Kruitbosch
1fbe21a49c
Bug 1221947 - part 1: add BYTOUCH flag to nsIFocusManager, r=jaws,smaug
...
IGNORE IDL
--HG--
extra : commitid : B7HwLSDQHAd
extra : rebase_source : 8c32df3fe30cd2b8d502d6afe863290c2059ae35
extra : histedit_source : 5e0adbaf31cdea240e0a426c72e19145a581278f
2015-11-12 16:35:20 +00:00
Robert O'Callahan
7739604da7
Bug 1222092
. Don't let sFocusedIMEWidget keep an nsIWidget alive during shutdown. r=masayuki
...
--HG--
extra : commitid : GsPzx7tAfKb
extra : rebase_source : e202fd334b43956966daa1c7e9297d12c822dfd4
2015-11-13 17:05:54 +13:00
Wes Kocher
7167e1dc3d
Backed out changeset b6edabc35c21 (bug 1217515) for mulet reftest failures
...
--HG--
extra : commitid : LfjPOQOXmxO
extra : rebase_source : a8766e0ad91a52a3617de6e74f8a4914e6d17c39
2015-11-13 12:11:05 -08:00
Botond Ballo
94f0bf5241
Bug 1217515 - Clean up the way touch event support is configured. r=roc
...
- all.js now sets dom.w3c_touch_events.enabled to auto-detect on all
platforms except windows and mac
- auto-detect always returns true for android and b2g
- graphene and tests override the all.js pref with their own value
--HG--
extra : source : a9d8eb075f383d39d96d283825fe432417b3e01a
extra : intermediate-source : 9764f77b64e4a9c7914b539e61c412f838c09093
2015-10-26 16:06:27 -04:00
Kyle Huey
bdbb2ec50a
Bug 1224061: Make Event::InitEvent infallible. r=smaug
2015-11-13 08:09:42 +08:00
Gijs Kruitbosch
568411b554
Bug 1224233 - fix crashy usage of IMENotificationSender::Run using on-screen keyboard on Windows, r=smaug
...
--HG--
extra : commitid : wqqtHM8aKJ
extra : amend_source : 64228b7ff19bb07139a6f407a2be42a514368cf2
2015-11-12 15:56:01 +00:00
Botond Ballo
6a70e1aa18
Bug 1222661 - Replace FromUntyped(obj) calls with FromUnknown*(obj). r=nical
...
--HG--
extra : rebase_source : c1afe8560b838e1a3be0ce50847861b1815d3dc9
extra : source : d649f163c825736efaf3ac3ad73040beeb48a6ef
2015-11-09 18:22:25 -05:00
Botond Ballo
a592a77364
Bug 1222661 - Replace ToUntyped(obj) calls with obj.ToUnknown*(). r=nical
...
--HG--
extra : rebase_source : 1cab46638599d8c4e6183c42a6fa9d41702392cb
extra : source : cabc28a2200b9b4e5e137d331ee5b86b3c09f065
2015-11-06 22:13:40 -05:00
Carsten "Tomcat" Book
0610c350a3
merge mozilla-inbound to mozilla-central a=merge
2015-11-11 12:42:52 +01:00