Commit Graph

3945 Commits

Author SHA1 Message Date
nisheeth%netscape.com
937b4d59c2 We no longer call RegisterDTD() on nsParser when initiating parsing of XML
documents.
1999-03-02 02:58:25 +00:00
hyatt%netscape.com
ae0fa30bb0 Changing the GetAttribute and SetAttribute calls to properly use the namespace
of NONE (instead of XUL).
1999-03-02 02:04:45 +00:00
alecf%netscape.com
532891b5da fix AIX bustage - explicitly refer to parent constructor even though it's within
the scope of this constructor..
1999-03-02 01:44:07 +00:00
evaughan%netscape.com
31d9bf023a Fixed button to respond to the list-style-image property on CSS 1999-03-02 01:25:33 +00:00
hyatt%netscape.com
2444e248ff Modified ContentInserted (for XUL only) to support the tree widget's
wacky frame construction code.
1999-03-02 01:07:28 +00:00
akkana%netscape.com
0664eb6e9a Fix potential leak of content sink 1999-03-02 00:47:43 +00:00
akkana%netscape.com
b03ef3499c include the parser library too 1999-03-01 20:46:08 +00:00
karnaze%netscape.com
3b3d626d1f bug 3347 1999-03-01 19:25:47 +00:00
akkana%netscape.com
48dcd3da7a Move bulk of DoCopy code from nsBrowserWindow.cpp into nsPresShell 1999-03-01 19:21:01 +00:00
vidur%netscape.com
cb48e4047a Fixed MAP elements to conform to HTML 4.0. Hooked up attribute changes for MAP, AREA and ANCHOR elements. Added RECONSTRUCT_ALL as a style hint for attribute changes. Modified nsCSSFrameConstructor's ReconstructFrame to only reconstruct the document element hierarchy. 1999-03-01 16:57:35 +00:00
rods%netscape.com
99447f229a Change it to do a QueryInterface, is this right? 1999-03-01 15:27:55 +00:00
mcafee%netscape.com
bf8ad89b24 Backing out my last change, breaks Win32 & Mac. 1999-03-01 10:57:20 +00:00
mcafee%netscape.com
4ebcbb455e Adding do_QueryInterface() wrapper for nsCOMPtr/Solaris. 1999-03-01 10:32:14 +00:00
jfrancis%netscape.com
c37eac4581 made iterators bidirectional; lots of bug fixes; finished subtree iterator impl. 1999-03-01 08:17:18 +00:00
buster%netscape.com
e03330c847 fixed IsNested to account for outer table frame
removed obsolete debug code
1999-03-01 06:40:24 +00:00
karnaze%netscape.com
f641f7af45 fixed assert when <col> is placed inside of <table> 1999-02-27 19:02:48 +00:00
nisheeth%netscape.com
8d35655233 - Add expat to the windows build only...
- Changed nsXMLDocument such that expat gets used for XML parsing if
  EXPAT is #define'd
1999-02-27 08:02:15 +00:00
peterl%netscape.com
8c7771ba8f fixed active link rule support 1999-02-27 07:18:21 +00:00
peterl%netscape.com
ee60b04ab0 added support for dynamic pseudo classes
added support for child & sibling selectors
1999-02-27 07:17:52 +00:00
peterl%netscape.com
75a76e322e added child & sibling selector support 1999-02-27 07:16:57 +00:00
peterl%netscape.com
82a042a555 tweaked style hint for overflow 1999-02-27 07:16:27 +00:00
peterl%netscape.com
8e0f3b58c4 added child & sibling selectors 1999-02-27 07:15:59 +00:00
peterl%netscape.com
006004dd56 added content state changed 1999-02-27 07:15:09 +00:00
peterl%netscape.com
0864f69c78 added CSS3 pseudo classes 1999-02-27 07:14:33 +00:00
peterl%netscape.com
65be83c9dd added CSS3 UI pseudo classes 1999-02-27 07:14:13 +00:00
peterl%netscape.com
6ded9b5abe set document before adding attributes 1999-02-27 07:13:48 +00:00
peterl%netscape.com
3f8df31e5d switched state change notifications to use ContentStateChanged 1999-02-27 07:12:38 +00:00
peterl%netscape.com
46d0e5ab36 added == operator to style sides 1999-02-27 07:11:57 +00:00
peterl%netscape.com
716fdea6b7 added CalcStyleDifference 1999-02-27 07:11:42 +00:00
peterl%netscape.com
ba5f08e24c added content state changed
removed ua sheet from dump style
1999-02-27 07:11:04 +00:00
peterl%netscape.com
46c784a7db added == operator for style sides 1999-02-27 07:09:40 +00:00
peterl%netscape.com
494926e976 added style hint max 1999-02-27 07:09:23 +00:00
karnaze%netscape.com
1c27eb5749 correctly set max element size on checkbox, radio. Other cleanup. 1999-02-27 03:59:19 +00:00
vidur%netscape.com
c1e5f31841 map and area attribute tests 1999-02-27 02:52:44 +00:00
hyatt%netscape.com
70a4c0ce9d Modified HTML content's QueryInterface macro to supported nsIStyledContent. 1999-02-27 01:36:41 +00:00
hyatt%netscape.com
375ee1d8f5 Changed GetID, HasClass, and GetClasses so that they are invoked on styledContent
instead of htmlContent.
1999-02-27 01:35:51 +00:00
hyatt%netscape.com
e29262df04 Changed GetInlineStyleRule so that it is invoked on styledContent instead
of htmlContent.
1999-02-27 01:35:25 +00:00
hyatt%netscape.com
06368ef067 Changed GetContentStyleRule so that it is invoked on styledContent instead
of htmlContent.
1999-02-27 01:34:55 +00:00
hyatt%netscape.com
2a99f6d706 Changing GetStyleHintForAttributeChanged so that it is invoked on styledContent
instead of htmlContent.
1999-02-27 01:34:32 +00:00
hyatt%netscape.com
634942997c Adding the NS_ISTYLEDCONTENT_IID to the nsHTMLIID files, so that HTML content
can see it (makes the QueryInterface macro work).
1999-02-27 01:33:25 +00:00
hyatt%netscape.com
927493e52a Removing the CLASS, ID, and STYLE-specific methods. They are now in
nsIStyledContent (from which nsIHTMLContent now derives).
1999-02-27 01:32:49 +00:00
hyatt%netscape.com
a7ba61e78c Making sure that nsIStyledContent.h gets exported. 1999-02-27 01:31:42 +00:00
hyatt%netscape.com
234ceed838 Changes to makefiles to ensure that nsIStyledContent.h is exported. 1999-02-27 01:31:16 +00:00
hyatt%netscape.com
271401155d The nsIStyledContent interface. Removes CLASS, ID, and STYLE support (as well
as the ability to supply style hints) from nsIHTMLContent.
1999-02-27 01:31:01 +00:00
hyatt%netscape.com
6153afc737 Changes to tree frame construction code. 1999-02-27 01:28:19 +00:00
av%netscape.com
e845f0123f *** empty log message *** 1999-02-27 00:57:04 +00:00
kipp%netscape.com
960bc34221 fixed up operator new usage 1999-02-26 20:02:06 +00:00
pollmann%netscape.com
6dcb7e30da Enable dynamic changing of the readonly attribute.
Works on Linux now.  Win will come on-line later today.
1999-02-26 20:01:48 +00:00
kipp%netscape.com
760dc4af42 Fixed remaining issues with operator new/delete 1999-02-26 19:26:29 +00:00
kipp%netscape.com
59afd8abfb Removed ifdef'd out code 1999-02-26 19:22:20 +00:00
ebina%netscape.com
4e65ecbaf2 Changing RegisterFactory to use the new API. 1999-02-26 19:08:57 +00:00
alecf%netscape.com
2a71e76f16 BandRect needs to be public to be visible outside the class definition (HPUX bustage) 1999-02-26 17:36:00 +00:00
kipp%netscape.com
ce54fd4449 Support sized images 1999-02-26 17:15:15 +00:00
kipp%netscape.com
2eee855f3b Support entities (bug #3112) 1999-02-26 17:13:51 +00:00
kipp%netscape.com
1f8cfdbaac Use our own null value 1999-02-26 17:13:30 +00:00
kipp%netscape.com
a757e2efbe Cleaned up operator new and delete 1999-02-26 17:13:10 +00:00
kipp%netscape.com
cc779556f7 Removed dependency on static constructors 1999-02-26 17:12:16 +00:00
kipp%netscape.com
b476316084 Pass in default image size when loading image 1999-02-26 17:12:05 +00:00
kipp%netscape.com
c4b8cdb1ac Whacked to handle moving floaters out of the flow 1999-02-26 17:11:54 +00:00
kipp%netscape.com
8e83b73c68 Fixed up operator new and delete 1999-02-26 17:09:35 +00:00
kipp%netscape.com
1abf79d0f1 Removed dependency on static constructors; implement operatore delete 1999-02-26 17:08:48 +00:00
kipp%netscape.com
c0c382d3c0 Removed move-out-of-flow code now that frame construction code does it; added code to avoid reflows when removing a placeholder frame 1999-02-26 17:08:20 +00:00
kipp%netscape.com
173cc9b534 Avoid purify noise by initializing all member variables 1999-02-26 17:07:49 +00:00
kipp%netscape.com
99df251883 Support limited scaling of images on unix 1999-02-26 17:07:28 +00:00
kipp%netscape.com
5fca6839f0 Removed MoveOutOfFlow 1999-02-26 17:07:01 +00:00
kipp%netscape.com
c7fde5e17e Implement operator delete; get rid of static constructor 1999-02-26 17:05:20 +00:00
kipp%netscape.com
a8d4b57b12 Find text runs more often (bug #3278, 3265); floaters are now handled mostly by the frame construction code 1999-02-26 17:04:44 +00:00
kipp%netscape.com
45159442c2 Removed dependency on static constructor 1999-02-26 17:03:45 +00:00
kipp%netscape.com
63f4abfd18 Implement operator delete properly; removed dependency on static constructor 1999-02-26 17:03:18 +00:00
kipp%netscape.com
f76ba9c5e6 Support desired image size during loading 1999-02-26 17:02:37 +00:00
kipp%netscape.com
0fdcf3b76a Added IsFloating inline 1999-02-26 17:02:05 +00:00
kipp%netscape.com
8ab09256bd Added in desired-size to image loading request 1999-02-26 17:01:34 +00:00
kipp%netscape.com
d1fe3c6035 Removed global gLogModule 1999-02-26 16:59:57 +00:00
kipp%netscape.com
80b0e6a236 new 1999-02-26 15:54:00 +00:00
warren%netscape.com
44cae3cd3f Changes for RDF component registration using nsRepository. Also changed args to NSGetFactory and friends. 1999-02-26 10:17:14 +00:00
karnaze%netscape.com
b9d95f9ba2 fixed bug where anonymous table frame is constructed inside table related frame.
simplified table frame construction.
1999-02-26 09:15:03 +00:00
evaughan%netscape.com
7f143f5337 Removed state info from button renderer. 1999-02-26 08:48:24 +00:00
evaughan%netscape.com
5fe142b7e4 Fixed up titled button so hover, focus, active, states work. 1999-02-26 06:41:10 +00:00
rickg%netscape.com
ce3f1fd855 small bug fixes and removal of global statics 1999-02-26 06:33:54 +00:00
troy%netscape.com
e44548e676 Added logic to replicate the caption when splitting the table 1999-02-26 03:35:22 +00:00
hyatt%netscape.com
01db84daa0 Preparing expand/collapse so that it works the right way. 1999-02-26 02:50:21 +00:00
sfraser%netscape.com
3a123c982b Mac project changes -- link with MSLDropInRuntime, instead of MSLShLibRuntime, and fix link order. 1999-02-26 00:54:57 +00:00
buster%netscape.com
70608d9f51 added GetStyleContextFor 1999-02-25 19:55:06 +00:00
vidur%netscape.com
b15aacfeb3 Made style reresolution propogate down to the bullet frames for list items. Added list related attribute tests. 1999-02-25 19:14:35 +00:00
brade%netscape.com
ec6584765a add "static" to GetFrameBorderHelper to reduce compiler warnings on Macintosh 1999-02-25 15:38:29 +00:00
hyatt%netscape.com
0dca02cb79 Implemented rollover feedback. 1999-02-25 09:37:17 +00:00
troy%netscape.com
11c7f0375f Fixed it so we clear the NS_FRAME_SYNC_FRAME_AND_VIEW bit, because the
default is that it's set
1999-02-25 05:41:05 +00:00
troy%netscape.com
3bdf672129 Removed nsIFrame::CreateContinuingFrame() 1999-02-25 05:31:15 +00:00
troy%netscape.com
da4193eab6 Changed nsIFrame::Init() to take an additional parameter 1999-02-25 03:27:57 +00:00
vidur%netscape.com
6803ad7f1b XML books test case (not part of the build so don't shoot me). 1999-02-25 02:26:53 +00:00
ftang%netscape.com
81894ce107 change nsTextTransformer to break line by calling nsILineBreak and make nsTextFrame pass the nsILineBreaker to nsTextTransformer 1999-02-24 18:21:23 +00:00
troy%netscape.com
74a2bd88d0 Work-in-progress for having frame construction code handle creation
of continuing frames
1999-02-24 17:16:04 +00:00
hyatt%netscape.com
f9fc243939 Backing out the onItemClick code. I don't think we should be using it,
since event bubbling appears to be working.
1999-02-24 11:15:43 +00:00
hyatt%netscape.com
df9c54ab16 Landing support for the special onItemClick default event handler that can be
placed on tree views (and executed in the context of tree items).
1999-02-24 10:38:56 +00:00
troy%netscape.com
47cbdb1e9d Added frame type atoms for several table frame classes 1999-02-24 05:54:31 +00:00
troy%netscape.com
eb48a80e30 Added nsLayoutAtoms::textFrame 1999-02-24 05:33:40 +00:00
kipp%netscape.com
50a388ca59 Fixed bug #2885 - the linebreaker couldn't handle a special case... 1999-02-24 05:24:06 +00:00
troy%netscape.com
03c5c1f520 Changed GetNextInFlow() and GetPrevInFlow() to be pointer arguments and
not references
1999-02-24 04:48:08 +00:00
troy%netscape.com
da0991df28 Added CreateContinuingFrame() function to frame construction code 1999-02-24 04:03:50 +00:00
karnaze%netscape.com
a623691a08 added printf to flag when a table cell's max element size exceeds its desired size (for bug 3094) 1999-02-23 21:03:57 +00:00
kipp%netscape.com
bb34e891d8 Latest snapshot using linux version of the tools 1999-02-23 19:38:50 +00:00
kipp%netscape.com
acaeaf5925 Temporarily mark text and BR frames as replaced elements so that inline reflow will work properly 1999-02-23 19:36:14 +00:00
kipp%netscape.com
921f7d5d90 For now text acts like a replaced element 1999-02-23 19:35:21 +00:00
kipp%netscape.com
de667c2242 Removed gratuitous destructor 1999-02-23 19:34:58 +00:00
kipp%netscape.com
fb3e87241d Cleanedup vertical alignment support 1999-02-23 19:34:37 +00:00
kipp%netscape.com
ee9d03abfa Improved vertical alignment correctness; fixed glaring error with box-width and height computation 1999-02-23 19:34:17 +00:00
kipp%netscape.com
a1ea3e5ee6 Removed mLineHeight from the html reflow state; changed the signature of the VerticalAlignFrames method; made DetermineFrameType a callable static method 1999-02-23 19:33:34 +00:00
kipp%netscape.com
2285d2368f Maded DetermineFrameType a callable static method; removed gratuitous line-height calculations 1999-02-23 19:33:06 +00:00
kipp%netscape.com
d77265fa2f Added a warning comment 1999-02-23 19:32:33 +00:00
kipp%netscape.com
6359d0f8d4 Revised the signature of the VerticalAlignFrames method 1999-02-23 19:32:20 +00:00
kipp%netscape.com
02b92b2a8e Compute minimum-line-height and store it into the inline-reflow context 1999-02-23 19:32:00 +00:00
vidur%netscape.com
a5024bec72 Fixed casing for nsCOMPtr inclusion 1999-02-23 19:22:53 +00:00
vidur%netscape.com
93609d0604 Added nsIStyleSheetLinkingElement interface and implemented it for LINK and STYLE elements. Got attribute modifications for lists and list items working (including correct renumbering of lists when attribute values change). 1999-02-23 19:18:12 +00:00
karnaze%netscape.com
cc3251aeaf added assertion for null peeked frame pointer in Reflow. 1999-02-23 18:06:55 +00:00
warren%netscape.com
9e9215c7f5 Added check for null border. 1999-02-23 09:01:21 +00:00
warren%netscape.com
01dd4f0ed6 Cleaned up nsICollection and nsIEnumerator. Broke out nsIBidirectionalEnumerator. Added ISupportsArray enumerator. Cleaned nsISupportsArray. 1999-02-23 08:10:24 +00:00
troy%netscape.com
2e35a63334 Added include of $(PUBLIC)\unicharutil to fix build bustage 1999-02-23 04:28:08 +00:00
karnaze%netscape.com
009c914f35 better sizing of form controls, especially percentage based sizes and max element sizes 1999-02-23 03:48:01 +00:00
ftang%netscape.com
02b8de88ba add S/GetLineBreaker to nsIDocument.h. Reviewed by kipp and waterson 1999-02-23 03:31:26 +00:00
hyatt%netscape.com
d6fb7c48ab Changing selection in the tree. 1999-02-23 02:39:44 +00:00
ftang%netscape.com
59e3b5ce0e Make Case conversion work for non-Latin1 Unicode. Reviewed by kipp. Perofrmance is the same after changing this. 1999-02-23 02:27:54 +00:00
mjudge%netscape.com
642c6f7d87 Fixing nsCOMPtr misusage. 1999-02-22 19:06:48 +00:00
mjudge%netscape.com
5aa43ea696 adding comments to interfaces 1999-02-22 05:19:06 +00:00
mjudge%netscape.com
b13e4da265 Added, jump to prev word, modified INIT of nsTextTransformer to better prepare for a start offset at the end of the mFrags list. added implementation of extra parameter to nsIFrame::PeekOffset to keep state for the next word problem of eating ws. nsTextFrame should be all set on implementation of jumping words. 1999-02-22 04:59:52 +00:00
mjudge%netscape.com
7df9af9d91 adding parameter to nsIFrame for ::PeekOffset to be aware of the state of jumping a word. eating WS ect. also, nsRangeList sends the proper parameter for above change. 1999-02-22 04:57:44 +00:00
troy%netscape.com
68894039d4 More work-in-progress for table pagination 1999-02-22 03:28:00 +00:00
mjudge%netscape.com
eaf1a3cc93 gettig word jumping to work, adding GetPrevWord to texttransformer 1999-02-22 03:20:59 +00:00
mjudge%netscape.com
5e896e4c40 adding word jumping with CNTRL char down now 1999-02-22 03:20:18 +00:00
mjudge%netscape.com
2e01e0d61b adding NPL 1999-02-22 03:19:24 +00:00
troy%netscape.com
2f913ac8b5 Changed GetRowIndex() so that for continued cell frames the row index is
that of the cell's first-in-flow
1999-02-21 19:55:22 +00:00
mjudge%netscape.com
73b74bd729 Needed methods to disable the ScrollFrameIntoView because of resizing causing scrolling to snap selection into view. 3 helper fucs, 1 variable, PRBool mEnableScrolling defaulted to true of course 1999-02-21 19:43:40 +00:00
troy%netscape.com
02403aa752 Changed DeleteChildsNextInFlow() to use the nsFrameList::RemoveFrame() function
instead of what it was doing, because the assumption it was making about "aChild"
and "nextInFlow" sharing the same parent frame is not true for continued table cells
1999-02-21 18:59:00 +00:00
troy%netscape.com
c449a6a178 Changed GetEffectiveRowSpan() 1999-02-21 18:38:41 +00:00
mjudge%netscape.com
62d53916f3 fixing leak with selection. didnt realize that ElementAt caused a refcount. this should fix problem of selection not allowing presshell to go away. 1999-02-21 05:14:36 +00:00
mjudge%netscape.com
4190f9d7be adding scrolling depending on selection modification. either by key event, or outside event. 1999-02-21 03:49:32 +00:00
mjudge%netscape.com
cee2723326 Shift click to continue selection 1999-02-21 01:23:40 +00:00
mjudge%netscape.com
bbd3667ca9 Extra parameter in nsIFrameSeleciton HandleKeyEvent not necessary. nsRangeList mod now allows SHIFT-Key selection. currently bound directly to VK_LEFT,RIGHT should be changed eventually to something more internationaly friendly 1999-02-20 23:52:05 +00:00
buster%netscape.com
5d4f949e92 the pres shell now respects NS_PRESSHELL_SCROLL_ANYWHERE for vertical scrolling.
this is a hack implementation, to be recoded by the layout team
1999-02-20 21:27:28 +00:00
mcafee%netscape.com
ceeab4f5d9 Adding license; added do_QueryInterface() wrappers for nsCOMPtr stuff (Solaris) 1999-02-20 06:05:15 +00:00
troy%netscape.com
0bdf65216d Pagination work-in-progress 1999-02-20 03:15:03 +00:00
mjudge%netscape.com
fb3a597e8a nsPresShell now listens to changes in the domselection. (also modified nsIEnumerator to use NS_IMETHOD instead of virtual nsresult). Added batching for selection changes. you can move the selection, do things then turn off batching for an update if necessary. also prevented circular referencing by adding listener removal to PresShell::endDocumentListening(sp) 1999-02-19 23:47:36 +00:00
buster%netscape.com
a7658c739f work-in-progress for scrolling frames into view. Not called anywhere in layout yet. 1999-02-19 23:43:41 +00:00
evaughan%netscape.com
4aeb615bb6 Fixed out of scope compile bug. 1999-02-19 20:12:08 +00:00
evaughan%netscape.com
a36ea6bfd7 added files: mozilla/layout/html/forms/src/nsButtonFrameRenderer.cpp, mozilla/layout/xul/base/src/nsTitledButtonFrame.cpp 1999-02-19 18:29:56 +00:00
evaughan%netscape.com
91eb54570b Added a new XUL TitledButtonFrame 1999-02-19 18:23:02 +00:00
brade%netscape.com
b553b3670f add prototype to reduce warnings on Macintosh compiler 1999-02-19 16:13:47 +00:00
troy%netscape.com
e7f6d9eb81 Removed some old code 1999-02-19 05:10:59 +00:00
mcafee%netscape.com
616489d75c Switching over to PRBool, PR_TRUE, and PR_FALSE. Keeps us honest, and Solaris happy. a=pinkerton 1999-02-19 02:54:53 +00:00
mcafee%netscape.com
65b910addc Solaris needs newline at end of file. 1999-02-19 02:43:26 +00:00
mcafee%netscape.com
024d71b7d8 Fixing return types and swtich to proper PR_TRUE/PR_FALSE types. r=akkana@netscape.com 1999-02-19 02:32:58 +00:00