Commit Graph
270 Commits
Author SHA1 Message Date
[email protected] 71433f51ab Remove some more no-op debug code. sr=kin 2001-07-24 23:45:32 +00:00
[email protected] cb131b52eb Remove debug code which should not have been there and were causing asserts. sr=kin 2001-07-24 23:39:17 +00:00
[email protected] 09b41b94c9 69638: Use <span> instead of <blockquote> for plaintext quotes, to fix caret motion problems. r=mcafee, sr=sfraser 2001-07-13 18:45:53 +00:00
[email protected] 051ac60d69 Fixes from [email protected] and [email protected]
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.

[email protected],[email protected] [email protected]
2001-07-13 13:38:10 +00:00
[email protected] baba14c5c8 Bug 88413: Remove |GetUnicode()| from nsString (and replace it with |get()|). r=dbaron, rs=scc.
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 :-)
2001-06-30 11:02:25 +00:00
[email protected] 8afc81e0b2 Landing url parsing branch. 73845. [email protected], [email protected], [email protected].
This fixes many crashes caused by illegal uses of the nsStdURL.
This also allows a plugable protocol to provide their own url parser.
2001-06-21 22:02:47 +00:00
[email protected] da3a6ebeb8 fixes:
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
2001-06-20 02:05:37 +00:00
[email protected] cf986c08ed partial fix for 85963 (add alt tag for images inserted via d&d from OS) 2001-06-19 23:56:22 +00:00
[email protected] 7378097029 fix for: 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() 2001-06-15 22:29:07 +00:00
[email protected] 5ac5c49e8e wow i biffed that last checkin 2001-04-26 19:48:40 +00:00
[email protected] ef1eb06728 use GetCurrentSession() instead of QI to get drag session from service. r=pchen/sr=sfraser. bug# 77380 2001-04-26 19:05:08 +00:00
[email protected] 1d6accca42 fixes for bugs: 75618 CR line breaks not recognized when inserting data in a plain 76258 IsEditable() needs to be smarter 72968 browser crashes when doing REDO after doing some cut/paste i 55224 switching from HTML Source mode to Normal causes dataloss 71355 style buttons do not work from 2nd cell onwards inside table 71362 empty tables inside (otherwise) empty list item disappears w 74655 40% of reply time in mailcompose spent converting linefeeds r=fm; sr=kin 2001-04-17 10:15:05 +00:00
[email protected] 093dc8c507 66318 r= kin, sr=kin tested by ducarozz ,phil chofmann approved..changing APIS to be idl so we can use in embedding land... lots of string changes too to nsAStrings 2001-04-07 00:45:26 +00:00
[email protected] 3f6eacf655 66345: Factoring necessary for editor reorganization. sr=kin/sfraser, r=jfrancis 2001-04-05 23:48:01 +00:00
[email protected] 5296ffd4f8 bug 58281: fixing mem leaks when shuffling nsISupports around in editor paste code. r=fm; sr=kin 2001-04-02 06:09:44 +00:00
[email protected] 3eadc2fe38 Minor build changes per API review. Now nsIFileURL and nsIFileChannel have their own IDL file which means that if you were using either of these two interfaces, you need to include a new include file. [email protected] 2001-03-12 22:41:28 +00:00
[email protected] 4d06fc278c Renaming NS_PARSER_IID to NS_PARSER_CID, because it *is* a CID. r=jag, sr=jst. 2001-03-10 21:02:12 +00:00
[email protected] f98c02fd7f bug 57863: pasting multiple table cells outside of table doens't work. r=cmanske;sr=kin 2001-03-09 01:36:38 +00:00
[email protected] b0e5f07191 25779: Add/improve alternate windows cut/copy/paste key bindings: r=brade sr=sfraser.
68747: Remove redundant code in nsHTMLEditor. sr=sfraser.
2001-02-15 21:51:25 +00:00
[email protected] 40b684d9f7 bug 66290: embedding work: refactor editor to allow smaller plaintext only library. Embedding clients may be interested inthis library if they want to embed a browser but not composer/mail-compose. Reduces library footprint for plaintext-only library by over 50% on all three platforms. r=fm; sr=kin 2001-01-28 20:13:07 +00:00