Commit Graph

419 Commits

Author SHA1 Message Date
vidur%netscape.com
8723f8326b Added XML display support. Split nsGenericHTMLElement into generic and HTML-specific components. Minor style modification. New XML classes and interfaces. 1998-11-11 22:06:16 +00:00
rickg%netscape.com
d3b71028ee enabled view-source 1998-11-11 20:31:45 +00:00
rickg%netscape.com
c737f0ffa8 first pass support for view-source 1998-11-11 11:55:32 +00:00
cls%seawood.org
288a1c7f8c Fixes to resource install for xpfe. Fixes to make MOZ_NATIVE_* work again. Thanks to Jeremy Lea <reg@shale.csir.co.za> for the diffs. 1998-11-11 01:53:49 +00:00
karnaze%netscape.com
0051a7f8b8 fixed <frameset frameborder=no> allowed frame resizing 1998-11-10 20:49:51 +00:00
kipp%netscape.com
21c0ad58b2 Added a reminder to the ua.css 1998-11-10 18:00:46 +00:00
rickg%netscape.com
a572a000de changed contentsink API to support XML 1998-11-10 04:13:59 +00:00
karnaze%netscape.com
aec75f892e form control content attribute changes (not all) reflected in layout; fixed scrolling on <iframe>, <frame>;
added nsImageControlFrame to handle <input type=image>.
1998-11-09 23:30:16 +00:00
troy%netscape.com
cc256d154b Fixed ConstructFrame() so it creates the scroll frame first. This ensures
the style context hierarchy is correct
1998-11-06 17:57:24 +00:00
troy%netscape.com
3c62625d97 Added support for using foreground color and background color from user
preferences. Also made it so we observe the preferences, get a callback if
they change, and then do a style change reflow
1998-11-06 16:16:01 +00:00
peterl%netscape.com
4b024efc62 added default style for INS, DEL & DFN 1998-11-06 00:51:46 +00:00
michaelp%netscape.com
dff35cf838 removed widget parameters from nsIView::Init(). added CreateWidget() and SetWidget()
APIs to replace this functionality. also added CreateScrollControls() to
nsIScrollableView.
1998-11-04 04:14:10 +00:00
peterl%netscape.com
cedec7bc27 sync to style resolution api changes 1998-11-03 20:33:43 +00:00
peterl%netscape.com
66e00aeb03 added inherit rules for table child elements 1998-11-03 20:25:23 +00:00
troy%netscape.com
fe4e76d9d9 Renamed HaveConstrainedWidth() and HaveConstrainedHeight() to HaveFixedContentWidth()
and HaveFixedContentHeight()
1998-11-01 01:29:00 +00:00
kipp%netscape.com
e09b41d06b Removed bogus line-height that caused lots of tables to look wrong (bug #636) 1998-10-31 00:23:52 +00:00
troy%netscape.com
f9c8d7ff13 Changed to ignore SCRIPT tags that aren't JavaScript language 1998-10-30 03:36:35 +00:00
troy%netscape.com
c16076d5ca Changed to use a scroll frame for the BODY 1998-10-29 23:25:02 +00:00
cls%seawood.org
411ab80ce3 New autoconf files for nglayout 1998-10-28 03:53:57 +00:00
michaelp%netscape.com
15de205f12 changes for removal of zindex from nsIView::Init(). 1998-10-27 03:37:03 +00:00
vidur%netscape.com
68fbf6a357 Added additional parameter to nsIContent::SetDocument. The document now tells content to lose its weak reference before the document goes away. Elements and text now add their script objects as roots so they don't get collected prematurely. 1998-10-26 23:26:01 +00:00
peterl%netscape.com
055f6c9ae8 renamed cursor values 1998-10-26 23:14:45 +00:00
mcafee%netscape.com
9515c34572 Fixing Linux bustage 1998-10-25 22:07:11 +00:00
troy%netscape.com
3441ff97d9 Changed some comments 1998-10-24 05:03:55 +00:00
karnaze%netscape.com
bcf54e9139 fixed frameborder=0 for <IFRAME>s 1998-10-23 17:52:45 +00:00
troy%netscape.com
d5a29f7d19 Turned back on support for LAYER element 1998-10-23 04:20:08 +00:00
karnaze%netscape.com
2a0c2366bb implemented <LABEL>; document maintains list of forms as created; form element properly releases form controls. 1998-10-22 23:00:37 +00:00
troy%netscape.com
9b9a796719 Added new pseudo class style :SCROLLED-CONTENT 1998-10-22 20:12:34 +00:00
rpotts%netscape.com
c8ca4c5060 Fixed bug #1159. Reference counting bug related to forms... 1998-10-21 09:26:33 +00:00
vidur%netscape.com
f9e3760137 Updated DOM interfaces to match final W3C recommendation. Modified IDL compiler to take IIDs 1998-10-20 17:07:23 +00:00
valeski%netscape.com
34e7b6b15f Raptor only. Extending the META tag http-equiv handling code to handle arbitrary http-equivs. We were previously just handing the "Refresh" case. 1998-10-20 00:18:19 +00:00
troy%netscape.com
c1e6962039 Changed a SetFrameState call to not clobber the NS_FRAME_SYNC_FRAME_AND_VIEW
flag
1998-10-17 04:00:58 +00:00
karnaze%netscape.com
9fb22bd084 html 4 <BUTTON> basic functionality 1998-10-17 00:35:32 +00:00
kipp%netscape.com
b53160a31e Moved bullet pseudo-style next to LI defns to make it clear how to keep them in sync 1998-10-16 23:18:18 +00:00
kipp%netscape.com
e38d304eb9 Make default line-height be normal 1998-10-16 22:05:03 +00:00
kipp%netscape.com
fb3e6503a0 Create style context for blank frame; added in some missing release calls 1998-10-15 05:13:21 +00:00
kipp%netscape.com
9fb39f0732 Setup display:none for NOEMBED, NOSCRIPT and NOFRAMES 1998-10-15 05:11:23 +00:00
karnaze%netscape.com
c82d985b8a fixed bug 958, checkboxes wrong background when not checked, select always multiple, text & texarea not reset. html 4 button work in progress. 1998-10-13 21:31:26 +00:00
peterl%netscape.com
7adba8a6ce shifted absolute font sizes so initial value matches HTML
removed table border style
1998-10-13 19:12:19 +00:00
peterl%netscape.com
32c0a6bc30 made type optional on linked style sheets 1998-10-13 19:11:42 +00:00
kipp%netscape.com
912c7c84c5 Removed an unused include 1998-10-12 18:45:25 +00:00
kipp%netscape.com
a77548baff Removed nsCSSLayout::GetStyleSize and converted callers to use state in the html reflow state 1998-10-12 17:00:32 +00:00
kipp%netscape.com
ea5a5735f5 Added an nsIPresContext& to html-reflow-state's ctors and used it to implement better percentage width/height handling 1998-10-12 14:48:02 +00:00
troy%netscape.com
d25a9a35a2 Removed GetContentIndex() from nsIFrame 1998-10-08 20:35:16 +00:00
karnaze%netscape.com
63f45a785b inline, shrinkwrap support for fieldsets, legneds 1998-10-08 19:04:57 +00:00
karnaze%netscape.com
42797648cf fieldset, legend support. fixed bug #987 1998-10-08 04:38:41 +00:00
vidur%netscape.com
7cff1485c8 Implemented style sheet and style rule interfaces on CSS classes. Made public new entry point for CSSParser for adding new imports. 1998-10-06 01:39:33 +00:00
troy%netscape.com
7e64653dab Changed ReflowChild() to send the WillReflow() notification as well 1998-10-06 00:27:22 +00:00
kipp%netscape.com
b930a037f5 Support changing the src url 1998-10-02 21:59:59 +00:00
troy%netscape.com
e37240541c Temp hack to fix Linux circular linkage problem 1998-10-02 04:32:11 +00:00
troy%netscape.com
7aceb4270d Eliminated nsIRunaround interface, and folded space manager parameter into
nsHTMLReflowState structure
1998-10-02 04:10:00 +00:00
michaelp%netscape.com
9b82a28284 modified for new fontmetrics/renderingcontext. 1998-10-02 01:12:39 +00:00
joki%netscape.com
02fa10b9f2 Adding new js window methods/props, moving js string evaluation to UC strings. 1998-10-01 22:23:48 +00:00
rpotts%netscape.com
845b37a8bb Initialize the nsIURLGroup from the document base URL... 1998-10-01 21:45:20 +00:00
troy%netscape.com
ba3c7125c2 Separated reflow process out of nsIFrame and into nsIFrameReflow. Also
added nsIHTMLReflow, which is an HTML specific reflow interface
1998-10-01 04:46:11 +00:00
kipp%netscape.com
9c4b2f1a1d Better margins 1998-09-29 22:35:24 +00:00
kipp%netscape.com
157e4294d7 nuked 1998-09-28 23:32:03 +00:00
buster%netscape.com
e22b1b2f29 minor cleanup, removed references to obsolete table content factory methods. 1998-09-28 23:16:39 +00:00
kipp%netscape.com
cfa13731e2 Added FIELDSET and LEGEND preliminary support 1998-09-28 21:52:10 +00:00
kipp%netscape.com
1e75853398 Diable body margin for now until rendering problem with background images is resolved 1998-09-26 17:15:07 +00:00
kipp%netscape.com
85f4e23d94 Added rules to properly setup HTML and BODY and FRAMESET 1998-09-25 23:38:10 +00:00
kipp%netscape.com
3885b8f0b0 Don't block incremental loading reflows because of mInMonolithicContainer (it was necessary early on, now it isn't) 1998-09-25 17:30:59 +00:00
peterl%netscape.com
8582fa89ce removed table default values 1998-09-25 01:49:27 +00:00
vidur%netscape.com
b4fc446c94 Added new style interfaces. Implemented getStyle() on HTMLElement. Moved DOM fields into side struct for nsGenericHTMLElement. Implemented style declaration interface on proxy. Added new entry point to CSSParser and new methods to style declaration. 1998-09-25 00:51:45 +00:00
kipp%netscape.com
a388e31cbd Fixed up includes to not depend on old content model classes 1998-09-24 21:37:45 +00:00
kipp%netscape.com
77548847c2 Added bullet pseudo-style 1998-09-24 21:36:21 +00:00
troy%netscape.com
f54279e62f Removed mChildCount from nsContainerFrame 1998-09-24 17:56:35 +00:00
karnaze%netscape.com
fb883f1869 Converted forms to use the new content model classes and better separate content from layout. 1998-09-23 17:16:51 +00:00
kipp%netscape.com
aa0e54c319 Some improvement to list layout 1998-09-23 02:33:37 +00:00
kipp%netscape.com
fa0fd8dac0 Removed unused include 1998-09-23 02:33:23 +00:00
buster%netscape.com
6b5085a487 set all the groundwork for FAST table layout based on CSS-2 table-layout property 1998-09-22 23:36:06 +00:00
peterl%netscape.com
b68e81bebd don't set attributes that are already set 1998-09-22 02:09:26 +00:00
troy%netscape.com
62b1375f69 Removed farme enumeration member functions for indexed access, last child,
and child count
1998-09-19 03:24:26 +00:00
troy%netscape.com
f80fdc69aa Removed CreateFrame() from nsIHTMLContent 1998-09-18 18:04:42 +00:00
valeski%netscape.com
bab22077b8 ? network/module/nsNetFactory.cpp
Added nsNetFactory implementation. This allows users to retrieve nsINetService pointers from the service factory manager.

M dom/src/base/nsGlobalWindow.cpp
M gfx/src/nsImageNetContextSync.cpp
M layout/html/document/src/nsHTMLDocument.cpp
M network/module/nsURL.cpp
Replaced NS_NewINetService() calls with nsServiceManager::GetService() calls.

M network/module/Makefile
M network/module/makefile.win
Added nsNetFactory.cpp to the builds.

M network/module/nsINetService.h
Added a #define for the class id of the nsNetService.

M network/module/nsIStreamListener.h
Removed the NS_DEFINE_IID of kIStreamListenerIID from the header file. Each module that wants this will need to delcare it themselves.

M network/module/nsNetFile.cpp
Fixed memory leak.

M network/module/nsNetService.cpp
Globalized the gNetlibService variable so the NetFactory can access it.

M webshell/src/nsDocLoader.cpp
M webshell/src/nsPluginViewer.cpp
NS_DEFINE_IID of kIStreamListenerIID

M webshell/tests/viewer/nsSetupRegistry.cpp
Added the netlib library to the list of libraries in the registry and register the nsNetFactory with the appropriate iid and clsids.
1998-09-17 00:55:35 +00:00
buster%netscape.com
953b2efb58 nsStyleConsts.h added some HTML 4 consts for tables
nsHTMLAtoms.cpp,h             added some HTML 4 strings for tables
nsHTMLParts.h                 added constructors for new table content classes
nsGenericHTMLElement.cpp,h    added table frame creation, common table attribute parsing
nsHTMLTable*Element.cpp       these are the new table content classes
nsHTMLContentSink.cpp         enabled the new content and removed the old
nsHTMLStyleSheet.cpp          fixed the table style optimizations to work with new content
nsTable*Frame.cpp             these work with the new content
1998-09-15 17:58:24 +00:00
troy%netscape.com
f30debacdb Changed to explicitly create frame of type frameset or outer frame instead
of using CreateFrame() which will be going away
1998-09-13 02:45:07 +00:00
kipp%netscape.com
f877659693 Fixup AddRef/Release and some constructors to use NS_ADDREF (etc) macros 1998-09-12 19:33:48 +00:00
peterl%netscape.com
749f0404c6 properly addref attr stylesheet before returning 1998-09-12 02:43:19 +00:00
vidur%netscape.com
67406f8fe7 Fixed document.writeln problem from http://www.legomindspring.com 1998-09-12 00:04:22 +00:00
kipp%netscape.com
dcf6b5fd92 Use InitialReflow to layout the image document instead of ResizeReflow so that images layout properly 1998-09-11 04:20:30 +00:00
troy%netscape.com
58260397be Fixed frameset crash 1998-09-10 20:37:19 +00:00
troy%netscape.com
effef91cf6 Phase one of frame construction changes 1998-09-10 19:32:14 +00:00
karnaze%netscape.com
b1f8c627cd in document, renamed nsHTMLFrame.cpp, nsHTMLFrameset.h, nsHTMLFrameset.cpp 1998-09-10 17:23:31 +00:00
peterl%netscape.com
ff3b13ac05 sync css declaration to xif with new api 1998-09-10 01:16:25 +00:00
karnaze%netscape.com
54acf2fc86 changed case sensitive include for unix 1998-09-10 00:39:38 +00:00
karnaze%netscape.com
1c1a6dacaf converted frame/iframe/frameset to new layout/content separation 1998-09-09 23:30:30 +00:00
kipp%netscape.com
9761c43652 Support direct loading of image documents by using the GetImageFromStream method on the image group. 1998-09-09 16:19:30 +00:00
joki%netscape.com
2fdc3c0534 Do not allow script errors to stop page parsing. 1998-09-09 01:19:52 +00:00
kipp%netscape.com
c370fc4b19 Create HTML-html-element not a root part 1998-09-08 22:38:17 +00:00
rods%netscape.com
1a4caf4bed Changed Find to use all nsIDOMxxx classes instead of nsIContent 1998-09-08 22:13:29 +00:00
kipp%netscape.com
b097632eb3 Create text using NS_NewTextNode API 1998-09-06 00:21:22 +00:00
kipp%netscape.com
cae3221de5 Use nsITextContent to initialize text node 1998-09-06 00:20:59 +00:00
peterl%netscape.com
0fec5be8c0 changed the way map attributes into is connected 1998-09-05 04:00:06 +00:00
peterl%netscape.com
2852de4218 added content directory to includes 1998-09-05 03:56:08 +00:00
vidur%netscape.com
ab080b4586 New content code adjusts to getting script objects through a factory interface 1998-09-04 23:03:16 +00:00
kipp%netscape.com
3ff0090bfa Fixed bug in handling of textarea that caused them to terminate documents 1998-09-04 16:33:40 +00:00
rods%netscape.com
98d1b215ed Fixed up Find to include Replace, replace will be moved to it's
own place later.
1998-09-04 15:41:20 +00:00
kipp%netscape.com
c1c5420452 Use new wbr element 1998-09-04 01:03:20 +00:00
kipp%netscape.com
9bf9f83150 Create spacer element instead of obsolete spacer part 1998-09-04 00:52:49 +00:00
kipp%netscape.com
388e2dfab9 Use new content class instead of the old obsolete one 1998-09-04 00:20:14 +00:00
kipp%netscape.com
b869a47308 Make more objects invisible 1998-09-03 22:23:22 +00:00
kipp%netscape.com
35e29f264c Use new content objects wherever possible 1998-09-03 22:23:09 +00:00
rods%netscape.com
9422257982 Fixed Find (still need to do more clean up) 1998-09-03 20:09:33 +00:00
joki%netscape.com
3d77bc69e3 Standardize order during content creation to be setDoc, addAttr, appendChild 1998-09-03 01:23:12 +00:00
karnaze%netscape.com
90951aa3b9 frameset/frame border resizing via mouse; NORESIZE, BORDERCOLOR 1998-09-03 01:16:27 +00:00
kipp%netscape.com
4461ba7472 Use new element ctors 1998-09-02 23:53:49 +00:00
peterl%netscape.com
ff11f4fc1d added DTD mode 1998-09-02 02:07:42 +00:00
peterl%netscape.com
7db7e48608 reversed style sheet order in the set
added DTD mode
1998-09-02 02:06:39 +00:00
kipp%netscape.com
9b03021e16 Added some style rules for new content objects 1998-09-01 01:37:43 +00:00
kipp%netscape.com
11cfcc38c6 Implement NS_CreateHTMLElement using same code that content sink uses; create various and sundry new content objects 1998-09-01 01:37:17 +00:00
kipp%netscape.com
fa5ddce270 Stop building nsHTMLParts.cpp (obsolete) 1998-09-01 01:36:39 +00:00
warren%netscape.com
b89e7efaca Renamed NSRepository to nsRepository. 1998-09-01 00:26:28 +00:00
kipp%netscape.com
34b4a81f99 Make sure we don't run off the end of the string when translating entities in attribute values 1998-08-31 22:00:04 +00:00
rods%netscape.com
f03be582e3 Fixed several crash bugs in Find 1998-08-31 21:56:57 +00:00
kipp%netscape.com
3b1fc0b12f Use NS_NewHTMLBR to create BR content objects 1998-08-31 18:40:39 +00:00
kipp%netscape.com
bd83087288 Added entity reduction for attributes; fixed a bug with incremental loading that would cause some content to seemingly disappear 1998-08-31 17:51:32 +00:00
troy%netscape.com
ad9a20da0b Changes nsIView and nsIScrollableView interfaces to conform to
XPCOM conventions
1998-08-30 19:16:11 +00:00
kipp%netscape.com
e326124bd3 Fixed bug introduced during nsIContent porting 1998-08-29 20:44:42 +00:00
kipp%netscape.com
c6290fa577 XPCOM'ized nsIContent and nsIHTMLContent 1998-08-29 20:20:38 +00:00
kipp%netscape.com
a832ecd31c Create anchors using NS_NewHTMLAnchor 1998-08-29 03:17:02 +00:00
kipp%netscape.com
eb4f73dcef Use new factory method for HR's 1998-08-28 23:27:55 +00:00
kipp%netscape.com
99da657d8a Use kIHTMLContentSinkIID so that inferior compilers will work 1998-08-28 21:29:50 +00:00
rods%netscape.com
98b6b776be Fixed ref count problem in FindNext (should be able to switch docs now) 1998-08-28 19:55:03 +00:00
rods%netscape.com
4980b2afad Added a couple of data members to the header and cleanup some of the
ref count problems
1998-08-28 18:15:14 +00:00
kipp%netscape.com
05a470d0c4 Spanked hard to support multiple sink contexts; incremental reflow now happens only on WillInterrupt 1998-08-28 16:20:16 +00:00
rods%netscape.com
4a8c2454f5 Added Find/Search capability and supporting methods 1998-08-28 15:55:31 +00:00
troy%netscape.com
6cb09b5132 Changed nsIViewManager interface to conform to XPCOM conventions 1998-08-28 04:56:56 +00:00
peterl%netscape.com
2da00e6501 made col tag be handled as a leaf 1998-08-27 00:48:53 +00:00
troy%netscape.com
23feb93c16 Work in progress for LAYER tag 1998-08-26 02:23:21 +00:00
joki%netscape.com
46137420c0 Modifying nsIContent's AppendChild -> AppendChildTo to stop conflict with
DOM interfaces.
1998-08-21 21:38:26 +00:00
jevering%netscape.com
315a575c78 Moved the ART image hack to the tip. 1998-08-20 22:10:06 +00:00
rpotts%netscape.com
f206c224ca moving 3.23.4.1 to the tip... 1998-08-20 06:16:32 +00:00
troy%netscape.com
695e20e125 Destructor now releases ref to image maps 1998-08-15 16:25:33 +00:00
scullin%netscape.com
39b83242e3 Checked in api changes and some other small changes from the branch. 1998-08-14 23:08:54 +00:00
troy%netscape.com
358b26c689 Added NS_RELEASE in ProcessTEXTAREATag(). This fixes a problem with
text area content objects being leaked
1998-08-14 05:21:43 +00:00
valeski%netscape.com
f93dea794e 310133 - Injected code into HTMLContentSink::ProcessMETATag() to check for an "http-equiv" header (specifically the Refresh header). If found, an nsIHTTPUrl interface is retrieved so the "http-equiv" header can be added to the url struct. 1998-08-13 20:09:10 +00:00
joki%netscape.com
c316d58438 Adding url and lineno to script evaluation 1998-08-12 23:37:50 +00:00
joki%netscape.com
3c6cb25a6b Fix script src equals problem when src contained in quotes. 1998-08-12 22:28:50 +00:00
kipp%netscape.com
7cfac8916c Use new forwarding macros 1998-08-12 18:00:04 +00:00
troy%netscape.com
9fcc472d50 Fixed leak of an HTML Meta content object 1998-08-12 05:27:21 +00:00
troy%netscape.com
08a675a1ca Fixed a leak of the HTML title 1998-08-12 01:36:25 +00:00
troy%netscape.com
46c56f731a Added NS_RELEASE in FlushText() of interface returned from QueryInterface() 1998-08-11 22:44:28 +00:00
karnaze%netscape.com
3d225ad8ac removed references to nsIWebFrame 1998-08-11 21:13:37 +00:00
karnaze%netscape.com
6695e6c177 removed nsIWebFrame 1998-08-11 18:52:35 +00:00
kipp%netscape.com
1a2351620b Elminated top/bottom margins around center tags 1998-08-11 15:32:12 +00:00
kipp%netscape.com
bcf5a7235b Make sure text at the end of the document is reflowed properly 1998-08-11 00:19:11 +00:00
peterl%netscape.com
bc1110caa7 connected LINKed style sheets 1998-08-10 23:02:39 +00:00
kipp%netscape.com
bc2b4662fd Fixed documents w/o titles bug #313016 1998-08-10 17:39:48 +00:00
karnaze%netscape.com
6837a9ba6b adjusted sizing for text controls; default control is text; assertion cleanup 1998-08-10 04:28:17 +00:00