Neil Rashbrook
908b89f3e8
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
5df0878bed
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)
bc68124053
Add the editor to cycle collection. (Bug 423233) r+sr=peterv
2009-05-08 21:59:25 -07:00
L. David Baron
2dc4c3c055
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
7619c2c285
Bug 424300, r+sr=peterv
...
--HG--
extra : rebase_source : 56e3b2e745fa0d648c7c5022ad8c2b6d4d98284a
2009-05-07 09:31:56 +03:00
Olli Pettay
aff655d2ff
Bug 489270 - Crash [@ GetPreviousWSNode], r+sr=peterv
...
--HG--
extra : rebase_source : d219264be4d548ce6063c9fbd95897188219731f
2009-05-07 09:27:31 +03:00
L. David Baron
f0c43ecb3d
Switch HTML mochitests from using MochiKit.js to packed.js. (Bug 490955) r=sayrer
2009-05-06 13:46:04 -07:00
Arpad Borsos
650695050a
Bug 474369 - get rid of nsVoidArray, editor part; r=neil
2009-04-22 10:43:15 +02:00
Ehsan Akhgari
9ddd742d8e
Backout revision 12536e9936b2 (bug 490879) because of unknown potential problems for Thunderbird 3.next
2009-05-03 22:03:40 +04:30
Ehsan Akhgari
ad1e330d67
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
1cd9fcb69d
Remove nsTransactionFactory and most transaction CIDs. (Bug 489851) r+sr=peterv
2009-04-24 15:45:34 -07:00
Siddharth Agarwal
c324daf686
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
862acdd94c
Bug 431086 - nsHTMLObjectResizer refactor.
2009-04-14 15:05:34 +12:00
Boris Zbarsky
973f44492a
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
e02880ae1f
Bug 481139, r+sr=peterv
2009-04-10 17:14:11 +03: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
Jeremy D. Lea
0e51628bd3
Bug 431634 - Part 1 - clean up header pollution; r+sr=roc
2009-04-01 13:59:02 -08:00
Mats Palmgren
860d8f6828
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
9103394649
Bug 372284, r+sr=peterv
2009-03-30 12:58:42 +03:00
Asaf Romano
bf496618fe
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
62abaca4e8
Bug 483589 - PRBool problem in nsHTMLEditor::EnableExistingStyleSheet; r+sr=peterv
2009-03-18 17:02:19 +01:00
Boris Zbarsky
9d28a2337d
Bug 416942. Give user and ua sheets the system principal. r+sr=sicking
2009-03-16 21:38:36 -04:00
SkyLined
7ba1125041
Crash tests for bug 456727.
2009-02-26 11:55:15 +01:00
Mats Palmgren
c67994d479
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
4be9d6af76
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
d5f81b9477
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
0c917424d9
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
5b97511c94
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
f8f9766310
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
550bc8beb7
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
2c235fd71f
Backed out accidentally committed 192d50641f83
...
--HG--
extra : rebase_source : 0a574802c654de30fc3c0dd68b3492a8d6cc4209
2009-01-26 20:46:56 +13:00
Robert O'Callahan
5a3b1d43cb
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
ee6f457122
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
119f1b9717
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
d8f1bff747
Bug 461047 - Replace nsStringArray with nsTArray<nsString>. r+sr=roc
2009-01-18 21:14:14 +01:00
L. David Baron
79f94ff4db
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
79bdda85ad
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
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
Ginn Chen
0d9f12fd8d
Bug 471642 Rename nsSelectionBatcher to nsSelectionBatcherForTable in nsTableEditor.cpp r+sr=roc
2009-01-14 15:13:17 +08:00
Benjamin Smedberg
3498a5f86e
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
73a6fab34b
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
802d1a10c7
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
1bb2a73b85
Bug 472348 - Some unused variables found by combing the warning database, rs=bz
2009-01-06 14:25:58 -05:00
Boris Zbarsky
9463c9fa94
Bug 467647. Fix editor leak in error conditions. r+sr=peterv
2008-12-28 11:10:49 -08:00
Sylvain Spinelli
8abd186fde
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
6198c11a76
Bug 432225 - Spell Checker does not always identify misspelled words; r+sr=peterv
2008-11-01 01:30:45 +01:00
Theppitak Karoonboonyanan
88e1b95b7b
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
3cba110fca
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
32a840925b
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