1393 Commits

Author SHA1 Message Date
av%netscape.com
d76194290e Fixing bug 7509
git-svn-id: svn://10.0.0.236/trunk@46264 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-08 00:12:26 +00:00
mjudge%netscape.com
3a2b08f57b adding in begin line and end line enums for selection movement. this allows peeking to the start and end of and like given a content offset for any frame.
git-svn-id: svn://10.0.0.236/trunk@46251 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-07 23:40:17 +00:00
mjudge%netscape.com
a0c73b5f81 Had a loop that did not reset one variable for "next" iteration. this will fix arrow up/down ya.
git-svn-id: svn://10.0.0.236/trunk@46191 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-07 18:47:01 +00:00
peterl%netscape.com
791d9a651c added reparent style context
git-svn-id: svn://10.0.0.236/trunk@45965 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-03 23:35:41 +00:00
peterl%netscape.com
b5634c8488 added accessors to additional style contexts
git-svn-id: svn://10.0.0.236/trunk@45964 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-03 23:35:14 +00:00
ftang%netscape.com
c09727aebc fix bug 13063 12881
git-svn-id: svn://10.0.0.236/trunk@45955 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-03 22:46:16 +00:00
danm%netscape.com
ca4da0e009 implemented intrinsic sizing method on DOM Window
git-svn-id: svn://10.0.0.236/trunk@45954 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-03 22:41:56 +00:00
rods%netscape.com
714db7d291 Added NS_NewSelectsAreaFrame
git-svn-id: svn://10.0.0.236/trunk@45898 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-03 14:52:17 +00:00
bruce%cybersight.com
7bf9ff19fb Use nsCRT::free() instead of delete[] for char* data.
git-svn-id: svn://10.0.0.236/trunk@45850 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-03 07:42:41 +00:00
kipp%netscape.com
04fe27cc63 Implement fix for bug #5821 as per dbaron's suggestion
git-svn-id: svn://10.0.0.236/trunk@45819 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-03 03:47:49 +00:00
kipp%netscape.com
3855e4c7a8 Save some memory by not saving away useless text runs
git-svn-id: svn://10.0.0.236/trunk@45694 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-02 18:01:59 +00:00
mjudge%netscape.com
5f6fd5534a oops infinite loop. need to break out if no frame is found.
git-svn-id: svn://10.0.0.236/trunk@45577 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-02 00:04:56 +00:00
mjudge%netscape.com
d9a3b1a319 new selection code for dead areas. this is much better, trust me. the block frame now will look at its best line and look for a spot to select. if it finds another block frame now, it will continue the process in a while loop. each time looking for best x and y area. this reuses the code located in GetNextPrevLine.
git-svn-id: svn://10.0.0.236/trunk@45529 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-01 21:40:16 +00:00
kipp%netscape.com
a808a176c1 Added in support for IE specific area types
git-svn-id: svn://10.0.0.236/trunk@45512 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-01 20:58:17 +00:00
kipp%netscape.com
66b0997d2a Create floating frame properly (bug #2751)
git-svn-id: svn://10.0.0.236/trunk@45511 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-01 20:57:58 +00:00
kipp%netscape.com
aee7b6dee5 Fixed to account for the overflow hidden value when computing the combined area (bug #2751)
git-svn-id: svn://10.0.0.236/trunk@45509 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-01 20:57:37 +00:00
troy%netscape.com
24ca350dea Fixed compiler warning
git-svn-id: svn://10.0.0.236/trunk@45434 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-01 04:32:45 +00:00
kipp%netscape.com
01951e06b5 Added missing #ifdef's
git-svn-id: svn://10.0.0.236/trunk@45420 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-01 02:03:50 +00:00
troy%netscape.com
e5df81af3d Fix for bug #12864. Changed CreateViewForFrame() so it respects the z-index
of relatively positioned elements


git-svn-id: svn://10.0.0.236/trunk@45404 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-01 01:10:24 +00:00
kipp%netscape.com
eea3ab916a Updated SizeOf methods to not waste space when doing a non-debug build
git-svn-id: svn://10.0.0.236/trunk@45397 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-01 01:02:16 +00:00
nisheeth%netscape.com
3a74e6a56a - Added setter for history state to nsIPresShell
- Added capture/restore frame state methods to nsIFrameManager
- Added a getter for state type to nsIStatefulFrame.
- Changed the save/restore method parameters  in nsIStateful frame
  so that only the frame state gets passed to the stateful frame.
- Implemented all the new interface methods in the respective implementation classes.


git-svn-id: svn://10.0.0.236/trunk@45350 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-31 14:35:50 +00:00
kipp%netscape.com
0bc37f2203 Tally up lineBox's and textRun's seperately
git-svn-id: svn://10.0.0.236/trunk@45287 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-31 04:32:13 +00:00
kipp%netscape.com
10f1a896ca Added missing = 0 to make method's pure virtual
git-svn-id: svn://10.0.0.236/trunk@45285 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-31 04:20:22 +00:00
kipp%netscape.com
c9002f20df Reimplemented SizeOf methods in some of the frame classes; partial rework of first-line handling snapshot
git-svn-id: svn://10.0.0.236/trunk@45274 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-31 03:09:40 +00:00
nisheeth%netscape.com
ab1926c3ac Added get/set document state API for use by session history.
git-svn-id: svn://10.0.0.236/trunk@45214 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-30 22:38:58 +00:00
troy%netscape.com
1604aaf744 Changed block frame code to cache the max element width. This enables
us to ask for the maxElementSize when doing an incremental reflow


git-svn-id: svn://10.0.0.236/trunk@44957 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-28 00:39:55 +00:00
kipp%netscape.com
11867185b8 Fixed computation of max-element-size for bug #12384; don't compute line-height in this class
git-svn-id: svn://10.0.0.236/trunk@44928 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-27 21:50:06 +00:00
kipp%netscape.com
6d797d3be3 Shrink down size of nsLineLayout object
git-svn-id: svn://10.0.0.236/trunk@44927 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-27 21:49:12 +00:00
kipp%netscape.com
9d4d59aea1 Keep trakc of the depth of reflow to allow for limiting stack usage (bug #10310)
git-svn-id: svn://10.0.0.236/trunk@44926 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-27 21:48:54 +00:00
kipp%netscape.com
eccd6aa43e Don't paint frames that are unflowable
git-svn-id: svn://10.0.0.236/trunk@44925 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-27 21:48:21 +00:00
kipp%netscape.com
4a17fe8915 Added IsFrameTreeTooDeep method to support code handling bug #10310
git-svn-id: svn://10.0.0.236/trunk@44924 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-27 21:48:06 +00:00
kipp%netscape.com
dd5de649f5 Fixed bug 12451 - use list-style-type when image doesn't load or is loading
git-svn-id: svn://10.0.0.236/trunk@44923 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-27 21:47:39 +00:00
kipp%netscape.com
ffd939db74 Cache computed width so that during placement of the block we can see if auto margins need recomputing (bug #1164)
git-svn-id: svn://10.0.0.236/trunk@44922 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-27 21:47:04 +00:00
kipp%netscape.com
858dd7ad39 Reduce stack size by allocating nsLineLayout objects from the heap when the frame tree depth gets too big (bug #10310)
git-svn-id: svn://10.0.0.236/trunk@44919 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-27 21:45:37 +00:00
kipp%netscape.com
d313b06d4d Reduced the default number of nsBandTrapezoids to reduce stack space used (bug #10310)
git-svn-id: svn://10.0.0.236/trunk@44918 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-27 21:44:10 +00:00
kipp%netscape.com
b10be9c548 Added NS_FRAME_IS_UNFLOWABLE bit for handling frame trees that are too deep
git-svn-id: svn://10.0.0.236/trunk@44907 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-27 21:39:26 +00:00
evaughan%netscape.com
2d2928d70d Fixed to gfx scrollbar.
Fixed some blockers.


git-svn-id: svn://10.0.0.236/trunk@44760 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-27 06:06:39 +00:00
pinkerton%netscape.com
3fdfeba79b remove refs to nsIContentConnector
git-svn-id: svn://10.0.0.236/trunk@44749 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-27 04:30:48 +00:00
troy%netscape.com
e72fb49348 Fix for bug #12449. Changed UpdateImageFrame() so that if the content object
has a NULL document object (the case for generated content) we mark the image
frame dirty and generate a reflow command targeted at the parent frame


git-svn-id: svn://10.0.0.236/trunk@44573 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-25 23:55:57 +00:00
troy%netscape.com
b6b13618f7 Fix for bug #12444. Made sure that for a "StyleChanged" reflow command we
invalidate our entire bounds


git-svn-id: svn://10.0.0.236/trunk@44557 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-25 23:15:36 +00:00
mjudge%netscape.com
437cbbc0b4 added in selection of tables/images as blue borders for browser.
git-svn-id: svn://10.0.0.236/trunk@44545 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-25 22:19:23 +00:00
karnaze%netscape.com
42a0e08a9e bug 1271 - percentage height cells, added GetNumCellsOriginatingInRow, fixed GetNumCellsOriginatingInCol
git-svn-id: svn://10.0.0.236/trunk@44534 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-25 21:49:18 +00:00
mjudge%netscape.com
72808fb95e changes to allow selection in "dead" space between frames. still need work on "outside" and not in the window at all, but this is a very good chunk of the issue and it will solve many many bugs on my place. good for dogfood as well :)
git-svn-id: svn://10.0.0.236/trunk@44364 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-24 21:51:47 +00:00
troy%netscape.com
d4fd1d71b2 Reworked ReparentFrameView() to make it more efficient
git-svn-id: svn://10.0.0.236/trunk@44323 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-24 19:26:03 +00:00
evaughan%netscape.com
e418bae616 Fixed compile bug.
git-svn-id: svn://10.0.0.236/trunk@43747 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-19 23:33:38 +00:00
evaughan%netscape.com
aaf979c0a0 Fix for build error
git-svn-id: svn://10.0.0.236/trunk@43740 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-19 22:44:06 +00:00
vidur%netscape.com
89bc046b3c Spaces now stripped from map name for client-side maps. Client-side and server-side imagemaps can now co-exist
git-svn-id: svn://10.0.0.236/trunk@43722 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-19 22:22:02 +00:00
evaughan%netscape.com
fd72782f13 xpscrollbars
git-svn-id: svn://10.0.0.236/trunk@43717 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-19 22:16:23 +00:00
ducarroz%netscape.com
e865dd4c3a Add constructor definition for autocomplete widget
git-svn-id: svn://10.0.0.236/trunk@43706 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-19 22:10:53 +00:00
rods%netscape.com
591fdc2050 Added a check to see if an outline should drawn, if so, then the damagaed rect needs to be inflated so it gets drawn "outside" the frames area
git-svn-id: svn://10.0.0.236/trunk@43620 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-19 14:36:47 +00:00