Commit Graph
84 Commits
Author SHA1 Message Date
Arpad Borsos 62f2db8651 Bug 474369 - get rid of nsVoidArray, editor part; r=neil 2009-04-22 10:43:15 +02:00
Fred Jendrzejewski 2d33250ee8 Fix for bug 457104 (nsTextServicesDocument::FirstSelectedBlock dead?). r/sr=peterv. 2009-04-08 14:59:06 +02:00
Ginn Chen c8946e0199 Bug 471642 Rename nsSelectionBatcher to nsSelectionBatcherForTable in nsTableEditor.cpp r+sr=roc 2009-01-14 15:13:17 +08:00
Benjamin Smedberg 0f95227641 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.
2009-01-12 14:20:59 -05:00
Benjamin Smedberg 7a084ac404 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 991a16d8bc 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
Arpad Borsos a3612ba45c Bug 414046 - Remove nsPresShell::GetLayoutObjectFor(), r/sr=roc 2008-09-04 22:32:39 +02:00
Benjamin Smedberg e2e7ddcb74 Bug 442756 - Add stack annotations to editor classes, r=glazou sr=jst 2008-07-01 14:23:21 -04:00
peterv@propagandism.org 1c4b7b2529 Fix for bug 286300 (Clean up HTML tags enum and related code). r/sr=jst, a=asa. 2005-06-16 12:58:13 +00:00
roc+@cs.cmu.edu d9edea9d71 Bug 226439. Convert codebase to use AppendLiteral/AssignLiteral/LowerCaseEqualsLiteral. r+sr=darin 2004-06-17 00:13:25 +00:00
roc+@cs.cmu.edu 6b0210f601 Bug 226439. Convert Seamonkey to EqualsLiteral. rs=darin 2004-05-22 22:15:22 +00:00
gerv@gerv.net c0cd46fc51 Bug 236613: change to MPL/LGPL/GPL tri-license. 2004-04-18 14:21:17 +00:00
daniel@glazman.org bec6cd876c Composer's table cell properties' dialog did not allow to reset width and hight and the switch between TD and TH did not work (regression): b=230165, r=timeless, sr=dbaron 2004-01-09 20:52:07 +00:00
jst@mozilla.jstenback.com d47517f6dc Fixing bug 225837. DeCOMtaminating nsIContent more, making GetTag() return a weak raw pointer, and renaming GetTag() to Tag(), and making GetRangeList() return an const nsVoidArray*, and changing GetContentID() to return the id, and renaming it to ContentID(). r=jonas@sicking.cc, sr=bryner@brianryner.com. 2003-11-19 01:20:56 +00:00
cmanske@jivamedia.com ecb933ea4d Fixed crash in table editing, b=217717, r=mozeditor, sr=dbaron, a=asa 2003-10-24 23:01:30 +00:00
brade@netscape.com d2e83278c0 cleanup of editor code, bug=209548, r=jfrancis, sr=blizzard 2003-07-28 13:13:50 +00:00
brade@netscape.com 95e27af745 use Truncate instead of SetLength(0); r=cmanske, sr=bz, bug=209548 2003-07-18 02:27:19 +00:00
caillon@returnzero.com c8a200d763 Bug 209087
Content interface out-parameters should use ptr-to-ptrs instead of ref-to-ptrs and some small deCOMtamination.
r+sr=jst@netscape.com
2003-06-13 20:10:01 +00:00
alecf@netscape.com 2dbbf65c71 fix for bug 201982 - r=brade, sr=smfr
nsIEditProperty was an interface with no methods and only static members - moved it to an entirely static class.
2003-04-17 05:42:33 +00:00
sicking@bigfoot.com 428119be6c Bug 8929: Kill NS_COMFALSE
r=peterv sr=bz
2002-11-25 12:44:03 +00:00
cmanske@netscape.com a525273f19 Fixed table row deletion and reorganized nsITableEditor methods. b=166922, r=akkana, sr=hewitt 2002-09-13 04:19:30 +00:00
cmanske@netscape.com c05e2a7f7e Fixed crash when inserting column in table, b=152320, r=brade, sr=kin 2002-06-17 20:40:47 +00:00
akkana@netscape.com 99a92f765c 128903: Clean up the editor IDL, and anyone who uses them. r=brade,cmanske,ducarroz (for mail); sr=sfraser; a=dbaron 2002-03-14 22:11:14 +00:00
brade@netscape.com b5b36ea85e remove kCContentIteratorCID since it's unused (bug 117927; r=glazou, rs=shaver) 2002-01-03 15:40:27 +00:00
brade@netscape.com c8b062e012 more NS_LITERAL_STRING cleanup (bug 26384; r=cmanske, sr=alecf) 2001-12-17 15:23:51 +00:00
cmanske@netscape.com 945f9d82e2 Fixed deleting cells when only 1 column in table, b=99095, r=akkana, sr=kin 2001-12-11 03:21:14 +00:00
brade@netscape.com 79d2bbabec NS_LITERAL_STRING cleanup (bug 26384; r=akk, sr=kin) 2001-12-07 15:28:47 +00:00
cmanske@netscape.com 75cce93acc Fixed join cells table bug 103360, r=akkana, sr=kin 2001-11-14 22:22:17 +00:00
cmanske@netscape.com ece8152e8d Fixed table editing hang when spliting cell (b=102967, r=brade, sr=kin) and don't copy empty cell's <br> when joining cells (b=102930, r=brade, sr=hewitt) 2001-10-19 21:33:20 +00:00
gerv@gerv.net 598067cb73 License changes, take 2. Bug 98089. mozilla/editor/. 2001-09-25 22:53:13 +00:00
cmanske@netscape.com 375afb033f Fixed removal of empty selection ranges after joining table cells, b=96668, r=akkana, sr=hewitt 2001-09-22 18:40:58 +00:00
gerv@gerv.net 30a09f1d88 Oops. 2001-09-20 00:02:59 +00:00
scc@mozilla.org 3c364a083d bug #98089: ripped new license 2001-09-19 20:09:47 +00:00
cls@seawood.org 1fc88a4abc Use NS_PTR_TO_INT32 macros to do 64-bit safe pointer conversions.
Bug #20860 r=Roland.Mainz@informatik.med.uni-giessen.de sr=brendan@mozilla.org
2001-08-14 07:59:59 +00:00
cmanske@netscape.com 3ada45d830 Fixed Join Table Cells bug 86009, r=mjudge, sr=sfraser 2001-07-05 22:35:22 +00:00
cmanske@netscape.com d529aada88 Fixed test of empty cell in Composer table editing (b=84175, r=brade, sr=kin) and join cells should join with cell to right if only 1 cell selected (b=55991, r=mjudge, sr=kin), both a=asa-drivers 2001-06-08 23:15:15 +00:00
jdunn@netscape.com 79f924beaa Fixing AIX tinderbox bustage by using temps
sr= scc@mozilla.org
r= cmanske@netscape.com
a= chofmann@netscape.com
# 82523
2001-05-25 11:57:57 +00:00
cmanske@netscape.com 895f9e2924 Fixed infinite loop problems in Table Editing, b=79462, r=brade, sr=kin 2001-05-15 21:30:24 +00:00
cmanske@netscape.com c32745cf02 Fixed reset selection when inserting under <head>. Also removed compile warning in nsTableEditor.cpp, b=71883, r=jfrancis,kin sr=sfraser 2001-04-12 03:41:06 +00:00
mjudge@netscape.com 093dc8c507 66318 r= kin, sr=kin tested by ducarozz ,phil chofmann approved..changing APIS to be idl so we can use in embedding land... lots of string changes too to nsAStrings 2001-04-07 00:45:26 +00:00
akkana@netscape.com 3f6eacf655 66345: Factoring necessary for editor reorganization. sr=kin/sfraser, r=jfrancis 2001-04-05 23:48:01 +00:00
cmanske@netscape.com 0cfb161fc2 Fixed table editing bug 63439. r=brade,jfrancis, sr=kin 2001-02-26 22:02:06 +00:00
dbaron@fas.harvard.edu dcc845cc28 Convert correct usage of |nsCOMPtr<T>::operator&| to use |address_of| since the operator& will soon become private. b=59414 r=disttsc@bart.nl sr=waterson@netscape.com 2001-01-10 04:12:05 +00:00
cmanske@netscape.com 52e172f8d4 Reinstating table selection work for bug 57863 now that textfield.value bug 63376 is fixed. r=kin, sr=sfraser 2000-12-20 22:13:56 +00:00
leaf@mozilla.org ce1389acc6 backing out regression-causing changes to reopen tree 2000-12-20 18:09:53 +00:00
cmanske@netscape.com ef84cfd170 Changes for table selection enums, part of bug 57863, r=jfrancis, sr=kin 2000-12-20 02:35:27 +00:00
dbaron@fas.harvard.edu 780b86e64a Convert correct usage of |nsCOMPtr<T>::operator&| to use |address_of| since the operator& will soon become private. b=59414 r=disttsc@bart.nl sr=waterson@netscape.com 2000-12-09 04:46:08 +00:00
warren@netscape.com 0462ea4ce8 Bug 47207. Backing out logging/PRINTF changes until we can fix stopwatch.h, introduce double parens, etc. 2000-10-28 22:17:53 +00:00
warren@netscape.com 7730ce0cd3 Bug 47207. Changing printf to PRINTF to use new logging facility. r=valeski,sr=waterson 2000-10-27 22:43:51 +00:00
cmanske@netscape.com dfdfd2a06e Part of fix for nested tables bug 53733. r=brade, a=sfraser 2000-09-27 22:23:03 +00:00