Commit Graph

99 Commits

Author SHA1 Message Date
Masayuki Nakano
8865650cee Bug 964623 OnSelectionChange() and OnLayoutChange() should be called immediately after the document is unlocked completely r=emk 2014-02-05 16:36:17 +09:00
Masayuki Nakano
08ab6fc6dc Bug 789706 part.2 nsTextStore::CreateNativeCaret() should be called only when active TIP is ATOK r=emk 2014-01-31 11:17:25 +09:00
Masayuki Nakano
42545c2d9b Bug 789706 part.1 Create native caret over our caret when ITextStoreACP::GetTextExt() is called during composition r=emk 2014-01-31 11:17:24 +09:00
Masayuki Nakano
95289c9168 Bug 544779 part.2 Remove WM_USER_TSF_TEXTCHANGE from nsTextStore r=m_kato 2014-01-23 17:01:16 +09:00
Masayuki Nakano
d5bf525097 Bug 951966 part.5 nsTextStore should handle WM_INPUTLANGCHANGE on WinXP for caching if active IME is IMM-IME r=jimm 2014-01-14 11:01:00 +09:00
Masayuki Nakano
2a700a7d05 Bug 951966 part.4 nsIMM32Handler shouldn't handle any messages in TSF mode if active IME is not implemented with IMM r=jimm 2014-01-14 11:01:00 +09:00
Masayuki Nakano
24485810ff Bug 602787 part.10 Create TextRange.h for separating TextEvents.h r=roc 2013-10-22 22:27:36 +09:00
Wes Kocher
3708337984 Backed out 9 changesets (bug 602787) on suspicion of breaking mochitest-metro on a CLOSED TREE
Backed out changeset 1730bcae2c45 (bug 602787)
Backed out changeset 70606b9b1e42 (bug 602787)
Backed out changeset 57ca2861ea30 (bug 602787)
Backed out changeset 3b9f1062d915 (bug 602787)
Backed out changeset 3ee56eacc84b (bug 602787)
Backed out changeset 1c35693be3d3 (bug 602787)
Backed out changeset ef095c3aef98 (bug 602787)
Backed out changeset 4827bdae97fd (bug 602787)
Backed out changeset fa0f355e7871 (bug 602787)
2013-10-22 13:11:53 -04:00
Masayuki Nakano
1e86be1a39 Bug 602787 part.10 Create TextRange.h for separating TextEvents.h r=roc 2013-10-22 22:27:36 +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
ea028aeada Bug 920377 part.20 Get rid of nsTextRange r=roc 2013-10-01 16:22:59 +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
c97e23707c Bug 912956 part.2 Rename nsEvent.h to mozilla/EventForwards.h and sort out it r=roc 2013-09-24 19:04:14 +09:00
Masayuki Nakano
073bdd0de0 Bug 866736 - InputScope support for IMM32 with CUAS, fix bustage without Win8 SDK, r=jmathies 2013-05-02 17:37:35 +02:00
Joshua Cranmer
b06decdd30 Bug 856108 - Port static analyses to clang, part 2h: use MOZ_STACK_CLASS everywhere else. r=bsmedberg 2013-04-11 22:22:09 -05:00
Masayuki Nakano
314f1b7f53 Bug 848672 Redesign focus handling of nsTextStore r=jimm 2013-03-27 09:04:02 +09: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
e28e6c3f4f Bug 790516 part.10 Make nsTextStore::RecordCompositionEndAction() for processing composition end action r=jimm 2013-03-13 12:01:30 +09:00
Masayuki Nakano
1d2d22f493 Bug 790516 part.9 Rename nsTextStore::OnCompositionStartInternal() to nsTextStore::RecordCompositionStartAction() r=emk 2013-03-13 12:01:30 +09:00
Masayuki Nakano
1739da5c85 Bug 790516 part.8 Rename nsTextStore::UpdateCompositionExtent() to nsTextStore::RestartCompositionIfNecessary() r=emk 2013-03-13 12:01:30 +09:00
Masayuki Nakano
9ce3ab0047 Bug 790516 part.7 Remove nsTextStore::Composition::mLength r=jimm 2013-03-13 12:01:30 +09:00
Masayuki Nakano
3548055f93 Bug 790516 part.6 Cache content during document lock r=jimm 2013-03-13 12:01:30 +09:00
Masayuki Nakano
5a8c5d76c3 Bug 790516 part.5 Store selection even if there is no composition r=jimm 2013-03-13 12:01:29 +09:00
Masayuki Nakano
e339d19b54 Bug 790516 part.3 Store edit actions during document lock and flush them at unlocking the document r=jimm 2013-03-13 12:01:29 +09:00
Masayuki Nakano
ea9dae26f2 Bug 790516 part.2 Make some useful methods on nsTextStore::Composition r=emk 2013-03-13 12:01:29 +09:00
Masayuki Nakano
1034fa1d93 Bug 790516 part.1 Move composition string data of nsTextStore into a nested class r=emk 2013-03-13 12:01:29 +09:00
Masayuki Nakano
2a8b9da788 Bug 840409 part.16 Use IMM even in TSF mode when plugin has focus r=jimm 2013-02-25 13:00:07 +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
c0cf88b47c Bug 840409 part.14 Implement widget::IMEHandler::GetNativeData() r=jimm 2013-02-25 13:00:07 +09:00
Masayuki Nakano
b11d202562 Bug 840409 part.12 Implement widget::IMEHandler::InitInputContext() and widget::IMEHandler::SetInputContext() r=jimm 2013-02-25 13:00:06 +09:00
Masayuki Nakano
c43f99b6e8 Bug 840409 part.8 Implement widget::IMEHandler::NotifyIMEOfTextChange() r=jimm 2013-02-25 13:00:06 +09:00
Masayuki Nakano
2d974a7da9 Bug 840409 part.7 Define new notification for IME of focus or selection change and handle them in widget::IMEHandler::NotifyIME() r=jimm, feedback=roc 2013-02-25 13:00:06 +09:00
Masayuki Nakano
06f68bb034 Bug 840409 part.6 Implement widget::IMEHandler::NotifyIME() for committing and canceling composition r=jimm, feedback=roc 2013-02-25 13:00:06 +09:00
Masayuki Nakano
e8d25344c1 Bug 840409 part.5 Implement widget::IMEHandler::IsComposing() and widget::IMEHandler::IsComposingOn() r=jimm 2013-02-25 13:00:05 +09:00
Masayuki Nakano
ff927569e6 Bug 840409 part.4 Implement widget::IMEHandler::CurrentKeyboardLayoutHasIME() for debug r=jimm 2013-02-25 13:00:05 +09:00
Masayuki Nakano
8477381307 Bug 840409 part.1 Implement widget::IMEHandler with Initialize() and Terminate() methods r=jimm 2013-02-25 13:00:05 +09:00
Jacek Caban
30ac5a7b87 Bug 835738 - Use GUID_PROP_INPUTSCOPE declaration from inputscope.h r=jmathies 2013-01-30 11:45:42 +01:00
Jim Mathies
70ffd37174 Bug 783882 - Add ITfInputScope support to nsTextStore, and add support for various html5 form input types. r=masayuki 2013-01-26 08:35:21 -06:00
Jim Mathies
90ac7d9bd7 Bug 785534 - Prep work for adding MetroWidget support to the TSF nsTextStore widget module, r=emk 2013-01-07 09:18:11 -06:00
Masayuki Nakano
4582e17a04 Bug 805767 part.2 Implement nsIWidget::GetIMEUpdatePreference() on Windows for TSF r=emk 2012-11-13 22:04:45 +09:00
Masayuki Nakano
ee2340e925 Bug 790561 Separate InsertTextAtSelection() r=jimm 2012-09-14 13:51:00 +09:00
Masayuki Nakano
4ee444a43b Backout 3a20a844caec due to landed wrong patch 2012-09-14 11:35:23 +09:00
Masayuki Nakano
efbec1bcd6 Bug 790561 Separate InsertTextAtSelection() r=jimm 2012-09-14 10:38:58 +09:00
Masayuki Nakano
68354ec2a4 Bug 544773 part.1 TSF module should log its behavior r=jimm 2012-09-12 08:53:12 +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
Jacek Caban
34c9bdc673 Bug 758992 - Make the classes which use the XPCOM nsISupports implementation macros final, to avoid the warning about deleting using a pointer to a base class with virtual functions and no virtual dtor (widget/windows parts); r=bsmedberg 2012-06-14 14:28:06 -04:00
Gervase Markham
cb6a072c2a Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Brian R. Bondy
d0a93b0ace Bug 679226 - Fold widget/src into widget. r=roc 2012-01-03 22:09:29 -05:00