Commit Graph

4441 Commits

Author SHA1 Message Date
nisheeth%netscape.com
9a418f414b Added Get/Set methods to content IDs. An ID is used as a key to store state information about a content object and its associated frame object. The state information is stored in a dictionary that is manipulated by the frame manager (nsIFrameManager) inside layout. An opaque pointer to this dictionary is passed to the session history as a handle associated with the current document's state.
git-svn-id: svn://10.0.0.236/trunk@45321 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-31 10:06:17 +00:00
waterson%netscape.com
76cc6b08ad Fix nsCOMPtr --pedantic bustage.
git-svn-id: svn://10.0.0.236/trunk@45317 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-31 07:14:54 +00:00
troy%netscape.com
3f3a37b810 Changed ReflowMappedChildren() to reset max element size to 0 for an
incremental reflow


git-svn-id: svn://10.0.0.236/trunk@45302 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-31 05:55:33 +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
troy%netscape.com
c45af7c51f Changing tables to return max element size during an incremental reflow
git-svn-id: svn://10.0.0.236/trunk@45209 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-30 22:30:32 +00:00
kmcclusk%netscape.com
64227a6ec4 Removed compiler warning in nsFormControlHelper::PaintCircularBackground
git-svn-id: svn://10.0.0.236/trunk@45208 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-30 22:29:11 +00:00
kmcclusk%netscape.com
51ad0bb89c bug #1222. Changed color for selected color for gfx-combobox options to match the
dark blue specified for gfx-listbox options.


git-svn-id: svn://10.0.0.236/trunk@45207 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-30 22:26:34 +00:00
buster%netscape.com
30737aca1f clean up: better error handling and minor performance fixes
git-svn-id: svn://10.0.0.236/trunk@45199 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-30 22:14:44 +00:00
karnaze%netscape.com
1e142fcc65 backed out fix for bug 6674 because it broke resizing collapsing rows
git-svn-id: svn://10.0.0.236/trunk@45169 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-30 22:00:12 +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
hyatt%netscape.com
0cf34ce7ba Changes to the cell map to support incremental insertion and removal of rows. Currently
only used by the tree widget.


git-svn-id: svn://10.0.0.236/trunk@45097 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-30 00:01:09 +00:00
norris%netscape.com
3a6d863c13 * clean up nsScriptSecurityManager
* remove nsJSSecurityManager
* save principals in nsIChannels and nsIDocuments


git-svn-id: svn://10.0.0.236/trunk@45080 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-29 21:58:42 +00:00
hyatt%netscape.com
61f02a1d7b Teaching the fixed layout strategy how to deal with relative/proportional specified
widths.


git-svn-id: svn://10.0.0.236/trunk@45035 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-29 06:00:32 +00:00
troy%netscape.com
2536a64e5f Fix for bug #12592. Optimized style change reflow commands targeted at
a cell frame


git-svn-id: svn://10.0.0.236/trunk@45028 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-29 04:18:00 +00:00
troy%netscape.com
cfa7416254 Fix for bug #12751. Optimized PaintBorder() so if the dirty rect is completely
inside of the border rect, then we don't paint anything. This speed up
incremental painting


git-svn-id: svn://10.0.0.236/trunk@45026 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-29 03:25:56 +00:00
sspitzer%netscape.com
5d75a88269 fix pedantic build bustage.
git-svn-id: svn://10.0.0.236/trunk@45003 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-28 16:55:31 +00:00
hyatt%netscape.com
820940c820 Enabling tree row frames.
git-svn-id: svn://10.0.0.236/trunk@44962 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-28 00:45:18 +00:00
hyatt%netscape.com
fe110b68b9 Tweaks to be able to see the RowReflowState over in trees
git-svn-id: svn://10.0.0.236/trunk@44961 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-28 00:43:53 +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
5057da765f Fixed crash when a frame is skipped and we are in a first-letter situation (doh)
git-svn-id: svn://10.0.0.236/trunk@44938 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-27 22:53:18 +00:00
kipp%netscape.com
cb1ea8a006 Fixed bug #6674 by honoring the css overflow property and only setting the clip rect when overflow is 'hidden'
git-svn-id: svn://10.0.0.236/trunk@44932 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-27 21:53:04 +00:00
kipp%netscape.com
dd723473bb Fixed bug #10571 by always initializing 'ref'
git-svn-id: svn://10.0.0.236/trunk@44931 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-27 21:52:19 +00:00
kipp%netscape.com
5ba2f4dd8b Provide a small margin around tables and images here instead of hardcoding (bug #2119); make links red when active (bug #11230)
git-svn-id: svn://10.0.0.236/trunk@44930 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-27 21:51:46 +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
karnaze%netscape.com
90dd33aed5 new regression tests
git-svn-id: svn://10.0.0.236/trunk@44921 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-27 21:46:14 +00:00
kipp%netscape.com
5b8f10fa6d Revamped to create/destroy manage first-letter frames so that incremental operations (append/insert/remove) work properly
git-svn-id: svn://10.0.0.236/trunk@44920 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-27 21:46:10 +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
ee40827af0 Nuked some warnings
git-svn-id: svn://10.0.0.236/trunk@44917 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-27 21:43:33 +00:00
kipp%netscape.com
fa88c783a4 Moved hardcode into ua.css
git-svn-id: svn://10.0.0.236/trunk@44916 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-27 21:42:46 +00:00
kipp%netscape.com
b687f33436 Use revised DivAlignValue methods
git-svn-id: svn://10.0.0.236/trunk@44915 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-27 21:42:31 +00:00
kipp%netscape.com
c389a442d8 Made a method to inquire about nav-quirks mode and fixed a few methods to not be static so that they could use it
git-svn-id: svn://10.0.0.236/trunk@44914 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-27 21:42:08 +00:00
kipp%netscape.com
976f1bf1be Revised implementation to better manage the embedded text fragment; implement revised nsITextContent API
git-svn-id: svn://10.0.0.236/trunk@44912 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-27 21:41:13 +00:00
karnaze%netscape.com
5daea56f8b bug 12287 - removed nsTableFrame::GetContainerWidth, renamed TableIsAutoWidth to IsAutoWidth and simplified.
git-svn-id: svn://10.0.0.236/trunk@44899 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-27 21:15:21 +00:00
ducarroz%netscape.com
a70c02271d Add rule for blockquote[type=cite] (use by messenger for display replied messages)
git-svn-id: svn://10.0.0.236/trunk@44889 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-27 21:11:55 +00:00
karnaze%netscape.com
a102e325e0 new regression tests
git-svn-id: svn://10.0.0.236/trunk@44884 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-27 21:08:14 +00:00
pollmann%netscape.com
2908644b55 Opps!
git-svn-id: svn://10.0.0.236/trunk@44877 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-27 20:59:28 +00:00
dcone%netscape.com
32e80cb389 removed a debug printf
git-svn-id: svn://10.0.0.236/trunk@44872 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-27 20:58:37 +00:00
jdunn%netscape.com
1e9f18f8e9 each of these modules/apps require that libnechoutil_s.a be linked in
because they access NS_MakeAbsoluteURI and NS_OpenURI.  Ramiro and Andreas
have both looked this over


git-svn-id: svn://10.0.0.236/trunk@44869 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-27 20:55:45 +00:00