Commit Graph

25 Commits

Author SHA1 Message Date
Jeff Walden
e0523203c9 Bug 820570 - Move mozilla::DebugOnly into DebugOnly.h to pare down the grab-baggish Util.h. r=Ms2ger 2012-12-14 18:58:45 -05:00
Jacek Caban
911d2e8fa2 Bug 797316 - Fix -Werror=conversion-null errors in Windows-only code (widget/windows part) r=jmathies
--HG--
extra : rebase_source : e7f460a18397aa903fb2ba3f9ba7e5fe67d76db6
2012-10-04 10:33:24 +02:00
Koosha Khajeh Moogahi
e98cd6bf45 Bug 788242: Implement and make use of void versions of NS_ENSURE_* macros; r=ehsan,bsmedberg 2012-09-14 14:30:31 +04:30
Ehsan Akhgari
8c296bbcd4 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
Masayuki Nakano
1c60825488 Bug 719320 part.12 Replace legacy mouse scroll event dispatchers with D3E wheel event dispatcher on Windows r=smaug+jimm 2012-08-12 10:42:37 +09:00
Aryeh Gregor
57c0ad57fb Bug 777292 part 2 - Change all nsnull to nullptr 2012-07-30 17:20:58 +03:00
Masayuki Nakano
bdafe1e737 Bug 757688 part.2 Move nsModifierKeyState to KeyboardLayout and redesign it r=jimm 2012-06-15 18:52:50 +09:00
Masayuki Nakano
e089b336f8 Bug 630811 part.2 Replace nsInputEvent::isShift, nsInputEvent::isControl, nsInputEvent::isAlt and nsInputEvent::isMeta r=smaug 2012-04-25 12:00:02 +09:00
Avi Halachmi (:avih)
3605c7f03f Bug 737758: Part 2: Address Windows abnormality (identify _faked_ pixel scrolls) [r=jmathies] 2012-03-26 13:34:10 +02:00
Masayuki Nakano
de696a6dc5 Bug 672175 part.17 System settings of mouse wheel on Windows should be able to be overridden by prefs for testing r=jimm 2012-03-22 09:59:12 +09:00
Masayuki Nakano
445d98cb9e Bug 672175 part.16 Implement nsIWidget::SynthesizeNativeMouseScrollEvent() on Windows r=jimm 2012-03-22 09:59:12 +09:00
Honza Bambas
212c4ddc13 Bug 733988 - Build bustage: WinMouseScrollHandler.cpp(1217) after bug 672175 landing, include nsGkAtoms.h, r=masayuki 2012-03-08 17:24:17 +01:00
Masayuki Nakano
6e028360f6 Bug 672175 part.14 Move WM_MOUSE*WHEEL and WM_*SCROLL handlers into MouseScrollHandler r=jimm 2012-03-06 12:20:29 +09:00
Masayuki Nakano
a16672ae8d Bug 672175 part.13 Compute cursor position at WM_MOUSEWHEEL and WM_MOUSEHWHEEL in MouseScrollHandler r=jimm 2012-03-06 12:20:29 +09:00
Masayuki Nakano
c27f8da145 Bug 672175 part.12 Move MOZ_WM_*SCROLL handler into MouseScrollHandler r=jimm 2012-03-06 12:20:29 +09:00
Masayuki Nakano
12db3df924 Bug 672175 part.11 Move MOZ_WM_MOUSE*WHEEL handler into MouseScrollHandler r=jimm 2012-03-06 12:20:29 +09:00
Masayuki Nakano
e471efcd26 Bug 672175 part.10 Initialize mouse scroll events in MouseScrollHandler::LastEventInfo r=jimm 2012-03-06 12:20:29 +09:00
Masayuki Nakano
efd57499e1 Bug 672175 part.9 Implement NS_QUERY_SCROLL_TARGET_INFO event dispatcher on MouseScrollHandler::EventInfo r=jimm 2012-03-06 12:20:29 +09:00
Masayuki Nakano
4f8b1a57b2 Bug 672175 part.8 Compute modifier key state in MouseScrollHandler r=jimm 2012-03-06 12:20:28 +09:00
Masayuki Nakano
7329da145c Bug 672175 part.7 Manage last wheel scroll message information by MouseScrollHandler::LastEventInfo r=jimm 2012-03-06 12:20:28 +09:00
Masayuki Nakano
d205c5cec9 Bug 672175 part.6 Summarize native mouse wheel events by MouseScrollHandler::EventInfo r=jimm 2012-03-06 12:20:28 +09:00
Masayuki Nakano
c0fc2b56d0 Bug 672175 part.5 Move device specific code to MouseScrollHandler r=jimm 2012-03-06 12:20:28 +09:00
Masayuki Nakano
ad5aef5997 Bug 672175 part.3 MouseScrollHandler should manage user prefs r=jimm 2012-03-06 12:20:28 +09:00
Masayuki Nakano
8bf2dd5727 Bug 672175 part.2 MouseScrollHandler should manage system settings r=jimm 2012-03-06 12:20:28 +09:00
Masayuki Nakano
34e96b4291 Bug 672175 part.1 Implement MouseScrollHandler for Windows r=jimm 2012-03-06 12:20:28 +09:00