Граф коммитов

393 Коммитов

Автор SHA1 Сообщение Дата
mjudge%netscape.com 424de9b081 small fix 14835 sr=jag r=pav very small chance of a memory leak in nsFrame 2002-09-12 10:35:46 +00:00
mjudge%netscape.com eb9b1f27a0 14835 r=pavlov saari, fixing bustage of image selection on mac/unix regression 2002-09-12 06:16:51 +00:00
mjudge%netscape.com b9ec2bad51 missed a ';' on a ifdef mac section. fixing build bustage 2002-09-11 03:41:46 +00:00
mjudge%netscape.com 425dbd86db 14835 r=pavlov sr=sfraser alpha blending on images to denote selection. 2002-09-11 03:03:49 +00:00
mjudge%netscape.com 6a091661e4 23784 r=akk sr=dbaron fix for stopping immediate drag after double clicking of the mouse 2002-08-30 01:32:11 +00:00
mjudge%netscape.com a07cba5734 4302 r=jfrancis sr=kin. pageup/down bug with navigation. 2002-08-26 20:55:30 +00:00
roc+%cs.cmu.edu cb32a0f906 Bug 160936. Add type nsChangeHint for style hints. Make it a set of bits. Make sure an NS_STYLE_HINT_REFLOW always also does a repaint of the frame. r=dbaron,sr=kin 2002-08-24 14:41:28 +00:00
mjudge%netscape.com 4f5986ffdc 163631 fixing regression caused by last checkin. just undoing to what was there allready. no need to check height on frames. this messed up table row group frames. 2002-08-20 22:42:26 +00:00
mjudge%netscape.com 8c2c53f116 163483 backing out poor change that didnt take into account the translation of coordinates by the container frame. this is just a backout. 2002-08-20 22:08:44 +00:00
mjudge%netscape.com d8a501e4c9 159207. HR is now selectable and navigatable. r=cmanske sr=kin 2002-08-06 23:56:50 +00:00
jkeiser%netscape.com 78b069a372 Change ns(I)GfxTextControlFrame(2) -> ns(I)TextControlFrame (bug 129909), r=rods
@netscape.com, sr=bzbarsky@mit.edu, a=asa
2002-07-26 20:57:24 +00:00
seawood%netscape.com 03ace271f0 Add CPP_THROW_NEW macro to the build system. This macro should be used when defining a local |operator new| function. It will be set to an empty throw function by default on all platforms except mac CW builds. This will allow us to not crash on systems that expect |operator new| to throw an exception by default and will suppress compiler warnings about how |operator new| should throw an exception instead of returning NULL.
Bug 149032 r=timeless sr=scc
2002-07-02 20:25:30 +00:00
dbaron%fas.harvard.edu e63a11c0e8 Split strict mode into almost-standards and full-standards mode, where the only quirk in almost standards mode is the quirky inline box model. Remove previous fix for bug 151620. Tweak mode detection to use almost-standards for XHTML Transitional, HTML 4.01 transitional with system ID, and for IBM system DOCTYPE. b=153032 r=karnaze, bzbarsky, harishd sr=waterson 2002-06-25 21:16:17 +00:00
cmanske%netscape.com 73802b9d82 Fixed retaining text attributes when using 'end' key. b=113613, fix=mjudge, r=blythe, sr=kin 2002-06-21 14:22:30 +00:00
karnaze%netscape.com 1faf4c0592 bug 145305 - split floaters during printing. sr=attinasi, r=alexsavulov. 2002-05-28 22:50:43 +00:00
shanjian%netscape.com 7f5900aa67 #142562 problem with <td align=right or align=center
We are observing langGroup in some place while ignor it in others. This patch
make all font metrics call consistent. nsIRenderingContext API is change to
make things neat.
r=rbs, sr=waterson
2002-05-24 20:11:14 +00:00
jst%netscape.com 1075a3f80d Fixing bug 146034. Getting rid of nsHTMLIIDs.{h,cpp}. r=jfrancis@netscape.com, sr=rpotts@netscape.com 2002-05-23 00:00:34 +00:00
waterson%netscape.com e3554c37cc Bug 129115. Change the reflow path from a list structure to a tree structure to amortize state recovery and damage propagation costs. Eliminate table timeout reflows. r=kin,karnaze,rods,rbs; sr=attinasi 2002-05-10 18:22:41 +00:00
mjudge%netscape.com 09110a5680 bs7868. bug driving me crazy i keep putting it into trunk but i keep failing. this patch was in 9.9 and 9.8 will go into branch soonest 2002-04-16 23:02:11 +00:00
timeless%mac.com 7e64ad7b3d disable-bidi bustage, bug 82151
r=biesi
2002-04-16 14:49:29 +00:00
mjudge%netscape.com cbca07291c 82151 r=jfrancis sr = kin 2002-04-16 02:42:09 +00:00
karnaze%netscape.com 253add7dbb bug 125543 - Prevent row groups from splitting in the reflow preceeding a special height reflow. Cells are only notified that they should observe a percent height element if the element is inside the table's cell. Percent height elements inside the body will have a height based on the page height when printing. sr=kin, r=alexsavulov. 2002-04-10 21:32:41 +00:00
heikki%netscape.com ba1bf1d780 Bug 86583, make drag and drop work for images, image map links and XLinks. r=pink, sr=jst, a=asa. 2002-04-01 04:27:50 +00:00
dbaron%fas.harvard.edu 8e8fb14ea0 Fix 2 cases where ReResolveStyleContext was broken, causing serious problems with dynamic style reresolution. Change nsIFrame::GetStyleContextProvider to GetParentStyleContextFrame, always use its result rather than using the parent frame in some cases, and move a bit of the complexity into the GetParentStyleContextFrame implementations. Fix block-within-inline case (bug 129350) using a special-previous-sibling frame property and ensuring that NS_FRAME_IS_SPECIAL is copied when frames are split. Fix out-of-flow frame case (bug 88154) by going to the placeholder map and by parenting the placeholder frame style contexts to the style context from their frame parent rather than the out-of-flow frame. b=129350 r=attinasi sr=hyatt a=asa 2002-03-27 02:38:13 +00:00
cmanske%netscape.com 426077e8ff Allow table cell selection w/o extra keypress in Composer, b=98558, r=mjudge, sr=dveditz, a=asa 2002-03-22 15:25:08 +00:00
karnaze%netscape.com 303ce25eb2 bug 92868 - Simplified the style context provider mechanism, changed frame manager to re-resolve the provider first and to use correct style context in a few other places. a=roc, sr=attinasi, r=dbaron. 2002-03-12 15:21:35 +00:00
shaver%mozilla.org 146f2a192d reversion of patch for 92868, to repair severe regression (129827, a=drivers 2002-03-10 06:16:01 +00:00
karnaze%netscape.com 789e7e3040 bug 92868 (also bugs 51037, 90960, 91443) - Simplified the style context provider mechanism, changed frame manager to re-resolve the provider first and to use correct style context in a few other places, sr=roc, r= bernd, a=asa. 2002-03-08 15:34:33 +00:00
kin%netscape.com bbfc68659e Fix for bug 127211 (Events don't get to an IFRAME unless it is scrolled to the top of its parent)
Modified GetOriginToViewOffset() so that it stops traversing view's parent hierarchy if it runs across a frame with a different ViewManager.

r=kmcclusk@netscape.com  sr=roc+moz@cs.cmu.edu  a=asa@mozilla.org
2002-02-28 22:34:47 +00:00
kin%netscape.com 2e601306d7 Fix for bug 124485 (Long lists of folders/bookmarks after up/down arrow not reachable)
Modified GetOriginToViewOffset() so that it returns an offset of (0,0) when the
contained view returned by GetView() is not a descendant of the frame's parent
view, as is the case with scrolling popup menus.

r=kmcclusk@netscape.com  sr=roc+moz@cs.cmu.edu  a=roc+moz@cs.cmu.edu
2002-02-21 03:03:31 +00:00
joki%netscape.com 8bc4a2199b Fix for bug 56240, reset selection and mouse capture states when mousedown/mouseup sequence processes abnormally. r:saari, sr:js 2002-02-20 07:23:35 +00:00
karnaze%netscape.com 679c575202 bug 41262 - new table border collapsing code. sr=attinasi, r=alexsavulov. 2002-02-19 15:48:28 +00:00
mjudge%netscape.com b9ae5a3078 check for null to not crash is good. 115350 thanks to Shataro 2002-02-13 21:40:46 +00:00
timeless%mac.com 92bbd3b2c2 Bug 124744 remove nsIPtr
r=bryner sr=alecf
2002-02-12 04:12:50 +00:00
kin%netscape.com d38cee3cd4 Fix for bug 83650 (textarea control has problems with caret positioning at end)
and bug 97207 (textarea pastes sometimes misplaced by failing to reposition).

  - Added new utility method GetOriginToViewOffset().

  - Modified nsPresShell::HandleEvent(), nsBoxFrame::GetFrameForPoint(),
    and nsContainerFrame::GetFrameForPointUsing() to factor in the
    offset from GetOriginToViewOffset() to insure that the point
    used is always transformed into the correct coordinate system.

Files modified:

    mozilla/layout/base/public/nsIFrame.h
    mozilla/layout/html/base/src/nsContainerFrame.cpp
    mozilla/layout/html/base/src/nsFrame.cpp
    mozilla/layout/html/base/src/nsFrame.h
    mozilla/layout/html/base/src/nsPresShell.cpp
    mozilla/layout/xul/base/src/nsBoxFrame.cpp

r=kmcclusk@netscape.com  sr=sfraser@netscape.com
2002-02-07 22:39:15 +00:00
pinkerton%netscape.com 52262d2123 ifdef-fu for mach-o. rs=hyatt 2002-02-06 15:42:06 +00:00
cathleen%netscape.com 8605704b12 eliminate nsCRT::zero() to use memset to zero instead, bug 118135, r=dp sr=waterson 2002-01-30 02:55:57 +00:00
bernd.mielke%snafu.de 820ff3a1cf completing the backout of my checkin for bug 110596 2002-01-09 19:28:12 +00:00
bernd.mielke%snafu.de 9eaa65079e bug 118794 remove pxiel frame error r=mkaply sr=attinasi
bug 110596 adding form frames to debug reflow - part2 r=karnaze sr=attinasi
2002-01-09 15:27:41 +00:00
ftang%netscape.com 5e3c84b859 fix bug 116976 for big endian machine. change the ill GetBidiProperty implementation to make it work under big endian machinese. Should fix the API later. r=Roland.Mainz@informatik.med.uni-giessen.de sr=brendan@mozilla.org 2002-01-08 00:51:39 +00:00
dbaron%fas.harvard.edu c9c0a97163 Replace the BodyFixupRule with code in nsCSSRendering to fix all the problems with dynamic style changes and backgrounds on the root element and the BODY element. Change the way the HTMLDocumentColorRule (for the table color quirk) is initialized since it used to depend on the BodyFixupRule. b=116161 (also fixes other bugs) r=attinasi sr=hyatt 2002-01-07 23:46:07 +00:00
bernd.mielke%snafu.de 3a3013c1fe bug 116577 avoid debug reflow access to Element(-1) r=jesup sr=attinasi 2002-01-03 09:00:40 +00:00
rjesup%wgate.com 2e680f1b17 Bug 96108: Inline ElementAt(), add SafeElementAt(), voidarray usage fixes,
assertions for bad voidarray indexes.  r=jst, sr=waterson
2001-12-21 01:10:07 +00:00
mjudge%netscape.com 3a7ddd351a smoketest fix 115791 2001-12-18 21:05:55 +00:00
mjudge%netscape.com 2ecc969e5b bs=7868 r=saari Adding in new api to bake on trunk before going to branch. this adds nsISelectionDisplay to nsISelectionController. SetDisplayFlags are how we now set if you want images selected or not 2001-12-18 01:29:49 +00:00
waterson%netscape.com 2c5c5fcc04 Bug 115113, redux. Fix some whitespace botches. 2001-12-17 22:54:28 +00:00
waterson%netscape.com 854831c91c Bug 115113. Eliminate nsIReflowCommand, and just use nsHTMLReflowCommand directly. r=karnaze, sr=attinasi. 2001-12-17 22:39:59 +00:00
jaggernaut%netscape.com 97b0530073 Bug 104158: Use NS_LITERAL_STRING instead of XXXWithConversion("..."). r=bryner, rs=alecf 2001-12-16 11:58:03 +00:00
karnaze%netscape.com 748ebbcd0d bug 113424 - mechanism for percent height frames inside table cells to receive special height reflow. sr=attinasi, r=alexsavulov 2001-12-07 14:51:12 +00:00
bernd.mielke%snafu.de 7aaa87cddb add hr frame to layout debugging logic, bug 110596 r=karnaze sr=attinasi 2001-12-07 10:02:31 +00:00