Masayuki Nakano
269af0c2a5
Bug 1205600 Stop supporting TSF on Windows XP and Windows Server 2003 r=m_kato
...
We won't enable TSF mode on Windows XP nor Windows Server 2003 because they are already not supported by Microsoft itsef and installed TSF of them is too old and too buggy. Therefore, it's not worthwhile to support TSF on those environments anymore.
MozReview-Commit-ID: Cs85EvWie9K
2016-05-17 14:00:59 +09:00
Masayuki Nakano
9a573d821b
Bug 1267526 part.1 TSFTextStore shouldn't notify TSF of selectin change when the selection isn't actually changed r=m_kato
...
MozReview-Commit-ID: 8HLz30lR2TH
2016-05-11 18:18:51 +09:00
Masayuki Nakano
8dce3b8541
Bug 1267526 part.0 IMMHandler and TSFTextStore should use LazyLogModule instead of PR_NewLogModule for consistency with related logs in dom/events r=m_kato
...
MozReview-Commit-ID: IDmV291bKsz
2016-05-11 18:01:34 +09:00
Jacek Caban
af5e87c81d
Bug 1263653 - Fixed TSFTextStore.h compilation with mingw. r=masayuki
2016-04-12 12:37:18 +02:00
Masayuki Nakano
7c0f83b85c
Bug 1255627 Don't call methods of TSFTextStore::sEnabledTextStore without independent strong reference to it r=m_kato
...
TSFTextStore::sEnabledTextStore is a static variable to grab a reference to focused TextStore instance. So, this may be changed by accidentally during a call of instance methods of TSFTextStore. Then, focused TextStore may be destroyed during running a method and crash when it accesses a member variable.
For avoiding this crash, static methods which call a method of sEnabledTextStore should create an independent RefPtr to it before calling the method.
MozReview-Commit-ID: 51Sor1LdABr
2016-04-07 02:17:05 +09:00
Makoto Kato
24308c04ee
Bug 1258637 - Fix typo of logging of pacpNext of TSFTextStore::GetText. r=masayuki
...
MozReview-Commit-ID: 9OGt9AJA2r1
2016-03-31 15:42:11 +09:00
Masayuki Nakano
4df0bcd3d2
Bug 1137561 part.2 Make TSFTextStore use TextEventDispatcher r=m_kato
2016-03-16 13:47:48 +09:00
Gijs Kruitbosch
64220f48c5
Bug 1240208 - use inputmode in XUL to get better hinting for IME and on-screen keyboards, r=masayuki,smaug
2016-02-01 17:57:29 +00:00
Masayuki Nakano
7d1fbffec1
Bug 1242331 part.5 TSFTextStore should ignore text changes not caused by composition but not occurred during current composition r=m_kato
2016-01-28 13:28:54 +09:00
Masayuki Nakano
62de211a61
Bug 1242331 part.4 Add TextChangeDataBase::mIncludingChangesWithoutComposition r=smaug
2016-01-28 13:28:54 +09:00
Masayuki Nakano
63975bd2b9
Bug 1242331 part.3 Rename TextChangeDataBase::mOccurredDuringComposition to mIncludingChangesDuringComposition r=smaug
2016-01-28 13:28:53 +09:00
Masayuki Nakano
a92e756814
Bug 1242331 part.2 Rename TextChangeDataBase::mCausedByComposition to mCausedOnlyByComposition r=smaug
2016-01-28 13:28:53 +09:00
Masayuki Nakano
b49e8cc9c1
Bug 1242895 Put off to commit/cancel composition after unlocking the document in TSF mode r=m_kato
2016-01-27 15:09:13 +09:00
Makoto Kato
25e49f3178
Bug 1241408 - Update selection cache even if having read lock. r=masayuki
2016-01-26 10:33:38 +09:00
Masayuki Nakano
a88303066b
Bug 1237216 TSFTextStore should forget redundant pending composition events for Korean TIPs r=emk
2016-01-18 16:29:02 +09:00
Masayuki Nakano
e665b0a285
Bug 1237582 Don't retry to call TSFTextStore::NotifyTSFOfLayoutChangeAgain() when TSFTextStore::NotifyTSFOfLayoutChange() is called from it and newly TSFTextStore returns TS_E_NOLAYOUT error during the call r=m_kato
2016-01-17 12:02:01 +09:00
Masayuki Nakano
3c848e557b
Bug 1208977 TSFTextStore::GetTextExt() shouldn't return TS_E_NOLAYOUT for MS-IME for Japanese becasue it may position its candidate window at top-left of the screen in e10s mode r=emk
2016-01-11 17:25:43 +09:00
Masayuki Nakano
04c782ed29
Bug 1234422 TSFTextStore should retry to notify TSF/TIP of layout change if synchronous calls of OnLayoutChange() don't cause retrieving layout information r=m_kato
2015-12-30 01:05:46 +09:00
Masayuki Nakano
5a6667ab40
Bug 1234120 part.2 TSFTextStore should ignore unnecessary text and selection changes which are caused by composition r=m_kato
2015-12-22 14:58:48 +09:00
Nicholas Nethercote
c3c2a5bf71
Bug 1223310 (part 2) - Use LayoutDeviceIntRect for bounds-related functions in nsIWidget. r=kats.
...
The patch renames the existing functions (GetBounds(), GetClientBounds(), etc)
by adding an |Untyped| suffix. It then adds typed equivalents, and uses those
typed equivalents in all the call sites where it's easy to do so. The trickier
remaining call sites are converted to use the Untyped-suffix version.
2015-11-09 21:37:32 -08:00
Nicholas Nethercote
2459b09f92
Bug 1223310 (part 1) - Pass a LayoutDeviceIntPoint instead of an nsIntPoint to InitEvent(). r=kats.
...
Also use direct assignment for some LayoutDeviceIntPoint assignments, rather
than doing it field-by-field.
2015-11-09 21:37:32 -08:00
Masayuki Nakano
f433ce2bb9
Bug 1184890 part.3 TSFTextStore shouldn't commit composition when a selection change notification occurred before starting current composition r=m_kato
2015-10-27 07:21:37 +09:00
Masayuki Nakano
573b64b3ee
Bug 1184890 part.1 SelectionChangeDataBase and TextChangeDataBase should have a flag which indicates whether the change occurred during composition or not r=smaug
2015-10-27 07:21:37 +09:00
Nathan Froyd
4e6d8f6705
Bug 1207245 - part 6 - rename nsRefPtr<T> to RefPtr<T>; r=ehsan; a=Tomcat
...
The bulk of this commit was generated with a script, executed at the top
level of a typical source code checkout. The only non-machine-generated
part was modifying MFBT's moz.build to reflect the new naming.
CLOSED TREE makes big refactorings like this a piece of cake.
# The main substitution.
find . -name '*.cpp' -o -name '*.cc' -o -name '*.h' -o -name '*.mm' -o -name '*.idl'| \
xargs perl -p -i -e '
s/nsRefPtr\.h/RefPtr\.h/g; # handle includes
s/nsRefPtr ?</RefPtr</g; # handle declarations and variables
'
# Handle a special friend declaration in gfx/layers/AtomicRefCountedWithFinalize.h.
perl -p -i -e 's/::nsRefPtr;/::RefPtr;/' gfx/layers/AtomicRefCountedWithFinalize.h
# Handle nsRefPtr.h itself, a couple places that define constructors
# from nsRefPtr, and code generators specially. We do this here, rather
# than indiscriminantly s/nsRefPtr/RefPtr/, because that would rename
# things like nsRefPtrHashtable.
perl -p -i -e 's/nsRefPtr/RefPtr/g' \
mfbt/nsRefPtr.h \
xpcom/glue/nsCOMPtr.h \
xpcom/base/OwningNonNull.h \
ipc/ipdl/ipdl/lower.py \
ipc/ipdl/ipdl/builtin.py \
dom/bindings/Codegen.py \
python/lldbutils/lldbutils/utils.py
# In our indiscriminate substitution above, we renamed
# nsRefPtrGetterAddRefs, the class behind getter_AddRefs. Fix that up.
find . -name '*.cpp' -o -name '*.h' -o -name '*.idl' | \
xargs perl -p -i -e 's/nsRefPtrGetterAddRefs/RefPtrGetterAddRefs/g'
if [ -d .git ]; then
git mv mfbt/nsRefPtr.h mfbt/RefPtr.h
else
hg mv mfbt/nsRefPtr.h mfbt/RefPtr.h
fi
2015-10-18 01:24:48 -04:00
Masayuki Nakano
1447b1f0c4
Bug 1208043 If composition is started with InsertTextAtSelection() and OnStartComposition() is called later, RecordCompositionStartAction() should cancel the last pending compositionend r=emk
2015-10-02 10:51:47 +09:00
Masayuki Nakano
4d0315e5be
Bug 1208969 TSFTextStore shouldn't grant document lock after starting to destroy the context r=emk
2015-09-29 17:08:42 +09:00
Masayuki Nakano
4f903d8b94
Bug 1187583 part.2 Apply the TS_E_NOLAYOUT hacks for MS-IME to MS Office IME 2010 for Japanese too r=emk
2015-09-19 22:22:40 +09:00
Masayuki Nakano
2df2d9d57c
Bug 1187583 part.1 Add a method to check if active TIP is MS Office IME 2010 for Japanese r=emk
2015-09-19 22:22:40 +09:00
Masayuki Nakano
2d27227d44
Bug 1204519 part.2 Remove TSFStaticSink::IsGoogleJapaneseInputActive() r=emk
2015-09-18 09:58:17 +09:00
Masayuki Nakano
87a1f65a24
Bug 1204519 part.1 Remove hack for TS_E_NOLAYOUT issue of Google Japanese Input r=emk
2015-09-18 09:58:17 +09:00
Masayuki Nakano
3a44d02871
Bug 1204523 part.2 Hack TSFTextStore::GetTextExt() for TS_E_NOLAYOUT issue of MS-IME for Japanese r=emk
2015-09-18 09:58:17 +09:00
Masayuki Nakano
b2a76cd48a
Bug 1204523 part.1 Add a method which checks if the active TIP is Microsoft IME for Japanese r=emk
2015-09-18 09:58:16 +09:00
Masayuki Nakano
ec56211348
Bug 1204439 part.3 Create methods to get enum item name r=smaug
2015-09-17 12:05:44 +09:00
Masayuki Nakano
7bb968fa0b
Bug 895274 part.194 Rename NS_COMPOSITION_COMMIT to eCompositionCommit r=smaug
2015-09-11 21:21:27 +09:00
Masayuki Nakano
799e278160
Bug 895274 part.193 Rename NS_COMPOSITION_CHANGE to eCompositionChange r=smaug
2015-09-11 21:21:27 +09:00
Masayuki Nakano
d23dd68a10
Bug 895274 part.190 Rename NS_COMPOSITION_START to eCompositionStart r=smaug
2015-09-11 21:21:27 +09:00
Masayuki Nakano
140ee81e3d
Bug 895274 part.187 Rename NS_QUERY_TEXT_RECT to eQueryTextRect r=smaug
2015-09-11 21:21:26 +09:00
Masayuki Nakano
9facc49d08
Bug 895274 part.157 Rename NS_QUERY_CHARACTER_AT_POINT to eQueryCharacterAtPoint r=smaug
2015-09-10 10:40:06 +09:00
Masayuki Nakano
15f8cfb6ff
Bug 895274 part.155 Rename NS_QUERY_EDITOR_RECT to eQueryEditorRect r=smaug
2015-09-10 10:40:06 +09:00
Masayuki Nakano
4da85524cd
Bug 895274 part.154 Rename NS_QUERY_CARET_RECT to eQueryCaretRect r=smaug
2015-09-10 10:40:06 +09:00
Masayuki Nakano
921b5a25be
Bug 895274 part.153 Rename NS_QUERY_TEXT_CONTENT to eQueryTextContent r=smaug
2015-09-10 10:40:05 +09:00
Masayuki Nakano
e934ee7f55
Bug 895274 part.152 Rename NS_QUERY_SELECTED_TEXT to eQuerySelectedText r=smaug
2015-09-10 10:40:05 +09:00
Masayuki Nakano
e0cc731301
Bug 895274 part.145 Rename NS_SELECTION_SET to eSetSelection r=smaug
2015-09-08 23:33:38 +09:00
Masayuki Nakano
71a5384ccc
Bug 1199997 TSFTextStore::QueryInsert() should return specified range if the TIP is one of buggy Chinese TIPs of Microsoft r=emk
2015-09-04 20:55:09 +09:00
Masayuki Nakano
5efe61139d
Bug 895274 part.27 Rename NS_MOUSE_BUTTON_DOWN to eMouseDown r=smaug
2015-08-29 08:58:30 +09:00
Masayuki Nakano
00ded62efd
Bug 895274 part.26 Rename NS_MOUSE_BUTTON_UP to eMouseUp r=smaug
2015-08-29 08:58:30 +09:00
Masayuki Nakano
73a9f1c345
Bug 1199224 TSFTextStore should clear mLockedContent unless it needs to wait the content to be modified asynchronously r=emk
2015-08-28 23:17:37 +09:00
Masayuki Nakano
59d58a5b71
Bug 1189396 part.3 Make IMENotification::SelectionChangeData useful even outside of IMENotification r=smaug
2015-08-22 01:43:41 +09:00
Masayuki Nakano
3f5e0db806
Bug 555642 part.2 IME handlers on Windows shouldn't append caret range if the caret is in the target clause which doesn't have specific style r=m_kato
2015-08-17 20:58:38 +09:00
Masayuki Nakano
bae704e312
Bug 1187579 Enable TSF in e10s mode r=m_kato
2015-08-05 18:37:47 +09:00