Commit Graph

1212 Commits

Author SHA1 Message Date
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
Bobby Holley
f597bf6b1f Bug 1072150 - Use the opt-out for various sloppy consumers. r=bz 2015-09-24 14:02:41 -07:00
Wes Kocher
bc2999da84 Merge b2ginbound to central, a=merge CLOSED TREE 2015-09-23 13:18:17 -07:00
Jocelyn Liu
31719c11f3 Bug 1181482 - Patch3: Implement |sendResponse| and BluetoothGattAttributeEvent for GATT server read/write requests. r=btian, r=bz 2015-09-23 14:16:27 +08:00
dimi
0a5291c3ce Bug 1143717 - Implement the ServiceWorkerMessageEvent interface. r=baku 2015-09-22 16:56:48 +08:00
Josh Matthews
bf7de3ad1f Bug 885982 - Part 2: Convert TCPServerSocket to WebIDL and rewrite in C++. r=asuth,mayhemer,bz 2015-03-25 10:36:24 -04:00
Josh Matthews
5167237c7b Bug 885982 - Part 1: Convert TCPSocket to WebIDL and rewrite in C++. r=asuth,mayhemer,bz 2015-03-25 10:35:59 -04:00
Boris Zbarsky
0b65334b28 Bug 1203404. offsetX/Y on mouse events should remain target-relative, instead of becoming page-relative, after event dispatch is done. r=roc 2015-09-18 13:36:13 -04:00
Neil Deakin
4860301a0a Bug 1168042, support accesskey redirecting to content process, r=masayuki 2015-09-18 08:19:13 -04:00
Neil Deakin
8a45064b49 Bug 1168042, restructure HandleAccessKey so that accesskey candidates are only determined once, and clean up return value to use a bool, r=masayuki 2015-09-18 08:18:07 -04:00
Christoph Kerschbaumer
6c324f760e Bug 1026520 - CSP: Inline report sending into allows - callsite updates (r=dveditz) 2015-09-17 22:34:34 -07:00
Olli Pettay
d85f6117d5 Bug 1205466, make HasApzAwareListeners check faster, r=masayuki 2015-09-17 13:16:20 +03:00
Masayuki Nakano
f66a66caf5 Bug 1204439 part.3 Create methods to get enum item name r=smaug 2015-09-17 12:05:44 +09:00
Masayuki Nakano
53fe14d125 Bug 1203381 part.7 Rename IMEContentObserver::mIs*ChangeEventPending to IMEContentObserver::mNeedsToNotifyIMEOf*Change r=smaug 2015-09-16 17:48:24 +09:00
Masayuki Nakano
548dbf3815 Bug 1203381 part.6 IMEContentObserver shouldn't post position change event if Reflow() is called during handling a query content event and sending NOTIFY_IME_OF_POSITION_CHANGE since the result of query content event includes the latest layout information r=smaug 2015-09-16 17:48:24 +09:00
Masayuki Nakano
b6c479da29 Bug 1203381 part.5 IMENotificationSender shouldn't send notification recursively r=smaug 2015-09-16 17:48:24 +09:00