Aidin Gharibnavaz
d457460d0c
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.
2016-01-12 07:49:08 +03:30
Masayuki Nakano
454c3e7fe9
Bug 1179632 part.5 WidgetCompositionEvent::mNativeIMEContext should be used at looking for a TextComposition instance for a WidgetCompositionEvent r=smaug
2015-12-04 18:50:34 +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
Aryeh Gregor
61a11046e5
Bug 1156062 part 1d - Clean up nsEditor::SplitNodeDeep; r=ehsan
2015-10-11 18:57:48 +03:00
Jorg K
2af3e41f39
Bug 1205983 - Remove all observer code from nsEditor. r=ehsan
2015-09-28 23:53:00 +02:00
Carsten "Tomcat" Book
9bad0e6ba5
Backed out 2 changesets (bug 1205983) for memory leaks on a CLOSED TREE
...
Backed out changeset f2c49c0ab84f (bug 1205983)
Backed out changeset a81630dba992 (bug 1205983)
2015-09-29 13:58:35 +02:00
Jorg K
2b33ed430e
Bug 1205983 - Remove all observer code from nsEditor. r=ehsan
2015-09-28 23:53:00 +02:00
Jorg K
08a65982f4
Bug 1193293 - Don't pick a new dictionary which checking. r=roc
2015-09-21 21:51:00 +02:00
Carsten "Tomcat" Book
c3230803d3
Backed out 1 changesets (bug 1193293) on developers requests
...
Backed out changeset c79d3947c307 (bug 1193293)
2015-09-21 14:00:43 +02:00
Jorg K
fbaa6a5047
Bug 1193293 - Remove checking dictionary from editor. r=roc
2015-09-18 00:52:00 +02:00
Jorg K
3b98305081
Bug 697981 - Prevent reloading of spelling dictionary on unfocused editors; r=roc
2015-09-15 11:35:10 +05:30
Masayuki Nakano
09b663fe71
Bug 895274 part.232 Rename NS_EDITOR_INPUT to eEditorInput r=smaug
2015-09-15 00:14:33 +09:00
Masayuki Nakano
799e278160
Bug 895274 part.193 Rename NS_COMPOSITION_CHANGE to eCompositionChange r=smaug
2015-09-11 21:21:27 +09:00
Masayuki Nakano
b87dc53d61
Bug 895274 part.192 Rename NS_COMPOSITION_UPDATE to eCompositionUpdate r=smaug
2015-09-11 21:21:27 +09:00
Masayuki Nakano
62528b4168
Bug 895274 part.191 Rename NS_COMPOSITION_END to eCompositionEnd r=smaug
2015-09-11 21:21:27 +09:00
Masayuki Nakano
d23dd68a10
Bug 895274 part.190 Rename NS_COMPOSITION_START to eCompositionStart r=smaug
2015-09-11 21:21:27 +09:00
Masayuki Nakano
c9fae4597f
Bug 895274 part.188 Rename NS_COMPOSITION_COMMIT_AS_IS to eCompositionCommitAsIs r=smaug
2015-09-11 21:21:26 +09:00
Masayuki Nakano
d8167d0a2b
Bug 895274 part.149 Rename NS_USER_DEFINED_EVENT to eUnidentifiedEvent r=smaug
2015-09-10 10:40:04 +09:00
Masayuki Nakano
781907e093
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
fc091c723d
Bug 895274 part.9 Rename NS_KEY_PRESS to eKeyPress r=smaug
2015-08-29 08:58:27 +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
f59053cabd
Bug 555642 part.1 nsCaret should have a way to override the caret visible state for hiding caret temporarily and nsEditor should hide caret if composition string doesn't have caret information r=roc
2015-08-17 20:58:38 +09:00
Aryeh Gregor
666c1973e1
Bug 874838 - Make CreateElem return Element. r=khuey
2015-08-13 07:50:00 -04:00
Ehsan Akhgari
63985b7636
Bug 1184689 - Remove two spammy editor warnings
2015-08-10 23:50:41 -04:00
Ehsan Akhgari
9ec8b036d9
Bug 1184289 - Remove a spammy editor warning
2015-08-08 18:25:55 -04:00
Aryeh Gregor
07e2b26a1a
Bug 1156062 part 1a - New nsEditor::SplitNodeDeep variant; r=ehsan
2015-08-05 17:54:36 +03:00
Aryeh Gregor
6dc0679b1b
Bug 1190823 - Move OwningNonNull.h to xpcom/base/; r=froydnj
2015-08-05 15:28:27 +03:00
Birunthan Mohanathas
a0f7c73250
Bug 1191100 - Remove XPIDL signature comments in .cpp files. r=ehsan
...
Comment-only so DONTBUILD.
2015-08-04 16:17:36 -07:00
Masayuki Nakano
e4537099a3
Bug 1162818 part.6 Don't notify IME of anything during reframing the editor r=smaug
2015-06-05 02:06:10 +09:00
Masayuki Nakano
d96f5d4f19
Bug 1162818 part.5 The offset of nsEditor::InsertTextImpl() should be minimum offset of IME selections if there is r=ehsan
2015-06-05 02:06:09 +09:00
Masayuki Nakano
d90bb08c7c
Bug 1162818 part.4 Restore IME selection at initializing selection of the editor r=ehsan
2015-06-05 02:06:09 +09:00
Masayuki Nakano
0c3355d161
Bug 1162818 part.3 nsEditor should store actual composition string length in it r=ehsan
2015-06-05 02:06:09 +09:00
Masayuki Nakano
ecb8df4fca
Bug 1162818 part.1 nsEditor shouldn't release/forget mComposition becuase it should be handled by it after reframing r=ehsan
2015-06-05 02:06:09 +09:00
Masayuki Nakano
2f88097a14
Bug 1169139 Remove all trailing whitespaces in editor (IGNORE IDL) r=ehsan
2015-05-29 00:58:42 +09:00
Ehsan Akhgari
4bf7904fd7
Bug 1166932 - Part 1: Copy the editor observers array before iterating over it; r=roc
2015-05-23 09:59:45 -04:00
Boris Zbarsky
311cd550e2
Bug 1157898 part 5. Eliminate the remaining non-ErrorResult consumers of ErrorResult::ErrorCode and make it protected. r=peterv
2015-04-27 09:18:52 -04:00
Boris Zbarsky
67ad37a65f
Bug 1157898 part 2. Make code of the form "NS_ENSURE_SUCCESS(rv.ErrorCode(), rv.ErrorCode());" use Failed and StealNSResult instead. r=peterv
...
This patch was generated with the following command:
find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 's/NS_ENSURE_SUCCESS\(([a-zA-Z0-9]+)\.ErrorCode\(\), \1.ErrorCode\(\)\);/NS_ENSURE_TRUE(!\1.Failed(), \1.StealNSResult());/'
2015-04-27 09:18:52 -04:00
Boris Zbarsky
789a3bf96e
Bug 1157898 part 1. Make code of the form "return rv.ErrorCode();" where rv is an ErrorResult use StealNSResult instead. r=peterv
...
This patch was generated with the following command:
find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 's/return ([a-zA-Z0-9]+)\.ErrorCode\(\);/return \1.StealNSResult();/'
2015-04-27 09:18:51 -04:00
Aryeh Gregor
dcb58e3c7d
Bug 1154701 part 12 - Switch nsEditor::mDocStateListeners to nsTArray; r=ehsan
2015-04-24 14:27:36 +03:00
Aryeh Gregor
3daa6253a5
Bug 1154701 part 11 - Switch nsEditor::mEditorObservers to nsTArray; r=ehsan
2015-04-24 14:27:36 +03:00
Aryeh Gregor
0f214126ca
Bug 1154701 part 10 - Switch nsEditor::mActionListeners to nsTArray; r=ehsan
2015-04-24 14:27:36 +03:00
Jorg K
5b286f319a
Bug 1154791 - Remember all ranges for all selections when splitting nodes in the editor transactions; r=ehsan
2015-04-22 10:50:00 +02:00
Ehsan Akhgari
8b70165244
Bug 1100966 - Remember all ranges for all selections when joining nodes in the editor transactions; r=roc
...
This patch fixes some symptoms, the most common of which misspelling
ranges disappearing when performing some editor operations.
2015-03-12 19:42:26 -04:00
Andrea Marchesini
5ef204a98a
Bug 1134280 - Get rid of Tag() - patch 2.2 - /editor - Fix all the occurrences, m=smaug, r=surkov
2015-03-03 11:08:59 +00:00
Ting-Yu Lin
0150330dad
Bug 1136065 - Remove GetRangeCount() in Selection.h. r=ehsan
...
We replace GetRangeCount() with the identical function RangeCount() to
avoid any confusion.
2015-02-25 17:08:00 +01:00
Ehsan Akhgari
d323799fa2
Bug 1120233 - Ensure that the delete command will stay enabled for password fields; r=roc
2015-01-22 23:26:59 -05:00
Daniel Holbert
d259380330
Bug 1093191 part 3: Make .cpp files in libeditor #include their own .h file first. r=ehsan
2014-12-01 21:07:42 -08:00
Masayuki Nakano
3d40a3e9b9
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
Olli Pettay
d2bcc72157
Bug 1101595 - [shadow-dom] <input> doesn't emit 'input' event when inside shadow-root, r=wchen
2014-11-20 02:23:50 +02:00
Masayuki Nakano
54efaad58f
Bug 1047588 - IMEContentObserver::Init() should take nsIEditor because nsDocShell sometimes hasn't been initialized and nsContentEditor::GetHTMLEditor() fails. r=smaug
2014-11-05 08:12:44 -05:00