Commit Graph

99 Commits

Author SHA1 Message Date
Masayuki Nakano
9977b14898 Bug 1176950 nsTextStore should keep storing locked content until NOTIFY_IME_OF_COMPOSITION_UPDATE is notified r=emk 2015-07-12 18:56:23 +09:00
Masayuki Nakano
568dafa4ce Bug 1172219 part.3 Modify nsTextStore::mSelection with new selection in OnSelectionChangeInternal() r=emk 2015-06-17 14:00:34 +09:00
Masayuki Nakano
508788ab7e Bug 1172219 part.1 nsTextStore shouldn't notify IME while events are being dispatched and until they have not been handled yet r=emk 2015-06-17 14:00:33 +09:00
Kartikaya Gupta
ebe4a3e37e Bug 1039866 - Rip out a bunch of metro-only code. r=jimm,gavin,rstrong 2015-04-23 15:10:30 -04:00
Andrea Marchesini
b8630baa2d Bug 1156632 - Remove unused forward class declarations - patch 6 - the rest of the tree, r=ehsan 2015-04-22 08:29:24 +02:00
Andrea Marchesini
ad97ae68b8 Bug 1148527 - Indentation fix after bug 1145631, r=ehsan 2015-03-27 18:52:19 +00:00
Ehsan Akhgari
ea41d8de48 Bug 1145631 - Part 1: Replace MOZ_OVERRIDE and MOZ_FINAL with override and final in the tree; r=froydnj
This patch was automatically generated using the following script:

function convert() {
echo "Converting $1 to $2..."
find . \
       ! -wholename "*/.git*" \
       ! -wholename "obj-ff-dbg*" \
         -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 MOZ_OVERRIDE override
convert MOZ_FINAL final
2015-03-21 12:28:04 -04:00
Masayuki Nakano
6dc09bd666 Bug 1061604 part.2 nsTextStore::GetTextExt() should rReturn previous character rect of modified range instead of TS_E_NOLAYOUT when Google Japanese Input retrieves caret rect during composition r=emk 2015-03-13 21:51:00 +09:00
Masayuki Nakano
ff3b0893c2 Bug 1061604 part.1 nsTextStore::GetTextExt() should rReturn previous character rect instead of TS_E_NOLAYOUT when Google Japanese Input retrieves first character of selected clause at composing r=emk 2015-03-13 21:51:00 +09:00
Jonathan Kew
f337b0c9f9 Bug 1130936 - Support vertical writing mode in nsTextStore for Windows TSF. r=masayuki 2015-02-10 14:00:02 +00:00
Masatoshi Kimura
9f53c25023 Bug 895582 - Get rid of MOZ_ENUM_TYPE. r=waldo 2015-01-21 22:35:19 +09:00
Masayuki Nakano
26f562530f Bug 960871 part.9 Rename methods and classes which handled WidgetTextEvent r=smaug 2014-10-07 19:01:49 +09:00
Masayuki Nakano
2512321856 Bug 960871 part.4 Rename NS_TEXT_TEXT to NS_COMPOSITION_CHANGE and fix comments which mention text events r=smaug 2014-10-07 19:01:47 +09:00
Masayuki Nakano
fadc45b1b9 Bug 975383 part.6 Remove compositionupdate dispatchers in nsTextStore of Windows r=emk 2014-10-03 15:33:49 +09:00
Masayuki Nakano
389a3d2d9a Bug 1066594 Restore composition string and selection after restarting composition when a part of composition string is committed r=emk 2014-09-16 22:46:39 +09:00
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
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
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
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
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
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
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