Commit Graph

4508 Commits

Author SHA1 Message Date
troy%netscape.com
3688b0a7ce Fix for bug #12864. Changed CreateViewForFrame() so it respects the z-index
of relatively positioned elements
1999-09-01 01:10:24 +00:00
kipp%netscape.com
7fe2679e86 Updated SizeOf methods to not waste space when doing a non-debug build 1999-09-01 01:02:16 +00:00
kipp%netscape.com
30b60e57f2 Disable empty text frame removal; tweaked a few lines to be more compiler friendly 1999-09-01 01:00:25 +00:00
nisheeth%netscape.com
dfd7b5d559 - 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.
1999-08-31 14:35:50 +00:00
rods%netscape.com
e826861c50 option (dropdown) fonts now match the select 1999-08-31 14:22:56 +00:00
rods%netscape.com
88b7272f14 added box-sizing property for form control, now width/height refer to outside border and padding edge instead of content edge 1999-08-31 14:16:02 +00:00
rods%netscape.com
7545b1a8cf Added AbsolutelyPositionDropDown 1999-08-31 13:23:15 +00:00
rods%netscape.com
c4464e6ebc Removed ref counting changed the the popup is positioned
removing dom listeners on descruction
1999-08-31 13:22:50 +00:00
rods%netscape.com
0706193578 Added SynViewWithFrame 1999-08-31 13:22:45 +00:00
rods%netscape.com
0fd6268956 removing dom listeners on descruction
exposed absolutely positioning of the dropdown
now tries to SyncFrameWithView
1999-08-31 13:22:40 +00:00
rods%netscape.com
3bca354587 uses the new factored code for calculating size it helps for calculating suggested size
(see nsGfxButtonControlFrame.cpp)
1999-08-31 13:05:31 +00:00
rods%netscape.com
596cd15f00 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.
1999-08-31 13:03:38 +00:00
rods%netscape.com
c3ade2023a removed some warnings and made gfx text control ignore the extra padding from nsILookAndFeel which is for native wdiegst 1999-08-31 12:59:09 +00:00
nisheeth%netscape.com
d3eaaedcfb 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. 1999-08-31 11:17:26 +00:00
nisheeth%netscape.com
a3d25a6149 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. 1999-08-31 10:06:17 +00:00
waterson%netscape.com
64c56ebd1f Fix nsCOMPtr --pedantic bustage. 1999-08-31 07:14:54 +00:00
troy%netscape.com
33c2ac2603 Changed ReflowMappedChildren() to reset max element size to 0 for an
incremental reflow
1999-08-31 05:55:33 +00:00
kipp%netscape.com
9f71d4027a Tally up lineBox's and textRun's seperately 1999-08-31 04:32:13 +00:00
kipp%netscape.com
f808fbb193 Reimplemented SizeOf methods in some of the frame classes; partial rework of first-line handling snapshot 1999-08-31 03:09:40 +00:00
nisheeth%netscape.com
a208673213 Added get/set document state API for use by session history. 1999-08-30 22:38:58 +00:00
evaughan%netscape.com
f19bc0e464 Numberous fixes 1999-08-30 22:32:25 +00:00
troy%netscape.com
a7a27982af Changing tables to return max element size during an incremental reflow 1999-08-30 22:30:32 +00:00
kmcclusk%netscape.com
ed5ecc24cc Removed compiler warning in nsFormControlHelper::PaintCircularBackground 1999-08-30 22:29:11 +00:00
kmcclusk%netscape.com
f52576ec61 bug #1222. Changed color for selected color for gfx-combobox options to match the
dark blue specified for gfx-listbox options.
1999-08-30 22:26:34 +00:00
buster%netscape.com
5b9c4e9270 clean up: better error handling and minor performance fixes 1999-08-30 22:14:44 +00:00
karnaze%netscape.com
23e30e42c8 backed out fix for bug 6674 because it broke resizing collapsing rows 1999-08-30 22:00:12 +00:00
kin%netscape.com
5fb0f43078 Temporary fix for bug #9708 and #12438.
Modified Reflow() to set the scrollbar
dimensions to zero if the scrollbars are hidden.
1999-08-30 21:55:02 +00:00
kin%netscape.com
bfd4c1f102 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.
1999-08-30 21:54:40 +00:00
hyatt%netscape.com
415182cc05 Changes to the cell map to support incremental insertion and removal of rows. Currently
only used by the tree widget.
1999-08-30 00:01:09 +00:00
norris%netscape.com
d8507f844e * clean up nsScriptSecurityManager
* remove nsJSSecurityManager
* save principals in nsIChannels and nsIDocuments
1999-08-29 21:58:42 +00:00
hyatt%netscape.com
d67f1ece67 Teaching the fixed layout strategy how to deal with relative/proportional specified
widths.
1999-08-29 06:00:32 +00:00
troy%netscape.com
20364c9f5a Fix for bug #12592. Optimized style change reflow commands targeted at
a cell frame
1999-08-29 04:18:00 +00:00
troy%netscape.com
c4d6cf70d3 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
1999-08-29 03:25:56 +00:00
sspitzer%netscape.com
ed2973bf46 fix pedantic build bustage. 1999-08-28 16:55:31 +00:00
hyatt%netscape.com
76da3e3cf9 Enabling tree row frames. 1999-08-28 00:45:18 +00:00
hyatt%netscape.com
dc1ee7e3f6 Tweaks to be able to see the RowReflowState over in trees 1999-08-28 00:43:53 +00:00
troy%netscape.com
ea250c6886 Changed block frame code to cache the max element width. This enables
us to ask for the maxElementSize when doing an incremental reflow
1999-08-28 00:39:55 +00:00
kipp%netscape.com
8a8625d5eb Fixed crash when a frame is skipped and we are in a first-letter situation (doh) 1999-08-27 22:53:18 +00:00
kipp%netscape.com
52db05b1bf Fixed bug #6674 by honoring the css overflow property and only setting the clip rect when overflow is 'hidden' 1999-08-27 21:53:04 +00:00
kipp%netscape.com
78d89afc45 Fixed bug #10571 by always initializing 'ref' 1999-08-27 21:52:19 +00:00
kipp%netscape.com
8607e1fe21 Provide a small margin around tables and images here instead of hardcoding (bug #2119); make links red when active (bug #11230) 1999-08-27 21:51:46 +00:00
kipp%netscape.com
0c8f598a12 Added hack code (for me) to allow for stack depth testing 1999-08-27 21:50:37 +00:00
kipp%netscape.com
bcb6fd2f40 Fixed computation of max-element-size for bug #12384; don't compute line-height in this class 1999-08-27 21:50:06 +00:00
kipp%netscape.com
07283caa5c Shrink down size of nsLineLayout object 1999-08-27 21:49:12 +00:00
kipp%netscape.com
06e81276ec Keep trakc of the depth of reflow to allow for limiting stack usage (bug #10310) 1999-08-27 21:48:54 +00:00
kipp%netscape.com
a990e6fdbf Don't paint frames that are unflowable 1999-08-27 21:48:21 +00:00
kipp%netscape.com
0131e47431 Added IsFrameTreeTooDeep method to support code handling bug #10310 1999-08-27 21:48:06 +00:00
kipp%netscape.com
5be7df2d3e Fixed bug 12451 - use list-style-type when image doesn't load or is loading 1999-08-27 21:47:39 +00:00
kipp%netscape.com
74746dee38 Cache computed width so that during placement of the block we can see if auto margins need recomputing (bug #1164) 1999-08-27 21:47:04 +00:00
karnaze%netscape.com
373d816283 new regression tests 1999-08-27 21:46:14 +00:00
kipp%netscape.com
2bbab750e5 Revamped to create/destroy manage first-letter frames so that incremental operations (append/insert/remove) work properly 1999-08-27 21:46:10 +00:00
kipp%netscape.com
e40963e370 Reduce stack size by allocating nsLineLayout objects from the heap when the frame tree depth gets too big (bug #10310) 1999-08-27 21:45:37 +00:00
kipp%netscape.com
424e55fe9d Reduced the default number of nsBandTrapezoids to reduce stack space used (bug #10310) 1999-08-27 21:44:10 +00:00
kipp%netscape.com
c939c02aac Nuked some warnings 1999-08-27 21:43:33 +00:00
kipp%netscape.com
13f379d093 Moved hardcode into ua.css 1999-08-27 21:42:46 +00:00
kipp%netscape.com
e0750a5070 Use revised DivAlignValue methods 1999-08-27 21:42:31 +00:00
kipp%netscape.com
f24657d4ec Made a method to inquire about nav-quirks mode and fixed a few methods to not be static so that they could use it 1999-08-27 21:42:08 +00:00
kipp%netscape.com
7ce7393125 Revised implementation to better manage the embedded text fragment; implement revised nsITextContent API 1999-08-27 21:41:13 +00:00
karnaze%netscape.com
711879206c bug 12287 - removed nsTableFrame::GetContainerWidth, renamed TableIsAutoWidth to IsAutoWidth and simplified. 1999-08-27 21:15:21 +00:00
ducarroz%netscape.com
155d743008 Add rule for blockquote[type=cite] (use by messenger for display replied messages) 1999-08-27 21:11:55 +00:00
karnaze%netscape.com
845b512f66 new regression tests 1999-08-27 21:08:14 +00:00
pollmann%netscape.com
2372400529 Opps! 1999-08-27 20:59:28 +00:00
dcone%netscape.com
918bc1fe7d removed a debug printf 1999-08-27 20:58:37 +00:00
jdunn%netscape.com
54560aa3f9 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
1999-08-27 20:55:45 +00:00
rods%netscape.com
8b6ba3a48f change all index parameters to PRInt32 from PRUint32
added key listener support for keyboard navagation inside the list
fixed extended selection
fixed a minor problem with selecting an item
1999-08-27 14:42:27 +00:00
rods%netscape.com
dfba4adce8 Changed the view's widget create so it doesn't register D&D 1999-08-27 14:40:14 +00:00
rods%netscape.com
d8af33a213 Changed Reflow to check for whether it is native mode or not. InGFX mode it now call the base class' (nsLeafFrame)
Reflow so it does a better job of laying out.
1999-08-27 14:38:54 +00:00
dcone%netscape.com
4abe0ca7d3 Added a rounding parameter so rounded rects can be used as cirles if the radius is large enough 1999-08-27 14:37:47 +00:00
rods%netscape.com
22813275bf Added the other GetDesiredSize call overriding the base class call, and making it
the existing GetDesiredSize with the last param dummyed out. This makes all the sizing work
correctly with the change I put in in nsFormControlFrame
1999-08-27 14:34:54 +00:00
rods%netscape.com
833b8c0152 Changed to respect border and padding and now draw check mark "centered" in the available space
the check mark also sizes to content area
1999-08-27 14:31:59 +00:00
rods%netscape.com
c2d0583645 Changed parameters from width and height to a nsRect 1999-08-27 14:31:54 +00:00
evaughan%netscape.com
f781250e40 Fixed to gfx scrollbar.
Fixed some blockers.
1999-08-27 06:06:39 +00:00
pollmann%netscape.com
a522c7ae8f Opps! 1999-08-27 05:13:40 +00:00
pollmann%netscape.com
3f220b35c5 Opps! 1999-08-27 05:05:33 +00:00
karnaze%netscape.com
89aed4a1fe new regression tests 1999-08-27 04:48:25 +00:00
pinkerton%netscape.com
bb33f01d50 remove refs to nsIContentConnector 1999-08-27 04:30:48 +00:00
karnaze%netscape.com
9d31e7c8a1 bug 12590 - vertical-align:middle working on cell 1999-08-27 04:29:05 +00:00
pollmann%netscape.com
c0317528d3 Warning cleanups and Bug 12350 1999-08-27 03:59:49 +00:00
pollmann%netscape.com
30a0e34e7e Bug 12350 1999-08-27 03:58:47 +00:00
pollmann%netscape.com
22fef24c59 Cleanup, and bugfixes for bug 12475 and 12350 1999-08-27 03:58:13 +00:00
pinkerton%netscape.com
80fdd59867 remove nsTriStateCheckboxFrame.cpp 1999-08-27 03:41:43 +00:00
rpotts%netscape.com
0085d83ab0 M9 BRANCH landing... 1999-08-26 22:45:55 +00:00
karnaze%netscape.com
a6cc89fba6 backing out recent changes that failed table regression tests 1999-08-26 16:56:42 +00:00
rods%netscape.com
6cf112a833 Completely reworked the select GFX object - List and Combobox, it now does all event processing
via DOM listeners instead of through the frames
1999-08-26 14:54:07 +00:00
rods%netscape.com
f4f7d3591c Added rule for input type=image, it sets the border to a 2px solid blue 1999-08-26 14:50:47 +00:00
rods%netscape.com
d0366de11c removed the hard coded blue border from Input typ=image 1999-08-26 14:49:42 +00:00
rods%netscape.com
a680982ab4 Put in check for null a mOptions and return zero for GetLength 1999-08-26 14:48:59 +00:00
rods%netscape.com
a70b8597f5 Cleanup the file and gave it a unique GUID. 1999-08-26 14:45:53 +00:00
hyatt%netscape.com
229e5bf222 Fix for bug 12887. 1999-08-26 10:23:49 +00:00
troy%netscape.com
8d4c41ad24 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
1999-08-25 23:55:57 +00:00
troy%netscape.com
a5ea47b596 Fix for bug #12444. Made sure that for a "StyleChanged" reflow command we
invalidate our entire bounds
1999-08-25 23:15:36 +00:00
mjudge%netscape.com
5272505f4a added in selection of tables/images as blue borders for browser. 1999-08-25 22:19:23 +00:00
karnaze%netscape.com
49bded7631 changed conditional NS_RELEASE to NS_IF_RELEASE to fix memory leak 1999-08-25 21:57:15 +00:00
karnaze%netscape.com
7dddc57925 bug 1271 - percentage height cells, added GetNumCellsOriginatingInRow, fixed GetNumCellsOriginatingInCol 1999-08-25 21:49:18 +00:00
ftang%netscape.com
7c80df3998 fix the default charset problem I introduced when I fix 12378 1999-08-25 21:42:30 +00:00
ramiro%netscape.com
7ee0e69965 Cleanup zlib cruft. 1999-08-25 14:39:53 +00:00
rods%netscape.com
51e6682549 The index of the option being deleted needs to be remembered before the it is removed from the list 1999-08-25 13:44:49 +00:00
rods%netscape.com
5599dcf675 Fixed the initialization of the scroll frame for list boxes, the parameters had been incorrectly changes for version 1.20
Add addtional safety code for dynamically adding items to list boxes when in native widget mode
1999-08-25 13:42:59 +00:00
rods%netscape.com
461e2800c5 removed some unused variables to get rid of some warnings 1999-08-25 13:39:41 +00:00
ramiro%netscape.com
5c9835cc68 Cleanup linking of libimg. 1999-08-25 13:37:11 +00:00