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
Olli.Pettay@helsinki.fi
e46f507021
Remove rest of nsIDOMEventReceivers, Bug 363089, r+sr=jst
2007-05-15 01:50:33 -07:00
Olli.Pettay@helsinki.fi
7ec10e025c
Bug 363089, Remove nsIDOMEventReceiver (this time passes mochitest), r+sr=jst
2007-05-14 02:11:38 -07:00
Olli.Pettay@helsinki.fi
f29b4e2b1b
backout Bug 363089
2007-05-11 06:34:05 -07:00
Olli.Pettay@helsinki.fi
91a5c67cd1
Bug 363089, Remove nsIDOMEventReceiver, r+sr=jst
2007-05-11 04:15:11 -07:00
benjamin@smedbergs.us
2e25a321f8
Bug 376636 - Building with gcc 4.3 and -pendatic fails due to extra semicolons, patch by Art Haas <ahaas@airmail.net>, rs=me
2007-04-23 07:21:53 -07:00
cbiesinger@web.de
161b7e27b8
Bug 375878 remove users of Recycle()patch by taras glek r+sr=biesi
2007-03-30 15:44:22 -07:00
hg@mozilla.com
465265d0d4
Free the (distributed) Lizard! Automatic merge from CVS: Module mozilla: tag HG_REPO_INITIAL_IMPORT at 22 Mar 2007 10:30 PDT,
2007-03-22 10:30:00 -07:00