Commit Graph

667 Commits

Author SHA1 Message Date
Masayuki Nakano
dd277f3277 Bug 917322 part.7 TextEventDispatcher should manage if it has composition r=smaug 2015-01-28 15:27:31 +09:00
dominique vincent
d15b47438e 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
c93d203e5c Bug 1113627 - Refactor lifecycle event dispatching and handling. r=baku,bz
--HG--
extra : transplant_source : %E9%C4%13%80%CA%EEj%8D%17%A0LE%F3Tm%0F%EB%2B%3D3
extra : histedit_source : e16da08aa5dca392ad6270a3b03c05c74d1a5ad6
2014-12-19 05:01:53 -08:00
Masatoshi Kimura
6cc5dabbee 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
f6ca65e867 Merge fx-team to m-c. a=merge 2015-01-23 12:20:52 -05:00
Ehsan Akhgari
a61a347792 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
faee2dfe7e 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
77ec90c5a5 Bug 992685 - Part 1. Make onresize event handler global and forwarded. r=smaug 2014-12-04 17:26:00 +01:00
Tom Tromey
0b7c53b55c Bug 1124680 - add MOZ_OVERRIDE in subclasses of TimelineMarker. r=smaug 2015-01-22 07:35:00 +01:00
David Parks
569529da16 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
9656ec51c3 Bug 895582 - Get rid of MOZ_ENUM_TYPE. r=waldo 2015-01-21 22:35:19 +09:00
Xidorn Quan
589c303536 Bug 910532 part 1 - Add flag to indicate prevent default from chrome. r=smaug
--HG--
extra : source : 0c9290ce08d739394df1787a05beff8dfddb1b4e
2015-01-21 12:16:04 +11:00
Bill McCloskey
f129f1c9a3 Bug 1051842 - Backout e1dd58a149d2 (bug 1051842) due to bug 1122208 2015-01-20 14:03:33 -08:00
Carsten "Tomcat" Book
4d2773b297 Backed out changeset 142031795f33 (bug 992685) for failing w3 and w4 tests 2015-01-20 11:21:51 +01:00
Andreas Pehrson
c198c1283a Bug 992685 - Part 1. Make onresize event handler global and forwarded. r=smaug 2014-12-04 17:26:00 +01:00
Ehsan Akhgari
bb446427c4 Bug 1123015 - Mark EventLisenerManager::mTarget as non-owning; r=smaug 2015-01-18 13:42:13 -05:00
Ehsan Akhgari
782c094f1d 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
Jehan
1247e9d923 Bug 1114357 - Firefox does not understand XF86 ZoomIn and ZoomOut keys. r=masayuki 2015-01-15 20:00:58 +01:00
Andrea Marchesini
f36b9e5ced Bug 966439 - BroadcastChannel API - patch 1 - BroadcastChannel for main-thread, r=smaug, r=bent 2015-01-15 16:58:40 +00:00
Kartikaya Gupta
d8cde2ed0d Bug 1121430 - Back out 4 csets from bug 1112212 for breaking backspace on Android. r=backout 2015-01-15 10:52:05 -05:00
David Parks
7eb1cc02ff 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
Ryan VanderMeulen
3a9ff448dc Backed out 11 changesets (bug 966439, bug 1121472) for causing widespread test failures and because inbound isn't Try and shouldn't be treated as such.
Backed out changeset e6cd15d43b5a (bug 1121472)
Backed out changeset 4f9788639f3f (bug 966439)
Backed out changeset ac9a967e5a10 (bug 966439)
Backed out changeset 14d322737871 (bug 966439)
Backed out changeset 8f941e519580 (bug 966439)
Backed out changeset b82d1010c6b4 (bug 966439)
Backed out changeset 2c29a52a03bd (bug 966439)
Backed out changeset e4b0802a3f06 (bug 966439)
Backed out changeset bdc9a0310034 (bug 966439)
Backed out changeset 6b3ae19628e6 (bug 966439)
Backed out changeset 3d23e775033a (bug 966439)

CLOSED TREE
2015-01-14 11:46:14 -05:00
Andrea Marchesini
65afdf13d8 Bug 966439 - BroadcastChannel API - patch 1 - BroadcastChannel for main-thread, r=smaug, r=bent 2015-01-14 11:50:31 +00:00
Gabor Krizsanits
e9973161c9 Bug 1111633 - Unresolved pseudo class. r=bz 2015-01-13 19:58:06 +01:00
Ms2ger
b83d21c58c Bug 914067 - Remove JSVAL_VOID from dom/; r=jst 2015-01-14 08:59:06 +01:00
Birunthan Mohanathas
7c7df852b0 Bug 679494 - Follow-up: Fix bug number and path in test. r=me 2015-01-14 07:30:42 +02:00
Carsten "Tomcat" Book
830e9e7d40 merge b2g-inbound to mozilla-central a=merge 2015-01-12 14:59:45 +01:00
Jim Chen
3817965035 bug 1112212 - Set flag in InputContext for IME-unaware webapps; r=masayuki 2015-01-10 12:41:57 -05:00
Jim Chen
93af861dec Bug 1112212 - Add may-have flags for key event and input event listeners; r=smaug 2015-01-10 12:41:57 -05:00
Olli Pettay
05d8cc1271 Bug 1119652, create mozilla::dom::Event::As*Event automatically for all the codegen'ed Events and annotate As*Event with MOZ_OVERRIDE in the codegen, r=bz
--HG--
extra : rebase_source : 8dc5e2f29d4ae7702e4f41c01e971016c357c85a
2015-01-10 13:46:41 +02:00
Sean Lin
8e19b30dd6 Bug 1116762 - Add MozHomeScreen key name for home button. r=masayuki 2015-01-08 11:29:54 +08:00
Makoto Kato
9bd4de0732 Bug 966157 - Part 1. Implement remote NS_QUERY_EDITOR_RECT. r=masayuki 2014-12-15 18:21:20 +09:00
Ehsan Akhgari
4354953b4f Bug 1118486 - Part 1: Use = delete instead of MOZ_DELETE directly; r=Waldo
Most of this patch (with the exception of dom/bindings/Codegen.py) was
generated by the following bash script:

#!/bin/bash

function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
       ! -wholename "*security/nss*" \
       ! -wholename "*/.hg*" \
       ! -wholename "*/.git*" \
       ! -wholename "obj-*" \
         -type f \
      \( -iname "*.cpp" \
         -o -iname "*.h" \
         -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_DELETE '= delete'
2015-01-08 23:19:05 -05:00
Ehsan Akhgari
a5c15a6ebe Bug 1118546 - Mark virtual overridden functions as MOZ_OVERRIDE in dom/events; r=baku 2015-01-07 10:19:11 -05:00
Wes Kocher
e62807e2fa Merge fx-team to m-c a=merge 2015-01-05 17:08:49 -08:00
Tom Tromey
14484f49ae Bug 1113706 - move TimelineMarker to a new header; r=smaug 2015-01-05 09:39:16 -08:00
Tom Tromey
3da37909db Bug 1104213 - add stack traces to timeline markers. r=smaug r=vporof 2014-12-29 11:32:00 +01:00
Masayuki Nakano
f840763cec Bug 1027477 Don't map "Exit" key value to HOME button of smartphones r=mwu+nchen+smaug 2014-12-30 10:47:56 +09:00
Masayuki Nakano
f9f5b47d2c Bug 1027474 Support "VideoModeNext" key value on GTK r=smaug+karlt 2014-12-30 10:47:56 +09:00
Masayuki Nakano
4cefbaca68 Bug 1027472 Support Symbol key value on Android and Gonk r=mwu+nchen+smaug 2014-12-30 10:47:55 +09:00
Masayuki Nakano
478c8eafdf Bug 1027007 Support multimedia keyboard's special key values "Close", "MailForward", "MailReply", "MailSend", "New", "Open", "Print" and "SpellCheck" on GTK and Qt r=smaug+karlt+romaxa 2014-12-30 10:47:55 +09:00
Masayuki Nakano
4cfc2a5d68 Bug 1026939 Support "LaunchFoo" key values which launches specific application on GTK, Qt, Android and Gonk r=nchen+karlt+mwu+smaug+romaxa 2014-12-30 10:47:55 +09:00
Masayuki Nakano
20c6bd2f32 Bug 1023062 Support "TV", "TVInput", "TVPower", "AVInput", "AVPower", "STBInput" and "STBPower" key values on Androind and Gonk r=nchen+mwu+smaug 2014-12-30 10:47:55 +09:00
Masayuki Nakano
3801317282 Bug 936322 Support "GroupFirst", "GroupLast", "GroupNext" and "GroupPrevious" key values on GTK, Android and Gonk r=nchen+karlt+mwu+smaug 2014-12-30 10:47:55 +09:00
Masayuki Nakano
569bacdbd2 Bug 896348 Support "Eisu" key value on Mac, Android and Gonk r=smichaud+nchen+mwu+smaug 2014-12-30 10:47:55 +09:00
Masayuki Nakano
b76d23b4bc Bug 900400 Support "HiraganaKatakana" and "ZenkakuHankaku" on GTK, Qt, Android and Gonk r=nchen+karlt+mwu+smaug+romaxa 2014-12-30 10:47:55 +09:00
Masayuki Nakano
bc55189154 Bug 900392 Support "SingleCandidate" key value on GTK and Qt r=romaxa+karlt+smaug 2014-12-30 10:47:55 +09:00
Masayuki Nakano
d5da3d58da Bug 900384 Support "Redo" key value on GTK r=karlt+smaug 2014-12-30 10:47:54 +09:00
Masayuki Nakano
f55d83102d Bug 900382 Support "LogOff", "PowerOff", "Hibernate", "Standby" and "WakeUp" key values on Windows, GTK and Qt r=jimm+karlt+smaug+jimm 2014-12-30 10:47:54 +09:00
Masayuki Nakano
6e2fea9d4e Bug 900378 Support "ZoomIn" and "ZoomOut" key values on GTK, Qt, Android and Gonk r=romaxa+nchen+karlt+mwu+smaug 2014-12-30 10:47:54 +09:00
Masayuki Nakano
6bed28ea07 BUg 1020877 Drop 'Live' key name since no platforms use it and rename remaining unused old key names to the latest D3E draft's names r=smaug 2014-12-30 10:47:54 +09:00
Masayuki Nakano
f83e02a827 Bug 938987 Use 'Dead' key value for all dead keys r=smaug 2014-12-30 10:47:54 +09:00
Masayuki Nakano
557870be28 Bug 936315 Rename 'Nonconvert', 'HalfWidth', 'RomanCharacters' and 'FullWidth' to 'NonConvert', 'Hankaku', 'Romaji' and 'Zenkaku' r=smaug 2014-12-30 10:47:54 +09:00
Masayuki Nakano
d8ce689fbc Bug 912869 Rename 'Apps' and 'FastFwd' to 'MediaApps' and 'MediaFastForward' (and drop 'MediaApps' support) r=smaug 2014-12-30 10:47:54 +09:00
Masayuki Nakano
897a3b7ca7 Bug 912866 Rename key values of color buttons to the latest D3E draft's names (like 'ColorF0Red') r=smaug 2014-12-30 10:47:54 +09:00
Masayuki Nakano
0fa15c7ffb Bug 912864 Rename 'SelectMedia', 'MediaNextTrack' and 'MediaPreviousTrack' to 'MediaSelect', 'MediaTrackNext' and 'MediaTrackPrevious' r=smaug 2014-12-30 10:47:53 +09:00
Masayuki Nakano
c71773be27 Bug 912860 Rename 'Zoom' key value to 'ZoomToggle' r=smaug 2014-12-30 10:47:53 +09:00
Masayuki Nakano
0c18e15f5d Bug 912859 Rename 'Del' and 'Esc' key values to 'Delete' and 'Escape' r=smaug 2014-12-30 10:47:53 +09:00
Masayuki Nakano
507b30c237 Bug 900390 Rename 'Down', 'Left', 'Right' and 'Up' key values to 'ArrowDown', 'ArrowLeft', 'ArrowRight' and 'ArrowUp' r=smaug 2014-12-30 10:47:53 +09:00
Masayuki Nakano
de803d6da7 Bug 900376 Rename 'Crsel' and 'Exsel' key values to 'CrSel' and 'ExSel' r=smaug 2014-12-30 10:47:53 +09:00
Masayuki Nakano
0fb454c590 Bug 900374 Rename 'Menu' key value to 'ContextMenu' r=smaug 2014-12-30 10:47:53 +09:00
Masayuki Nakano
486473fda9 Bug 900372 Remove the warnings of renaming .key values r=smaug 2014-12-30 10:47:53 +09:00
Alexandre Poirot
2201b8a64d Bug 1047571 - Blacklist mulet's failing tests. r=ahal 2014-12-29 12:49:56 -08:00
Oleg Romashin
26d1564a4a Bug 1103411 - EventStateManager may call AddBoolVarCache multiple times and crash. r=bugs
--HG--
extra : rebase_source : 19c5ff83a2799c6dcb5eb305f2c30c62cae2805a
2014-12-16 23:48:21 -08:00
Bill McCloskey
e1fde1cad1 Bug 1087117 - Fix racy test (r=smaug) 2014-12-20 08:42:35 -08:00
Bill McCloskey
02b0b22c14 Bug 1087117 - Disable test_bug457672.html in e10s for intermittent failures 2014-12-19 09:22:05 -08:00
Carsten "Tomcat" Book
d436487485 Backed out changeset eb6981f3c136 (bug 966157) for m5 test failures on a CLOSED TREE 2014-12-15 12:27:36 +01:00
Gina Yeh
ab654e8cdc Bug 1106720 - Intermittent test_bug1096146.html | verify result - got 3, expected 1, r=smaug. 2014-12-15 18:18:55 +08:00
Makoto Kato
62347a8f7b Bug 966157 - Part 1. Implement remote NS_QUERY_EDITOR_RECT. r=masayuki 2014-12-15 18:21:20 +09:00
Ehsan Akhgari
09a262787c Bug 649012 - Fail mochitest-plains which use flaky timeouts (setTimeout(x) for x > 0); r=ted
We are white-listing the existing set of tests that use setTimeout
like this.  Hopefully these tests will be investigated and fixed
in the future, so that we can narrow down the white-list.

This check is only turned on for mochitest-plain for now.
2014-12-11 13:34:40 -05:00
David Anderson
a63076d2ee Add scroll listeners to dispatch-to-content regions. (bug 1013432 part 5, r=tn)
--HG--
extra : rebase_source : babd42d9bdae722173821e800bc595fe662ee8f1
2014-12-09 02:38:23 -08:00
Brian Birtles
9a78398b6b Bug 1104433 part 1 - Update test_error_events.html to set allow_uncaught_exception; r=Ms2ger 2014-12-01 08:36:22 +09:00
Ryan VanderMeulen
9e581b1d56 Merge m-c to inbound. a=merge 2014-11-26 21:43:23 -05:00
Ryan VanderMeulen
792273e467 Merge inbound to m-c. a=merge 2014-11-26 20:34:29 -05:00
Boris Zbarsky
8ec9d58716 Bug 1087851 part 1. Rename WrapNewBindingObject to GetOrCreateDOMReflector to make it clearer what it does. r=peterv for the idea; patch itself is just search-and-replace 2014-11-26 14:25:20 -05:00
Gina Yeh
012fd18415 Bug 1103836, Patch 2: Mochitest, r=smaug. 2014-11-26 17:29:11 +08:00
Mike Habicher
34426c6b7a Bug 1099390 - add reason to onClosed event, r=aosmond,bz 2014-11-25 14:45:00 -05:00
Masayuki Nakano
c207c66fed Bug 1077345 part.6 Add NS_COMPOSITION event which automatically commits composition with its mData r=smaug 2014-11-25 14:02:32 +09:00
Masayuki Nakano
7c2cde510e Bug 1077345 part.4 Add NS_COMPOSITION_COMMIT_AS_IS event which automatically commits composition with the last data r=smaug 2014-11-25 14:02:31 +09:00
Masayuki Nakano
9a6c0e03b6 Bug 1077345 part.3 Add WidgetCompositionEvent::CausesDOMTextEvent() and WidgetCompositionEvent::CausesDOMCompositionEndEvent() r=smaug 2014-11-25 14:02:30 +09:00
Masayuki Nakano
8dbdea703b Bug 1077345 part.2 Add TextComposition::CloneAndDispatchAs() for dispatching WidgetCompositionEvent only whose message is different from original composition event r=smaug 2014-11-25 14:02:30 +09:00
Masayuki Nakano
e33c5a94b9 Bug 1077345 part.1 Add TextComposition::IsValidStateForComposition() for checking if it's safe to dispatch an event to the DOM tree r=smaug 2014-11-25 14:02:29 +09:00
Trevor Saunders
1a013270b5 bug 1105074 - make more stuff final r=froydnj 2014-11-25 13:56:07 -05:00
Jonathan Kew
b211ed7ac5 Bug 1077515 - part 4 - Add writing-mode to the reply to the NS_QUERY_SELECTED_TEXT event. r=roc 2014-11-22 14:39:03 +00:00
Gina Yeh
1c274330e8 Bug 1096146, Patch 2: Mochitest, r=smaug. 2014-11-21 17:48:04 +08:00
Shelly Lin
2be44806ed Bug 1100259 - Add TaskTracer labels in EventDispatcher and console.log of message with special prefix. r=sinker. 2014-11-20 10:57:27 +08:00
Karl Tomlinson
ed15675b8b bug 1096132 rename UnscaledAppUnitsPerDevPixel() to AppUnitsPerDevPixelAtUnitFullZoom() r=tn
--HG--
extra : rebase_source : 220ede5d449a752c16064bb77905bc68af3df707
2014-11-14 00:53:02 +13:00
Boris Zbarsky
d701d92006 Bug 1117162. Give DOMEventTargetHelper a constructor taking nsIGlobalObject. r=smaug 2015-01-05 10:23:36 -05:00
Tom Tromey
986dfd2fd6 Bug 1069661 - add "detail" to timeline markers. r=smaug 2014-11-18 14:39:00 +01:00
Maksim Lebedev
2663f2a50d Bug 1094913 - Set pointerType to got/lostpointercapture events. r=smaug 2014-11-11 08:29:00 +01:00
Karl Tomlinson
a3ba9b4cb5 backout bug 1096132 for Mac build failure
--HG--
extra : rebase_source : 6994fe50e8fb1a4f89298e1b9ad1c714acdfe39e
2014-11-12 16:02:34 +13:00
Karl Tomlinson
4b187d31fa bug 1096132 rename UnscaledAppUnitsPerDevPixel() to AppUnitsPerDevPixelAtUnitFullZoom() r=tn
--HG--
extra : rebase_source : 113b249f2cb6f1619e0b1a495655726b5100038b
2014-11-08 17:48:14 +13:00
Masayuki Nakano
020fd43d35 Bug 1047588 - IMEContentObserver::Init() should take nsIEditor because nsDocShell sometimes hasn't been initialized and nsContentEditor::GetHTMLEditor() fails. r=smaug 2014-11-05 08:12:44 -05:00
Wes Kocher
e005079968 Backed out changeset f86dbba73d43 (bug 1047588) under suspicion of adding a hazard on a CLOSED TREE 2014-11-04 20:25:47 -08:00
Masayuki Nakano
a75c24771c Bug 1047588 IMEContentObserver::Init() should take nsIEditor because nsDocShell sometimes hasn't been initialized and nsContentEditor::GetHTMLEditor() fails r=smaug 2014-11-05 10:36:37 +09:00
Gina Yeh
98a943318d Bug 989198, Patch 5: Mochitest for BeforeAfterKeyboardEvent, r=smaug. 2014-11-03 15:05:48 +08:00
Gina Yeh
a9a5a8c2c1 Bug 989198, Patch 3: Dispatch BeforeAfterKeyboardEvent on b2g, r=smaug 2014-11-03 15:05:38 +08:00
Gina Yeh
1d9d1f4c1f Bug 989198, Patch 2: Implementation of BeforeAfterKeyboardEvent, sr=smaug, r=masayuki. 2014-11-03 15:05:32 +08:00
Vaibhav Agrawal
5b35d2963c Bug 1089033 - Removing invalid mochitests and adding it as support-files in dom/events/test/mochitest.ini. r=jmaher 2014-10-30 10:09:00 +01:00
Boris Zbarsky
e80be7f15c Bug 1089026 part 5. Eliminate the ability to provide a non-global parent object to JS::CompileFunction and company except via the scopeChain API. r=waldo 2014-10-30 19:40:29 -04:00