2334 Commits

Author SHA1 Message Date
troy%netscape.com
d0163fda49 Made sure to subtract top margin from available height when paginated
git-svn-id: svn://10.0.0.236/trunk@58102 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-18 15:39:38 +00:00
attinasi%netscape.com
475c4732e6 Added flags to factory method to allow NS_BLOCK_SPACE_MGR to be passed. Fixes bug 23611. r=rods,pierre
git-svn-id: svn://10.0.0.236/trunk@58101 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-18 15:38:50 +00:00
attinasi%netscape.com
0bd01644df Added ASSERTION and run-time check for SpaceManager before dereferencing it. r=rods,pierre
git-svn-id: svn://10.0.0.236/trunk@58100 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-18 15:36:36 +00:00
joki%netscape.com
fb23199c5a Fix multiple event targetting bugs (23161, 10514, 13213, 16548, 19496, 12231) and reinstate the onchange event for text fields (bug 22472). r:rods
git-svn-id: svn://10.0.0.236/trunk@58097 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-18 15:17:31 +00:00
rbs%maths.uq.edu.au
9276d563b5 [MATHML] Change of the character coordinate system of the bounding metrics
git-svn-id: svn://10.0.0.236/trunk@58000 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-17 07:34:24 +00:00
dbaron%fas.harvard.edu
e94508f0df 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


git-svn-id: svn://10.0.0.236/trunk@57969 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-16 15:13:46 +00:00
hyatt%netscape.com
8f6502ffb7 Fixes for bugs 17460 and 21656. r=travis
git-svn-id: svn://10.0.0.236/trunk@57811 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-14 09:28:54 +00:00
nisheeth%netscape.com
1a9c3b3033 Fix for bug 23781.
git-svn-id: svn://10.0.0.236/trunk@57721 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-13 23:32:47 +00:00
brade%netscape.com
ff04156de5 use proper key for discontiguous selection on Mac (r=jfrancis)
git-svn-id: svn://10.0.0.236/trunk@57680 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-13 16:07:03 +00:00
nisheeth%netscape.com
a7972696d1 The timers used by the asynchronous reflow code were not compiling on the Mac earlier. Fixed them so that they compile on all platforms.
git-svn-id: svn://10.0.0.236/trunk@57629 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-13 04:27:05 +00:00
troy%netscape.com
1b4ab66907 b=23388. Make sure mIsTopMarginRoot is set correctly in nsBlockReflowState
constructor


git-svn-id: svn://10.0.0.236/trunk@57601 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-13 02:05:31 +00:00
nisheeth%netscape.com
8978d5a35b 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.
git-svn-id: svn://10.0.0.236/trunk@57571 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-12 21:52:58 +00:00
mjudge%netscape.com
a21138136b small changes for 22752 ctrl left and right. r=cmanske
git-svn-id: svn://10.0.0.236/trunk@57564 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-12 21:39:36 +00:00
nisheeth%netscape.com
77cbdbf5e2 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.
git-svn-id: svn://10.0.0.236/trunk@57555 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-12 17:43:18 +00:00
putterman%netscape.com
6f88f28b10 This should fix the build bustage.
git-svn-id: svn://10.0.0.236/trunk@57554 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-12 17:20:16 +00:00
nisheeth%netscape.com
af4a0a5bb4 Ifdef out the call to nsFrame::CreateAndPostReflowCommand() on the Mac build for now.
git-svn-id: svn://10.0.0.236/trunk@57540 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-12 10:41:15 +00:00
nisheeth%netscape.com
59dbaae9fb 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.
git-svn-id: svn://10.0.0.236/trunk@57522 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-12 08:28:24 +00:00
troy%netscape.com
885f08d717 b=23707. Made sure HR frame correctly computes max-element-size
when it has an 'auto' width


git-svn-id: svn://10.0.0.236/trunk@57509 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-12 04:52:19 +00:00
sspitzer%netscape.com
82a785e528 fixes to turn bug #22916 into a blank window bug (instead of a crasher)
r=troy


git-svn-id: svn://10.0.0.236/trunk@57443 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-11 22:15:20 +00:00
ftang%netscape.com
48f8574d1b fix word breaking problem. r=mjudge. treat all word breaking as the same.
git-svn-id: svn://10.0.0.236/trunk@57440 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-11 22:07:13 +00:00
mjudge%netscape.com
070645421e bug 15982 r=cmanske. needed more places to add checks for style turning off normal selection.
git-svn-id: svn://10.0.0.236/trunk@57411 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-11 19:44:59 +00:00
troy%netscape.com
7828a4605a 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


git-svn-id: svn://10.0.0.236/trunk@57259 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-10 05:14:47 +00:00
troy%netscape.com
7ecb959a88 More work on getting block frames to incrementally update their
maximum width


git-svn-id: svn://10.0.0.236/trunk@57170 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-08 03:58:27 +00:00
mjudge%netscape.com
0502df8149 r= kin. fix for another parameter. fixing m13 bug with multiple selection.
git-svn-id: svn://10.0.0.236/trunk@57131 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-08 00:31:32 +00:00
rbs%maths.uq.edu.au
e163b12e62 [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.
git-svn-id: svn://10.0.0.236/trunk@57105 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-07 14:33:11 +00:00
vidur%netscape.com
c28ff08497 Fix for bug 23074. Implemented image.complete. r=pollmann
git-svn-id: svn://10.0.0.236/trunk@57036 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-06 23:41:14 +00:00
vidur%netscape.com
4a4cce66b8 Fix for bug 21682. BASE tag was ignored in the fragment content sink. Added HTML element creation method that takes an ID. r=pollmann
git-svn-id: svn://10.0.0.236/trunk@57035 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-06 23:36:45 +00:00
pinkerton%netscape.com
5ca1ed52b2 Removed asserts now that nsScrollbarFrame correctly implements its QI. Fixed memory leaks with scrollbars by nsCOMPtr'izing stuff. r=pavlov.
git-svn-id: svn://10.0.0.236/trunk@56936 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-06 05:55:46 +00:00
av%netscape.com
e05d740183 Bug 22598. r=vidur
git-svn-id: svn://10.0.0.236/trunk@56781 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-05 01:18:38 +00:00
jst%citec.fi
3331782727 Fixing bug 12181 (removing static IID's). r=troy@netscape.com
git-svn-id: svn://10.0.0.236/trunk@56741 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-04 20:24:09 +00:00
troy%netscape.com
adf7e5ae40 Fixed three more compiler warnings
git-svn-id: svn://10.0.0.236/trunk@56713 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-04 03:09:32 +00:00
vidur%netscape.com
7bc5864a19 Fix for bug 22709. image.width/height goes to frame if it isn't in an attribute - compatibility with Level 0. r=harishd
git-svn-id: svn://10.0.0.236/trunk@56711 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-04 03:06:13 +00:00
troy%netscape.com
c9c3afc746 Fixed compiler warning
git-svn-id: svn://10.0.0.236/trunk@56710 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-04 03:04:56 +00:00
troy%netscape.com
7daf58d343 Reduced stack space by using PRPackedBool instead of PRBool
git-svn-id: svn://10.0.0.236/trunk@56709 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-04 02:59:35 +00:00
troy%netscape.com
a9936ebc11 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


git-svn-id: svn://10.0.0.236/trunk@56652 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-03 04:32:13 +00:00
troy%netscape.com
1fce58468f Work-in-progress for having maximum width (needed by tables) be updated
incrementally


git-svn-id: svn://10.0.0.236/trunk@56615 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-30 04:15:45 +00:00
bryner%uiuc.edu
4402af7a65 Fix a warning. r=mcafee.
git-svn-id: svn://10.0.0.236/trunk@56573 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-28 20:26:56 +00:00
sspitzer%netscape.com
51cef4a802 fix #22493 and #22494. at least turn the crash into an assertion.
r=hangas.  also fix a warning.


git-svn-id: svn://10.0.0.236/trunk@56518 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-23 23:44:56 +00:00
buster%netscape.com
6dda03d9d8 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.


git-svn-id: svn://10.0.0.236/trunk@56504 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-23 20:49:07 +00:00
nisheeth%netscape.com
5a813189e9 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.
git-svn-id: svn://10.0.0.236/trunk@56476 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-23 03:47:02 +00:00
nisheeth%netscape.com
4a66a03de0 Attempt to fix Mac bustage.
git-svn-id: svn://10.0.0.236/trunk@56475 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-23 03:08:57 +00:00
nisheeth%netscape.com
43d584b730 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.


git-svn-id: svn://10.0.0.236/trunk@56473 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-23 02:02:33 +00:00
sspitzer%netscape.com
d2f6e369ba initialize some variables, fix a comment, fix a FMM
git-svn-id: svn://10.0.0.236/trunk@56321 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-22 00:41:38 +00:00
pinkerton%netscape.com
df130bfa90 remove hand-rolled QI and using scc's macros. Also removing static IID's where necessary. r=hyatt,scc a=sdagley.
git-svn-id: svn://10.0.0.236/trunk@56289 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-21 19:28:15 +00:00
tbogard%aol.net
b5cb13131e Fixing some places when talking to the webshell object to start talking through the new docshell interfaces.
git-svn-id: svn://10.0.0.236/trunk@56167 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-18 02:09:29 +00:00
mjudge%netscape.com
45a19c261d 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.
git-svn-id: svn://10.0.0.236/trunk@56105 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-16 22:48:02 +00:00
mjudge%netscape.com
4704ff3a85 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.
git-svn-id: svn://10.0.0.236/trunk@56028 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-15 03:54:52 +00:00
rods%netscape.com
e9acb7b9f2 mVisible not being used correctly nneded to check against NS_STYLE_VISIBILITY_VISIBLE
bug 19300,20250 r=kmcclusk a=chofmann


git-svn-id: svn://10.0.0.236/trunk@55986 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-14 20:27:20 +00:00
karnaze%netscape.com
6ffe908f39 incremental cell map, columns. Bugs 12122, 21544. r=troy,hyatt a=hofmann
git-svn-id: svn://10.0.0.236/trunk@55939 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-13 22:56:31 +00:00
mjudge%netscape.com
78a1c7b0e7 massive changes a=jar.hoffman, r=akkana
git-svn-id: svn://10.0.0.236/trunk@55878 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-11 00:02:08 +00:00