Commit Graph

857 Commits

Author SHA1 Message Date
Ehsan Akhgari
6142aabb94 Bug 688789 - Stop touching the frame tree to determine whether a node is editable or not; r=roc 2011-10-17 00:11:29 -04: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
Joel Maher
fd8629a74b Bug 573735 - support waitForClipboard events in e10s. r=jdm,ted 2011-10-14 07:52:02 -04: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
Ehsan Akhgari
3f9bc5233b Backout changeset bc4f8b8d18b3 (bug 674770) because of the failing test on Windows 2011-10-12 13:51:14 -04:00
Ehsan Akhgari
9c7c34b3ee Bug 674770 - contenteditable breaks middle-click to open links when middlemouse.paste=true; r=roc 2011-09-29 15:24:13 -04: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
Martijn Wargers
c3d7075c86 Bug 634626 - Move test_bug36682 to mochitest chrome, add layout.spellcheckDefault pref test; r=ehsan 2011-09-22 17:35:24 +01:00
Masayuki Nakano
54e3afdd66 Bug 543789 part.7 Dispatch compositionupdate event and set data value of compositionend event in all IME handling tests r=smaug, sr=roc 2011-09-22 18:17:41 +09:00
Brian R. Bondy
785005832f Bug 598289 - Test case for CF_HTML parsing with StartHTML/EndHTML set to -1. r=ehsan 2011-09-21 13:22:54 -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
Ian Neil
3b5e70377b Test case for bug 552782; r=ehsan 2011-09-20 12:27:24 -04:00
Ehsan Akhgari
cc23586321 Bug 414178 - Do not allow to inject a list outside of the active editing host; r=roc 2011-09-13 11:39:40 -04:00
Ed Morley
7be2d82964 Backout changeset b8d354d37128 (bug 574005) for Linux M3 orange; a=bbondy 2011-09-13 00:49:59 +01:00
Brian R. Bondy
ab466ccba9 Bug 574005 - Make obtaining CF_HTML directly work on Windows and Linux (application/x-moz-nativehtml); r=ehsan 2011-09-12 18:38:57 -04:00
Fabien Cazenave
ec441b95e5 Bug 570144 - After pressing Enter, editable DIVs in list items are duplicated; r=ehsan 2011-09-12 15:25:38 -04:00
Masayuki Nakano
27777a6f2a Bug 669028 part.9 editor should use mozilla::LookAndFeel rather than nsILookAndFeel r=ehsan 2011-09-09 11:27:12 +09:00
Ehsan Akhgari
70eb2838de Bug 682650 - Use an unsigned 32-bit integer as the container of offsets inside text nodes; r=roc
(I bet that there are text nodes on the web which have more than 65535 characters on the Web!)
2011-09-08 11:35:33 -04:00
Fabien Cazenave
1867ac8ecd Bug 462758 - elements with contenteditable=true and position:absolute can be moved around the page; r=ehsan 2011-09-07 13:34:58 -04:00
Fabien Cazenave
de80659037 Bug 290026 - Outdent of List does not work properly; r=ehsan 2011-09-02 12:21:33 -04:00
Fabien Cazenave
82c46e275a Bug 291780 - List outdent is not working properly; r=ehsan 2011-09-02 12:19:09 -04:00
Marco Castelluccio
7cb0506077 Bug 682744 - Sprinkle some do_QueryObject fairy dust around the tree; r=khuey 2011-08-30 22:45:31 +01:00
Ms2ger
b12351fbda Bug 672054 - Part a: Remove nsIDOMNSUIEvent; r=smaug 2011-08-26 09:43:49 +02:00
Fabien Cazenave
e48e824329 Bug 677752 - [contentEditable] indent and justify* fail on editable nodes that have only one child; r=ehsan
Issue #1: indent/justify* can create non-valid fragments.
When applying a block-level formatting to a text node, Gecko creates a div or
blockquote block around the text node and sets the corresponding "align" or
"style" attribute. This patch checks that the active editing host can contain
such a block-level element.

Issue #2: indent/justify* can modify the active editing host.
On the first child of the editable element, the selection is extended outside of
the active editing host -- which causes a few issues for our test cases.
In this patch, this issue is "solved" by modifying
`nsHTMLEditRules::GetPromotedPoint' for block-level operations.


** About the tests **

Sorry for the long explanation but I prefer to be as sharp as possible when I
have to modify existing unit tests.

This patch raises 34 unit test "failures" which are improvements.
Two test files are concerned and have been modified accordingly:
  * test_htmleditor_keyevent_handling
  * test_richtext2.html

One test has been clarified (no real modification):
  * test_bug414526.html

Of course, a specific unit test has been added, see `test_bug677752.html'.


** editor/libeditor/html/tests/test_htmleditor_keyevent_handling.html **
Outdenting now works properly, which results in 4 `FAIL'.

  * 7372 ERROR TEST-UNEXPECTED-FAIL
      | non-tabbable HTML editor: Shift+Tab after Tab on UL
      - got "<ul><li id=\"target\">ul list item</li></ul>",
      expected "<ul><ul><li id=\"target\">ul list item</li></ul></ul>"

  * 7379 ERROR TEST-UNEXPECTED-FAIL
      | non-tabbable HTML editor: Shift+Tab on UL
      - got "ul list item",
      expected "<ul><li id=\"target\">ul list item</li></ul>"

  * 7415 ERROR TEST-UNEXPECTED-FAIL
      | non-tabbable HTML editor: Shift+Tab after Tab on OL -
      got "<ol><li id=\"target\">ol list item</li></ol>",
      expected "<ol><ol><li id=\"target\">ol list item</li></ol></ol>"

  * 7422 ERROR TEST-UNEXPECTED-FAIL
      | non-tabbable HTML editor: Shfit+Tab on OL
      - got "ol list item",
      expected "<ol><li id=\"target\">ol list item</li></ol>"


** editor/libeditor/html/tests/browserscope/test_richtext2.html **
The 15 tests that now pass result in 15 `FAIL' and 15 `UNEXPECTED_PASS'.
Here's an overview of what we had before the patch:

  * Section A - Apply Formatting Tests: +10 points
                    before patch: 21/31 (Selection:  9/31)
                     after patch: 28/31 (Selection: 12/31)

      FB:BQ_TEXT-1_SI    EXECUTION EXCEPTION
      FB:BQ_TEXT-1_SI    EXECUTION EXCEPTION
      FB:BQ_BR.BR-1_SM   EXECUTION EXCEPTION
      FB:BQ_BR.BR-1_SM   EXECUTION EXCEPTION
      IND_TEXT-1_SI      EXECUTION EXCEPTION
      IND_TEXT-1_SI      EXECUTION EXCEPTION
      JC_TEXT-1_SC       editing host is modified
      JF_TEXT-1_SC       editing host is modified
      JL_TEXT-1_SC       editing host is modified
      JR_TEXT-1_SC       editing host is modified

  * Section AC - Apply Formatting Tests, using styleWithCSS: +5 points
                    before patch:  7/18 (Selection:  5/18)
                     after patch: 12/18 (Selection:  5/18)

      IND_TEXT-1_SI      editing host is modified
      JC_TEXT-1_SC       editing host is modified
      JF_TEXT-1_SC       editing host is modified
      JL_TEXT-1_SC       editing host is modified
      JR_TEXT-1_SC       editing host is modified


** editor/libeditor/html/tests/test_bug414526.html **
This test has been clarified to get more explicit report messages -- the test
themselves haven't been changed. A `todo_is' test has been added.
This test is the one that shows that `IsNodeInActiveEditor' can't be modified,
and that limiting the range promotion for block-level operations is preferrable.
2011-08-23 15:10:14 -04:00
Fabien Cazenave
e60f67e68a Bug 680279 - Splitting Gmail rich-text list with Enter misplaces the caret; r=ehsan
The patch for bug 674861 has introduced a regression.
When a list is splitted, a new paragraph should inserted before the new list.
2011-08-19 18:14:04 -04:00
Ehsan Akhgari
1a870eac6e Backout changeset 46dc0fb0b1cb (bug 674770) because of yet another mochitest-3 Windows failure
--HG--
extra : rebase_source : a0739cd5d2eb66015d785c107151507f8a8113e3
2011-08-18 16:25:11 -04:00
Ehsan Akhgari
f53498d5e9 Bug 674770 - contenteditable breaks middle-click to open links when middlemouse.paste=true; r=roc 2011-07-28 17:42:38 -04:00
Fabien Cazenave
17c25f96ca Bug 674212 - Modifying text of a contenteditable DOM Node removes spellcheck underlinings; r=ehsan 2011-08-17 17:12:46 -04:00
Fabien Cazenave
4862d93606 Bug 676401 - The document.queryCommandEnabled API doesn't take the active editing host into account; r=ehsan
* adding an `isSelectionEditable' readonly attribute in <nsIEditor>;
 * modified all ::IsCommandEnabled methods in editor/ to take it into account:

./libeditor/base/nsEditorCommands.cpp (15 commands)
  nsUndoCommand                   'undo'
  nsRedoCommand                   'redo'
  nsClearUndoCommand              'clearUndo'
  nsCutCommand                    'cut'
  nsCutOrDeleteCommand            ?
  nsCopyCommand                   'copy'
  nsCopyOrDeleteCommand           ?
  nsPasteCommand                  'paste'
  nsPasteTransferableCommand      ?
  nsSwitchTextDirectionCommand    ?
  nsDeleteCommand                 'delete'
  nsSelectAllCommand              'selectAll'
  nsSelectionMoveCommands         ?
  nsInsertPlaintextCommand        ?
  nsPasteQuotationCommand         ?

./composer/src/nsComposerCommands.cpp (15 commands)
  nsBaseStateUpdatingCommand      ?
  nsPasteNoFormattingCommand      ?
  nsRemoveListCommand             ?
  nsIndentCommand                 'indent'
  nsOutdentCommand                'outdent'
  nsMultiStateCommand             ?
  nsHighlightColorStateCommand    'hiliteColor'
  nsAbsolutePositioningCommand    ?
  nsDecreaseZIndexCommand         ?
  nsIncreaseZIndexCommand         ?
  nsRemoveStylesCommand           'removeFormat'
  nsIncreaseFontSizeCommand       'increaseFontSize'
  nsDecreaseFontSizeCommand       'decreaseFontSize'
  nsInsertHTMLCommand             'insertHTML'
  nsInsertTagCommand              ?

./composer/src/nsComposerDocumentCommands.cpp (3 commands)
  nsSetDocumentOptionsCommand     ?
  nsSetDocumentStateCommand       ?
  nsDocumentStateCommand          n/a (unpatched)
2011-08-17 13:28:03 -04:00
Fabien Cazenave
c85fd56970 Bug 456798 — Implement document.queryCommandSupported
Rationale: a command is supported if it can be converted to an internal Midas
command. `nsCommandManager::IsCommandSupported' might not be needed any more.

Corollary: document.queryCommandEnabled should return false on unsupported
commands without raising any exception.

Browserscope tests: +43 points = 258 failed tests...
 * Q section: 0/48 => 42/48
   42 tests used to fail (execution exception), now pass
 * QE section: 36/46 => 37/46
   garbage-1_TEXT-1 used to fail, now passes
In these two sections, a lot of tests that used to raise an exception now return
`false' (that's still a FAIL, but that's not the same kind of FAIL).

Other Browserscope tests are not affected by this patch.
The status of this test suite (currentStatus.js) has been updated accordingly.
2011-08-17 08:04:14 -04:00
Marco Castelluccio
b8fd68e0c6 Bug 612839 - Removed nsAHtml5FragmentParser. r=hsivonen 2011-08-14 10:39:26 -07:00
Vidar Haarr
5869e7ff62 Bug 232691 - Replace nsString emptyString; with EmptyString() in nsHTMLEditRules; r=ehsan 2011-08-13 14:59:48 +02:00
Ms2ger
66ab4757eb Merge m-c to m-i 2011-08-13 14:47:03 +02:00
Malini Das
960a7c7495 Bug 367393 - Add a packed MochiKit that contains only SimpleTest dependencies- new tests. r=jmaher, a=test-only 2011-08-12 12:21:44 -04:00
Malini Das
a0832b693a Bug 367393 - Add a packed MochiKit that contains only SimpleTest dependencies- plain tests 2/2. r=jmaher, a=test-only 2011-08-12 12:21:44 -04:00
Malini Das
e306b1b5aa Bug 367393 - Add a packed MochiKit that contains only SimpleTest dependencies- chrome. r=jmaher, a=test-only 2011-08-12 12:21:36 -04:00
Ms2ger
72dee98c7b Bug 677340 - Return already_AddRefed instead of nsCOMPtr from various functions in editor/; r=ehsan 2011-08-11 15:29:59 +02:00
Ms2ger
d377c55ed2 Bug 677101, part c - Reduce nsIDOMText.h inclusions; r=volkmar 2011-08-11 15:29:58 +02:00
Ms2ger
9414376b01 Bug 677101, part b - Remove nsContentUtils.h includes from headers; r=volkmar 2011-08-11 15:29:50 +02:00
Fabien Cazenave
d46ef85530 Bug 442186 - execCommand justify* fails on first line of contenteditable; r=ehsan
Given the way GetPromotedPoint / IsNodeInActiveEditor are designed, when the
selection is in the first child element of the active editing host the
selection is extended outside of editor node.

As a result, `GetNodesFromSelection' (which is called at the beginning of
`WillAlign') returns two nodes:
1. an empty text node, which is enclosed in a <div style="text-align: ***">;
2. the first child element, which is destroyed when it's a <div>;

Proposed solution:
#1 can be avoided by checking that the node is editable in `WillAlign';
#2 can be avoided by not dropping <div> blocks in `RemoveAlignment'.
This is an opportunity to simplify `RemoveAlignment' a bit.
2011-08-10 19:03:34 -04:00
arno renevier
2485241198 Bug 338427 - Spellchecker should respect the langi attribute; r=ehsan 2011-08-12 15:12:45 -04:00
Ian Neal
081ca4e9b3 Test for Bug 291780 - List outdent is not working properly r=ehsan 2011-08-10 00:14:58 +01:00
Ian Neal
49689844b3 Test for Bug 290026 - Outdent of List does not work properly r=ehsan 2011-08-10 00:14:53 +01:00
Ehsan Akhgari
6690ac6ddf Merge the latest green changeset on mozilla-inbound to mozilla-central 2011-08-09 08:09:13 -04:00
Jan Varga
5020b003ce Bug 617528 Part 2 - Core implementation r=smaug
--HG--
rename : content/html/content/test/test_bug418756.html => content/html/content/test/test_checked.html
2011-08-08 19:31:32 +02:00
Fabien Cazenave
5dd43c9b97 Bug 674861 - contentEditable lists should not be splittable; r=ehsan
In design mode, pressing [Return] twice in a list (ol, ul, dl) splits the list
and inserts a paragraph. When the list is the active editing host, it should not
be split.
2011-08-02 15:04:43 -04:00
Henri Sivonen
0176915bb7 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
147c3287ec 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
Michael Wu
6a28121ce1 Bug 671417 - Incorrect use of PRBool when other types are more appropriate or vice versa, r=bz,ehsan,dwitte,joe,vlad,luke,mak,roc 2011-07-26 23:43:37 -07:00
Fabien Cazenave
0999dbd2e1 Bug 620319 - crash [@ nsHTMLEditor::GetInlinePropertyBase] if !aAttribute; r=ehsan
Adds a null check to avoid dereferencing a null pointer.

--HG--
extra : rebase_source : 75b97cafad2318af60956d88d12da51a00224949
2011-07-26 18:09:12 -04:00
Fabien Cazenave
bf28416694 Bug 620283 - crash [@ nsHTMLEditor::RemoveStyleInside] if !aAttribute; r=ehsan
Adds a null check to avoid dereferencing a null pointer.

--HG--
extra : rebase_source : ba8bfcabbc2f17b0b0cea1d90dbed54a8471bad9
2011-07-26 18:08:55 -04:00
Fabien Cazenave
9e280efb90 Bug 460740 - [contentEditable] invalid results when pressing Enter in a bunch of different cases; r=ehsan
In some situations, pressing Enter in a contentEditable node fails:
 * in an editable paragraph, list item or header, pressing Enter
   creates another editable block;
 * in an inline editable node, pressing Enter does nothing.

That's because nsHTMLEditRules::WillInsertBreak doesn't check for the active
editing host. This patch should fix it.
2011-07-26 17:38:23 -04:00
Jonathan Kamens
e4101fc489 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
Fabien Cazenave
2c92600954 Bug 688599 - do not expand selection for deletion outside of the active editing host; r=ehsan
When a selection in an inline element is to be deleted, it is first expanded to
the parent block in order not to leave any empty inline element. This patch
ensures that the selection cannot be expanded outside of the contentEditable
element (active editing host).
2011-07-25 17:11:46 -04:00
Ehsan Akhgari
cadef9ec48 Merge mozilla-central and mozilla-inbound 2011-07-24 12:52:51 -04:00
Joel Maher
344f4a7302 Bug 666654 - split eventutils.js functions that are chrome only into chromeutils.js. r=ted, a=test-only 2011-07-23 09:02:40 -04:00
Ms2ger
2a3176b2ee Bug 666665 - Remove isindex content code; r=sicking+hsivonen 2011-07-23 11:45:38 +02:00
Fabien Cazenave
81bff8a94d Bug 449243 - contentEditable: insert <p> instead of <br>; r=ehsan
In editable elements, create a paragraph instead of a <br> node
when [Return] is pressed:
 * once in a header node (<h[1..6]>);
 * twice in a list item node (<li>).
2011-07-22 12:19:17 -04:00
Mounir Lamouri
2e1dfaef9e Bug 669310 - Fixes various includes and forward declarations. f=Ms2ger r=jst 2011-07-20 12:18:54 -07:00
Ehsan Akhgari
ee5215c7a6 Revert to changeset e0ce7821fce1 because the latest push broke all of the builds DONTBUILD 2011-07-19 16:25:54 -04:00
Mounir Lamouri
5937d63965 Bug 669310 - Fixes various includes and forward declarations. f=Ms2ger r=jst 2011-07-19 11:22:43 -07:00
Mounir Lamouri
b088e154d6 Backed out bug 669310, bug 668013, bug 667887 and bug 669886 due to build bustage. 2011-07-19 10:49:48 -07:00
Mounir Lamouri
d2f5a3b4c3 Bug 669310 - Fixes various includes and forward declarations. f=Ms2ger r=jst 2011-07-18 17:05:10 -07:00
arno renevier
ba6b969048 Bug 417418 - do not treat context click as double click anymore in editor; r=ehsan 2011-07-18 14:42:56 -04:00
Ehsan Akhgari
13c7a908e4 Backout changeset 65e0d40a57b7 (bug 417418) because of unit test failure 2011-07-18 16:29:22 -04:00
arno renevier
89a10e6166 Bug 417418 - do not treat context click as double click anymore in editor; r=ehsan 2011-07-18 14:42:56 -04:00
Ehsan Akhgari
a6b5feed16 Bug 671672 - Reduce a bunch of console spam in debug builds caused by the HTML editor; r=roc 2011-07-14 17:06:37 -04:00
Ehsan Akhgari
4a9dec68d7 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
7a41ef9f3e Bug 670499 - Make nsEditor::CreateEventListeners return void; r=ehsan 2011-07-15 12:18:35 +02:00
Simon Montagu
ae37ce037d Undefine caret bidi level during reflow instead of on text entry. Bug 664087, r=roc 2011-07-05 08:42:32 +03:00
Jonas Sicking
5491caaaf4 Bug 661297 Part 1: Remove Add/RemoveEventListenerByIID API. r=smaug 2011-08-08 11:26:26 -07:00
Ehsan Akhgari
c6e514aa14 Bug 549262 - Enable the (shift-)space shortcut key for scrolling up/down in pages containing editable elements; r=roc
--HG--
extra : rebase_source : 99706dd2e678052b345b011ea76f17370ad1a227
2010-09-06 16:59:41 -04:00
Ehsan Akhgari
beba2dbb1d Bug 439808 - Make sure that deleting a selection works in inline contenteditable elements which have a non-editable parent block; r=roc
--HG--
extra : rebase_source : 74d3df996b904032696000daa532d217140d3b2d
2011-06-29 21:01:59 -04:00
Jonas Sicking
cc14f402b6 Bug 663461 Part 1: Remove Add/RemoveEventListenerByIID from editor. r=smaug 2011-06-27 16:34:54 -07:00
Wolfgang Germund
db7ef51c94 Bug 664095 - Remove the override stylesheets when the editor is detached from the document as opposed to when it's destroyed for compatibility with the expected behavior from Composer; r=ehsan 2011-06-24 13:55:43 -04:00
Jonas Sicking
864793d608 Bug 658714 Part 9: Don't use EventGroups for system-group. r=smaug 2011-06-23 19:18:02 -07:00
Jonas Sicking
6a04ff1d9f Bug 658714 Part 6: Fixups after search'n'replace s/nsPIDOMEventTarget/nsIDOMEventTarget/. r=smaug 2011-06-23 19:18:01 -07:00
Jonas Sicking
e3f6b769a1 Bug 658714 Part 5: Search'n'replace nsPIDOMEventTarget to nsIDOMEventTarget. r=smaug 2011-06-23 19:18:00 -07:00
Ed Morley
576fc154e6 Bug 665359 - Remove unused variable res from nsHTMLEditor::AddPositioningOffset; r=ehsan
DONTBUILD
2011-06-20 14:53:51 -04:00
Joel Maher
a184675917 Bug 664165 - move editor/libeditor/html/tests/test_contenteditable_text_input_handling.html to mochitest-chrome. r=masayuki, a=test-only 2011-06-19 11:56:44 -04:00
Masayuki Nakano
db1e5b26fa Bug 664437 editor should use mozilla::Preferences r=ehsan 2011-06-17 09:59:29 +09:00
Jonas Sicking
17ec46a39a Bug 659053 Part 1: Merge nsIDOM3Node into nsIDOMNode. Also removes Node.getFeature. r=peterv 2011-06-14 00:56:48 -07:00
Matt Brubeck
830f102cc9 Bug 663959 - Mark crashtests as asserting intermittently [r=ehsan] 2011-06-13 14:24:04 -07:00
Dominic Fandrey
0ab2f46136 Bug 645398 - Substitute PR_(MAX|MIN|ABS|ROUNDUP) macro calls; r=roc 2011-06-02 14:56:50 +02:00
Ms2ger
35e44f908f Bug 659113 - Remove nsIDOMNSHTMLDocument; r=bz 2011-05-28 09:43:57 +02:00
Ehsan Akhgari
319dc53b8e Bug 658516 - nsHTMLEditRules.cpp:5810:52: warning: comparison between signed and unsigned integer expressions. r=roc
--HG--
extra : rebase_source : 6772483c9ca0eb23444850db1f30f0144516a861
2011-05-25 10:10:45 +02:00
Ms2ger
c36c459144 Bug 657210 - Outparamdel nsEditor::GetPresShell; r=ehsan 2011-05-22 14:43:13 +02:00
Craig Topper
4e38ca20a7 Bug 658143 - Part 1: Changes nsCOMPtr<nsFrameSelection> to nsRefPtr. r=roc 2011-05-18 20:10:49 -07:00
Ms2ger
48b02e4f5a Bug 657160 - Remove NS_NewTextEditRules; r=ehsan 2011-05-15 12:16:45 +02:00
Ms2ger
63679730f9 Bug 657160 - Remove NS_NewHTMLEditRules; r=ehsan 2011-05-15 12:15:35 +02:00
Ms2ger
f828b0aa18 Bug 656996 - Remove NS_NewHTMLCSSUtils; r=ehsan 2011-05-15 12:07:30 +02:00
Ms2ger
d5df8a6e33 Bug 655514 - Remove nsIDOMDocumentTraversal; f=ehsan r=jonas 2011-05-15 12:07:30 +02:00
Ed Morley
082d53f39b Bug 655756 - Remove final XP_MAC remnants; r=josh 2011-05-10 20:24:48 +02:00
Mounir Lamouri
7211c91c57 Bug 514437 - Content part of the progress element. r=smaug 2011-04-09 10:22:02 -07:00
Matt Brubeck
1b17575132 Back out changeset bfb48178c8ec (finish backing out bug 514437) to fix tests on a CLOSED TREE. 2011-05-09 19:38:05 -07:00
Jonas Sicking
549cf0a0a2 Bug 643786. Don't fire DOMNodeRemoved when removing the editor created <br>. r=ehsan 2011-05-09 12:33:04 -07:00
Jonas Sicking
0e17979856 Bug 650493 Part 1: Simplify mutation events by firing all but DOMNodeRemoved off of script runners, and DOMNodeRemoved before starting any update batches or aquiring any state. r=smaug/peterv 2011-05-09 12:33:03 -07:00
Mounir Lamouri
dd977ba6ef Bug 514437 - Content part of the progress element. r=smaug 2011-04-09 10:22:02 -07:00
Sebastian Kromp
d80897722a Bug 633750 - deCOM nsIHTMLEditRules and move methods to nsHTMLEditRules. r=ehsan 2011-05-07 10:04:56 +02:00
Ms2ger
941e819c63 Bug 616684 - Remove support for DOM Views; r=sicking,ehsan 2011-04-24 08:54:25 +02:00
Neil Rashbrook
fefcb1dbbc Bug 647682 Can't copy and paste local links in <editor> documents r=ehsan f=bz 2011-04-28 20:59:45 +01:00
Ehsan Akhgari
d2a61eb331 Backout changeset 13f6847dd840 (bug 616684) because it changes code semantics in a bad way, which results in problems like the crash in bug 652580, possibly among others 2011-04-25 17:05:17 -04:00
Ms2ger
295bf7256b Bug 616684 - Remove support for DOM Views; r=sicking 2011-04-24 08:54:25 +02:00
David Zbarsky
5ecf0a2bd3 Bug 610305: decom nsEventStateManager r=smaug 2011-04-21 19:35:52 +02:00
Mounir Lamouri
b4cf8cd184 Backed out changeset c1a7c1bc1aeb due to busted build. 2011-04-20 22:26:06 +02:00
David Zbarsky
c4d29900ed Bug 610305: decom nsEventStateManager r=smaug 2011-04-20 21:42:33 +02:00
Ehsan Akhgari
f9088e8fe4 Bug 649566 - @keyframe(s) missing from <style> sanitizing code in nsHTMLFragmentContentSink; r=bzbarsky 2011-04-13 18:12:32 -04:00
Kyle Huey
29d5f43cb5 Merge m-c to bs. 2011-03-31 07:17:15 -04:00
Kyle Huey
75ee2642d1 Merge m-c to bs. 2011-03-26 12:12:37 -04:00
Ehsan Akhgari
b50ffe71b6 Bug 611457 - Move the object which is supposed to survive the function's return out of the function so that a possible garbage collection doesn't collect it before it should be used; r=roc a=test-only 2011-03-12 00:07:37 -05:00
Ehsan Akhgari
b8feac7449 Bug 618041 - Move the object which is supposed to survive the function's return out of the function so that a possible garbage collection doesn't collect it before it should be used; r=roc a=test-only 2011-03-12 00:11:01 -05:00
Ehsan Akhgari
c6ae64d9aa Bug 635757 - Adjust the assertion count as a result of bug 633738; r=roc a=test
DONTBUILD this simple assertion annotation adjustment!
2011-02-21 23:53:40 -05:00
Mats Palmgren
7958218e24 Bug 635636 - Don't return a value from void function. a=bustage 2011-02-21 21:43:54 +01:00
Mats Palmgren
b765f11bf5 Bug 635636 - Crash [@ nsHTMLEditRules::DocumentModifiedWorker] with navigated-away designMode document; r,a=ehsan 2011-02-21 15:34:16 -05:00
Ehsan Akhgari
075288f489 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
Kyle Huey
da2a416c73 Bug 633709: Convert bogus assert into a warning. r+a=ehsan
--HG--
extra : rebase_source : 5928d5a4309bd98e0cf4cd3041f36ba64d992706
2011-02-19 17:49:23 -05:00
Peter Van der Beken
2552abd64a Fix for bug 633738 (quora.com bloats out of control (part 3)) - mark some known assertions caused by bug 439258. r=bz, a=jst. 2011-02-17 12:19:13 +01:00
Peter Van der Beken
d78216fbaf 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
Serge Gautherie
c690e45a6f Bug 634626 - test_bug366682 failures because spellchecking is disabled; (Bv1) s/CR+LF/LF/g, Remove ending whitespaces.
r=jmaher (a=test-only).
DONTBUILD
2011-02-17 20:19:35 +01:00
Ehsan Akhgari
4d76d777f1 Back out changeset 0fd8793db7f3 (bug 633738) because of various oranges in different test suites on multiple platforms; a=orange 2011-02-14 18:45:23 -05:00
Peter Van der Beken
b9ca9b2552 Fix for bug 633738. Fix leak due to session history code keeping an editor alive too long. Patch by peterv and bz, r=jst@jstenback.com, a=blocker 2011-02-14 14:26:14 -08:00
Mounir Lamouri
d33f310364 Bug 629845 (2/2) - GetRoot() returning null isn't unexpected. r=ehsan a=blocking-final 2011-02-11 02:01:49 +01:00
Mounir Lamouri
350253af3e Bug 629845 (1/2) - Don't make nsHTMLDocument::EditingStateChanged fails if BeginningOfDocument fails. r=ehsan a=blocking-final 2011-02-11 01:59:37 +01:00
Ehsan Akhgari
fa1dcf4c12 Bug 632326 - Synthesize a Paste command instead of calling the internal goDoCommand in the test for bug 520189; r=roc a=test-only 2011-02-08 21:50:51 -05:00
Benjamin Smedberg
92bd44c461 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
arno renevier
0a36ca716b Bug 497115 - nsHTMLEditor.cpp contains unnecessary includes; r=peterv sr=peterv 2011-03-23 23:23:39 -04:00
Ehsan Akhgari
8d74540d77 Test case for bug 635636; r=roc 2011-02-21 16:58:07 -05:00
Ehsan Akhgari
d98dd1278c Bug 642704 - Part 3: Remove test_set.py because it confuses our mochitest suite runner, and we don't need it to run the BrowserScope RichText2 suite; r=roc 2011-03-19 16:45:29 -04:00
Ehsan Akhgari
11e4fe7769 Bug 642704 - Part 2: Add a test driver to run the BrowserScope RichText2 test suite as a mochitest; r=roc 2011-03-19 16:44:30 -04:00
Ehsan Akhgari
705f18833c Bug 642704 - Part 1: Import the BrowserScope RichText2 test suite files into the tree; r=roc 2011-03-18 18:15:24 -04:00
Ehsan Akhgari
e4ad8f774b Bug 640321 - Register the mouse event handlers for the editor in the system group; r=roc 2011-03-16 15:34:30 -04:00
Ehsan Akhgari
c06813a2c5 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
343b9d2aa6 Bug 407127 - Part 3: Get the selection controller for HTML editors from the presshell, instead of holding on to a presshell reference masked as a selection controller; r=roc 2011-03-11 00:40:30 -05:00
Ehsan Akhgari
6ef553932d Bug 407127 - Part 2: Refactor the editor so that it only touches mSelConWeak in GetSelectionController, to make removing it for HTML editors easier; r=roc 2011-03-11 00:40:30 -05:00
Ehsan Akhgari
586a904360 Bug 407127 - Part 1: Refactor the editor so that it only touches mPresShellWeak in GetPresShell, to make removing it easier; r=roc 2011-03-11 00:40:30 -05:00
Boris Zbarsky
890788b82e Bug 632904. Check IsEditable(), not content states, if we care about editability. r=ehsan,masayuki 2011-03-23 10:45:21 -04:00
Chris Jones
8991442744 Rollup of bug 615386, parts 1-6. Teach the reftest harness about <browser remote>. r=dbaron,roc,ted a=a
--HG--
rename : layout/tools/reftest/reftest.js => layout/tools/reftest/reftest-content.js
2011-02-03 13:54:10 -06:00
Ehsan Akhgari
561113cc04 Bug 628980 - browserscope richedit tests load http://www.google.com/intl/en_ALL/images/logo.gif over the network; r=roc a=NPOTB 2011-01-27 00:26:33 -05:00
Ehsan Akhgari
d48edb3f7d Bug 622371 - Only set the selection to the beginning of the editable document if the editor is being initialized by entering designMode; r=bzbarsky a=blocking-final+ 2011-01-06 17:13:51 -05:00
Ehsan Akhgari
b3f2d74515 Bug 620906 - Back out part of bug 289384 to make sure that scrollbars work in CKEditor fields again; r=roc a=blocking-final+ 2011-01-11 16:00:44 -05:00
timeless@mozdev.org
186210bc44 Bug 620423 - nsHTMLEditor::ParseCFHTML foolishly checks aStuffToPaste instead of *aStuffToPaste; r=neil a=roc 2011-01-11 10:20:31 -05:00
Jonathan Kew
a9323f7452 bug 332636 - fix editor's handling of surrogate-pair combining marks with backspace. r=ehsan a=roc 2010-12-16 14:17:41 -08:00
Jonathan Kew
6531a7f776 Backed out changeset 1958ebae93cc for causing mochitest orange. a=backout 2010-12-16 15:15:35 -08:00
Jonathan Kew
7a31c3e079 bug 332636 - fix editor's handling of surrogate-pair combining marks with backspace. r=ehsan a=roc 2010-12-16 14:17:41 -08:00
Shawn Wilsher
ade39d2c6a Merge mozilla-central to Places. 2010-12-13 15:08:04 -08:00
Shawn Wilsher
5f893d748b Merge mozilla-central into Places. 2010-12-07 15:06:32 -08:00
Shawn Wilsher
2ed7d826a8 Merge mozilla-central into Places 2010-12-06 09:48:54 -08:00
Shawn Wilsher
9cdab945a8 Merge mozilla-central into Places. 2010-11-29 08:43:57 -08:00
Ehsan Akhgari
1935188b81 Bug 616590 - Prevent documents loaded in mail editors to set up their own editors using the designMode or contentEditable APIs; r=bzbarsky a=blocking-final+ 2010-12-06 14:27:14 -05:00
Ehsan Akhgari
f6d6332349 Bug 612625 - intermittent orange: test_bug607584.xul continues executing after we've left the page, mostly showing up in test_bug171813.html; r=roc a=test-fix 2010-11-17 18:23:18 -05:00
Ehsan Akhgari
2c680fd98b Bug 612565 - Don't recurse into document modification listeners for editable documents if the modification to the document is made on the bogus BR node; r=roc a=blocking-beta8+
This fixes an unresponsive script dialog error for Etherpad pages (possibly among other websites).
2010-11-16 15:43:46 -05:00
Ehsan Akhgari
04410d797d 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
6d13ead610 Bug 609632 - More embarrassments, shame on me; a=shameful-ehsan 2010-11-15 18:13:25 -05:00
Ehsan Akhgari
4c0a7351e5 Bug 609632 - Build bustage fix; a=bustage
--HG--
extra : rebase_source : 7ee1c79f086687781405bdcd8567924d674e3711
2010-11-15 18:01:45 -05:00
Ehsan Akhgari
46c9a77f82 Bug 609632 - Insert image files dropped onto editable areas as data: URI images; r=roc a=blocking-beta8+
--HG--
extra : rebase_source : 7ec1941c8052c352e6304fd8affe89d890b1ae1b
2010-11-06 18:49:26 -04:00
Ehsan Akhgari
00d37a174f Bug 611182 - Part 7: Don't notify the edit rules object for document modifications outside of the editable area; r=bzbarsky a=blocking-beta8+ 2010-11-13 15:12:15 -05:00
Ehsan Akhgari
9cd1d8318f Bug 611182 - Part 6: Actually allow the bogus node to be deleted from the document, and check if the parent is modifiable when inserting an element to prevent a bogus node being inserted under a contenteditable="false" element; r=bzbarsky a=blocking-beta8+
This fixes a failure in layout/reftests/bugs/579985-1.html, and is tested by it.
2010-11-12 10:38:14 -05:00
Ehsan Akhgari
8571ba00c8 Bug 611182 - Part 4: Add some more tests; r=bzbarsky a=blocking-beta8+ 2010-11-11 16:40:55 -05:00
Ehsan Akhgari
8376c423de Bug 611182 - Part 3: Handle dynamic changes to the editable documents and create/remove the bogus node if needed; r=bzbarsky a=blocking-beta8+ 2010-11-11 16:40:52 -05:00
Ehsan Akhgari
0450182992 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
81e5001ae0 Bug 611182 - Backspace key does not work without typing something first (test cases); r=bzbarsky a=blocking-beta8+ 2010-11-11 14:09:09 -05:00
Ehsan Akhgari
bb6861f7b5 Bug 601881 - video and audio should never play automatically in editor; r=bzbarsky,cpearce a=bsmedberg
--HG--
rename : content/media/test/test_play_events.html => content/media/test/test_autoplay_contentEditable.html
2010-10-14 20:13:29 -04:00
Ehsan Akhgari
0908325de2 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
cea63fedad Bug 551704 - Part 4: Set the selection to the beginning of the document when we're entering the design mode; r=bzbarsky a=blocking-betaN+ 2010-11-08 18:30:28 -05:00
Ehsan Akhgari
844dd2ffc0 Bug 551704 - Part 3: Don't copy invisible BR nodes to the clipboard for editable elements, to make us more compatible with WebKit and Opera; r=bzbarsky a=blocking-betaN+ 2010-11-06 18:49:26 -04:00
Ehsan Akhgari
472326895e Bug 551704 - Part 2: Don't replace newline characters with BR nodes in preformatted editable fields; r=roc a=blocking-betaN+ 2010-11-06 18:49:26 -04:00
Ehsan Akhgari
e588665b2b Bug 551704 - Part 1: Don't initialize the selection needlessly if the editable area is not focused; r=roc a=blocking-betaN+ 2010-11-06 18:49:26 -04:00
Ehsan Akhgari
311cff87c3 Bug 372345 - [Midas] text cursor overrides CSS mouse cursor styles for some elements; r=bzbarsky a=blocking-final+
--HG--
extra : rebase_source : 502e9561f1a91464b8de502eb44098ab126d3930
2010-10-29 12:30:15 -04:00
Ms2ger
1dc17b150a Bug 605177 - Fix a number of build warnings in editor/; r=ehsan a=bsmedberg 2010-11-04 16:44:46 -04:00
Ehsan Akhgari
e810187573 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
fe769d8443 Bug 607584 - Part 3: HTML test case; r=roc a=test-only 2010-10-29 13:01:49 -04:00
Daniel Glazman
0e38cc4a77 Bug 607584 - Part 2: XUL test case; r=ehsan a=test-only 2010-10-29 12:36:21 -04:00
Daniel Glazman
ac5d79b1f8 Bug 607584 - CR in a paragraph with an id attribute creates a second paragraph of same id; r=ehsan a=roc 2010-10-29 12:35:27 -04:00
Ehsan Akhgari
26b56e6566 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
a3d62c2955 Bug 603292 - PRUint32 countU < 0 is useless in nsHTMLEditor::AddNewStyleSheetToList; r=roc a=bsmedberg 2010-10-12 18:30:41 -04:00
Ehsan Akhgari
1bd8b7c9e7 Bug 613130 - Don't sanitize style nodes and attributes in the sanitizing parser if we have not found any unsafe properties; r=roc,bzbarsky a=blocking-final+ 2010-11-24 13:31:52 -05:00
Ehsan Akhgari
11b6d633e6 Bug 615015 followup - Adjust the assertion count which now happens in editor/libeditor/html/crashtests/467647-1.html too; a=orange-fix 2010-12-03 11:15:06 -05:00
Ehsan Akhgari
ed92562d68 Bug 615015 - "ASSERTION: bad action nesting!"; r,a=roc
--HG--
extra : rebase_source : 3e972a7f5dad81b5cba1b8ee93c16798fdc809c2
2010-12-01 00:24:09 -05:00
Ehsan Akhgari
ef612c0f0a Bug 615450 - Prevent the reinitialization of the HTML editor while an editor operation is in progress on a document; r,a=roc
This should prevent crashes, update view count and edit action nesting count mismatches, and more!

--HG--
extra : rebase_source : af1397b3c8de19d936ca70690a6f7ed284cc5d00
2010-11-30 23:21:32 -05:00
Ehsan Akhgari
db7da1c428 Bug 643786 - Fix a crash caused by the HTML editor being destroyed when the document modified handler is in progress [@ nsHTMLEditRules::~nsHTMLEditRules]; r=roc 2011-03-23 15:59:06 -04:00
Ehsan Akhgari
2337dae8c9 Back out bug 612128 because it regressed Fennec with bug 618357, which blocks Fennec beta3; a=blocking-fennecb3+ 2010-12-10 21:20:00 -05:00
Ehsan Akhgari
7b0059c6db Bug 612128 - Part 4: Use the read-write state to find the selection root of the editor; r=roc a=bz 2010-12-06 14:27:14 -05:00
Ehsan Akhgari
30e6f309f2 Bug 612128 - document.execCommand("inserthtml") may insert HTML inside non-editable parts of a document; r=roc,bz a=bz 2010-11-16 15:45:49 -05:00
Ehsan Akhgari
a3f2856505 Bug 613823 - Don't attach multiple mutation observers to the document in case the HTML editor reinitializes; r=roc a=blocking-final+ 2010-12-08 21:44:15 -05:00
Ehsan Akhgari
a09905d6a5 Bug 612447 - Part 3: Prevent the HTML editor from dying while we run a document modified handler from a script runner; r=bzbarsky a=blocking-beta8 2010-11-19 11:02:24 -05:00
Ehsan Akhgari
bf6b8a80c8 Bug 612447 - Part 2: Protect the HTML editor from dying while a mutation event handler is in progress; r=bzbarsky a=blocking-beta8 2010-11-18 16:01:12 -05:00
Ehsan Akhgari
d921d70f6f 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
4d471b8466 Bug 613434 - Rename the browserscope richtext suite in preparation of richtext2 integration; r=roc a=NPOTB
--HG--
rename : editor/libeditor/html/tests/browserscope/lib/browserscope/LICENSE => editor/libeditor/html/tests/browserscope/lib/richtext/LICENSE
rename : editor/libeditor/html/tests/browserscope/lib/browserscope/README => editor/libeditor/html/tests/browserscope/lib/richtext/README
rename : editor/libeditor/html/tests/browserscope/lib/browserscope/README.Mozilla => editor/libeditor/html/tests/browserscope/lib/richtext/README.Mozilla
rename : editor/libeditor/html/tests/browserscope/lib/browserscope/currentStatus.js => editor/libeditor/html/tests/browserscope/lib/richtext/currentStatus.js
rename : editor/libeditor/html/tests/browserscope/lib/browserscope/current_revision => editor/libeditor/html/tests/browserscope/lib/richtext/current_revision
rename : editor/libeditor/html/tests/browserscope/lib/browserscope/richtext/editable.html => editor/libeditor/html/tests/browserscope/lib/richtext/richtext/editable.html
rename : editor/libeditor/html/tests/browserscope/lib/browserscope/richtext/js/range.js => editor/libeditor/html/tests/browserscope/lib/richtext/richtext/js/range.js
rename : editor/libeditor/html/tests/browserscope/lib/browserscope/richtext/richtext.html => editor/libeditor/html/tests/browserscope/lib/richtext/richtext/richtext.html
rename : editor/libeditor/html/tests/browserscope/lib/browserscope/update_from_upstream => editor/libeditor/html/tests/browserscope/lib/richtext/update_from_upstream
rename : editor/libeditor/html/tests/browserscope/test_browserscope.html => editor/libeditor/html/tests/browserscope/test_richtext.html
extra : rebase_source : 04a0818f516856a2868b94481f1d29694db1f0d1
2010-11-19 11:02:22 -05:00
Ehsan Akhgari
de09cc12fc Bug 611457 - mochitest-chrome: intermittent "test_bug607584.xul | Test timed out."; r=roc a=orange-fix
--HG--
extra : rebase_source : afbaabdbb9f7335913acb3d27c4eac900f288469
2010-11-19 11:02:24 -05:00
Ehsan Akhgari
db3a9aabba Bug 612625 - intermittent orange: test_bug607584.xul continues executing after we've left the page, mostly showing up in test_bug171813.html; r=roc a=test-fix 2010-11-17 18:23:18 -05:00
Daniel Glazman
7aab5ded6b Bug 605081 - Editor refuses to insert a <keygen> element; r=ehsan a=roc 2010-10-21 17:12:49 -04:00
Mounir Lamouri
66067bcb7b Bug 595036 (2/2) - Introduce nsEventStates class to represent event states. r+a=bz 2010-10-20 13:26:32 +02:00
Ehsan Akhgari
1acdecd31f Bug 604332 - Whitelist attribute names beginning with "_" when pasting HTML into an editable field; r,a=roc 2010-10-18 13:59:34 -04:00
Ehsan Akhgari
16a0dc9a08 Bug 601881 - video and audio should never play automatically in editor; r,a=bzbarsky 2010-10-06 16:31:09 -04:00
Ehsan Akhgari
da9574bd29 Bug 410986 - Part 4: Switch the shortcut to Cmd+Option+Shift+V on Mac; r,a=bzbarsky 2010-09-28 20:33:22 -04:00
Ehsan Akhgari
e30f04231f Bug 410986 - Part 2: unit test; r=roc a=NPOTB 2010-09-21 23:33:44 -04:00
Ehsan Akhgari
ecfaa4d477 Bug 586662 - Part 3: Don't attempt to compare unrelated points when manipulating selections; r=roc a=blocking-betaN+ 2010-09-23 14:44:01 -04:00
Ehsan Akhgari
b7844b60fc 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
4395a51b4e 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
37297d45dc 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
Jesse Ruderman
13d5e83e08 Bug 499844 - add crashtest. a=NPOTB 2010-09-24 11:33:54 -07:00
Ehsan Akhgari
855295156d Bug 598105 - Support the HTML5 data-* attributes in the sanitizing fragment sink; r,a=bzbarsky
--HG--
extra : rebase_source : a76a2f8eab3452d054de86d08da885bc875a7fbb
2010-09-20 17:32:24 -04:00
Mounir Lamouri
af7af7ba81 Bug 555840 - Implement datalist element. r=sicking,mrbkap,ehsan sr=smaug a2.0=roc 2010-09-10 07:16:56 +02:00
Ehsan Akhgari
4872a675f7 Bug 592592 - Part 3: Add a test for the back-space behavior to make sure that back-space will not delete multiple consecutive space characters; r=roc 2010-09-08 17:32:09 -04:00
Ehsan Akhgari
c4d1fc059a Bug 592592 - Non-breaking spaces inserted when multiple spaces are typed, even in pre-wrap-styled text r,a=roc 2010-09-02 20:36:42 -04:00
Ehsan Akhgari
dfd8ce442d Back out bug 592592, bug 588999, bug 591706 and bug 592586 because of test failures 2010-09-07 19:23:29 -04:00
Ehsan Akhgari
48efe58c89 Bug 592592 - Non-breaking spaces inserted when multiple spaces are typed, even in pre-wrap-styled text r,a=roc 2010-09-02 20:36:42 -04:00
Ehsan Akhgari
307d3f93d1 Bug 591378 - REFTEST TEST-UNEXPECTED-PASS | file:///home/cltbld/talos-slave/mozilla-central_fedora-debug_test-crashtest/build/reftest/tests/editor/libeditor/html/crashtests/448329-3.html | assertion count 8 is less than expected 16 assertions; r=roc a=NPOTB
--HG--
extra : rebase_source : 486646660fa6970a7371a149eec08f5bbaaa569e
2010-08-27 15:03:09 -04:00
Timothy Nikkel
a52c6b7ef2 Bug 588693. Bump assertion count for editor/libeditor/html/crashtests/448329-3.html. r=ehsan 2010-08-27 18:15:08 -05:00
Ehsan Akhgari
8a6a073e4c Bug 582138 - Crash [@ nsHTMLEditor::GetElementOrigin] with mixed HTML and MathML table; r,a=roc 2010-08-25 20:20:32 -04:00
Joel Maher
ce269022ab Bug 574189 - Fix chrome tests to work from an extension for android and e10s support a=NPOTB r=ctalbert 2010-08-24 10:29:34 -07:00
Jonas Sicking
cbc0676504 Backout bugs 586754, 574189, 584611 due to orange. a=backout 2010-08-20 11:08:43 -07:00
Joel Maher
978a4a1ad2 Bug 574189 - Fix chrome tests so they can run from a .jar bundle (e10s, android) r=ctalbert a=NPOTB 2010-08-20 09:28:13 -07:00
Ms2ger
a2c049c1fc Bug 531030 - Remove support for the spacer element; r=bzbarsky a=blocking-betaN 2010-08-20 08:05:05 +02:00
Ginn Chen
fbe18c5eaa Bug 586225 Make test_htmleditor_keyevent_handling.html recognize Solaris r=masayuki a=testing files only 2010-08-15 20:33:58 +08:00
Boris Zbarsky
45df267748 Fix some editor tests to actually change something instead of throwing. 2010-08-13 14:31:48 +12:00
Ehsan Akhgari
5a36ff1530 Bug 572290 - <title> value of HTML signature file shows up in signature; r=bzbarsky a=blocking2.0+
--HG--
extra : rebase_source : 7085d047498e0509f056c8a33d9189e52aaeb077
2010-08-10 11:52:32 -04:00
Kyle Huey
4108bf2819 Backed out changeset 0aa4ad290221 2010-08-10 21:14:51 -07:00
Ehsan Akhgari
d8ca1c0100 Bug 572290 - <title> value of HTML signature file shows up in signature; r=bzbarsky a=blocking2.0+ 2010-08-10 11:52:32 -04:00
Antti Jarvelin
ce34e772be Bug 582912 - Extend copy paste support of Fennec Qt port. r=dougt
--HG--
extra : rebase_source : cc841f301338cc66b2382a398627a96373c3406a
2010-07-30 12:46:30 -07:00
Masayuki Nakano
660981e020 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
d7540e477b backout the previous my check-ins 2010-07-22 11:11:34 +09:00
Masayuki Nakano
742e98c291 Bug 389372 Contenteditable node is still editable without focus r=ehsan+roc, sr=jst 2010-07-22 08:46:52 +09:00
Craig Topper
b9673b8709 Bug 577438 Part 1: Add previous sibling to nsIMutationObserver::ContentRemoved. r=sicking 2010-07-21 15:05:17 -07:00
Boris Zbarsky
998b474e42 Bug 578696 part 9. Stop holding strong refs when calling ContentAppended. r=sicking 2010-07-21 11:33:32 -04:00
Zack Weinberg
76dbdde0f4 Bug 569719 part 2: Move headers for the former nsCSSLoader and nsCSSDeclaration into mozilla/css/. r=dbaron
--HG--
rename : layout/style/nsCSSDeclaration.cpp => layout/style/Declaration.cpp
rename : layout/style/nsCSSDeclaration.h => layout/style/Declaration.h
rename : layout/style/nsCSSLoader.cpp => layout/style/Loader.cpp
rename : layout/style/nsCSSLoader.h => layout/style/Loader.h
2010-06-28 15:49:35 -07:00
Ehsan Akhgari
7081b03117 Bug 289384 - Part 3: SelectAll in HTML editor shouldn't attempt to select input/textareas' contents directly; r=roc 2010-07-12 00:20:20 -04:00
Ehsan Akhgari
3c9cf85286 Bug 289384 - Part 2: Fix an assertion; r=roc 2010-07-11 19:54:28 -04:00
Ehsan Akhgari
0ad20714f9 Bug 289384 - Midas Editor: Shortcut command + left/right should go to beginning/end of line; r=masayuki,bzbarsky 2010-07-11 17:48:46 -04:00
Ehsan Akhgari
7dcf9d424a Backout bug 289384 because of crashtest assertion failures 2010-07-11 17:43:27 -04:00
Ehsan Akhgari
e2eb474a10 Bug 490879 - Pasting images into rich text editors creates temporary moz-screenshot.jpg; r+sr=roc
--HG--
extra : rebase_source : e8a5e10ed3067548366574d64406c33bee3b455e
2009-05-15 13:14:16 +04:30
Ehsan Akhgari
f6d555362e Bug 572637 - Paste image into Compose window broken with Shredder; r=bzbarsky
--HG--
extra : rebase_source : 30d81359c13d31a4693c8140ec6ed2b450759a99
2010-06-25 22:22:12 -04:00
Ehsan Akhgari
d288e15ecd Bug 289384 - Midas Editor: Shortcut command + left/right should go to beginning/end of line; r=masayuki,bzbarsky
--HG--
extra : rebase_source : d533ad700d2e3e5d50dc0f03b57b14723e12c7eb
2010-06-25 14:58:25 -04:00
Saint Wesonga
e7a357dcaf Bug 562387 - Convert NS_NEWXPCOM/NS_DELETEXPCOM to new/delete. r=bsmedberg 2010-07-05 11:42:18 +02:00
Dão Gottwald
9b15b69a1b Backed out changeset 59ace8d80ce8 2010-07-04 22:01:13 +02:00
Saint Wesonga
8dd5da1024 Bug 562387 - Convert NS_NEWXPCOM/NS_DELETEXPCOM to new/delete. r=bsmedberg 2010-07-04 21:39:17 +02:00
Jesse Ruderman
14ecbf3e68 Add bug numbers for all remaining asserts() annotations in crashtests and reftests 2010-07-01 19:33:56 -07:00
Dão Gottwald
b314909c2e Backed out changeset db6f8068e9a5 2010-06-29 17:49:21 +02:00
Saint Wesonga
c3669d7e9c Bug 562387 - Convert NS_NEWXPCOM/NS_DELETEXPCOM to new/delete. r=bsmedgerg 2010-06-29 17:14:36 +02:00
Ehsan Akhgari
10408bd2e2 Bug 574558 - Part 4: test case; r=roc 2010-06-28 14:04:37 -04:00
Ehsan Akhgari
c24212e707 Bug 572642 - Part 2: tests; r=roc 2010-06-23 14:40:08 -04:00
Ehsan Akhgari
fafab966e3 Bug 572642 - Part 1: Allow comments, and disallow styles when pasting CF_HTML content; r=roc 2010-06-23 14:40:08 -04:00
Ms2ger
27a3b29543 Implement the figure element. r=jst+timeless+ehsan (Bug 573356) 2010-06-23 10:08:56 -07:00
Ivan Enderlin ext:(%2C%20Mounir%20Lamouri%20%3Cmounir.lamouri%40gmail.com%3E%2C%20Ms2ger%20%3Cms2ger%40gmail.com%3E)
4164b0645e Implement the mark element. r=jonas+timeless (Bug 485377) 2010-06-23 10:08:56 -07:00
Ehsan Akhgari
3f077eaff5 Bug 572598 - Part 6: Don't try to split a node which can't contain a list when inserting one; r=roc 2010-06-21 11:02:14 -04:00
Ehsan Akhgari
1879d1099a Bug 572598 - Part 4: Don't attempt to check empty selections, after all, they're empty; r=roc 2010-06-18 17:43:31 -04:00
Ehsan Akhgari
6caa9db6f3 Bug 572598 - Part 2: Make sure not to exceed the editor's root element when promoting ranges; r=roc 2010-06-18 16:53:16 -04:00
Ehsan Akhgari
83246c59b4 Bug 572598 - Part 1: Don't attempt to inject nodes for type-in state where the container can't accept child nodes; r=roc 2010-06-18 01:37:20 -04:00
Masayuki Nakano
8dfe5edd59 Bug 572969 [SeaMonkey][OSX] Mochitest-3 test_(htmleditor|texteditor)_keyevent_handling.html has 96 (perma)failures r=ehsan 2010-06-20 13:29:44 +09:00
Mounir Lamouri
21c25202c6 Bug 562008 - HTML5 section DOM elements should be of type HTMLElement; r=mrbkap,sicking,timeless,ehsan sr=jst 2010-06-19 11:44:43 -07:00
Masayuki Nakano
a69e746d9f Bug 545775 part.6 makes caret visible r=ehsan 2010-06-19 19:39:39 +09:00
Ehsan Akhgari
24b20624da 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
efa76e8106 Bug 572618 - Make debugging the editor easier - Part 3: multiline version of part 2; r=roc 2010-06-17 16:40:48 -04:00
Ehsan Akhgari
e93945101f Bug 572618 - Make debugging the editor easier - Part 2: Replace all if(!foo) return NS_ERROR_bar checks with NS_ENSURE_TRUE(foo, NS_ERROR_bar); r=roc 2010-06-17 15:41:16 -04:00
Ehsan Akhgari
ed95bc25f5 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
Jesse Ruderman
fb054fc73e Add some crashtests and reftests
--HG--
extra : rebase_source : a167ccf140387fa50e3668422b5a74bea0527255
2010-06-17 13:21:24 -07:00
Masayuki Nakano
eddb1d5460 Bug 545775 part.5 Text editor in ASUS Forum doesn't work r=ehsan 2010-06-17 14:32:05 +09:00
Masayuki Nakano
16f55c793b Bug 545775 part.4 Move mutation observer to nsHTMLEditor r=ehsan 2010-06-17 14:31:15 +09:00
Masayuki Nakano
5f41263aaf Bug 545775 part.3 Move selection initializer into nsEditor r=ehsan 2010-06-17 14:30:42 +09:00
Masayuki Nakano
ceaf9951b3 Bug 545775 part.2 Refactor GetPIDOMEventTarget() r=ehsan 2010-06-17 14:30:10 +09:00
Masayuki Nakano
255dc50f24 Bug 545775 part.1 Separate GetRootElement() r=ehsan 2010-06-17 14:29:40 +09:00
Masayuki Nakano
be11e1c17d Bug 570455 Editor shouldn't do anything when ESC key is pressed because bug 471322 was marked as WONTFIX r=ehsan 2010-06-17 14:25:20 +09:00
Ehsan Akhgari
59ce9793d3 Backed out changeset 2dcce82f9d66 because of mochitest failures 2010-06-16 22:14:11 -04:00
Mounir Lamouri
540508e5de Bug 562008 - HTML5 section DOM elements should be of type HTMLElement; r=mrbkap,sicking,timeless,ehsan sr=jst 2010-06-16 20:33:46 -04:00
Ehsan Akhgari
1d27c39d4a 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
181e117cff Bug 569523 - GetStartNodeAndOffset should take an nsIDOMNode** parameter, instead of nsCOMPtr<nsIDOMNode>*; r=roc 2010-06-10 22:46:51 -04:00
Ehsan Akhgari
78a40d380d Bug 550434 - Clicking in an empty contenteditable element that has focus causes the caret to disappear; r=roc 2010-06-10 22:46:51 -04:00
Josh Matthews
98ebf9fb31 Bug 566414 - Signed/unsigned comparison warnings in editor; r=ehsan 2010-05-17 15:30:15 -04:00
Masayuki Nakano
9d9e285291 Bug 564669 Remove nsIPlaintextEditor::handleKeyPress() r=smaug+ehsan, sr=roc 2010-06-10 10:16:58 +09:00
Jonas Sicking
1489785d0c Bug 570258: Some more atom usage cleanup. r=jst 2010-06-08 16:25:27 -07:00
Ehsan Akhgari
67c7d5d5e2 Bug 332636 - Handle backspace for Unicode plane 1 characters correctly; r=roc
--HG--
extra : rebase_source : a343610b06983d3328f3ddb2e7025193ab275094
2010-06-04 13:28:19 -04:00
Ehsan Akhgari
c0245df31d 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
d075ac396c Bug 564669 Remove nsIPlaintextEditor::handleKeyPress() r=smaug, sr=roc 2010-06-02 16:24:56 +09:00
Ehsan Akhgari
45f365a4d6 Bug 484181 - spellcheck broken in contenteditable DIV with preceding empty DIV within a DIV; r=roc 2010-05-31 17:40:17 -04:00
Ehsan Akhgari
5a941e7405 Bug 568362 - Protect IsPreFormatted callers from premature death; r=roc 2010-05-27 21:18:48 -04:00
Ehsan Akhgari
2981f65ebd Bug 563639 - [Debug] crashtest: intermittent "382778-1.html | timed out waiting for ..." probably caused by "targetDocument.body is null"; r=roc
--HG--
extra : rebase_source : 1c202e9ea2b44a764cd6e0753e8ba79e5c1542a4
2010-05-27 19:51:59 -04:00
Masayuki Nakano
3a9f248753 Bug 564151 nsHTMLEditor::HasFocus() failed if <HTML> is editable r=smaug 2010-05-28 12:02:59 +09:00
timeless@mozdev.org
6977583968 Bug 566552 Spell offset with an s especially nsHTMLEditor::AddPositioningOffet
r=glazou
2010-05-24 14:20:59 +02:00
Michael Kohler
5f19df86e0 Bug 564091: Fix spelling of nonexistent across the tree. r=timeless
--HG--
extra : rebase_source : 4f15f7fd6f90926b77d136be83af7f22c5ffa830
2010-05-23 12:26:15 -07:00
Ehsan Akhgari
f58add9d96 Bug 336104 - "ASSERTION: no frame, see bug #188946"; r=roc,dbaron 2010-05-21 16:36:42 -04:00
Craig Topper
3e0e604d67 Convert some callers of methods that changed from returning already_AddRefed<T> to returning T* away from using unneeded nsCOMPtrs. (Bug 239008) r=dbaron 2010-05-17 21:00:40 -07:00
timeless@mozdev.org
170a8bf93b Bug 563616 warning: unused variable item in TypeInState::RemovePropFromSetList
r=neil
2010-05-13 10:33:26 -07:00
Craig Topper
d02574b6b4 DeCOMtaminate nsIStyleSheet method signatures. (Bug 239008) r=dbaron 2010-05-12 13:18:47 -07:00
Ehsan Akhgari
f4e4e2ee75 Make the build step for browserscope tests silent (no bug) 2010-05-06 18:10:03 -04:00
Craig Topper
cb8187eff9 Remove nsICSSStyleSheet and replace all uses with nsCSSStyleSheet. (Bug 239008) r=dbaron 2010-05-11 13:41:47 -07:00
L. David Baron
7c61f15cf1 Annotate remainder of crashtest mainfests (all but one test) with the tests that are known to assert. (Bug 472557) 2010-05-06 09:28:01 -07:00
L. David Baron
e7c9a5f7f4 Stop null-checking the pres shell so that we get to the UnbindFromTree call in nsHTMLEditor::DeleteRefToAnonymousNode. (Bug 563980) r=ehsan 2010-05-05 18:20:43 -07:00
L. David Baron
29772aa9c7 Removed unused member variable and code. (Bug 564074) r=ehsan 2010-05-05 18:20:43 -07:00
L. David Baron
d94024525a Backout temporary debugging code for bug 563980 (changesets 76e0ed39f6ad and 4498b6800a49). 2010-05-05 18:20:43 -07:00
L. David Baron
4fa6a83e02 Add additional debugging code for bug 563980. 2010-05-05 15:02:31 -07:00
Masayuki Nakano
6aa99dc4be 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
Boris Zbarsky
a26d92e83d Bug 562688 part 14. Eliminate all remaining eELEMENT consumers. r=jst 2010-04-30 09:12:06 -04:00
Boris Zbarsky
04027a9479 Bug 562688 part 4. Change GetRootContent and the like to return Elements. r=jst, sr=sicking 2010-04-30 09:12:05 -04:00
Michael Kohler
882385621a Bug 260911 - fix 'hierarchy' misspellings. r=timeless
--HG--
extra : rebase_source : ea5fb9d2228966f1bd4eb10d8b5839988a758eaf
2010-04-29 21:01:11 +02:00
Mounir Lamouri
dbdc60fd52 Bug 346485 - "Implement output element" [r=smaug,hsivonen,mrbkap,timeless,roc sr=jst] 2010-04-26 03:42:00 -04:00
Masayuki Nakano
35cd0d8a5e Bug 558970 nsEditorEventListener should store its owner as nsEditor rather than nsIEditor r=smaug 2010-04-19 21:20:42 +09:00
Masayuki Nakano
7d05909d39 Bug 552914 nsEditor::mFlags is never modified by SetFlags() r=smaug 2010-04-12 11:35:18 +09:00
Craig Topper
771eede254 Bug 557416: Remove unnecessary includes and forward declarations of nsPresContext. r=roc 2010-04-10 16:10:12 -04:00
Craig Topper
9eccdbd4d7 Bug 557416: Remove unnecessary includes and forward declarations of nsIPresShell. r=roc 2010-04-10 16:09:38 -04:00
Ehsan Akhgari
1381adb443 Bug 537046 - crash in [@ nsWSRunObject::GetWSBoundingParent() ] (crashtest); r=peterv
--HG--
extra : rebase_source : 8621c95f05431946dd8bff43f6d703b53185917d
2010-04-06 14:35:25 -04:00
liucougar@gmail.com
08a58993f1 Bug 507936 - Should join node when deleting at end of paragraph. r=peterv 2010-03-23 09:23:23 +01:00
Neil Deakin
8f3acb3041 Bug 501154, consolidate places where clipboard events are fired from, r=smaug,sr=neil 2010-03-19 14:32:13 -04:00
Mats Palmgren
b4870c9c1d Bug 541013. r=peterv 2010-03-15 19:30:01 +01:00
Justin Wood
3659e4a8ef Backout Bug 507936, Due to test failures. roc claimed to have done it already but I don't see it 2010-03-15 01:15:27 -04:00
liucougar
a571e0a828 Bug 507936. Join nodes when deleting at end of paragraph. r=peterv
--HG--
extra : rebase_source : cf90db83f439a33643daf98662f36b98a18649c7
2010-03-15 14:37:23 +13:00
Ehsan Akhgari
6ed1775117 Bug 550569 - Integrate BrowserScope's HTML editor test suite with Mozilla's mochitest framework; r=bzbarsky
--HG--
extra : rebase_source : fd9a9c69ff732dc8c1af97d120a044f34c6a70d7
2010-03-08 17:36:42 -05:00
Jonas Sicking
1a6c0165bf Bug 534136 Part 1: Make atoms keep a pointer to an nsStringBuffer rather than storing the data inline. r=bsmedberg 2010-03-08 07:44:59 -08:00
Masayuki Nakano
8a42231835 Bug 545602 Unify the event listeners for editor r=smaug
--HG--
rename : editor/libeditor/text/nsEditorEventListeners.cpp => editor/libeditor/base/nsEditorEventListener.cpp
rename : editor/libeditor/text/nsEditorEventListeners.h => editor/libeditor/base/nsEditorEventListener.h
rename : editor/libeditor/html/nsHTMLEditorMouseListener.cpp => editor/libeditor/html/nsHTMLEditorEventListener.cpp
rename : editor/libeditor/html/nsHTMLEditorMouseListener.h => editor/libeditor/html/nsHTMLEditorEventListener.h
2010-03-06 13:01:28 +09:00
Zack Weinberg
2c3e543d1d 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
Ehsan Akhgari
c47d8c7d26 Bug 537046 - crash in [@ nsWSRunObject::GetWSBoundingParent() ]; r=peterv
--HG--
extra : rebase_source : 69b6a49317b33794a904f7b1e8e63a5dea43792b
2010-01-15 12:17:48 -05:00
Ehsan Akhgari
4c3dd43ac1 Bug 499844; r=peterv
--HG--
extra : rebase_source : 867ce45fa9da2063a36d88966d0fa1b207311e6e
2010-01-15 12:17:44 -05:00
Jae-Seong Lee-Russo
aef352eae8 Bug 530296 - Replace PR_MIN/PR_MAX with NS_MIN/NS_MAX in /editor. r=peterv 2010-02-11 09:34:37 +01:00
Masayuki Nakano
798021118b Bug 539531 - Crash when I click-and-drag on a "Gordon" flash emulation [@ nsFrameSelection::ConstrainFrameAndPointToAnchorSubtree(nsIFrame*, nsPoint&, nsIFrame**, nsPoint&) ]. r=bz 2010-01-20 11:22:09 +01:00
Jesse Ruderman
243c9242a9 Add crashtests 2010-01-10 19:50:41 -08:00
Tom Dyas
8209cf7fbc 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
f9051ae7e3 Backed out changeset bee6729280d8 2009-12-30 17:29:26 -05:00
Tom Dyas
13780ad38c 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
Masayuki Nakano
838c68560a Bug 535632 Crash [@ nsEditor::GetIndexOf] r=Olli 2009-12-30 17:17:44 +09:00
Boris Zbarsky
3e7aa47200 Bug 500882 part 6. Switch remaining modules to using the new GetPrimaryFrame API. r=smaug,roc 2009-12-24 16:20:06 -05:00
Masayuki Nakano
6066caf76e Bug 535041 Crash [@ nsContentUtils::IsInSameAnonymousTree] r=Olli 2009-12-17 13:46:30 +09:00
Neil Rashbrook
f9d476fbd9 Bug 510662 Use do_QueryReferent, not do_QueryInterface, on weak references r+sr=jst 2009-09-22 00:05:26 +01:00
Jesse Ruderman
15e3a448a6 Add crashtests 2009-08-27 19:48:20 -07:00
Benjamin Smedberg
2e9438fd2f Followup to bug 398573 - remove REQUIRES from the tree since it is no longer used... automatically generated patch, rs=ted 2009-08-25 08:59:31 -07:00
Hashem Masoud
c8f711113e Bug 489502 - Replace NS_ASSERTION(0, ...) by NS_ERROR(...) in mozilla-central; r=benjamin 2009-08-14 16:09:00 +02:00
arno renevier
ff877139b1 Bug 482481 - Commands doesn't work on contained contentEditable elements; PromoteInlineRange checks that selection is editable; r+sr=peterv 2009-07-26 07:21:04 +02:00
timeless@mozdev.org
711722cebc Bug 504496 case eCSSEditableProperty_NONE is unreachable in nsHTMLCSSUtils::GetCSSPropertyAtom
r=neil
2009-07-22 17:31:01 -05:00
Joe Drew
6c441f55f7 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
--HG--
rename : gfx/src/shared/gfxImageFrame.cpp => modules/libpr0n/src/imgFrame.cpp
rename : gfx/src/shared/gfxImageFrame.h => modules/libpr0n/src/imgFrame.h
2009-07-20 18:50:15 -07:00
Robert O'Callahan
60ca055fc6 Backed out changeset 4c139bbb4895
--HG--
extra : rebase_source : c4bdf008d2ee70a9d0f74de567ae58de02123b20
2009-07-10 18:17:46 +12:00
Robert O'Callahan
f3245eefd5 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
Blake Kaplan
7c6f6cb50c Bug 434766 - Don't try to use the selection if we don't need one. r+sr=peterv 2009-07-01 12:12:04 -07:00
Phil Ringnalda
18c0271253 Bug 499437 - nsHTMLEditor::ReplaceStyleSheet fails to replace if both sheets are loaded, r+sr=neil 2009-06-26 22:31:36 -07:00
Jesse Ruderman
d874abb747 Add test for bug 431086, using cpearce's crashtest patch 2009-06-12 18:56:23 -07:00
Neil Rashbrook
9579ae09b2 Bug 488094 Fix fallout from bug 237964 by not deleting nodes twice r+sr=peterv 2009-06-11 15:29:15 +01:00
Mats Palmgren
ffc3033195 Bug 487524. Joining a list to its parent should be a no-op. r+sr=peterv
--HG--
extra : rebase_source : bc62f18f6ef25dcabd5a48caad547be2a209662d
2009-05-13 21:45:38 +12:00
Robert Sayre ext:(%2C%20L.%20David%20Baron%20%3Cdbaron%40dbaron.org%3E)
0864915da4 Add the editor to cycle collection. (Bug 423233) r+sr=peterv 2009-05-08 21:59:25 -07:00
L. David Baron
a55b8a1b0a Clear the weak back pointers in nsTextEditRules and nsHTMLEditRules when they are no longer valid, to prepare for editor cycle collection. (Bug 423233) r+sr=peterv 2009-05-08 21:59:24 -07:00
Olli Pettay
f01fca6fe2 Bug 424300, r+sr=peterv
--HG--
extra : rebase_source : 56e3b2e745fa0d648c7c5022ad8c2b6d4d98284a
2009-05-07 09:31:56 +03:00
Olli Pettay
6fa0681aee Bug 489270 - Crash [@ GetPreviousWSNode], r+sr=peterv
--HG--
extra : rebase_source : d219264be4d548ce6063c9fbd95897188219731f
2009-05-07 09:27:31 +03:00
L. David Baron
8c38aba811 Switch HTML mochitests from using MochiKit.js to packed.js. (Bug 490955) r=sayrer 2009-05-06 13:46:04 -07:00
Arpad Borsos
35b892b3aa Bug 474369 - get rid of nsVoidArray, editor part; r=neil 2009-04-22 10:43:15 +02:00
Ehsan Akhgari
4cd7be8b4c Backout revision 12536e9936b2 (bug 490879) because of unknown potential problems for Thunderbird 3.next 2009-05-03 22:03:40 +04:30
Ehsan Akhgari
9c75ee0759 Bug 490879 - Pasting images into rich text editors creates temporary moz-screenshot.jpg; r+sr=roc 2009-05-03 13:31:32 +04:30
L. David Baron
1db85e07d6 Remove nsTransactionFactory and most transaction CIDs. (Bug 489851) r+sr=peterv 2009-04-24 15:45:34 -07:00
Siddharth Agarwal
50384d30a3 Bug 484143 -- Remove AOLCiter, based on a patch by Phil Ringnalda <philringnalda@gmail.com>, r+sr=roc 2009-04-05 22:10:43 +05:30
Chris Pearce
b758ddf2ee Bug 431086 - nsHTMLObjectResizer refactor. 2009-04-14 15:05:34 +12:00
Boris Zbarsky
35edb04b3a Bug 485012. Allow passing a charset hint (e.g. the element's 'charset' attribute for preloads) to nsICSSLoader::LoadSheet. r+sr=peterv 2009-04-10 10:29:08 -04:00
Olli Pettay
93abe669f8 Bug 481139, r+sr=peterv 2009-04-10 17:14:11 +03:00
Fred Jendrzejewski
63abee270a Fix for bug 457104 (nsTextServicesDocument::FirstSelectedBlock dead?). r/sr=peterv.
--HG--
extra : rebase_source : 73e620aade6618aa90cebe0784754a68d5479a6d
2009-04-08 14:59:06 +02:00
Jeremy D. Lea
39f62f1364 Bug 431634 - Part 1 - clean up header pollution; r+sr=roc 2009-04-01 13:59:02 -08:00
Mats Palmgren
e4524f89a0 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
Olli Pettay
d2b90e9a8e Bug 372284, r+sr=peterv 2009-03-30 12:58:42 +03:00
Asaf Romano
3dd3f44306 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
Graeme McCutcheon
4462f25220 Bug 483589 - PRBool problem in nsHTMLEditor::EnableExistingStyleSheet; r+sr=peterv 2009-03-18 17:02:19 +01:00
Boris Zbarsky
c6ba3c228b Bug 416942. Give user and ua sheets the system principal. r+sr=sicking 2009-03-16 21:38:36 -04:00
SkyLined
01f1d70804 Crash tests for bug 456727. 2009-02-26 11:55:15 +01:00
Mats Palmgren
71de6922cb The white-space bounding parent is the closest block within the editable subtree, or if there is none, the (inline) editable subtree root. b=455992 r+sr=peterv 2009-02-21 05:28:09 +01:00
Mats Palmgren
9e4ecf09b8 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
Mats Palmgren
575d767fbd Bug 448329. Make selection code more robust when the selection boundary is not in a block ... Tests.
--HG--
extra : rebase_source : 4a8c3bbd202e6aa0973117b4de81e7885150f50e
2009-02-19 21:01:36 +13:00
Mats Palmgren
a2bc6f0ca1 Bug 448329. Make selection code more robust when the selection boundary is not in a block. r+sr=peterv
--HG--
extra : rebase_source : dc75af58f6a093298d58197c31552fac1c4b5b1d
2009-02-19 20:55:40 +13:00
Chris Pearce
e122c46837 Bug 432114. Change style sheet owner to the document being edited. r+sr=peterv
--HG--
extra : rebase_source : 1477b54a36bdb3c8d1f4f44801890707043b49ee
2009-02-19 20:52:54 +13:00
Daniel Holbert
59d61972ae Bug 461047 follow-up patch - Fix a number of small issues from the nsStringArray to nsTArray<nsString> switchover, mostly related to signed vs unsigned array sizes. r+sr=roc 2009-02-10 12:39:43 -08:00
Theppitak Karoonboonyanan
39fd2c6edd Bug 462188. Make nsHTMLEditRules::WillDeleteSelection extend the selection before checking whether there's anything to delete. r+sr=peterv. 2009-01-27 13:50:32 +01:00
Robert O'Callahan
5e04905dff Backed out accidentally committed 192d50641f83
--HG--
extra : rebase_source : 0a574802c654de30fc3c0dd68b3492a8d6cc4209
2009-01-26 20:46:56 +13:00
Robert O'Callahan
57feb73e0d Bug 451958 ... reverting the content-policy part to see if it alone is responsible for weird random seek failures on Windows. 2009-01-26 20:44:15 +13:00
Axel Hecht
8a52a20306 Backed out bug 462188, changeset 10dfe13222aa, due to mochitest hang.
--HG--
extra : rebase_source : 04df751be990ce4652f5a7d17579744ea6c64aa3
2009-01-24 13:41:12 +01:00
Theppitak Karoonboonyanan
569850469d Bug 462188. Make nsHTMLEditRules::WillDeleteSelection extend the selection before checking whether there's anything to delete. r+sr=peterv
--HG--
extra : rebase_source : 3c393351939ad7c475604ed0bc5591e87e36b2ae
2009-01-24 22:01:05 +13:00
Fred Jendrzejewski
7d5761cdfa Bug 461047 - Replace nsStringArray with nsTArray<nsString>. r+sr=roc 2009-01-18 21:14:14 +01:00
L. David Baron
e11583f7ec Backed out changeset 9b832d90d637 (bug 462188) due to 7 test failures on Linux and 1 on Windows (0 on Mac). 2009-01-16 15:00:40 -08:00
Theppitak Karoonboonyanan
4169a80855 Bug 462188: Fix deletion of words (Ctrl-Backspace/Option-Delete) in HTML editing. r+sr=peterv 2009-01-16 13:32:09 -08:00
Robert O'Callahan
1a9b00de4e Backed out changeset 8019a959aade 2009-01-16 22:20:33 +13:00
Fred Jendrzejewski
b79ad6fa55 Bug 461047. Replace nsStringArray with nsTArray<nsString>. r+sr=roc
--HG--
extra : rebase_source : 7a20af24c97867efbb28dafa6a70ea1b4cf00e58
2009-01-16 20:51:04 +13:00
Ginn Chen
f1d41ea3cb Bug 471642 Rename nsSelectionBatcher to nsSelectionBatcherForTable in nsTableEditor.cpp r+sr=roc 2009-01-14 15:13:17 +08:00
Benjamin Smedberg
24e7cb1f78 Bug 396185 - Make nsIFrame derivatives and helper abstract classes use a different dynamic-cast system than nsISupports:
* we know all types frames may be cast to at compile time, so instead of extensible GUID IIDs, use a big enum (see nsQueryFrame::FrameIID)
* eliminate all vestiges of refcounting, since frames aren't refcounted

Some frames (SVG frames in particular) still implement nsISupports-derived interfaces, for example nsISVGValue. There is a FrameIID for nsISVGValue that lets you go from a frame to the XPCOM interface, but you can't query back.

r+sr=roc

nsITextControlFrame didn't have an IID the first time around, but this wasn't a compile error because nsITextControlFrame::kFrameIID inherited from nsIFormControlFrame::kFrameIID. I've added a static analysis pass to verify the correct behavior, since I can't figure out a way to make the compiler do it.

--HG--
extra : rebase_source : 4894a2ca0278e2ab92f27459db77165f8348cf41
2009-01-12 14:20:59 -05:00
Benjamin Smedberg
50621e4f9f Backed out changeset 4c4df6ed1b41 - Bug 396185 - Make nsIFrame not inherit from nsISupports due to mochitest failures... these appear to be crashes in nsGenericHTMLElement::GetEditorInternal. 2009-01-09 11:35:24 -05:00
Benjamin Smedberg
d0b948876f Bug 396185 - Make nsIFrame derivatives and helper abstract classes use a different dynamic-cast system than nsISupports:
* we know all types frames may be cast to at compile time, so instead of extensible GUID IIDs, use a big enum (see nsQueryFrame::FrameIID)
* eliminate all vestiges of refcounting, since frames aren't refcounted

Some frames (SVG frames in particular) still implement nsISupports-derived interfaces, for example nsISVGValue. There is a FrameIID for nsISVGValue that lets you go from a frame to the XPCOM interface, but you can't query back.

r+sr=roc

This patch locally causes two REFTEST-UNEXPECTED-PASS for Bidi stuff. It's possible that I accidentally fixed a bug, but I'm not sure, so I'm going to wait for the tinderboxes to confirm my local results.
2008-11-05 14:25:30 -05:00
Benjamin Smedberg
720c4f5577 Bug 472348 - Some unused variables found by combing the warning database, rs=bz 2009-01-06 14:25:58 -05:00
Boris Zbarsky
c07452f1f9 Bug 467647. Fix editor leak in error conditions. r+sr=peterv 2008-12-28 11:10:49 -08:00
Sylvain Spinelli
a5672f5802 Bug 366682 - spellCheckRange : scan only the first word of a text node and stop; r+sr=roc 2008-12-06 19:39:47 +01:00
Chris Pearce
c4eb79e541 Bug 432225 - Spell Checker does not always identify misspelled words; r+sr=peterv 2008-11-01 01:30:45 +01:00
Theppitak Karoonboonyanan
018ec4b25f Bug 157546. The 'delete' key should delete an entire cluster. r=peterv,r+sr=roc 2008-10-16 20:44:32 +13:00
Olli Pettay
9d96a5cb3f bug 302775 - extractContents doesn't work if start and end node of a Range object is an attribute node, r=peterv, sr=sicking 2008-10-15 12:40:28 +03:00
Mats Palmgren
16c50aefb9 Don't insert a <br> when deleting all content in an inline contenteditable element. b=456244 r+sr=peterv 2008-10-11 04:38:47 +02:00
Arpad Borsos
4b171f9d59 Bug 414046 - Remove nsPresShell::GetLayoutObjectFor(), r/sr=roc 2008-09-04 22:32:39 +02:00
Neil Deakin
7ad96d6b3e Bug 356295. Implement HTML5 drag-drop. r=smaug,neil,sr=roc 2008-08-27 08:07:27 -04:00
Boris Zbarsky
fc1785cbc1 Backed out changeset 6958399a2eb1 o try to fix failed mochitests on Windows and Linux 2008-08-25 11:08:28 -04:00
Neil Deakin
7c92721496 Bug 356295. Implement HTML5 drag-drop API. r=smaug,sr=roc 2008-08-25 21:56:29 +12:00
Dave Camp
66ad0d3422 Backed out changeset 30d900751ca9 to fix unit test orange (Bug 356295) 2008-08-19 17:55:30 -07:00
Neil Deakin
f58dac1bbf Bug 356295. Implement HTML5 drag-drop. r=smaug,sr=roc 2008-08-20 10:31:45 +12:00
L. David Baron
2c2f6ed495 Change the binding parent for native anonymous content to work like the binding parent for XBL anonymous content, and be the parent of the anonymous content subtree rather than the root of the anonymous content subtree. (Bug 436453) r=bzbarsky,smaug,surkov sr=bzbarsky 2008-07-22 21:50:20 -07:00
John Daniels
ef0fee1d70 Bug 419532 – deCOMtaminate nsICaret. r+sr=roc 2008-07-16 12:52:01 +02:00
rsx11m.pub@gmail.com
c5239b911c 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
Chris Double
02ccf2851f Bug 382267. Core implementation of the <video> and <audio> elements. r=jst,r+sr=roc 2008-07-09 20:22:20 +12:00
Benjamin Smedberg
46f017f4d3 Bug 442756 - Add stack annotations to editor classes, r=glazou sr=jst 2008-07-01 14:23:21 -04:00
peterv@propagandism.org
89c81498b3 Fix for bug 430392 (Pressing enter in div w/ contenteditable = true causes text nodes to move unexpectedly) . r/sr=jst, a=damon. 2008-04-30 11:13:11 -07:00
peterv@propagandism.org
cf61283359 Fix for bug 417533 (Resizing linked images fails in contentEditable elements). r/sr=jst, a=damon. 2008-04-23 04:53:29 -07:00
gavin@gavinsharp.com
4eac0ce4e9 Bug 428489: Crash [@ nsHTMLEditor::GetPositionAndDimensions] when window gets removed during click on contenteditable absolute positioned element, patch by Chris Pearce <chris@pearce.org.nz>, r+sr=roc, a=beltzner 2008-04-17 19:09:17 -07:00
mats.palmgren@bredband.net
22ddf676ae Remove the anonymous content for resizers properly. b=420439 r+sr=peterv a1.9+=damons 2008-04-13 13:22:31 -07:00
jruderman@hmc.edu
063cf28ac9 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
jonas@sicking.cc
5e5ddf5b3f Bug 425551: Improve script blocker code and use it to prevent async DOM events from keeping link elements alive past CC. Patch by bent. r/sr=sicking 2008-04-08 19:06:27 -07:00
Olli.Pettay@helsinki.fi
cc20adf696 Bug 424027, r=peterv, sr=sicking 2008-04-06 05:40:33 -07:00
dbaron@dbaron.org
acbec26224 Fix bad reference counting of atoms so we don't manipulate garbage atom pointers. b=422546 r=timeless sr=roc a=damon 2008-03-13 11:54:01 -07:00
bent.mozilla@gmail.com
2c7a6508ba Bug 420700 - Bustage fix. 2008-03-06 12:35:42 -08:00
masayuki@d-toybox.com
3dcfbbf7fc 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
masayuki@d-toybox.com
f6e10b8d70 backing out the previous patch, becaused qm-centos5-01 dep unit test is orange 2008-02-28 05:59:25 -08:00
masayuki@d-toybox.com
22b844e897 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
Olli.Pettay@helsinki.fi
5ad351df5f 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
masayuki@d-toybox.com
5f50f3f99e Bug 348341 "Reverse conversion" doesn't work by Kotoeri(Japanese input). r=josh+peterv+roc, sr=roc, b1.9=pavlov 2008-02-19 23:40:04 -08:00
jag@tty.nl
2fbcb59ed7 Bug 416998: Fix the order of member variable initializers for a few constructors. sr=bz, a=schrep 2008-02-18 23:36:50 -08:00
reed@reedloden.com
b61f40d915 Bug 322202 - "[MIDAS] hitting ENTER when focus inside an empty paragraph (containing the "I dont need it" BR tag) results in strange output." [p=littlecritter@nasquan.com (Loune) r+sr=Neil a=blocking1.9+] 2008-01-26 20:17:29 -08:00
reed@reedloden.com
0a63d0913d 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
neil@parkwaycc.co.uk
2b370d65c9 Don't pointlessly clone nsCOMArray b=265745 r=brade sr=rbs a=schrep 2008-01-07 02:14:28 -08:00
neil@parkwaycc.co.uk
dafb9ad144 Make XUL elements really native anonymous b=410119 r=smaug sr+a=sicking 2008-01-04 03:24:41 -08:00
reed@reedloden.com
96dad203ba Bug 389933 - "ASSERTION: JoinNode called with node not listed in offset table while editing HTML email in GMail" [p=chris@pearce.org.nz (Chris Pearce [cpearce]) r=peterv sr=roc a1.9=schrep] 2007-12-19 03:32:20 -08:00
jruderman@hmc.edu
8f8ff0968a Add crashtests for two leak bugs. 2007-12-14 21:29:32 -08:00
jruderman@hmc.edu
66c92dfd02 Add crashtest 2007-12-14 21:15:50 -08:00
jruderman@hmc.edu
d9d9137c49 Add crashtest (even though it asserts) 2007-12-14 20:47:48 -08:00
jruderman@hmc.edu
a71db7b656 Fix PropItem leak by using nsAutoPtr (bug 407074). r+sr=peterv, a=damon 2007-12-11 19:23:34 -08:00
jruderman@hmc.edu
307a6a2b6c Fix AtomImpl leak (bug 407277). r+sr=peterv, a=schrep. 2007-12-11 18:07:35 -08:00
reed@reedloden.com
f94fbaa411 Bug 388655 - "Editor br gets added to empty table cells if contenteditable node is in document" [p=chris@pearce.org.nz (Chris Pearce [cpearce]) r+sr=peterv a=blocking1.9+] 2007-12-04 17:04:11 -08:00
bugzilla@standard8.plus.com
205be65497 Bug 374347 nsIClipboard uses the deprecated nsISupportsArray interface. r=roc,Neil,sspitzer,sr=roc,a=mtschrep 2007-11-20 11:06:30 -08:00
ted.mielczarek@gmail.com
e870de51a4 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
reed@reedloden.com
510616ab44 Bug 388980 - "Gmail compose mail (midas), background color doesn't work" [p=cpearce r=peterv sr=roc a1.9=schrep] 2007-11-13 00:10:03 -08:00
jonas@sicking.cc
2e16c55024 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
reed@reedloden.com
b360da4efd Bug 391429 - "Editor caret is hidden in XULRunner applications, but visible in Firefox" [p=matt@songbirdnest.com (Matt Crocker) r+sr=peterv aM9=beltzner] 2007-10-31 11:51:49 -07:00
roc+@cs.cmu.edu
ecf2fe510d Bug 388980. Backing out because it broke tests. 2007-10-02 15:12:20 -07:00
roc+@cs.cmu.edu
4b78468e78 Bug 388980. Keep mCSSAware in sync. patch by Chris Pearce, r+sr=peterv 2007-10-02 14:44:21 -07:00
reed@reedloden.com
2295a2d4af Bug 384147 - "tabbing out list item doesn't merge with next list item at same depth" [p=mfenniak-moz@mathieu.fenniak.net (Mathieu Fenniak) r=glazou sr+a1.9=roc] 2007-10-02 00:32:17 -07:00
martijn.martijn@gmail.com
738a2a8725 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
reed@reedloden.com
d8eb6e9eed Backout patch from bug 384147 from Mathieu Fenniak due to new test failing on Windows and Linux (but not Mac). 2007-09-20 00:04:41 -07:00
reed@reedloden.com
beb595f1e3 Bug 384147 - "tabbing out list item doesn't merge with next list item at same depth" [p=mfenniak-moz@mathieu.fenniak.net (Mathieu Fenniak) r=glazou sr=roc a1.9=roc] 2007-09-19 23:14:32 -07:00
cbarrett@mozilla.com
8cb1dc3fd2 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
philringnalda@gmail.com
53c2650e67 Bug 377575 - Table resize information tooltip location is misplaced, patch by Mathieu Fenniak <mfenniak-moz@mathieu.fenniak.net>, r=glazou, sr=jst, a1.9=dbaron 2007-08-25 22:53:38 -07:00
bzbarsky@mit.edu
73073f4f3b Use the principal doing the load to decide on the URI to pass to content policies. This will help do the right thing for data:/javascript:/about:blank, as well as allow us to skip content policies altogether if the caller is system. Bug 388597, r+sr=sicking 2007-08-07 18:16:09 -07:00
jst@mozilla.org
dadc7c619b 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 2007-07-25 21:14:33 -07:00
Olli.Pettay@helsinki.fi
3c231c3c33 Bug 388646, Resizers shown for non-editable elements when document contains contenteditable element, r+sr=peterv 2007-07-20 16:21:49 -07:00
bzbarsky@mit.edu
a7014a42ea Pass through loader principal and URI to LoadSheet(). Bug 387317, r+sr=peterv 2007-07-11 12:44:27 -07:00
jwalden@mit.edu
e3c4baccae Bug 348748 - Replace all instances of NS_STATIC_CAST and friends with C++ casts (and simultaneously bitrot nearly every patch in existence). r=bsmedberg on the script that did this. Tune in next time for Macro Wars: Episode II: Attack on the LL_* Macros. 2007-07-08 00:08:04 -07:00
peterv@propagandism.org
bcb10cd57d Part 2 of the fix for bug 382778. r=smaug, sr=sicking. 2007-07-03 06:00:12 -07:00
peterv@propagandism.org
2db1820fed Fix for bug 382778. r=smaug, sr=sicking. 2007-07-02 07:01:27 -07:00
peterv@propagandism.org
76a2c4d37f Fix for bug 237964 (Allow editable areas in browser (contentEditable)). r/sr=sicking. 2007-06-27 19:48:16 -07:00
peterv@propagandism.org
0f0097ffc5 Backing out to fix orange. 2007-06-27 16:21:05 -07:00
peterv@propagandism.org
51dda63979 Fix for bug 237964 (Allow editable areas in browser (contentEditable)). r/sr=sicking. 2007-06-27 15:29:45 -07:00
Olli.Pettay@helsinki.fi
bfc2ae9619 Bug 336081, Crash [@ nsHTMLEditRules::WillOutdent], r=neil, sr=peterv 2007-06-26 01:52:03 -07:00
Olli.Pettay@helsinki.fi
ed8942f481 Bug 336160 - Crash when releasing mouse while dragging absolute positioned element in designMode [@ nsHTMLEditor::MouseUp], r=glazman, sr=peterv 2007-06-14 01:22:47 -07:00
peterv@propagandism.org
d036d5658f Fix for bug 372544 ([Midas] Tab spacing is inconsistent). Patch by Mathieu Fenniak (mfenniak-moz@mathieu.fenniak.net), r/sr=me. 2007-05-24 06:00:53 -07:00