Commit Graph

100 Commits

Author SHA1 Message Date
Masayuki Nakano
1127764c5f Bug 1052343 part.6 Don't destroy nsTextStore instance during it's locking the document r=emk 2014-09-02 09:27:26 +09:00
Masayuki Nakano
fc437bc317 Bug 1052343 part.5 Recreate nsTextStore instance at each focus change r=emk 2014-09-02 09:27:26 +09:00
Masayuki Nakano
1ea0ae9886 Bug 1052343 part.4 Remove nsTextStore::sFlushTIPInputMessage which is no longer used r=emk 2014-09-02 09:27:25 +09:00
Masayuki Nakano
6324d3e9ab Bug 1052343 part.3 Create TSFStaticSink for listening to some TSF events for whole life time of our process r=emk 2014-09-02 09:27:25 +09:00
Masayuki Nakano
bc41125f3f Bug 1052343 part.2 Don't assume that there is nsTextStore instance even during in TSF mode r=emk 2014-09-02 09:27:25 +09:00
Masayuki Nakano
4a049f8136 Bug 1052343 part.1 Renamse nsTextStore::sTsfTextStore to nsTextStore::sEnabledTextStore r=emk 2014-09-02 09:27:24 +09:00
Masayuki Nakano
235c75d90e Bug 826657 part.3 nsTextStore should handle NOTIFY_IME_OF_MOUSE_BUTTON_EVENT r=emk 2014-08-29 19:08:43 +09:00
Masayuki Nakano
65d1bbdfa7 Bug 826657 part.1 nsTextStore should support ITfMouseTrackerACP r=emk 2014-08-29 19:08:42 +09:00
Masayuki Nakano
1b23c50930 Bug 1057192 part.2 nsTextStore should not commit a part of composition string which will be still being composed after restarting composition r=emk 2014-08-28 13:42:25 +09:00
Masayuki Nakano
f96dea7b9c Bug 1057192 part.1 nsTextStore should set selection before dispatching compositionstart if current selection is different from the range r=emk 2014-08-25 22:40:23 +09:00
Masayuki Nakano
8b2d0fa517 Bug 1055342 part.2 Implement nsTextStore::GetCurrentText() for retrieving current text content even without document lock r=emk 2014-08-23 23:24:42 +09:00
Masayuki Nakano
8b9b6142f0 Bug 1055342 part.1 Rename nsTextStore::mContent and nsTextStore::CurrentContent() to mLockedContent and LockedContent() r=emk 2014-08-23 23:24:42 +09:00
Benjamin Smedberg
1789266c6d Bug 1054014 - Build bustage in nsTextStore because the end of GetGUIDNameStrWithTable doesn't return a value, r=masayuki
--HG--
extra : rebase_source : ef919c1580bd92b74b63bdb39b2926ed199c8563
2014-08-14 16:21:33 -04:00
Masayuki Nakano
cc2693e6fa Bug 1054108 nsTextStore::GetTextExt() should return the position of composition start if the layout hasn't been computed yet and when Free ChangJie or Easy Changjei is active TIP r=emk 2014-08-15 23:52:46 +09:00
Masayuki Nakano
2381894263 Bug 1052286 nsTextStore::SetInputContext() should handle password state as editable state r=jimm 2014-08-14 17:58:15 +09:00
Brian Smith
9b020d554d Bug 1053576: Fix VS2013 build regression from bug in nsTextStore.cpp, r=masayuki
--HG--
extra : rebase_source : 0cb157119fd37f76093e66e30eb031dffad75159
extra : histedit_source : cc4ea0c3ceeb881457417d18654dc7dcf134be2b
2014-08-13 17:35:15 -07:00
Masayuki Nakano
3a2514c87d Bug 1050124 Support TSATTRID_Text_VerticalWriting for consistency with other TSF aware applications r=jimm 2014-08-13 12:55:59 +09:00
Masayuki Nakano
cc9b25263e Bug 1050703 Don't reset selection at starting composition if it's unnecessary r=emk 2014-08-12 00:17:18 +09:00
Masayuki Nakano
0ac6705f98 Bug 1051689 Ensure to complete the last pending action r=emk 2014-08-12 00:17:18 +09:00
Masayuki Nakano
6299aee785 Bug 1049768 If OnCompositionUpdate() is never called with new range, we should call RecordCompositionUpdateAction() forcibly before flushing pending actions r=emk 2014-08-07 15:50:21 +09:00
Ehsan Akhgari
4945683e9e Bug 1040030 - Give InputScopeImpl a private destructor; r=bjacob
--HG--
extra : rebase_source : 1adc723ff0f284508b76c147ddc7f01c7b8a5491
2014-07-17 16:45:46 -04:00
Masayuki Nakano
449d1b4e2e Bug 1037330 Don't enable TSF mode on WinXP nor WinServer 2003 with "intl.tsf.enable" r=jimm 2014-07-12 02:09:59 +09:00
Masayuki Nakano
5bb8ebe0f7 Bug 995893 part.2 Unregister all references to nsTextStore before releasing its instance r=jimm 2014-07-12 02:09:59 +09:00
Masayuki Nakano
00e4d9620a Bug 995893 part.1 Use nsAutoRefCnt in IUnknown inherited classes and log the refcounting r=jimm 2014-07-12 02:09:59 +09:00
Masayuki Nakano
0a295cbf0b Bug 962920 nsTextStore should commit composition when WM_ENTERIDLE is received r=jimm 2014-07-11 13:12:36 +09:00
Birunthan Mohanathas
411a8639b4 Bug 869836 - Part 3: Use Append('c') instead of AppendLiteral("c"). r=ehsan 2014-05-22 06:48:51 +03:00
Jacek Caban
728dc6bf41 Bug 974318 - GCC fixup 2014-03-10 14:32:05 +01:00
Masayuki Nakano
688be7cbab Bug 974318 part.5 Use WidgetTextEvent::mRanges on Windows r=jimm 2014-03-04 22:48:27 +09:00
Makoto Kato
d982b2d86d Bug 968647 - Part 3. TSF should use postion change notification instead of nsITimer. r=masayuki 2014-02-28 16:45:16 +09:00
Makoto Kato
20c4630501 Backed out changeset 5dc41a3d8d77 (bug 968647) 2014-03-03 11:53:27 +09:00
Makoto Kato
6599320717 Bug 968647 - Part 3. TSF should use postion change notification instead of nsITimer. r=masayuki CLOBBER 2014-02-28 16:45:16 +09:00
Carsten "Tomcat" Book
985114d335 Backed out changeset bd6f1c071516 (bug 968647) 2014-02-28 09:29:57 +01:00
Makoto Kato
3d94b7d3e5 Bug 968647 - Part 3. TSF should use postion change notification instead of nsITimer. r=masayuki 2014-02-28 16:45:16 +09:00
Masayuki Nakano
9f4af3ce4f Bug 961704 part.2 Add an option to nsIMEUpdatePreference which prevents to be notified selection/text changes caused by composition r=smaug 2014-02-26 09:48:02 +09:00
Masayuki Nakano
0e922aada3 Bug 965685 Use IMENotification struct for nsIWidget::NotifyIME() and merge NotifyIMEOfTextChange() with it r=smaug, sr=roc 2014-02-18 09:00:15 +09:00
Masayuki Nakano
6550a7015d 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
76191cba32 Bug 964626 Fix some nits of logging code in nsTextStore r=jimm 2014-01-31 20:23:36 +09:00
Masayuki Nakano
83132e29e4 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
1aa091b2bc 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
Makoto Kato
797dde6607 Bug 960877 - Part 2. Remove mWantHints from nsIMEUpdatePreference. r=masayuki 2014-01-29 18:32:35 +09:00
Masayuki Nakano
9cd8fd46fa Bug 961703 Commit or cancel composition when text/selection/focus is changed during composition for avoiding making some TIPs confused r=m_kato 2014-01-23 18:36:01 +09:00
Masayuki Nakano
e84d2b30a2 Bug 544779 part.2 Remove WM_USER_TSF_TEXTCHANGE from nsTextStore r=m_kato 2014-01-23 17:01:16 +09:00
Masayuki Nakano
3c21e04f71 Bug 959999 Clean up nsTextStore::Initialize() r=jimm 2014-01-21 21:33:52 +09:00
Masayuki Nakano
a2828099bf Bug 835262 Add an option making nsTextStateManager keep alive even while our process is deactive r=smaug+emk 2014-01-18 12:27:14 +09:00
Masayuki Nakano
6674abe6f3 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
fbc7b42bfb 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
bb3c6744b2 Bug 951966 part.1 Add new pref to support IMM-IME even in TSF mode and rename intl.enable_tsf_support to intl.tsf.enable r=jimm 2014-01-14 11:00:59 +09:00
Ehsan Akhgari
ebd358dfd7 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
Jacek Caban
319f70df62 Bug 949821 - Use L... for wchar_t* strings. 2013-12-17 12:02:27 +01:00
Trevor Saunders
907dfc4528 bug 949821 - use MOZ_UTF16 more and NS_LITERAL_STRING less r=froydnj 2013-12-12 20:50:01 -05:00