Commit Graph

6 Commits

Author SHA1 Message Date
kin%netscape.com
e9b8eb1f44 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.

Fix for blackflag 618328: Mail crashes in case resizing HTML table out of mail compose window

  - 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  a=rangansen@netscape.com


git-svn-id: svn://10.0.0.236/branches/ANGELON_MOZ12_BRANCH@140936 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-09 22:09:01 +00:00
rangansen%netscape.com
3d116e606a bug 618328. Patch to fix crasher in html table resizing.
Ported patch from mozilla. Patch by glazman. Ported by kaie.


git-svn-id: svn://10.0.0.236/branches/ANGELON_MOZ12_BRANCH@140664 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-04 01:26:57 +00:00
rangansen%netscape.com
f83f9873c4 bug 617765. Patch to fix crasher by brute force removal for frames reference.
patch from kin.


git-svn-id: svn://10.0.0.236/branches/ANGELON_MOZ12_BRANCH@139865 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-20 22:45:31 +00:00
kin%netscape.com
c55b34b0c2 Fix thread-safe assertions, introduced by the image resize code landing, when starting the editor by calling NS_INIT_ISUPPORTS().
r=brade@netscape.com  a=rangansen@netscape.com


git-svn-id: svn://10.0.0.236/branches/ANGELON_MOZ12_BRANCH@139120 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-07 22:03:33 +00:00
brade%netscape.com
e4f07bfbf1 resizing patch from glazman (bug 614976)
git-svn-id: svn://10.0.0.236/branches/ANGELON_MOZ12_BRANCH@138813 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-03 22:57:40 +00:00
(no author)
d566b27128 This commit was manufactured by cvs2svn to create branch
'ANGELON_MOZ12_BRANCH'.

git-svn-id: svn://10.0.0.236/branches/ANGELON_MOZ12_BRANCH@138323 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-24 10:18:19 +00:00