Commit Graph

74 Commits

Author SHA1 Message Date
Masayuki Nakano
3a137667e8 Bug 974318 part.10 Remove WidgetTextEvent::rangeCount and WidgetTextEvent::rangeArray r=smaug 2014-03-04 22:48:28 +09:00
Masayuki Nakano
793376edad Bug 974318 part.1 Add WidgetTextEvent::mRanges which is an array class of TextRange r=smaug 2014-03-04 22:48:26 +09:00
Makoto Kato
797dde6607 Bug 960877 - Part 2. Remove mWantHints from nsIMEUpdatePreference. r=masayuki 2014-01-29 18:32:35 +09:00
Yuan Xulei
e7aa3ecf90 Bug 946068 - Fix composition events' synthesizing in chrome process. r=masayuki 2014-01-15 09:41:39 -05:00
Masayuki Nakano
98ce118337 Bug 912858 part.1 WidgetKeyboardEvent should be able to store .key value as string if the key name isn't one of pre-defined key names r=smaug 2013-12-11 01:14:53 +09:00
Oleg Romashin
8428edd05d Bug 822898 - Implement pointer events. Interface. r=smaug 2013-11-20 21:44:22 -08:00
Oleg Romashin
0e795599f8 Backed out 3 changesets (bug 822898) for mochitest bustage on B2G ICS emulator 2013-11-20 16:08:36 -08:00
Oleg Romashin
4f81ba4a69 Bug 822898 - Implement pointer events. Interface. r=smaug 2013-11-20 13:05:39 -08:00
Masayuki Nakano
94dd316fd4 Bug 600117 part.1 Implement KeyboardEvent.repeat r=smaug, sr=jst 2013-11-07 20:17:32 +09:00
Birunthan Mohanathas
a200d5d674 Bug 784739 - Switch from NULL to nullptr in widget/; r=ehsan 2013-10-28 10:05:51 -04:00
Masayuki Nakano
eef5eccfeb Bug 920377 part.33 Get rid of mozilla::WheelEvent r=roc 2013-10-16 18:37:36 +09:00
Masayuki Nakano
e46624e0ca Bug 920377 part.32 Get rid of nsMouseEvent r=roc 2013-10-02 15:38:27 +09:00
Masayuki Nakano
5e5853070a Bug 920377 part.31 Get rid of nsEvent r=roc 2013-10-02 12:46:04 +09:00
Masayuki Nakano
d9fe18d02f Bug 920377 part.30 Get rid of nsGUIEvent r=roc 2013-10-02 12:46:03 +09:00
Masayuki Nakano
3224fb4749 Bug 920377 part.27 Get rid of nsMouseEvent_base r=roc 2013-10-01 16:23:02 +09:00
Masayuki Nakano
512bc33b30 Bug 920377 part.26 Get rid of nsInputEvent r=roc 2013-10-01 16:23:02 +09:00
Masayuki Nakano
ebe48cadea Bug 920377 part.24 Get rid of nsSelectionEvent r=roc 2013-10-01 16:23:01 +09:00
Masayuki Nakano
597d5ac7d2 Bug 920377 part.23 Get rid of nsQueryContentEvent r=roc 2013-10-01 16:23:00 +09:00
Masayuki Nakano
10d848c578 Bug 920377 part.22 Get rid of nsCompositionEvent r=roc 2013-10-01 16:23:00 +09:00
Masayuki Nakano
f3095ec496 Bug 920377 part.21 Get rid of nsTextEvent r=roc 2013-10-01 16:22:59 +09:00
Masayuki Nakano
8f96a132b0 Bug 920377 part.20 Get rid of nsTextRange r=roc 2013-10-01 16:22:59 +09:00
Masayuki Nakano
9b8afa1588 Bug 920377 part.18 Get rid of nsTextRangeStyle r=roc 2013-10-01 16:22:59 +09:00
Masayuki Nakano
1ccd49e4ab Bug 920377 part.17 Get rid of nsKeyEvent r=roc 2013-10-01 16:22:58 +09:00
Masayuki Nakano
99ed9cf061 Bug 920377 part.13 Get rid of nsTouchEvent r=roc 2013-09-27 15:20:57 +09:00
Masayuki Nakano
73500fb45e Bug 920377 part.2 Get rid of nsPluginEvent r=roc 2013-09-27 15:20:54 +09:00
Masayuki Nakano
648570f10b Bug 912956 part.18 Remove nsGUIEvent.h r=roc 2013-09-25 20:21:22 +09:00
Masayuki Nakano
64fa96e1ce Bug 912956 part.16 mozilla/MiscEvents.h should be included directly r=roc 2013-09-25 20:21:20 +09:00
Masayuki Nakano
d37d273b83 Bug 912956 part.15 mozilla/TextEvents.h should be included directly r=roc 2013-09-25 20:21:19 +09:00
Masayuki Nakano
f827f4667b Bug 912956 part.14 mozilla/MouseEvents.h should be included directly r=roc 2013-09-25 20:21:18 +09:00
Masayuki Nakano
8d69a172c1 Bug 912956 part.13 mozilla/TouchEvents.h should be included directly r=roc 2013-09-25 20:21:16 +09:00
Masayuki Nakano
a8e21aa06f Bug 912956 part.1 Rename all event stuff in mozilla::widget to mozilla::* r=roc 2013-09-14 11:39:41 +09:00
Jim Mathies
c434d3632d Bug 907410 - Winrt async input - keyboard input. r=masayuki 2013-09-06 08:11:15 -05:00
Masayuki Nakano
55d40230f3 Bug 910978 part.6 Implement nsTextEvent::AssignTextEventData() and make nsTextEvent not a derived class of nsInputEvent because nobody uses the stored data r=smaug 2013-09-03 20:45:29 +09:00
David Anderson
3ca6798fa7 Initialize nsKeyEvent::mNativeKeyEvent to prevent crashes on multi-process (bug 906237, r=smichaud). 2013-08-19 11:33:27 -07:00
Jeff Muizelaar
925e64dd68 Bug 898525. Separate out Gfx helpers into GfxMessageUtils.h. r=bent
This helps us include less.

--HG--
extra : rebase_source : bb9ca934a9dade9ef21cecfee7ae8e860f9c60c1
2013-07-26 15:28:31 -04:00
Ms2ger
78f9e66db8 Bug 896251 - Make nsEvent::{refPoint, lastRefPoint} LayoutDeviceIntPoints; r=smaug+kats 2013-08-02 09:05:16 +02:00
J. Ryan Stinnett
a21427cfad Bug 282097 - Part 1: Add mNativeKeyEvent to nsKeyEvent. r=masayuki 2013-07-09 22:42:59 -05:00
Ms2ger
aa023d93d4 Bug 884748 - Make nsTouchEvent::touches store Touch instead of nsIDOMTouch; r=dzbarsky 2013-07-10 11:53:09 +02:00
Reuben Morais
1278336cb0 Bug 866804 - Fix sometimes-unitialized warning in nsGUIEventIPC.h. r=smaug
--HG--
extra : rebase_source : c4b8392ad94aae528c345341d2b9521aa88b98e7
2013-04-29 11:21:11 -07:00
Jonathan Kew
7cb1f429d4 bug 865715 - eliminate uninitialized-variable warning in nsGUIEventIPC.h. r=smaug 2013-04-26 08:41:27 +01:00
Masayuki Nakano
f44a18d4f7 Bug 842927 part.1 Implement D3E KeyboardEvent.key r=smaug, sr=smaug 2013-04-24 12:49:46 +09:00
David Zbarsky
0180c76147 Bug 856962: Move Touch to its own file r=Ms2ger
--HG--
rename : content/events/src/nsDOMTouchEvent.cpp => content/events/src/Touch.cpp
rename : content/events/src/nsDOMTouchEvent.h => content/events/src/Touch.h
2013-04-05 04:49:00 -04:00
Masayuki Nakano
aef542653e Bug 822866 Make mozilla::widget::BaseEventFlags which is a POD struct for VC r=smaug 2012-12-28 23:13:18 +09:00
Gregor Wagner
ef37083bac Bug 823201 - Keyboard doesn't work in OOP apps. r=cjones 2012-12-19 19:42:29 -08:00
Masayuki Nakano
322db055c2 Bug 813445 part.12 Remove NS_EVENT_FLAG_ONLY_CHROME_DISPATCH and nsEvent::flags r=smaug 2012-12-16 10:26:05 +09:00
Masayuki Nakano
eb6b871bcb Bug 813445 part.1 Make widget::EventFlags and remove NS_EVENT_FLAG_TRUSTED r=roc+smaug, feedback=emk 2012-12-16 10:26:03 +09:00
Masayuki Nakano
0fb3fbdd2c Bug 812427 part.2 Make event struct type named enumeration r=roc+smaug 2012-11-20 15:05:56 +09:00
Rafael Ávila de Espíndola
3ae64f38a4 Bug 786148 - s/IPC/ipc/. r=ted.
This makes our builds a bit more reproducible. Without it when processing

#include "IPC/IPCMessageUtils.h

we end up in

#include "ShadowLayers.h"

which in the final XUL translates into the symbol (run nm -a to see it):

 - 00 0000   SOL ../../../../gfx/layers/IPC/ShadowLayers.h

now when some file in gfx/layers/ipc does

#include "ShadowLayres.h"

the file found is the local one with the lowercase directory name and we end up
with

 - 00 0000   SOL ../../../../gfx/layers/ipc/ShadowLayers.h

--HG--
extra : rebase_source : 96c68f6a3448eedaa280039960df911a9c707cac
2012-08-28 08:41:04 -04:00
Ehsan Akhgari
0fd9123eac 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
Reuben Morais
0cc22d453d Bug 782853 Initialize scrollType to avoid -Wsometimes-unitialized warnings r=smaug 2012-08-15 22:32:59 +09:00