bug 83918 - Not able to start a list (number or bullets) when using Bold style
bug 62347 - Selecting "Body Text" doesn't change style if in <pre> text that has <br>
bug 86476 - ubercaret appears on multi-line text block
bug 87882 - pasting text from one bullet to another yields extra bullet
---------------
r=sfraser; sr=kin
git-svn-id: svn://10.0.0.236/trunk@101631 18797224-902f-48f8-a5cc-f745e15eee43
90550: Need to rewrite URLs for publishing and for save as
91388: Link checker, Work in progress (doesn't work yet)
r=brade, sr=kin
git-svn-id: svn://10.0.0.236/trunk@100531 18797224-902f-48f8-a5cc-f745e15eee43
Modified nsHTMLEditor::GetInlinePropertyBase() to bail out of iterator
loop if current node is the body.
r=brade@netscape.comsr=sfraser@netscape.com
git-svn-id: svn://10.0.0.236/trunk@100224 18797224-902f-48f8-a5cc-f745e15eee43
bug #91288 (Aligning blank table cell in show all tags mode splits table)
Modified WillAlign to prevent unnecessary splitting:
- Don't execute emptyDiv special case code when start container of the
selection is a table cell element, but not a table cell or caption.
- Prevent processing of whitespace between list/table structure nodes.
- Prevent splitting when processing sub lists.
r=brade@netscape.comsr=attinasi@netscape.com
git-svn-id: svn://10.0.0.236/trunk@99847 18797224-902f-48f8-a5cc-f745e15eee43
Modified nsHTMLEditRules::WillDeleteSelection() so that it uses
an nsAutoTxnsConserveSelection auto-variable to prevent the
call to nsWSRunObject::PrepareToDeleteRange() from changing
the selection.
r=brade@netscape.comsr=waterson@netscape.com
git-svn-id: svn://10.0.0.236/trunk@99516 18797224-902f-48f8-a5cc-f745e15eee43
for bug #86450: pasting plaintext into text area loses significant whitespace
content/base/src/nsDocumentEncoder.cpp
- Look for -moz-pre-wrap in the correct attribute ("style").
editor/base/nsHTMLDataTransfer.cpp
editor/base/nsPlaintextDataTransfer.cpp
- Set the correct mime-type on the encoder and transfer data.
- Pass correct init flags to encoder.
layout/base/src/nsCopySupport.cpp
layout/base/src/nsCopySupport.h:
- Added IsPlainTextContext() method.
- Modified HTMLCopy() to pass correct init flags and
mime-type to the encoder during plaintext copy.
r=kin@netscape.com,brade@netscape.com sr=sfraser@netscape.com
git-svn-id: svn://10.0.0.236/trunk@99185 18797224-902f-48f8-a5cc-f745e15eee43
This removes all call-sites I can currently fix. Tomorrow I'll try to get someone to checkin my changes to security/ and I'll get some help with the Netscape side of things.
nsString::GetUnicode()'s final death-blow will be dealt soon. Please keep this in mind as you add new code :-)
git-svn-id: svn://10.0.0.236/trunk@98363 18797224-902f-48f8-a5cc-f745e15eee43
This fixes many crashes caused by illegal uses of the nsStdURL.
This also allows a plugable protocol to provide their own url parser.
git-svn-id: svn://10.0.0.236/trunk@97696 18797224-902f-48f8-a5cc-f745e15eee43
69320: making new block must put selection in block
74722: pasting into a pre block should not nest pre's
82421: ubercaret after ending list
67847: deletion can put caret incorrectly at start of doc
git-svn-id: svn://10.0.0.236/trunk@97532 18797224-902f-48f8-a5cc-f745e15eee43
Changes allow us to have a finer control over which parts of the tree are built with PIC. Part of the static build branch landing.
Bug #46775 r=mcafee a=leaf
git-svn-id: svn://10.0.0.236/trunk@97363 18797224-902f-48f8-a5cc-f745e15eee43
61232 - Caret comes back to previous line after creating paragraph
54520 - Extra break with list items
54539 - Disappearing numbered list with outdent
60867 - Composer adds extra break when round-tripping empty document through View Source
62347 - Selecting Body Text doesn't work inside other blocks that have embedding breaks
git-svn-id: svn://10.0.0.236/trunk@97351 18797224-902f-48f8-a5cc-f745e15eee43
57477: merge pastes list into target list
57989: Pasting list items into list can orphan last list item
66579: copy/paste of list item into another list items causes caret
mostly a refactoring and improvement of nsHTMLEditor::InsertHTMLWithCharsetAndContext()
git-svn-id: svn://10.0.0.236/trunk@97252 18797224-902f-48f8-a5cc-f745e15eee43
mozilla/editor/base/nsHTMLEditRules.cpp
- Moved list handling code in WillRemoveList() into a new recursive
method RemoveListStructure() which WillRemoveList() now calls.
- Modified WillOutdent() to call MoveNode() when a sublist is encountered.
- Made ConvertListType() recursive so that all sublists are coverted.
mozilla/editor/base/nsHTMLEditRules.cpp
- Added RemoveListStructure() method.
r=jfrancis@netscape.comsr=sfraser@netscape.coma=asa@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@97214 18797224-902f-48f8-a5cc-f745e15eee43
Fixed infinite loop in PriorVisibleNode() and NextVisibleNode() which would
happen when aNode was a node that could have children, but didn't have any,
and it's prior/next siblings weren't eNormalWS.
r=jfrancis@netscape.comsr=sfraser@netscape.coma=asa@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@96964 18797224-902f-48f8-a5cc-f745e15eee43