Commit Graph

4476 Commits

Author SHA1 Message Date
rods%netscape.com
ce8ef5632e commented out some unused variables to remove warnings
git-svn-id: svn://10.0.0.236/trunk@45683 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-02 13:51:12 +00:00
troy%netscape.com
88786eefbb Fix for bug #12997
git-svn-id: svn://10.0.0.236/trunk@45661 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-02 05:21:39 +00:00
karnaze%netscape.com
8bbeb6ae20 regression tests
git-svn-id: svn://10.0.0.236/trunk@45644 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-02 04:30:44 +00:00
karnaze%netscape.com
56f938d43c regression tests
git-svn-id: svn://10.0.0.236/trunk@45635 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-02 03:46:43 +00:00
karnaze%netscape.com
0cba8f36fe bugs 965, 1053, 1163 - improved handling of borders; bug 10216 align, text-align on caption.
git-svn-id: svn://10.0.0.236/trunk@45580 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-02 00:07:14 +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
kmcclusk%netscape.com
ac7983253c Bug#12729 Modified SinkContext::DemoteContainer to cache the child's mForm before
Removing it. After removing it the child's mForm is reset to the cached value.


git-svn-id: svn://10.0.0.236/trunk@45536 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-01 21:57:01 +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
mjudge%netscape.com
fa54e221ee getting rid of build warnings
git-svn-id: svn://10.0.0.236/trunk@45528 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-01 21:37:32 +00:00
karnaze%netscape.com
57f01da001 new regression tests
git-svn-id: svn://10.0.0.236/trunk@45515 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-01 21:20:44 +00:00
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