Commit Graph

1931 Commits

Author SHA1 Message Date
troy%netscape.com
dfd7864b4c b=30391 r=troy@netscape.com Patch from rbs@maths.uq.edu.au to add parens when
necessary to PR_ABS macro
2000-03-11 16:50:52 +00:00
norris%netscape.com
060e388a6b Files:
caps/idl/nsICertificatePrincipal.idl
	caps/idl/nsIPrincipal.idl
	caps/src/nsBasePrincipal.cpp
Implement the ability to manipulate multiple capabilties simultaneously.
r=mstoltz@netscape.com

Files:
	caps/src/nsCodebasePrincipal.cpp
Codebase equality should be based upon origin, not full path.
r=mstoltz@netscape.com

Files:
	caps/src/nsScriptSecurityManager.cpp
Change URI checking to deny based upon scheme rather than allow based upon
scheme for greater flexibility.
r=mstoltz@netscape.com

Files:
	dom/public/nsDOMPropEnums.h
	dom/public/nsDOMPropNames.h
	dom/src/base/nsGlobalWindow.cpp
	modules/libpref/src/init/all.js
Fix bug 20469 Seeing JS functions and global variables from arbitrary host
r=vidur@netscape.com

Files:
	dom/src/base/nsJSUtils.cpp
	dom/src/base/nsJSUtils.h
	dom/src/base/nsJSEnvironment.cpp
	dom/tools/JSStubGen.cpp
	layout/base/src/nsDocument.cpp
	layout/html/content/src/nsGenericHTMLElement.cpp
Improve performance by removing NS_WITH_SERVICE call for every DOM access.
Propagate XPCOM failure codes out properly.
r=vidur@netscape.com

Files:
	layout/html/document/src/nsFrameFrame.cpp
Fix 27387 Circumventing Same Origin security policy using setAttribute
r=vidur@netscape.com
2000-03-11 06:32:42 +00:00
tbogard%aol.net
7b6b143608 Use the nsIWebBrowserChrome interface to set the status rather than the old nsIBrowserWindow interface. 2000-03-11 00:41:57 +00:00
tbogard%aol.net
bf5156a460 Changed nsHTMLFrameInnerFrame to hold on to a subShell that is an nsIBaseWindow instead of a webShell. This paves the way for holding different types of objects. Also gets rid of that stupid nsIWebShell interface. :) When creating the docShell use the new docShell interfaces rather than the old webShell ones. 2000-03-11 00:41:04 +00:00
joki%netscape.com
b822db9d33 Fix bug 29515, prevent excess processing inside GetFrameForPoint. a:rickg, r:dbaron@fas.harvard.edu 2000-03-09 15:31:44 +00:00
evaughan%netscape.com
bfe3296fa7 Fix for bug# 30548
-r hyatt, -a jar
2000-03-09 01:37:23 +00:00
warren%netscape.com
c0497e31be Bug 21556: Making linux be thread-safe. Making tons of classes implement threadsafe AddRef/Release. a=jar 2000-03-05 21:26:01 +00:00
buster%netscape.com
8076fee6b0 fixed bug 27161 by adding interfacs onto nsIPresShell to get/set the "subshell" for an nsIContent
this part of the fix is temporary, but sufficient for beta.  it calls the pres shell to do the initial association.
after beta, this will be done by the frame construction code.
r=travis
a=jar
2000-03-03 23:16:43 +00:00
tbogard%aol.net
4eec4fb506 nsIPref is no longer passed around through inits on webshell, content viewers and presContext. In places where it is needed, it can be retrieved from the service manager. I removed a number of the getters and setters for prefs as the prefs will be the same from the service manager so we don't need getters. r=waterson a=rickg 2000-03-02 07:13:02 +00:00
evaughan%netscape.com
cf0d42fc25 bugs fixes for: 28460, 27242, 29462
-r hyatt, -a jar
2000-03-02 03:01:30 +00:00
av%netscape.com
0271ec9277 Fix for 27486, r=stanley.ho@eng.sun.com, a=rickg 2000-03-02 01:57:14 +00:00
pollmann%netscape.com
982af48162 Bug 28670: Move scroll methods from webshell to docshell r=travis a=rickg 2000-02-29 06:51:48 +00:00
av%netscape.com
035f4468fc Fix for 27486, r=rickg, a=rickg 2000-02-26 00:14:16 +00:00
evaughan%netscape.com
9853879e89 Fixes for bugs: 28460, 27573, 27242, 24721
-r waterson -a jar
2000-02-25 04:18:34 +00:00
av%netscape.com
12bfe22dc4 Fixing 27486, r=beard 2000-02-25 01:02:53 +00:00
norris%netscape.com
d64387736b Fix 28612 META Refresh allowed in Mail/News
r=mstoltz,a=jar
Fix 28658 File upload vulnerability
r=vidur,a=jar
2000-02-23 22:34:40 +00:00
buster%netscape.com
6ad008c507 fixed bug 25510 and 28084
r=troy
a=jar
2000-02-22 22:06:19 +00:00
buster%netscape.com
f3317d4cfe added an assertion that will catch regressions associated with bug 25510
r=troy
a=jar
2000-02-22 22:05:04 +00:00
dbaron%fas.harvard.edu
2fc933f4a5 Refix bug 5821, which I broke with a mistake in my earlier change. r=buster@netscape.com a=rickg@netscape.com 2000-02-19 03:42:30 +00:00
pollmann%netscape.com
1d66570c0c Bug 14827: Adding a comment, removing unused code r=harishd a=rickg 2000-02-19 02:32:38 +00:00
jdunn%netscape.com
080142580c Fix problem with NS_IF_ADDREF on member variables inside of const
member functions.  This includes removing all references to
NS_DEF_PTR and the including of nsIPtr.h

r=troy@netscape.com,dougt@netscape.com,scc@netscape.com
# 28114
a=chofmann@netscape.com
2000-02-17 23:19:18 +00:00
buster%netscape.com
72482e5f58 bug 27927
r=troy
2000-02-16 04:11:37 +00:00
av%netscape.com
31d1739ac9 Added check for null pointer to avoid possible crashes, could be reason for 27558 2000-02-16 01:49:42 +00:00
buster%netscape.com
a536a762d8 bug 22853
absolute containing block was not checking frame bit, so sometimes contained block would not get an initial reflow
2000-02-16 01:05:38 +00:00
buster%netscape.com
5665393ec2 continuing work on bug 25510
r=troy
2000-02-16 00:50:06 +00:00
pinkerton%netscape.com
15c85ef5ee removed obsolete (and ifdef'd out) d&d test code. r=saari. 2000-02-15 07:13:21 +00:00
dbaron%fas.harvard.edu
e0c71d1e53 Fix bug 15428 as suggested by VYV03354@nifty.ne.jp . Stop using 0 as the initial values for min and max of inline box contents so that lines that do not (vertically) contain their own baseline are sized correctly. Also, correctly size BR frames using their line-height (for strict-mode only).
Fix bugs 24186, 26996, and 26998 by reworking the quirks-mode line-height handling so that inline elements that do not have text as children (or meet a few other conditions that show the author wants real CSS support) will not increase the size of the line, but will be as close to their correct size as possible without enlarging the line.  This fix includes emulation of the strange Nav4/IE quirk that a block's line-height is enforced on the first line of LI elements and the last line of LI, DD, and DT elements.  Many of the changes are removing an earlier fix for 24186.

r=buster
2000-02-15 04:26:44 +00:00
buster%netscape.com
66696f0a23 bug 26840 r=mjudge 2000-02-14 01:54:20 +00:00
buster%netscape.com
9c7df3bb31 bug 25510 r=troy
bug 26289 for roc+moz@cs.cmu.edu, r=buster
2000-02-14 01:52:22 +00:00
troy%netscape.com
e548878b47 b=26184 r=karnaze@netscape.com Changed it so that for a percentage width based
floater if the containing block width is unconstrained we use NS_UNCONSTRAINEDSIZE
for the floater's computed width. We were using 0 and this was causing table column
widths to be incorrect
2000-02-13 17:55:18 +00:00
troy%netscape.com
26a77156ec b=27043 r=buster@netscape.com Inner table cell specifies NS_BLOCK_MARGIN_ROOT
flag now
2000-02-11 15:31:41 +00:00
nisheeth%netscape.com
99f85886b8 r=Troy. We were specifying the incorrect child as a reflow dirty target in some cases. 2000-02-11 07:11:43 +00:00
vidur%netscape.com
d4b67b3219 Fix for bug 9140. Area elements now have event fired for them. r=joki 2000-02-11 01:24:59 +00:00
evaughan%netscape.com
c1c4f7681f 1) Fixed freeze because of sync drawing in forms
2) Fixed fieldset blocker

-r rods, granrose
2000-02-10 21:36:28 +00:00
mjudge%netscape.com
90364fa4e5 fix for memory leak bug 24332 2000-02-10 07:55:34 +00:00
mjudge%netscape.com
b3444d6801 fix for bug 18528. fixing tabs controls in selection guessing. 2000-02-10 07:48:17 +00:00
tbogard%aol.net
4c46df4275 Made sure we set the tree item before adding it to the parent. Then we also must notify the tree owner of the addition of the content shell after it has been added. This the bugs having to do with treeOwner showing up (27087, 2719, 25951). r=hyatt 2000-02-10 07:04:09 +00:00
mjudge%netscape.com
b32999a1de big checkin. fixing problems blocking Cmanske (also a reviewer). Checking in preliminary for gen content.(nothing damaged yet) lots of bug numbers not going to look them up, the tree just opened. 2000-02-10 04:35:51 +00:00
evaughan%netscape.com
b361107ebe 1) implememted box reflow coelescing.
2) implemented gfx scrollbars for list boxes
3) fixed progess meter to be an animated gif
4) fixed bugs 23521, 24721, 19114, 20546, 24385, 24457, 23156, 20226, 22543

-r hyatt, troy, rod
2000-02-09 22:02:40 +00:00
troy%netscape.com
a1ed8d02de b=26727 r=jfrancis@netscape.com Changed MarkLineDirty() to always mark the
line dirty even if it also marks the preceding line dirty
2000-02-07 15:36:08 +00:00
dbaron%fas.harvard.edu
bf2b8a41ed Event Target Debugging (b=18175), a debugging feature to help with fixing bugs where events are going to the wrong elements. It shows (like Visual Debugging) which frame is receiving events, and one can therefore move the mouse over the page to see what frame gets events. All the code is #ifdef NS_DEBUG. However, it is not yet hooked up to the viewer menu (to be checked in later).
r=joki
2000-02-03 02:49:58 +00:00
troy%netscape.com
792c9c1053 r=vidur@netscape.com Performance. Added NS_FRAME_HAS_VIEW frame state flag
so we can quickly tell whether the frame has an associated view
2000-02-03 00:51:37 +00:00
ftang%netscape.com
2928361af0 r=nhotta, fix 24451. Change the IME hightlight code so
it won't draw out the clip boundary. It now draw by different color
instead of different hight.
2000-02-02 23:39:25 +00:00
pp%ludusdesign.com
58065dda04 Converting ::GetIID() into NS_GET_IID(). Bug #20232. r=scc, r=mozbot 2000-02-02 22:24:56 +00:00
buster%netscape.com
e959bc93cd fixing linux bustage. got caught by a platform difference in handling
of nsCOMPtr and the equality operator
2000-02-02 08:28:37 +00:00
buster%netscape.com
d2e420cfb4 fixed bug 24186 (well, fixed it enough for beta at least. see bug for details)
r=troy
2000-02-02 07:38:23 +00:00
buster%netscape.com
c8545be1dd fixing very minor compile-time error that only shows up if you have certain
debug flags set.  r=none
2000-02-02 07:37:18 +00:00
troy%netscape.com
1b8d3a512b b=25245. Fixed some problems in ReflowLine() when reflowing to incrementally
update the maximum width
2000-01-30 18:42:23 +00:00
troy%netscape.com
6476da726e b=25245 Changed ComputeContainingBlockRectangle() to set the containing
block width to NS_UNCONSTRAINEDSIZE if it is an unconstrained reflow.
This way percentage based widths are treated properly
2000-01-30 18:40:48 +00:00
troy%netscape.com
3b23873b58 b=25245 Fixed ApplyLeftMargin() to not subtract for margins if it is an
unconstrained reflow
2000-01-30 18:29:52 +00:00
troy%netscape.com
459938a056 b=25245 Changed Reflow() to return 0 for a max-element-width if the
image has a percentage based width
2000-01-30 18:28:38 +00:00
troy%netscape.com
02fc72b871 b=25223. Block code now does a better job of determing where the floater
should go before reflowing it
2000-01-29 00:47:33 +00:00
troy%netscape.com
b66f1bb7e4 b=22692 Changed RemoveFloater() to return PR_FALSE if the floater is
associated with that line
2000-01-29 00:17:04 +00:00
troy%netscape.com
6e02487370 b=25049. Fixed a problem with max-element-size not being calculated
correctly for a floated table
2000-01-28 03:12:30 +00:00
karnaze%netscape.com
bce1929fcf bug 24037 r=attinasi; nsOuterTableFrame handles bad incremental reflow by using the height of its rect.
bug 23235 r=attinasi; nsTableRowFrame requests max element size when reflowing cell for the 1st time.
bug 24410 r=attinasi; nsTableCellFrame reflow always checks width and height and updates the content empty flag.
bug 3305 r=troy,hyatt; table frame constructor cleanup, put caption in its own child list.
2000-01-28 02:19:45 +00:00
kmcclusk%netscape.com
eeeb109f4c Added support for widgetless viewmanager. Changed code pattern that assumed the root view
always has a nsIWidget instance to call viewmanager to get widget instance. b=22069; r=rods@netscape.com
2000-01-26 23:04:40 +00:00
troy%netscape.com
db25894cff b=24936, r=nisheeth@netscape.com Changed block code to set mNextRCFrame to
NULL after reflowing the frame, so if we reflow it again we don't think it's
an incremental reflow
2000-01-26 22:18:33 +00:00
kin%netscape.com
320169c443 Fix for bug #12825: {css-moz} overflow: -moz-scrollbars-* not implemented
Added code to implement the new overflow -moz-scrollbars values.
r=evaughan@netscape.com
2000-01-26 21:56:03 +00:00
norris%netscape.com
02dc22bf2f Fix 24217 Access to functions in chrome: protocol using IFRAME
r=pollmann
2000-01-26 15:29:43 +00:00
troy%netscape.com
7747fa57f1 b=22677. Fix for the part of the bug where the second table taht is relatively
positioned flashes when the window is resized
2000-01-26 03:44:36 +00:00
troy%netscape.com
f8bb168c8f b=22497. Changed ReflowBlock() to better calculate the x-offset where the
table will be positioned
2000-01-26 01:45:47 +00:00
nisheeth%netscape.com
9c6617b147 r=vidur. Add support for a new pref "layout.reflow.async.afterDocLoad" that enables async reflow in the pres shell only after the document is done loading. Cleaned up ExitReflowLock() so that it uses preferences to decide whether to do async reflow, not a parameter. 2000-01-25 16:00:44 +00:00
hyatt%netscape.com
0dfb94bf0a Fixes for bugs: 18193, 13971, 23440, 18444, 21462, 21818, 22619, 23498, 24081, and 21972. r=just about everybody. 2000-01-25 06:35:27 +00:00
troy%netscape.com
8a78d916a5 b=21657 a=chofmann@netscape.com Made "overflow list" a full fledged
child list and changed ReparentFrameView() to check it.
2000-01-22 01:16:50 +00:00
michael.lowe%bigfoot.com
6696fa133b Repeating, prioritised timer implementation for Windows and Gtk (bug 22979). author={Win32=michael.lowe@bigfoot.com, Gtk=alex@cendio.se}, r={kmcclusk,rods,sfraser,et al} a=brendan 2000-01-21 21:56:09 +00:00
nisheeth%netscape.com
1af2ec200b r=troy. Changed block, inline, and text frames to call the parent's ReflowDirtyChild() method instead of generating reflow commands. 2000-01-19 03:58:05 +00:00
av%netscape.com
7ded49fa53 Fix for #18679 2000-01-19 00:31:52 +00:00
troy%netscape.com
52a2b53bf4 Made sure to subtract top margin from available height when paginated 2000-01-18 15:39:38 +00:00
attinasi%netscape.com
58d061d613 Added flags to factory method to allow NS_BLOCK_SPACE_MGR to be passed. Fixes bug 23611. r=rods,pierre 2000-01-18 15:38:50 +00:00
attinasi%netscape.com
ece65524b5 Added ASSERTION and run-time check for SpaceManager before dereferencing it. r=rods,pierre 2000-01-18 15:36:36 +00:00
joki%netscape.com
a6880e49d9 Fix multiple event targetting bugs (23161, 10514, 13213, 16548, 19496, 12231) and reinstate the onchange event for text fields (bug 22472). r:rods 2000-01-18 15:17:31 +00:00
rbs%maths.uq.edu.au
401406c143 [MATHML] Change of the character coordinate system of the bounding metrics 2000-01-17 07:34:24 +00:00
dbaron%fas.harvard.edu
af22815866 Fix performance problem pointed out by Jim Nance that there is excessive creation and destruction of clip regions during painting. The fix stops using PushState() and PopState() to undo a translation, since that causes the creation and destruction of a clip region.
r=troy
2000-01-16 15:13:46 +00:00
hyatt%netscape.com
e740cdb714 Fixes for bugs 17460 and 21656. r=travis 2000-01-14 09:28:54 +00:00
nisheeth%netscape.com
9665380540 Fix for bug 23781. 2000-01-13 23:32:47 +00:00
brade%netscape.com
ef62b4b778 use proper key for discontiguous selection on Mac (r=jfrancis) 2000-01-13 16:07:03 +00:00
troy%netscape.com
ce72bfda3b b=23388. Make sure mIsTopMarginRoot is set correctly in nsBlockReflowState
constructor
2000-01-13 02:05:31 +00:00
nisheeth%netscape.com
14ec803b33 r=troy. nsContainerFrame::ReflowDirtyChild() always generates a reflow command targeted at its child. nsInlineFrame::ReflowDirtyChild() always passes up the reflow request to its parent. nsBlockFrame::ReflowDirtyChild() no longer has code for checking whether its parent is an area frame. 2000-01-12 21:52:58 +00:00
mjudge%netscape.com
118e690267 small changes for 22752 ctrl left and right. r=cmanske 2000-01-12 21:39:36 +00:00
nisheeth%netscape.com
8407a2dc48 Removing the "ifndef XP_MAC" around the call to nsFrame::CreateAndPostReflowCommand(). The real problem, identified by Scott Putterman, was that the definition of this function was in a debug only section in nsFrame.cpp. He has moved the function out of the debug only section. 2000-01-12 17:43:18 +00:00
putterman%netscape.com
7650e4cd34 This should fix the build bustage. 2000-01-12 17:20:16 +00:00
nisheeth%netscape.com
9523941284 Ifdef out the call to nsFrame::CreateAndPostReflowCommand() on the Mac build for now. 2000-01-12 10:41:15 +00:00
nisheeth%netscape.com
56525e3574 r=troy. Reflow commands are now coalesced by block and inline frames. This fixes bug 985 in which we now generate 6 reflow commands instead of 257. 2000-01-12 08:28:24 +00:00
sspitzer%netscape.com
d601e1d680 fixes to turn bug #22916 into a blank window bug (instead of a crasher)
r=troy
2000-01-11 22:15:20 +00:00
ftang%netscape.com
4235f416d2 fix word breaking problem. r=mjudge. treat all word breaking as the same. 2000-01-11 22:07:13 +00:00
mjudge%netscape.com
3ec359f588 bug 15982 r=cmanske. needed more places to add checks for style turning off normal selection. 2000-01-11 19:44:59 +00:00
troy%netscape.com
9d8d92a8f9 Fixed a problem with code that determined whether this was a beginning line.
It wasn't correctly handling the very first line in the block
2000-01-10 05:14:47 +00:00
troy%netscape.com
f08e81815b More work on getting block frames to incrementally update their
maximum width
2000-01-08 03:58:27 +00:00
mjudge%netscape.com
dcbf3266bd r= kin. fix for another parameter. fixing m13 bug with multiple selection. 2000-01-08 00:31:32 +00:00
rbs%maths.uq.edu.au
f11d46f904 [#ifdef MOZ_MATHML] Added extension to the reflow metrics to support the bounding metrics needed for precise MathML placements. This is a WIP approved by Troy. 2000-01-07 14:36:43 +00:00
rbs%maths.uq.edu.au
fb509ee983 [MATHML] Added code to enable Reflow() to return, if requested, the bounding metrics needed for precise MathML placements. This is a WIP approved by Troy. 2000-01-07 14:33:11 +00:00
pollmann%netscape.com
dcffe5f455 Bug 16218: Create webshell for frames with no src to allow js manipulation r= harishd 2000-01-07 06:18:48 +00:00
pollmann%netscape.com
14fd9c55fc Bug 18316: Safer way to adjust frame sizes - prevent possible UMR and segfaults r=harishd 2000-01-07 05:49:20 +00:00
vidur%netscape.com
b845753fb6 Fix for bug 23074. Implemented image.complete. r=pollmann 2000-01-06 23:41:14 +00:00
vidur%netscape.com
61b8a1e6d0 Fix for bug 21682. BASE tag was ignored in the fragment content sink. Added HTML element creation method that takes an ID. r=pollmann 2000-01-06 23:36:45 +00:00
pinkerton%netscape.com
f49713f10f Removed asserts now that nsScrollbarFrame correctly implements its QI. Fixed memory leaks with scrollbars by nsCOMPtr'izing stuff. r=pavlov. 2000-01-06 05:55:46 +00:00
av%netscape.com
67ea41bb94 Bug 22598. r=vidur 2000-01-05 01:18:38 +00:00
jst%citec.fi
25d2340ed0 Fixing bug 12181 (removing static IID's). r=troy@netscape.com 2000-01-04 20:24:09 +00:00
vidur%netscape.com
bd52d69467 Fix for bug 22709. image.width/height goes to frame if it isn't in an attribute - compatibility with Level 0. r=harishd 2000-01-04 03:06:13 +00:00
troy%netscape.com
540b3229d3 Reduced stack space by using PRPackedBool instead of PRBool 2000-01-04 02:59:35 +00:00
troy%netscape.com
8791b810ba Added new #define NS_SHRINKWRAPWIDTH that specifies that a frame should
shrink wrap its width (paying attention to the maximum computed width). Mostly
complete implementation for block frames
2000-01-03 04:32:13 +00:00
troy%netscape.com
138fa22a88 Work-in-progress for having maximum width (needed by tables) be updated
incrementally
1999-12-30 04:15:45 +00:00
sspitzer%netscape.com
c8e084ac35 fix #22493 and #22494. at least turn the crash into an assertion.
r=hangas.  also fix a warning.
1999-12-23 23:44:56 +00:00
buster%netscape.com
64906b0b20 fixed bug 19494
r=troy

The problem was the space mgr was computing mCount to be > 2* mSize, which this code couldn't handle correctly. So now if the space mgr computes mCount to be more than twice the size of the current count, we immediately bump up the size to that count.� If more are needed later, the next call will give us twice this number anyway.
1999-12-23 20:49:07 +00:00
sspitzer%netscape.com
bfc18b87ab initialize some variables, fix a comment, fix a FMM 1999-12-22 00:41:38 +00:00
pinkerton%netscape.com
2275305f2f remove hand-rolled QI and using scc's macros. Also removing static IID's where necessary. r=hyatt,scc a=sdagley. 1999-12-21 19:28:15 +00:00
tbogard%aol.net
22cbc2c1bb Fixing some places when talking to the webshell object to start talking through the new docshell interfaces. 1999-12-18 02:09:29 +00:00
pollmann%netscape.com
ae00920358 Bug 11762: Create a webshell for an iframe even if size is 0x0. r=evaughan a=chofmann 1999-12-15 00:09:10 +00:00
karnaze%netscape.com
2eb4655c2e incremental cell map, columns. Bugs 12122, 21544. r=troy,hyatt a=hofmann 1999-12-13 22:56:31 +00:00
kin%netscape.com
c802915a2e Fix for bug #18622 (UMR in nsLineLayout::CanPlaceFrame)
nsLineLayout::ReflowFrame() now sets some of the psd flags before
calling aFrame->Reflow().
r=troy@netscape.com,norris@netscape.com  a=chofmann@netscape.com
1999-12-10 18:41:43 +00:00
pinkerton%netscape.com
7d81a6f553 fix for page scrolling to scroll (one page - height of one line), not 80% of the page as before. bug 21348, r=evaughan,sfraser. a=brendan. 1999-12-10 02:14:35 +00:00
troy%netscape.com
bfb7487d47 b=19198, a=chofmann. Fixed RecoverStateFrom() to use the update conbined area when
invalidating. This fixes a regression introduced in version 3.308
1999-12-09 21:40:37 +00:00
troy%netscape.com
c0644e2987 Changed to respect 'z-index' of 'auto' and call SetViewAutoZIndex() 1999-12-08 04:49:20 +00:00
pollmann%netscape.com
18a8f9f113 Bug 19062: Fix crash when forms are absolutely positioned by giving them a space manager r=Troy 1999-12-08 02:07:03 +00:00
troy%netscape.com
63a9d6b36f Removed code from PrepareChildIncrementalReflow() that was marking all lines
dirty if max-element-size was requested.
1999-12-08 02:05:51 +00:00
troy%netscape.com
d36f7cea02 b=16456. Removed some debug assertion code that was incorrect and caused
us to hit asserts when printing
1999-12-07 23:41:48 +00:00
rginda%netscape.com
34a05a535b Adding check for null document. Prevents crash described in bug 20677.
r=brendan@mozilla.org
1999-12-07 22:04:52 +00:00
sfraser%netscape.com
81b90d3598 #ifdef out a printf. r=none 1999-12-07 07:38:16 +00:00
evaughan%netscape.com
29c18fc081 1) created an nsIScrollableFrame interface make it possible for Chris K to fix PDP+ bug #12122
-r Troy
1999-12-07 03:36:05 +00:00
troy%netscape.com
85012ab550 Change to how overflow is handled for absolutely positioned elements.
We no longer use nsIAraeFrame and now it's folded into the overflow
area in the reflow metrics
1999-12-06 15:49:53 +00:00
rods%netscape.com
dcfe8e548a Added a "flags" varaible for combobox creation
r=self, bug 19382
1999-12-05 20:43:19 +00:00
cls%seawood.org
5794c7cb83 Added empty throw() on operator new so that gcc 2.95+ doesn't complain about returning NULL. 1999-12-05 07:29:35 +00:00
hyatt%netscape.com
482f0f8746 Fix Linux bustage. 1999-12-05 02:24:02 +00:00
hyatt%netscape.com
de2eaede42 Implementing a generalized recycler and arena for all layout frames. Hoping to improve
bug #9489.  Should also definitely fix bug #15916. r=troy
1999-12-04 23:49:50 +00:00
tbogard%aol.net
eb96099e6d 1.) WebShell no longer implements nsIScriptContextOwner.
2.)  WebShell now implements the new nsIScriptGlobalObjectOwner.
3.)  WebShell supports GetInterface to nsIScriptGlobalObject.
4.)  Documents no longer carry around a reference to nsIScriptContextOwner.  Instead they hold on to a nsIScriptGlobalObject.  nsIDocument::GetScriptContextOwner has now become nsIDocument::GetScriptGlobalObject().  Same change to the set methods.
1999-12-03 09:24:22 +00:00
kmcclusk%netscape.com
4df6cffe8e Added NS_RELEASE's to fix leaking of nsIImage's. bug=19114; r=karnaze@netscape.com 1999-12-03 00:06:32 +00:00
evaughan%netscape.com
9c827edcdb 1) Added sanity checks to box to case memory bugs
2) Fixed the floating point roundoff that was causing boxes to lay themselves out off by 1 pixel
3) Simplified box data structure

-r Hyatt
1999-12-02 01:07:27 +00:00
pierre%netscape.com
97457e62bb Backing-out previous change which had the effect of getting rid of the widgets for *all* fixed positioned elements. Removing widgets is a goal at term but it's something that we want to leave to the View Manager folk(s) or at least do in sync with them. 1999-12-01 05:10:50 +00:00
troy%netscape.com
a19c2c4c87 Added XXX comment to remind me (and Chris) of a problem that needs to
be revisited
1999-12-01 04:50:26 +00:00
troy%netscape.com
01dc596189 Correctly this time 1999-12-01 04:13:19 +00:00
troy%netscape.com
6c92be92a0 Removed some commented out dead code 1999-12-01 04:12:46 +00:00
troy%netscape.com
a6363a7d20 Removed some old dead code 1999-12-01 04:10:47 +00:00
pierre%netscape.com
ce15b0c85d 18163 "Use of fixed positioning in style sheet corrupts display". Don't create empty widgets for fixed positioned elements in order to avoid problems in the View Manager (GetDrawingSurface) where we end up copying uninitialized bitmaps to the screen. The main reason for fixing the bug here instead of within the View Manager is that we'll get rid of widgets altogether over time. 1999-12-01 04:10:02 +00:00
pierre%netscape.com
046ba35285 12520 "GFX select elements need to be able to turn off text". Fixing previous checkins in nsFrame::DisplaySelection(): mUserSelect is not a bit field. 1999-11-30 23:31:16 +00:00
ftang%netscape.com
6773500b62 fix bug 18398. Make sure the startOffset and textWidth get reset in the while loop 1999-11-30 22:16:12 +00:00
troy%netscape.com
6070918134 b=20286. Changed PlaceFloater() so that it repositions any views after
placing the frame
1999-11-30 05:09:08 +00:00
warren%netscape.com
2db26922a6 Landing no_neckoutil2_branch. Bug #11159. Removes neckoutil_s.lib from build which helps beos and openvms. 1999-11-30 04:50:42 +00:00
troy%netscape.com
a87ea4d233 Changes parameter to be "const nsRect*" and changed a comment 1999-11-30 04:48:34 +00:00
tbogard%aol.net
715b5883cb nsFrameFrame now uses the nsIBaseWindow interface off the WebShell object to do positioning stuff instead of nsIWebShell interface. Also changed the call to GetTitle to properly free the returned pointer as an internal const pointer is no longer returned. 1999-11-27 03:06:59 +00:00
tbogard%aol.net
af1ce8d410 Changed nsIPresContext& to nsIPresContext*. Changed nsEventStatus& to nsEventStatus*. Now more compatible with XPIDL. a=vidur r=scc 1999-11-24 06:03:41 +00:00
mjudge%netscape.com
d1b5f823f1 Fixing mac issue with selection dragging not working when above or below single line text. aka URL. mac has a different preference now. this may be done with look and feel object later. hyatt,cmanske(19191) 1999-11-24 01:10:22 +00:00
mjudge%netscape.com
e5cc293e99 missed a |= instead of just a ==. The compared variable is a bitflag not just a number. 1999-11-23 22:49:44 +00:00
kin%netscape.com
ac5342a0c8 Fix for bug #18092 which is a modified version of Kipp's fix for #1413 that
also fixes #18002, and #18006. nsContainerFrame::GetFrameForPointUsing() now
looks through any outside children even if it finds a normal child containing
aPoint.

r=joki@netscape.com
1999-11-23 22:05:05 +00:00
mjudge%netscape.com
d7fbad6cea small fixes for BR frames getting correct offset. also one case of textframe not returning proper location (simply a missed change of a regressed call in PeekOffset) nsCaret was also too stringent on the limitation of text frames as the only frames to get the caret position. these were reviewed by a few people and i just dont remember. r=simon,cmanske,akkana and hyatt? 1999-11-23 20:30:21 +00:00
tbogard%aol.net
515e4d9739 Changed the concept of the webshell holding an mChromeElement object to it holding a nsIChromeEventHandler interface. This is more generic and allows other apps to plugin nicer into the API.r=hyatt 1999-11-23 09:57:47 +00:00
pierre%netscape.com
096c23050e 12520 "GFX select elements need to be able to turn off text". Changed nsFrame::DisplaySelection to use the parent's mUserSelect similarly to what we do with mCursor in nsFrame::GetCursor. r=mjudge. 1999-11-23 01:07:56 +00:00
troy%netscape.com
79ddaa641e b=19416. Workaround for problem of combo box drop-down being displayed in
the wrong place sometimes
1999-11-20 06:03:16 +00:00
troy%netscape.com
0e0d40fa91 b=19374. Restored some code I unintentionaly removed in previous checkin.
Now after Reflow() of child frame "kidRect.width" and "kidRect.height" are
updated
1999-11-19 22:04:01 +00:00
troy%netscape.com
597b5f236b WillReflow/DidReflow changes and changes to the way view positioning
and sizing works
1999-11-19 15:33:29 +00:00
buster%netscape.com
93551f1751 moved content-specific data and methods from nsIWebShell to appropriate content viewer interface
no bug number, this is for webshell redesign work
r=rickg, travis
1999-11-19 07:35:27 +00:00
kin%netscape.com
9ce2f08c0b Fix for bug #17989: Selection AutoScrolling broken when using GFX Scrollbars
layout/base/src/nsRangeList.cpp
        - Added ConstrainFrameAndPointToAnchorSubtree() and various utility
          methods.
        - Modified HandleDrag() to call ConstrainFrameAndPointToAnchorSubtree().

    layout/html/base/src/nsFrame.cpp
        - Modified GetContentAndOffsetFromPoint() to skip over generated
          and anonymous content frames.

    layout/html/base/src/nsGfxScrollFrame.cpp
    layout/html/base/src/nsGfxScrollFrame.h
        - Override the default nsFrame::GetContentAndOffsetsFromPoint()
          implementation with a version that calls
          mInner->GetContentAndOffsetsFromPoint(). This prevents the
          scrollbar frames from being included in the search.

    view/src/nsScrollPortView.cpp
        - Fixed bug where GetContainerSize() was returning the size of the
          ScrollPortView instead of the ScrolledView.

r=evaughan@netscape.com
1999-11-18 19:40:52 +00:00
tbogard%aol.net
cfc00042fa Changed QueryCapability to use the new interface requestor. r=pavlov 1999-11-14 10:22:00 +00:00
vidur%netscape.com
375a018914 Fix for bug 13948. We now correctly store and retrieve an OL element with type=1. R=pollmann. 1999-11-12 02:06:09 +00:00
troy%netscape.com
2e7ee4874b b=17546. Changed block frame code to save/restore space manager when create
a space manager, and changes button code to use the NS_BLOCK_SPACE_MGR flag
when creating the area frame
1999-11-11 06:00:41 +00:00
av%netscape.com
ca533a122e Fix for bug 16302. Added counting margins when calculating the object size, r=nisheeth 1999-11-11 00:00:07 +00:00
nisheeth%netscape.com
ab25264f7b r=vidur. a=chofmann. Post a reflow event instead of doing reflow command processing synchronously. Currently this only happens on content appended and content inserted notificaitions in the pres shell. 1999-11-09 03:23:26 +00:00
dmose%mozilla.org
5312eacf8c updated license boilerplate to xPL 1.1, a=chofmann@netscape.com,r=endico@mozilla.org 1999-11-06 03:40:37 +00:00
mjudge%netscape.com
cdbbab7322 fix review by sfrasier, approved choffman. simple fix to get first letter style frames/paragraphs to show their selection. simply notifies children that the selection bit should be "on" 1999-11-05 22:09:16 +00:00
kin%netscape.com
69f6a5d415 Temporary Fix for dogfood blocker bugs #18002 and #18006. With kipp's
permission, I backed out his fix for bug #1413 from
layout/html/base/src/nsContainerFrame.cpp revision 1.68.
Will re-check in kipp's fix after M11 is branched.
r=buster@netscape.com  a=chofmann
1999-11-05 17:42:21 +00:00
kipp%netscape.com
ca39ca7b10 r=vidur; bug=17372; found a case where a trailing shy character on a line would trigger an infinite loop iff the shy character was the only piece of text after a text frame had been continued 1999-11-04 19:34:36 +00:00
kipp%netscape.com
2e252d2512 r=joki; fixed the ancient and venerable bug 1413 by noting that the code was using an optimization that wasn't always valid and that one that optimization wasn't valid, the slower path must be used...I commented the fix fairly solidly 1999-11-03 22:09:00 +00:00
kipp%netscape.com
ef6a9e0b86 r=troy; remove another 4 bytes from each block frame for a total of 10% today :-) 1999-11-03 00:42:12 +00:00
mjudge%netscape.com
cb31827195 small fix from pierre on use of the style system. pierre reviewed. 1999-11-03 00:11:49 +00:00
kmcclusk%netscape.com
b73baec438 Removed call to mWebShell->Repaint in nsHTMLFrameInnerFrame::Reflow. This eliminates
multiple repaints of the content area in Mozilla when the content area is resized.
The mWebShell->SetBounds is sufficient since it invalidates the webshell window.
bug 16270; r= rods@netscape.com
1999-11-03 00:11:40 +00:00
kipp%netscape.com
f6d66c6b92 r=troy; Shrink block frames by 4 bytes per instance by making the overflow-lines instance variable a frame property 1999-11-02 23:42:52 +00:00
cls%seawood.org
bee74e223b Removed unused NECKO ifdefs.
a=leaf
1999-11-02 23:34:03 +00:00
kipp%netscape.com
c93281e841 r=troy; fixed bugs 2636 and 17636 - line layout issues for some more edge cases (nobr's with floaters in them) and handling of nbsp 1999-11-02 15:44:57 +00:00
troy%netscape.com
614cbe4d17 Changed QueryInterface() to check for nsIFrameDebug 1999-11-02 05:49:11 +00:00
troy%netscape.com
92397272b4 Fixed problem with GetFrameName() being defines in non-debug build 1999-11-01 23:12:32 +00:00
kipp%netscape.com
b8f8a97ca6 r=troy; fixed bug 14982 - the problem was that empty continuations of an inline non-replaced element (e.g. 'span') were impact line-height calculations when they should effectively disappear 1999-11-01 22:38:17 +00:00
troy%netscape.com
1585a751fb Moved a bunch of stuff out to a nsIFrameDebug interface 1999-11-01 22:12:45 +00:00
kipp%netscape.com
80998e8d8c r=ftang (someday); fixed bug 17130 - the problem was that nbsp's were being mapped into spaces by the text-transformer which is normally good, but for the purposes of line-breaking look-ahead was bad. I added code to revert the post-transformed spaces into nbsp's before using the line-breaker 1999-11-01 15:36:02 +00:00
kipp%netscape.com
9e50fa5b4f r=ftang (someday); fixed 17559 regression - there were a few cases where characters > 127 were leaking out without setting the mHasMultibyte flag that were triggering painting bugs on macs... 1999-11-01 15:32:37 +00:00
kipp%netscape.com
3c7c76999f Disabled debug noise I accidently checked in (whoops!) 1999-11-01 15:31:04 +00:00
kipp%netscape.com
0a512d8393 r=troy; reworked the way that blocks inside of inline elements are handled. It's all in the frame construction code now (bugs 15999, 16737) 1999-11-01 15:24:57 +00:00
troy%netscape.com
2b4f236320 Added nsHTMLReflowState.h 1999-10-30 16:16:45 +00:00
troy%netscape.com
a12c3d6c5d Folded reflow functions into nsIFrame and eliminated nsIFrameReflow and
nsIHTMLReflow. This saves 4 bytes per frame and cleans things up
1999-10-30 02:52:11 +00:00
mjudge%netscape.com
21ff71f017 i cannot find the bug# it is for selecting inside forms. we need to turn off selection in certain frames based on the style. this sets up it to work once we figure out the style rule to set. 1999-10-29 23:07:07 +00:00
evaughan%netscape.com
039be939e6 Made tabs us visibility instead of shrinking their children to 0,0.
Made it possible to change the look for the selected tab.
1999-10-29 22:13:57 +00:00
kipp%netscape.com
3409a3e7b1 r=troy; fixed a crash bug in the debug logic found while fixing 12958 1999-10-29 14:36:00 +00:00
kipp%netscape.com
24eed8d0c5 r=troy; api changes for 12958, 12760 and preperations for 17377 1999-10-29 14:35:36 +00:00
kipp%netscape.com
1b94ea5410 r=troy; cleaned up resize reflow optimization logic and prepared it for fixing bug #17737 (not yet fixed!) 1999-10-29 14:34:53 +00:00
kipp%netscape.com
afdbdc1c10 r=troy; fixed letter frame logic to use the line layout to flow frames so that white-space trimming, for example, would work right 1999-10-29 14:34:01 +00:00
kipp%netscape.com
f961e4b03a r=troy; updated api slightly to support fixes to bug 12760, 12958 and some resize-reflow optimization bugs 1999-10-29 14:33:26 +00:00
kipp%netscape.com
911d3089e8 r=troy; use new line-layout api to help with some resize-reflow optimization bugs 1999-10-29 14:32:11 +00:00
kin%netscape.com
74852c1b92 Fix for bug #16176: [DOGFOOD] need to annotate line frames with whitespace trim
layout/base/src/nsCaret.cpp
        - Modified DrawCaretWithContext so that we only
          adjust the caret position if we are within the
          frame's bounds.

    layout/html/base/src/nsTextFrame.cpp
        - Modified GetPointFromOffset() to add the width
          of a space if the offset is after a trailing space
          and it was trimmed off the frame.

r=sfraser@netscape.com
1999-10-29 13:43:11 +00:00
kipp%netscape.com
ea416bdb68 bug=17320; Fixed a purify warning 1999-10-28 14:33:34 +00:00
troy%netscape.com
2ea886f3be Changed view to be stored as a frame property instead of a member data
of nsFrame
1999-10-27 03:56:14 +00:00
troy%netscape.com
2e4ab18e9c Change to some assertions in debug mode 1999-10-27 00:53:15 +00:00
troy%netscape.com
87afecabc0 Changed SetView/GetView to take an additional argument which is the
pres context
1999-10-26 04:44:41 +00:00
kipp%netscape.com
dc8f6cd4c4 Reduce the number of cases that trigger noisy debug noise 1999-10-25 23:05:31 +00:00
kipp%netscape.com
e04f117392 Turned off some more debug noise 1999-10-25 23:05:15 +00:00
kipp%netscape.com
193727f73e r=ftang,brade, bug=16886,9101 - the text transformer was letting some nbsp's through in a few special cases; the text transformer also squelches shy characters now (9101) 1999-10-25 23:04:51 +00:00
ftang%netscape.com
0b2a09b76d fix not enough gap between IME selection problem. r=erik 1999-10-25 22:18:41 +00:00
troy%netscape.com
29963d8875 Changed nsTextFrame to be derived from nsFrame instead of nsSplittableFrame.
nsTextFrame now has only a next-in-flow pointer and no prev-in-flow pointer.
Subclass nsContinuingTextFrame is used for continuing text frames; it has a
prev-in-flow pointer. This saves 4 bytes
1999-10-23 23:19:14 +00:00
troy%netscape.com
f5ba346bdc Removed 5 convenience functions from nsIFrame 1999-10-22 14:53:52 +00:00
kipp%netscape.com
8f4ae7163a Removed some more warnings 1999-10-22 14:51:41 +00:00
braddr%puremagic.com
f939a5bb97 Change NS_COMFALSE instances to NS_ERROR_ABORT's 1999-10-22 05:32:31 +00:00
valeski%netscape.com
ff2d2903ad fixing build warning 1999-10-22 04:48:31 +00:00
troy%netscape.com
5d86678e7b r=karnaze@netscape.com
Save 8 bytes per table cell frame by eliminating mCollapseOffset and
using a frame property instead.
1999-10-22 02:06:22 +00:00
mjudge%netscape.com
7d0e807931 massive checkin for underlying implementation of key handling from javascript and home/end breakage and.. selecting around NON-text frames. like arrowing around an image for example. 16636,16655 and another i cannot find. r=kin r=hyatt a=me 1999-10-22 00:19:18 +00:00
ftang%netscape.com
e1475842c4 change the input method highligh code from 2 style to 4 styles. r=mjudge 1999-10-21 22:01:18 +00:00
kipp%netscape.com
a66a206556 Fixed percolation of nbsp's into the transformed buffer (bug 16886) 1999-10-21 20:47:36 +00:00
kipp%netscape.com
584976d119 r=troy; Optimize append text reflows to only reflow the new part of the text 1999-10-21 20:46:05 +00:00
kipp%netscape.com
b10899223c r=troy; bug: 15153; fixed problem with style-change reflows not being propogated properly 1999-10-21 20:44:58 +00:00
kipp%netscape.com
0d540807d5 r=troy; bugs: 13196; fixed floating table reflow issues found in 13196 by storing floater max-element-size for later retrieval 1999-10-21 20:44:22 +00:00
kipp%netscape.com
568331e355 r=troy; bugs: 15153, 13196; fixed problem with style-change reflows not being propogated properly; also fixed floating table reflow issues found in 13196 by storing floater max-element-size for later retrieval 1999-10-21 20:43:48 +00:00
evaughan%netscape.com
b6438a44bc Fixed some warnings: reviewed -hyatt 1999-10-21 20:17:51 +00:00
kipp%netscape.com
897f9ed9f9 new 1999-10-21 16:20:53 +00:00
troy%netscape.com
0959b411de r=kipp@netscape.com
Added API to get/set properties on frames. Also changed nsContainerFrame
to use a property to implement the frame overflow list. This saves 4 bytes
per container frames
1999-10-21 05:11:43 +00:00
evaughan%netscape.com
a2bcc96c08 fixed numerous warnings. Reviewed by Hyatt. 1999-10-20 00:46:21 +00:00
kipp%netscape.com
a5c69dc5af Fixed O(N^2) debug logic bug; speed up paint loop by avoiding painting too much now that we have combined-area (bug 7455, 12297) 1999-10-19 23:04:19 +00:00
kipp%netscape.com
a03246a1e0 update to new nsTextTransformer api 1999-10-19 23:01:58 +00:00
kipp%netscape.com
effbb5992f r=ftang; rewrite to fix 16656, parts of 7455 1999-10-19 23:01:45 +00:00
kipp%netscape.com
15a0ec26fa r=troy; revised nsITextContent api to simplify it and the consumers; this is done as prep work for bug 9101 1999-10-15 23:36:07 +00:00
kipp%netscape.com
6b86a5034c r=troy; fixed bug 7093 by carefully pre-computed the collapsed top margin before reflowing the child block and then using that value to properly acquire the available space; In addition, I had to fix an incremental reflow bug associated with this problem 1999-10-15 23:35:10 +00:00
peterl%netscape.com
a6adfea707 Added namespace ID to the AttributeChanged notification
Part fo the fix for Bug 15153
r=troy
1999-10-15 23:16:45 +00:00
buster%netscape.com
a13fc42067 no bug number, part of webshell cleanup. nsIWebShell.h was needlessly included, so I removed it
trivial change, no reviewer.
1999-10-15 13:34:45 +00:00
kin%netscape.com
6762dd27f5 Fix for bug #15360: Drag Selecting, Clicking, then Clicking leaves caret cruft.
r=troy@netscape.com,kipp@netscape.com,evaughan@netscape.com,beard@netscape.com

layout/html/base/src/nsGfxScrollFrame.cpp
    - Renamed all occurrences of ScrollPositionChanged() to
      to ScrollPositionDidChange() to match changes made
      to nsIScrollPositionListener.
    - Added ScrollPositionWillChange() stub method.

layout/html/base/src/nsPresShell.cpp
    - Added PresShellViewEventListener class that implements the
      nsIScrollPositionListener and nsICompositeListener view
      interfaces. This allows us to turn caret rendering on and off
      when scrolling and repainting to prevent leaving caret cruft
      on the screen.
    - PresShellViewEventListener is created in InitialReflow(), and
      released in ~PresShell().

view/public/Makefile.in
view/public/makefile.win
view/public/MANIFEST
    - Added nsICompositeListener to list of files to be exported.

view/public/nsICompositeListener.h
    - New file. Implementers of this interface can register themselves
      with the view manager to receive notification before and after
      a view is composited/refreshed.

view/public/nsIScrollPositionListener.h
    - Added a ScrollPositionWillChange() method.
    - Changed ScrollPositionChanged() to ScrollPositionDidChange().

view/public/nsIViewManager.h
    - Added AddCompositeListener() and RemoveCompositeListener methods.

view/src/nsScrollingView.cpp
view/src/nsScrollingView.h
    - Added NotifyScrollPositionWillChange() and
      NotifyScrollPositionDidChange() methods.
    - Modified HandleScrollEvent() to call NotifyScrollPositionWill/DidChange()
      methods. Added temporary offsetX and offsetY variables to allow us
      to calculate new offsets without changing mOffsetX and mOffsetY before
      notifications are sent out.

view/src/nsScrollPortView.cpp
    - Changed ScrollPositionChanged() to ScrollPositionDidChange().
    - Modified ScrollTo() to call the listener's ScrollPositionWillChange()
      method.

view/src/nsViewManager.cpp
view/src/nsViewManager.h
    - Added AddCompositeListener() and RemoveCompositeListener() methods.
    - Added support for CompositeListener notifications in the Refresh()
      methods for regions and rects.
    - Fix for bug #15901: [DOGFOOD] Selected text does not clear when you type
      Modified UpdateView() so that rects with zero width and height are
      no longer added to our damage region.
      r=beard@netscape.com
1999-10-15 04:29:30 +00:00
mjudge%netscape.com
385f949e66 oops. for got to check this in last time. bug number is 14795 1999-10-14 23:52:42 +00:00
kipp%netscape.com
c0f47fe47c Fixed edge case where line bounds wasn't quite accurate which causes the combined rect to not match which now wastes memory; only affects right aligned lines 1999-10-14 23:10:59 +00:00
kipp%netscape.com
ab0a40b009 r=troy; Reworked nsLineBox api to allow for reduced storage overhead; fixed bug 16252 while keeping bug 12709 fixed 1999-10-14 23:10:03 +00:00
kipp%netscape.com
1f6b355fee r=troy; Use a custom frame type so that bullets show up properly in the frame sizing data 1999-10-14 23:08:58 +00:00
tbogard%aol.net
57fb3acb21 Fixed a number of incorrect assumptions of the attribute retrieval so it would now work with the of new XUL content nodes (iframe, browser, editor). r=hyatt. 1999-10-14 10:58:04 +00:00
troy%netscape.com
eccee5177e b=15388,15408 r=peterl@netscape.com
Made it so that for absolutely positioned frames we pass in the containing
block width/height to the HTML reflow state, rather than have it compute it.
This means we get a bottom up size rather than a top down size. That fixes
a problem where for containing blocks with a specified 'height' of 'auto' we
weren't correctly calculating the containing block height
1999-10-14 04:56:50 +00:00
pollmann%netscape.com
3ab87e9d02 Bug 15423: Check for a base href when forming the URL for an image map; r=harishd 1999-10-13 01:37:30 +00:00
mjudge%netscape.com
3a065e373b bugs 15547,15645,13665,13277,5761, r=akkana,kin,hyatt. fixing selection bugs, keyboard navigation, triple clicking and drag scrolling. get position not a valid call anymore to nsIFrame.h 1999-10-13 01:16:09 +00:00
mjudge%netscape.com
fc71fb36d1 bugs 15547,15645,13665,13277,5761, r=akkana,kin,hyatt. fixing selection bugs, keyboard navigation, triple clicking and drag scrolling. 1999-10-13 01:15:26 +00:00
troy%netscape.com
e592be8776 b=15509, r=peterl@netscape.com
If the frame has visible content that extends outside its content area,
then the view needs to be marked as having transparent content
1999-10-13 01:02:53 +00:00
kipp%netscape.com
02b64f135d r=kin,troy; Fixed reflow bug with optimization logic to avoid measuring text (no bug #) 1999-10-12 23:29:01 +00:00
kipp%netscape.com
e44578adf4 Fixed bugs with combined-area continuing to include trimmed whitespace (wip for 12297); Added support for tracking trim for 16176) 1999-10-12 23:27:32 +00:00
kipp%netscape.com
384ec5e73f New API for bug 16176 1999-10-12 23:26:41 +00:00
kipp%netscape.com
87e08f98e9 Factored common code into a single method (UseComputedHeight) 1999-10-12 23:25:49 +00:00
kipp%netscape.com
5a9e69f0c8 Port to new nsILineIterator api 1999-10-12 23:25:19 +00:00
kipp%netscape.com
2cd78b72d8 Fixed bug with bounds of line-box including side margins when it shouldn't (part of 12297) 1999-10-12 23:24:51 +00:00
kipp%netscape.com
d29d16b728 r=troy; Cleaned up line-box API (prep work for bug #12297; more coming); Support new line iterator API change (#16176) 1999-10-12 23:24:22 +00:00
mgleeson1%netscape.com
e12bc5aecd r=evaughan friend declaration needs to declare object is function or class (HPUX) 1999-10-12 22:58:04 +00:00
evaughan%netscape.com
f3a2112f38 Integrated Gfx scrollbars. 1999-10-12 00:16:06 +00:00
av%netscape.com
4e9cabb770 Bug 15178, r=vidur adding check for null-pointer avoiding crash 1999-10-08 23:46:23 +00:00
troy%netscape.com
0d79fa2c78 Fix for blocker #15839. r=kipp@netscape.com,kin@netscape.com
Typing into a text area wasn't working properly. Problem was that when the text
changed we were reflowing the text frames with a resize reflow command and
we thought we could optimize the reflow. So I changed ContentChanged() to
mark each text frame dirty so we would know not to do the optimization
1999-10-08 22:04:31 +00:00
kipp%netscape.com
65f6ba5343 Cleanup moz-decl-counter usage and fix NS_LOG_ADDREF usage 1999-10-08 20:41:19 +00:00
troy%netscape.com
3b3ccb9cf7 Removed some dead code and moved some #if 0 code from the area frame
to the block frame. This completes the previous checkin
1999-10-08 04:45:12 +00:00
troy%netscape.com
72ee697f6c Frame space reductions. r=kipp@netscape.com
Table cell frames and table caption frames now use block frames and not area
frames. This saves 24 bytes per frame instance
1999-10-08 04:32:46 +00:00
warren%netscape.com
8c71c45537 Fixed AddRef/Release problems to eliminate negative refcounts in Bloaty. 1999-10-08 01:49:06 +00:00
troy%netscape.com
cdf2c77595 Moved space manager to block frame and changed it the space manager is
temporary only during the reflow process
r=kipp@netscape.com
1999-10-06 22:05:23 +00:00
troy%netscape.com
606f3b77ab Space issue. r=kipp@netscape.com
Replaced hash table which used lots of memory with simple linked list of
FrameInfo* structs
1999-10-06 04:22:51 +00:00
kipp%netscape.com
a2f1c7cf5a r=troy; Added in ctor/dtor counting 1999-10-05 14:51:12 +00:00
rpotts%netscape.com
89f54ea1ae bug #15341 and bug #15344. Use the documentloader observer instead of a stream observer. 1999-10-05 04:04:16 +00:00
peterl%netscape.com
724aca8163 removing dead style change code
r=troy
1999-10-02 04:24:20 +00:00
troy%netscape.com
6b808204e8 Added SizeOf() handler for floater information maintained by the
line box
1999-10-02 02:51:03 +00:00