Ehsan Akhgari
d4ce369fca
Bug 572618 - Make debugging the editor easier - Part 1: Replace all if(NS_FAILED) checks with NS_ENSURE_SUCCESS; r=roc
2010-06-17 15:27:24 -04:00
L. David Baron
14d15ea3e2
Stop null-checking the pres shell so that we get to the UnbindFromTree call in nsHTMLEditor::DeleteRefToAnonymousNode. (Bug 563980) r=ehsan
2010-05-05 18:20:43 -07:00
L. David Baron
1bf0778b3d
Backout temporary debugging code for bug 563980 (changesets 76e0ed39f6ad and 4498b6800a49).
2010-05-05 18:20:43 -07:00
L. David Baron
bebafb621c
Add additional debugging code for bug 563980.
2010-05-05 15:02:31 -07:00
Craig Topper
076bc13756
Bug 557416: Remove unnecessary includes and forward declarations of nsPresContext. r=roc
2010-04-10 16:10:12 -04:00
Masayuki Nakano
352495f292
Bug 545602 Unify the event listeners for editor r=smaug
2010-03-06 13:01:28 +09:00
Jae-Seong Lee-Russo
eceaa14e22
Bug 530296 - Replace PR_MIN/PR_MAX with NS_MIN/NS_MAX in /editor. r=peterv
2010-02-11 09:34:37 +01:00
Chris Pearce
9d35f4f8ff
Bug 431086 - nsHTMLObjectResizer refactor.
2009-04-14 15:05:34 +12:00
1803b57da8
Fix for bug 417533 (Resizing linked images fails in contentEditable elements). r/sr=jst, a=damon.
2008-04-23 04:53:29 -07:00
278718a41f
Remove the anonymous content for resizers properly. b=420439 r+sr=peterv a1.9+=damons
2008-04-13 13:22:31 -07:00
b80b7d72ad
Bug 364719 - "Resizers of images are positioned wrongly when page is scrolled" [[email protected] (Mathieu Fenniak) / [email protected] (Chris Pearce [cpearce]) r=peterv r+sr=roc a=blocking1.9+]
2008-01-21 23:39:06 -08:00
78ee378330
Bug 377575 - Table resize information tooltip location is misplaced, patch by Mathieu Fenniak <[email protected] >, r=glazou, sr=jst, a1.9=dbaron
2007-08-25 22:53:38 -07:00
151135384e
Bug 336160 - Crash when releasing mouse while dragging absolute positioned element in designMode [@ nsHTMLEditor::MouseUp], r=glazman, sr=peterv
2007-06-14 01:22:47 -07:00
70e37b2ff0
Bug 363089, Remove nsIDOMEventReceiver (this time passes mochitest), r+sr=jst
2007-05-14 02:11:38 -07:00
0f958609c2
backout Bug 363089
2007-05-11 06:34:05 -07:00
833e8c64f1
Bug 363089, Remove nsIDOMEventReceiver, r+sr=jst
2007-05-11 04:15:11 -07:00
[email protected]
04a7b43a5a
Bug 363960 � Crash when clicking on the image inside a designMode-enabled IFRAME [@ nsHTMLEditor::SetShadowPosition], r+sr=jst
2007-01-10 22:44:29 +00:00
[email protected]
3026c9a3ad
Bug 338129, r=glazman, sr=neil
2006-06-15 07:31:01 +00:00
[email protected]
3434d072e9
Fixing bug 316794. Moving HandleDOMEvent() and Get/SetDocShell from nsIScriptGlobalObject to nsPIDOMWindow. [email protected] , [email protected]
2005-11-28 23:56:44 +00:00
[email protected]
e0f2b0fa7e
Cleanup in preparation for the actual fix for bug 283897. [email protected] , [email protected]
2005-03-24 19:00:01 +00:00
[email protected]
ca100921ee
Remove nsIAutoCopy and fold the functionality into nsSelection.cpp (bug 231343). r+sr=roc.
2005-01-31 23:47:26 +00:00
[email protected]
6cde4639f0
Change nsIPresContext to nsPresContext globally, follow-up to bug 253470. rs=roc
2004-07-31 23:15:21 +00:00
[email protected]
d9edea9d71
Bug 226439. Convert codebase to use AppendLiteral/AssignLiteral/LowerCaseEqualsLiteral. r+sr=darin
2004-06-17 00:13:25 +00:00
[email protected]
6b0210f601
Bug 226439. Convert Seamonkey to EqualsLiteral. rs=darin
2004-05-22 22:15:22 +00:00
[email protected]
a476814222
Relanding, since backing out did not fix orange. Bug 232691.
2004-05-22 20:02:43 +00:00
[email protected]
870007c547
Backing out to attempt to fix Mac orange. Bug 232691
2004-05-22 19:26:52 +00:00
[email protected]
dc05923955
Convert users of nsC?String(), nsC?AutoString(), and NS_LITERAL_C?STRING("") to
...
using EmptyC?String instead. Bug 232691, patch by Charles Fenwick
<[email protected] >, r+sr=bzbarsky
2004-05-22 17:04:53 +00:00
[email protected]
c4277278e2
Continuing nsIPresContext deCOMtamination (bug 229371). Remove GetImageLoadFlags (unused). Make failure to fetch the LookAndFeel service cause Init() to fail, don't null check it after that, and inlined the getter. Move IOService caching to nsImageFrame, the only user of it. r+sr=bzbarsky.
2004-01-21 09:35:59 +00:00
[email protected]
1f9609e30b
deCOMtaminate nsIDocument by changing methods to use return value instead of out-params, eliminating unused nsresult return values, moving some members to nsIDocument and inlining the getters/setters. Bug 222134, r=bzbarsky, sr=jst.
2003-10-22 06:09:48 +00:00
[email protected]
1aacd53137
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
2003-10-09 22:08:59 +00:00
[email protected]
e5ca6b0f7c
remove unused variables, fix typos, code cleanup (r=glazman, sr=tor, a=asa, bug=216054)
2003-09-03 13:58:00 +00:00
[email protected]
aea5df6796
editor cleanup of NodeIsType; r=kin, sr=darin, bug=209548
2003-07-15 13:47:15 +00:00
[email protected]
6e64a359bd
NS_IMPL macro cleanup; r=timeless; sr=kin; bug=209548
2003-06-27 14:19:40 +00:00
[email protected]
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
[email protected]
a81c8a2b28
crash when doing multiple redo commands in Composer; r=brade, sr=peterv, a=sspitzer
2003-05-16 09:08:03 +00:00
[email protected]
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
[email protected]
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.
[email protected] [email protected]
2003-04-09 21:10:58 +00:00
[email protected]
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.
[email protected] [email protected]
2003-04-04 20:51:36 +00:00
[email protected]
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
[email protected]
008eab15ce
fix for bug #198624
...
bulletproof for crasher in nsHTMLEditor::HideResizers()
r=brade,sr=kin
2003-03-22 17:22:22 +00:00
[email protected]
6928fbdd44
missing files for b=47066, r=brade,cmanske, sr=kin
2003-02-24 10:18:18 +00:00