Commit Graph

189 Commits

Author SHA1 Message Date
jst%netscape.com
3c2288e0b9 Redoing the way code is shared between different element classes in mozilla, in stead of having an inner object (mInner) and forwarding function calls to the inner object the elements now inherit from what used to be the inner object. Previously nsIJSScriptObject and nsIContent (and related interfaces) were implemented on all leaf classes (~60 classes) and all the methods in those interfaces were forwarded to the inner object, now all those methods are inherited in stead. This saves us ~3600 methods in the layout library (and 160k of code on linux) and cleans the code up considerably. r=pollmann@netscape.com, harishd@netscape.com sr=vidur@netscape.com. 2000-12-23 10:56:31 +00:00
pollmann%netscape.com
929928c472 Bug 3326: Implement IsIndex frame; r=kmcclusk 2000-09-14 04:43:31 +00:00
jst%netscape.com
df6f2a53e2 Removing unused code from the build. r=pollmann@netscape.com 2000-08-26 07:00:17 +00:00
jst%netscape.com
ee4b181034 Changing the way content elements store their name information, previously the elements generally stored a name atom and a namespace ID, now they store a pointer to a shared structure containing the name atom, the prefix atom and the namespace ID. This structure is shared between nodes with unique names (ie same name, prefix and ns ID) within a document. Documents now hold a hash table of the names in the document. The changes to mozilla/rdf are not reviewed but they are approved by waterson@netscape.com and the changes to mozilla/layout are reviewed by buster@netscape.com. 2000-05-10 13:13:39 +00:00
troy%netscape.com
efc3b016a8 b=15405 Renamed root frame to canvas frame and changed frame construction
code to propagate document element's background to canvas
2000-04-19 02:13:43 +00:00
jst%netscape.com
f523d9cb3a Add a nsHTMLUnknownElement class for LAYER, ILAYER, NOLAYER and unknown elements, this element is a normal element except that it doesn't do inline style processing. This fixes M15 bug #22260. 2000-04-05 01:46:48 +00:00
rods%netscape.com
7719d8b6c7 Added extra parameter to NS_NewLabelFrame for setting the space manager bit
b=33200
2000-03-27 22:12:16 +00:00
troy%netscape.com
d955ea1b86 Added declaration of new function NS_NewGeneratedContentIterator() 2000-03-22 05:55:05 +00:00
troy%netscape.com
26a77156ec b=27043 r=buster@netscape.com Inner table cell specifies NS_BLOCK_MARGIN_ROOT
flag now
2000-02-11 15:31:41 +00:00
karnaze%netscape.com
bce1929fcf bug 24037 r=attinasi; nsOuterTableFrame handles bad incremental reflow by using the height of its rect.
bug 23235 r=attinasi; nsTableRowFrame requests max element size when reflowing cell for the 1st time.
bug 24410 r=attinasi; nsTableCellFrame reflow always checks width and height and updates the content empty flag.
bug 3305 r=troy,hyatt; table frame constructor cleanup, put caption in its own child list.
2000-01-28 02:19:45 +00:00
attinasi%netscape.com
58d061d613 Added flags to factory method to allow NS_BLOCK_SPACE_MGR to be passed. Fixes bug 23611. r=rods,pierre 2000-01-18 15:38:50 +00:00
vidur%netscape.com
61b8a1e6d0 Fix for bug 21682. BASE tag was ignored in the fragment content sink. Added HTML element creation method that takes an ID. r=pollmann 2000-01-06 23:36:45 +00:00
pollmann%netscape.com
18a8f9f113 Bug 19062: Fix crash when forms are absolutely positioned by giving them a space manager r=Troy 1999-12-08 02:07:03 +00:00
rods%netscape.com
dcfe8e548a Added a "flags" varaible for combobox creation
r=self, bug 19382
1999-12-05 20:43:19 +00:00
hyatt%netscape.com
de2eaede42 Implementing a generalized recycler and arena for all layout frames. Hoping to improve
bug #9489.  Should also definitely fix bug #15916. r=troy
1999-12-04 23:49:50 +00:00
dmose%mozilla.org
5312eacf8c updated license boilerplate to xPL 1.1, a=chofmann@netscape.com,r=endico@mozilla.org 1999-11-06 03:40:37 +00:00
kipp%netscape.com
ef6a9e0b86 r=troy; remove another 4 bytes from each block frame for a total of 10% today :-) 1999-11-03 00:42:12 +00:00
troy%netscape.com
29963d8875 Changed nsTextFrame to be derived from nsFrame instead of nsSplittableFrame.
nsTextFrame now has only a next-in-flow pointer and no prev-in-flow pointer.
Subclass nsContinuingTextFrame is used for continuing text frames; it has a
prev-in-flow pointer. This saves 4 bytes
1999-10-23 23:19:14 +00:00
troy%netscape.com
72ee697f6c Frame space reductions. r=kipp@netscape.com
Table cell frames and table caption frames now use block frames and not area
frames. This saves 24 bytes per frame instance
1999-10-08 04:32:46 +00:00
troy%netscape.com
cdf2c77595 Moved space manager to block frame and changed it the space manager is
temporary only during the reflow process
r=kipp@netscape.com
1999-10-06 22:05:23 +00:00
rods%netscape.com
e2e4220db7 Added NS_NewSelectsAreaFrame 1999-09-03 14:52:17 +00:00
kipp%netscape.com
510e253e0f Create floating frame properly (bug #2751) 1999-09-01 20:57:58 +00:00
ducarroz%netscape.com
91e18f8021 Add constructor definition for autocomplete widget 1999-08-19 22:10:53 +00:00
rods%netscape.com
5bfe95c0f4 Added NS_NewAttributeContent method 1999-08-19 14:32:19 +00:00
troy%netscape.com
f901be20dc Changed to table incremental reflow 1999-08-19 03:51:25 +00:00
pierre%netscape.com
1394381abf breaking up gfx & native widgets 1999-08-06 05:11:39 +00:00
kipp%netscape.com
9687a61f7a Tweaked area frame shrink wrapping for bug #5999 1999-07-14 17:26:12 +00:00
troy%netscape.com
32acfc4441 Fix for bug #6630. Don't force the desired width to 0 for zero-height
frames, and don't have the document element frame shrink wrap
1999-06-26 03:21:49 +00:00
warren%netscape.com
1f76168d21 Renamed nsIURL to nsIURI in preperation for necko. More NECKO ifdefs too. 1999-06-23 03:29:44 +00:00
buster%netscape.com
a2c09e8db1 added support for Ender GFX-rendered text control 1999-06-12 22:28:11 +00:00
akkana%netscape.com
f3219d053d Part of Vidur's html fragment changes: files which aren't in the build yet 1999-06-03 22:30:12 +00:00
kipp%netscape.com
4846f41f1f Reworked frame factory methods; fixed bug 4519 1999-05-11 22:03:29 +00:00
kipp%netscape.com
86a3c69102 Added NS_NewFirstLetterFrame 1999-04-27 22:12:22 +00:00
kipp%netscape.com
31660cd5c2 Added NewFIrstLineFrame 1999-04-20 00:25:48 +00:00
troy%netscape.com
bfd8240682 Work-in-progress for making relatively positioned inline-level elements a
container for absolutely positioned child elements
1999-04-19 19:10:15 +00:00
waterson%netscape.com
4d00f764eb Exposed NS_CreateHTMLContent() as a temporary hack to get HTML-in-RDF/XUL working. Will re-visit when Vidur comes back. 1999-02-09 00:26:50 +00:00
troy%netscape.com
ff3d3b60b5 Changed scrolling so it happens on the viewport instead of the HTML
element
1999-01-26 00:05:21 +00:00
rods%netscape.com
1edca9201b Added methods for creating ListControlFrame and ComboxControlFrames 1999-01-22 15:34:13 +00:00
troy%netscape.com
5febae06f6 Fixed it so relatively positioned block frames act as containing blocks
for absolutely positioned child elements
1999-01-16 22:18:08 +00:00
vidur%netscape.com
895ce771ea Moved text and comment code out of HTML-specific directories. Completed CloneNode for elements. Completed factory methods for intersection of XML and HTML. 1999-01-14 23:14:02 +00:00
kipp%netscape.com
3c5005ec2d Clean up block frame flags 1999-01-12 16:41:30 +00:00
troy%netscape.com
6493c0fc74 Renamed NS_NewHTMLFrame() to NS_NewRootFrame() 1998-12-21 18:22:44 +00:00
troy%netscape.com
9619058141 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
kipp%netscape.com
40c2cfef07 Fixed numerous compiler warnings (hopefully) from the mac build 1998-12-18 17:34:34 +00:00
troy%netscape.com
62857a1141 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
2a4b2c503f Added Init() member function to nsIFrame 1998-12-03 06:31:43 +00:00
karnaze%netscape.com
aec75f892e 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
34ef7d33db Added simple page sequence formatting object 1998-11-04 23:21:50 +00:00
buster%netscape.com
c7dbb849e8 nsHTMLReflowCommand now has mAttribute, the attribute that triggered StyleChanged reflow
for reflow commands of type other than StyleChanged, mAttribute is nsnull.
1998-11-04 19:26:25 +00:00
karnaze%netscape.com
2a0c2366bb implemented <LABEL>; document maintains list of forms as created; form element properly releases form controls. 1998-10-22 23:00:37 +00:00
karnaze%netscape.com
c82d985b8a fixed bug 958, checkboxes wrong background when not checked, select always multiple, text & texarea not reset. html 4 button work in progress. 1998-10-13 21:31:26 +00:00
troy%netscape.com
713db072d6 Work in progress on scroll frame code 1998-10-12 22:13:23 +00:00
karnaze%netscape.com
42797648cf fieldset, legend support. fixed bug #987 1998-10-08 04:38:41 +00:00
kipp%netscape.com
e2507df51c Export revised body/block factory methods 1998-10-06 00:40:54 +00:00
kipp%netscape.com
261b8bd181 Changed factory method to parameterize the shrink wrapping behavior 1998-09-29 03:44:25 +00:00
buster%netscape.com
e22b1b2f29 minor cleanup, removed references to obsolete table content factory methods. 1998-09-28 23:16:39 +00:00
kipp%netscape.com
9529a8eeaf Removed bullet factory methods 1998-09-23 20:12:07 +00:00
karnaze%netscape.com
fb883f1869 Converted forms to use the new content model classes and better separate content from layout. 1998-09-23 17:16:51 +00:00
troy%netscape.com
28c7cf540c Removed content delegates 1998-09-18 17:18:37 +00:00
troy%netscape.com
9adcf5d319 Cleaned up frame construction code 1998-09-17 04:07:58 +00:00
buster%netscape.com
953b2efb58 nsStyleConsts.h added some HTML 4 consts for tables
nsHTMLAtoms.cpp,h             added some HTML 4 strings for tables
nsHTMLParts.h                 added constructors for new table content classes
nsGenericHTMLElement.cpp,h    added table frame creation, common table attribute parsing
nsHTMLTable*Element.cpp       these are the new table content classes
nsHTMLContentSink.cpp         enabled the new content and removed the old
nsHTMLStyleSheet.cpp          fixed the table style optimizations to work with new content
nsTable*Frame.cpp             these work with the new content
1998-09-15 17:58:24 +00:00
kipp%netscape.com
8f2807a027 Removed css/layout directory 1998-09-15 00:19:49 +00:00
troy%netscape.com
0fbc01cb40 Fixed it so bullets work again 1998-09-10 22:28:55 +00:00
troy%netscape.com
effef91cf6 Phase one of frame construction changes 1998-09-10 19:32:14 +00:00
karnaze%netscape.com
1c1a6dacaf converted frame/iframe/frameset to new layout/content separation 1998-09-09 23:30:30 +00:00
kipp%netscape.com
d8f8db50e4 Removed some cruft; added NS_NewBodyFrame 1998-09-08 22:36:30 +00:00
kipp%netscape.com
a28f9196c0 Removed some cruft; added NS_NewTextNode 1998-09-06 00:17:30 +00:00
kipp%netscape.com
d9cfaa751d Added wbr 1998-09-04 01:02:54 +00:00
kipp%netscape.com
b914a101d7 Removed some cruft and promoted a few frame creation routines 1998-09-04 00:55:20 +00:00
kipp%netscape.com
a4a3006cc1 Added decl for NS_NewImageFrame 1998-09-04 00:18:53 +00:00
kipp%netscape.com
7cc828449f tweaked element ctor methods 1998-09-03 22:22:34 +00:00
kipp%netscape.com
cfa2262cc2 Renamed element creation routines 1998-09-02 23:52:38 +00:00
kipp%netscape.com
b12deff105 Added factory method names for all the new content objects 1998-09-01 01:33:19 +00:00
kipp%netscape.com
1969308ef9 Added NS_NewHTMLBR 1998-08-31 18:40:16 +00:00
kipp%netscape.com
6c29fcc78d Added NewHTMLAnchor 1998-08-29 03:13:15 +00:00
kipp%netscape.com
107b4e64b1 Export new HTML-HR factory method 1998-08-28 23:31:28 +00:00
troy%netscape.com
23feb93c16 Work in progress for LAYER tag 1998-08-26 02:23:21 +00:00
kipp%netscape.com
6320072fb6 Added decls for framesets 1998-08-05 22:08:33 +00:00
kipp%netscape.com
39f5530391 Port to new nsIWebShell and related API's 1998-07-18 21:47:56 +00:00
kipp
87faf8d82c Added applet, object and embed support 1998-07-15 00:23:07 +00:00
kipp
ca16578186 Add factory methods for applets and objects 1998-07-14 18:54:20 +00:00
kipp
b10c5120a2 Added NS_CreateHTMLElement 1998-07-03 17:49:49 +00:00
kipp
c33d44d4ed Added NS_NewHTMLComment and NS_NewHTMLTitle 1998-06-26 16:12:22 +00:00
kipp
4e73a0df94 Added content directory and moved some code 1998-06-26 15:08:55 +00:00
karnaze
3074df2576 named <iframe>s, scrolling attribute, more complete test9.html 1998-06-23 22:25:28 +00:00
troy
66b6882d23 Added nsIReflowCommand interface 1998-06-09 04:51:44 +00:00
kipp
087c0f5463 Added a head part 1998-06-04 21:33:07 +00:00
kipp
47b716e3b4 Added bullet creator 1998-05-29 02:14:41 +00:00
kipp
098bef52b4 moved to pub 1998-04-13 20:24:54 +00:00