Граф коммитов

297 Коммитов

Автор SHA1 Сообщение Дата
pp%ludusdesign.com 43d7ba4273 Converting ::GetIID() into NS_GET_IID(). Bug #20232. r=scc, r=mozbot 2000-02-02 22:24:56 +00:00
sspitzer%netscape.com 60861b03c5 bulletproofing fix for crash reported in #22811 1999-12-29 19:28:06 +00:00
warren%netscape.com a265a32348 Landing no_neckoutil2_branch. Bug #11159. Removes neckoutil_s.lib from build which helps beos and openvms. 1999-11-30 04:50:42 +00:00
dmose%mozilla.org 42fc94a6ec updated license boilerplate to xPL 1.1, a=chofmann@netscape.com,r=endico@mozilla.org 1999-11-06 03:40:37 +00:00
cls%seawood.org 14ef08310e Removed unused NECKO ifdefs.
a=leaf
1999-11-02 23:34:03 +00:00
peterl%netscape.com 1634c730fd Added new style data accessors.
Added nsIMutableStyleContext interface.
Made style rules work against nsIMutableStyleContext
r=troy
1999-10-16 04:05:59 +00:00
kipp%netscape.com b0dcc883f8 Cleanup moz-decl-counter usage and fix NS_LOG_ADDREF usage 1999-10-08 20:41:19 +00:00
peterl%netscape.com d023d57dc3 First step at fixing 12106, factored out style rule processing from
style sheets into a seperate style rule processor interface
r=troy
1999-10-08 03:09:31 +00:00
buster%netscape.com 2094a92c5f fixed BodyFixupRule::MapStyleInto to respect background color properly
code-reviewed by Peter Linss
1999-08-07 05:38:28 +00:00
peterl%netscape.com 6902a54fc2 cleanups 1999-07-18 00:30:11 +00:00
andreas.otte%primus-online.de b6031c6f4b NECKO only: Using helper function NS_MakeAbsoluteURI A: chofmann R:valeski 1999-07-11 15:46:10 +00:00
vidur%netscape.com 6f85dce006 Added a HTMLDocumentColor special-case rule for the HTML element. This is set when either the bgColor or fgColor is set on a HTML document. 1999-07-07 04:53:36 +00:00
peterl%netscape.com acbf191666 split attribute container into mapped and unmapped parts
only mapped part is uniqued now
1999-07-07 01:30:43 +00:00
andreas.otte%primus-online.de d968fa955b NECKO only: replacing GetBuffer with ToNewCString and some error checking 1999-07-06 23:08:16 +00:00
peterl%netscape.com 6f9cc422d7 removed autostring constructor usage per rickg
cleaned up url listing
1999-06-27 21:17:39 +00:00
warren%netscape.com f6b9d3a028 Necko ifdefs for layout and rdf. 1999-06-26 06:36:26 +00:00
warren%netscape.com 23864df5e3 Renamed nsIURL to nsIURI in preperation for necko. More NECKO ifdefs too. 1999-06-23 03:29:44 +00:00
peterl%netscape.com 791b26bc52 removed unnecessary null tests (tested at call site for performance)
cleaned up null link handler testing to avoid URL conputation
1999-06-22 19:25:31 +00:00
jfrancis%netscape.com a49b921177 making the world safe for null linkHandlers 1999-06-21 07:47:29 +00:00
sspitzer%netscape.com b1ffc95e12 safety checks to prevent dereferencing null 1999-06-19 21:18:13 +00:00
valeski%netscape.com 487d9ea921 NECKO ifdef (ifdef'd _off_ by default) this checkin should not impact anything. checkin approved. If someone runs into a problem, call me at 303.546.0061. 1999-06-18 17:34:08 +00:00
peterl%netscape.com 02bfa76334 added better medium testing api 1999-06-15 06:21:47 +00:00
karnaze%netscape.com 124ffff8d5 new style rule for table elements inheriting backgrounds in Nav Quirks mode 1999-06-07 21:09:07 +00:00
peterl%netscape.com 8f088167e0 sync to nsIStyledContent API change 1999-05-26 23:55:49 +00:00
sspitzer%netscape.com 09cb39095d make destructors virtual 1999-05-13 02:11:25 +00:00
rickg%netscape.com b0ac68e0a3 updates to sync with nsString2 api 1999-04-21 23:48:41 +00:00
peterl%netscape.com 6744b5d044 added tests for state dependent style 1999-04-20 00:05:54 +00:00
peterl%netscape.com b352defc23 split font style mapping from regular style mapping 1999-04-15 21:23:05 +00:00
rickg%netscape.com 782775140d tiny tweaks to keep in sync with new nsString 1999-04-06 00:29:40 +00:00
peterl%netscape.com b7d0600f26 backing out prevoius changes (unix didn't like it) 1999-04-02 19:57:07 +00:00
peterl%netscape.com 90dd9ac19c initialize bitfields through a union to keep purify happy 1999-04-02 18:51:28 +00:00
joki%netscape.com 393a3e937e Updating internal implementations to new DOM2 api syntax, capture/bubble functionality, new EventStateManager stuff (focus improvements) 1999-03-28 22:22:54 +00:00
troy%netscape.com da0eec7de9 In RulesMatching(), changed NS_RELEASE to NS_IF_RELEASE for the link handler.
This fixes a crash when doing a print preview
1999-03-06 17:20:27 +00:00
scc%netscape.com 31ff626ae9 rename |IID()| --> |GetIID()| 1999-03-03 19:48:57 +00:00
peterl%netscape.com e6aa19618a fixed active link rule support 1999-02-27 07:18:21 +00:00
hyatt%netscape.com b672b96f31 Changed GetContentStyleRule so that it is invoked on styledContent instead
of htmlContent.
1999-02-27 01:34:55 +00:00
kipp%netscape.com cfa5bbce41 Fixed remaining issues with operator new/delete 1999-02-26 19:26:29 +00:00
kipp%netscape.com 2aaefa469a Cleaned up operator new and delete 1999-02-26 17:13:10 +00:00
peterl%netscape.com 0c55af98d5 moved frame construction code to its own class 1999-02-05 03:57:49 +00:00
troy%netscape.com d98c1338c9 Work-in-progress for replaced elements that can't be rendered 1999-02-04 17:03:46 +00:00
kipp%netscape.com 341045341e Avoid crashing when no frame is found during attribute change notifications 1999-02-04 16:27:38 +00:00
evaughan%netscape.com 66ca26c816 Added the XUL progress meter widget. 1999-02-04 01:34:15 +00:00
nisheeth%netscape.com e459dc55f8 Added ReconstructFramesOnAttributeChange() to the HTML stylesheet
that gets called when a content object's attribute change requires
its frames to get recreated.
1999-02-04 00:53:08 +00:00
hyatt%netscape.com 400b3d1ec0 Changed the tree frame construction code. 1999-02-04 00:28:05 +00:00
vidur%netscape.com a130dcf90d Added additional key argument to string parsing routine. Improved Reset handling for document to include style sets and frame construction. Modified root frame construction. Got out-of-line document.write to work 1999-02-03 19:38:16 +00:00
waterson%netscape.com 16c04c8ef0 Moved nsXULAtoms::AddrefAtoms() and ReleaseAtoms() to the style sheet's ctor and dtor, as per Peter Linss suggestion. 1999-02-02 05:39:57 +00:00
troy%netscape.com 80a740ee38 Implemented fixed position tables 1999-02-02 04:28:55 +00:00
waterson%netscape.com c5340bff6b Force an nsXULAtoms::AddrefAtoms to ensure that the XUL atoms and namespace are created in the layout DLL before trying to refer to them. (a=hyatt%netscape.com) 1999-02-01 23:06:49 +00:00
troy%netscape.com 32db624fdc Fixed it so scrollable BLOCK elements can be fixed positioned 1999-02-01 18:09:57 +00:00
karnaze%netscape.com b9d192770b Made table frame construction flexible enough to allow arbitrary content to be mapped
to arbitrary table related display types.
1999-01-30 15:52:19 +00:00
joki%netscape.com 76111374a3 Removing nsILinkHandler enum types from dependencies, fixing event handler bugs 1999-01-28 23:14:36 +00:00
hyatt%netscape.com 6344101989 Making events still possible within tree cells. 1999-01-27 12:42:37 +00:00
hyatt%netscape.com 148948810c Fixed a bug wherein tree frames weren't being added to the flow. 1999-01-27 10:10:02 +00:00
hyatt%netscape.com 15a4267e53 @%!%@! 1999-01-27 07:30:24 +00:00
hyatt%netscape.com c5d1931ce3 Getting rid of a conflict that I had. 1999-01-27 07:23:58 +00:00
hyatt%netscape.com 351a867c31 Tweaking XUL frame construction. Also adding in a temporary tweak to
keep a NOTYETIMPLEMENTED from firing when an attribute in XML is
changed.  (Making it do a reflow rather than a reframe.)
1999-01-27 07:22:05 +00:00
troy%netscape.com 3dfe0f6e71 Added work-in-progress for 'fixed' positioning 1999-01-27 05:37:55 +00:00
troy%netscape.com 90936a12e0 Changed nsAbsoluteItems to be a derived class of nsFrameItems 1999-01-27 03:53:54 +00:00
troy%netscape.com d620a953d5 Hooked printing back up. It was a casuality of the viewport changes 1999-01-27 03:24:12 +00:00
troy%netscape.com 0dcf9ecb84 Fixed a problem in ConstructFrameByTag() where absolutely positioned elements
weren't handled properly
1999-01-26 06:00:30 +00:00
troy%netscape.com 3c1d7d5b17 Fixed some problem in ConstructFrameByDisplayType() where in now cases
(e.g. floaters and relatively positioned blocks) the newly constructed
frame wasn't getting added to aFrameItems
1999-01-26 05:46:04 +00:00
troy%netscape.com 35fe891e8b Fixed a problem with placeholder frame's clearing the child list and
causing the previous frames to disappear
1999-01-26 05:05:19 +00:00
troy%netscape.com 745bdb8e74 Removed "tab" chars 1999-01-26 01:47:01 +00:00
troy%netscape.com c72697fd30 Hooked up print-preview to work again 1999-01-26 01:39:08 +00:00
hyatt%netscape.com 5e91eb5b3f Added support for tree indentation. 1999-01-26 01:12:51 +00:00
troy%netscape.com b145640f92 Changed scrolling so it happens on the viewport instead of the HTML
element
1999-01-26 00:05:21 +00:00
mjudge%netscape.com cf65195755 fixing build bustage for someone 1999-01-25 23:55:59 +00:00
hyatt%netscape.com c7911a76ab Tweaks to enable XUL frame construction to prevent the construction based on
display type.
1999-01-25 23:07:17 +00:00
hyatt%netscape.com 9d713b4c89 Altered the way frame construction works. ConstructFrame can now potentially
build up a list of sibling frame subtrees.  This allows for the creation of
multiple frames from a single content node, and for easy merging of two different
lists of subtrees during frame construction.
1999-01-25 22:13:03 +00:00
peterl%netscape.com 31b951a961 allow reconstruct frames to work on all documents 1999-01-23 07:08:38 +00:00
vidur%netscape.com 6a4a691b03 Comments added to content model. Comments and text content now have a special tagname 1999-01-22 22:48:00 +00:00
rods%netscape.com 02cdf013af Factored out the Initialization code for the ScrollFrame into a separate method
Added code to hide and show view when applied to the whole tree
Added a method for Creating the proper frames for the SELECT tag
1999-01-22 15:27:54 +00:00
pinkerton%netscape.com 028c0f687d hooking toolbars and toolbox back up. Sigh. 1999-01-22 04:04:12 +00:00
hyatt%netscape.com 09ce11d78f Added support for tree frame instantiation. 1999-01-22 03:31:56 +00:00
pinkerton%netscape.com 79a42f97e3 ack, unhook toolbars until i can solve the export problem on win. 1999-01-22 01:53:05 +00:00
pinkerton%netscape.com 6864fb136f hookup toolbars and toolbox so they are instantiated when xul sees those tags. 1999-01-22 01:42:44 +00:00
hyatt%netscape.com 3c947c24ed Adding support for the widget tag to XUL. 1999-01-21 09:26:01 +00:00
danm%netscape.com 97ccf3dcc7 create XUL frames 1999-01-21 03:37:37 +00:00
karnaze%netscape.com c1f9e8dde6 <form> inside <table> submits; marginwidth, marginheight in <frame> working; scrolling in <frame>, <iframe> working 1999-01-19 17:26:06 +00:00
karnaze%netscape.com 4a096a53f7 scrollable row groups 1999-01-17 23:35:56 +00:00
troy%netscape.com fcf61df310 Fixed it so relatively positioned block frames act as containing blocks
for absolutely positioned child elements
1999-01-16 22:18:08 +00:00
kipp%netscape.com b25ad154ee Fixed absolute positioning bug I introduced in my last checkin 1999-01-15 17:33:00 +00:00
peterl%netscape.com 0e2059924f better base url support
added support for "none" style change hint
added assert for recycling of html attributes

Checkin during red tree approved by sar
1999-01-15 02:09:29 +00:00
kipp%netscape.com 3246006e73 Stop using reflow commands for frame structure changes; instead invoke methods on the frames which then generate reflow commands as needed 1999-01-15 01:30:12 +00:00
troy%netscape.com 5d8b4656eb Removed the content-parent frame pointer. Now we just have the one geometric
parent
1999-01-14 05:16:23 +00:00
troy%netscape.com 8ac6e31715 Fix for bug #2276, and some initial support for 'right' and 'bottom'
for absolutely positioned elements
1999-01-13 06:37:31 +00:00
troy%netscape.com 2ca99d3bc9 Re-commiting my fucking changes... 1999-01-13 00:44:48 +00:00
cltbld%netscape.com 50bb86b809 backing out changes made against a red tree 1999-01-13 00:00:57 +00:00
troy%netscape.com af64fd8bd9 Fixed a memory leak 1999-01-12 23:17:49 +00:00
kipp%netscape.com 9088d3fb1e Use new flag defines 1999-01-12 16:42:03 +00:00
karnaze%netscape.com ec97d3900b dom table methods, moved align="char" data members from nsReflowState to nsHTMLReflowState 1999-01-08 18:57:40 +00:00
troy%netscape.com 4141e3d219 Changed ContentRemoved() to also generate a reflow command for the placeholder
for an absolutely positioned frame. Also made sure the child list name is
properly set for the reflow command for the absolutely positioned frame
1999-01-07 05:03:53 +00:00
troy%netscape.com fabb2fd184 Improved GetAbsoluteContainingBlock() a bit. It still needs to handle scrolled
elements
1999-01-05 05:51:22 +00:00
troy%netscape.com 2d45b350be Fixed it so XML documents display again 1998-12-29 05:51:11 +00:00
troy%netscape.com 4982bfd126 Fixed a problem with absolutely positioned tables not working properly 1998-12-29 05:35:42 +00:00
troy%netscape.com 7baf302727 Renamed FindFrameWithContent() to GetPrimaryFrameFor() 1998-12-29 04:45:18 +00:00
troy%netscape.com e1f9e8b29f Moved logic that deals with moving absolutely positioned frames out of the
flow to the frame construction code
1998-12-29 03:38:16 +00:00
troy%netscape.com 900f469395 Renamed NS_NewHTMLFrame() to NS_NewRootFrame() 1998-12-21 18:22:44 +00:00
troy%netscape.com c9dedf070c Changed the frame hierarchy, and changed how scrolling works. Also added
nsAreaFrame which replaces nsBodyFrame which is no longer used
1998-12-20 23:29:47 +00:00
peterl%netscape.com e75a76898d sync to new attribute api 1998-12-20 01:21:23 +00:00
troy%netscape.com 441ef12d7d Reverted back to previous revision, because I came up with a cleaner
solution
1998-12-18 05:23:40 +00:00
troy%netscape.com 60363a423b Re-ordered the call to set the scroll frame's initial child list so that
the XML demos work again. This is really a temporary change until things
get fixed right...
1998-12-18 04:59:14 +00:00
warren%netscape.com b22a4e72fd Networking changes: Reworked nsIURL, adding setters, factoring Open. Unsigned arguments for nsIStreamListener. 1998-12-16 05:40:20 +00:00
av%netscape.com 0fa0a7f9d5 Making object tag to display alternative context 1998-12-13 21:44:55 +00:00
nisheeth%netscape.com 3985eb30bb Changed nsHTMLStyleSheetImpl::AttributeChanged() so that it asks the
content objects for style change hint.  Removed tag specific code in this function.
1998-12-10 23:49:13 +00:00
troy%netscape.com e7be4256f2 Changed wrapping of floated elements so the wrapping happens inside of
ConstructFrameByDisplayType(), and now we only wrap frames of display
type 'block' and 'inline'
1998-12-07 18:44:40 +00:00
troy%netscape.com 1fcf20d0f3 Temporary change to make sure we don't wrap floated tables in a BODY frame 1998-12-04 23:51:16 +00:00
troy%netscape.com 55f632387d Moved creation of first page frame to frame construction code, and changed
it so the page frame has a view. This makes printing faster and easier
1998-12-04 21:04:56 +00:00
troy%netscape.com bd58bde76d Moved view creation to frame construction code. Also moved wrapping of
floated and absolutely positioned elements to frame construction code
1998-12-04 19:03:44 +00:00
troy%netscape.com 80545a3bd4 Changed view creation to occur when frame initialization occurs 1998-12-04 05:56:06 +00:00
troy%netscape.com 36f4bf7247 Moved logic that created a BODY frame that forms the cell's content from the
table frame code to the frame construction code
1998-12-04 02:08:51 +00:00
waterson%netscape.com 3cbd2aa561 Added initializers that can be used from the repository. Export nsIHTMLStyleSheet.h. 1998-12-03 20:20:35 +00:00
troy%netscape.com d97a31f115 Added Init() member function to nsIFrame 1998-12-03 06:31:43 +00:00
peterl%netscape.com b724dddfbc changed media type to atom 1998-12-02 00:38:14 +00:00
vidur%netscape.com e2547a120e Moved nsGenericElement to base directory. Added basic support for document fragments. 1998-11-30 07:59:11 +00:00
peterl%netscape.com 4222f0257e style change notification support 1998-11-26 01:34:53 +00:00
kipp%netscape.com ed15bc1725 Fixed IsScrollable to take an extra argument so that we would only create scroll-frames around blocks using the webshells criteria if it's the body frame (bug #1608) 1998-11-25 16:41:06 +00:00
buster%netscape.com 199d61519b removed the resolution of table pseudo-style until we can test it and
actually use it.  this was just a memory leak.
1998-11-21 00:53:03 +00:00
troy%netscape.com 21e1f648b1 Added nsHTMLAtoms::wrappedFramePseudo and changed ConstructFrame() to use
it instead of nsHTMLAtoms::columnPseudo
1998-11-20 23:27:59 +00:00
buster%netscape.com 074583f502 took out a dumb debug printf 1998-11-20 21:09:54 +00:00
buster%netscape.com aa0ff99ae0 put in a VERY temporary work-around for some crashes we're seeing as a
result of table style context's display type != TABLE
1998-11-20 21:08:06 +00:00
buster%netscape.com cae6af5e35 removed obsolete include of nsTableFrame 1998-11-20 01:04:43 +00:00
peterl%netscape.com 00ae8e9cc9 use proper pseudo tag for text style contexts 1998-11-18 02:11:27 +00:00
vidur%netscape.com 4ca363e17b Changes to allow disabling and enabling of style sheets. Introduced ReconstructFrames to nsIFrameConstructor. CSSStyleSheets now remember their document. Temporary fix to allow text content inside CSS tables. 1998-11-17 02:14:38 +00:00
troy%netscape.com 8550f707c1 Made sure NS_BODY_THE_BODY flag is set for the body wrapper frame we
create for XML documents
1998-11-16 21:48:13 +00:00
troy%netscape.com 9b21f39f54 Added a scroll frame for print preview 1998-11-13 04:22:23 +00:00
troy%netscape.com e21c76703a Cleaned up ConstructXMLRootFrame() and added some XXX comments 1998-11-13 03:43:15 +00:00
vidur%netscape.com 632a979901 Added script handling to XML content sink. Made sure frame construction by tag wasn't done for XML. 1998-11-12 23:55:47 +00:00
troy%netscape.com 2b86b49c95 Cleaned up the way construction of the root frame happens for XML documents.
We no longer create a pseudo root element
1998-11-12 23:03:35 +00:00
buster%netscape.com 45f8b315a9 rowgroup pseudo-frames for rows inserted directly into a table 1998-11-12 20:45:28 +00:00
buster%netscape.com 9b8264930f col and colgroup attribute handling
colgroup pseudo frame for cols inserted directly into a table.  More like this to come...
1998-11-12 18:37:28 +00:00
vidur%netscape.com c068c96a00 Added XML display support. Split nsGenericHTMLElement into generic and HTML-specific components. Minor style modification. New XML classes and interfaces. 1998-11-11 22:06:16 +00:00
troy%netscape.com e248cb0b50 Fixed a memory leak of a content object 1998-11-11 06:37:30 +00:00
troy%netscape.com b208618ab6 Eliminated the hack where the scroll frame was creating a BODY wrapper for
the scrolled frame. Now the frame construction code creates the wrapper
frame
1998-11-11 04:43:13 +00:00
troy%netscape.com fd34820203 Renamed Init() to SetInitialChildList() and added an additional parameter
for the name of the child list
1998-11-10 06:05:32 +00:00
kipp%netscape.com 4f710d172f Create a block frame for run-in and compact frames 1998-11-09 23:35:44 +00:00
karnaze%netscape.com 44b5b9e670 form control content attribute changes (not all) reflected in layout; fixed scrolling on <iframe>, <frame>;
added nsImageControlFrame to handle <input type=image>.
1998-11-09 23:30:16 +00:00
troy%netscape.com 02915d3677 First of a few changes to allow frames to have multiple child lists.
FirstChild() now takes an additional argument which is the name of the
child list.
1998-11-09 19:40:27 +00:00
troy%netscape.com 1ef01c4b61 Fixed ConstructFrame() so it creates the scroll frame first. This ensures
the style context hierarchy is correct
1998-11-06 17:57:24 +00:00
troy%netscape.com cc8a206808 Changed frame construction code to create a simple page sequence frame
when paginated
1998-11-05 06:13:55 +00:00
buster%netscape.com 1b3ee90d82 nsHTMLReflowCommand now knows what attribute triggered a StyleChanged notification 1998-11-04 19:34:34 +00:00
peterl%netscape.com e3cd00d3b0 made parent context no longer be optional on re-resolve style context method 1998-11-03 21:29:14 +00:00
peterl%netscape.com 69ad11bff6 sync to style resolution api changes
moved style context re-resolving to frame land
1998-11-03 20:33:23 +00:00
troy%netscape.com 10c06c1b72 Renamed HaveConstrainedWidth() and HaveConstrainedHeight() to HaveFixedContentWidth()
and HaveFixedContentHeight()
1998-11-01 01:29:00 +00:00
buster%netscape.com e82356e5d9 factored AttributeChanged so when deciding what to do in response to a change,
common attributes are checked first, then content-specific handlers are asked
1998-10-30 23:06:14 +00:00
buster%netscape.com d8ae00b810 some extremely preliminary work for styleChanged incremental reflow 1998-10-30 07:57:44 +00:00
troy%netscape.com 37c1eb59c2 Changed to use a scroll frame for the BODY 1998-10-29 23:25:02 +00:00
kipp%netscape.com 76945822e1 Pass in opactity to view manager in case it changed 1998-10-28 02:05:05 +00:00
peterl%netscape.com d10c5c6553 removed depth style remap (context does it for us now) 1998-10-27 03:03:49 +00:00
peterl%netscape.com d51752e653 added aural style hint 1998-10-26 23:21:19 +00:00