Nathan Froyd
9c5965b035
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
5193247ef9
Bug 895274 part.194 Rename NS_COMPOSITION_COMMIT to eCompositionCommit r=smaug
2015-09-11 21:21:27 +09:00
Masayuki Nakano
3974e0e4ac
Bug 895274 part.193 Rename NS_COMPOSITION_CHANGE to eCompositionChange r=smaug
2015-09-11 21:21:27 +09:00
Masayuki Nakano
48969b7f3c
Bug 895274 part.190 Rename NS_COMPOSITION_START to eCompositionStart r=smaug
2015-09-11 21:21:27 +09:00
Masayuki Nakano
f99b7b6a39
Bug 895274 part.188 Rename NS_COMPOSITION_COMMIT_AS_IS to eCompositionCommitAsIs r=smaug
2015-09-11 21:21:26 +09:00
Masayuki Nakano
6e7be53c8f
Bug 895274 part.11 Rename NS_KEY_DOWN to eKeyDown r=smaug
2015-08-29 08:58:27 +09:00
Masayuki Nakano
b68467aba9
Bug 895274 part.10 Rename NS_KEY_UP to eKeyUp r=smaug
2015-08-29 08:58:27 +09:00
Masayuki Nakano
40a4dbb5ca
Bug 895274 part.9 Rename NS_KEY_PRESS to eKeyPress r=smaug
2015-08-29 08:58:27 +09:00
Masayuki Nakano
3bf74a341a
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
6f6a3039f5
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
2e712f948d
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
92ec899b18
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
e7fa5963b8
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
7bc98f302c
Allow synthetic input events to be dispatched asynchronously. (bug 1146243, r=kats)
2015-03-24 15:00:52 -07:00
Masayuki Nakano
ef1c96c431
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
d1a96d851a
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
e4ba074794
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
076ffafc55
Bug 1119609 part.1 Implement key event dispatcher in TextEventDispatcher r=smaug
2015-02-19 15:50:18 +09:00
Masayuki Nakano
6cea2a629c
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
f2d5b42188
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
cce1cd32da
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
61602d9ad0
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
3a205a6e4e
Bug 917322 part.7 TextEventDispatcher should manage if it has composition r=smaug
2015-01-28 15:27:31 +09:00
Masayuki Nakano
903159243b
Bug 917322 part.6 Implement TextEventDispatcher::CommitComposition() and nsDOMWindowUtils should use it r=smaug
2015-01-28 15:27:31 +09:00
Masayuki Nakano
b62b8f5a42
Bug 917322 part.5 Implement TextEventDispatcher::StartComposition() and nsDOMWindowUtils should use it r=smaug
2015-01-28 15:27:31 +09:00
Masayuki Nakano
3ce97bbc6b
Bug 917322 part.4 Create utility methods of TextEventDispatcher r=smaug
2015-01-28 15:27:31 +09:00
Masayuki Nakano
6394c1dc0a
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
bc810e710e
Bug 917322 part.1 Create mozilla::widget::TextEventDispatcher class r=smaug, sr=smaug
...
--HG--
rename : dom/base/CompositionStringSynthesizer.cpp => widget/TextEventDispatcher.cpp
rename : dom/base/CompositionStringSynthesizer.h => widget/TextEventDispatcher.h
2015-01-28 15:27:30 +09:00