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
3b98305081
Bug 697981 - Prevent reloading of spelling dictionary on unfocused editors; r=roc
2015-09-15 11:35:10 +05:30
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
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
a29151dc87
Bug 1182996 - Fix and add missing namespace comments. rs=ehsan
...
The bulk of this commit was generated by running:
run-clang-tidy.py \
-checks='-*,llvm-namespace-comment' \
-header-filter=^/.../mozilla-central/.* \
-fix
2015-07-13 08:25:42 -07: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
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
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
Carsten "Tomcat" Book
c40f6efd1e
Backed out 35 changesets (bug 1153629, bug 1149163, bug 1154701) for memory leaks in AsyncLatencyLogger, AsyncStatement etc on a CLOSED TREE
...
Backed out changeset e64fa8717641 (bug 1154701)
Backed out changeset 4fd3566e571c (bug 1154701)
Backed out changeset 9801778d9d5b (bug 1154701)
Backed out changeset a57f36dc00b4 (bug 1154701)
Backed out changeset 9bd74af965fd (bug 1154701)
Backed out changeset 69f9ae64772d (bug 1154701)
Backed out changeset 07620ff1a21a (bug 1154701)
Backed out changeset 8bd58656d297 (bug 1154701)
Backed out changeset a4d41b284d92 (bug 1154701)
Backed out changeset 1ab63df2b8eb (bug 1154701)
Backed out changeset 31281738003d (bug 1154701)
Backed out changeset 5ad34b482c25 (bug 1154701)
Backed out changeset d8a83215797f (bug 1154701)
Backed out changeset 81825eff1936 (bug 1154701)
Backed out changeset 25bc426c8c0e (bug 1153629)
Backed out changeset a9d071f07242 (bug 1153629)
Backed out changeset 1f0fdf67005d (bug 1153629)
Backed out changeset af47b386bea7 (bug 1153629)
Backed out changeset 42f5d3fc71b3 (bug 1153629)
Backed out changeset b0b609c3da83 (bug 1153629)
Backed out changeset 9a62d4ec4542 (bug 1153629)
Backed out changeset 87ff1d4bb056 (bug 1153629)
Backed out changeset cb266456a948 (bug 1153629)
Backed out changeset ee256b6f62ec (bug 1153629)
Backed out changeset ecdfdce695b5 (bug 1153629)
Backed out changeset 394ba1703c08 (bug 1153629)
Backed out changeset 641439af501f (bug 1149163)
Backed out changeset 54a8ecc0301d (bug 1149163)
Backed out changeset a31a87b6dfb7 (bug 1149163)
Backed out changeset e36d2f251276 (bug 1149163)
Backed out changeset 152ee688999b (bug 1149163)
Backed out changeset 7bf082213f82 (bug 1149163)
Backed out changeset 2817e4601371 (bug 1149163)
Backed out changeset bc75a87a2b7d (bug 1149163)
Backed out changeset 4392cf02f1c0 (bug 1149163)
2015-04-22 15:22:40 +02:00
Aryeh Gregor
5d19a49e71
Bug 1154701 part 12 - Switch nsEditor::mDocStateListeners to nsTArray; r=ehsan
2015-04-22 14:27:18 +03:00
Aryeh Gregor
231b2600cd
Bug 1154701 part 11 - Switch nsEditor::mEditorObservers to nsTArray; r=ehsan
2015-04-22 14:27:18 +03:00
Aryeh Gregor
4ccd5146dc
Bug 1154701 part 10 - Switch nsEditor::mActionListeners to nsTArray; r=ehsan
2015-04-22 14:27:18 +03:00
Andrea Marchesini
f0aa02df0b
Bug 1156632 - Remove unused forward class declarations - patch 5 - rdf, parser, layout and something else, r=ehsan
2015-04-22 08:29:22 +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
Masatoshi Kimura
90898b1eb4
Bug 1111290 - Part 3: Remove TypedEnum.h and fold TypedEnumInternal.h into TypedEnumBits.h. r=waldo
2015-01-26 07:22:11 +09:00
Masatoshi Kimura
4eacef39b7
Bug 1111290 - Part 1: Remove MOZ_(BEGIN|END)_ENUM_CLASS. r=waldo
2015-01-26 07:22:07 +09:00
Aryeh Gregor
7ed6dbfa07
Bug 1088054 part 9 - Clean up nsEditor::JoinNodeDeep; r=ehsan
2014-11-02 14:04:13 +02:00
Aryeh Gregor
0d5e152ea9
Bug 1088054 part 2 - Reduce nsIDOMRange use in editor/; r=ehsan
2014-11-02 14:04:13 +02:00
Aryeh Gregor
a10afa7f44
Bug 1088054 part 1 - Reduce nsISelection use in editor/; r=ehsan
2014-11-02 14:04:13 +02:00
Aryeh Gregor
132477ba5e
Bug 1086349 part 8 - Clean up nsEditor::(Tag)CanContain(Tag); r=ehsan
2014-11-02 14:04:13 +02:00
Aryeh Gregor
7e308258fb
Bug 1086349 part 7 - Remove old nsEditor::GetRight/LeftmostChild overloads; r=ehsan
2014-11-02 14:04:13 +02:00
Aryeh Gregor
ea63ad63dc
Bug 1086349 part 6 - Remove old nsEditor::GetNextNode/GetPriorNode overloads; r=ehsan
2014-11-02 14:04:13 +02:00
Aryeh Gregor
e2c3916cf9
Bug 1086349 part 5 - Clean up nsEditor::SplitNodeImpl; r=ehsan
2014-11-02 14:04:13 +02:00
Aryeh Gregor
afaec6e89e
Bug 1086349 part 4 - Clean up nsEditor::DeleteSelectionAndCreateElement; r=ehsan
2014-11-02 14:04:13 +02:00
Aryeh Gregor
fbc8e2ad43
Bug 1086349 part 3 - Clean up nsEditor::InsertTextImpl; r=ehsan
2014-11-02 14:04:13 +02:00
Aryeh Gregor
6f959f8320
Bug 1086349 part 2 - Clean up SplitNodeTxn; r=ehsan
2014-11-02 14:04:13 +02:00
Aryeh Gregor
d4c76b930e
Bug 1086349 part 1 - Clean up JoinNodeTxn; r=ehsan
2014-11-02 14:04:12 +02:00
Masayuki Nakano
2512321856
Bug 960871 part.4 Rename NS_TEXT_TEXT to NS_COMPOSITION_CHANGE and fix comments which mention text events r=smaug
2014-10-07 19:01:47 +09:00
Mats Palmgren
aebe70b495
Bug 1061468 - Notify the editor when removing the focused element is its ancestor limiter. r=ehsan
2014-09-09 23:27:56 +00:00
Aryeh Gregor
66dd7779de
Bug 1056166 part 6 - Clean up IMETextTxn; r=ehsan
2014-08-29 14:43:24 +03:00
Aryeh Gregor
53a3a5fd34
Bug 1056166 part 4 - Remove nsEditProperty; r=ehsan
2014-08-29 14:43:24 +03:00
Aryeh Gregor
deb89f2d51
Bug 1056166 part 3 - Clean up ChangeAttributeTxn; r=ehsan
2014-08-29 14:43:23 +03:00
Aryeh Gregor
cd5f3083f4
Bug 1056166 part 2 - Clean up InsertTextTxn; r=ehsan
2014-08-29 14:43:23 +03:00
Aryeh Gregor
b1a177e613
Bug 1055032 part 5 - Rename InsertElementTxn to InsertNodeTxn and clean up; r=ehsan
2014-08-20 15:25:17 +03:00
Aryeh Gregor
e9a368a046
Bug 1055032 part 4 - Clean up DeleteTextTxn and friends; r=ehsan
2014-08-20 15:25:16 +03:00
Aryeh Gregor
6c5c49a916
Bug 1055032 part 2 - Clean up nsEditor::CreateNode; r=ehsan
2014-08-20 15:25:16 +03:00
Aryeh Gregor
4b98b65f8a
Bug 1055032 part 1 - Clean up nsEditor::MoveNode; r=ehsan
2014-08-20 15:25:16 +03:00
Aryeh Gregor
f0444158d4
Bug 1054735 part 3 - Clean up nsEditor::InsertContainerAbove; r=ehsan
2014-08-20 15:25:16 +03:00
Aryeh Gregor
e4f2dc2154
Bug 1054735 part 2 - Clean up nsEditor::RemoveContainer; r=ehsan
2014-08-20 15:25:16 +03:00
Masayuki Nakano
9b245850f7
Bug 1053048 Implement nsIEditor.isInEditAction readonly attribute r=ehsan, sr=smaug
2014-08-19 20:54:08 +09:00