Masayuki Nakano
3e80dd382b
Bug 1137572 part.7 Add TextEventDispatcherListener::WillDispatchKeyboardEvent() for easier to maintain r=smaug
2016-03-16 13:47:48 +09:00
Masayuki Nakano
e7fa655b11
Bug 1137572 part.4 TextEventDispatcher::DispatchInputEvent() should decide if dispatches events with nsIWidget::DispatchInputEvent() with input transaction type r=smaug
2016-03-16 13:47:48 +09:00
Masayuki Nakano
3a5c26cf72
Bug 1137572 part.2 Add nsIWidget::GetNativeTextEventDispatcherListener() for TextEventDispatcher::NotifyIME() r=smaug, sr=smaug
2016-03-16 13:47:47 +09:00
Masayuki Nakano
13c20e8b89
Bug 1137572 part.1 TextEventDispatcher should manage its input transaction type r=smaug
2016-03-16 13:47:47 +09:00
Aidin Gharibnavaz
6863090c8a
Bug 1235830 - Renaming GetInternalNSEvent to WidgetEvent, in nsIDOMEvent r=smaug
...
MozReview-Commit-ID: Hm8Owq17KXn
--HG--
extra : transplant_source : 2%82%D5%89%19%94%7C%E7%CA1%99%B5%24%1F5%E1%C0%1F%DE%07
2016-02-12 19:10:07 +03:30
Kyle Huey
91efc5a86c
Bug 1241764: Replace nsPIDOMWindow with nsPIDOMWindowInner/Outer. r=mrbkap,smaug
2016-01-30 09:05:36 -08:00
Aidin Gharibnavaz
e6606278c0
Bug 1230216
- Changing nsIDOM*Event interfaces so that they don't inherit nsIDOMEvent. r=smaug
...
All the event interfaces changed except for nsIDOMUIEvent and its inheritors.
--HG--
extra : transplant_source : %A5U%3F%80%2B%DD%01%F4%D8%21%F2%E9z%C1%D6%AA%CC%D4%EC%F8
2016-01-12 07:49:08 +03:30
Nathan Froyd
01583602a9
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
--HG--
rename : mfbt/nsRefPtr.h => mfbt/RefPtr.h
2015-10-18 01:24:48 -04:00
Masayuki Nakano
35cc2a0a26
Bug 895274 part.149 Rename NS_USER_DEFINED_EVENT to eUnidentifiedEvent r=smaug
2015-09-10 10:40:04 +09:00
Masayuki Nakano
ba5b3f3fe6
Bug 895274 part.11 Rename NS_KEY_DOWN to eKeyDown r=smaug
2015-08-29 08:58:27 +09:00
Masayuki Nakano
28c9f34179
Bug 895274 part.10 Rename NS_KEY_UP to eKeyUp r=smaug
2015-08-29 08:58:27 +09:00
Tim Chien
653afd145a
Bug 1137557 - Part 1: Allow callee of TIP.keydown() to figure out preventDefault() of keydown and keypress event. r=masayuki, r+sr=smaug
...
--HG--
extra : source : e48ed45d1c801dc8d41b6f731b532c29794223d2
2015-08-05 01:58:00 -04:00
Masayuki Nakano
1f0433ec04
Bug 1137557 - Part 0: TextEventDispatcher shouldn't forward keyboard events coming from TextInputProcessor to the parent process. r=smaug
...
--HG--
extra : source : 81e93b60a622527acc1582ee5ee1e6899ec331ef
2015-08-04 05:52:00 -04:00
Ryan VanderMeulen
aeacc8883e
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
--HG--
extra : rebase_source : 2bf3467951041be553ab34c45d49c445829d21bb
2015-08-24 13:27:01 -04:00
Tim Chien
297346d27f
Bug 1137557 - Part 1: Allow callee of TIP.keydown() to figure out preventDefault() of keydown and keypress event. r=masayuki, r+sr=smaug
2015-08-05 01:58:00 -04:00
Masayuki Nakano
175d3c0ee8
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
66f2c27305
Bug 895274 part.1 Rename WidgetEvent::message to WidgetEvent::mMessage r=smaug
2015-08-22 10:34:51 +09:00
Masayuki Nakano
87e3205abe
Bug 1119133 Implement TextEventDispatcher::EndInputTransaction() for ensuring TextEventDispatcher forgets the link with TextInputProcessor r=smaug
2015-06-11 12:53:42 +09:00
Andrew McCreight
9e8f4b219e
Bug 1152551, part 2 - Fix mode lines in dom/. r=jst
2015-05-03 15:32:37 -04:00
Ehsan Akhgari
883849ee32
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
ca9bed9a3f
Bug 1119609 part.18 Add nsITextInputProcessor.commitCompositionWith() and drop aCommitString from nsITextInputProcessor.commitComposition() r=smaug, sr=smaug
2015-02-19 15:50:21 +09:00
Masayuki Nakano
c66d4bddc5
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
e0f19b8f22
Bug 1119609 part.12 nsITextInputProcessor should take KeyboardEvent as an argument of composition releated methods for dispatching key events around composition events r=smaug, sr=smaug
2015-02-19 15:50:20 +09:00
Masayuki Nakano
f706eb2f63
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
992c26882e
Bug 1119609 part.8 nsITextInputProcessor.keydown() and nsITextInputProcessor.keyup() should be able to only modify its modifier state without dispatching key events r=smaug, sr=smaug
2015-02-19 15:50:19 +09:00
Masayuki Nakano
d8566e1894
Bug 1119609 part.7 Make TextInputProcerros possible to share modifier state r=smaug, sr=smaug
2015-02-19 15:50:19 +09:00
Masayuki Nakano
6de68f8acc
Bug 1119609 part.6 TextInputProcessor should manage modifier key state and set it to dispatching key events automatically r=smaug, sr=smaug
2015-02-19 15:50:19 +09:00
Masayuki Nakano
bf466fe03e
Bug 1119609 part.5 Compute KeyboardEvent.location and .keyCode if they are 0 r=smaug, sr=smaug
2015-02-19 15:50:19 +09:00
Masayuki Nakano
5ef7ce5e6c
Bug 1119609 part.4 Add keydown() and keyup() to nsITextInputProcessor r=smaug, sr=smaug
2015-02-19 15:50:19 +09:00
Masayuki Nakano
cebca7ab8a
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
9775eaeefc
Bug 917322 part.21 Ensure to cancel composition when TextInputProcessor is released r=smaug
2015-01-28 15:27:33 +09:00
Masayuki Nakano
23bb94d093
Bug 917322 part.19 Add nsITextInputProcessorCallback r=smaug+xyuan, sr=smaug
2015-01-28 15:27:33 +09:00
Masayuki Nakano
66d42c3189
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
c4758f2301
Bug 917322 part.11 Create nsITextInputProcessor and implement it as mozilla::TextInputProcessor r=smaug, sr=smaug
...
--HG--
rename : dom/base/CompositionStringSynthesizer.cpp => dom/base/TextInputProcessor.cpp
rename : dom/base/CompositionStringSynthesizer.h => dom/base/TextInputProcessor.h
2015-01-28 15:27:32 +09:00