Commit Graph

6174 Commits

Author SHA1 Message Date
briano%netscape.com
45f9b17d23 General cleanup. 1999-09-01 00:47:39 +00:00
pavlov%netscape.com
537d1af8c7 fix a crash in the color picker and add a grayscale palette.
fix xpmenus to work as popups without a menubar
1999-09-01 00:39:12 +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
pavlov%netscape.com
bf161edf7d fix some warnings on windows 1999-08-31 07:26:53 +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
00b8021645 Added new atoms 1999-08-31 04:31:39 +00:00
kipp%netscape.com
02a8d6427d Added missing = 0 to make method's pure virtual 1999-08-31 04:20:22 +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
tague%netscape.com
97b0bd802c Added support for a reply from the StartComposition message. Necessary for XIM support on UNIX. 1999-08-31 01:20:32 +00:00
nisheeth%netscape.com
ccebb1821c added files: mozilla/layout/base/src/nsLayoutHistoryState.cpp 1999-08-30 22:50:48 +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
pinkerton%netscape.com
766df5c770 clean up two small memory leaks. 1999-08-30 22:15:40 +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
hyatt%netscape.com
5da3be9d2e Improvements to tree scrolling. 1999-08-30 00:00:31 +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
7399c40287 Improvements to the tree's scrollbar. 1999-08-29 11:15:30 +00:00
hyatt%netscape.com
a7c41184e7 Improvements to the tree's scrollbar. 1999-08-29 10:51:15 +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
hyatt%netscape.com
9d158d034f Fixing a scrolling problem that happens on a resize. 1999-08-29 04:03:29 +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
hyatt%netscape.com
2a68974ff1 Oops. Introduced some asserts in mail/news. Fixing this. 1999-08-29 00:57:10 +00:00
hyatt%netscape.com
9fcfdc11d9 Big tree improvements. 1999-08-29 00:46:41 +00:00
pavlov%netscape.com
b999fd558c add multiple palette support 1999-08-28 19:51:27 +00:00
pavlov%netscape.com
83e44aa98f add palette name atom 1999-08-28 19:50:15 +00:00
sspitzer%netscape.com
ed2973bf46 fix pedantic build bustage. 1999-08-28 16:55:31 +00:00
pavlov%netscape.com
9900e1bac0 honor width and height on the color picker and size intrinsically if thats what you want 1999-08-28 07:49:39 +00:00
nisheeth%netscape.com
22456ab859 Work in progress to integrate Keith Visco's XSL processor, Transformiix, into Gecko. All code is protected by #ifdef XSL and will not affect the build. 1999-08-28 07:37:23 +00:00
nisheeth%netscape.com
a576de8c20 Work in progress to integrate Keith Visco's XSL processor, Transformiix, into Gecko. All code is protected by #ifdef XSL and will not affect the build. 1999-08-28 07:31:08 +00:00
pavlov%netscape.com
de5a4a64a5 fix some mathmatical errors and do proper clipping 1999-08-28 06:40:37 +00:00
rpotts%netscape.com
fb420fffee Null terminate the new buffer. 1999-08-28 05:12:11 +00:00
pavlov%netscape.com
7514e48dfd added files: mozilla/layout/xul/base/src/nsStdColorPicker.cpp 1999-08-28 04:28:59 +00:00
pavlov%netscape.com
8d9a80c92a color picker widget 1999-08-28 04:28:45 +00:00
sdagley%netscape.com
ca4247a0d1 added files: mozilla/layout/xul/base/src/nsTreeRowFrame.cpp 1999-08-28 01:43:21 +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
hyatt%netscape.com
1953acc3a4 Tree widget checkin. 1999-08-28 00:40:46 +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
kipp%netscape.com
c6628f4c30 Implement GetTextLength and CopyText methods from revised nsITextContent API 1999-08-27 21:40:47 +00:00
kipp%netscape.com
b509ac661c Added in GetTextLength and CopyText methods for the MathML folks 1999-08-27 21:40:13 +00:00
kipp%netscape.com
7f586556a6 Made WhiteSpaceIsSignificant a const method 1999-08-27 21:39:50 +00:00
kipp%netscape.com
6361c09f47 Added NS_FRAME_IS_UNFLOWABLE bit for handling frame trees that are too deep 1999-08-27 21:39:26 +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
brade%netscape.com
b016565625 change error messages to flag inappropriate uses of GetCharCode 1999-08-27 14:16:44 +00:00
ramiro%netscape.com
d3031d8625 lower the volume on printf noise. 1999-08-27 09:38:44 +00:00
evaughan%netscape.com
f781250e40 Fixed to gfx scrollbar.
Fixed some blockers.
1999-08-27 06:06:39 +00:00