Граф коммитов

1258 Коммитов

Автор SHA1 Сообщение Дата
Carsten "Tomcat" Book 81454198ef Backed out changeset 2f909d41108b (bug 978679) for bustage on a CLOSED TREE 2015-10-19 13:22:55 +02:00
Makato Kato 5a68a1b8d5 Bug 978679 - Implement touch events for GTK3. r=karlt
--HG--
extra : commitid : 2tbZZf41zmN
extra : rebase_source : d861252c9bf78b6ffd68dd2c7f14fbf4ef5afdf1
2015-10-19 23:04:52 +13:00
Phil Ringnalda 98800b5233 Merge m-c to b-i
CLOSED TREE
2015-10-17 20:00:32 -07:00
Nathan Froyd 01583602a9 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

--HG--
rename : mfbt/nsRefPtr.h => mfbt/RefPtr.h
2015-10-18 01:24:48 -04:00
Masayuki Nakano 07adf60de2 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 cd1f054e01 Merge m-c to b2ginbound, a=merge 2015-10-16 12:33:40 -07:00
Hansu Kim 634317f368 Bug 1112712 - DOM key mapping for soft1 soft2 and call keys r=schien
--HG--
extra : amend_source : 12897e7dc7681ea285088153a258983e6b90e5a1
2015-10-16 11:04:11 -07:00
Masayuki Nakano eed20651ef 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 e868838ac4 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 5f2c3f035e 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 1376b5162b 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 27b1c48ce9 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 95cce1f2c9 Merge m-c to inbound, a=merge 2015-10-09 16:45:31 -07:00
Carsten "Tomcat" Book 4457b52a0c Merge m-c to b2g-i 2015-10-09 14:41:04 +02:00
Shawn Huang 8cb7ad155e Bug 1184017 - [MAP] Dispatch events to MAP event handlers, r=btian, sr=mrbkap 2015-10-09 18:23:20 +08:00
Wes Kocher d3d1b52901 Backed out changeset 7ce1d1bada46 (bug 949376) for wpt orange 2015-10-07 14:58:19 -07:00
Andrea Marchesini 50ac42f57a Bug 949376 - MessageEvent::initMessageEvent, r=smaug 2015-10-07 20:35:11 +01:00
Andrew McCreight 73faab2f06 Bug 1210591, part 2 - Cycle collect DataTransfer::mItems. r=smaug 2015-10-09 10:24:23 -07:00
Andrew McCreight ae5fe6a2ad 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 0ff7248107 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 23f73206e7 Bug 949376 - MessageEvent::initMessageEvent, r=smaug 2015-10-08 17:44:58 +01:00
Kartikaya Gupta 0e058bf097 Bug 1209942 - Flush APZ repaints before waiting for paints. r=dvander
--HG--
extra : commitid : ANYadL4Yb6u
2015-10-05 16:18:24 -04:00
Masayuki Nakano f961371a5e Bug 1109410 Resolve CSS transform in ContentEventHandler::ConvertToRootViewRelativeOffset() r=roc 2015-10-05 14:46:39 +09:00
Tooru Fujisawa 13600a1cb5 Bug 1207494 - Part 6: Remove use of expression closure from dom/events/. r=smaug
--HG--
extra : commitid : 2r0Z7NsGta0
extra : rebase_source : 8e4dfef1bc71d796e937218d9bd4e08cd72cca39
2015-09-23 18:39:14 +09:00
Bobby Holley e91aae8249 Bug 1208622 - Separate API entry points. r=bz 2015-09-30 16:31:46 -07:00
Nigel Babu 2ea092cec1 Backed out changeset 5f02a9d37e56 (bug 1208622) for windows build bustage
CLOSED TREE
2015-09-29 12:10:45 +05:30
Bobby Holley 46f21127a1 Bug 1208622 - Separate API entry points. r=bz 2015-09-28 22:51:30 -07:00
Gijs Kruitbosch 8e06164f35 Bug 636905 - part 1: add a flag that tracks whether the user has interacted with a given document, r=smaug
--HG--
extra : commitid : ACnhGw56lMO
extra : rebase_source : 31c54c568da52ff724f11a9b7c0e833095171ae5
2015-09-26 14:54:29 +01:00
L. David Baron 6fd5e36f77 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)
--HG--
extra : commitid : 9MGSuXWFHnS
2015-09-27 02:19:13 -07:00
zhoubcfan 69d0c1d4ee Bug 1208815 - Use the legacy opt-out in GetMozSourceNode to avoid crashes. r=bholley 2015-09-26 22:43:29 -07:00
Kartikaya Gupta b6115339aa 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
--HG--
extra : commitid : 73ZepbLOQ79
2015-09-24 22:11:31 -04:00
Bobby Holley 110f12e7ca Bug 1072150 - Use the opt-out for various sloppy consumers. r=bz 2015-09-24 14:02:41 -07:00
Wes Kocher 0625b82581 Merge b2ginbound to central, a=merge CLOSED TREE 2015-09-23 13:18:17 -07:00
Jocelyn Liu 1832bcbeea 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 98c100092c Bug 1143717 - Implement the ServiceWorkerMessageEvent interface. r=baku
--HG--
extra : rebase_source : 7ff8853c04d5c2c09cbfb9ec20f248df1233486a
2015-09-22 16:56:48 +08:00
Josh Matthews eb2db2dd0f 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 6d8316690f 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 71703b7a23 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 2b49676bd0 Bug 1168042, support accesskey redirecting to content process, r=masayuki 2015-09-18 08:19:13 -04:00
Neil Deakin 0acaaddd3e 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 ac507e201c Bug 1026520 - CSP: Inline report sending into allows - callsite updates (r=dveditz) 2015-09-17 22:34:34 -07:00
Olli Pettay 68663347da Bug 1205466, make HasApzAwareListeners check faster, r=masayuki
--HG--
extra : rebase_source : 41c94b02117a09785938349dc9ad513af9bf048b
2015-09-17 13:16:20 +03:00
Masayuki Nakano ce885416ed Bug 1204439 part.3 Create methods to get enum item name r=smaug 2015-09-17 12:05:44 +09:00
Masayuki Nakano de86db826f Bug 1203381 part.7 Rename IMEContentObserver::mIs*ChangeEventPending to IMEContentObserver::mNeedsToNotifyIMEOf*Change r=smaug 2015-09-16 17:48:24 +09:00
Masayuki Nakano c86595d5c2 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 79986a5341 Bug 1203381 part.5 IMENotificationSender shouldn't send notification recursively r=smaug 2015-09-16 17:48:24 +09:00
Masayuki Nakano 123aac30cb Bug 1203381 part.4 IMENotificationSender should keep the order of notifications even when a notification causes another change r=smaug 2015-09-16 17:48:24 +09:00
Masayuki Nakano dd3b53fdeb Bug 1203381 part.3 IMEContentObserver::mIsFlushingPendingNotifications should be cleared when all pending notifications are sent to IME r=smaug 2015-09-16 17:48:24 +09:00
Masayuki Nakano f0f11443a3 Bug 1203381 part.2 Merge all IME notification sending events of IMEContentObserver to a runnable class r=smaug 2015-09-16 17:48:24 +09:00
Masayuki Nakano 215b9f4894 Bug 1203381 part.1 IMEContentObserver shouldn't clear mTextChangeData until immediately before sending a text change notification r=smaug 2015-09-16 17:48:23 +09:00
Andrea Marchesini f0aa7a8c5f Bug 1204775 - SharedWorker.port should be a 'real' MessagePort, r=khuey 2015-09-16 11:27:56 +08:00
Shu-yu Guo 64db2267cf Bug 1202902 - Mass replace toplevel 'let' with 'var' in preparation for global lexical scope. (rs=jorendorff) 2015-09-15 11:19:45 -07:00
Wes Kocher ab3e843b68 Backed out changeset ccfddcbccdac (bug 1204775) for sharedworker bustage 2015-09-15 11:08:09 -07:00
Andrea Marchesini ff25288854 Bug 1204775 - SharedWorker.port should be a 'real' MessagePort, r=khuey 2015-09-16 00:47:19 +08:00
Masayuki Nakano a32fa2bbf6 Bug 895274 part.268 Rename NS_SIMPLE_GESTURE_SWIPE_MAY_START to eSwipeGestureMayStart r=smaug 2015-09-15 00:14:38 +09:00
Masayuki Nakano 01d0c1e4f6 Bug 895274 part.267 Rename NS_SIMPLE_GESTURE_SWIPE_START to eSwipeGestureStart r=smaug 2015-09-15 00:14:37 +09:00
Masayuki Nakano a56b1685be Bug 895274 part.266 Rename NS_SIMPLE_GESTURE_SWIPE_UPDATE to eSwipeGestureUpdate r=smaug 2015-09-15 00:14:37 +09:00
Masayuki Nakano 4b0c36bc75 Bug 895274 part.265 Rename NS_SIMPLE_GESTURE_SWIPE_END to eSwipeGestureEnd r=smaug 2015-09-15 00:14:37 +09:00
Masayuki Nakano 8589cee2fb Bug 895274 part.264 Rename NS_SIMPLE_GESTURE_SWIPE to eSwipeGesture r=smaug 2015-09-15 00:14:37 +09:00
Masayuki Nakano 392c27e8be Bug 895274 part.263 Rename NS_SIMPLE_GESTURE_MAGNIFY_START to eMagnifyGestureStart r=smaug 2015-09-15 00:14:37 +09:00
Masayuki Nakano ff1973548a Bug 895274 part.262 Rename NS_SIMPLE_GESTURE_MAGNIFY_UPDATE to eMagnifyGestureUpdate r=smaug 2015-09-15 00:14:37 +09:00
Masayuki Nakano 4afa8d0be3 Bug 895274 part.261 Rename NS_SIMPLE_GESTURE_MAGNIFY to eMagnifyGesture r=smaug 2015-09-15 00:14:37 +09:00
Masayuki Nakano 7336c96a8a Bug 895274 part.260 Rename NS_SIMPLE_GESTURE_ROTATE_START to eRotateGestureStart r=smaug 2015-09-15 00:14:37 +09:00
Masayuki Nakano d80c30a345 Bug 895274 part.259 Rename NS_SIMPLE_GESTURE_ROTATE_UPDATE to eRotateGestureUpdate r=smaug 2015-09-15 00:14:36 +09:00
Masayuki Nakano f0f85cbe58 Bug 895274 part.258 Rename NS_SIMPLE_GESTURE_ROTATE to eRotateGesture r=smaug 2015-09-15 00:14:36 +09:00
Masayuki Nakano e680fa88d1 Bug 895274 part.257 Rename NS_SIMPLE_GESTURE_TAP to eTapGesture r=smaug 2015-09-15 00:14:36 +09:00
Masayuki Nakano da4dac72e7 Bug 895274 part.256 Rename NS_SIMPLE_GESTURE_PRESSTAP to ePressTapGesture r=smaug 2015-09-15 00:14:36 +09:00
Masayuki Nakano 59cfc059d4 Bug 895274 part.255 Rename NS_SIMPLE_GESTURE_EDGE_STARTED to eEdgeUIStarted r=smaug 2015-09-15 00:14:36 +09:00
Masayuki Nakano f6cd790808 Bug 895274 part.254 Rename NS_SIMPLE_GESTURE_EDGE_CANCELED to eEdgeUICanceled r=smaug 2015-09-15 00:14:36 +09:00
Masayuki Nakano 02e3cd7659 Bug 895274 part.253 Rename NS_SIMPLE_GESTURE_EDGE_COMPLETED to eEdgeUICompleted r=smaug 2015-09-15 00:14:36 +09:00
Masayuki Nakano e11becb130 Bug 895274 part.252 Rename NS_TRANSITION_END to eTransitionEnd r=smaug 2015-09-15 00:14:36 +09:00
Masayuki Nakano e5272d4a59 Bug 895274 part.250 Rename NS_AUDIO_COMPLETE to eAudioComplete r=smaug 2015-09-15 00:14:36 +09:00
Masayuki Nakano c105d8a320 Bug 895274 part.249 Rename NS_AUDIO_PROCESS to eAudioProcess r=smaug 2015-09-15 00:14:36 +09:00
Masayuki Nakano e8d203ebb7 Bug 895274 part.246 Rename NS_MESSAGE to eMessage r=smaug 2015-09-15 00:14:35 +09:00
Masayuki Nakano 95e9124e8e Bug 895274 part.245 Rename NS_SHOW_EVENT to eShow r=smaug 2015-09-15 00:14:35 +09:00
Masayuki Nakano 683794135c Bug 895274 part.244 Rename NS_TOUCH_CANCEL to eTouchCancel r=smaug 2015-09-15 00:14:35 +09:00
Masayuki Nakano 51d7268995 Bug 895274 part.243 Rename NS_TOUCH_END to eTouchEnd r=smaug 2015-09-15 00:14:35 +09:00
Masayuki Nakano 52a7afe36c Bug 895274 part.242 Rename NS_TOUCH_MOVE to eTouchMove r=smaug 2015-09-15 00:14:35 +09:00
Masayuki Nakano 7a48a6f2ab Bug 895274 part.241 Rename NS_TOUCH_START to eTouchStart r=smaug 2015-09-15 00:14:34 +09:00
Masayuki Nakano baeb0daba5 Bug 895274 part.239 Rename NS_MEDIARECORDER_STOP to eMediaRecorderStop r=smaug 2015-09-15 00:14:34 +09:00
Masayuki Nakano 056f5cb4c7 Bug 895274 part.238 Rename NS_MEDIARECORDER_WARNING to eMediaRecorderWarning r=smaug 2015-09-15 00:14:34 +09:00
Masayuki Nakano 9917577ddc Bug 895274 part.237 Rename NS_MEDIARECORDER_DATAAVAILABLE to eMediaRecorderDataAvailable r=smaug 2015-09-15 00:14:34 +09:00
Masayuki Nakano f330e1391b Bug 895274 part.234 Rename NS_SPEAKERMANAGER_SPEAKERFORCEDCHANGE to eSpeakerForcedChange r=smaug 2015-09-15 00:14:34 +09:00
Masayuki Nakano 7928f48bc1 Bug 895274 part.232 Rename NS_EDITOR_INPUT to eEditorInput r=smaug 2015-09-15 00:14:33 +09:00
Masayuki Nakano b3ae872d78 Bug 895274 part.230 Rename NS_SELECT_START to eSelectStart r=smaug 2015-09-15 00:14:33 +09:00
Masayuki Nakano eb2ca19d13 Bug 895274 part.229 Rename NS_SELECTION_CHANGE to eSelectionChange r=smaug 2015-09-15 00:14:33 +09:00
Masayuki Nakano c985d88dab Bug 1203364 IMEContentObserver should notify IME of selection change with the latest change reason r=smaug 2015-09-14 23:28:43 +09:00
Michael Layzell fe31896607 Bug 571294 - Part 1: Implement selection events behind the dom.select_events.enabled pref, r=smaug 2015-09-12 17:56:44 -04:00
Masayuki Nakano 28e9bfed09 Bug 895274 part.228 Rename NS_DEVICE_LIGHT to eDeviceLight r=smaug 2015-09-12 01:19:29 +09:00
Masayuki Nakano 899fffeb6b Bug 895274 part.227 Rename NS_USER_PROXIMITY to eUserProximity r=smaug 2015-09-12 01:19:28 +09:00
Masayuki Nakano ab55bf9a3f Bug 895274 part.226 Rename NS_DEVICE_PROXIMITY to eDeviceProximity r=smaug 2015-09-12 01:19:28 +09:00
Masayuki Nakano d8412db0d9 Bug 895274 part.225 Rename NS_DEVICE_MOTION to eDeviceMotion r=smaug 2015-09-12 01:19:28 +09:00
Masayuki Nakano 6cde63ca22 Bug 895274 part.224 Rename NS_DEVICE_ORIENTATION to eDeviceOrientation r=smaug 2015-09-12 01:19:28 +09:00
Masayuki Nakano ab9946a446 Bug 895274 part.222 Rename NS_AFTERPRINT to eAfterPrint r=smaug 2015-09-12 01:19:28 +09:00
Masayuki Nakano 9151616481 Bug 895274 part.221 Rename NS_BEFOREPRINT to eBeforePrint r=smaug 2015-09-12 01:19:28 +09:00
Masayuki Nakano ada4e843de Bug 895274 part.219 Rename NS_GESTURENOTIFY_EVENT_START to eGestureNotify r=smaug 2015-09-12 01:19:28 +09:00
Masayuki Nakano 18894de959 Bug 895274 part.217 Rename NS_SCROLLEDAREACHANGE to eScrolledAreaChanged r=smaug 2015-09-12 01:19:27 +09:00
Masayuki Nakano 93a08167ad Bug 895274 part.214 Rename NS_SCROLLPORT_UNDERFLOW to eScrollPortUnderflow r=smaug 2015-09-12 01:19:27 +09:00
Masayuki Nakano 2237026931 Bug 895274 part.213 Rename NS_SCROLLPORT_OVERFLOW to eScrollPortOverflow r=smaug 2015-09-12 01:19:27 +09:00
Masayuki Nakano 43c26f8450 Bug 895274 part.212 Rename NS_POINTERLOCKERROR to ePointerLockError r=smaug 2015-09-12 01:19:26 +09:00