nisheeth%netscape.com
e468aef1ea
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
0f660e6f84
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
73a3709284
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
3326c2959e
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
762fd5b61c
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
144c7db017
Fix for #18679
2000-01-19 00:31:52 +00:00
troy%netscape.com
9bbcfdde0b
Made sure to subtract top margin from available height when paginated
2000-01-18 15:39:38 +00:00
attinasi%netscape.com
4666bd5146
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
195660d7fa
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
bb80e9df7d
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
6dd6747054
[MATHML] Change of the character coordinate system of the bounding metrics
2000-01-17 07:34:24 +00:00
dbaron%fas.harvard.edu
d23f14ddac
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
489fa24f63
Fixes for bugs 17460 and 21656. r=travis
2000-01-14 09:28:54 +00:00
nisheeth%netscape.com
3ad784a259
Fix for bug 23781.
2000-01-13 23:32:47 +00:00
brade%netscape.com
7ee5171309
use proper key for discontiguous selection on Mac (r=jfrancis)
2000-01-13 16:07:03 +00:00
troy%netscape.com
0129f52c00
b=23388. Make sure mIsTopMarginRoot is set correctly in nsBlockReflowState
...
constructor
2000-01-13 02:05:31 +00:00
nisheeth%netscape.com
5bac2cf869
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
0015473d9a
small changes for 22752 ctrl left and right. r=cmanske
2000-01-12 21:39:36 +00:00
nisheeth%netscape.com
009325d72d
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
ff3328ee49
This should fix the build bustage.
2000-01-12 17:20:16 +00:00
nisheeth%netscape.com
0bc4c0eb6c
Ifdef out the call to nsFrame::CreateAndPostReflowCommand() on the Mac build for now.
2000-01-12 10:41:15 +00:00
nisheeth%netscape.com
409aee6ae9
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
7d9e8b8dfa
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
573b760f5c
fix word breaking problem. r=mjudge. treat all word breaking as the same.
2000-01-11 22:07:13 +00:00
mjudge%netscape.com
45c4933f44
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
1b8b3932a0
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
bd57e59030
More work on getting block frames to incrementally update their
...
maximum width
2000-01-08 03:58:27 +00:00
mjudge%netscape.com
eecd5e732f
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
b3ba853dbc
[#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
9ce95074db
[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
711b7e4ffa
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
856e0c6645
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
bc3cf76724
Fix for bug 23074. Implemented image.complete. r=pollmann
2000-01-06 23:41:14 +00:00
vidur%netscape.com
0627177b1b
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
975e30c252
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
8ca1491a0e
Bug 22598. r=vidur
2000-01-05 01:18:38 +00:00
jst%citec.fi
7378578fe5
Fixing bug 12181 (removing static IID's). r=troy@netscape.com
2000-01-04 20:24:09 +00:00
vidur%netscape.com
f487ac76f3
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
e1f277616c
Reduced stack space by using PRPackedBool instead of PRBool
2000-01-04 02:59:35 +00:00
troy%netscape.com
1558ba3b1a
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
4ddb903853
Work-in-progress for having maximum width (needed by tables) be updated
...
incrementally
1999-12-30 04:15:45 +00:00
sspitzer%netscape.com
2ea8eb53f3
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
02a32d9226
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
5afbc93e4c
initialize some variables, fix a comment, fix a FMM
1999-12-22 00:41:38 +00:00
pinkerton%netscape.com
c1fd7f7797
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
780e191953
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
78ccc9c47f
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
ba422c3ed8
incremental cell map, columns. Bugs 12122, 21544. r=troy,hyatt a=hofmann
1999-12-13 22:56:31 +00:00
kin%netscape.com
cd6d6bf2da
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
a8cb60aa8b
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
9420612b5a
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
a6b6c4cdc7
Changed to respect 'z-index' of 'auto' and call SetViewAutoZIndex()
1999-12-08 04:49:20 +00:00
pollmann%netscape.com
1ff41e3d76
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
976a6ebb15
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
0864b57fe0
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
b749fbbf15
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
7a09644a3d
#ifdef out a printf. r=none
1999-12-07 07:38:16 +00:00
evaughan%netscape.com
183d6249cf
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
3c7966f705
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
23eed4531c
Added a "flags" varaible for combobox creation
...
r=self, bug 19382
1999-12-05 20:43:19 +00:00
cls%seawood.org
4199ed0d8d
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
260d64f5fc
Fix Linux bustage.
1999-12-05 02:24:02 +00:00
hyatt%netscape.com
16a944a1e3
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
648ace3e23
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
85e3c0493a
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
5c9a818369
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
8599cb76a4
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
c86aebb168
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
a43233ea1a
Correctly this time
1999-12-01 04:13:19 +00:00
troy%netscape.com
cfcb675bb4
Removed some commented out dead code
1999-12-01 04:12:46 +00:00
troy%netscape.com
53b3fe1d67
Removed some old dead code
1999-12-01 04:10:47 +00:00
pierre%netscape.com
537d50025c
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
c96bf41683
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
606b96a9df
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
8d6fa574b2
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
a265a32348
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
12f89b6912
Changes parameter to be "const nsRect*" and changed a comment
1999-11-30 04:48:34 +00:00
tbogard%aol.net
4f8eb9b94c
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
a0640b60c4
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
a7cd9f0066
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
22011f00ad
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
bc173ec910
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
59b8ea67f0
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
82bc6d307b
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
c1abaa96a5
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
18e16961d7
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
df581eb873
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
fe56995443
WillReflow/DidReflow changes and changes to the way view positioning
...
and sizing works
1999-11-19 15:33:29 +00:00
buster%netscape.com
5e269fcf05
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
655697a251
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
4f6c979f2f
Changed QueryCapability to use the new interface requestor. r=pavlov
1999-11-14 10:22:00 +00:00
vidur%netscape.com
d563684b31
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
e36c0c9d4c
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
7c2704d6f6
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
242db1bd00
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
42fc94a6ec
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
ceceeacb0a
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
98547fd894
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
2fb6aeb04b
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
f4f952bf1f
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