Commit Graph
11 Commits
Author SHA1 Message Date
brade@comcast.net e5ca6b0f7c remove unused variables, fix typos, code cleanup (r=glazman, sr=tor, a=asa, bug=216054) 2003-09-03 13:58:00 +00:00
brade@netscape.com aea5df6796 editor cleanup of NodeIsType; r=kin, sr=darin, bug=209548 2003-07-15 13:47:15 +00:00
brade@netscape.com 6e64a359bd NS_IMPL macro cleanup; r=timeless; sr=kin; bug=209548 2003-06-27 14:19:40 +00:00
glazman@netscape.com ceebeee92a Support for Absolute Positioning, Snap to Grid, and Inline Table Editing in Composer
r=brade, sr=jst
2003-06-25 08:50:48 +00:00
glazman@netscape.com a81c8a2b28 crash when doing multiple redo commands in Composer; r=brade, sr=peterv, a=sspitzer 2003-05-16 09:08:03 +00:00
alecf@netscape.com 2dbbf65c71 fix for bug 201982 - r=brade, sr=smfr
nsIEditProperty was an interface with no methods and only static members - moved it to an entirely static class.
2003-04-17 05:42:33 +00:00
kin@netscape.com db7269bc1e Fix for bug 199490: A crash occurs after clicking in (HTML tags )document - Trunk [@
nsHTMLEditor::SetFinalSize]

  - A one line fix in HideResizers() which prevents the
    reported crash by setting mIsResizing to false. I assume
    we can't be resizing if the resize handles are being hidden.
    The assertion and null check in SetFinalSize() are just because
    I'm paranoid, but they should never be triggered if HideResizers()
    is called first.

  - The changes in StartResizing() makes it so that we don't create
    a new mouse motion listener if we already have one. We were
    creating a new listener each time we clicked on the handles, and
    never unregistering the old one ... this meant that the old
    listeners could be triggered if the editor were ever destroyed
    and the document left in tact ... allowing us to crash because the
    listeners keep an un-addref'd pointer to the HTMLEditor. Note that
    this crash is not likely to be hit in Mozilla since we always
    destroy the document and editor in Composer and MailCompose, but
    it can happen in an embedding context.

r=glazman@netscape.com  sr=sfraser@netscape.com
2003-04-09 21:10:58 +00:00
kin@netscape.com dc4dd087e5 Fix for bug # :Hiding resize handles triggers assertion in ~nsGenericHTMLElement()
Modfied DeleteRefToAnonymousNode() so that it set the content node's document and parent to nsnull.

r=brade@netscape.com  sr=sfraser@netscape.com
2003-04-04 20:51:36 +00:00
glazman@netscape.com a860f92b25 meta-fix for image and table resizing bugs in html editor
solves bugs 195412, 196624, 196122, 195849, 197158, 195141, 195126, 199013
r=brade, sr=kin
2003-03-25 15:24:08 +00:00
sspitzer@netscape.com 008eab15ce fix for bug #198624
bulletproof for crasher in nsHTMLEditor::HideResizers()
r=brade,sr=kin
2003-03-22 17:22:22 +00:00
glazman@netscape.com 6928fbdd44 missing files for b=47066, r=brade,cmanske, sr=kin 2003-02-24 10:18:18 +00:00