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
nisheeth%netscape.com
f719f7a927
r=vidur. Fix for bug . We now revoke pending reflow events in the pres shell's destructor.
2000-02-10 07:27:43 +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
kmcclusk%netscape.com
cd6f5d237b
Prevent synchronous paints during reflows bug 20150; r=rods@netscape.com
...
Call SetTextAlign within SetupDC instead of in each DrawString on WIN32. bug 26973; r=rods@netscape.com
2000-02-09 15:48:01 +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
brade%netscape.com
33f3444ca1
export file for rdf.mcp
2000-02-02 22:37:51 +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
nisheeth%netscape.com
ac04e405d8
Enabling async reflow after the document has loaded.
2000-02-02 00:19:52 +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
sfraser%netscape.com
667a9319d7
Fix for crash loading bugzilla pages (infinite reflow recursion). by vidur, r=smfr, a=leaf
2000-01-28 22:58:17 +00:00
rods%netscape.com
c56fe2a751
when an option contained a comment node and and an attr was unset case a
...
WipeContainingBlock to be called. This was because the undisplayed node had a psuedo
style that wasn't being properly reolved to this code thought the comment was now visible
instead of being hidden.
b=none r=pierre,attinasi
2000-01-28 15:03:00 +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
nisheeth%netscape.com
44c1cfd98b
Fix for bug 10818. r=troy. Add reflow batching APIs to the pres shell.
2000-01-28 00:48:02 +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
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
rods%netscape.com
970f05bca6
impls the new flag to only scroll when not visible
...
b 18649 r=troy
2000-01-25 20:36:24 +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
c849a94fa7
b=24815. Make sure not to squelch NS_IMAGE_LOAD_STATUS_ERROR notifications
...
because the image frame needs these to call CantRenderReplacedElement()
2000-01-25 03:00:26 +00:00
nisheeth%netscape.com
8232c12c1c
r=Vidur. Always default mDocumentIsLoading to PR_TRUE for now. This stops us from crashing when we hit backspace in the editor.
2000-01-24 19:11:02 +00:00
nisheeth%netscape.com
22a5959edb
Work done by Vidur and me. Added a FlushPendingNotifications() method to the document. This method flushes the pending content notifications from the content sink and the pending reflow notifications from the pres shell. This code is turned off for now so that it can be tested more thoroughly by Vidur and me.
2000-01-24 06:43:15 +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
nisheeth%netscape.com
e0e3ba5b00
The timers used by the asynchronous reflow code were not compiling on the Mac earlier. Fixed them so that they compile on all platforms.
2000-01-13 04:27:05 +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
troy%netscape.com
0cba827c69
b=23707. Made sure HR frame correctly computes max-element-size
...
when it has an 'auto' width
2000-01-12 04:52:19 +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
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
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
troy%netscape.com
b4b5e28fd5
Fixed three more compiler warnings
2000-01-04 03:09:32 +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
16208e4681
Fixed compiler warning
2000-01-04 03:04:56 +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
bryner%uiuc.edu
717cbdd7e2
Fix a warning. r=mcafee.
1999-12-28 20:26:56 +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
nisheeth%netscape.com
d64e97f2c2
PRTime is a struct on the Mac. I'm going to need to time to make changes so that everything works on the Mac. Commenting out the offending code for now as it is not used in the default case.
1999-12-23 03:47:02 +00:00
nisheeth%netscape.com
0b66a8a4df
Attempt to fix Mac bustage.
1999-12-23 03:08:57 +00:00
nisheeth%netscape.com
9d77060d0e
a=donm, r=vidur.
...
- Added support for two prefs:
a) a boolean pref "layout.reflow.async" that turns asynchronous reflow on/off. The default is off.
b) an integer pref "layout.reflow.timeslice" that specifies a reflow timeslice, in microseconds. When asynchronous reflow is on, the reflow command processing loop in ProcessReflowCommands() tries to return to the event loop if the time spent processing reflow commands exceeds this timeslice. The default value is 1 second.
1999-12-23 02:02:33 +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
mjudge%netscape.com
fbbf78681f
Precursor change to akkana and hyatts fix for platform dependent key-bindings. HOME and END will now implement the scroll to top and scroll to bottom for mac. Scroll and Move for pageup/pagedown and CTRL-HOME and CTRL-END on windows will not work until m13. This is ok for now and will hurry up completion of M12. r=akkana. simple fix like 10 lines really.
1999-12-16 22:48:02 +00:00
mjudge%netscape.com
7831406607
adding in nsISelectioncontroller idl for line up/down. fixing editor controller usage for input and textareas. changin nsGfxTextControlFrame.cpp to add editor controllers at the time we need them, not when the control is created due to the delay of the nsEditor creation. nsPresShell implements the new nsISelectionController interfaces. changed makefiles to reflect missing nsEditorController also.
1999-12-15 03:54:52 +00:00
rods%netscape.com
f6731636bf
mVisible not being used correctly nneded to check against NS_STYLE_VISIBILITY_VISIBLE
...
bug 19300,20250 r=kmcclusk a=chofmann
1999-12-14 20:27:20 +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
mjudge%netscape.com
b51f84b3de
massive changes a=jar.hoffman, r=akkana
1999-12-11 00:02:08 +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
4860bec449
Removed an assert that is no longer applicable
1999-12-07 23:43:07 +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