Commit Graph

75 Commits

Author SHA1 Message Date
Masayuki Nakano
e0e4cd1c42 Bug 998188 part.2 ContentEventHandler should support 2 modes, native line break mode and XP line break mode r=smaug 2014-04-26 08:52:12 +09:00
Masayuki Nakano
ba6d2c9946 Bug 974318 part.10 Remove WidgetTextEvent::rangeCount and WidgetTextEvent::rangeArray r=smaug 2014-03-04 22:48:28 +09:00
Masayuki Nakano
452e87c792 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
c966f62b9d Bug 960877 - Part 2. Remove mWantHints from nsIMEUpdatePreference. r=masayuki 2014-01-29 18:32:35 +09:00
Yuan Xulei
c9c86233e4 Bug 946068 - Fix composition events' synthesizing in chrome process. r=masayuki 2014-01-15 09:41:39 -05:00
Masayuki Nakano
63a192a317 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
463385a1a1 Bug 822898 - Implement pointer events. Interface. r=smaug 2013-11-20 21:44:22 -08:00
Oleg Romashin
c63a492777 Backed out 3 changesets (bug 822898) for mochitest bustage on B2G ICS emulator 2013-11-20 16:08:36 -08:00
Oleg Romashin
9b50f2dcd4 Bug 822898 - Implement pointer events. Interface. r=smaug 2013-11-20 13:05:39 -08:00
Masayuki Nakano
da9a4674be Bug 600117 part.1 Implement KeyboardEvent.repeat r=smaug, sr=jst 2013-11-07 20:17:32 +09:00
Birunthan Mohanathas
c410425386 Bug 784739 - Switch from NULL to nullptr in widget/; r=ehsan 2013-10-28 10:05:51 -04:00
Masayuki Nakano
6931c6e1e5 Bug 920377 part.33 Get rid of mozilla::WheelEvent r=roc 2013-10-16 18:37:36 +09:00
Masayuki Nakano
b266c80d36 Bug 920377 part.32 Get rid of nsMouseEvent r=roc 2013-10-02 15:38:27 +09:00
Masayuki Nakano
0823bd31f1 Bug 920377 part.31 Get rid of nsEvent r=roc 2013-10-02 12:46:04 +09:00
Masayuki Nakano
096a701901 Bug 920377 part.30 Get rid of nsGUIEvent r=roc 2013-10-02 12:46:03 +09:00
Masayuki Nakano
e468587f5e Bug 920377 part.27 Get rid of nsMouseEvent_base r=roc 2013-10-01 16:23:02 +09:00
Masayuki Nakano
9c18a013ca Bug 920377 part.26 Get rid of nsInputEvent r=roc 2013-10-01 16:23:02 +09:00
Masayuki Nakano
805b0a7850 Bug 920377 part.24 Get rid of nsSelectionEvent r=roc 2013-10-01 16:23:01 +09:00
Masayuki Nakano
1cf4b4233a Bug 920377 part.23 Get rid of nsQueryContentEvent r=roc 2013-10-01 16:23:00 +09:00
Masayuki Nakano
a899a68a7f Bug 920377 part.22 Get rid of nsCompositionEvent r=roc 2013-10-01 16:23:00 +09:00
Masayuki Nakano
dfa18ff7c5 Bug 920377 part.21 Get rid of nsTextEvent r=roc 2013-10-01 16:22:59 +09:00
Masayuki Nakano
9fc5453724 Bug 920377 part.20 Get rid of nsTextRange r=roc 2013-10-01 16:22:59 +09:00
Masayuki Nakano
ad66b1daf9 Bug 920377 part.18 Get rid of nsTextRangeStyle r=roc 2013-10-01 16:22:59 +09:00
Masayuki Nakano
cb5e8fa5ed Bug 920377 part.17 Get rid of nsKeyEvent r=roc 2013-10-01 16:22:58 +09:00
Masayuki Nakano
da7066887d Bug 920377 part.13 Get rid of nsTouchEvent r=roc 2013-09-27 15:20:57 +09:00
Masayuki Nakano
a7105d6006 Bug 920377 part.2 Get rid of nsPluginEvent r=roc 2013-09-27 15:20:54 +09:00
Masayuki Nakano
ee772d1cbc Bug 912956 part.18 Remove nsGUIEvent.h r=roc 2013-09-25 20:21:22 +09:00
Masayuki Nakano
38b1de7ee7 Bug 912956 part.16 mozilla/MiscEvents.h should be included directly r=roc 2013-09-25 20:21:20 +09:00
Masayuki Nakano
18aa9b09b2 Bug 912956 part.15 mozilla/TextEvents.h should be included directly r=roc 2013-09-25 20:21:19 +09:00
Masayuki Nakano
715f30b959 Bug 912956 part.14 mozilla/MouseEvents.h should be included directly r=roc 2013-09-25 20:21:18 +09:00
Masayuki Nakano
a362049807 Bug 912956 part.13 mozilla/TouchEvents.h should be included directly r=roc 2013-09-25 20:21:16 +09:00
Masayuki Nakano
8f393ec07c 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
c476c2476e Bug 907410 - Winrt async input - keyboard input. r=masayuki 2013-09-06 08:11:15 -05:00
Masayuki Nakano
00a26e15e5 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
eae60cf6d1 Initialize nsKeyEvent::mNativeKeyEvent to prevent crashes on multi-process (bug 906237, r=smichaud). 2013-08-19 11:33:27 -07:00
Jeff Muizelaar
be2cbcb453 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
625b832e4f Bug 896251 - Make nsEvent::{refPoint, lastRefPoint} LayoutDeviceIntPoints; r=smaug+kats 2013-08-02 09:05:16 +02:00
J. Ryan Stinnett
63fe3aff42 Bug 282097 - Part 1: Add mNativeKeyEvent to nsKeyEvent. r=masayuki 2013-07-09 22:42:59 -05:00
Ms2ger
c143803fda Bug 884748 - Make nsTouchEvent::touches store Touch instead of nsIDOMTouch; r=dzbarsky 2013-07-10 11:53:09 +02:00
Reuben Morais
3668c957ed 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
0ad4de0c14 bug 865715 - eliminate uninitialized-variable warning in nsGUIEventIPC.h. r=smaug 2013-04-26 08:41:27 +01:00
Masayuki Nakano
89840a9b91 Bug 842927 part.1 Implement D3E KeyboardEvent.key r=smaug, sr=smaug 2013-04-24 12:49:46 +09:00
David Zbarsky
76ad7e5429 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
e94e7553b3 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
e00ae39a68 Bug 823201 - Keyboard doesn't work in OOP apps. r=cjones 2012-12-19 19:42:29 -08:00
Masayuki Nakano
ebad00b4b8 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
c8090c380d 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
bc39d12867 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
fa9b9c167a 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
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