Aryeh Gregor
c062c6ba78
Bug 1193762 part 1 - Remove nsEditor::IsBlockNode(nsIDOMNode*); r=ehsan
2016-05-01 17:59:05 +03:00
Sebastian Hengst
7eeb10cd67
Backed out changeset 50b15734fe1d (bug 1193762)
2016-05-01 16:27:03 +02:00
Aryeh Gregor
02f02cb2b0
Bug 1193762 part 1 - Remove nsEditor::IsBlockNode(nsIDOMNode*); r=ehsan
2016-05-01 16:18:14 +03:00
Aryeh Gregor
0c7cce223b
Bug 1190172 part 2 - Clean up nsHTMLEditor::ClearStyle; r=ehsan
2016-05-01 16:11:40 +03:00
Masayuki Nakano
1f99da7209
Backout changeset 643bf6006fea (bug 1190172 part 2)
2016-04-23 20:02:00 +09:00
Aryeh Gregor
0a0c9f83d0
Bug 1190172 part 2 - Clean up nsHTMLEditor::ClearStyle; r=ehsan
2016-04-23 19:25:29 +09:00
Aryeh Gregor
fe3356877d
Bug 1190172 - Back out for now, requested by Masayuki at bug 1191356 comment 23
2016-04-20 20:44:44 +03:00
Aryeh Gregor
ac287f5bd1
Bug 1190172 - part 2 - Clean up nsHTMLEditor::ClearStyle; r=ehsan
2016-04-19 05:37:00 +02:00
Jorg K
cceebba0a9
Bug 387687 - wrap quotes in plain text replies to window. r=masayuki
2016-04-05 00:22:00 +02:00
Jorg K
e0dc0383ba
Bug 233705 - remove mDontWrapAnyQuotes, mWrapToWindow and pref wrap_to_window_width. r=ehsan
2016-04-04 23:54:00 +02:00
William Chen
dd2a3239b8
Bug 1247483 - Only replace nodes in nsHTMLEditor::ReplaceOrphanedStructure if all nodes in node list are descendants of replacement node. r=ehsan
2016-02-26 17:34:40 -08:00
Andrew Herron
60d679ba0f
Bug 586587 - support kHTMLMime in the Windows clipboard as CF_HTML. r=jimm
2015-07-22 16:56:57 +10:00
Blake Kaplan
6cac27dddc
Bug 1169268 - Don't crash when pasting files. r=ndeakin
2015-10-27 14:41:58 -07:00
Bobby Holley
d8be7c66b7
Bug 1217614 - Remove nsIDOMDataTransfer::mozGetDataAt and refactor associated code. r=bz
...
This one was kinda gross.
2015-10-23 18:10:31 -07: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
cc6356ec93
Bug 895274 part.118 Rename NS_PASTE to ePaste r=smaug
2015-09-08 23:33:35 +09:00
Christoph Kerschbaumer
ecabf16eca
Bug 1197002 - Use channel->Open2() in editor/libeditor/nsHTMLDataTransfer.cpp (r=sicking)
2015-08-21 20:33:42 -07:00
Aryeh Gregor
b81f51af90
Bug 1156062 part 1b - Convert some callers of nsEditor::SplitNodeDeep; r=ehsan
2015-08-05 18:10:09 +03:00
Aryeh Gregor
6dc0679b1b
Bug 1190823 - Move OwningNonNull.h to xpcom/base/; r=froydnj
2015-08-05 15:28:27 +03:00
Masayuki Nakano
2f88097a14
Bug 1169139 Remove all trailing whitespaces in editor (IGNORE IDL) r=ehsan
2015-05-29 00:58:42 +09:00
Nathan Froyd
67c7cb969f
Bug 1165982 - part 1 - provide fallible initialization of nsDOMIterator from an nsRange; r=ehsan
2015-05-22 09:58:30 -04:00
Michael Layzell
8da5494553
Bug 309731 - Allow document.execCommand('inserthtml') with an empty string parameter. r=ehsan
2015-05-14 08:02:00 -04:00
Ms2ger
b928d130cb
Bug 1145395 - Call nsINode::Length directly in nsHTMLEditor::CreateDOMFragmentFromPaste; r=ehsan
2015-05-13 17:58:25 +02:00
Ms2ger
86473c3014
Bug 1145395 - Pass nsINode& to RemoveBodyAndHead in nsHTMLDataTransfer; r=ehsan
2015-05-13 17:58:25 +02:00
Ms2ger
94c1de45aa
Bug 1145395 - Pass nsIContent& to nsHTMLEditor::StripFormattingNodes; r=ehsan
2015-05-13 17:58:25 +02:00
Ms2ger
29dec8d16f
Bug 1145395 - Use the local fragment variable rather than *outFragNode; r=ehsan
2015-05-13 17:58:25 +02:00
Ms2ger
abbb9ab153
Bug 1145395 - Return a DocumentFragment from nsHTMLEditor::ParseFragment; r=ehsan
2015-05-13 17:58:25 +02:00
Ms2ger
7d11ce4b7b
Bug 1145395 - Make some cosmetic improvements to nsHTMLEditor::CreateDOMFragmentFromPaste; r=ehsan
2015-05-13 17:58:25 +02:00
Jorg K
90bac9d7c7
Bug 1140617 - Don't clear inline style when pasting image. r=ehsan
2015-05-06 16:15:00 +02:00
Mike Hommey
4d93988786
Bug 1134923 - Remove NS_Alloc/NS_Realloc/NS_Free. r=nfroyd
...
They are kept around for the sake of the standalone glue, which is used
for e.g. webapprt, which doesn't have direct access to jemalloc, and thus
still needs a wrapper to go through the xpcom function list and get to
jemalloc from there.
2015-05-01 09:40:30 +09: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
900eb7b4fb
Bug 1154701 part 4 - Switch nsHTMLEditor::mContentFilters to nsTArray; r=ehsan
2015-04-24 14:27:35 +03:00
Aryeh Gregor
99ee041881
Bug 1154701 part 3 - Clean up nsHTMLEditor::GetListAndTableParents, DiscoverPartialListsAndTables, ScanForListAndTableStructure, ReplaceOrphanedStructure; r=ehsan
2015-04-24 14:27:35 +03:00
Aryeh Gregor
18ed70cc92
Bug 1154701 part 1 - Clean up nsHTMLEditor::CreateListOfNodesToPaste; r=ehsan
2015-04-24 14:27:35 +03:00
Aryeh Gregor
a9ce5761a8
Bug 1149163 part 2 - Make nsDOMIterator infallible; r=froydnj
2015-04-24 14:27:34 +03: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
Mats Palmgren
4e8a87a0da
Bug 1127835 - part 1, Add a null-check to avoid fatal assertion if the split results in no left part. r=smaug
2015-02-02 22:34:17 +00:00
Christoph Kerschbaumer
d134220614
Bug 1110469 - Remove NS_OpenURI (r=sworkman)
2015-01-11 20:26:40 -08:00
Ehsan Akhgari
06d4b3dcdb
Bug 1117041 - Mark virtual overridden functions as MOZ_OVERRIDE in editor; r=roc
...
This patch also devirtualizes some of the methods that were not
overridden by any derived classes.
2015-01-02 08:45:41 -05:00
Boris Zbarsky
7146c82dfa
Bug 1090616. Don't assume that the nodes we just pasted are still in the DOM, because mutation listeners suck like that. r=smaug
2014-11-11 12:47:36 -05:00
Aryeh Gregor
d4ff91801d
Bug 1088054 part 8 - Clean up nsHTMLEditor::GetFirst/LastEditableLeaf; 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
afaec6e89e
Bug 1086349 part 4 - Clean up nsEditor::DeleteSelectionAndCreateElement; r=ehsan
2014-11-02 14:04:13 +02:00
Christoph Kerschbaumer
9e6399cd21
Bug 1038756: Callsites creating a channel in /editor/ (r=ehsan)
2014-09-21 09:46:30 -07:00
Aryeh Gregor
53a3a5fd34
Bug 1056166 part 4 - Remove nsEditProperty; r=ehsan
2014-08-29 14:43:24 +03:00
Aryeh Gregor
b5c28876c2
Bug 1057677 - Crash in nsHTMLEditor::DoInsertHTMLWithContext; r=ehsan
2014-08-26 16:13:22 +03:00
Ehsan Akhgari
9ce06c8ac5
Bug 1055105 - Flatten editor/libeditor/html to editor/libeditor; r=poiru
2014-08-18 17:28:17 -04:00