Commit Graph
169 Commits
Author SHA1 Message Date
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
Ehsan Akhgari c59136bda6 Bug 520189 - Fix copy and test for the HTML editor; f=bzbarsky,dbaron r=sayrer,peterv,bzbarsky sr=roc 2010-04-09 17:06:09 -04:00
Ehsan Akhgari a2c09efe5b Bug 569523 - GetStartNodeAndOffset should take an nsIDOMNode** parameter, instead of nsCOMPtr<nsIDOMNode>*; r=roc 2010-06-10 22:46:51 -04:00
Craig Topper 5ec7efbb3a Remove nsICSSStyleSheet and replace all uses with nsCSSStyleSheet. (Bug 239008) r=dbaron 2010-05-11 13:41:47 -07:00
Masayuki Nakano db6dea9dfe Bug 552914 nsEditor::mFlags is never modified by SetFlags() r=smaug 2010-04-12 11:35:18 +09:00
Neil Deakin 7392f40101 Bug 501154, consolidate places where clipboard events are fired from, r=smaug,sr=neil 2010-03-19 14:32:13 -04:00
Masayuki Nakano 352495f292 Bug 545602 Unify the event listeners for editor r=smaug 2010-03-06 13:01:28 +09:00
Zack Weinberg 09642046d8 Bug 544112 part 2: DeCOMtaminate and devirtualize nsCSSLoader. r=bzbarsky sr=dbaron 2010-03-02 13:00:53 -08:00
Tom Dyas 5d4dbbefac Support receiving data from Mac OS X services into text and HTML editors. b=525389 r=josh r/sr=smaug 2010-01-10 20:45:45 -05:00
Josh Aas 450434347b Backed out changeset bee6729280d8 2009-12-30 17:29:26 -05:00
Tom Dyas 87caa70f37 Support receiving data from Mac OS X services into text and HTML editors. b=525389 r=josh r/sr=smaug 2009-12-30 15:58:33 -05:00
Hashem Masoud ae914487ea Bug 489502 - Replace NS_ASSERTION(0, ...) by NS_ERROR(...) in mozilla-central; r=benjamin 2009-08-14 16:09:00 +02:00
Joe Drew 2919d8a083 Bug 753 - Remove nsIImage, gfxIImageFrame, and their implementations, and expose an equivalent api on imgIContainer. r=roc,josh,bz,longsonr,vlad,karlt,jimm,bsmedberg,mfinkle,peterw,peterv sr=vlad,roc 2009-07-20 18:50:15 -07:00
Robert O'Callahan dfca4d786e Backed out changeset 4c139bbb4895 2009-07-10 18:17:46 +12:00
Robert O'Callahan 24e1c907f1 Bug 502156. Make editor use nsContentUtils::CreateContextualFragment instead of instantiating a parser directly, when HTML content is pasted/dropped. This removes some code and lets the editor use the HTML5 parser if enabled. r+sr=peterv 2009-07-10 14:07:04 +12:00
Arpad Borsos 62f2db8651 Bug 474369 - get rid of nsVoidArray, editor part; r=neil 2009-04-22 10:43:15 +02:00
Ehsan Akhgari 9806b4338b Backout revision 12536e9936b2 (bug 490879) because of unknown potential problems for Thunderbird 3.next 2009-05-03 22:03:40 +04:30
Ehsan Akhgari 241ebd1b83 Bug 490879 - Pasting images into rich text editors creates temporary moz-screenshot.jpg; r+sr=roc 2009-05-03 13:31:32 +04:30
Siddharth Agarwal 1f53493e18 Bug 484143 -- Remove AOLCiter, based on a patch by Phil Ringnalda <[email protected]>, r+sr=roc 2009-04-05 22:10:43 +05:30
Mats Palmgren 89233c5a94 Move 'bDidInsert' inside the loop so it correctly reflects if the current node was inserted. b=480972 r+sr=peterv 2009-04-01 03:05:44 +02:00
Asaf Romano bc90b6bad2 Bug 475066 attempt #2 -dragging a tab out of the browser window doesn't detach the tab (i.e. opens a window for that tab). r=enn, sr=jonas. 2009-03-27 09:50:03 +03:00
Mats Palmgren d3d967b265 Stop doing special child insertions if InsertNodeAtPoint() fails, continue with the generic insertion instead. b=478725 r+sr=peterv 2009-02-21 03:51:52 +01:00
Neil Deakin c2a1aca520 Bug 356295. Implement HTML5 drag-drop. r=smaug,neil,sr=roc 2008-08-27 08:07:27 -04:00
Boris Zbarsky aafb52ed89 Backed out changeset 6958399a2eb1 o try to fix failed mochitests on Windows and Linux 2008-08-25 11:08:28 -04:00
Neil Deakin 81eb052ee9 Bug 356295. Implement HTML5 drag-drop API. r=smaug,sr=roc 2008-08-25 21:56:29 +12:00
Dave Camp 711e7f6fc5 Backed out changeset 30d900751ca9 to fix unit test orange (Bug 356295) 2008-08-19 17:55:30 -07:00
Neil Deakin 9f2a8820ef Bug 356295. Implement HTML5 drag-drop. r=smaug,sr=roc 2008-08-20 10:31:45 +12:00
John Daniels 2aef16c1bf Bug 419532 – deCOMtaminate nsICaret. r+sr=roc 2008-07-16 12:52:01 +02:00
cd6e65e64a Bug 384116 - "Pasting an image from clipboard uses bad quality JPEG-compression (non-user selectable)" (Allow HTML editor paste images in selectable formats) [r=glazou sr=bienvenu] 2008-07-12 05:16:18 -05:00
5a3f9516a0 Make tagStack be an array of nsString instead of nsAutoString. Fixes bug 427941. r+sr=sicking, a=beltzner 2008-04-10 21:38:25 -07:00
c14622a54b Bug 420700 - Bustage fix. 2008-03-06 12:35:42 -08:00
0ccdef5621 Bug 418470 Go to line in View Source broken (NS_ERROR_UNEXPECTED at nsISelectionController.scrollSelectionIntoView) (retry) r+sr=roc, a1.9b4=beltzner 2008-02-28 07:28:37 -08:00
4aa69fa997 backing out the previous patch, becaused qm-centos5-01 dep unit test is orange 2008-02-28 05:59:25 -08:00
3538ede317 Bug 418470 Go to line in View Source broken (NS_ERROR_UNEXPECTED at nsISelectionController.scrollSelectionIntoView) r+sr=roc, a1.9b4=beltzner 2008-02-28 03:01:56 -08:00
2bcb8d27db Bug 418457, Remove support for onbeforecopy/cut/paste until we have a better implementation, r+sr=sicking 2008-02-24 02:55:37 -08:00
6928269b9d Don't pointlessly clone nsCOMArray b=265745 r=brade sr=rbs a=schrep 2008-01-07 02:14:28 -08:00
7a9f14ef0e Bug 374347 nsIClipboard uses the deprecated nsISupportsArray interface. r=roc,Neil,sspitzer,sr=roc,a=mtschrep 2007-11-20 11:06:30 -08:00
7da813fa71 bug 403664 - crash when pasting into textfield with rich text mode (a.o. Gmail) [@ nsParser::ParseFragment()]. r+sr=stuart 2007-11-15 16:23:54 -08:00
993fceabac Bug 403549: Avoid memory churn from nsContentUtils::CreateContextualFragment by giving nsIParser::ParseFragment a better signature. r/sr=stuart 2007-11-12 17:41:40 -08:00
e4270134fa Bug 396108 - Crash [@ PresShell::ResizeReflow] with iframes, binding, while onbeforecopy removing stuff, patch by Mathieu Fenniak, r=Olli.Pettay, sr=jst, a=jonas 2007-09-29 10:56:04 -07:00
003c62f011 Bug 393646 - Support reading image data off the clipboard on Mac r=josh,bienvenu sr=roc a=mconnor/drivers 2007-09-17 11:02:50 -07:00
4e29400551 Adding support for cut, copy, paste events. Patch by [email protected], [email protected], [email protected],[email protected] 2007-07-25 21:14:33 -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] 88f80a29af 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
2006-10-17 15:05:00 +00:00
[email protected] 6d4cac1607 Bug #223909 --> add editor support for pasting images from the clipboard into an HTML editor instance.
r/moa=glazman
2006-10-11 20:30:06 +00:00
[email protected] ccd44e209a bug 348669. Remove inappropriate nsCRT::free usage. r=timeless, sr=dbaron 2006-09-08 04:35:17 +00:00
[email protected] de453923d9 Bug 344050: Kill nsITextContent and move the methods to nsIContent. r/sr=jst 2006-07-19 04:36:36 +00:00
[email protected] 56d4432cd5 Bug 334300 nsHTMLEditor::InsertAsPlaintextQuotation uses quotesInPre uninitialized in a case that doesn't happen
r=neil sr=neil
2006-05-06 21:46:55 +00:00