Wes Kocher
9b4388ff25
Merge m-c to inbound a=merge
2015-03-27 17:31:19 -07:00
Ryan VanderMeulen
c956f7c20d
Merge m-c to fx-team. a=merge
2015-03-27 12:21:41 -04:00
Tom Tromey
a21b167040
Bug 1144820 - Use rvalue reference in AddProfileTimelineMarker. r=smaug
2015-03-27 08:41:00 -04:00
Timothy Nikkel
67581c6b64
Bug 1144951. Rename ConvertAppUnits to ScaleToOtherAppUnits. r=mats
2015-03-26 16:44:40 -05:00
Kearwood (Kip) Gilbert
d978a83d39
Bug 969250 - Part 1: Implement scroll snapping for scrollbars (v7 Patch),r=roc
2015-03-25 11:40:31 -07:00
Wes Kocher
cad55266a2
Backed out 2 changesets (bug 969250) on the other theory that it broke lots of tests, forcing a prolonged CLOSED TREE
...
Backed out changeset 3c1005c81e52 (bug 969250)
Backed out changeset 3ed9d5170d13 (bug 969250)
2015-03-25 14:46:47 -07:00
Kearwood (Kip) Gilbert
906ca87f97
Bug 969250 - Part 1: Implement scroll snapping for scrollbars (v7 Patch),r=roc
2015-03-25 11:40:31 -07:00
Ryan VanderMeulen
d70bbe5871
Backed out changeset a6b9c152a7d1 (bug 1140293) for mochitest failures.
...
CLOSED TREE
2015-03-25 08:42:46 -04:00
David Anderson
b23b745a66
Fix some tests that depend on synchronous scrolling. (bug 1140293 part 1, r=masayuki,mstange,kgilbert)
2015-03-25 01:03:48 -07:00
David Anderson
a939ce2deb
Don't route wheel events through APZ if they require custom deltas. (bug 1146674, r=kats)
2015-03-24 14:58:49 -07:00
William Chen
8addb0b26c
Bug 1145910 - Cross ShadowRoot boundary when updating ancestor state in event state manager. r=smaug
2015-03-24 03:55:52 -07:00
Ehsan Akhgari
5cccea6f0f
Bug 1145631 - Part 1: Replace MOZ_OVERRIDE and MOZ_FINAL with override and final in the tree; r=froydnj
...
This patch was automatically generated using the following script:
function convert() {
echo "Converting $1 to $2..."
find . \
! -wholename "*/.git*" \
! -wholename "obj-ff-dbg*" \
-type f \
\( -iname "*.cpp" \
-o -iname "*.h" \
-o -iname "*.c" \
-o -iname "*.cc" \
-o -iname "*.idl" \
-o -iname "*.ipdl" \
-o -iname "*.ipdlh" \
-o -iname "*.mm" \) | \
xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}
convert MOZ_OVERRIDE override
convert MOZ_FINAL final
2015-03-21 12:28:04 -04:00
Boris Zbarsky
8ae61c1c99
Bug 1144802 part 4. Stop returning true from ByteCodeEmitter::needsImplicitThis based on the compileAndGo flag. r=luke
2015-03-20 00:34:08 -04:00
Boris Zbarsky
988b8e01be
Bug 1117172 part 3. Change the wrappercached WrapObject methods to allow passing in aGivenProto. r=peterv
...
The only manual changes here are to BindingUtils.h, BindingUtils.cpp,
Codegen.py, Element.cpp, IDBFileRequest.cpp, IDBObjectStore.cpp,
dom/workers/Navigator.cpp, WorkerPrivate.cpp, DeviceStorageRequestChild.cpp,
Notification.cpp, nsGlobalWindow.cpp, MessagePort.cpp, nsJSEnvironment.cpp,
Sandbox.cpp, XPCConvert.cpp, ExportHelpers.cpp, and DataStoreService.cpp. The
rest of this diff was generated by running the following commands:
find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 'BEGIN { $/ = undef } s/(WrapObjectInternal\(JSContext *\* *(?:aCx|cx|aContext|aCtx|js))\)/\1, JS::Handle<JSObject*> aGivenProto)/g'
find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 'BEGIN { $/ = undef } s/(WrapObjectInternal\((?:aCx|cx|aContext|aCtx|js))\)/\1, aGivenProto)/g'
find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 'BEGIN { $/ = undef } s/(WrapNode\(JSContext *\* *(?:aCx|cx|aContext|aCtx|js))\)/\1, JS::Handle<JSObject*> aGivenProto)/g'
find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 'BEGIN { $/ = undef } s/(WrapNode\((?:aCx|cx|aContext|aCtx|js))\)/\1, aGivenProto)/g'
find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 'BEGIN { $/ = undef } s/(WrapObject\(JSContext *\* *(?:aCx|cx|aContext|aCtx|js))\)/\1, JS::Handle<JSObject*> aGivenProto)/g'
find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 'BEGIN { $/ = undef } s/(Binding(?:_workers)?::Wrap\((?:aCx|cx|aContext|aCtx|js), [^,)]+)\)/\1, aGivenProto)/g'
2015-03-19 10:13:33 -04:00
Kartikaya Gupta
af299ba137
Bug 1144324 - Remove the codepaths that conditionally enable touch events based on touch the presence of touch listeners. r=smaug,jimm
2015-03-19 06:37:39 -04:00
Robert O'Callahan
a6b743d3be
Bug 1143972. Return 0,0 for offsetX/Y when the document has no presentation. r=mats
2015-03-18 02:04:32 +13:00
Tim Taubert
a87b3d072c
Bug 1124409 - Fix test_bug659071.html to properly reset page zoom before finishing r=smaug
2015-03-17 22:05:58 +01:00
Tim Taubert
400ee71350
Bug 1124409 - Fix intermittent browser_bug1015721.js failures by ensuring the EventStateManager has a document before trying to dispatch ZoomChangeUsingMouseWheel r=smaug
2015-03-17 22:05:06 +01:00
Ryan VanderMeulen
702123c445
Backed out changeset dccbdda5be64 (bug 1124409) for Linux mochitest-e10s permafail.
...
CLOSED TREE
2015-03-17 14:12:39 -04:00
Tim Taubert
eb643e0034
Bug 1124409 - Fix intermittent browser_bug1015721.js failures by ensuring the EventStateManager has a document before trying to dispatch ZoomChangeUsingMouseWheel r=smaug
2015-03-17 12:34:18 +01:00
Catalin Badea
f010899ae9
Bug 1142015 - Add source for messages dispatched to a Service Worker. r=baku
2015-03-16 22:23:42 +02:00
Robert O'Callahan
cae6c20e26
Bug 69787. Implement MouseEvent.offsetX/Y. r=mats,smaug
2015-03-14 00:50:10 +13:00
Jonathan Griffin
8873726f67
Bug 1116187 - Disable failing mochitest-chrome tests for B2G, r=gbrown
2015-02-06 16:30:37 -08:00
Carsten "Tomcat" Book
9511e52432
Backed out changeset fdd33ef9606e (bug 969250) for m5 test failures
2015-03-11 10:33:52 +01:00
Kearwood (Kip) Gilbert
97eae3728a
Bug 969250 - Part 1: Implement scroll snapping for scrollbars (v5 Patch). r=roc
2015-03-03 17:40:00 +01:00
Kartikaya Gupta
e475723c6e
Bug 1137267 - Remove unneeded flags to track touch listeners and touch caret. r=smaug,dvander,botond
2015-03-10 09:29:25 -04:00
dvander@alliedmods.net
82c3273e96
Don't async scroll overflowed single-line text boxes in APZ. (bug 1126090 part 6, r=botond)
2015-03-06 14:26:59 -08:00
dvander@alliedmods.net
aecbcf59c8
Wait for all paints to flush before synthesizing scroll events. (bug 1126090 part 5, r=smaug)
2015-03-06 14:26:59 -08:00
dvander@alliedmods.net
e3d4680337
If APZ is enabled, do not handle wheel-event scrolling in layout. (bug 1126090 part 1, r=smaug)
2015-03-06 14:26:59 -08:00
Timur Valeev
f3a3ed962d
Bug 1135627 - Add implementation of DragEvent constructor. r=jdm r=smaug
2015-03-04 17:52:03 +03:00
Kearwood (Kip) Gilbert
bbc4c7b4e8
Bug 945584: Part 6 - Implementation of scroll snapping (v10 Patch), r=roc, r=kats
...
- Implemented CSS scroll snapping (http://dev.w3.org/csswg/css-snappoints/ )
2015-02-19 15:53:30 -08:00
Kearwood (Kip) Gilbert
92aa32553d
Bug 945584: Part 3 - Enable cancellation of OSX synthesized mousewheel scrolling events (v2 Patch),r=roc
...
- Mouse wheel events synthesized by OSX for momentum scrolling can now
be interrupted by DOM triggered and CSS scroll snapping triggered scroll
events for consistent behavior with the scrolling and fling gestures
in the APZC.
2014-02-04 14:54:22 +13:00
Andrea Marchesini
8b272ee6ab
Bug 1134280 - Get rid of Tag() - patch 2.10 - dom/events, dom/mathml, dom/plugins, dom/smil - Fix all the occurrences, m=smaug, r=surkov
2015-03-03 11:09:00 +00:00
Andrea Marchesini
5a32f7fa5a
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
Kartikaya Gupta
98cd9d6d72
Bug 1137952 - Call mozRequestAnimationFrame on the right window. r=mstange
2015-03-02 17:37:33 -05:00
Boris Zbarsky
11743e14d0
Bug 1135151. Add a WrapNativeParent specialization for the nsIGlobalObject case, and make Event return nsIGlobalObject as its parent object. r=smaug
2015-02-23 10:03:40 -05:00
Martin Thomson
d6c2324c6d
Bug 975144 - WebIDL changes for identity error handling refactor, r=jib,bz
2015-02-22 10:57:21 +13:00
Alexandre Lissy
53342df346
Bug 1133741 - Add camera focus hardware button. r=masayuki
2015-02-20 00:06:00 -05:00
Anish
d6962a9b5b
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
24df8222d0
Backed out changeset 6885e993936a (bug 1056851) for crashtest failures
2015-02-19 15:02:05 +01:00
Anish
e982da177f
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
a429c2230d
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
8a60028480
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
f461315911
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
bde1e8e8cb
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
fec2e93253
Bug 1133629 IMEContentObserver should grab itself before using ContentEventHandler because it causes flushing pending layout r=smaug
2015-02-17 22:20:08 +09:00
Kartikaya Gupta
81487ec136
Bug 1132464 - Remove EventStateManager::GetChildProcessOffset in favor of TabParent::GetChildProcessOffset. r=smaug
2015-02-16 21:35:03 -05:00
David Zbarsky
2a13fc70a1
Bug 1125040: Use LayoutDeviceIntPoint for GetScreenCoords r=botond
2015-02-15 13:52:28 -05:00
David Zbarsky
d51a76f94b
Bug 1125040: Use LayoutDeviceIntPoint for synthesizing native events on widgets r=botond
2015-02-15 13:52:28 -05:00
Andrea Marchesini
94545cbb2e
Bug 1148527 - Indentation fix after bug 1145631, r=ehsan
2015-03-27 18:52:19 +00:00
Carsten "Tomcat" Book
022753dfe5
Merge mozilla-central to fx-team
2015-02-11 15:01:53 +01:00
Carsten "Tomcat" Book
5ac50b27cc
merge mozilla-inbound to mozilla-central a=merge
2015-02-11 14:58:16 +01:00
Kartikaya Gupta
fde7d819d1
Bug 1125422 - Change EventDispatcher::Dispatch to take an nsTArray instead of a nsCOMArray. r=smaug
2015-02-10 16:28:07 -05:00
Jonathan Kew
9fa6bda1dc
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
Jonathan Kew
9e4d7ffb58
Bug 1076657 pt 1 - Fix ContentEventHandler::OnQueryTextRect for vertical textframes. r=smontagu
2015-02-10 15:28:05 +00:00
Jim Mathies
b9ba7b14a4
Bug 1030137 - For remote content respond to NS_GESTURENOTIFY_EVENT_START events indicating panning is preferred, and disable pan feedback since we currently have no scroll information for remote content. r=smaug
2015-02-10 07:59:40 -06:00
Nicholas Nethercote
ee41df7dc2
Bug 1127201 (attempt 2, part 1) - Replace most NS_ABORT_IF_FALSE calls with MOZ_ASSERT. r=Waldo.
2015-02-09 14:34:50 -08:00
Carsten "Tomcat" Book
04b9e9abe4
Backed out changeset 88c746188a40 (bug 1125934) for rc6 test failures
2015-02-09 15:28:41 +01:00
Tooru Fujisawa
aaca0fde90
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
Tooru Fujisawa
219b9adee2
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
1ee96e7527
Back out Bug 1127201 (part 2) for various problems.
2015-02-06 15:04:32 -08:00
Olli Pettay
bc4b4241f5
Bug 676470, ensure null-checking mCurrentTarget actually works, r=masayuki
2015-02-06 18:02:22 +02:00
Ryan VanderMeulen
6c476fc4fe
Backed out changeset 900bd9173e8f (bug 676470) for mochitest-other asserts.
...
CLOSED TREE
2015-02-06 09:07:39 -05:00
Olli Pettay
af546ca486
Bug 676470, ensure null-checking mCurrentTarget actually works, r=masayuki
2015-02-06 02:56:30 +02:00
Andrea Marchesini
9fc51f4ae0
Bug 1130041 - UNIFIED_SOURCE for BroadcastChannel, r=smaug
2015-02-06 11:06:35 +00:00
Kan-Ru Chen (陳侃如)
8dba892982
Bug 1114890 - Use TabParent::GetFrom everywhere. r=billm
2015-02-05 16:47:32 -05:00
Nicholas Nethercote
0a02b5d31c
Bug 1127201 (part 2) - Convert all NS_ABORT_IF_FALSE calls to MOZ_ASSERT. r=Waldo.
2015-02-04 20:05:36 -08:00
Ryan VanderMeulen
d8c6df0517
Backed out changeset ab7fbaca9fdd (bug 1114890) for being the likely cause of bug 1124046.
2015-02-05 14:35:35 -05:00
Kan-Ru Chen (陳侃如)
d1351de810
Bug 1114890 - Use TabParent::GetFrom everywhere. r=billm
2015-02-05 17:18:22 +08:00
Kartikaya Gupta
164ea2c10c
Bug 1129066 - Ensure the click event is always dispatched to an element node. r=smaug
2015-02-04 22:48:45 -05:00
David Zbarsky
f29e757aa4
Bug 1125040 - Use LayoutDeviceIntPoint in IME code r=botond
2015-02-04 15:21:03 -05:00
David Zbarsky
792f700e75
Bug 1125040: Use LayoutDeviceIntPoint for nsIWidget::WidgetToScreen r=botond
2015-02-04 15:21:03 -05:00
Masayuki Nakano
aaff1d01c0
Bug 1020139 part.1 Sort out legacy keys section of code value for the latest spec and add code values for Sun keyboard r=smaug
2015-02-04 11:01:19 +09:00
Wes Kocher
4c70c73091
Backed out changeset 24fe1880f83b (bug 1126090) for b2g test failures
2015-02-03 16:50:14 -08:00
David Anderson
c80cd22c24
If APZ is enabled, do not handle wheel-event scrolling in layout. (bug 1126090, r=smaug)
2015-02-03 14:40:38 -08:00
Morris Tseng
ce4c69ce51
Bug 1125419 - Disable touch/selection caret before testing test_bug648573.html. r=smaug
2015-02-01 19:29:00 +01:00
David Anderson
c6695ca0aa
Detect wheel zoom via WheelPrefs instead of the Ctrl modifier. (bug 1127700, r=smaug)
2015-02-02 11:28:19 -08:00
Phil Ringnalda
828d8bca44
Back out 5167196c4b98 (bug 1125040) for not compiling on Linux
...
CLOSED TREE
2015-02-01 15:27:14 -08:00
David Zbarsky
becb33393a
Bug 1125040: Use LayoutDeviceIntPoint for nsIWidget::WidgetToScreen r=botond
2015-02-01 17:27:41 -05:00
David Zbarsky
6969ea7c90
Bug 1125040: Use LayoutDeviceIntPoint for nsLayoutUtils::GetEventCoordinatesRelativeTo and Touch::mRefPoint r=botond
2015-02-01 17:27:31 -05:00
Xidorn Quan
bcda60a836
Bug 569334 part 1 - Support getting font info in content query. r=masayuki,jfkthame,smaug
2015-01-31 18:17:12 +11:00
Masayuki Nakano
e1e81df6c6
Bug 936313 part.1 Remove DOM_KEY_LOCATION_MOBILE and DOM_KEY_LOCATION_JOYSTICK r=smaug+mwu+cpeterson, sr=smaug
2015-01-28 22:36:53 +09:00
Carsten "Tomcat" Book
cc6cedd66c
merge fx-team to mozilla-central a=merge
2015-01-28 14:24:09 +01:00
Masayuki Nakano
37159d5e10
Bug 917322 part.7 TextEventDispatcher should manage if it has composition r=smaug
2015-01-28 15:27:31 +09:00
dominique vincent
6360b70972
Bug 663803 - Add hitCluster flag to detect touch in cluster links area r=smaug,kats
2014-11-24 15:33:06 +01:00
Nikhil Marathe
b4bb7fa086
Bug 1113627 - Refactor lifecycle event dispatching and handling. r=baku,bz
2014-12-19 05:01:53 -08:00
Masatoshi Kimura
f1b5ace064
Bug 1111290 - Part 3: Remove TypedEnum.h and fold TypedEnumInternal.h into TypedEnumBits.h. r=waldo
2015-01-26 07:22:11 +09:00
Ryan VanderMeulen
b2b2e2ad4f
Merge fx-team to m-c. a=merge
2015-01-23 12:20:52 -05:00
Ehsan Akhgari
4c4956892d
Bug 1123016 - Clarify the ownership of DOMEventTargetHelper::mParentObject/mOwnerWindow; r=smaug
...
This patch converts DOMEventTargetHelper::mParentObject into an
nsWeakPtr, and adds fatal assertions to ensure that all future
nsIGlobalObject implementations support weak references. It also marks
DOMEventTargetHelper::mOwnerWindow as a non-owning reference.
2015-01-23 08:37:37 -05:00
Olli Pettay
01fdc982c5
Bug 1079236, Event.composedTarget to reveal the original non-native-anonymous event target, r=wchen, r=smaug
2015-01-23 13:55:46 +02:00
Andreas Pehrson
c806cf5146
Bug 992685 - Part 1. Make onresize event handler global and forwarded. r=smaug
2014-12-04 17:26:00 +01:00
Tom Tromey
1235b93cfb
Bug 1124680 - add MOZ_OVERRIDE in subclasses of TimelineMarker. r=smaug
2015-01-22 07:35:00 +01:00
David Parks
92a2bb76d6
Bug 1051842 - Part 2 - crash in -[ChildView keyDown:]. r=masayuki
...
In e10s, each nsFocusManger (main/chrome and content/tab) operates on its own content tree with its own InputContext. They also communicate their InputContexts with the OS widget (nsChildView on mac, nsWindow on Windows). Prior to this patch, the OS widgets didn't distinguish between main and content InputContexts. When GetInputContext was called on the OS widget, it would return whatever InputContext it had set last. This patch distinguishes between InputContexts in the widget.
2014-08-27 22:06:41 -07:00
Masatoshi Kimura
858165fd65
Bug 895582 - Get rid of MOZ_ENUM_TYPE. r=waldo
2015-01-21 22:35:19 +09:00
Xidorn Quan
d566bb9532
Bug 910532 part 1 - Add flag to indicate prevent default from chrome. r=smaug
2015-01-21 12:16:04 +11:00
Bill McCloskey
75154191bc
Bug 1051842 - Backout e1dd58a149d2 (bug 1051842) due to bug 1122208
2015-01-20 14:03:33 -08:00
Carsten "Tomcat" Book
f557e7bf14
Backed out changeset 142031795f33 (bug 992685) for failing w3 and w4 tests
2015-01-20 11:21:51 +01:00
Andreas Pehrson
d087e6b210
Bug 992685 - Part 1. Make onresize event handler global and forwarded. r=smaug
2014-12-04 17:26:00 +01:00
Ehsan Akhgari
6dcee144b7
Bug 1123015 - Mark EventLisenerManager::mTarget as non-owning; r=smaug
2015-01-18 13:42:13 -05:00
Ehsan Akhgari
6b3ed765b7
Bug 924087 - Do not make editable elements as active, as their default action is disabled; r=smaug,dbaron
2015-01-16 21:07:11 -05:00