Commit Graph
90 Commits
Author SHA1 Message Date
[email protected] 6cde4639f0 Change nsIPresContext to nsPresContext globally, follow-up to bug 253470. rs=roc 2004-07-31 23:15:21 +00:00
[email protected] a1ec040a65 Bug 236613: change to MPL/LGPL/GPL tri-license. 2004-04-18 14:30:37 +00:00
[email protected] f485f95ee8 deCOMtaminate nsIPresContext::GetEventStateManager. Bug 229371, r+sr=roc. 2004-02-27 17:17:37 +00:00
[email protected] d47517f6dc Fixing bug 225837. DeCOMtaminating nsIContent more, making GetTag() return a weak raw pointer, and renaming GetTag() to Tag(), and making GetRangeList() return an const nsVoidArray*, and changing GetContentID() to return the id, and renaming it to ContentID(). [email protected], [email protected]. 2003-11-19 01:20:56 +00:00
uid502 4fc4723244 Bug 190735. DeCOMtaminate nsIFrame::GetFrameType. r+sr=bzbarsky 2003-10-31 20:19:18 +00:00
[email protected] 660339f971 Remove hint parameter from AttributeChanged methods and simplify style hint mechanism. b=211308 r+sr=bzbarsky 2003-07-11 21:16:12 +00:00
[email protected] c8a200d763 Bug 209087
Content interface out-parameters should use ptr-to-ptrs instead of ref-to-ptrs and some small deCOMtamination.
[email protected]
2003-06-13 20:10:01 +00:00
[email protected] 4486f8d13d Make --disable-xul work (bug 69995). We build enough XUL to support
scrollbars unconditionally, but can now leave out heavyweight widgets like
grid, listbox, and tree.  r=bzbarsky, sr=alecf.
2003-04-11 00:56:27 +00:00
[email protected] 834096485c Remove nsISizeOfHandler and associated SizeOf methods. b=106792 r=bzbarsky sr=jst 2003-02-22 15:34:38 +00:00
[email protected] ba58162e96 Remove nsIStyleContext (bug 114713), r/sr=dbaron. Changed lots of methods to use nsStyleContext* or already_AddRefed<nsStyleContext> as return values, depending on whether a reference is returned. Turn on nsRefPtr (bug 104346), and change nsDerivedSafe to not declare AddRef and Release explicitly virtual, r=jag, sr=dbaron. 2003-02-22 00:32:13 +00:00
[email protected] 78ccba6821 Fixing bug 146034. Getting rid of nsHTMLIIDs.{h,cpp}. [email protected], [email protected] 2002-05-23 00:00:34 +00:00
[email protected] 6b679c05c9 Move implementation of HTML label element entirely into the content model so that it can have any display type: implement the event-munging and accesskey support in nsHTMLLabelElement. For the latter, share some code with nsHTMLAnchorElement and remove extra parameter from nsIEventStateManager access key methods. b=96813 r=jkeiser sr=jst 2002-05-22 00:14:51 +00:00
[email protected] 8c43b16ce3 Bug 959: add support for accesskeys to XUL. r=hewitt, r=attinasi for changes to layout/html, sr=hyatt, a=asa 2002-02-21 13:39:39 +00:00
[email protected] d05e65aea2 Bug 115113. Eliminate nsIReflowCommand, and just use nsHTMLReflowCommand directly. r=karnaze, sr=attinasi. 2001-12-17 22:39:59 +00:00
[email protected] aa00eb2f47 Use NS_LITERAL_STRING instead of NS_ConvertASCIItoUCS2 where possible
(i.e. where the string is a literal).  Bug 104159, r=jag, sr=alecf
2001-11-14 01:33:42 +00:00
[email protected] 58d409fba9 Relicensing Round 1, Take 2. Most C-like NPL files -> NPL/GPL/LGPL. Bug 98089. 2001-09-28 20:14:13 +00:00
[email protected] 89971a04be Fixing bug 98828. Cache a few nsSpaceManager objects to avoid spending 43%cvs ci -m ! of the time spent in PresShell::ProcessReflowCommand() in new and delete. [email protected], [email protected] 2001-09-11 00:55:05 +00:00
[email protected] a6ecd9c854 effectively removed area frame
work troy was holding in his tree
r=buster
2000-05-09 05:11:12 +00:00
[email protected] 894c7da408 b=33150 Fixed problem where reflow commands in different child lists were
being coalesced
2000-05-02 02:23:31 +00:00
[email protected] 526976891e Add ifdef'ed Performance Reflow Counting code 2000-04-21 14:59:47 +00:00
[email protected] 67f034175a b=21657 [email protected] Made "overflow list" a full fledged
child list and changed ReparentFrameView() to check it.
2000-01-22 01:16:50 +00:00
[email protected] 7abe460751 Change to how overflow is handled for absolutely positioned elements.
We no longer use nsIAraeFrame and now it's folded into the overflow
area in the reflow metrics
1999-12-06 15:49:53 +00:00
[email protected] 9a7a1b27f7 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
[email protected] 617bb737a6 Changed nsIPresContext& to nsIPresContext*. Changed nsEventStatus& to nsEventStatus*. Now more compatible with XPIDL. a=vidur r=scc 1999-11-24 06:03:41 +00:00
[email protected] 3b67f2f17c WillReflow/DidReflow changes and changes to the way view positioning
and sizing works
1999-11-19 15:33:29 +00:00
[email protected] 796280940b updated license boilerplate to xPL 1.1, [email protected],[email protected] 1999-11-06 03:40:37 +00:00
[email protected] bf2283fba6 Moved a bunch of stuff out to a nsIFrameDebug interface 1999-11-01 22:12:45 +00:00
[email protected] b8ef6465be Changed SetView/GetView to take an additional argument which is the
pres context
1999-10-26 04:44:41 +00:00
[email protected] b729deb712 b=15388,15408 [email protected]
Made it so that for absolutely positioned frames we pass in the containing
block width/height to the HTML reflow state, rather than have it compute it.
This means we get a bottom up size rather than a top down size. That fixes
a problem where for containing blocks with a specified 'height' of 'auto' we
weren't correctly calculating the containing block height
1999-10-14 04:56:50 +00:00
[email protected] 478af7d03f Removed some dead code and moved some #if 0 code from the area frame
to the block frame. This completes the previous checkin
1999-10-08 04:45:12 +00:00
[email protected] efbc5776ce Frame space reductions. [email protected]
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
[email protected] 6ee4a9bcd5 Moved space manager to block frame and changed it the space manager is
temporary only during the reflow process
[email protected]
1999-10-06 22:05:23 +00:00
[email protected] a9fef807c9 Added SizeOf() handler for space manager 1999-10-02 00:52:01 +00:00
[email protected] 5dcf39e5dc Added more (disabled) debug noise 1999-09-17 23:15:53 +00:00
[email protected] 023b278a49 Added nsHTMLReflowState constructor that allows containing block width
and height to be specified. This is needed for relatively positioned
block elements
1999-09-16 14:33:19 +00:00
[email protected] 3bcf10bf5c Added some spacemanager debugging noise 1999-09-15 00:25:51 +00:00
[email protected] 0d0c583aac Updated SizeOf methods to not waste space when doing a non-debug build 1999-09-01 01:02:16 +00:00
[email protected] 3dbd670c62 Reimplemented SizeOf methods in some of the frame classes; partial rework of first-line handling snapshot 1999-08-31 03:09:40 +00:00
[email protected] b06584d421 Added 'm' prefix to structs defined in nsISpaceManager 1999-07-25 19:01:13 +00:00
[email protected] 84e64beb04 Changed area frame code over to new reflow command handling 1999-07-24 02:37:45 +00:00
[email protected] d6f5216441 Renamed DeleteFrame() to Destroy() 1999-07-22 02:24:52 +00:00
[email protected] 346eaed537 Added 'm' prefix to some of the nsHTMLReflowState data members 1999-07-20 03:41:03 +00:00
[email protected] d099f27bb5 Tweaked area frame shrink wrapping for bug #5999 1999-07-14 17:26:12 +00:00
[email protected] c1c9727794 Area frame no longer invalidates its entire bounds after an incremental reflow,
and instead it's up to the individual frames to invalidate their damaged areas
1999-07-14 15:15:01 +00:00
[email protected] 8a53b988ac Fix for bug #9073. Changed Init() to return NS_ERROR_OUT_OF_MEMORY if we fail
to allocate the space manager
1999-07-02 22:45:07 +00:00
[email protected] 12f39926ff Fix for bug #2062. When sizing the view, take into account child frames
that stick outside the right/bottom edges of the parent's frame
1999-06-29 03:41:58 +00:00
[email protected] 68aa9f7c60 Reworked frame factory methods; fixed bug 4519 1999-05-11 22:03:29 +00:00
[email protected] 5580a69e4a New class nsAbsolutelyPositionedContainer 1999-04-16 00:08:59 +00:00
[email protected] aece50f904 Made things a little more efficient by now making a copy of the reflow state
that's passed in, but instead casting the "const" away and setting the space
manager directly
1999-04-13 02:55:54 +00:00
[email protected] f607eff1a2 Use block-band-data for debug output 1999-04-10 17:30:46 +00:00