Commit Graph

1227 Commits

Author SHA1 Message Date
Kartikaya Gupta
cf145b1962 Bug 1141884 - Trigger compositor smooth scrolling to snap points when APZ is enabled. r=mstange,kip 2015-11-03 14:21:40 -05:00
Kartikaya Gupta
aed23b2857 Bug 1141884 - Handle wheel events on the main thread if the frame has snapping. r=dvander,mstange 2015-11-03 14:21:40 -05:00
Birunthan Mohanathas
f6aa64ea3b Bug 1219392 - Capitalize mozilla::unused to avoid conflicts. r=froydnj 2015-11-02 07:53:26 +02:00
Ryan VanderMeulen
c76533b080 No bug - Various crashtest manifest cleanups. 2015-10-31 19:35:27 -04:00
Phil Ringnalda
e16ebdf11d Bug 1219842 followup, redisable dom/events/test/test_bug967796.html on e10s since it fails a lot 2015-10-31 13:48:58 -07:00
Andrew McCreight
1b9d8f8692 Bug 1219842 - Enable a bunch of mochitest-plain tests under e10s. r=mrbkap 2015-10-31 06:26:44 -07:00
Kartikaya Gupta
03398630c6 Bug 1219898 - Remove unneccessary gPreventMouseEvents flag. r=smaug 2015-10-30 22:22:32 -04:00
Ben Kelly
6016dead4e Bug 1215140 P9 Provide file and line number when FetchEvent.preventDefault() cancels a request. r=bz
* * *
Bug 1215140 P9 interdiff 001
2015-10-29 19:53:25 -07:00
Chris Peterson
dedc787f40 Bug 1219139 - Fix -Wimplicit-fallthrough warnings in dom/events and widget/IMEData.h. r=masayuki
widget/IMEData.h:428:7 [-Wimplicit-fallthrough] unannotated fall-through between switch labels

dom/events/EventStateManager.cpp:601:7 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
dom/events/EventStateManager.cpp:654:3 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
dom/events/EventStateManager.cpp:714:3 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
dom/events/EventStateManager.cpp:1239:3 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
dom/events/EventStateManager.cpp:3045:3 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
dom/events/EventStateManager.cpp:4173:3 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
2015-10-26 20:46:27 -07:00
Kyle Huey
3c530551ba Bug 1216401: Eviscerate nsIDOMWindow, move still needed methods to nsPIDOMWindow. r=bz 2015-10-26 14:37:32 -07:00
Masayuki Nakano
ad9ddaa6e2 Bug 1184890 part.1 SelectionChangeDataBase and TextChangeDataBase should have a flag which indicates whether the change occurred during composition or not r=smaug 2015-10-27 07:21:37 +09:00
Carsten "Tomcat" Book
97bab2dfe3 merge mozilla-inbound to mozilla-central a=merge 2015-10-26 10:57:35 +01:00
Victor Porof
306f80152f Bug 1202657 - Add markers for workers' message passing and serialization/deserialization, r=smaug, jsantell, tromey, ejpbruel 2015-10-21 23:10:05 +02:00
William Chen
4ed8214258 Bug 920734 - Part 1: Implement window.orientation and window.onorientationchange. r=baku 2015-10-23 21:37:28 -07:00
Bobby Holley
21c4310853 Bug 1217614 - Remove nsIDOMDataTransfer::mozGetDataAt and refactor associated code. r=bz
This one was kinda gross.
2015-10-23 18:10:31 -07:00
Bobby Holley
cfb3dee965 Bug 1217614 - Remove XPIDL mozSetDataAt and refactor associated code. r=bz 2015-10-23 18:10:30 -07:00
Tooru Fujisawa
65663915d7 Bug 1217093 - Remove for-each from dom/. r=smaug 2015-10-19 02:00:50 +09:00
Makoto Kato
635be95cbd Bug 978679. Implement touch events for GTK3. r=karlt 2015-04-30 08:29:34 +12:00
Andrea Marchesini
391d7af2ef Bug 1216166 - Unify CustomEvent.cpp with the rest of the unified sources, r=smaug 2015-10-20 10:49:43 +05:30
Carsten "Tomcat" Book
b6781b9886 Backed out changeset 2f909d41108b (bug 978679) for bustage on a CLOSED TREE 2015-10-19 13:22:55 +02:00
Makato Kato
1121041d7e Bug 978679 - Implement touch events for GTK3. r=karlt 2015-10-19 23:04:52 +13:00
Phil Ringnalda
77460a1f79 Merge m-c to b-i
CLOSED TREE
2015-10-17 20:00:32 -07:00
Nathan Froyd
9c5965b035 Bug 1207245 - part 6 - rename nsRefPtr<T> to RefPtr<T>; r=ehsan; a=Tomcat
The bulk of this commit was generated with a script, executed at the top
level of a typical source code checkout.  The only non-machine-generated
part was modifying MFBT's moz.build to reflect the new naming.

CLOSED TREE makes big refactorings like this a piece of cake.

 # The main substitution.
find . -name '*.cpp' -o -name '*.cc' -o -name '*.h' -o -name '*.mm' -o -name '*.idl'| \
    xargs perl -p -i -e '
 s/nsRefPtr\.h/RefPtr\.h/g; # handle includes
 s/nsRefPtr ?</RefPtr</g;   # handle declarations and variables
'

 # Handle a special friend declaration in gfx/layers/AtomicRefCountedWithFinalize.h.
perl -p -i -e 's/::nsRefPtr;/::RefPtr;/' gfx/layers/AtomicRefCountedWithFinalize.h

 # Handle nsRefPtr.h itself, a couple places that define constructors
 # from nsRefPtr, and code generators specially.  We do this here, rather
 # than indiscriminantly s/nsRefPtr/RefPtr/, because that would rename
 # things like nsRefPtrHashtable.
perl -p -i -e 's/nsRefPtr/RefPtr/g' \
     mfbt/nsRefPtr.h \
     xpcom/glue/nsCOMPtr.h \
     xpcom/base/OwningNonNull.h \
     ipc/ipdl/ipdl/lower.py \
     ipc/ipdl/ipdl/builtin.py \
     dom/bindings/Codegen.py \
     python/lldbutils/lldbutils/utils.py

 # In our indiscriminate substitution above, we renamed
 # nsRefPtrGetterAddRefs, the class behind getter_AddRefs.  Fix that up.
find . -name '*.cpp' -o -name '*.h' -o -name '*.idl' | \
    xargs perl -p -i -e 's/nsRefPtrGetterAddRefs/RefPtrGetterAddRefs/g'

if [ -d .git ]; then
    git mv mfbt/nsRefPtr.h mfbt/RefPtr.h
else
    hg mv mfbt/nsRefPtr.h mfbt/RefPtr.h
fi
2015-10-18 01:24:48 -04:00
Masayuki Nakano
10ea38d130 Bug 1215434 part.1 If scroll target is a plugin frame, EventStateManager::PostHandleEvent() should send the wheel event to the plugin frame even if APZC already handled it r=smaug 2015-10-17 15:50:09 +09:00
Wes Kocher
1370496ba6 Merge m-c to b2ginbound, a=merge 2015-10-16 12:33:40 -07:00
Hansu Kim
e685f62638 Bug 1112712 - DOM key mapping for soft1 soft2 and call keys r=schien 2015-10-16 11:04:11 -07:00
Masayuki Nakano
642fc63e6f Bug 376679 part.4 Manage wheel transaction at sending a wheel event to target plugin r=smaug 2015-10-16 13:19:27 +09:00
Masayuki Nakano
0dbe5e4421 Bug 376679 part.3 Compute default action target frame for wheel event before deciding the action because plugin should decide what is the default action when the target is a plugin frame r=smaug 2015-10-16 13:19:27 +09:00
Masayuki Nakano
ecb6a84bd2 Bug 376679 part.2 EventStateManager should treat plugin frame as scrollable frame if the plugin wants to handle wheel events as default action r=smaug 2015-10-16 13:19:27 +09:00
Masayuki Nakano
4d94d27696 Bug 376679 part.1 Change the result of EventStateManager::ComputeScrollTarget() from nsIScrollableFrame* to nsIFrame* r=smaug 2015-10-16 13:19:27 +09:00
Masayuki Nakano
e2f56bd5c4 Bug 1211352 part.1 IMEContentObserver should be created when a plugin has focus r=smaug 2015-10-10 10:21:01 +09:00
Wes Kocher
89b3aaef9f Merge m-c to inbound, a=merge 2015-10-09 16:45:31 -07:00
Carsten "Tomcat" Book
5e3c085596 Merge m-c to b2g-i 2015-10-09 14:41:04 +02:00
Shawn Huang
456d45576a Bug 1184017 - [MAP] Dispatch events to MAP event handlers, r=btian, sr=mrbkap 2015-10-09 18:23:20 +08:00
Wes Kocher
92e94d115b Backed out changeset 7ce1d1bada46 (bug 949376) for wpt orange 2015-10-07 14:58:19 -07:00
Andrea Marchesini
31da9d5c53 Bug 949376 - MessageEvent::initMessageEvent, r=smaug 2015-10-07 20:35:11 +01:00
Andrew McCreight
00848230c6 Bug 1210591, part 2 - Cycle collect DataTransfer::mItems. r=smaug 2015-10-09 10:24:23 -07:00
Andrew McCreight
e6d2ef766a Bug 1210591, part 1 - Use nsVariantCC in various places. r=smaug
Most of these will end up in DataTransfer:mItems, so this is needed
for it to do anything useful.
2015-10-09 10:24:23 -07:00
Andrew McCreight
b6e32c07fe Bug 1210517 - Create nsVariant directly rather than via do_CreateInstance(). r=froydnj
The goal here is to leave creation stuff mostly for JS, so we can
convert it entirely over to a non-threadsafe cycle-collected version
without breaking any existing C++ users.

I didn't do this for a remaining use in nsGlobalWindow.h to avoid
including nsVariant.h all over the place.
2015-10-07 08:17:42 -07:00
Andrea Marchesini
8b0c8150c4 Bug 949376 - MessageEvent::initMessageEvent, r=smaug 2015-10-08 17:44:58 +01:00
Kartikaya Gupta
edeb682321 Bug 1209942 - Flush APZ repaints before waiting for paints. r=dvander 2015-10-05 16:18:24 -04:00
Masayuki Nakano
e4e4288e23 Bug 1109410 Resolve CSS transform in ContentEventHandler::ConvertToRootViewRelativeOffset() r=roc 2015-10-05 14:46:39 +09:00
Tooru Fujisawa
d02266a1c0 Bug 1207494 - Part 6: Remove use of expression closure from dom/events/. r=smaug 2015-09-23 18:39:14 +09:00
Bobby Holley
818dbc176c Bug 1208622 - Separate API entry points. r=bz 2015-09-30 16:31:46 -07:00
Nigel Babu
2efd791eda Backed out changeset 5f02a9d37e56 (bug 1208622) for windows build bustage
CLOSED TREE
2015-09-29 12:10:45 +05:30
Bobby Holley
c96a35b050 Bug 1208622 - Separate API entry points. r=bz 2015-09-28 22:51:30 -07:00
Gijs Kruitbosch
de9040cc06 Bug 636905 - part 1: add a flag that tracks whether the user has interacted with a given document, r=smaug 2015-09-26 14:54:29 +01:00
L. David Baron
615abcc4b2 Bug 1204841 followup - Remove the rest of the temporary code from bug 1150284. r=roc (backing out patch that was r=smaug, which I need to say for the commit hook) 2015-09-27 02:19:13 -07:00
zhoubcfan
c3ea62577f Bug 1208815 - Use the legacy opt-out in GetMozSourceNode to avoid crashes. r=bholley 2015-09-26 22:43:29 -07:00
Kartikaya Gupta
ef20ca1993 Bug 1208072 - Wait for the layer tree to get to the compositor before synthesizing wheel events or they don't have the desired effect. r=dvander 2015-09-24 22:11:31 -04:00