Masayuki Nakano
e6e250467e
Bug 1179632 part.2 WidgetCompositionEvent should store NativeIMEContext which caused the event and PuppetWidget should store it for GetNativeIMEContext() r=smaug, sr=smaug
2015-12-11 15:15:57 +09:00
Nathan Froyd
e4e2da55c9
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
bd1e0cfe88
Bug 895274 part.194 Rename NS_COMPOSITION_COMMIT to eCompositionCommit r=smaug
2015-09-11 21:21:27 +09:00
Masayuki Nakano
4c0bc5fc89
Bug 895274 part.193 Rename NS_COMPOSITION_CHANGE to eCompositionChange r=smaug
2015-09-11 21:21:27 +09:00
Masayuki Nakano
67d08ce0c8
Bug 895274 part.190 Rename NS_COMPOSITION_START to eCompositionStart r=smaug
2015-09-11 21:21:27 +09:00
Masayuki Nakano
11aa392499
Bug 895274 part.188 Rename NS_COMPOSITION_COMMIT_AS_IS to eCompositionCommitAsIs r=smaug
2015-09-11 21:21:26 +09:00
Masayuki Nakano
139fd7c4bd
Bug 895274 part.11 Rename NS_KEY_DOWN to eKeyDown r=smaug
2015-08-29 08:58:27 +09:00
Masayuki Nakano
fbeb8a34b6
Bug 895274 part.10 Rename NS_KEY_UP to eKeyUp r=smaug
2015-08-29 08:58:27 +09:00
Masayuki Nakano
56f12a5cf3
Bug 895274 part.9 Rename NS_KEY_PRESS to eKeyPress r=smaug
2015-08-29 08:58:27 +09:00
Masayuki Nakano
08c1409ff7
Bug 895274 part.3 Make the enum of event messages a named enum IGNORE IDL r=smaug
2015-08-26 21:56:59 +09:00
Masayuki Nakano
f8191868b3
Bug 1137557 - Part 0: TextEventDispatcher shouldn't forward keyboard events coming from TextInputProcessor to the parent process. r=smaug
2015-08-04 05:52:00 -04:00
Ryan VanderMeulen
7fe71e3d8e
Backed out 4 changesets (bug 1137557) for causing intermittent Gij switching_test.js failures.
...
Backed out changeset ce86cf91f423 (bug 1137557)
Backed out changeset 83af10efcd3c (bug 1137557)
Backed out changeset e48ed45d1c80 (bug 1137557)
Backed out changeset 81e93b60a622 (bug 1137557)
CLOSED TREE
2015-08-24 13:27:01 -04:00
Masayuki Nakano
e2804df573
Bug 1137557 - Part 0: TextEventDispatcher shouldn't forward keyboard events coming from TextInputProcessor to the parent process. r=smaug
2015-08-04 05:52:00 -04:00
Masayuki Nakano
4da3f7c13c
Bug 1119133 Implement TextEventDispatcher::EndInputTransaction() for ensuring TextEventDispatcher forgets the link with TextInputProcessor r=smaug
2015-06-11 12:53:42 +09:00
David Anderson
84446e09cd
Allow synthetic input events to be dispatched asynchronously. (bug 1146243, r=kats)
2015-03-24 15:00:52 -07:00
Masayuki Nakano
0196cae971
Bug 1119609 part.17 TextInputProcessor shouldn't allow to begin input transaction with different TextEventDispatcher during dispatching an event r=smaug
2015-02-19 15:50:21 +09:00
Masayuki Nakano
87a233cc00
Bug 1119609 part.11 TextEventDispatcher shouldn't allow to begin input transaction during dispatching a event r=smaug
2015-02-19 15:50:20 +09:00
Masayuki Nakano
7921d21dce
Bug 1119609 part.2 Don't dispatch keyboard events from TextEventDispatcher if there is a composition r=smaug
2015-02-19 15:50:18 +09:00
Masayuki Nakano
fd631dd6f0
Bug 1119609 part.1 Implement key event dispatcher in TextEventDispatcher r=smaug
2015-02-19 15:50:18 +09:00
Masayuki Nakano
b9ddb90367
Bug 1131026 Rename nsITextInputProcessor.init() and .initForTests() to .beginInputTransaction() and .beginInputTransactionForTests() r=smaug, sr=smaug
2015-02-10 17:09:29 +09:00
Masayuki Nakano
6118353c7a
Bug 917322 part.15 Create TextEventDispatcherListener abstract class for listening notifications to IME r=smaug, sr=smaug
2015-01-28 15:27:32 +09:00
Masayuki Nakano
c36a5dff81
Bug 917322 part.9 TextEventDispatcher::CommitComposition() should return error if caller tries to commit composition non-existing composition with the last data or empty string r=smaug
2015-01-28 15:27:32 +09:00
Masayuki Nakano
d23e087868
Bug 917322 part.8 TextEventDispatcher should start composition automatically even if StartComposition() isn't called explicitly r=smaug
2015-01-28 15:27:31 +09:00
Masayuki Nakano
37159d5e10
Bug 917322 part.7 TextEventDispatcher should manage if it has composition r=smaug
2015-01-28 15:27:31 +09:00
Masayuki Nakano
331f9db45b
Bug 917322 part.6 Implement TextEventDispatcher::CommitComposition() and nsDOMWindowUtils should use it r=smaug
2015-01-28 15:27:31 +09:00
Masayuki Nakano
363c82198c
Bug 917322 part.5 Implement TextEventDispatcher::StartComposition() and nsDOMWindowUtils should use it r=smaug
2015-01-28 15:27:31 +09:00
Masayuki Nakano
c18bf8e355
Bug 917322 part.4 Create utility methods of TextEventDispatcher r=smaug
2015-01-28 15:27:31 +09:00
Masayuki Nakano
32f38404f4
Bug 917322 part.3 Pending composition string data should be cleared immediately before flushing a pending composition string r=smaug
2015-01-28 15:27:31 +09:00
Masayuki Nakano
2e23da33fe
Bug 917322 part.1 Create mozilla::widget::TextEventDispatcher class r=smaug, sr=smaug
2015-01-28 15:27:30 +09:00