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