138 Commits

Author SHA1 Message Date
masayuki%d-toybox.com
1b098bf39a Bug 418470 Go to line in View Source broken (NS_ERROR_UNEXPECTED at nsISelectionController.scrollSelectionIntoView) (retry) r+sr=roc, a1.9b4=beltzner
git-svn-id: svn://10.0.0.236/trunk@246727 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-28 15:28:40 +00:00
masayuki%d-toybox.com
dde4ffc7c2 backing out the previous patch, becaused qm-centos5-01 dep unit test is orange
git-svn-id: svn://10.0.0.236/trunk@246723 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-28 13:59:28 +00:00
masayuki%d-toybox.com
2d6679113d Bug 418470 Go to line in View Source broken (NS_ERROR_UNEXPECTED at nsISelectionController.scrollSelectionIntoView) r+sr=roc, a1.9b4=beltzner
git-svn-id: svn://10.0.0.236/trunk@246719 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-28 11:01:59 +00:00
Olli.Pettay%helsinki.fi
2eb9b51758 Bug 418457, Remove support for onbeforecopy/cut/paste until we have a better implementation, r+sr=sicking
git-svn-id: svn://10.0.0.236/trunk@246410 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-24 10:55:39 +00:00
neil%parkwaycc.co.uk
7fe0af5a33 Don't pointlessly clone nsCOMArray b=265745 r=brade sr=rbs a=schrep
git-svn-id: svn://10.0.0.236/trunk@242557 18797224-902f-48f8-a5cc-f745e15eee43
2008-01-07 10:14:28 +00:00
bugzilla%standard8.plus.com
62b4183f4d Bug 374347 nsIClipboard uses the deprecated nsISupportsArray interface. r=roc,Neil,sspitzer,sr=roc,a=mtschrep
git-svn-id: svn://10.0.0.236/trunk@239735 18797224-902f-48f8-a5cc-f745e15eee43
2007-11-20 19:06:32 +00:00
ted.mielczarek%gmail.com
3bb5be0244 bug 403664 - crash when pasting into textfield with rich text mode (a.o. Gmail) [@ nsParser::ParseFragment()]. r+sr=stuart
git-svn-id: svn://10.0.0.236/trunk@239510 18797224-902f-48f8-a5cc-f745e15eee43
2007-11-16 00:23:54 +00:00
jonas%sicking.cc
ca0c3c7ee3 Bug 403549: Avoid memory churn from nsContentUtils::CreateContextualFragment by giving nsIParser::ParseFragment a better signature. r/sr=stuart
git-svn-id: svn://10.0.0.236/trunk@239246 18797224-902f-48f8-a5cc-f745e15eee43
2007-11-13 01:41:40 +00:00
martijn.martijn%gmail.com
1c3fd47fba Bug 396108 – Crash [@ PresShell::ResizeReflow] with iframes, binding, while onbeforecopy removing stuff, patch by Mathieu Fenniak, r=Olli.Pettay, sr=jst, a=jonas
git-svn-id: svn://10.0.0.236/trunk@236924 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-29 17:56:05 +00:00
cbarrett%mozilla.com
d09fac68be Bug 393646 - Support reading image data off the clipboard on Mac r=josh,bienvenu sr=roc a=mconnor/drivers
git-svn-id: svn://10.0.0.236/trunk@236108 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-17 18:02:50 +00:00
jst%mozilla.org
daccf057ae Bug 280959: Adding support for cut, copy, paste events. Patch by mfenniak-moz@mathieu.fenniak.net, r=Olli.Pettay@gmail.com, sr=jst@mozilla.org,jonas@sicking.cc
git-svn-id: svn://10.0.0.236/trunk@231016 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-26 04:14:35 +00:00
Olli.Pettay%helsinki.fi
7a1f7182a1 Bug 363089, Remove nsIDOMEventReceiver (this time passes mochitest), r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@226373 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-14 09:13:09 +00:00
Olli.Pettay%helsinki.fi
74bedad7b0 backout Bug 363089
git-svn-id: svn://10.0.0.236/trunk@226300 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-11 13:34:12 +00:00
Olli.Pettay%helsinki.fi
174896a945 Bug 363089, Remove nsIDOMEventReceiver, r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@226293 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-11 11:15:20 +00:00
scott%scott-macgregor.org
7727a1e2f3 Bug #356327 --> Pasted windows clipboard images don't show up in the compose
window. Close the file stream before we insert the image into the document.
r=glazman


git-svn-id: svn://10.0.0.236/trunk@213748 18797224-902f-48f8-a5cc-f745e15eee43
2006-10-17 15:05:00 +00:00
scott%scott-macgregor.org
c3c9f5d708 Bug #223909 --> add editor support for pasting images from the clipboard into an HTML editor instance.
r/moa=glazman


git-svn-id: svn://10.0.0.236/trunk@213513 18797224-902f-48f8-a5cc-f745e15eee43
2006-10-11 20:30:06 +00:00
sayrer%gmail.com
4b8ca2af78 bug 348669. Remove inappropriate nsCRT::free usage. r=timeless, sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@209419 18797224-902f-48f8-a5cc-f745e15eee43
2006-09-08 04:35:17 +00:00
cvshook%sicking.cc
365266c686 Bug 344050: Kill nsITextContent and move the methods to nsIContent. r/sr=jst
git-svn-id: svn://10.0.0.236/trunk@203078 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-19 04:36:36 +00:00
timeless%mozdev.org
b45f12f200 Bug 334300 nsHTMLEditor::InsertAsPlaintextQuotation uses quotesInPre uninitialized in a case that doesn't happen
r=neil sr=neil


git-svn-id: svn://10.0.0.236/trunk@196115 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-06 21:46:55 +00:00
mrbkap%gmail.com
a5c20ee1b3 Be paranoid about the given indices and never return a null DOM from the paste (in success conditions). bug 335609, r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@195482 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-27 00:20:27 +00:00
roc+%cs.cmu.edu
0efb95265d Bug 330305. Rename nsSelection to nsFrameSelection, and deCOMtaminate it, removing nsIFrameSelection. patch by Marc Liddell, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@195411 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-26 01:57:22 +00:00
mrbkap%gmail.com
a3f03c22c8 Fix the relationship between nsHTMLEditor::CreateDOMFragmentFromPaste and nsHTMLEditor::InsertHTMLWithContexet to avoid duplicate calculations. bug 333063, r=neil sr=jst
git-svn-id: svn://10.0.0.236/trunk@195382 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-25 20:13:46 +00:00
mrbkap%gmail.com
f8aa93ef4c Allow pasting single cells from excel into an HTML editor. bug 228920, r=neil sr=jst
git-svn-id: svn://10.0.0.236/trunk@193757 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-06 22:48:55 +00:00
martijn.martijn%gmail.com
f2ad16c18f Bug 309599 - crash in nsIHTMLEditor::insertHTML, r=brade, sr=jst
git-svn-id: svn://10.0.0.236/trunk@192896 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-24 01:52:07 +00:00
bzbarsky%mit.edu
fed75ccda3 nsIDocumentEncoder should be IDL-ized. Bug 305710, patch by jpl24
<jlurz24@gmail.com>, r=sicking, sr=bzbarsky


git-svn-id: svn://10.0.0.236/trunk@192316 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-14 17:12:41 +00:00
cbiesinger%web.de
6322c04952 bug 183156 remove *UCS2* functions, replacing them with *UTF16* ones
r+sr=darin


git-svn-id: svn://10.0.0.236/trunk@188844 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-03 14:18:39 +00:00
mrbkap%gmail.com
b7ece70d44 Remove the obsolete concept of "DTD verification". bug 323958, r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@188516 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-30 23:45:19 +00:00
timeless%mozdev.org
f9bdb44b34 Bug 106386 Correct misspellings in source code
patch by unknown@simplemachines.org r=timeless rs=brendan


git-svn-id: svn://10.0.0.236/trunk@185269 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-25 08:16:51 +00:00
bzbarsky%mit.edu
6b2d4870c3 More uses of EmptyC?String(). Bug 232691, patch by Charles Fenwick
<clf03f@garnet.acns.fsu.edu>, r+sr=bzbarsky, a=bsmedberg


git-svn-id: svn://10.0.0.236/trunk@176154 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-15 21:41:47 +00:00
mrbkap%gmail.com
23338fd153 bug 295531: Assert that we will have at least one node to paste. Triggering this assertion probably means the HTML parser is throwing away data. r=brade sr=smfr a=shaver
git-svn-id: svn://10.0.0.236/trunk@173998 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-01 22:39:35 +00:00
scott%scott-macgregor.org
9880b9b613 Bug #278312 --> editor changes to support inline spell checking. Includes the interface for the inline spell checker
and editor hooks to call out to an inline spell checker component.


moa/r=glazman
sr=bienvenu


git-svn-id: svn://10.0.0.236/trunk@168662 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-01 21:12:53 +00:00
mrbkap%gmail.com
dd20b59fcf bug 204615: Editor hangs when pasting a list fragment. r=brade sr=dveditz
git-svn-id: svn://10.0.0.236/trunk@167746 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-14 21:49:16 +00:00
darin%meer.net
ed9e4d3d7a eliminating uses of deprecated nsComponentManager:: methods (bug 267040), r=bsmedberg
git-svn-id: svn://10.0.0.236/trunk@164735 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-01 18:50:36 +00:00
bzbarsky%mit.edu
c6733ef5e7 Make createContextualFragment work for XML. Bug 133827, patch by
steve.swanson@mackichan.com, r=bzbarsky, sr=jst


git-svn-id: svn://10.0.0.236/trunk@163041 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-30 22:27:45 +00:00
bryner%brianryner.com
865734bf2f Change nsIPresContext to nsPresContext globally, follow-up to bug 253470. rs=roc
git-svn-id: svn://10.0.0.236/trunk@160184 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-31 23:15:21 +00:00
roc+%cs.cmu.edu
0b0fa89131 Bug 226439. Convert codebase to use AppendLiteral/AssignLiteral/LowerCaseEqualsLiteral. r+sr=darin
git-svn-id: svn://10.0.0.236/trunk@157992 18797224-902f-48f8-a5cc-f745e15eee43
2004-06-17 00:13:25 +00:00
gerv%gerv.net
210853d71e Bug 236613: change to MPL/LGPL/GPL tri-license.
git-svn-id: svn://10.0.0.236/trunk@155067 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-18 14:21:17 +00:00
brade%comcast.net
50abfe299f fix for bug 32768; relativize urls (if possible) on insertion; r=Neil, glazman, smfr; sr=dmose
git-svn-id: svn://10.0.0.236/trunk@153530 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-04 18:47:49 +00:00
scott%scott-macgregor.org
3c6716cbeb supplimental fix for bug #228879
git-svn-id: svn://10.0.0.236/trunk@153433 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-02 17:34:22 +00:00
scott%scott-macgregor.org
637845aac8 landing fix for bug #228879
Bogus Text when pasting from open office spread sheet or word processor to Mail Compose

working around bug http://www.openoffice.org/issues/show_bug.cgi?id=25864 in open office

r=jfrancis, sr=mscott


git-svn-id: svn://10.0.0.236/trunk@153428 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-02 16:03:56 +00:00
jst%mozilla.jstenback.com
6629ad58f7 Fixing bug 232503. Start using Empty[C]String() to save a bit on code-size. r+sr=peterv@propagandism.org
git-svn-id: svn://10.0.0.236/trunk@152045 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-29 22:04:45 +00:00
peterv%propagandism.org
f76a4dbc8a Fix for bug 230439 (Remove anonymous nodeinfomanager and other cleanup). r=caillon, sr=jst.
git-svn-id: svn://10.0.0.236/trunk@151500 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-18 14:52:21 +00:00
bzbarsky%mit.edu
86fee95b4d Remove nsIHTMLContentContainer, merge those three functions into nsIDocument,
and make XUL style attribute dynamic changes get a proper CSSLoader off the
document. Bug 211376, r+sr=jst


git-svn-id: svn://10.0.0.236/trunk@151268 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-13 23:14:49 +00:00
bryner%brianryner.com
468d3e2e8d Eliminate nsIStyleSet as an XPCOM interface, making the implementation internal to layout. Frame constructor ownership moves to the pres shell, and the style set methods that forward to the frame constructor are gone. Rewrote style set sheet add/remove to reduce code size. For more details, see bug 64116. r+sr=dbaron.
git-svn-id: svn://10.0.0.236/trunk@150998 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-07 22:30:53 +00:00
brade%netscape.com
b1c35c5841 fix tinderbox bustage
git-svn-id: svn://10.0.0.236/trunk@145271 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-28 14:27:49 +00:00
brade%netscape.com
7b542e3e34 cleanup of editor code, bug=209548, r=jfrancis, sr=blizzard
git-svn-id: svn://10.0.0.236/trunk@145270 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-28 13:13:50 +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
4d8f0dad73 editor code cleanup (use contract IDs); r=timeless; sr=kin; bug=209548
git-svn-id: svn://10.0.0.236/trunk@144579 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-08 20:22:56 +00:00
brade%netscape.com
2d1f651343 remove unused params; r=akkana, sr=kin, bienvenu, bug=208967
git-svn-id: svn://10.0.0.236/trunk@143639 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-12 14:51:37 +00:00
brade%netscape.com
596c8b1e49 remove some useless local variables, fix whitespace, add param to insertion hook (sourceDoc), r=rogermw, sr=kin, bug=208539
git-svn-id: svn://10.0.0.236/trunk@143517 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-10 18:53:11 +00:00