Commit Graph

100 Commits

Author SHA1 Message Date
Masayuki Nakano
c3d778e5d4 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
c94065c322 Bug 1052343 part.5 Recreate nsTextStore instance at each focus change r=emk 2014-09-02 09:27:26 +09:00
Masayuki Nakano
a53cb83060 Bug 1052343 part.4 Remove nsTextStore::sFlushTIPInputMessage which is no longer used r=emk 2014-09-02 09:27:25 +09:00
Masayuki Nakano
fcb913cfde 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
9f5407bf19 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
13845e63d8 Bug 1052343 part.1 Renamse nsTextStore::sTsfTextStore to nsTextStore::sEnabledTextStore r=emk 2014-09-02 09:27:24 +09:00
Masayuki Nakano
df2ea302f1 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
5d04b0fe41 Bug 826657 part.1 nsTextStore should support ITfMouseTrackerACP r=emk 2014-08-29 19:08:42 +09:00
Masayuki Nakano
8d54b3ebbd 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
6d841e1926 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
326d01bd94 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
aeb629b5ea 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
d2036d7c98 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
1e9808ffe1 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
5a1e63fec0 Bug 1052286 nsTextStore::SetInputContext() should handle password state as editable state r=jimm 2014-08-14 17:58:15 +09:00
Brian Smith
1d8e31da50 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
50bda571f1 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
c59d657a01 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
96ac6ce176 Bug 1051689 Ensure to complete the last pending action r=emk 2014-08-12 00:17:18 +09:00
Masayuki Nakano
b379119003 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
1eb7d7ab71 Bug 1040030 - Give InputScopeImpl a private destructor; r=bjacob
--HG--
extra : rebase_source : 1adc723ff0f284508b76c147ddc7f01c7b8a5491
2014-07-17 16:45:46 -04:00
Masayuki Nakano
3ff4a8413a 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
63ab183605 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
1052a5564a 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
d733e70868 Bug 962920 nsTextStore should commit composition when WM_ENTERIDLE is received r=jimm 2014-07-11 13:12:36 +09:00
Birunthan Mohanathas
0e6f3a6562 Bug 869836 - Part 3: Use Append('c') instead of AppendLiteral("c"). r=ehsan 2014-05-22 06:48:51 +03:00
Jacek Caban
63b83e68ab Bug 974318 - GCC fixup 2014-03-10 14:32:05 +01:00
Masayuki Nakano
73c72bc5e4 Bug 974318 part.5 Use WidgetTextEvent::mRanges on Windows r=jimm 2014-03-04 22:48:27 +09:00
Makoto Kato
a705da4846 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
605127de26 Backed out changeset 5dc41a3d8d77 (bug 968647) 2014-03-03 11:53:27 +09:00
Makoto Kato
f63d38c241 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
a832cb8944 Backed out changeset bd6f1c071516 (bug 968647) 2014-02-28 09:29:57 +01:00
Makoto Kato
3bbbbb2efc 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
4fac2c03ae 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
e173e98fbd 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
5c7c5ab5a5 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
b8a91c449d Bug 964626 Fix some nits of logging code in nsTextStore r=jimm 2014-01-31 20:23:36 +09:00
Masayuki Nakano
f374be11a1 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
2419808fb6 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
95d1734bbb Bug 960877 - Part 2. Remove mWantHints from nsIMEUpdatePreference. r=masayuki 2014-01-29 18:32:35 +09:00
Masayuki Nakano
d50712b914 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
4b8b74f442 Bug 544779 part.2 Remove WM_USER_TSF_TEXTCHANGE from nsTextStore r=m_kato 2014-01-23 17:01:16 +09:00
Masayuki Nakano
9869bc00d5 Bug 959999 Clean up nsTextStore::Initialize() r=jimm 2014-01-21 21:33:52 +09:00
Masayuki Nakano
a3dc900949 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
29c7ba8ffb 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
654879bf1b 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
6915530fae 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
1b83407ce9 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
b541247a40 Bug 949821 - Use L... for wchar_t* strings. 2013-12-17 12:02:27 +01:00
Trevor Saunders
d43c55ca0e bug 949821 - use MOZ_UTF16 more and NS_LITERAL_STRING less r=froydnj 2013-12-12 20:50:01 -05:00