Jonas Sicking
463d460f66
Bug 663461 Part 1: Remove Add/RemoveEventListenerByIID from editor. r=smaug
2011-06-27 16:34:54 -07:00
Jonas Sicking
cd52437ea7
Bug 658714 Part 6: Fixups after search'n'replace s/nsPIDOMEventTarget/nsIDOMEventTarget/. r=smaug
2011-06-23 19:18:01 -07:00
Jonas Sicking
07c1f0b90f
Bug 658714 Part 5: Search'n'replace nsPIDOMEventTarget to nsIDOMEventTarget. r=smaug
2011-06-23 19:18:00 -07:00
Masayuki Nakano
b96a7b1afb
Bug 664437 editor should use mozilla::Preferences r=ehsan
2011-06-17 09:59:29 +09:00
Dominic Fandrey
968bf5196a
Bug 645398 - Substitute PR_(MAX|MIN|ABS|ROUNDUP) macro calls; r=roc
2011-06-02 14:56:50 +02:00
Ms2ger
95946ba581
Bug 657210 - Outparamdel nsEditor::GetPresShell; r=ehsan
2011-05-22 14:43:13 +02:00
Ehsan Akhgari
318a97fcfd
Bug 407127 - Part 1: Refactor the editor so that it only touches mPresShellWeak in GetPresShell, to make removing it easier; r=roc
2011-03-11 00:40:30 -05:00
Ehsan Akhgari
9f32e5a757
Bug 572618 - Make debugging the editor easier - Part 3: multiline version of part 2; r=roc
2010-06-17 16:40:48 -04:00
Ehsan Akhgari
af303aaed5
Bug 572618 - Make debugging the editor easier - Part 2: Replace all if(!foo) return NS_ERROR_bar checks with NS_ENSURE_TRUE(foo, NS_ERROR_bar); r=roc
2010-06-17 15:41:16 -04:00
Ehsan Akhgari
f2cdabf2ec
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
ef99600a41
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
8452c45716
Backout temporary debugging code for bug 563980 (changesets 76e0ed39f6ad and 4498b6800a49).
2010-05-05 18:20:43 -07:00
L. David Baron
c1f3739480
Add additional debugging code for bug 563980.
2010-05-05 15:02:31 -07:00
Craig Topper
8b8747d605
Bug 557416: Remove unnecessary includes and forward declarations of nsPresContext. r=roc
2010-04-10 16:10:12 -04:00
Masayuki Nakano
1c0b55c010
Bug 545602 Unify the event listeners for editor r=smaug
...
--HG--
rename : editor/libeditor/text/nsEditorEventListeners.cpp => editor/libeditor/base/nsEditorEventListener.cpp
rename : editor/libeditor/text/nsEditorEventListeners.h => editor/libeditor/base/nsEditorEventListener.h
rename : editor/libeditor/html/nsHTMLEditorMouseListener.cpp => editor/libeditor/html/nsHTMLEditorEventListener.cpp
rename : editor/libeditor/html/nsHTMLEditorMouseListener.h => editor/libeditor/html/nsHTMLEditorEventListener.h
2010-03-06 13:01:28 +09:00
Jae-Seong Lee-Russo
28f86eafba
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
862acdd94c
Bug 431086 - nsHTMLObjectResizer refactor.
2009-04-14 15:05:34 +12:00
peterv@propagandism.org
742a4ab00e
Fix for bug 417533 (Resizing linked images fails in contentEditable elements). r/sr=jst, a=damon.
2008-04-23 04:53:29 -07:00
mats.palmgren@bredband.net
d107f287bc
Remove the anonymous content for resizers properly. b=420439 r+sr=peterv a1.9+=damons
2008-04-13 13:22:31 -07:00
reed@reedloden.com
71642344d0
Bug 364719 - "Resizers of images are positioned wrongly when page is scrolled" [p=mfenniak-moz@mathieu.fenniak.net (Mathieu Fenniak) / chris@pearce.org.nz (Chris Pearce [cpearce]) r=peterv r+sr=roc a=blocking1.9+]
2008-01-21 23:39:06 -08:00
philringnalda@gmail.com
3542eb8afd
Bug 377575 - Table resize information tooltip location is misplaced, patch by Mathieu Fenniak <mfenniak-moz@mathieu.fenniak.net>, r=glazou, sr=jst, a1.9=dbaron
2007-08-25 22:53:38 -07:00
Olli.Pettay@helsinki.fi
b61af7dd00
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
Olli.Pettay@helsinki.fi
7817abfbca
Bug 363089, Remove nsIDOMEventReceiver (this time passes mochitest), r+sr=jst
2007-05-14 02:11:38 -07:00
Olli.Pettay@helsinki.fi
40178e46a3
backout Bug 363089
2007-05-11 06:34:05 -07:00
Olli.Pettay@helsinki.fi
e1fb8b073b
Bug 363089, Remove nsIDOMEventReceiver, r+sr=jst
2007-05-11 04:15:11 -07:00
martijn.martijn%gmail.com
0d014f49ac
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
Olli.Pettay%helsinki.fi
d82d580d5d
Bug 338129, r=glazman, sr=neil
2006-06-15 07:31:01 +00:00
jst%mozilla.jstenback.com
8f1863159b
Fixing bug 316794. Moving HandleDOMEvent() and Get/SetDocShell from nsIScriptGlobalObject to nsPIDOMWindow. r=mrbkap@gmail.com, sr=peterv@propagandism.org
2005-11-28 23:56:44 +00:00
jst%mozilla.jstenback.com
006a859d7d
Cleanup in preparation for the actual fix for bug 283897. r=brade@comcast.net, sr=bzbarsky@mit.edu
2005-03-24 19:00:01 +00:00
bryner%brianryner.com
f575a675b2
Remove nsIAutoCopy and fold the functionality into nsSelection.cpp (bug 231343). r+sr=roc.
2005-01-31 23:47:26 +00:00
bryner%brianryner.com
5c02a6978c
Change nsIPresContext to nsPresContext globally, follow-up to bug 253470. rs=roc
2004-07-31 23:15:21 +00:00
roc+%cs.cmu.edu
0f4150a4e5
Bug 226439. Convert codebase to use AppendLiteral/AssignLiteral/LowerCaseEqualsLiteral. r+sr=darin
2004-06-17 00:13:25 +00:00
roc+%cs.cmu.edu
0e3ff503fb
Bug 226439. Convert Seamonkey to EqualsLiteral. rs=darin
2004-05-22 22:15:22 +00:00
bzbarsky%mit.edu
62a5127738
Relanding, since backing out did not fix orange. Bug 232691.
2004-05-22 20:02:43 +00:00
bzbarsky%mit.edu
7f1e54b18d
Backing out to attempt to fix Mac orange. Bug 232691
2004-05-22 19:26:52 +00:00
bzbarsky%mit.edu
abcad1dc39
Convert users of nsC?String(), nsC?AutoString(), and NS_LITERAL_C?STRING("") to
...
using EmptyC?String instead. Bug 232691, patch by Charles Fenwick
<clf03f@garnet.acns.fsu.edu>, r+sr=bzbarsky
2004-05-22 17:04:53 +00:00
bryner%brianryner.com
ef5c330583
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
bryner%brianryner.com
605cc06382
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
mozeditor%floppymoose.com
9db6cb6a5b
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
brade%comcast.net
246cf5a850
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
6bedaabb65
editor cleanup of NodeIsType; r=kin, sr=darin, bug=209548
2003-07-15 13:47:15 +00:00
brade%netscape.com
920f7b4f36
NS_IMPL macro cleanup; r=timeless; sr=kin; bug=209548
2003-06-27 14:19:40 +00:00
glazman%netscape.com
0da80aab17
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
b55b32437c
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
f364fe0cc0
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
117932d74b
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
3d15b63ab6
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
f720ae0368
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
a924d9950c
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
7a9303b6e6
missing files for b=47066, r=brade,cmanske, sr=kin
2003-02-24 10:18:18 +00:00