Aryeh Gregor
8de5177c67
Bug 766360 - Rewrite nsEditor::DeleteSelectionAndPrepareToCreateNode; r=ehsan
2012-06-21 15:54:26 +03:00
Aryeh Gregor
f4aa9bb43b
Back out 66b3801292a0 for test failures
2012-06-24 10:30:13 +03:00
Aryeh Gregor
718762dae4
Bug 766360 - Rewrite nsEditor::DeleteSelectionAndPrepareToCreateNode; r=ehsan
2012-06-21 15:54:26 +03:00
Henri Sivonen
79e3d21a31
Bug 750096. r=bzbarsky.
2012-06-14 09:14:47 +03:00
Ryan VanderMeulen
bf2b50270d
Merge m-c to inbound
2012-06-10 17:59:00 -04:00
Olli Pettay
ac6b89bfdb
Bug 761613 - Merge nsIPrivateDOMEvent to nsIDOMEvent, r=jst
2012-06-10 21:14:30 +03:00
Aryeh Gregor
6865bb0c16
Bug 762862 - Rename nsTypedSelection to mozilla::Selection; r=ehsan
...
--HG--
rename : layout/generic/nsTypedSelection.h => layout/generic/Selection.h
2012-06-08 17:20:55 +03:00
Ehsan Akhgari
ca80281227
Bug 761051 - Use image/jpeg as the standard internal transferable image type, but continue respecting image/jpg as well; r=roc
2012-06-07 19:27:07 -04:00
Ehsan Akhgari
701213914b
Backout changeset 125438dda903 (bug 761051) because of Bq bustage
2012-06-07 19:49:37 -04:00
Ehsan Akhgari
b29a2f9ea8
Bug 761051 - Use image/jpeg as the standard internal transferable image type, but continue respecting image/jpg as well; r=roc
2012-06-07 19:27:07 -04:00
Aryeh Gregor
12c360bc6f
Bug 760143 - Get rid of useless nsresult in editor/; r=ehsan
2012-06-01 14:03:17 +03:00
Aryeh Gregor
eb75258d5c
Bug 748307 part 2 - Make WillDoAction take an nsTypedSelection; r=ehsan
2012-05-22 12:37:17 +03:00
Gervase Markham
ca171eec44
Bug 716478 - update licence to MPL 2.
2012-05-21 12:12:37 +01:00
Ms2ger
cf59f6497e
Merge m-c to m-i.
2012-05-18 13:32:20 +02:00
Ms2ger
72e09057b5
Bug 750053 - Part b: Stop using nsISelection::GetIsCollapsed in editor/libeditor; r=ehsan
2012-05-18 10:29:39 +02:00
Aryeh Gregor
7754f4e255
Bug 590640 part 6 - Don't create empty style tags unless we're about to insert text in them; r=ehsan
2012-05-10 15:00:14 +03:00
Aryeh Gregor
794a3e5f1b
Bug 590640 part 5 - Delete empty wrappers when we delete the selection; r=ehsan
2012-05-10 17:54:33 +03:00
Ehsan Akhgari
d50878a182
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
Aryeh Gregor
80c985d67f
Bug 751547 - Unify action enums in editor/; r=ehsan
2012-05-05 21:52:29 +03:00
Ehsan Akhgari
124634b2dc
Bug 741734 - Fire the paste event when pasting without formatting; r=roc
2012-04-03 13:41:04 -04:00
Ehsan Akhgari
f7a38030b2
Backed out changeset afff429aaf9a because of bad commit message
2012-04-03 17:47:34 -04:00
Ehsan Akhgari
90d053cb5e
commit cf0f05533cc23ba918e81ac3669449813799fe9f
...
Author: Ehsan Akhgari <ehsan.akhgari@gmail.com>
Bug 741734 - Fire the paste event when pasting without formatting; r=roc
2012-04-03 13:41:04 -04:00
aceman
8e5d9b42ce
Bug 732691 - Further cleanups in /mozilla/editor/libeditor/html/nsHTMLDataTransfer.cpp found in bug 368758. r=ehsan
2012-03-26 14:58:43 -07:00
Ehsan Akhgari
d33003e285
Bug 732585 - Drag and drop images into message window is broken; r=roc
2012-03-26 09:04:06 -07:00
Ms2ger
a033505149
Bug 738771 - Outparamdel nsEditor::GetDocument(); r=ehsan
2012-03-24 09:19:14 +01:00
Henri Sivonen
f2d3f89eb7
Bug 737417 part 1 - Split charset source constants out of nsIParser.h. r=smaug.
2012-03-22 16:42:42 +02:00
Neil Deakin
f9547aff6d
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
82c137d953
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
a39be24188
Bug 368758 - Remove obsolete workaround pref editor.quotesPreformatted. r=ehsan
2012-03-02 17:23:01 -05:00
Neil Deakin
4f1314899a
Bug 499008, part 7, merge html drag type constants into one place, r=ehsan
2012-02-17 09:17:00 -05:00
Neil Deakin
3a318c367e
Bug 499008, part 5, merge the text and html implementations of InsertFromDrop, r=ehsan
2012-02-17 09:16:59 -05:00
Neil Deakin
ed4ec92cee
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
de5e8ee45b
Bug 499008, part 2, move editor dragstart handling to ContentAreaDragDrop, r=ehsan
2012-02-17 09:16:59 -05:00
Daniel Holbert
706eb31699
Bug 458167 patch 6: s/it's/its/ in comments within editor. r=ehsan
2012-02-15 01:18:24 -08:00
David Zbarsky
e96cf389ad
Bug 682611 - Part 2: Remove nsIRange; r=smaug
2012-01-10 15:19:54 +01:00
David Zbarsky
27f2baf8e1
Bug 682611 - Part 1: Merge nsIDOMRange and nsIDOMNSRange; r=Ms2ger r=smaug
2012-01-10 15:19:54 +01:00
Ehsan Akhgari
e4da1ec539
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
74d9b6f1fb
Backout changeset be42bc18185a (bug 612128) because of bug 688423
2011-10-25 22:32:55 -04:00
Ehsan Akhgari
8cfbed187e
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).
--HG--
extra : rebase_source : 37317b4d95c2ea957be81420583a98a24f0864ac
2010-11-16 15:45:49 -05:00
Ehsan Akhgari
2a602a5685
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
b7753477cf
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
...
--HG--
extra : rebase_source : b4bae9a0f85abf2feb828609b50e756916b99a6f
2011-10-10 22:50:08 -07:00
Henri Sivonen
f0d03766ac
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
eb2cb918a4
Back out everything since 5435ee09cf7b. Tinderbox compilers hate me. r=epic-fail
2011-10-12 12:21:53 -07:00
Jeff Walden
77ebbde4ab
Bug 639469 - Implement mozilla::ArrayLength and mozilla::ArrayEnd, and replace uses of NS_ARRAY_LENGTH whenever possible. r=cjones
...
--HG--
extra : rebase_source : 860a8271bf7e51cde358f2a4185c410de1fc2960
2011-10-10 22:50:08 -07:00
Michael Wu
d8e503c38b
Bug 675553 - Switch from PRBool to bool on a CLOSED TREE , r=bsmedberg,khuey,bz,cjones
...
--HG--
rename : tools/trace-malloc/bloatblame.c => tools/trace-malloc/bloatblame.cpp
2011-09-28 23:19:26 -07:00
Ehsan Akhgari
85e673bce7
Backout changeset a72195ce0eaa (bug 612128) becasue of Fennec regressions
2011-09-22 18:09:44 -04:00
Brian R. Bondy
7270643d0e
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
ec2d83e852
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
b12351fbda
Bug 672054 - Part a: Remove nsIDOMNSUIEvent; r=smaug
2011-08-26 09:43:49 +02:00
Marco Castelluccio
b8fd68e0c6
Bug 612839 - Removed nsAHtml5FragmentParser. r=hsivonen
2011-08-14 10:39:26 -07:00