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

1180 Коммитов

Автор SHA1 Сообщение Дата
kipp 17e25c1c81 Added code so that TR VALIGN's will dump properly when content is dumped 1998-07-13 21:16:51 +00:00
buster 129f8dca89 turned debug noise off 1998-07-13 20:44:07 +00:00
buster f6c2161c41 for Nav compatibility, 0-width cells do not have insets 1998-07-13 20:41:38 +00:00
kipp dbaf7838af Cleaned up style sheet 1998-07-13 19:49:53 +00:00
kipp 7ce52ac972 Implement VerifyReflow 1998-07-13 19:49:42 +00:00
kipp 072549eb21 Added reflow verification api 1998-07-13 19:49:20 +00:00
kipp 4504999f6f updated a few comments 1998-07-13 19:49:07 +00:00
buster d243e443c4 added Nav4 compatibility code for 0-width cells 1998-07-13 19:22:45 +00:00
buster 4c77b2df1d fixed 2 minor space leaks having to do with temporary structs allocated
to handle colspans
1998-07-13 18:11:12 +00:00
kipp ec1a4ff016 Reflow child when max-element-size is requested (this works around a purify detected crash) 1998-07-12 00:19:17 +00:00
kipp 228c0ba1be Set max-element-size 1998-07-12 00:18:36 +00:00
kipp 3773621cca Added code to move content in bad spots in tables out 1998-07-12 00:18:26 +00:00
kipp 9f86005e45 Work around table bugs in a different way 1998-07-12 00:17:50 +00:00
rpotts ca4a702aa6 Fixed up CVS merge problem that was horking reference counts... 1998-07-11 08:07:17 +00:00
troy 03dd77b394 Added back in some changes that got lost in the previous
check-in
1998-07-11 04:16:29 +00:00
kipp 329d9232e9 Improved tracing somewhat; fixed map handling; removed some dead code 1998-07-11 03:51:50 +00:00
kipp 75f1af4c1a Split HandleEvent between the two classes; in theory this is because the RootContentFrame gets the scroll adjusted x,y coordinate and RootFrame doesnt 1998-07-11 03:51:18 +00:00
kipp b8470d7af5 Disabled some code to make cursors over links work 1998-07-11 03:50:14 +00:00
kipp 5fbdae41b4 Adjust coordinates to account for borders; don't consume the event when just mouse overing (only consume it when clicking); this fixes cursors oddly enough 1998-07-11 03:49:56 +00:00
kipp 135b6b3efb Tweaked 1998-07-11 03:49:17 +00:00
kipp 289c595b22 Removed GetCursorAt code 1998-07-11 03:48:33 +00:00
kipp 4b99029c24 Avoid crashing when we have no content 1998-07-11 03:47:56 +00:00
kipp 199a67232b Made GetCursorAt looping generic so that more subclasses could use it 1998-07-11 03:47:37 +00:00
buster 106c3a7c7a fixed unix build, and one small uninitialized variable problem 1998-07-11 00:47:29 +00:00
buster f6e4fa25de *** empty log message *** 1998-07-11 00:08:08 +00:00
buster 7a2fe842b8 major hackage to the table data structures. slimmer, simpler, faster
this work exposed a few bugs and slow spots, which have been fixed
for the aol page, I added some additional backwards compatibility code
to proportionately distribute width when a fixed-width cell has colspans
1998-07-11 00:00:31 +00:00
troy be29f02f19 More code re-shuffling. I need to hurry and check-in before Cujo
whacks the tree
1998-07-10 22:56:13 +00:00
kipp f84b2d2dae Fixed max-element-size to account for the border+padding 1998-07-10 21:45:30 +00:00
kipp 8495eff9e0 Generate automatic margin values for most blocks; this emulates ebina margins fairly well 1998-07-10 20:30:23 +00:00
kipp 91f5df2787 Removed SetMargins call; the default ctor zeros things out now 1998-07-10 20:28:30 +00:00
kipp 6d3504205c Made it more ebina ish 1998-07-10 20:28:04 +00:00
kipp 81811ffa88 Pass on DidReflow always so that sub-frames that contain views can get notified and move the views 1998-07-10 20:27:43 +00:00
kipp 15a1048658 initialize reflow metrics and reflow state to avoid downstream bugs 1998-07-10 20:26:20 +00:00
troy 54f6cf2b02 Deprecated the SetFirstContentOffset/SetLastContentOffset member
functions that take a nsIFrame*
1998-07-10 19:04:06 +00:00
rickg 665f63b9f3 dynamic DTD support 1998-07-10 05:35:23 +00:00
troy cee35a3b5c Changed it so we assume that rows are always complete 1998-07-10 05:23:05 +00:00
troy ee57569c83 Some incremental improvements 1998-07-10 04:00:38 +00:00
peterl 7c911cce58 tweaking <FONT size=x> handling 1998-07-10 02:45:18 +00:00
troy 7c4b0ac9ae Added some new sizing constraints 1998-07-09 20:53:37 +00:00
troy dea55a262d Added a check for multiple frames occupying a trapezoid. This keeps us from
crashing
1998-07-09 18:14:19 +00:00
karnaze 3561337959 borders 1998-07-09 17:47:33 +00:00
kipp c567f52925 Added debug code that syncs up the display when running slow so that incremental loading reflow can be visible 1998-07-09 17:08:40 +00:00
kipp b4651aac4e tweaked nested lists style; add in bottom margins for most block elements 1998-07-09 17:08:09 +00:00
kipp 8985110d66 Init passed in margins 1998-07-09 17:07:39 +00:00
kipp de2608533c Implement css collapsing margins 1998-07-09 17:06:35 +00:00
kipp 8beef8ceaa Added some slots to nsReflowMetrics specifically to support collapsing css margins; it needs to go somewhere else! 1998-07-09 17:06:12 +00:00
troy 60d0990794 Changed it so the inner table is reflowed by using the Reflow()
member function rather than poking the individual pass 1, pass 2, ...
member functions
1998-07-09 14:30:34 +00:00
kipp 01ecca0c0c Worked around a startup problem that caused body's attributes and style context to be prematurely mapped before the attributes were read in or the ua.css was read in 1998-07-08 23:15:32 +00:00
kmcclusk 7509d63de0 Modified the order of the source shareables so all of the symbols
are in the single destination shareable for Linux.
1998-07-08 21:11:09 +00:00
troy 3e55f85f43 Changes to the caption handling code 1998-07-08 20:21:17 +00:00
troy ed3232febb Tables not allow only one caption 1998-07-08 04:49:01 +00:00
jevering 6041a1925c Fixing optimized build. 1998-07-07 22:20:00 +00:00
jevering b8db61a8c0 Fixed optimized build. 1998-07-07 22:07:35 +00:00
troy ca5a505826 Cleaned up ShrinkWrapChildren so pass 1 doesn't resize the rows 1998-07-07 03:48:21 +00:00
buster 03fd05a8af fixed 3 dumb bugs I introduced recently.
1. cellmap couldn't properly delete CellData because definition was unavailable
2. optimized table cells made taller wouldn't shrink when they should because we were not
remembering the previous desired height of the cell.
3. rows were placing cells on the left edge, and not adding in the left margin.
1998-07-07 01:06:51 +00:00
troy e1426ada21 More incremental reflow changes 1998-07-07 00:49:07 +00:00
buster 54d0edc73c fix for empty tables. we now support tables that have no content. 1998-07-07 00:20:21 +00:00
buster 8589fa4d8f fixed a few bugs with distributing excess/restricted space inappropriately.
we now pass around info about whether we're an auto width table.
1998-07-06 22:48:19 +00:00
kipp e89008b0ac Changed AttributeToString to handle empty value types 1998-07-06 22:16:23 +00:00
kipp a8907efbbc Create head & body object during init phase to avoid having the root content frame code have to renumber it's child frames when the head section shows up) 1998-07-06 22:15:55 +00:00
kipp 574f642d9f Removed obsolete tags header file generation rules 1998-07-06 22:15:22 +00:00
troy bec31309df Incremental reflow work-in-progress 1998-07-06 21:39:23 +00:00
kipp c21f2ee0f4 Implement ContentDeleted 1998-07-06 21:37:33 +00:00
kipp 4727732a61 Fixed a few bugs in ContentDeleted reflow; implemented a cheesy version of FrameDeletedReflow 1998-07-06 21:37:08 +00:00
kipp 8b73ffa085 new 1998-07-06 21:36:00 +00:00
buster ed14926019 added support for "effective column widths", the width of a column pretending that spanning cells have no effect.
this gets us some more Nav4 compatibility.
several minor fixes.
1998-07-06 21:00:11 +00:00
kipp 9fd4a227e9 Don't build shared library 1998-07-03 23:54:25 +00:00
kipp fc81f712c0 Don't build shared libraries 1998-07-03 23:12:11 +00:00
kipp 704e070c50 Removed obsolete files 1998-07-03 19:09:41 +00:00
kipp 2056d51a8c Added some style for html4 tags and some nav tags 1998-07-03 18:41:44 +00:00
kipp 0f579e2006 Removed a test 1998-07-03 17:51:45 +00:00
kipp f992c86548 Build nsHTMLParts too 1998-07-03 17:50:53 +00:00
kipp 656913c53f Use NS_CreateHTMLElement to implement dom create-element method 1998-07-03 17:50:25 +00:00
kipp 69a30a250e new 1998-07-03 17:50:00 +00:00
kipp e75706a7db Added NS_CreateHTMLElement 1998-07-03 17:49:49 +00:00
kipp 8de1e92335 Reworked ContentInserted handling 1998-07-03 17:46:44 +00:00
kipp cbccf5e8ca Fixed a typo (blush) 1998-07-02 23:44:46 +00:00
troy 52d84888b7 More work-in-progress incremental reflow code 1998-07-02 23:19:31 +00:00
kipp 62b7408349 Moved initial reflow processing into InitialReflow method (doh) 1998-07-02 22:55:15 +00:00
kipp 5589454a83 Added more asserts to catch bad behavior of parents and children 1998-07-02 22:54:53 +00:00
kipp d01b7687b8 new 1998-07-02 22:53:47 +00:00
kipp e63fe3bdbe updated test 1998-07-02 21:26:54 +00:00
kipp 69891e7fc1 Bug fix for content-appended reflow 1998-07-02 21:26:34 +00:00
kipp 8a08808e93 Fixed up logging to use the frame logging 1998-07-02 21:26:00 +00:00
kipp 4e9a622067 Fixed bug where tables weren't returning a proper set of metrics 1998-07-02 21:24:56 +00:00
troy 1ee17c78b1 Moved code that resized the table row cells from the row group frame
to the row frame. It's now handled as part of the DidReflow() post-
processing code
1998-07-02 20:35:23 +00:00
buster 2b75ce1f63 added an optimization that skips pass2 cell reflows when the new available width is unchanged
from the prior available width.  Some real-world test cases sped up
1-2 orders of magnitude for resize reflow.  Initial reflow is unchanged because
we still need to get pass1 metrics on all content.
fixed nsCSSBlockFrame.cpp to take margins into account when computing parent's available width
fixed distribution of excess space to table cells when table is bigger than the content it holds.
not quite finished yet, but better.
1998-07-02 17:40:56 +00:00
buster 531152b50b now takew margins into account when computing parent's available width 1998-07-02 17:40:02 +00:00
rickg c7c8f485ed major improvements to parser API's; fixed a few bugs 1998-07-02 08:14:22 +00:00
troy b4aa257397 Some work-in-progress for incremental reflow 1998-07-02 05:39:10 +00:00
kipp bc2a7ac47a Fixed some dom methods 1998-07-02 00:04:44 +00:00
kipp 7519a048cd Removed unneeded duplicate code 1998-07-02 00:04:26 +00:00
kipp ce88c47885 First pass implementation of content insertion/deletion handling code (untested at this point); also did some misc cleanup 1998-07-02 00:04:12 +00:00
kipp c8c9f58b3b new 1998-07-02 00:02:42 +00:00
atotic 0bd5d91ab3 Fixed the for (PRInt32 i=) problem 1998-07-01 22:40:00 +00:00
troy 34efb1dd5a Eliminated some usage of ChildAt() 1998-07-01 22:22:28 +00:00
kipp dbadaed61b Fixed up iframe layout (again) 1998-07-01 22:21:13 +00:00
karnaze e1d5194abb more nav4 compatibility, radio group bug fixes 1998-07-01 20:11:57 +00:00
rpotts a0c53581a8 Changed LoadURL(...) to StartDocumentLoad(...) TestAttributes.cpp TestInlineFrame.cpp 1998-07-01 11:21:41 +00:00
rpotts a3a7597795 Reworked Post data to avoid memory leaks... 1998-07-01 11:18:39 +00:00
rpotts 09cfa8359e Now uses nsIViewerContainer interface and the Document Loader... 1998-07-01 11:17:41 +00:00
rpotts 1afdd4f963 Reworked Post data to avoid memory leaks... Removed nsIDocument::LoadURL(...). Added nsIDocument::StartDocumentLoad(...) as a callback method for the DocumentLoader... 1998-07-01 11:16:09 +00:00
rpotts 00765c5325 Fix crash by checking whether a link handler was returned bu GetLinkHandler(...) 1998-07-01 11:15:20 +00:00
troy 226119c0ab Some work-in-progress for incremental reflow 1998-07-01 04:55:15 +00:00
troy 7c185eac84 Removed some vertical margin collapsing stuff that wasn't needed 1998-07-01 03:03:32 +00:00
kipp c34f27c145 Keep view around so that it moves properly 1998-07-01 00:54:54 +00:00
kipp 0f3bc0bc43 Revised logging code to work with nspr properly; updated to support incremental content appended reflow 1998-06-30 23:51:53 +00:00
kipp f1e5c4b66b Added state recovery logic for FrameAppendedReflow (though it still reflows too much) 1998-06-30 23:51:26 +00:00
troy a3005d96d4 Changed reflow processing for floaters 1998-06-30 23:19:10 +00:00
troy a08407817f Changed a XXX comment that was now out of date 1998-06-30 21:37:30 +00:00
troy 08cdd6ebcd Changed anchor frames to forward content notifications to the real frame 1998-06-30 21:35:07 +00:00
kipp 11fba76f60 Use new PropagateContentOffsets API 1998-06-30 20:22:44 +00:00
kipp 30f8f69d23 Avoid crashing when no link handler is involved 1998-06-30 20:22:27 +00:00
kipp 13db757b9c update to new nsIInlineReflow API 1998-06-30 20:22:04 +00:00
kipp 94f1a4ea1d Implement new PropagateContentOffsets to avoid looking at floaters 1998-06-30 20:21:57 +00:00
kipp 8fdc3b767c Pretend to map STYLE attributes back to strings to avoid crashing 1998-06-30 20:20:51 +00:00
kipp 9d76dca44e disabled calls to PropagateContentOffsets for now 1998-06-30 20:20:29 +00:00
kipp 8c19ac4205 Pass attribute-to-string calls to superclass when it's an unkown attribute/type 1998-06-30 20:15:37 +00:00
kipp 980cc4a227 Improved listing output 1998-06-30 20:14:33 +00:00
kipp 67c8c57b30 Updated APIs 1998-06-30 20:14:16 +00:00
kipp ea0b890a93 Various pagination related bug fixes; pass in reflow command to FindTextRuns 1998-06-30 20:14:04 +00:00
kipp bca0af2fe6 Added aReflowCommand argument so that inline frames can properly determine what is triggering the TextRun discovery and properly avoid (or not avoid) creating new frames 1998-06-30 20:13:07 +00:00
buster 3cc96f5b94 fixed-width cells no longer improperly impact the available size
of subsequent cells in reflow pass 1

we correctly distribute extra space in a table proportionately.
We try to give the extra space to auto-width columns first,
and if there are none we distribute it to all columns.
The percentage is based on the cell content's desired size.
1998-06-30 20:12:45 +00:00
kipp 7a8d09e439 Reworked PropagateContentOffsets so that the update to the offsets is done by the frame itself instead of the child whacking the parent directly; this allows subclasses to override the whackage. 1998-06-30 20:12:23 +00:00
troy f923e8753c Added ContentDeleted() member function 1998-06-30 20:11:10 +00:00
troy 8885fde69e Moved shrink wrap code from table frame to table row group frame 1998-06-30 02:11:07 +00:00
buster 033ee8a162 columns that are fixed-width due to an attribute on the corresponding cell in the first row
now work correctly.
extra space is now properly apportioned in the "table fits" case when the table contains auto-width cells.
1998-06-30 00:37:03 +00:00
buster a5505b8275 cells no longer monkey with their available width based on attribute constraints.
The row does this work now. This makes table layout more properly top-down.
1998-06-29 20:38:22 +00:00
kipp ed831815d1 Made sub/sup look more like navigator 1998-06-29 16:10:41 +00:00
kipp 206c13d241 Fixed bug where percentage width in an unconstrained situation was yielding a bad size 1998-06-29 16:09:44 +00:00
buster 5e60369eda minor tweaks for table layout 1998-06-29 03:09:14 +00:00
kipp 0fb4c0d0ce Take text content and join it together so reduce the size of the content model 1998-06-27 22:57:52 +00:00
kipp 13cd2413d6 Use revised inline reflow status; fixed bug in pre-return status to indicate when continuations are needed after line breaks 1998-06-27 22:57:26 +00:00
kipp 3552e92cad Use revised inline reflow status 1998-06-27 22:56:59 +00:00
kipp 387a21b0d1 Revised nsInlineReflowStatus to (a) use nsReflowStatus directly and to (b) seperate out completion and break status as orthogonal status 1998-06-27 22:56:09 +00:00
kipp 7292712c50 Added NS_IS_REFLOW_ERROR; updated reflow status comment to indicate which bits are reserved by nsIFrame API's 1998-06-27 22:54:58 +00:00
atotic 102f568560 That for (int i)... problem fix 1998-06-27 02:49:36 +00:00
atotic e6ceb0c01e Another class reference inside class declaration problem class A { void A:method }; is bad 1998-06-27 02:48:39 +00:00
atotic 90b32ba9d8 Fixed mac warnings 1998-06-27 02:47:44 +00:00
atotic e6c716048f Added/removed some files 1998-06-27 02:47:08 +00:00
atotic 1669148b76 Fixed the Mac build 1998-06-26 23:55:11 +00:00
buster 8cb2f20cbf support for Nav4 compatibility -- auto-width cells with 0-width content are 1 pixel wide 1998-06-26 23:31:33 +00:00
troy dbcbcf7d1d Changed absolutely positioned elements to have the body as their
geometric parent
1998-06-26 18:49:30 +00:00
kipp 31261d92a4 Removed PutCachedData(etc) API from nsIPresShell 1998-06-26 16:26:24 +00:00
kipp b9e2811c6a Make a title object that's a child of the head when we get a title 1998-06-26 16:12:51 +00:00
kipp cdaedbbf86 Added NS_NewHTMLComment and NS_NewHTMLTitle 1998-06-26 16:12:22 +00:00
kipp be37e59a5e new 1998-06-26 16:11:41 +00:00
kipp 6661115e62 new files 1998-06-26 16:11:26 +00:00
kipp 92e7d9f215 Updated for irix 1998-06-26 15:31:45 +00:00
kipp e74a8768aa Removed stale reference to nsHTMLMeta 1998-06-26 15:15:58 +00:00
kipp 76229f342c Link new content library in 1998-06-26 15:12:06 +00:00
kipp 822565e6d7 Removed obsolete justify-reflow method 1998-06-26 15:11:53 +00:00
kipp 396b89b7f9 Added content directory and moved some code 1998-06-26 15:08:55 +00:00
kipp 163249f258 Eliminated IRIX compiler warnings (and a bug) 1998-06-26 15:07:09 +00:00
peterl ba118571c6 added ! important support 1998-06-26 05:51:55 +00:00
peterl ec0fee2a9a fixed equal weight rule ordering 1998-06-26 05:50:10 +00:00
peterl cb4e3b72c0 fixed context dumping 1998-06-26 05:49:01 +00:00
buster a6ca882bee fixed some nested table bugs and made some minor adjustments to Kipp's new line layout code. 1998-06-26 00:48:44 +00:00
kipp 634974d444 Removed gratuitous if's 1998-06-26 00:31:44 +00:00
kipp 7a286b21c0 Bug fix for loading www.espn.com; the reflow-command wasn't getting passed down appropriately when the image size update occured. 1998-06-25 23:35:53 +00:00
kipp a1545fa943 Added code to giving floating children a width to reflow into when they don't specify one themselves 1998-06-25 23:09:04 +00:00
vidur ebd644e8a3 Hooked up SCRIPT tag evaluation. Added the nsIScriptContextOwner interface. 1998-06-25 22:26:52 +00:00
kipp e85f1b7f20 Fixed images/form-elements in tables being incorrectly positioned by preventing nested body's from pre-maturely DidReflowing their children 1998-06-25 22:26:35 +00:00
kipp 3d2430f3ad Change ParseColor to be more compatible with navigator 1998-06-25 21:37:07 +00:00
kipp 5cd48e486c Support text attribute in body tags 1998-06-25 21:36:51 +00:00
kipp 1ec7c27374 Use different (implicit copy) constructor to get proper reason passed through for better handling of incremental reflow 1998-06-25 21:11:12 +00:00
kipp 79f6ada6b0 Better handling of incremental reflow commands that pass through the block/inlines; it also makes sure that the incremental reflow happens only once, even if the frame is reflowed more than once. 1998-06-25 20:51:04 +00:00
kipp e1f8e23585 Rework the way that bullets are detected; this fixes up the http://client/nova page 1998-06-25 19:02:15 +00:00
kipp 5922d1bfa1 Link html .so properly 1998-06-25 18:38:59 +00:00
kipp 62ef571c0c Fixed library name 1998-06-25 18:38:40 +00:00
kipp 894b45c36a Work around infinite-width bug by not passing down an infinite width to a block child of a block 1998-06-25 17:26:40 +00:00
kipp 07602ac028 Fixed irix build bustage 1998-06-25 17:23:32 +00:00
kipp 9e2f3ecca6 Fixed unix makefile 1998-06-25 16:58:59 +00:00
kipp 4b8864ebbc New and improved (?) line layout 1998-06-25 16:33:10 +00:00
kipp 04388f92cf Revised page size computation 1998-06-25 15:05:35 +00:00
kipp cc626cdb79 Removed include of stdio.h 1998-06-25 15:03:49 +00:00
kipp aa980ae438 Assign values to reflow reason so that when printing them numerically it's easier to map the integer back to the enum 1998-06-25 15:03:37 +00:00
kipp 856263ab91 Added missing include line; minor tidy up as well 1998-06-25 15:01:13 +00:00
kipp 0f45fd1b7c Made unknown image size be 1,1 twips instead of 0,0 so that other code doesn't eliminate images; added left and right margins around floating images ala ebina 1998-06-25 14:56:46 +00:00
kipp bfeb08a1fe Added CreateFrame method 1998-06-25 14:55:15 +00:00
kipp cc04a28262 Added the same skip-over-non-body-content code that's in the root content frame code 1998-06-25 14:53:45 +00:00
kipp 51abae9138 Init refcnt so that it behaves properly 1998-06-25 14:51:48 +00:00
michaelp e183f05efb added init() method to prescontext.
creator of prescontext is responsible for initializing pres context.
devicecontext is now init()ed with a nsNativeWidget.
removed hacky X Display stuff from device context and font metrics.
removed hacky code from windows font metrics.
changed nsNativeWindow to be nsNativeWidget.
added more code for compositor back-to-front pass.
improved text performance on X.
changed nsHTMLTagContent.cpp so that it will build with MSVC 4.1.
1998-06-25 04:24:45 +00:00
troy 2b34ccf86a Added some asserts to the incremental reflow code 1998-06-24 22:05:59 +00:00
buster 670bf41c19 fixed some bugs related to rowspans. This gets us closer on pages like Mozilla.org that were getting wild table heights. 1998-06-24 19:13:19 +00:00
troy d8d860fb0b Changed to make sure we set the (x,y) for the frame before we reflow it 1998-06-24 18:09:47 +00:00
kipp c3c647c6e3 snapshot 1998-06-24 17:52:42 +00:00
troy a5129668b4 Changed to make sure we link the child frame into the list of frames before
we reflow it
1998-06-24 16:35:21 +00:00
troy 69e26c8efd Some incremental reflow changes 1998-06-24 04:38:52 +00:00
troy a45125c78c Work around for the case where a content change notification has
no corresponding frame in the frame hierarchy
1998-06-24 04:37:11 +00:00
atotic 777858f597 More project fixes 1998-06-24 01:44:20 +00:00
atotic 1fe21f0dd7 First Checked In. 1998-06-24 01:41:16 +00:00
buster ff9c9a022a now tables with precent width nested within tables with auto width work 1998-06-24 00:40:33 +00:00
buster 722a46b983 lots of nested tables look much better
misc. nav4 compatibility enhancements
added the ability to QueryInterface for some specific table frame types
1998-06-23 23:23:21 +00:00
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