1983 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
rods%netscape.com
8a49283e24 Added nsSelectsAreaFrame.cpp to build
git-svn-id: svn://10.0.0.236/trunk@45893 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-03 14:38:26 +00:00
rods%netscape.com
04b1eeb64e initial add (not in the build yet)
git-svn-id: svn://10.0.0.236/trunk@45891 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-03 14:25:15 +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
bienvenu%netscape.com
4e9eda7dc4 fix build bustage
git-svn-id: svn://10.0.0.236/trunk@45715 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-02 19:21:45 +00:00
joki%netscape.com
33e0b92036 Fix for bug 12226, allow reentrant events
git-svn-id: svn://10.0.0.236/trunk@45701 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-02 18:14:01 +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
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
evaughan%netscape.com
060e54bdfa Numberous fixes
git-svn-id: svn://10.0.0.236/trunk@45211 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-30 22:32:25 +00:00
kin%netscape.com
7fa5bc2451 Temporary fix for bug #9708 and #12438.
Modified Reflow() to set the scrollbar
dimensions to zero if the scrollbars are hidden.


git-svn-id: svn://10.0.0.236/trunk@45164 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-30 21:55:02 +00:00
kin%netscape.com
ea9db112f9 Fix for bugs #7153, #10673, #12066, #12067, and #12793.
editor/base/nsEditorEventListeners.cpp
editor/base/nsEditorEventListeners.h

  - Added code to scroll the selection into view
    after processing key events.
  - Commented out the hack that redraws the entire
    view when the focus is gained and lost. Replaced
    the hack code with calls to RepaintSelection().

layout/base/public/nsIFrameSelection.h
layout/base/public/nsIPresShell.h
layout/html/base/src/nsPresShell.cpp
   - Added ScrollSelectionIntoView() and RepaintSelection() methods.

layout/base/src/nsRangeList.cpp
   - Added implementation for ScrollSelectionIntoView() and
     RepaintSelection().
   - Check for NULL primary frame in GetFocusNodeRect()
     to fix bug #12793.


git-svn-id: svn://10.0.0.236/trunk@45163 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-30 21:54:40 +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
5caf777abe Added hack code (for me) to allow for stack depth testing
git-svn-id: svn://10.0.0.236/trunk@44929 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-27 21:50:37 +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
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
ea754a1e94 changed conditional NS_RELEASE to NS_IF_RELEASE to fix memory leak
git-svn-id: svn://10.0.0.236/trunk@44537 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-25 21:57:15 +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
jfrancis%netscape.com
2a60fccebc making nsPresShell and nsDocument support weak references; using weak references to docs and pres shells within the editor
git-svn-id: svn://10.0.0.236/trunk@44483 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-25 10:51:55 +00:00
pinkerton%netscape.com
6eb3a21da9 IDL-ifying nsITransferable, nsIDragService, nsIDragSession, nsIFormatConverter.
git-svn-id: svn://10.0.0.236/trunk@44476 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-25 08:35:06 +00:00