Ms2ger
606df6e7a8
Bug 738771 - Outparamdel nsEditor::GetDocument(); r=ehsan
2012-03-24 09:19:14 +01:00
Henri Sivonen
b191345374
Bug 737417 part 1 - Split charset source constants out of nsIParser.h. r=smaug.
2012-03-22 16:42:42 +02:00
Neil Deakin
e1751a6977
Bug 605991, prevent drops on a parent content page from a child frame from a different domain, r=smaug
2012-03-20 11:21:41 -04:00
Henri Sivonen
894541381a
Bug 650776 part 1 - Introduce a new HTML source to HTML source sanitizer XPCOM API. r=smaug.
2012-03-19 10:16:20 +02:00
aceman
5fb2f43fa0
Bug 368758 - Remove obsolete workaround pref editor.quotesPreformatted. r=ehsan
2012-03-02 17:23:01 -05:00
Neil Deakin
deb52112b3
Bug 499008, part 7, merge html drag type constants into one place, r=ehsan
2012-02-17 09:17:00 -05:00
Neil Deakin
26218de78a
Bug 499008, part 5, merge the text and html implementations of InsertFromDrop, r=ehsan
2012-02-17 09:16:59 -05:00
Neil Deakin
116989261d
Bug 499008, part 4, convert editor drop handling to use datatransfers instead of the drag service, r=ehsan
2012-02-17 09:16:59 -05:00
Neil Deakin
3e84562081
Bug 499008, part 2, move editor dragstart handling to ContentAreaDragDrop, r=ehsan
2012-02-17 09:16:59 -05:00
Daniel Holbert
817a88fc68
Bug 458167 patch 6: s/it's/its/ in comments within editor. r=ehsan
2012-02-15 01:18:24 -08:00
David Zbarsky
c6abd95045
Bug 682611 - Part 2: Remove nsIRange; r=smaug
2012-01-10 15:19:54 +01:00
David Zbarsky
b5b429da23
Bug 682611 - Part 1: Merge nsIDOMRange and nsIDOMNSRange; r=Ms2ger r=smaug
2012-01-10 15:19:54 +01:00
Ehsan Akhgari
b729a2da2a
Bug 613517 - Remove support for making links relative when pasting/dropping HTML data over an editable area; r=roc
2011-12-30 13:04:02 -05:00
Ehsan Akhgari
42a9cf9745
Backout changeset be42bc18185a (bug 612128) because of bug 688423
2011-10-25 22:32:55 -04:00
Ehsan Akhgari
376668740e
Bug 612128 - Prevent the editor from modifying nodes which are not under an editing host; r=roc,bzbarsky
...
This patch ensures that the NODE_IS_EDITABLE flag is only set on nodes living
under an editing host. Things like text controls which used to have that flag
previously will not have it any more. The flag would be set on their anonymous
div node instead. Note that if text controls actually fall under an editing
host, they will get the NODE_IS_EDITABLE flag.
This patch also makes nsHTMLEditor::IsEditable return sane results (text nodes
are always considered to be editable).
2010-11-16 15:45:49 -05:00
Ehsan Akhgari
478ad1a412
Bug 690892 - Replace PR_TRUE/PR_FALSE with true/false on mozilla-central; rs=dbaron
...
Landing on a CLOSED TREE
2011-10-17 10:59:28 -04:00
Jeff Walden
7d613942b0
Bug 693469 - Implement mozilla::ArrayLength and mozilla::ArrayEnd, and replace uses of NS_ARRAY_LENGTH whenever possible. (Exceptions: assigning to static initializers, use in static assertions, as template parameters, etc. These will go away when the relevant compilers have C++11 constexpr support.) r=cjones
2011-10-10 22:50:08 -07:00
Henri Sivonen
4c43b849bd
Bug 677050 - Return NS_ERROR_DOM_INVALID_STATE_ERR if fragment parsing is invoked re-entrantly. r=bzbarsky.
2011-10-14 13:39:19 +03:00
Jeff Walden
c5e5f873d1
Back out everything since 5435ee09cf7b. Tinderbox compilers hate me. r=epic-fail
2011-10-12 12:21:53 -07:00
Jeff Walden
946f2ae0e3
Bug 639469 - Implement mozilla::ArrayLength and mozilla::ArrayEnd, and replace uses of NS_ARRAY_LENGTH whenever possible. r=cjones
2011-10-10 22:50:08 -07:00
Michael Wu
0fe7772ece
Bug 675553 - Switch from PRBool to bool on a CLOSED TREE , r=bsmedberg,khuey,bz,cjones
2011-09-28 23:19:26 -07:00
Ehsan Akhgari
655e146ad3
Backout changeset a72195ce0eaa (bug 612128) becasue of Fennec regressions
2011-09-22 18:09:44 -04:00
Brian R. Bondy
065844a717
Bug 598289 - Unable to paste CF_HTML from clipboard if StartHTML/EndHTML is -1. r=ehsan
2011-09-21 13:22:53 -04:00
Ehsan Akhgari
3aef5b99c4
Bug 612128 - Prevent the editor from modifying nodes which are not under an editing host; r=roc,bzbarsky
...
This patch ensures that the NODE_IS_EDITABLE flag is only set on nodes living
under an editing host. Things like text controls which used to have that flag
previously will not have it any more. The flag would be set on their anonymous
div node instead. Note that if text controls actually fall under an editing
host, they will get the NODE_IS_EDITABLE flag.
This patch also makes nsHTMLEditor::IsEditable return sane results (text nodes
are always considered to be editable).
2010-11-16 15:45:49 -05:00
Ms2ger
717aa1d9e1
Bug 672054 - Part a: Remove nsIDOMNSUIEvent; r=smaug
2011-08-26 09:43:49 +02:00
Marco Castelluccio
09cdbdd268
Bug 612839 - Removed nsAHtml5FragmentParser. r=hsivonen
2011-08-14 10:39:26 -07:00
Ms2ger
2cecbb3535
Bug 677101, part c - Reduce nsIDOMText.h inclusions; r=volkmar
2011-08-11 15:29:58 +02:00
Ms2ger
a700090ecc
Bug 677101, part b - Remove nsContentUtils.h includes from headers; r=volkmar
2011-08-11 15:29:50 +02:00
Jonas Sicking
aed52c6d27
Bug 661297 Part 1: Remove Add/RemoveEventListenerByIID API. r=smaug
2011-08-08 11:26:26 -07:00
Henri Sivonen
2fa0fb46af
Bug 596182 - Make fragment parsers global. Remove resulting dead code. r=Olli.Pettay, r=bzbarsky.
2011-08-01 10:48:24 +03:00
Henri Sivonen
56831e4005
Bug 482909 part 2 - Implement an HTML/SVG/MathML sanitizer independently of parsers or serializers. r=bzbarsky.
2011-07-29 14:48:04 +03:00
Jonathan Kamens
ab84cd30ca
Bug 489202 - selection moves to top when html containing meta, link, or style elements is pasted or inserted; r=ehsan
2011-07-26 13:59:50 -04:00
Masayuki Nakano
354cc7faf5
Bug 664437 editor should use mozilla::Preferences r=ehsan
2011-06-17 09:59:29 +09:00
Ms2ger
f2d033de5b
Bug 655514 - Remove nsIDOMDocumentTraversal; f=ehsan r=jonas
2011-05-15 12:07:30 +02:00
Ed Morley
5939100a93
Bug 655756 - Remove final XP_MAC remnants; r=josh
2011-05-10 20:24:48 +02:00
Neil Rashbrook
4543d5958c
Bug 647682 Can't copy and paste local links in <editor> documents r=ehsan f=bz
2011-04-28 20:59:45 +01:00
6577f6eca4
Bug 620423 - nsHTMLEditor::ParseCFHTML foolishly checks aStuffToPaste instead of *aStuffToPaste; r=neil a=roc
2011-01-11 10:20:31 -05:00
Ehsan Akhgari
5718c1084d
Bug 609632 followup: Make dropping arbitrary image files on editable areas actually work; r=roc a=blocking-beta8+
2010-11-16 13:54:31 -05:00
Ehsan Akhgari
b6e8a9dce9
Bug 609632 - More embarrassments, shame on me; a=shameful-ehsan
2010-11-15 18:13:25 -05:00
Ehsan Akhgari
a25b5b8d23
Bug 609632 - Build bustage fix; a=bustage
2010-11-15 18:01:45 -05:00
Ehsan Akhgari
1b1ea278cf
Bug 609632 - Insert image files dropped onto editable areas as data: URI images; r=roc a=blocking-beta8+
2010-11-06 18:49:26 -04:00
Ehsan Akhgari
b1c895c961
Bug 512717 - Don't handle files being dropped in an editable area; r=peterv f=sicking a=bsmedberg
2010-11-02 22:57:17 -04:00
Ehsan Akhgari
7a443fcb1b
Bug 599322 - Base href ignored for drag/drop or copy/paste in designMode; r=roc a=blocking-final,1.9.2.11,1.9.1.14
2010-09-24 15:02:21 -04:00
Ehsan Akhgari
616df803cc
Bug 596300 - Element Attributes dropped when dragging and dropping in DesignMode/ContentEditable sections; r=bzbarsky a=blocking-betaN,1.9.2.11,1.9.1.14
2010-09-27 13:28:54 -04:00
Ehsan Akhgari
9503e214a0
Bug 597784 - The inserthtml command should not use a sanitizing fragment content sink; r=bzbarsky a=blocking-betaN,1.9.2.11,1.9.1.14
2010-09-27 13:21:34 -04:00
Antti Jarvelin
3fe41153b3
Bug 582912 - Extend copy paste support of Fennec Qt port. r=dougt
2010-07-30 12:46:30 -07:00
Ehsan Akhgari
ab9c9f7436
Bug 490879 - Pasting images into rich text editors creates temporary moz-screenshot.jpg; r+sr=roc
2009-05-15 13:14:16 +04:30
Ehsan Akhgari
c24fe1ce5b
Bug 572642 - Part 1: Allow comments, and disallow styles when pasting CF_HTML content; r=roc
2010-06-23 14:40:08 -04:00
Ehsan Akhgari
ebfec6da3d
Bug 572618 - Make debugging the editor easier - Part 4: multiline version of part 1; r=roc
2010-06-17 16:44:35 -04:00
Ehsan Akhgari
ea32707944
Bug 572618 - Make debugging the editor easier - Part 3: multiline version of part 2; r=roc
2010-06-17 16:40:48 -04:00