Commit Graph

159 Commits

Author SHA1 Message Date
Masayuki Nakano
a9946940f8 Bug 1062053 part.2 Rename nsTextStore::sTsfClientId to nsTextStore::sClientId r=jimm 2014-09-11 12:56:10 +09:00
Masayuki Nakano
895791fd77 Bug 1062053 part.1 nsTextStore should use StaticRefPtr for storing COM objects r=jimm 2014-09-11 12:56:09 +09:00
Masayuki Nakano
bacbe92e17 Bug 1052343 part.6 Don't destroy nsTextStore instance during it's locking the document r=emk 2014-09-03 10:38:20 +09:00
Masayuki Nakano
e7043a0621 Bug 1052343 part.5 Recreate nsTextStore instance at each focus change r=emk 2014-09-03 10:38:20 +09:00
Masayuki Nakano
f7fde25c67 Bug 1052343 part.4 Remove nsTextStore::sFlushTIPInputMessage which is no longer used r=emk 2014-09-03 10:38:20 +09:00
Masayuki Nakano
5bd0ab6c8b Bug 1052343 part.3 Create TSFStaticSink for listening to some TSF events for whole life time of our process r=emk 2014-09-03 10:38:20 +09:00
Masayuki Nakano
93273fb0b9 Bug 1052343 part.2 Don't assume that there is nsTextStore instance even during in TSF mode r=emk 2014-09-03 10:38:19 +09:00
Ehsan Akhgari
b13c3b2652 Bug 1061274 - Do not pass a non-POD object to a variadic function in nsTextStore::MouseTracker::UnadviseSink; r=masayuki
clang-cl treats this as a fatal error, but MSVC seems fine with it.
2014-09-02 09:48:27 -04:00
Masayuki Nakano
aa3b19dbf1 Backout bug 1052343 because 7b7c24a989fa hasn't been reviewed yet 2014-09-02 09:41:48 +09:00
Masayuki Nakano
7f1e3f7b1c 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
1838667be9 Bug 1052343 part.5 Recreate nsTextStore instance at each focus change r=emk 2014-09-02 09:27:26 +09:00
Masayuki Nakano
3e2014860f Bug 1052343 part.4 Remove nsTextStore::sFlushTIPInputMessage which is no longer used r=emk 2014-09-02 09:27:25 +09:00
Masayuki Nakano
e70aec940b 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
939cafa812 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
eb615be890 Bug 1052343 part.1 Renamse nsTextStore::sTsfTextStore to nsTextStore::sEnabledTextStore r=emk 2014-09-02 09:27:24 +09:00
Masayuki Nakano
dec5d4536a 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
dd7132f17d Bug 826657 part.1 nsTextStore should support ITfMouseTrackerACP r=emk 2014-08-29 19:08:42 +09:00
Masayuki Nakano
ecab89485d 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
61dda8ebe9 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
519f24e673 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
40a83aac6e 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
9c86b34823 Bug 1054014 - Build bustage in nsTextStore because the end of GetGUIDNameStrWithTable doesn't return a value, r=masayuki 2014-08-14 16:21:33 -04:00
Masayuki Nakano
903cd136f2 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
f1a26b5cdd Bug 1052286 nsTextStore::SetInputContext() should handle password state as editable state r=jimm 2014-08-14 17:58:15 +09:00
Brian Smith
6b9211df11 Bug 1053576: Fix VS2013 build regression from bug in nsTextStore.cpp, r=masayuki 2014-08-13 17:35:15 -07:00
Masayuki Nakano
15a057c898 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
f8e3b091ed 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
a02a44ea44 Bug 1051689 Ensure to complete the last pending action r=emk 2014-08-12 00:17:18 +09:00
Masayuki Nakano
8905f92a89 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
503549909c Bug 1040030 - Give InputScopeImpl a private destructor; r=bjacob 2014-07-17 16:45:46 -04:00
Masayuki Nakano
917be0c243 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
836de6c600 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
ea7a45eeca 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
f211ffd489 Bug 962920 nsTextStore should commit composition when WM_ENTERIDLE is received r=jimm 2014-07-11 13:12:36 +09:00
Birunthan Mohanathas
9f41043f62 Bug 869836 - Part 3: Use Append('c') instead of AppendLiteral("c"). r=ehsan 2014-05-22 06:48:51 +03:00
Jacek Caban
5b2b194be0 Bug 974318 - GCC fixup 2014-03-10 14:32:05 +01: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
78ca8d7270 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
487dc6fa43 Backed out changeset 5dc41a3d8d77 (bug 968647) 2014-03-03 11:53:27 +09:00
Makoto Kato
32f91cea2c 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
181ba812cf Backed out changeset bd6f1c071516 (bug 968647) 2014-02-28 09:29:57 +01:00
Makoto Kato
7659d28729 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
b30a9ab5a7 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
fa8d4547e8 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
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
8f74cb2da0 Bug 964626 Fix some nits of logging code in nsTextStore r=jimm 2014-01-31 20:23:36 +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
Makoto Kato
41a0f83add Bug 960877 - Part 2. Remove mWantHints from nsIMEUpdatePreference. r=masayuki 2014-01-29 18:32:35 +09:00
Masayuki Nakano
105f899db8 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