12 Commits

Author SHA1 Message Date
mozeditor%floppymoose.com
1167bdd011 fix for topcrash 218556: I made the object resize listener hold weak pointer to the editor to fix resize timer firings on stale editors. r=brade; sr=peterv
git-svn-id: svn://10.0.0.236/trunk@147816 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-09 22:08:59 +00:00
brade%comcast.net
6d7cde53e2 remove unused variables, fix typos, code cleanup (r=glazman, sr=tor, a=asa, bug=216054)
git-svn-id: svn://10.0.0.236/trunk@146534 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-03 13:58:00 +00:00
brade%netscape.com
f90cd30f83 editor cleanup of NodeIsType; r=kin, sr=darin, bug=209548
git-svn-id: svn://10.0.0.236/trunk@144881 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-15 13:47:15 +00:00
brade%netscape.com
3c2fed7e4a NS_IMPL macro cleanup; r=timeless; sr=kin; bug=209548
git-svn-id: svn://10.0.0.236/trunk@144215 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-27 14:19:40 +00:00
glazman%netscape.com
68de2ad1fd Support for Absolute Positioning, Snap to Grid, and Inline Table Editing in Composer
r=brade, sr=jst


git-svn-id: svn://10.0.0.236/trunk@144144 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-25 08:50:48 +00:00
glazman%netscape.com
0e36fded62 crash when doing multiple redo commands in Composer; r=brade, sr=peterv, a=sspitzer
git-svn-id: svn://10.0.0.236/trunk@142543 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-16 09:08:03 +00:00
alecf%netscape.com
272139fbdf 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.


git-svn-id: svn://10.0.0.236/trunk@141290 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-17 05:42:33 +00:00
kin%netscape.com
dcb54fbdfe 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


git-svn-id: svn://10.0.0.236/trunk@140921 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-09 21:10:58 +00:00
kin%netscape.com
fd1509505d 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


git-svn-id: svn://10.0.0.236/trunk@140710 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-04 20:51:36 +00:00
glazman%netscape.com
f981e4719a 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


git-svn-id: svn://10.0.0.236/trunk@140251 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-25 15:24:08 +00:00
sspitzer%netscape.com
1e56cf3515 fix for bug #198624
bulletproof for crasher in nsHTMLEditor::HideResizers()
r=brade,sr=kin


git-svn-id: svn://10.0.0.236/trunk@140073 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-22 17:22:22 +00:00
glazman%netscape.com
aa100a61e3 missing files for b=47066, r=brade,cmanske, sr=kin
git-svn-id: svn://10.0.0.236/trunk@138322 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-24 10:18:18 +00:00