Makoto Kato
f506ded619
Bug 1243268 - Adjust ATOK workaround. r=masayuki
2016-02-02 17:06:14 +09:00
Masayuki Nakano
a8ff928f0d
Bug 1238899 Create hidden native caret for ATOK at composing in windowless plugin r=m_kato
2016-01-13 12:44:39 +09:00
Makoto Kato
d2c2d37a8b
Bug 1208944 - Part 10-b. Call DefaultProc When CompositionEvent isn't handled correctly by plugin. r=masayuki
2015-12-29 22:57:38 +09:00
Makoto Kato
000416b7b5
Bug 1208944 - Part 9. Hook IMM32 APIs on plugin process. r=masayuki
2015-12-29 22:57:38 +09:00
Makoto Kato
0ceadd73a8
Bug 1208944 - Part 7. Don't post WM_IME_REQUEST on windowless plugin since we don't convert pointer over process. r=masayuki
2015-12-29 22:57:38 +09:00
Makoto Kato
2c9e1b8011
Bug 1208944 - Part 1. Dispatch CompositionEvent to Plugin. r=masayuki
2015-12-29 22:57:37 +09:00
Sebastian Hengst
e082884d78
Backed out 15 changesets (bug 1208944) for failing tests M(2,5) on OSX. r=backout
...
Backed out changeset c29de223de2f (bug 1208944)
Backed out changeset 3d99da255be1 (bug 1209844)
Backed out changeset 3c915942af38 (bug 1209844)
Backed out changeset 759b425b5503 (bug 1208944)
Backed out changeset bf73cf8f0fda (bug 1208944)
Backed out changeset 0e337d912b7d (bug 1208944)
Backed out changeset 31c47f2980b5 (bug 1208944)
Backed out changeset 3e0d70a6e809 (bug 1208944)
Backed out changeset 7685dcb63e5f (bug 1208944)
Backed out changeset 3c2b9372dd36 (bug 1208944)
Backed out changeset 18160d306493 (bug 1208944)
Backed out changeset 4974e397b655 (bug 1208944)
Backed out changeset fde7e439844d (bug 1208944)
Backed out changeset 4213a355fbdc (bug 1208944)
Backed out changeset 33cfddbbf5f2 (bug 1208944)
2015-12-29 17:42:02 +01:00
Makoto Kato
da206c5192
Bug 1208944 - Part 10-b. Call DefaultProc When CompositionEvent isn't handled correctly by plugin. r=masayuki
2015-12-29 22:57:38 +09:00
Makoto Kato
836a9aee5c
Bug 1208944 - Part 9. Hook IMM32 APIs on plugin process. r=masayuki
2015-12-29 22:57:38 +09:00
Makoto Kato
288292e066
Bug 1208944 - Part 7. Don't post WM_IME_REQUEST on windowless plugin since we don't convert pointer over process. r=masayuki
2015-12-29 22:57:38 +09:00
Makoto Kato
5242cc42e7
Bug 1208944 - Part 1. Dispatch CompositionEvent to Plugin. r=masayuki
2015-12-29 22:57:37 +09:00
Masayuki Nakano
9bc88b0acb
Bug 1234120 part.3 IMMHandler should forget caret position specified by IME when IMMHandler doesn't set caret range to eCompositionChange event r=m_kato
2015-12-22 14:58:48 +09:00
Masayuki Nakano
6cad726628
Bug 1179632 part.1 native IME context should not be stored in InputContext but should be able to retrieve with nsIWidget::GetNativeData() r=smaug
2015-12-11 15:15:57 +09:00
Masayuki Nakano
17e8d0a0e1
Bug 1224454 part.2 IMMHandler::OnFocusChange() should cancel remaining composition when given nsWindow is being destroyed r=m_kato
2015-11-17 16:47:06 +09:00
Nicholas Nethercote
a63371ae36
Bug 1224403 (part 7) - Use LayoutDeviceIntMargin more in IMMHandler. r=kats.
...
--HG--
extra : rebase_source : bd16246a0f6d79f9a5c40813dd5d9a1085b06c6a
2015-11-12 05:22:44 -08:00
Nicholas Nethercote
3ce44673ed
Bug 1224403 (part 6) - Remove one WidgetToScreenOffsetUntyped() call. r=kats.
...
--HG--
extra : rebase_source : fe8441c71cf642684c5b2edee1e7175630917760
2015-11-12 05:08:31 -08:00
Botond Ballo
a592a77364
Bug 1222661 - Replace ToUntyped(obj) calls with obj.ToUnknown*(). r=nical
...
--HG--
extra : rebase_source : 1cab46638599d8c4e6183c42a6fa9d41702392cb
extra : source : cabc28a2200b9b4e5e137d331ee5b86b3c09f065
2015-11-06 22:13:40 -05:00
Nicholas Nethercote
ad0dd8414a
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.
--HG--
extra : rebase_source : 6bfb15bfc4698e2eba7d4db55497299d3dffcd51
2015-11-09 21:37:32 -08:00
Nicholas Nethercote
9895f2b525
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.
--HG--
extra : rebase_source : cff1ec8f1ed3ab1924a07d2227044f646019f0cf
2015-11-09 21:37:32 -08:00
Masayuki Nakano
4adbaf87c5
Bug 1217275 Fix missing \n in IMMHandler::HandleDocumentFeed(), it was replaced to empty string accidentally r=m_kato
2015-10-23 10:12:15 +09: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
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
0f2bfad9b1
Bug 895274 part.190 Rename NS_COMPOSITION_START to eCompositionStart 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
bb413ca230
Bug 895274 part.155 Rename NS_QUERY_EDITOR_RECT to eQueryEditorRect 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
db00b74a82
Bug 895274 part.27 Rename NS_MOUSE_BUTTON_DOWN to eMouseDown r=smaug
2015-08-29 08:58:30 +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
d45c99e77c
Bug 90712 Cancel composition when Enter key message isn't consumed by IME r=m_kato
2015-08-20 17:31:10 +09:00
Masayuki Nakano
1f527f3de1
Bug 1196124 Fix mismatch of printf style string and following arguments of MOZ_LOG() in IMMHandler::GetCharacterRectOfSelectedTextAt() r=m_kato
2015-08-20 11:40:14 +09:00
Masayuki Nakano
4047998c2a
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
0e667e1911
Bug 1184533 Rewrite range check in aOffset of nsIMM32Handler::GetCharacterRectOfSelectedTextAt() r=emk
2015-07-26 12:29:47 +09:00
Masayuki Nakano
e8f514329a
Bug 1186015 part.2 Rename nsIMM32Handler to mozilla::widget::IMMHandler r=jimm+m_kato
...
--HG--
rename : widget/windows/nsIMM32Handler.cpp => widget/windows/IMMHandler.cpp
rename : widget/windows/nsIMM32Handler.h => widget/windows/IMMHandler.h
2015-07-23 12:31:28 +09:00