Commit Graph

56 Commits

Author SHA1 Message Date
David Zbarsky
89dd649dad Bug 1125040 - Use LayoutDeviceIntPoint in IME code r=botond 2015-02-04 15:21:03 -05:00
David Zbarsky
520ac2cad8 Bug 1125040: Use LayoutDeviceIntPoint for nsIWidget::WidgetToScreen r=botond 2015-02-04 15:21:03 -05:00
Mike Hommey
715db83e04 Bug 1126593 - Add a global fallible instance, so that using fallible works directly, everywhere. r=njn 2015-02-02 09:56:13 +09:00
Phil Ringnalda
8ff441aa5a Back out 5167196c4b98 (bug 1125040) for not compiling on Linux
CLOSED TREE
2015-02-01 15:27:14 -08:00
David Zbarsky
baa5df4d99 Bug 1125040: Use LayoutDeviceIntPoint for nsIWidget::WidgetToScreen r=botond 2015-02-01 17:27:41 -05:00
Masayuki Nakano
1ef372071a Bug 1077345 part.11 nsIMM32Handler should use NS_COMPOSITION_COMMIT event and NS_COMPOSITION_COMMIT_AS_IS event r=emk 2014-11-25 14:02:33 +09:00
Eric Rahm
b8709b7dc6 Bug 806819 - Part 3: Remove redundant FORCE_PR_LOG entries. r=ehsan 2014-10-08 13:17:32 -07:00
Masayuki Nakano
26f562530f Bug 960871 part.9 Rename methods and classes which handled WidgetTextEvent r=smaug 2014-10-07 19:01:49 +09:00
Masayuki Nakano
a0e7e21fc0 Bug 960871 part.6 Use WidgetCompositionEvent for NS_COMPOSITION_CHANGE instead of WidgetTextEvent r=smaug 2014-10-07 19:01:48 +09:00
Masayuki Nakano
2512321856 Bug 960871 part.4 Rename NS_TEXT_TEXT to NS_COMPOSITION_CHANGE and fix comments which mention text events r=smaug 2014-10-07 19:01:47 +09:00
Masayuki Nakano
71f1e0028d Bug 960871 part.2 Rename WidgetCompositionEvent::data to WidgetCompositionEvent::mData r=smaug 2014-10-07 19:01:46 +09:00
Masayuki Nakano
93a80b8990 Bug 960871 part.1 Rename WidgetTextEvent::theText to WidgetTextEvent::mData r=smaug 2014-10-07 19:01:46 +09:00
Wes Kocher
e9f3c5a025 Backed out 5 changesets (bug 806819) for WinXP test failures on a CLOSED TREE
Backed out changeset 009ae35b0c67 (bug 806819)
Backed out changeset 5a57f87f5061 (bug 806819)
Backed out changeset f06cd735b5b3 (bug 806819)
Backed out changeset e25a2a8d4af4 (bug 806819)
Backed out changeset 70a167982c3f (bug 806819)
2014-10-06 16:32:50 -07:00
Eric Rahm
e037820a94 Bug 806819 - Part 3: Remove redundant FORCE_PR_LOG entries. r=ehsan 2014-10-06 13:08:20 -07:00
Masayuki Nakano
e3b11114e3 Bug 975383 part.5 Remove compositionupdate dispatchers in nsIMM32Handler of Windows r=emk 2014-10-03 15:33:49 +09:00
Masayuki Nakano
e90acd3a89 Bug 1059643 nsIMM32Handler should handle NOTIFY_IME_OF_MOUSE_BUTTON_EVENT r=emk 2014-09-11 12:41:15 +09:00
Timothy Nikkel
aabfffe74c Bug 992485. Make nsIMM32Handler::OnUpdateComposition less spammy to the console. r=m_kato
browser chrome tests hit it about 20,000 times per run.
2014-04-06 20:11:12 -05:00
Makoto Kato
ead933c74a Bug 979148 - Use NOTIFY_IME_OF_POSITION_CHANGE for IMM32. r=masyuki 2014-03-06 15:13:50 +09:00
Masayuki Nakano
9a379888bd Bug 974318 part.5 Use WidgetTextEvent::mRanges on Windows r=jimm 2014-03-04 22:48:27 +09:00
Makoto Kato
3f0c04c9bc Bug 935821 - Part 5. Windows IMM32 implementation. r=masayuki 2014-01-16 19:05:09 +09:00
Ehsan Akhgari
68bfe70f09 Bug 927728 - Part 1: Replace PRUnichar with char16_t; r=roc
This patch was automatically generated by the following script:

#!/bin/bash
# Command to convert PRUnichar to char16_t

function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
       ! -wholename "*security/nss*" \
       ! -wholename "*modules/libmar*" \
       ! -wholename "*/.hg*" \
       ! -wholename "obj-ff-dbg*" \
       ! -name prtypes.h \
       ! -name Char16.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 PRUnichar char16_t
2014-01-04 10:02:17 -05:00
Masayuki Nakano
d66c4afff2 Bug 950559 part.2 nsIMM32Handler should set IME releated windows to left-bottom of focused plugin r=emk 2013-12-18 10:43:15 +09: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
120418da29 Bug 920377 part.23 Get rid of nsQueryContentEvent r=roc 2013-10-01 16:23:00 +09:00
Masayuki Nakano
9bb146c7b5 Bug 920377 part.22 Get rid of nsCompositionEvent r=roc 2013-10-01 16:23:00 +09:00
Masayuki Nakano
754e9c09a1 Bug 920377 part.21 Get rid of nsTextEvent r=roc 2013-10-01 16:22:59 +09:00
Masayuki Nakano
ea028aeada Bug 920377 part.20 Get rid of nsTextRange r=roc 2013-10-01 16:22:59 +09:00
Masayuki Nakano
25e65ddf10 Bug 912956 part.16 mozilla/MiscEvents.h should be included directly r=roc 2013-09-25 20:21:20 +09:00
Masayuki Nakano
5256146045 Bug 912956 part.15 mozilla/TextEvents.h should be included directly r=roc 2013-09-25 20:21:19 +09:00
Masayuki Nakano
9a30ac31b6 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
Masayuki Nakano
4404c8467b Bug 891316 part.8 Refactor other nsIMM32Handler::On*() r=jimm 2013-07-18 17:12:31 +09:00
Masayuki Nakano
44cfe1b619 Bug 891316 part.7 Refactor nsIMM32Handler::OnIME*() r=jimm 2013-07-18 17:12:31 +09:00
Masayuki Nakano
79bbb6e17a Bug 891316 part.6 Use widget::MSGResult in nsIMEHandler r=jimm 2013-07-18 17:12:31 +09:00
Trevor Saunders
5efd174530 bug 869284 - fix some gcc warnings for windows widgetish stuff r=roc 2013-05-06 22:04:02 -04:00
Sumedh Shekhar
fdf142e775 Bug 804742 - EnsureStringLength doesn't work. f=Ms2ger, r=ehsan 2013-05-08 00:52:52 +09:00
Ehsan Akhgari
5b3370beaf Bug 856339 - Make nsIMM32Handler::mClauseArray/mAttributeArray infallible; r=jimm 2013-03-30 14:15:27 -04:00
Masayuki Nakano
9ea76e4b10 Bug 849647 Get rid of message order optimization on Windows r=jimm 2013-03-23 23:18:52 +09:00
Masayuki Nakano
0a09469913 Bug 807241 Use ITfMessagePump and ITfKeystrokeMgr r=jimm 2013-03-18 13:41:24 +09:00
Masayuki Nakano
3cbb4706d6 Bug 558976 part.2 Implement nsIWidget::NotifyIME() on Windows r=jimm 2013-03-06 15:14:32 +09:00
Masayuki Nakano
0ddfa5dafa Bug 840409 part.15 Implement widget::IMEHandler::CanOptimizeKeyAndIMEMessages() r=jimm 2013-02-25 13:00:07 +09:00
Masayuki Nakano
d77ec1a2c8 Bug 840409 part.11 Implement nsIMEContext::AssociateDefaultContext() and nsIMEContext::Disassociate() r=jimm 2013-02-25 13:00:06 +09:00
Masayuki Nakano
554754a172 Bug 840409 part.2 Move nsIMM32Handler::IsDoingKakuteiUndo() to widget::IMEContext r=jimm 2013-02-25 13:00:05 +09:00
Masayuki Nakano
5a0fecd1a2 Bug 708936 Dispatch defaultPrevented Alt keyup event if VK_MENU is received with WM_KEYUP instead of WM_SYSKEYUP r=jimm+smaug 2013-02-12 10:03:00 +09:00
Mats Palmgren
7532b4e736 Bug 786533 - Replace NS_MIN/NS_MAX with std::min/std::max and #include <algorithm> where needed. r=ehsan 2013-01-15 13:22:03 +01:00
Isaac Aggrey
990e90e88a Bug 791906: Replace NSPR integer limit constants with stdint ones; r=ehsan 2012-09-28 01:57:33 -05:00
Randell Jesup
3b4961b603 Bug 773151: Convert nsCAutoString->nsAutoCString CLOSED TREE r=bsmedberg 2012-09-01 22:35:17 -04: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
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