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

82 Коммитов

Автор SHA1 Сообщение Дата
dbaron%dbaron.org 754d904cda Remove nsISizeOfHandler and associated SizeOf methods. b=106792 r=bzbarsky sr=jst 2003-02-22 15:34:38 +00:00
bryner%netscape.com cc390fbe51 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
jst%netscape.com c510ff0346 Fixing bug 146034. Getting rid of nsHTMLIIDs.{h,cpp}. r=jfrancis@netscape.com, sr=rpotts@netscape.com 2002-05-23 00:00:34 +00:00
dbaron%fas.harvard.edu 4ae6c30b20 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
jaggernaut%netscape.com 183bc5b700 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
waterson%netscape.com cf319e2bda Bug 115113. Eliminate nsIReflowCommand, and just use nsHTMLReflowCommand directly. r=karnaze, sr=attinasi. 2001-12-17 22:39:59 +00:00
bzbarsky%mit.edu 0dce65ed23 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
gerv%gerv.net f385eb981a Relicensing Round 1, Take 2. Most C-like NPL files -> NPL/GPL/LGPL. Bug 98089. 2001-09-28 20:14:13 +00:00
jst%netscape.com 47759cff23 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. r=dbaron@fas.harvard.edu, sr=waterson@netscape.com 2001-09-11 00:55:05 +00:00
buster%netscape.com 3fb4ec431e effectively removed area frame
work troy was holding in his tree
r=buster
2000-05-09 05:11:12 +00:00
troy%netscape.com 6d9d536ab9 b=33150 Fixed problem where reflow commands in different child lists were
being coalesced
2000-05-02 02:23:31 +00:00
rods%netscape.com 9d45d84767 Add ifdef'ed Performance Reflow Counting code 2000-04-21 14:59:47 +00:00
troy%netscape.com 73a3709284 b=21657 a=chofmann@netscape.com Made "overflow list" a full fledged
child list and changed ReparentFrameView() to check it.
2000-01-22 01:16:50 +00:00
troy%netscape.com 3c7966f705 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
hyatt%netscape.com 16a944a1e3 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
tbogard%aol.net a0640b60c4 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
troy%netscape.com fe56995443 WillReflow/DidReflow changes and changes to the way view positioning
and sizing works
1999-11-19 15:33:29 +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
troy%netscape.com 04accb3de6 Moved a bunch of stuff out to a nsIFrameDebug interface 1999-11-01 22:12:45 +00:00
troy%netscape.com a47e8db44b Changed SetView/GetView to take an additional argument which is the
pres context
1999-10-26 04:44:41 +00:00
troy%netscape.com a71b08f611 b=15388,15408 r=peterl@netscape.com
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
troy%netscape.com 0c3a74b8be 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
troy%netscape.com 104c0f8c7e 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 1877c607ff 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
troy%netscape.com 6f0d3813a7 Added SizeOf() handler for space manager 1999-10-02 00:52:01 +00:00
kipp%netscape.com 00f3f37389 Added more (disabled) debug noise 1999-09-17 23:15:53 +00:00
troy%netscape.com 6c9680c089 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
kipp%netscape.com 2dfefb723d Added some spacemanager debugging noise 1999-09-15 00:25:51 +00:00
kipp%netscape.com dff5b76938 Updated SizeOf methods to not waste space when doing a non-debug build 1999-09-01 01:02:16 +00:00
kipp%netscape.com fd426dec6a Reimplemented SizeOf methods in some of the frame classes; partial rework of first-line handling snapshot 1999-08-31 03:09:40 +00:00
troy%netscape.com d07cd82e4e Added 'm' prefix to structs defined in nsISpaceManager 1999-07-25 19:01:13 +00:00
troy%netscape.com 35e404886c Changed area frame code over to new reflow command handling 1999-07-24 02:37:45 +00:00
troy%netscape.com 9fdbc7ced3 Renamed DeleteFrame() to Destroy() 1999-07-22 02:24:52 +00:00
troy%netscape.com a6aae963a7 Added 'm' prefix to some of the nsHTMLReflowState data members 1999-07-20 03:41:03 +00:00
kipp%netscape.com e664562738 Tweaked area frame shrink wrapping for bug #5999 1999-07-14 17:26:12 +00:00
troy%netscape.com cf2f2469ef 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
troy%netscape.com 47aaa64031 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
troy%netscape.com 8d078abd29 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
kipp%netscape.com fea30bc4eb Reworked frame factory methods; fixed bug 4519 1999-05-11 22:03:29 +00:00
troy%netscape.com 10f48ae812 New class nsAbsolutelyPositionedContainer 1999-04-16 00:08:59 +00:00
troy%netscape.com c6e66cb1d9 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
kipp%netscape.com 5530385670 Use block-band-data for debug output 1999-04-10 17:30:46 +00:00
troy%netscape.com 774e0c18ad Removed DidReflow() code that's no longer needed now that the new compositor
allows child views to extend outside their parent view
1999-04-06 02:41:50 +00:00
kipp%netscape.com fab8db134e Whacked paint methods to use new constants 1999-03-26 00:39:35 +00:00
kipp%netscape.com a171a9999d Fixed up area frame sizing calculations to properly compute the final height 1999-03-25 03:48:30 +00:00
kipp%netscape.com 2c2a883c98 Use combined-area to compute the final height of the area frame 1999-03-23 04:25:03 +00:00
mcafee%netscape.com 71eb620083 Uninitialized variable. 1999-03-19 00:20:02 +00:00
kipp%netscape.com 78209a0be1 Fixed bug #2052 - don't adjust the height when its computed 1999-03-08 19:22:16 +00:00
troy%netscape.com 756524925c Eliminated some code that's no longer needed now that the info is in the
HTML reflow state
1999-03-06 01:40:29 +00:00
kipp%netscape.com ba18377496 use new nsHTMLReflowState ctors 1999-03-05 04:19:09 +00:00