Commit Graph

6016 Commits

Author SHA1 Message Date
kipp%netscape.com
36c3ac0487 Remove a warning
git-svn-id: svn://10.0.0.236/trunk@45514 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-01 20:59:13 +00:00
kipp%netscape.com
da48856d62 Revised img linking/usemap rules as per suggestion in bug #8027 which fixes #8027
git-svn-id: svn://10.0.0.236/trunk@45513 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-01 20:58:59 +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
965583c2cd Optimized IR_TargetIsChild() so in the simple case where the row frame
has no cells that span into or across the row we don't call CalculateRowHeights()


git-svn-id: svn://10.0.0.236/trunk@45448 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-01 05:16:12 +00:00
troy%netscape.com
34b68e1b56 Added definition for RowHasSpanningCells()
git-svn-id: svn://10.0.0.236/trunk@45436 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-01 04:36:47 +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
mscott%netscape.com
31f0fb1257 check in for rod spears. Fix the small text edit fields for dynamic to in the compose window
and password dialogs


git-svn-id: svn://10.0.0.236/trunk@45428 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-01 04:11:17 +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
cyeh%netscape.com
cfce14ff56 Remove IGNORE_MANIFEST=1. It doesn't do anything and it confuses people.
git-svn-id: svn://10.0.0.236/trunk@45405 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-01 01:13:14 +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
kipp%netscape.com
49dcaaf349 Disable empty text frame removal; tweaked a few lines to be more compiler friendly
git-svn-id: svn://10.0.0.236/trunk@45393 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-01 01:00:25 +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
rods%netscape.com
82e5df59d7 option (dropdown) fonts now match the select
git-svn-id: svn://10.0.0.236/trunk@45347 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-31 14:22:56 +00:00
rods%netscape.com
572e299018 added box-sizing property for form control, now width/height refer to outside border and padding edge instead of content edge
git-svn-id: svn://10.0.0.236/trunk@45346 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-31 14:16:02 +00:00
rods%netscape.com
0a22953524 Added AbsolutelyPositionDropDown
git-svn-id: svn://10.0.0.236/trunk@45342 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-31 13:23:15 +00:00
rods%netscape.com
58a795dc61 Removed ref counting changed the the popup is positioned
removing dom listeners on descruction


git-svn-id: svn://10.0.0.236/trunk@45341 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-31 13:22:50 +00:00
rods%netscape.com
d1f7052904 Added SynViewWithFrame
git-svn-id: svn://10.0.0.236/trunk@45340 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-31 13:22:45 +00:00
rods%netscape.com
0bd721ba73 removing dom listeners on descruction
exposed absolutely positioning of the dropdown
now tries to SyncFrameWithView


git-svn-id: svn://10.0.0.236/trunk@45339 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-31 13:22:40 +00:00
rods%netscape.com
280b982d3a uses the new factored code for calculating size it helps for calculating suggested size
(see nsGfxButtonControlFrame.cpp)


git-svn-id: svn://10.0.0.236/trunk@45338 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-31 13:05:31 +00:00
rods%netscape.com
1c8a506178 Changed the way the button calculates it's size with respect to suggested size.
I factored out the part where border and padding is added in so it can be overridden.


git-svn-id: svn://10.0.0.236/trunk@45337 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-31 13:03:38 +00:00
rods%netscape.com
02ad25efb5 removed some warnings and made gfx text control ignore the extra padding from nsILookAndFeel which is for native wdiegst
git-svn-id: svn://10.0.0.236/trunk@45336 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-31 12:59:09 +00:00
nisheeth%netscape.com
deb1bb177e The HTML Content sink now generates content IDs for each of the content objects it creates. The IDs start at NS_CONTENT_ID_COUNTER_BASE, defined in nsIContentSink.h, and increase monotonically as content objects get created.
git-svn-id: svn://10.0.0.236/trunk@45327 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-31 11:17:26 +00:00
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