Commit Graph

82 Commits

Author SHA1 Message Date
Masayuki Nakano
6cbc25933f 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
443a5d2ac0 Bug 1052343 part.5 Recreate nsTextStore instance at each focus change r=emk 2014-09-03 10:38:20 +09:00
Masayuki Nakano
01928abcf3 Bug 1052343 part.4 Remove nsTextStore::sFlushTIPInputMessage which is no longer used r=emk 2014-09-03 10:38:20 +09:00
Masayuki Nakano
6eed598db5 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
505d5be613 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
Masayuki Nakano
a98cdf9c4d Backout bug 1052343 because 7b7c24a989fa hasn't been reviewed yet 2014-09-02 09:41:48 +09:00
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
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
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
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
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
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
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
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
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
15be48ff2e Bug 602787 part.10 Create TextRange.h for separating TextEvents.h r=roc 2013-10-22 22:27:36 +09:00
Wes Kocher
6559234e89 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
381b632044 Bug 602787 part.10 Create TextRange.h for separating TextEvents.h r=roc 2013-10-22 22:27:36 +09:00
Birunthan Mohanathas
19145c6676 Bug 784739 - Switch from NULL to nullptr in widget/windows/ (2/3); r=ehsan
--HG--
extra : rebase_source : 5276b6474b9d6135ca2db408d17f0b5ed98b24a6
2013-10-08 14:48:20 -04:00
Masayuki Nakano
8f96a132b0 Bug 920377 part.20 Get rid of nsTextRange r=roc 2013-10-01 16:22:59 +09:00
Masayuki Nakano
d37d273b83 Bug 912956 part.15 mozilla/TextEvents.h should be included directly r=roc 2013-09-25 20:21:19 +09:00
Masayuki Nakano
2a465d3e36 Bug 912956 part.2 Rename nsEvent.h to mozilla/EventForwards.h and sort out it r=roc
--HG--
rename : widget/nsEvent.h => widget/EventForwards.h
2013-09-24 19:04:14 +09:00
Masayuki Nakano
23ccd1c730 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
41c5d7997f 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
aa54cd6bad Bug 848672 Redesign focus handling of nsTextStore r=jimm 2013-03-27 09:04:02 +09:00
Masayuki Nakano
23d8060cd8 Bug 849647 Get rid of message order optimization on Windows r=jimm 2013-03-23 23:18:52 +09:00