284 Commits

Author SHA1 Message Date
vidur%netscape.com
c67a7ad987 Changes to allow disabling and enabling of style sheets. Introduced ReconstructFrames to nsIFrameConstructor. CSSStyleSheets now remember their document. Temporary fix to allow text content inside CSS tables.
git-svn-id: svn://10.0.0.236/trunk@14781 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-17 02:14:38 +00:00
vidur%netscape.com
b0070d4d60 First pass to allow HTML forms to be embedded inside XML documents.
git-svn-id: svn://10.0.0.236/trunk@14731 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-16 06:16:17 +00:00
joki%netscape.com
a9b12553ca DOM Support: nsHTMLDocument body property
git-svn-id: svn://10.0.0.236/trunk@14538 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-12 22:25:51 +00:00
vidur%netscape.com
84598f1f88 Factored GetAttributStyleSheet method into separate nsHTMLContentContainer interface that can be implemented by both HTML and XML document classes.
git-svn-id: svn://10.0.0.236/trunk@14502 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-12 07:54:12 +00:00
vidur%netscape.com
118281d675 Added XML display support. Split nsGenericHTMLElement into generic and HTML-specific components. Minor style modification. New XML classes and interfaces.
git-svn-id: svn://10.0.0.236/trunk@14467 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-11 22:06:16 +00:00
rickg%netscape.com
208f37c790 enabled view-source
git-svn-id: svn://10.0.0.236/trunk@14454 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-11 20:31:45 +00:00
rickg%netscape.com
e507069774 first pass support for view-source
git-svn-id: svn://10.0.0.236/trunk@14424 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-11 11:55:32 +00:00
rickg%netscape.com
0af9e4b202 changed contentsink API to support XML
git-svn-id: svn://10.0.0.236/trunk@14324 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-10 04:13:59 +00:00
troy%netscape.com
134f2d6f55 Changed to ignore SCRIPT tags that aren't JavaScript language
git-svn-id: svn://10.0.0.236/trunk@13709 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-30 03:36:35 +00:00
vidur%netscape.com
48cc145a5a 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.
git-svn-id: svn://10.0.0.236/trunk@13518 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-26 23:26:01 +00:00
troy%netscape.com
a21eaed68f Turned back on support for LAYER element
git-svn-id: svn://10.0.0.236/trunk@13361 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-23 04:20:08 +00:00
karnaze%netscape.com
d89b691fba implemented <LABEL>; document maintains list of forms as created; form element properly releases form controls.
git-svn-id: svn://10.0.0.236/trunk@13346 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-22 23:00:37 +00:00
rpotts%netscape.com
2ddf7cd9af Fixed bug #1159. Reference counting bug related to forms...
git-svn-id: svn://10.0.0.236/trunk@13244 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-21 09:26:33 +00:00
vidur%netscape.com
a0e09b1568 Updated DOM interfaces to match final W3C recommendation. Modified IDL compiler to take IIDs
git-svn-id: svn://10.0.0.236/trunk@13207 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-20 17:07:23 +00:00
valeski%netscape.com
87b79bdc01 Raptor only. Extending the META tag http-equiv handling code to handle arbitrary http-equivs. We were previously just handing the "Refresh" case.
git-svn-id: svn://10.0.0.236/trunk@13149 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-20 00:18:19 +00:00
karnaze%netscape.com
fd96ba4fea fixed bug 958, checkboxes wrong background when not checked, select always multiple, text & texarea not reset. html 4 button work in progress.
git-svn-id: svn://10.0.0.236/trunk@12735 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-13 21:31:26 +00:00
peterl%netscape.com
12b4734f6d made type optional on linked style sheets
git-svn-id: svn://10.0.0.236/trunk@12707 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-13 19:11:42 +00:00
karnaze%netscape.com
fbe88e6504 fieldset, legend support. fixed bug #987
git-svn-id: svn://10.0.0.236/trunk@12266 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-08 04:38:41 +00:00
vidur%netscape.com
f98b82c871 Implemented style sheet and style rule interfaces on CSS classes. Made public new entry point for CSSParser for adding new imports.
git-svn-id: svn://10.0.0.236/trunk@11996 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-06 01:39:33 +00:00
troy%netscape.com
c2f93fd8d3 Temp hack to fix Linux circular linkage problem
git-svn-id: svn://10.0.0.236/trunk@11750 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-02 04:32:11 +00:00
joki%netscape.com
0cea84a3d0 Adding new js window methods/props, moving js string evaluation to UC strings.
git-svn-id: svn://10.0.0.236/trunk@11715 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-01 22:23:48 +00:00
rpotts%netscape.com
e21a064e33 Initialize the nsIURLGroup from the document base URL...
git-svn-id: svn://10.0.0.236/trunk@11702 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-01 21:45:20 +00:00
kipp%netscape.com
5c11554cef Don't block incremental loading reflows because of mInMonolithicContainer (it was necessary early on, now it isn't)
git-svn-id: svn://10.0.0.236/trunk@11049 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-25 17:30:59 +00:00
vidur%netscape.com
ae2d56cabc 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.
git-svn-id: svn://10.0.0.236/trunk@11002 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-25 00:51:45 +00:00
karnaze%netscape.com
ea90ff591e Converted forms to use the new content model classes and better separate content from layout.
git-svn-id: svn://10.0.0.236/trunk@10800 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-23 17:16:51 +00:00
peterl%netscape.com
1de0d0e996 don't set attributes that are already set
git-svn-id: svn://10.0.0.236/trunk@10657 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-22 02:09:26 +00:00
valeski%netscape.com
edf8a94dff ? 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.


git-svn-id: svn://10.0.0.236/trunk@10234 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-17 00:55:35 +00:00
buster%netscape.com
1c8d847337 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


git-svn-id: svn://10.0.0.236/trunk@10047 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-15 17:58:24 +00:00
kipp%netscape.com
10b6617c48 Fixup AddRef/Release and some constructors to use NS_ADDREF (etc) macros
git-svn-id: svn://10.0.0.236/trunk@9955 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-12 19:33:48 +00:00
peterl%netscape.com
67d0ec8374 properly addref attr stylesheet before returning
git-svn-id: svn://10.0.0.236/trunk@9923 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-12 02:43:19 +00:00
vidur%netscape.com
fb061b8d52 Fixed document.writeln problem from http://www.legomindspring.com
git-svn-id: svn://10.0.0.236/trunk@9905 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-12 00:04:22 +00:00
kipp%netscape.com
fd10278074 Use InitialReflow to layout the image document instead of ResizeReflow so that images layout properly
git-svn-id: svn://10.0.0.236/trunk@9817 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-11 04:20:30 +00:00
troy%netscape.com
a445aaa66a Fixed frameset crash
git-svn-id: svn://10.0.0.236/trunk@9752 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-10 20:37:19 +00:00
troy%netscape.com
0c4b9521d5 Phase one of frame construction changes
git-svn-id: svn://10.0.0.236/trunk@9742 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-10 19:32:14 +00:00
peterl%netscape.com
b2413c6722 sync css declaration to xif with new api
git-svn-id: svn://10.0.0.236/trunk@9701 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-10 01:16:25 +00:00
karnaze%netscape.com
e382cf5f41 converted frame/iframe/frameset to new layout/content separation
git-svn-id: svn://10.0.0.236/trunk@9679 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-09 23:30:30 +00:00
kipp%netscape.com
5d665f2238 Support direct loading of image documents by using the GetImageFromStream method on the image group.
git-svn-id: svn://10.0.0.236/trunk@9625 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-09 16:19:30 +00:00
joki%netscape.com
8458f73950 Do not allow script errors to stop page parsing.
git-svn-id: svn://10.0.0.236/trunk@9587 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-09 01:19:52 +00:00
kipp%netscape.com
9d8f9aaffa Create HTML-html-element not a root part
git-svn-id: svn://10.0.0.236/trunk@9564 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-08 22:38:17 +00:00
rods%netscape.com
5b61252657 Changed Find to use all nsIDOMxxx classes instead of nsIContent
git-svn-id: svn://10.0.0.236/trunk@9550 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-08 22:13:29 +00:00
kipp%netscape.com
7c684bbb7c Create text using NS_NewTextNode API
git-svn-id: svn://10.0.0.236/trunk@9452 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-06 00:21:22 +00:00
kipp%netscape.com
e9662bac89 Use nsITextContent to initialize text node
git-svn-id: svn://10.0.0.236/trunk@9451 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-06 00:20:59 +00:00
vidur%netscape.com
c849307960 New content code adjusts to getting script objects through a factory interface
git-svn-id: svn://10.0.0.236/trunk@9387 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-04 23:03:16 +00:00
kipp%netscape.com
d7cef5dc99 Fixed bug in handling of textarea that caused them to terminate documents
git-svn-id: svn://10.0.0.236/trunk@9338 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-04 16:33:40 +00:00
rods%netscape.com
807f7d7725 Fixed up Find to include Replace, replace will be moved to it's
own place later.


git-svn-id: svn://10.0.0.236/trunk@9336 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-04 15:41:20 +00:00
kipp%netscape.com
745aee0c4c Use new wbr element
git-svn-id: svn://10.0.0.236/trunk@9311 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-04 01:03:20 +00:00
kipp%netscape.com
f22d94b95a Create spacer element instead of obsolete spacer part
git-svn-id: svn://10.0.0.236/trunk@9302 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-04 00:52:49 +00:00
kipp%netscape.com
ca034ab855 Use new content class instead of the old obsolete one
git-svn-id: svn://10.0.0.236/trunk@9289 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-04 00:20:14 +00:00
kipp%netscape.com
93c3e23672 Use new content objects wherever possible
git-svn-id: svn://10.0.0.236/trunk@9265 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-03 22:23:09 +00:00
rods%netscape.com
b52be5a0e7 Fixed Find (still need to do more clean up)
git-svn-id: svn://10.0.0.236/trunk@9226 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-03 20:09:33 +00:00