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

836 Коммитов

Автор SHA1 Сообщение Дата
troy c51219818e Initialized mColLayoutData to nsnull 1998-06-23 22:45:26 +00:00
karnaze ea5cd1554d named <iframe>s, scrolling attribute, more complete test9.html 1998-06-23 22:25:28 +00:00
joki ad7c15864e Event handling additions for DOM suport. Adding additional event pathway through HandleDOMEvent 1998-06-23 21:53:02 +00:00
vidur ca8463d4f8 Added js dependency 1998-06-23 19:11:22 +00:00
vidur f2cccbb1e0 Added autogeneration of XPCOM headers and JavaScript stub classes. Added better masking of JS-specific structures in generic interfaces. Creation of a scripting global object interface. 1998-06-23 18:43:06 +00:00
rpotts 9493926876 Some reference counting to make things go away... 1998-06-23 18:40:18 +00:00
troy 92961a089a Some work-in-progress for table incremental reflow 1998-06-23 05:43:27 +00:00
rickg 7c82c6b547 added support for doc quality 1998-06-23 01:34:25 +00:00
rickg f6ad11fa02 added a new secret argument to Parse() 1998-06-23 00:52:21 +00:00
troy efb1b282f7 Eliminated mFirstPassValid and changed code to key off the reflow
reason
1998-06-22 21:59:43 +00:00
troy 6822b2dd1a Started hooking up incremental reflow. So far we only handle changed
captions
1998-06-22 05:34:17 +00:00
troy b2931186a4 Changed AddObserver() to check if the observer is already in the list.
This worksaround a problem with the pres shell being added twice
1998-06-20 00:45:05 +00:00
troy 0e63fbad18 Changed TextFrame to implement ContentChanged() notification and generate
a reflow command
1998-06-20 00:04:22 +00:00
rods 337f10fb48 add XP_UNIX size temporary fixes 1998-06-19 20:07:35 +00:00
kipp 4da82d2088 Fixed pullup logic for ReflowLine to not de-reference deleted nextLine's 1998-06-19 19:57:59 +00:00
kipp 19313ce71f Added more assertions; commented the cases where continuations are created and not created; fixed up kidContentIndex in all cases; fixed return result error in the pullup code 1998-06-19 19:57:14 +00:00
kipp bae589362a snapshot 1998-06-19 18:23:28 +00:00
troy 68cd5cc934 Work in progress for incremental reflow 1998-06-19 05:21:45 +00:00
rickg 0b9c578eb7 more bug fixes; changed nsHTMLParser to nsParser. 1998-06-19 01:00:27 +00:00
troy 2880bc5eb8 Eliminated nsTableCaptionFrame and now we just use a nsBodyFrame instead 1998-06-19 00:34:12 +00:00
kipp 1ee5eb3f33 snapshot 1998-06-18 23:44:30 +00:00
kipp bc0b806c52 new 1998-06-18 23:16:18 +00:00
kipp f7d5a13f2b snapshot 1998-06-18 23:16:00 +00:00
karnaze 926cf3f1d1 fixed divide by zero, test9 has sub sub doc. 1998-06-18 18:33:34 +00:00
kipp d14a05b5fa new 1998-06-18 16:25:41 +00:00
rods c9e755097d changed AToms to Atoms in include 1998-06-18 13:58:19 +00:00
troy f9272dd96a Fixed a problem with thick left border edges being the wrong thickness 1998-06-18 05:43:32 +00:00
karnaze 6c87eacd90 added tst9, improvements to <iframe> 1998-06-18 00:47:18 +00:00
rickg b2f62ff8a2 huge refactoring effort; transient style support; tables fixes, and more 1998-06-17 23:13:28 +00:00
troy 5863974a24 Reduced the number of polygon calls 1998-06-17 22:14:20 +00:00
buster 7463485160 minor updates and fixes 1998-06-17 19:51:51 +00:00
buster 3f9f422457 Separated table content from table layout. This paves the way for XML/CSS-2 tables.
Lots and lots of optimizations.
1998-06-17 16:38:24 +00:00
troy bda8aa05f5 Addded some helper functions to determine whether a content object is
a table cell
1998-06-17 15:21:02 +00:00
troy 11829df1ea Changed cast of content objects to nsTableContent* to query interface
of nsITableContent
1998-06-17 05:28:36 +00:00
karnaze 3a7473cd44 fixed makefile to recognize html/document/public 1998-06-16 22:57:51 +00:00
atotic 1a848918c0 First Checked In. 1998-06-16 22:55:47 +00:00
karnaze 68bc964e75 added 1998-06-16 21:55:52 +00:00
atotic 343a746002 static void nsHTMLTagContent::ParseValueOrPercentOrProportional(const nsString& aString, is not legal C++ inside a class declaration. 1998-06-16 21:45:10 +00:00
atotic 97ccd2aec0 Mac needed a definition of PR_GetEnv 1998-06-16 21:44:38 +00:00
atotic d746b0cbf3 Made the projects compile in the dist world 1998-06-16 21:41:31 +00:00
atotic fcb81f3583 First Checked In. 1998-06-16 21:39:13 +00:00
karnaze f2d01e4d6f more <iframe> support 1998-06-16 21:32:54 +00:00
michaelp ae6a3e8401 the view manager is now used when manipulating views. 1998-06-16 16:51:01 +00:00
kmcclusk e6304cb6b8 Added makefile directive to copy ua.css to $(DIST)/bin/res 1998-06-15 23:07:41 +00:00
atotic d7ff539600 First Checked In. 1998-06-15 22:13:46 +00:00
kipp 0030a5b770 Revised keyword tables 1998-06-15 20:40:27 +00:00
kipp 33f44a011f Added in steve's new keywords 1998-06-15 20:40:07 +00:00
kipp ab9a56f468 Added opacity 1998-06-15 20:25:28 +00:00
kipp 52fbaac3bb Makefile tweaked to not build nsHTMLTags.cpp 1998-06-15 20:21:08 +00:00
troy 6617da99b2 Changed some GetStyleContext/GetStyleData calls to use nsIFrame::GetStyleData
instead. This saves the AddRef/Release overhead
1998-06-14 05:23:59 +00:00
troy 2c3c341cda Changed some GetStyleContext/GetStyleData pairs to use nsIFrame::GetStyleData
instead
1998-06-14 05:14:17 +00:00
troy af75aa1015 Changed some pairs of GetStyleContext/GetStyleData calls to a single call
to nsIFrame::GetStyleData
1998-06-14 05:00:38 +00:00
troy f7fb4bd175 Changed a GetStyleContext/GetStyleData pair to use the nsIFrame::GetStyleData
member function instead. This saves a pair of AddRef/Release calls
1998-06-14 04:40:52 +00:00
troy 6e9e901bcd Changed PaintChildren() to only paint those children that intersect
the dirty rect
1998-06-14 00:45:21 +00:00
troy 7a60b92f32 Changed ResizeReflowPass1() to default to the reflow reason that was
passed in and not resize
1998-06-12 04:28:07 +00:00
troy b99df5e1a6 Fixed some places where the reflow reason wasn't getting correctly set for
the initial reflow
1998-06-12 04:11:41 +00:00
troy 494037bcc2 Changed RootContentFrame to correctly set the reflow reason for the
initial reflow
1998-06-12 03:02:15 +00:00
karnaze 7c731ecf15 initial loading of <iframe> documents 1998-06-11 23:29:15 +00:00
troy 75dff60e3a Changed how cell layout data is accessed 1998-06-11 22:51:54 +00:00
spider 5cc1ba3443 Support for TrueColor display, add nsNativeDeviceContext to Init method of nsIDeviceContext, fix FontMetrics crash if no RenderingContext is available. 1998-06-11 21:26:21 +00:00
troy 8b012bed3d Eliminated FindCellLayoutData() and changed code to use GetCellLayoutData()
instead
1998-06-11 18:50:17 +00:00
buster 3a0505d67b more separation between table content and frames 1998-06-11 17:50:51 +00:00
karnaze 6800f5f5d8 initial support for <iframe> 1998-06-11 16:46:33 +00:00
buster 622d03d0c2 continuing work to separate content from frames 1998-06-11 15:46:37 +00:00
troy 5bcaa32c92 Added some XXX performance reminders 1998-06-11 04:57:56 +00:00
buster 95fd7aebf2 more cleanup and frame/content separation 1998-06-11 00:41:09 +00:00
buster df525f7de0 some tentative steps towards content/frame separation in tables 1998-06-11 00:13:18 +00:00
troy 454392645d Changed block to do the initial reflow of a floater. Also fixed a problem
with floated tables crashing
1998-06-10 05:33:38 +00:00
kipp 72895c0911 Set maxwordwith whenever we are not wrapping 1998-06-09 17:48:54 +00:00
kipp 973a6de3bd Set width properly when not wrapping 1998-06-09 17:48:02 +00:00
kipp 6c25e7131e Fixed a pending-break clear bug; use new ReflowInlineChild API 1998-06-09 17:47:49 +00:00
kipp 18f4f90dea Added nsIInlineFrame interface 1998-06-09 17:47:20 +00:00
kipp 6b4f435e4f Implement ReflowChild directly so that it uses nsIInlineFrame is available 1998-06-09 17:40:21 +00:00
kipp 1dc40ded5c new iids 1998-06-09 17:39:42 +00:00
kipp a07a851265 Implement ReflowInlineChild to check for nsIInlineFrame and use it when available 1998-06-09 17:32:52 +00:00
kipp 6d91246eaa Updated reflow-inline-child to handle the new nsIInlineFrame api 1998-06-09 17:32:27 +00:00
kipp 267f4ec386 Made BRFrame implement nsIInlineFrame 1998-06-09 17:31:59 +00:00
kipp 24d1f0f70d Added rules to make TD's, TH's behave more like navigator 1998-06-09 17:31:34 +00:00
troy 5aeffe1a29 Added nsIReflowCommand interface 1998-06-09 04:51:44 +00:00
buster 0154088e91 backed out an inline for UNIX build 1998-06-09 03:53:35 +00:00
kipp bab137bdff Added another tracing log message 1998-06-09 00:49:12 +00:00
kipp 5ca93333aa Updated tracing messages; fixed bugs where things that shouldn't be pulled up were (blocks, BR's) 1998-06-09 00:48:56 +00:00
rods cd9c4312fb moved inlined SetCellAt to body 1998-06-08 22:07:15 +00:00
buster 956697ff90 less inlining, for UNIX and Linux builds 1998-06-08 20:53:43 +00:00
buster ed47ffbd62 most HTML 4 attributes supported (though some are still ignored)
lots of methods made inline
1998-06-08 19:57:04 +00:00
buster 1d29d978d2 complete HTML 3.2 attribute support 1998-06-08 17:19:26 +00:00
buster 0f3aab57c0 more attributes: cell nowrap, caption align, some misc HTML 4 attributes too 1998-06-08 15:47:03 +00:00
joki 5e67bc2f91 Removing no longer used file from Makefiles 1998-06-08 02:03:31 +00:00
joki 981ea42512 Makefile fixes 1998-06-08 01:56:31 +00:00
joki 7aad810a2f Adding new event handling mechanism into raptor. 1998-06-08 00:57:15 +00:00
joki b3d796cf86 Adding parts of dom event flow to layout. 1998-06-07 07:55:55 +00:00
joki f316f35cc8 Adding parts of dom event flow into layout. 1998-06-07 07:54:32 +00:00
kipp 6330f10bbe Made option code more robust 1998-06-06 20:25:11 +00:00
kipp 18cc794378 Don't strip trailing whitespace otherwise underlines render wrong; set max element width properly when not wrapping 1998-06-06 01:54:20 +00:00
kipp a5905512b9 Fixed table cell's so that translate valign back to a string properly 1998-06-06 01:48:10 +00:00
kipp d651cc027b Fixed options to have their text stripped of junk and whitespace compressed before creating the widget 1998-06-06 01:08:43 +00:00
kipp 7db824085d Fixed GetContent/SetContent to be virtual making Option tags provide the proper text content for display 1998-06-06 01:06:52 +00:00
buster 79e57d170d clean up, and still better cell width attribute layout 1998-06-05 22:50:03 +00:00
kipp c76c309fef Revised SizeOf methods to add in nsString's, nsIAtom's and nsVoidArray's properly 1998-06-05 21:50:57 +00:00
kipp 71d12dae58 Sprinkled SizeOf methods around 1998-06-05 21:06:24 +00:00
buster 7f84a77a97 column widths with cells that span columns now work in most cases, for pixels and percents
not yet implemented for the "constrained" case
1998-06-05 18:11:20 +00:00
kipp acd8d1a63f Use serif instead of times roman directly 1998-06-05 17:53:46 +00:00
kipp dfc4dd32ae Added no-wrap support 1998-06-05 17:53:28 +00:00
kipp 19adfee3f3 Added a reminder 1998-06-05 17:53:11 +00:00
kipp d8cea2ac97 Set family when PRE VARIABLE is used 1998-06-05 17:53:02 +00:00
peterl 71d5fd1025 sync up to new style data apis 1998-06-05 06:09:09 +00:00
peterl 5517348fa8 added accessor to rules for save code 1998-06-05 06:07:08 +00:00
peterl 1e36945bf8 now track rules by insertion order as well as weighted order
added accessor to rules for save code
1998-06-05 06:06:50 +00:00
peterl 338da2eab9 changed GetData to GetStyleData and made its return const
added GetMutableStyleData and support for unique contexts
1998-06-05 06:01:55 +00:00
peterl b1030af38c added flag to get unique style context during resolve 1998-06-05 06:00:55 +00:00
peterl 55904e7030 changed GetStyleData to return const pointers to style structs
new method GetMutableStyleData to get non-const pointer
1998-06-05 05:59:34 +00:00
peterl 402a635b4f added flag to force return of unique style context 1998-06-05 05:58:20 +00:00
buster 9e778bd269 cells with colspans and width attributes now work correctly 1998-06-05 02:50:46 +00:00
buster 020c0f9645 cell width calculations are working (not for colspan cells yet)
some bug fixes and optimizations
some of the more elaborate test cases are closer to Nav4-compatible
1998-06-05 02:36:25 +00:00
kipp 3d3010b324 WIP checkin 1998-06-05 01:02:30 +00:00
kipp d0d066dc01 Fixed to return proper reflow status 1998-06-05 00:54:03 +00:00
kipp 2326a8d9fd Fixed spacer to work again 1998-06-04 23:10:26 +00:00
kipp 5d8ad4e74d Verify that mIsBlock is correct 1998-06-04 23:10:15 +00:00
kipp a4ff472287 Pass through x,y events to an imagemap that is a map but doesn't use a named map 1998-06-04 23:09:52 +00:00
kipp 2a8c488204 Removed dead code 1998-06-04 23:08:59 +00:00
kipp 35f737aeb1 IMplement ReflowBlockChild 1998-06-04 23:08:49 +00:00
kipp d4ee4ef891 Removed ReflowChild that handles space manager (troy can stop nagging me now :-) 1998-06-04 23:08:24 +00:00
karnaze b61c21a297 radio, checkbox padding done through MapAttributesInto 1998-06-04 21:34:41 +00:00
kipp 73f4a27382 Create head part and insert it into the model 1998-06-04 21:33:44 +00:00
kipp 384996f218 Only layout the body child in the root part 1998-06-04 21:33:23 +00:00
kipp 4c0ffc1125 Added a head part 1998-06-04 21:33:07 +00:00
kipp d5a604e1f6 new 1998-06-04 21:32:50 +00:00
kipp 6ed0850c2d Work around body bug with placeholder code to avoid dup free's of placeholder's child frame 1998-06-04 21:04:50 +00:00
kipp 4cd468ba12 Pass through style rules 1998-06-04 21:04:22 +00:00
kipp da75c0ffea Made absolute frame a container too to work around the pseudo-frame problem 1998-06-04 21:04:07 +00:00
kipp 844276ae92 removed blather code 1998-06-04 20:41:14 +00:00
kmcclusk aa7347bb6a Added nsAbsoluteFrame to the make for Linux 1998-06-04 19:49:19 +00:00
kipp ca10010436 Updated tracing; if the body has no children then collapse to nothingness 1998-06-04 18:03:14 +00:00
kipp 6754c323d8 Eliminate css margins around block elements (so that ebina margins are used instead) 1998-06-04 17:52:22 +00:00
kipp a130d61779 Made a subclass of nsContainerFrame to deal with PropogateContentOffsets because placeholders contain pseudo-frames 1998-06-04 17:52:02 +00:00
kipp f017361697 Added code to do ebina style margins; perform horizontal alignment and relative positioning for blocks 1998-06-04 17:51:27 +00:00
kipp 952e690f78 Log view creation when it's done; create view when child and parent opacities differ 1998-06-04 17:50:53 +00:00
kipp da9567882e Draw a different colored border when showing visual frame boundaries if the frame has a view; only draw if rectangle has area; create scroll frame when requested stylistically 1998-06-04 17:50:19 +00:00
kipp 8945757f0d Added mPrevMarginSynthetic flag 1998-06-04 17:49:29 +00:00
kipp b3a0265470 Added a hack to only do incremental painting for the block whish is reflowing the html BODY; improved trace msgs; added code to collapse into nothingness empty blocks 1998-06-04 17:49:15 +00:00
kipp 0a142c521a Add scroll frame to build 1998-06-04 17:48:08 +00:00
kipp f485bc2168 new 1998-06-04 17:47:49 +00:00
kipp 898dd7b7d0 Draw a different colored border when showing visual frame boundaries if the frame has a view 1998-06-04 17:47:30 +00:00
karnaze 0070393397 added modes for backward compatibility 1998-06-04 17:23:48 +00:00
kipp 664c6c6226 Fixed another GetDesiredSize case that troy missed 1998-06-04 05:49:45 +00:00
kmcclusk cd764fbcaa Added nsFrameImageLoader to the unix make 1998-06-03 23:44:08 +00:00
michaelp ab13cdae91 added support for handling transparent views to viewmanager. added
transparency query to nsIFrame.
1998-06-03 22:49:45 +00:00
kmcclusk f4de4ff703 Added nsLineLayout.cpp to linux makefile 1998-06-03 21:59:53 +00:00
kipp 61c7803fd1 Fixed install bug on unix 1998-06-03 20:50:02 +00:00
kipp b8d3c25f4a Install broke-image.gif 1998-06-03 18:56:45 +00:00