2306 Commits

Author SHA1 Message Date
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
kin%netscape.com
9b0d9085aa 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


git-svn-id: svn://10.0.0.236/trunk@55853 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-10 18:41:43 +00:00
pinkerton%netscape.com
f5f1bfbb66 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.
git-svn-id: svn://10.0.0.236/trunk@55836 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-10 02:14:35 +00:00
troy%netscape.com
6e46435b1d b=19198, a=chofmann. Fixed RecoverStateFrom() to use the update conbined area when
invalidating. This fixes a regression introduced in version 3.308


git-svn-id: svn://10.0.0.236/trunk@55811 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-09 21:40:37 +00:00
troy%netscape.com
2ea5ceca9c Changed to respect 'z-index' of 'auto' and call SetViewAutoZIndex()
git-svn-id: svn://10.0.0.236/trunk@55713 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-08 04:49:20 +00:00
pollmann%netscape.com
945d82f2db Bug 19062: Fix crash when forms are absolutely positioned by giving them a space manager r=Troy
git-svn-id: svn://10.0.0.236/trunk@55683 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-08 02:07:03 +00:00
troy%netscape.com
23414d53c9 Removed code from PrepareChildIncrementalReflow() that was marking all lines
dirty if max-element-size was requested.


git-svn-id: svn://10.0.0.236/trunk@55682 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-08 02:05:51 +00:00
troy%netscape.com
3ce26e48f9 Removed an assert that is no longer applicable
git-svn-id: svn://10.0.0.236/trunk@55648 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-07 23:43:07 +00:00
troy%netscape.com
aa323aac76 b=16456. Removed some debug assertion code that was incorrect and caused
us to hit asserts when printing


git-svn-id: svn://10.0.0.236/trunk@55646 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-07 23:41:48 +00:00
rginda%netscape.com
1d5ae86d11 Adding check for null document. Prevents crash described in bug 20677.
r=brendan@mozilla.org


git-svn-id: svn://10.0.0.236/trunk@55596 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-07 22:04:52 +00:00
sfraser%netscape.com
e232c6c064 #ifdef out a printf. r=none
git-svn-id: svn://10.0.0.236/trunk@55562 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-07 07:38:16 +00:00
evaughan%netscape.com
7773253d6f Fix for PDP+ bug #20712
-r beard


git-svn-id: svn://10.0.0.236/trunk@55533 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-07 05:28:32 +00:00
troy%netscape.com
c42e11df4b b=20873. Switched to using underlying NSPR arena for frame memory allocation,
and reduced the recycler array.


git-svn-id: svn://10.0.0.236/trunk@55527 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-07 04:36:08 +00:00
evaughan%netscape.com
3c52ac7a68 Fixed build bustage looks like a merge error.
git-svn-id: svn://10.0.0.236/trunk@55524 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-07 04:27:20 +00:00
evaughan%netscape.com
edbfd05a90 1) created an nsIScrollableFrame interface make it possible for Chris K to fix PDP+ bug #12122
-r Troy


git-svn-id: svn://10.0.0.236/trunk@55520 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-07 03:36:05 +00:00
troy%netscape.com
52084caad8 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


git-svn-id: svn://10.0.0.236/trunk@55424 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-06 15:49:53 +00:00
nisheeth%netscape.com
3785d66606 Fix for bugs 16709, 20771. Frame state is stored before frame hierarchies are deleted and restored when the frame hierarchies are reconstructed.
git-svn-id: svn://10.0.0.236/trunk@55409 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-06 07:44:18 +00:00
rods%netscape.com
52cc20d7d0 Added a "flags" varaible for combobox creation
r=self, bug 19382


git-svn-id: svn://10.0.0.236/trunk@55380 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-05 20:43:19 +00:00
cls%seawood.org
7ae9896327 Added empty throw() on operator new so that gcc 2.95+ doesn't complain about returning NULL.
git-svn-id: svn://10.0.0.236/trunk@55350 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-05 07:29:35 +00:00
hyatt%netscape.com
d7908baef5 Fix Linux bustage.
git-svn-id: svn://10.0.0.236/trunk@55328 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-05 02:24:02 +00:00
hyatt%netscape.com
7e24c61109 Implementing a generalized recycler and arena for all layout frames. Hoping to improve
bug #9489.  Should also definitely fix bug #15916. r=troy


git-svn-id: svn://10.0.0.236/trunk@55321 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-04 23:49:50 +00:00
sspitzer%netscape.com
d53721b599 fix warning.
git-svn-id: svn://10.0.0.236/trunk@55313 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-04 21:37:38 +00:00
kmcclusk%netscape.com
d3a24645a8 Added NS_RELEASE's to fix leaking of nsIImage's. bug=19114; r=karnaze@netscape.com
git-svn-id: svn://10.0.0.236/trunk@55120 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-03 00:06:32 +00:00
akkana%netscape.com
f6184abf8e 18046: IDL implementation of nsISelectionController from sford4@netscape.net,
and the infrastructure to hook it up.
  This also changes the spelling from nsISelectionControler. r=mjudge


git-svn-id: svn://10.0.0.236/trunk@55083 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-02 21:45:21 +00:00
pierre%netscape.com
c7a56395b0 20042 "crash on www.netscape.com". Back out my change from v1.30 to fix a crash on InfoWorld which was caused by invalid html code and can no longer be reproduced with their current presentation.
git-svn-id: svn://10.0.0.236/trunk@55057 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-02 09:19:16 +00:00
evaughan%netscape.com
14bd190690 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


git-svn-id: svn://10.0.0.236/trunk@54980 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-02 01:07:27 +00:00
pierre%netscape.com
1b8f60a970 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.
git-svn-id: svn://10.0.0.236/trunk@54869 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-01 05:10:50 +00:00
troy%netscape.com
4c1a325cf2 Added XXX comment to remind me (and Chris) of a problem that needs to
be revisited


git-svn-id: svn://10.0.0.236/trunk@54867 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-01 04:50:26 +00:00
troy%netscape.com
b5a2f9d664 Removed dead code
git-svn-id: svn://10.0.0.236/trunk@54864 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-01 04:18:20 +00:00