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