Masayuki Nakano
cec53aafad
Bug 1543315 - part 17: Mark PresShell::HandleDOMEventWithTarget() as MOZ_CAN_RUN_SCRIPT r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D30494
2019-05-09 20:21:28 +00:00
Srujana Peddinti
50bb49d9c5
Bug 1259660 - Cleaned up WidgetMouseEventBase by renaming WidgetMouseEventBase::inputSource to WidgetMouseEventBase::mInputSource r=masayuki
...
Renamed all class member instances from WidgetMouseEventBase::inputSource to WidgetMouseEventBase::mInputSource
Differential Revision: https://phabricator.services.mozilla.com/D25322
2019-04-21 18:19:43 +00:00
Sylvestre Ledru
e5a134f73a
Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format
...
# ignore-this-changeset
2018-11-30 11:46:48 +01:00
Boris Zbarsky
5f546dac16
Bug 1455676 part 3. Remove nsIDOMNode usage from widget/. r=qdot
2018-05-29 22:58:48 -04:00
Stone Shih
2b86511344
Bug 606885 - Fire drag events with keyboard modifiers. r=enn
2017-02-17 11:29:42 +08:00
Neil Deakin
8d294a33cd
Bug 1309596, implementation of UpdateDragImage by adjusting image and calling DragEnter of the drag feedback helper, r=jimm
2016-12-23 18:09:44 -05:00
Masayuki Nakano
99eab530eb
Bug 1259656 part.1 Rename WidgetEvent::refPoint to WidgetEvent::mRefPoint r=smaug
...
MozReview-Commit-ID: ESWM5ZyBpSR
2016-04-18 23:09:02 +09:00
Nathan Froyd
4e6d8f6705
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
c8eb585412
Bug 895274 part.83 Rename NS_DRAGDROP_EXIT to eDragExit r=smaug
2015-09-02 15:08:02 +09:00
Masayuki Nakano
c2cd71bd9d
Bug 895274 part.82 Rename NS_DRAGDROP_ENTER to eDragEnter r=smaug
2015-09-02 15:08:02 +09:00
Masayuki Nakano
86446073e8
Bug 895274 part.81 Rename NS_DRAGDROP_OVER to eDragOver r=smaug
2015-09-02 15:08:02 +09:00
Masayuki Nakano
c5d4882745
Bug 895274 part.80 Rename NS_DRAGDROP_DRAG to eDrag r=smaug
2015-09-02 15:08:02 +09:00
Masayuki Nakano
d1d3799b5a
Bug 895274 part.77 Rename NS_DRAGDROP_DROP to eDrop r=smaug
2015-09-02 15:08:01 +09:00
Masayuki Nakano
d36f87a852
Bug 895274 part.3 Make the enum of event messages a named enum IGNORE IDL r=smaug
2015-08-26 21:56:59 +09:00
Neil Deakin
ad0b0e8052
Bug 1121946, Implement e10 cursor drag feedback on Windows, r=jmathies
2015-06-05 08:33:29 -04:00
Mike Hommey
338d086ead
Bug 1134920 - Use moz_xmalloc/moz_xrealloc/free instead of nsMemory::Alloc/Realloc/Free. r=nfroyd
2015-04-01 13:51:45 +09:00
Ehsan Akhgari
1911ef6983
Bug 950508 - Build widget/windows in unified mode; r=roc
2013-12-15 19:00:54 -05:00
Birunthan Mohanathas
3d1c72e40f
Bug 784739 - Switch from NULL to nullptr in widget/windows/ (2/3); r=ehsan
2013-10-08 14:48:20 -04:00
Masayuki Nakano
8c4ece5434
Bug 920377 part.30 Get rid of nsGUIEvent r=roc
2013-10-02 12:46:03 +09:00
Masayuki Nakano
b5a383ee53
Bug 920377 part.28 Get rid of nsDragEvent r=roc
2013-10-01 16:23:02 +09:00
Masayuki Nakano
4a5dc45e59
Bug 912956 part.14 mozilla/MouseEvents.h should be included directly r=roc
2013-09-25 20:21:18 +09:00
Ehsan Akhgari
243c878d26
Bug 579517 - Part 1: Automated conversion of NSPR numeric types to stdint types in Gecko; r=bsmedberg
...
This patch was generated by a script. Here's the source of the script for
future reference:
function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
! -wholename "*security/nss*" \
! -wholename "*/.hg*" \
! -wholename "obj-ff-dbg*" \
! -name nsXPCOMCID.h \
! -name prtypes.h \
-type f \
\( -iname "*.cpp" \
-o -iname "*.h" \
-o -iname "*.c" \
-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 PRInt8 int8_t
convert PRUint8 uint8_t
convert PRInt16 int16_t
convert PRUint16 uint16_t
convert PRInt32 int32_t
convert PRUint32 uint32_t
convert PRInt64 int64_t
convert PRUint64 uint64_t
convert PRIntn int
convert PRUintn unsigned
convert PRSize size_t
convert PROffset32 int32_t
convert PROffset64 int64_t
convert PRPtrdiff ptrdiff_t
convert PRFloat64 double
2012-08-22 11:56:38 -04:00
Aryeh Gregor
8b4a23fc4c
Bug 777292 part 2 - Change all nsnull to nullptr
2012-07-30 17:20:58 +03:00
Jim Mathies
b56a1eed39
Bug 776865 - change mWindow to mWidget in nsNativeDragTarget to avoid confusion. r=bbondy.
2012-07-25 10:09:16 -05:00
Mark Capella
1bafbbea76
Bug 775041 - Make nsIWidget::IsEnabled return bool, r=roc, f=ms2ger
2012-07-23 01:19:08 -04:00
Masayuki Nakano
8e9b8bcce9
Bug 757688 part.2 Move nsModifierKeyState to KeyboardLayout and redesign it r=jimm
2012-06-15 18:52:50 +09:00
Gervase Markham
cb6a072c2a
Bug 716478 - update licence to MPL 2.
2012-05-21 12:12:37 +01:00
Masayuki Nakano
d45a1056c6
Bug 731878 part.3 Set modifiers and buttons of nsMouseEvent on Windows r=jimm
2012-04-25 12:00:01 +09:00
Brian R. Bondy
a45265caae
Bug 722315 - Increase Firefox startup speed on Windows by lazy loading CLSID_DragDropHelper. r=jimm
2012-02-01 09:30:05 -05:00
Brian R. Bondy
d0a93b0ace
Bug 679226 - Fold widget/src into widget. r=roc
2012-01-03 22:09:29 -05:00