arno renevier
56a37f401e
Bug 338427 - Spellchecker should respect the langi attribute; r=ehsan
2011-08-12 15:12:45 -04:00
Ms2ger
56beecce2a
Bug 677340 - Return already_AddRefed instead of nsCOMPtr from various functions in editor/; r=ehsan
2011-08-11 15:29:59 +02:00
Henri Sivonen
7c13c0d93c
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
Ehsan Akhgari
62312843c5
Bug 414526 - Backspace at the beginning of a contenteditable element or delete at the end of one should not affect the rest of the contenteditable elements on the page; r=roc
...
The main fix here involves the introduction of the nsHTMLEditor::IsNodeInActiveEditor
API. This API returns true if the current selection in the document falls
inside the active editable section. The patch adds a bunch of checks using
this API to various places in the code to make sure that editing operations do
not escape their editing host.
There are also some unrelated fixes to range promotion code which fix the
bugs that have existed in that code before, but because of the lack of this
check were not uncovered before.
This patch also removes the nsTextEditUtils::InBody API which only made sense
in designMode documents, and was insufficient for contenteditable elements.
2011-07-14 11:25:07 -04:00
Ms2ger
2213f46da8
Bug 670499 - Make nsEditor::CreateEventListeners return void; r=ehsan
2011-07-15 12:18:35 +02: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
Benjamin Smedberg
6d442e547b
Bug 617539 - Remove branch interfaces, nsIHTMLEditor_MOZILLA_2_0_BRANCH, straight backout of revision e9d979b4b4a0, r=ehsan
2011-03-25 11:03:33 -04:00
Ehsan Akhgari
a2c435fafa
Bug 407127 - Part 6: Remove the presshell argument to nsIEditor::Init as it's no longer necessary; r=roc
2011-03-11 00:40:31 -05:00
Ehsan Akhgari
ebcf3d0ac2
Bug 635532 - Don't try to hide the editor anonymous UIs during the cycle collection unlink phase needlessly. r=roc,jst, a=blocker
2011-02-19 21:43:07 -08:00
Peter Van der Beken
c4aeb00d0d
Fix for bug 633738 (quora.com bloats out of control (part 3)) - make nsHTMLEditor participate in CC, clear editor from SHistory if we're not storing anything else. r=jst, a=jst.
2011-02-16 13:07:47 +01:00
Ehsan Akhgari
4311ed228e
Bug 612447 - Don't Recreate an editor object attached to a document in a frame if that frame is restyled; r=bzbarsky a=blocking-beta8+
2010-11-18 16:01:12 -05:00
Ehsan Akhgari
630ed7a4a6
Bug 611182 - Part 2: Correct the definition of EndOfDocument for the HTML editor in order to fix some tests which have been relying on the bogus node existing in non-empty editable documents; r=bzbarsky a=blocking-beta8+
2010-11-11 16:40:55 -05:00
Ehsan Akhgari
291032cb14
Bug 551704 - Part 5: Move breakIsVisible to nsIHTMLEditor_MOZILLA_2_0_BRANCH to make sure that nsIHTMLEditor does not change for Gecko 2.0; r=bzbarsky a=blocking-betaN+
...
This patch should be backed out on trunk when Gecko 2.0 has been branched.
2010-11-09 21:00:26 -05:00
Ehsan Akhgari
03166cf845
Bug 542317 - Caret missing when an iframe is put into design mode when it already has focus; r=roc a=blocking-final+
2010-10-29 12:30:52 -04:00
Ehsan Akhgari
a51eb769a7
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
Masayuki Nakano
1773ea498d
Bug 389372 - Contenteditable node is still editable without focus; r=ehsan,masayuki,roc sr=jst a=blocking-2.0:betaN+
2010-07-22 12:22:44 -04:00
Masayuki Nakano
e75f1ffb27
backout the previous my check-ins
2010-07-22 11:11:34 +09:00
Masayuki Nakano
a6e67f7876
Bug 389372 Contenteditable node is still editable without focus r=ehsan+roc, sr=jst
2010-07-22 08:46:52 +09:00
Masayuki Nakano
020e814d67
Bug 545775 part.6 makes caret visible r=ehsan
2010-06-19 19:39:39 +09:00
Masayuki Nakano
b51e1f6c6a
Bug 545775 part.5 Text editor in ASUS Forum doesn't work r=ehsan
2010-06-17 14:32:05 +09:00
Masayuki Nakano
30296477a8
Bug 545775 part.4 Move mutation observer to nsHTMLEditor r=ehsan
2010-06-17 14:31:15 +09:00
Masayuki Nakano
75d9430f62
Bug 545775 part.3 Move selection initializer into nsEditor r=ehsan
2010-06-17 14:30:42 +09:00
Masayuki Nakano
a892488fcd
Bug 545775 part.2 Refactor GetPIDOMEventTarget() r=ehsan
2010-06-17 14:30:10 +09:00
Masayuki Nakano
2b07a70fbc
Bug 545775 part.1 Separate GetRootElement() r=ehsan
2010-06-17 14:29:40 +09:00
Masayuki Nakano
2ed7d1345b
Bug 564669 Remove nsIPlaintextEditor::handleKeyPress() r=smaug+ehsan, sr=roc
2010-06-10 10:16:58 +09:00
Ehsan Akhgari
b6c7f202ba
Backed out changeset 634e1f2cf46c because it breaks the Esc key in XUL dialogs (possibly among others)
2010-06-03 21:28:03 -04:00
Masayuki Nakano
fe3d0e12b0
Bug 564669 Remove nsIPlaintextEditor::handleKeyPress() r=smaug, sr=roc
2010-06-02 16:24:56 +09:00
timeless@mozdev.org
5312a1b79d
Bug 566552 Spell offset with an s especially nsHTMLEditor::AddPositioningOffet
...
r=glazou
2010-05-24 14:20:59 +02:00
Michael Kohler
8550fb091a
Bug 564091: Fix spelling of nonexistent across the tree. r=timeless
...
--HG--
extra : rebase_source : 4f15f7fd6f90926b77d136be83af7f22c5ffa830
2010-05-23 12:26:15 -07:00
Craig Topper
b08d6c5ef5
Remove nsICSSStyleSheet and replace all uses with nsCSSStyleSheet. (Bug 239008) r=dbaron
2010-05-11 13:41:47 -07:00
L. David Baron
889fcc7adc
Removed unused member variable and code. (Bug 564074) r=ehsan
2010-05-05 18:20:43 -07:00
Masayuki Nakano
ebc9405576
Bug 488420 IME enabled state is not modified when a focused editor's readonly attribute is changed r=smaug
2010-05-05 02:40:39 +09:00
Masayuki Nakano
acb56f8ab0
Bug 558970 nsEditorEventListener should store its owner as nsEditor rather than nsIEditor r=smaug
2010-04-19 21:20:42 +09:00
Masayuki Nakano
0d33112480
Bug 552914 nsEditor::mFlags is never modified by SetFlags() r=smaug
2010-04-12 11:35:18 +09:00
Zack Weinberg
6ce13b76a5
Bug 544112 part 2: DeCOMtaminate and devirtualize nsCSSLoader. r=bzbarsky sr=dbaron
...
--HG--
rename : layout/style/nsICSSLoader.h => layout/style/nsCSSLoader.h
2010-03-02 13:00:53 -08:00
Tom Dyas
0f154b629d
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
b3e5cdbc41
Backed out changeset bee6729280d8
2009-12-30 17:29:26 -05:00
Tom Dyas
8917c60dff
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
Robert O'Callahan
f4d993019a
Backed out changeset 4c139bbb4895
...
--HG--
extra : rebase_source : c4bdf008d2ee70a9d0f74de567ae58de02123b20
2009-07-10 18:17:46 +12:00
Robert O'Callahan
0ee480bf67
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
650695050a
Bug 474369 - get rid of nsVoidArray, editor part; r=neil
2009-04-22 10:43:15 +02:00
Chris Pearce
862acdd94c
Bug 431086 - nsHTMLObjectResizer refactor.
2009-04-14 15:05:34 +12:00
Fred Jendrzejewski
f60688af65
Fix for bug 457104 (nsTextServicesDocument::FirstSelectedBlock dead?). r/sr=peterv.
...
--HG--
extra : rebase_source : 73e620aade6618aa90cebe0784754a68d5479a6d
2009-04-08 14:59:06 +02:00
Fred Jendrzejewski
d8f1bff747
Bug 461047 - Replace nsStringArray with nsTArray<nsString>. r+sr=roc
2009-01-18 21:14:14 +01:00
Robert O'Callahan
804cc7ee91
Backed out changeset 8019a959aade
2009-01-16 22:20:33 +13:00
Fred Jendrzejewski
065bde22f3
Bug 461047. Replace nsStringArray with nsTArray<nsString>. r+sr=roc
...
--HG--
extra : rebase_source : 7a20af24c97867efbb28dafa6a70ea1b4cf00e58
2009-01-16 20:51:04 +13:00
Arpad Borsos
06188d3762
Bug 414046 - Remove nsPresShell::GetLayoutObjectFor(), r/sr=roc
2008-09-04 22:32:39 +02:00
jruderman@hmc.edu
2a1f88964b
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
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