Masayuki Nakano
da7a2f4f8d
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
Mark Capella
e7b070ed41
Bug 1215959
- (GeckoCaret2) Upgrade Core and AccessibleCaret, r=smaug
2015-12-01 15:25:06 -05:00
Chris Peterson
44d581458a
Bug 1223258 - Fix -Wunreachable-code warnings in widget. r=masayuki
...
widget/tests/TestAppShellSteadyState.cpp:397:5: warning: code will never be executed [-Wunreachable-code]
widget\widgetutils.cpp(95) : warning C4702: unreachable code
widget\mouseevents.h(97) : warning C4702: unreachable code
widget\textevents.h(492) : warning C4702: unreachable code
2015-11-08 22:46:00 -08:00
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
f961371a5e
Bug 1109410 Resolve CSS transform in ContentEventHandler::ConvertToRootViewRelativeOffset() r=roc
2015-10-05 14:46:39 +09:00
Masayuki Nakano
888b2103ea
Bug 895274 part.194 Rename NS_COMPOSITION_COMMIT to eCompositionCommit r=smaug
2015-09-11 21:21:27 +09:00
Masayuki Nakano
ed4dac1ca6
Bug 895274 part.193 Rename NS_COMPOSITION_CHANGE to eCompositionChange r=smaug
2015-09-11 21:21:27 +09:00
Masayuki Nakano
ebdc7bd69b
Bug 895274 part.191 Rename NS_COMPOSITION_END to eCompositionEnd r=smaug
2015-09-11 21:21:27 +09:00
Masayuki Nakano
966f685af3
Bug 895274 part.188 Rename NS_COMPOSITION_COMMIT_AS_IS to eCompositionCommitAsIs r=smaug
2015-09-11 21:21:26 +09:00
Masayuki Nakano
1d6a202900
Bug 895274 part.187 Rename NS_QUERY_TEXT_RECT to eQueryTextRect r=smaug
2015-09-11 21:21:26 +09:00
Masayuki Nakano
09e1247ff7
Bug 895274 part.158 Rename NS_QUERY_DOM_WIDGET_HITTEST to eQueryDOMWidgetHittest r=smaug
2015-09-10 10:40:06 +09:00
Masayuki Nakano
26489b9f11
Bug 895274 part.157 Rename NS_QUERY_CHARACTER_AT_POINT to eQueryCharacterAtPoint r=smaug
2015-09-10 10:40:06 +09:00
Masayuki Nakano
4a34ce078a
Bug 895274 part.154 Rename NS_QUERY_CARET_RECT to eQueryCaretRect r=smaug
2015-09-10 10:40:06 +09:00
Masayuki Nakano
e463292274
Bug 895274 part.153 Rename NS_QUERY_TEXT_CONTENT to eQueryTextContent r=smaug
2015-09-10 10:40:05 +09:00
Masayuki Nakano
a8fd5ffc76
Bug 895274 part.152 Rename NS_QUERY_SELECTED_TEXT to eQuerySelectedText r=smaug
2015-09-10 10:40:05 +09:00
Masayuki Nakano
07dbf0fd06
Bug 895274 part.151 Rename NS_QUERY_SELECTION_AS_TRANSFERABLE to eQuerySelectionAsTransferable r=smaug
2015-09-10 10:40:05 +09:00
Masayuki Nakano
94b05ec84b
Bug 1200980 part.4 nsPlaintextEditor should notify editor observers of the end of edit action when NS_COMPOSITION_CHANGE isn't followed by NS_COMPOSITION_END r=smaug
2015-09-08 12:54:14 +09:00
Masayuki Nakano
b686bf9204
Bug 895274 part.15 Rename NS_KEY_AFTER_UP to eAfterKeyUp r=smaug
2015-08-29 08:58:28 +09:00
Masayuki Nakano
e7cc73d938
Bug 895274 part.14 Rename NS_KEY_BEFORE_UP to eBeforeKeyUp r=smaug
2015-08-29 08:58:28 +09:00
Masayuki Nakano
9e009e82ee
Bug 895274 part.13 Rename NS_KEY_AFTERE_DOWN to eAfterKeyDown r=smaug
2015-08-29 08:58:28 +09:00
Masayuki Nakano
5e85af9f61
Bug 895274 part.12 Rename NS_KEY_BEFORE_DOWN to eBeforeKeyDown r=smaug
2015-08-29 08:58:27 +09:00
Masayuki Nakano
0d22745cda
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
66f2c27305
Bug 895274 part.1 Rename WidgetEvent::message to WidgetEvent::mMessage r=smaug
2015-08-22 10:34:51 +09:00
Makoto Kato
e7d7a10538
Bug 1179695 - Remove mWasAsync from WidgetQueryContentEvent. r=masayuki,nchen
2015-07-09 15:09:56 +09:00
Masayuki Nakano
f2a58d2261
Bug 1130937 part.2 nsGtkIMModule should set candidiate window position to bottom left of the target clause in vertical writing mode r=m_kato
2015-06-11 19:50:15 +09:00
Masayuki Nakano
e91d94ba0d
Bug 1166436 part.19 ContentCache::mSelection should have invalid state and it should be checked r=m_kato
2015-06-05 18:28:21 +09:00
Masayuki Nakano
f9c84bfa0a
Bug 1166436 part.7 mozilla::ContentCache should handle WidgetQueryContentEvent r=m_kato
2015-06-05 18:28:19 +09:00
Makoto Kato
6ddb65f184
Bug 1166323 - Remove IME sequence number. r=masayuki,nchen
2015-05-28 13:51:40 +09:00
Makoto Kato
03e692bde3
Bug 1168005 - NS_QUERY_TEXT_RECT on e10s should set mString. r=masayuki
2015-05-26 17:14:35 +09:00
Masayuki Nakano
967765f1ff
Bug 1130935 part.4 nsIMM32Handler::GetCharacterRectOfSelectedTextAt() should return wrting mode if it's necessary r=emk+smaug
2015-05-15 10:18:07 +09:00
Masayuki Nakano
0455f5bbb5
Bug 1154161 Initialize WidgetQueryContentEvent::mReply r=smaug
2015-04-14 19:46:51 +09:00
Masayuki Nakano
8c1890067d
Bug 492394 part.1 NS_QUERY_CHARACTER_AT_POINT should also return tentative caret offset for the point r=smaug, sr=smaug
2015-04-14 14:27:37 +09: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
Steven Michaud
68e8327d5b
Bug 1110888
- Always do plugin IME in main process, even with e10s. r=masayuki,smaug
2015-02-20 10:37:02 -06: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
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
27d34fdbd2
Bug 1119609 part.3 Implement converting methods from key/code value to key/code name index r=smaug
2015-02-19 15:50:19 +09:00
Masayuki Nakano
4015c70a27
Bug 1119609 part.1 Implement key event dispatcher in TextEventDispatcher r=smaug
2015-02-19 15:50:18 +09:00
Jonathan Kew
5fed88b87a
Bug 1076657 pt 2 - Add writing-mode to the reply to NS_QUERY_TEXT_RECT event. r=masayuki
2015-02-10 15:28:05 +00:00
David Zbarsky
77ae10e9d5
Bug 1125040 - Use LayoutDeviceIntPoint in IME code r=botond
2015-02-04 15:21:03 -05:00
Xidorn Quan
6a7ee49055
Bug 569334 part 1 - Support getting font info in content query. r=masayuki,jfkthame,smaug
2015-01-31 18:17:12 +11:00
Masayuki Nakano
39018f5127
Bug 936313 part.2 Compute DOM key location from code value on Android and Gonk r=smaug+mwu+cpeterson
2015-01-28 22:36:53 +09:00
Josh Aas
f9e3926e19
Bug 1092630: Get rid of native widgets for OS X NPAPI plugins, make things work much better under e10s. Patch by Josh Aas, Markus Stange, Steven Michaud, David Parks. r=smichaud/jst/josh (more reviews pending)
2014-12-11 08:44:07 -06:00
Jonathan Kew
491103743a
Bug 1107617 - Add support for writing-mode to the NotifyIMESelection message. r=smaug
2014-12-04 18:15:43 -08:00
Masayuki Nakano
c207c66fed
Bug 1077345 part.6 Add NS_COMPOSITION event which automatically commits composition with its mData r=smaug
2014-11-25 14:02:32 +09:00
Masayuki Nakano
7c2cde510e
Bug 1077345 part.4 Add NS_COMPOSITION_COMMIT_AS_IS event which automatically commits composition with the last data r=smaug
2014-11-25 14:02:31 +09:00
Masayuki Nakano
9a6c0e03b6
Bug 1077345 part.3 Add WidgetCompositionEvent::CausesDOMTextEvent() and WidgetCompositionEvent::CausesDOMCompositionEndEvent() r=smaug
2014-11-25 14:02:30 +09:00
Jonathan Kew
b211ed7ac5
Bug 1077515 - part 4 - Add writing-mode to the reply to the NS_QUERY_SELECTED_TEXT event. r=roc
2014-11-22 14:39:03 +00:00
Gina Yeh
f4ea14c0b9
Bug 989198, Patch 1: Implementation of InternalBeforeAfterKeyboardEvent, r=smaug,masayuki.
2014-11-03 15:05:12 +08:00