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

17 Коммитов

Автор SHA1 Сообщение Дата
Cameron McCormack 41782ed8bf Bug 1328832 - And the other one.
MozReview-Commit-ID: APHfKiPmWdK
2017-01-06 15:30:31 +08:00
Cameron McCormack 318a182e13 Bug 1328832 - Followup bustage fix for macOS.
MozReview-Commit-ID: 66Gbfyp9Ale
2017-01-06 15:29:47 +08:00
Masayuki Nakano ffd3700a9c Bug 1256562 part.2 All event dispatchers under widget/cocoa should initialize WidgetEventTime::mTimeStamp with nsCocoaUtils::GetEventTimeStamp() r=mstange,smaug
MozReview-Commit-ID: 3sXtO76JScf

--HG--
extra : rebase_source : 729c1b5f1066974502408a886dc19991d7bcb97f
2016-12-20 20:58:04 +09:00
Tetsuharu OHZEKI dd81b84720 Bug 1259667 - part5: rename WidgetSimpleGestureEvent.delta to mDelta. r=masayuki
MozReview-Commit-ID: D33mzFY8Vrn

--HG--
extra : rebase_source : 6d6493af599087537ab6bf469255bb9d7319e395
2016-05-10 04:16:55 +09:00
Tetsuharu OHZEKI 42e707c8b7 Bug 1259667 - part3: rename WidgetSimpleGestureEvent.direction to mDirection. r=masayuki
MozReview-Commit-ID: GYGNNTsZNWQ

--HG--
extra : rebase_source : 954039a2d7ecb1f5d579603dd02f517c42a2a025
2016-05-10 04:16:54 +09:00
Tetsuharu OHZEKI 067f1de1e4 Bug 1259667 - part2: rename WidgetSimpleGestureEvent.allowedDirections to mAllowedDirections. r=masayuki
MozReview-Commit-ID: 412YeoUoqIy

--HG--
extra : rebase_source : af9289605eeeeaf06bc3c7a9a5540c962231d61e
2016-05-10 04:16:54 +09:00
Masayuki Nakano cbe8f5268a Bug 1259656 part.1 Rename WidgetEvent::refPoint to WidgetEvent::mRefPoint r=smaug
MozReview-Commit-ID: ESWM5ZyBpSR

--HG--
extra : rebase_source : c5e1e3f60bcdde2a7f6c399e72430b29a3e552cd
2016-04-18 23:09:02 +09:00
Masayuki Nakano e9a1bcb370 Bug 1259658 Rename WidgetInputEvent::modifiers to WidgetInputEvent::mModifiers r=smaug
MozReview-Commit-ID: 7avEiqKfaHA

--HG--
extra : rebase_source : ffb6fbe424a4d5c2799444223608e03237e7c7a2
2016-03-31 17:03:00 +09:00
Arata Furukawa 28360f6c90 Bug 1259655 - part 2 Rename WidgetEventTime::timeStamp to WidgetEventTime::mTimeStamp r=masayuki
MozReview-Commit-ID: LRgPxoynx0

--HG--
extra : source : 506d58da4e67501a00b676c99997597fa5fe5679
2016-03-28 13:49:02 +09:00
Randall Barker 47968a20fd Bug 1223946 - Part 1: Clean up and support needed for converting WidgetWheelEvent to ScrollWheelInput. r=kats
--HG--
extra : commitid : Cihc6iEBezl
2015-11-18 19:32:37 -05: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 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
Markus Stange 0441fca5af Bug 1016035 - Add a MozSwipeGestureMayStart event. r=kats
Having this event means that we don't have to wait for content to find out whether it's scrollable in the case that no swipe should be happening anyway.

IGNORE IDL because I'm only changing comments in the IDL files.

--HG--
extra : commitid : 22814fSLcIz
extra : rebase_source : e51b4db26333275c9bcb3fd7fece78b7d3653275
2015-08-27 15:06:21 -04:00
Markus Stange 0297e0ac04 Bug 1016035 - Implement the swipe animation ourselves instead of calling the NSEvent trackSwipe API. r=kats
--HG--
extra : commitid : 6RIOdEHnpgW
extra : rebase_source : e081714c029e41b1deb32e35ae065091a2086125
2015-08-27 16:07:59 -04:00