Commit Graph
64 Commits
Author SHA1 Message Date
joki@netscape.com cab3804dc8 DOM Support: nsHTMLDocument body property 1998-11-12 22:25:51 +00:00
vidur@netscape.com c54d5ef241 Factored GetAttributStyleSheet method into separate nsHTMLContentContainer interface that can be implemented by both HTML and XML document classes. 1998-11-12 07:54:12 +00:00
vidur@netscape.com b3a92397d8 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 3cce989b0d enabled view-source 1998-11-11 20:31:45 +00:00
rickg@netscape.com 22a58b61b5 first pass support for view-source 1998-11-11 11:55:32 +00:00
karnaze@netscape.com fa55ae1d49 implemented <LABEL>; document maintains list of forms as created; form element properly releases form controls. 1998-10-22 23:00:37 +00:00
rpotts@netscape.com a798a53800 Fixed bug #1159. Reference counting bug related to forms... 1998-10-21 09:26:33 +00:00
vidur@netscape.com 8ea538c90c Updated DOM interfaces to match final W3C recommendation. Modified IDL compiler to take IIDs 1998-10-20 17:07:23 +00:00
vidur@netscape.com 5e881108dc 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
rpotts@netscape.com 898be4b6b7 Initialize the nsIURLGroup from the document base URL... 1998-10-01 21:45:20 +00:00
vidur@netscape.com 85ebec76c8 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
karnaze@netscape.com 7b63e3793e Converted forms to use the new content model classes and better separate content from layout. 1998-09-23 17:16:51 +00:00
valeski@netscape.com 8794752dd8 ? 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
kipp@netscape.com 13c7864250 Fixup AddRef/Release and some constructors to use NS_ADDREF (etc) macros 1998-09-12 19:33:48 +00:00
peterl@netscape.com 2f66bcec7a properly addref attr stylesheet before returning 1998-09-12 02:43:19 +00:00
vidur@netscape.com f3e8461d31 Fixed document.writeln problem from http://www.legomindspring.com 1998-09-12 00:04:22 +00:00
rods@netscape.com 5ce7642116 Changed Find to use all nsIDOMxxx classes instead of nsIContent 1998-09-08 22:13:29 +00:00
kipp@netscape.com de3afaae63 Create text using NS_NewTextNode API 1998-09-06 00:21:22 +00:00
vidur@netscape.com 81b2fa3fe3 New content code adjusts to getting script objects through a factory interface 1998-09-04 23:03:16 +00:00
rods@netscape.com f5e82ca312 Fixed up Find to include Replace, replace will be moved to it's
own place later.
1998-09-04 15:41:20 +00:00
rods@netscape.com ac6744abc1 Fixed Find (still need to do more clean up) 1998-09-03 20:09:33 +00:00
peterl@netscape.com f4cdff6f44 reversed style sheet order in the set
added DTD mode
1998-09-02 02:06:39 +00:00
warren@netscape.com 10ebd4b998 Renamed NSRepository to nsRepository. 1998-09-01 00:26:28 +00:00
rods@netscape.com e5735fb445 Fixed several crash bugs in Find 1998-08-31 21:56:57 +00:00
kipp@netscape.com 2026b04847 Fixed bug introduced during nsIContent porting 1998-08-29 20:44:42 +00:00
kipp@netscape.com d515f73150 XPCOM'ized nsIContent and nsIHTMLContent 1998-08-29 20:20:38 +00:00
rods@netscape.com 84f4dbdd3d Fixed ref count problem in FindNext (should be able to switch docs now) 1998-08-28 19:55:03 +00:00
rods@netscape.com 13affab50a 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
rods@netscape.com 873f1ebb76 Added Find/Search capability and supporting methods 1998-08-28 15:55:31 +00:00
troy@netscape.com 839e6eb690 Destructor now releases ref to image maps 1998-08-15 16:25:33 +00:00
vidur@netscape.com 12fbf830e2 Implemented additional document and form interfaces. Implemented named elements for documents and forms. nsInput now implements nsIDOMHTMLInputElement. 1998-08-07 23:08:00 +00:00
vidur@netscape.com e3d1511fc1 Added document.forms. Specialized interfaces for images and forms. Better handling of childNodes collection. 1998-08-04 00:05:22 +00:00
spider@netscape.com 331ec5cb13 XPCOM'ing the parser. Use repository to get a parser now. 1998-07-30 22:42:27 +00:00
kipp@netscape.com e97ebd0d50 Remove most compiler warnings on IRIX 1998-07-29 20:19:08 +00:00
kipp@netscape.com a774abb9ff Disable releasing atoms for now 1998-07-27 18:04:58 +00:00
peterl@netscape.com 199a4174a0 added accessor for html style sheet 1998-07-25 01:26:12 +00:00
vidur@netscape.com 4029a278f3 Added document.cookie. HTMLCollection.namedItem looks for both NAME and ID attributes 1998-07-25 00:31:52 +00:00
vidur@netscape.com 038e50b12c nsHTMLDocument now holds on to its parser till loading is complete. Hooked up document.write and document.writeln 1998-07-23 22:06:05 +00:00
vidur@netscape.com d7ad23fc34 Introduced nsContentLists. Added a DocumentWillBeDestroyed method to nsIDocumentObserver. Added a document parameter to all DocumentObserver notifications. Added the nsIDOMHTMLDocument interface to HTMLDocument. Implemented document.images, etc and getElementsByTagName. 1998-07-22 23:32:19 +00:00
kipp@netscape.com 72307bd166 Pass title to web shell if we are wrapped in one 1998-07-19 01:14:53 +00:00
kipp@netscape.com 0a7ce2204e Port to new nsIWebShell and related API's 1998-07-18 21:47:56 +00:00
kostello@netscape.com 826f846a0e 1) Move the CSS dependent methods out of nsDocument and placed them
in a new class nsMarkupDocument. The point of nsMarkupDocument is
to hold methods which are common to HTML and XML but not relevant
to the base nsDocument class.

2) Added Selection support methods for Rod.

3) Added LookupProperty to nsCSSProperty:
Given a property ID and Property Index returns back the string representation
of the property. This was need to convert CSSValues back to strings for saving.
TODO: Make sure that our URL Information stored in a CSSDeclaration contains
enough information to return it to it's original form on output.
1998-07-17 23:00:54 +00:00
rpotts@netscape.com 60d097f83f Split the Content viewer out of the WebWidget. The WebWidget is now a ContentViewer Container (supporting the nsIViewerContainer interface)...nsHTMLDocument.h 1998-07-17 06:30:00 +00:00
vidur 73730b9839 Moved over to a new version of Level 1. NodeIterators and AttributeLists out. NodeLists and NamedNodeMaps in. 1998-07-14 18:44:44 +00:00
rpotts 6e64e9446e Fixed up CVS merge problem that was horking reference counts... 1998-07-11 08:07:17 +00:00
rickg 241a248569 dynamic DTD support 1998-07-10 05:35:23 +00:00
kipp 30b69b95a6 Use NS_CreateHTMLElement to implement dom create-element method 1998-07-03 17:50:25 +00:00
rickg b5524f4ea4 major improvements to parser API's; fixed a few bugs 1998-07-02 08:14:22 +00:00
rpotts be40f95bbc 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
karnaze ce7648d5f4 named <iframe>s, scrolling attribute, more complete test9.html 1998-06-23 22:25:28 +00:00