Masayuki Nakano
d513bc5da0
Bug 1213589 part.6 ContentEventHandler should insert line breaks at open tag of elements except non-replaced inline elements r=smaug
2015-12-02 13:20:00 +09:00
Masayuki Nakano
a5f39ada3e
Bug 1213589 part.3 ContentEventHandler::GetFlatTextLengthInRange() should handle specially when it's called by nsIMutationObserver::ContentRemoved() r=smaug
2015-12-02 13:20:00 +09:00
Masayuki Nakano
ae7ed97bfe
Bug 1213589 part.2 Clean up GenerateFlatTextContent(), GelerateFlatFontRanges() and GetFlatTextOffsetOfRange() of ContentEventHandler r=smaug
2015-12-02 13:20:00 +09:00
Masayuki Nakano
4443cfc574
Bug 1213589 part.1 Make ContentEventHandler::GetTextLength() and GetNativeTextLength() called only with a text node r=smaug
2015-12-02 13:20:00 +09:00
sajitk
e7c3cfa4d5
Bug 1219478: Replace PRLogModuleInfo usage with LazyLogModule in dom folders except media.r=amerchesini
2015-11-23 11:09:25 -08:00
Gijs Kruitbosch
cdbb9771e8
Bug 1224233 - fix crashy usage of IMENotificationSender::Run using on-screen keyboard on Windows, r=smaug
2015-11-12 15:56:01 +00:00
Botond Ballo
db5d15db66
Bug 1222661 - Replace ToUntyped(obj) calls with obj.ToUnknown*(). r=nical
2015-11-06 22:13:40 -05:00
Masayuki Nakano
0d951d5d4d
Bug 1218032 part.4 Notify IMEContentObserver of enough safe timing to notify IME of something r=smaug
2015-11-10 11:49:05 +09:00
Masayuki Nakano
f36080c521
Bug 1218032 part.3 IMEContentObserver should notify IME of anything without script runner r=smaug
2015-11-10 11:49:05 +09:00
Masayuki Nakano
ca789f5ebb
Bug 1218032 part.2 Make sending focus notification to IME async-aware r=smaug
2015-11-10 11:49:04 +09:00
Masayuki Nakano
573b64b3ee
Bug 1184890 part.1 SelectionChangeDataBase and TextChangeDataBase should have a flag which indicates whether the change occurred during composition or not r=smaug
2015-10-27 07:21:37 +09:00
Nathan Froyd
4e6d8f6705
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
54569f82d2
Bug 1211352 part.1 IMEContentObserver should be created when a plugin has focus r=smaug
2015-10-10 10:21:01 +09:00
Masayuki Nakano
ec56211348
Bug 1204439 part.3 Create methods to get enum item name r=smaug
2015-09-17 12:05:44 +09:00
Masayuki Nakano
601f11c4b8
Bug 1203381 part.7 Rename IMEContentObserver::mIs*ChangeEventPending to IMEContentObserver::mNeedsToNotifyIMEOf*Change r=smaug
2015-09-16 17:48:24 +09:00
Masayuki Nakano
1d8f8c6410
Bug 1203381 part.6 IMEContentObserver shouldn't post position change event if Reflow() is called during handling a query content event and sending NOTIFY_IME_OF_POSITION_CHANGE since the result of query content event includes the latest layout information r=smaug
2015-09-16 17:48:24 +09:00
Masayuki Nakano
4a00932094
Bug 1203381 part.5 IMENotificationSender shouldn't send notification recursively r=smaug
2015-09-16 17:48:24 +09:00
Masayuki Nakano
abd6e3cc06
Bug 1203381 part.4 IMENotificationSender should keep the order of notifications even when a notification causes another change r=smaug
2015-09-16 17:48:24 +09:00
Masayuki Nakano
55bcdbaaf1
Bug 1203381 part.3 IMEContentObserver::mIsFlushingPendingNotifications should be cleared when all pending notifications are sent to IME r=smaug
2015-09-16 17:48:24 +09:00
Masayuki Nakano
f790f6383a
Bug 1203381 part.2 Merge all IME notification sending events of IMEContentObserver to a runnable class r=smaug
2015-09-16 17:48:24 +09:00
Masayuki Nakano
08bef162be
Bug 1203381 part.1 IMEContentObserver shouldn't clear mTextChangeData until immediately before sending a text change notification r=smaug
2015-09-16 17:48:23 +09:00
Masayuki Nakano
7c1b1e322b
Bug 1203364 IMEContentObserver should notify IME of selection change with the latest change reason r=smaug
2015-09-14 23:28:43 +09:00
Masayuki Nakano
140ee81e3d
Bug 895274 part.187 Rename NS_QUERY_TEXT_RECT to eQueryTextRect r=smaug
2015-09-11 21:21:26 +09:00
Masayuki Nakano
9dd899a5d5
Bug 895274 part.158 Rename NS_QUERY_DOM_WIDGET_HITTEST to eQueryDOMWidgetHittest r=smaug
2015-09-10 10:40:06 +09:00
Masayuki Nakano
9facc49d08
Bug 895274 part.157 Rename NS_QUERY_CHARACTER_AT_POINT to eQueryCharacterAtPoint r=smaug
2015-09-10 10:40:06 +09:00
Masayuki Nakano
13010a25b1
Bug 895274 part.156 Rename NS_QUERY_CONTENT_STATE to eQueryContentState r=smaug
2015-09-10 10:40:06 +09:00
Masayuki Nakano
15f8cfb6ff
Bug 895274 part.155 Rename NS_QUERY_EDITOR_RECT to eQueryEditorRect r=smaug
2015-09-10 10:40:06 +09:00
Masayuki Nakano
4da85524cd
Bug 895274 part.154 Rename NS_QUERY_CARET_RECT to eQueryCaretRect r=smaug
2015-09-10 10:40:06 +09:00
Masayuki Nakano
921b5a25be
Bug 895274 part.153 Rename NS_QUERY_TEXT_CONTENT to eQueryTextContent r=smaug
2015-09-10 10:40:05 +09:00
Masayuki Nakano
e934ee7f55
Bug 895274 part.152 Rename NS_QUERY_SELECTED_TEXT to eQuerySelectedText r=smaug
2015-09-10 10:40:05 +09:00
Masayuki Nakano
d7af21a632
Bug 895274 part.151 Rename NS_QUERY_SELECTION_AS_TRANSFERABLE to eQuerySelectionAsTransferable r=smaug
2015-09-10 10:40:05 +09:00
Masayuki Nakano
0deca663cf
Bug 1200980 part.3 IMEContentObserver should use its selection cache at handling NS_QUERY_SELECTED_TEXT r=smaug
2015-09-08 12:54:14 +09:00
Masayuki Nakano
3a00e8a3bf
Bug 1200980 part.2 QueryContentEvent should be handled via IMEContentObserver if there is an instance of it r=smaug
2015-09-08 12:54:14 +09:00
Masayuki Nakano
0317a170d6
Bug 1200980 part.1 Log the behavior of IMEContentObserver for debugging r=smaug
2015-09-08 12:54:14 +09:00
Masayuki Nakano
5efe61139d
Bug 895274 part.27 Rename NS_MOUSE_BUTTON_DOWN to eMouseDown r=smaug
2015-08-29 08:58:30 +09:00
Masayuki Nakano
00ded62efd
Bug 895274 part.26 Rename NS_MOUSE_BUTTON_UP to eMouseUp r=smaug
2015-08-29 08:58:30 +09:00
Masayuki Nakano
5473d2dcb9
Bug 895274 part.1 Rename WidgetEvent::message to WidgetEvent::mMessage r=smaug
2015-08-22 10:34:51 +09:00
Masayuki Nakano
cf4356714e
Bug 1189396 part.6 IMEContentObserver shouldn't notify IME of selection change when the range isn't actually changed r=smaug
2015-08-22 01:43:42 +09:00
Masayuki Nakano
b6f3899161
Bug 1189396 part.5 IMEContentObserver should cache selection at gets focus and every selection change r=smaug
2015-08-22 01:43:42 +09:00
Masayuki Nakano
9835464174
Bug 1189396 part.4 IMEContentObserver should cache the selection data at notifying IME of selection change r=smaug
2015-08-22 01:43:41 +09:00
Robert O'Callahan
7d17ed419a
Bug 1184842. Add aNewValue to nsIMutationObserver::AttributeWillChange. r=peterv
2015-07-25 18:05:19 +12:00
Robert O'Callahan
5bde6d4aaa
Bug 1184842. Pass aOldValue to all mutation observers. r=peterv
2015-07-25 18:01:19 +12:00
Masayuki Nakano
825edcb01b
Bug 1184449 part.1 IMENotifiation::SelectionChangeData should store selected string r=smaug
2015-07-22 12:40:32 +09:00
Masayuki Nakano
d9a2cf1a83
Bug 1176955 part.2 NOTIFY_IME_OF_SELECTION should have a flag which indicates if it's caused by a selection event r=smaug
2015-07-17 11:25:00 +09:00
Masayuki Nakano
851068ec93
Bug 1176954 part.7 IMENotification::TextChangeData should have a method to merge with another instance and IMENotification::MergeWith() should use it r=smaug
2015-07-11 10:53:56 +09:00
Masayuki Nakano
9f2c45ce07
Bug 1176954 part.6 IMEContentObserver should use IMENotification::TextChangeData r=smaug
2015-07-11 10:53:56 +09:00
Masayuki Nakano
e23b883be4
Bug 1176954 part.4 Define IMENotification::TextChangeDataBase and whose member names should be same as IMEContentObserver::TextChangeData's r=smaug
2015-07-11 10:53:55 +09:00
Masayuki Nakano
def3708fb9
Bug 1175392 part.1 IMEContentObserver and TabParent should use IMEStateManager::NotifyIME() r=smaug
2015-06-27 09:23:31 +09:00
Masayuki Nakano
f03df3ccb9
Bug 1172466 part.4 Don't notify IME during reflow r=smaug
2015-06-17 10:03:57 +09:00
Masayuki Nakano
80e32e3f5f
Bug 1172466 part.3 Create an abstruct class which is a base class of classes notifying IME r=smaug
2015-06-17 10:03:57 +09:00