62 Commits

Author SHA1 Message Date
waterson%netscape.com
4fa6ebaa6d Bug 15460. Expose XML element creation via nsIXMLElementFactory interface. r=kipp.
git-svn-id: svn://10.0.0.236/trunk@49759 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-05 00:12:21 +00:00
vidur%netscape.com
529603023b Converted parser into a module. Removed usage of static parser methods and used nsIParserService and nsIDTD methods instead. To be reviewed by RickG.
git-svn-id: svn://10.0.0.236/trunk@49502 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-30 22:07:04 +00:00
rpotts%netscape.com
22e6b8be31 Changed GetDocumentLoadGroup(...) to be XPCom complient. THis helps prevent leaks when using nsCOMPtrs.
git-svn-id: svn://10.0.0.236/trunk@48177 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-18 06:34:24 +00:00
kipp%netscape.com
8ebf1dd75a Squish a warning or two
git-svn-id: svn://10.0.0.236/trunk@48002 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-17 20:16:37 +00:00
nisheeth%netscape.com
623d44aef7 Work in progress to integrate Keith Visco's XSL processor, Transformiix, into Gecko. All code is protected by #ifdef XSL and will not affect the build.
git-svn-id: svn://10.0.0.236/trunk@44988 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-28 07:31:08 +00:00
vidur%netscape.com
29bf6d365c Changed method signature of EvaluateScript to return nsresult. Added nsJSThreadContextStack pushing and popping around script evaluation.
git-svn-id: svn://10.0.0.236/trunk@43669 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-19 20:36:31 +00:00
nisheeth%netscape.com
40dfc2db3f Fix for bug 11483. Scripts were not getting loaded on XML pages.
git-svn-id: svn://10.0.0.236/trunk@43201 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-11 23:24:59 +00:00
nisheeth%netscape.com
4aa16e828e Adding a new parameter, aMode, to nsIContentSink::AddDocTypeDecl.
git-svn-id: svn://10.0.0.236/trunk@41447 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-28 06:56:05 +00:00
rickg%netscape.com
ba693215ad replaced calls to deprecated nsString API
git-svn-id: svn://10.0.0.236/trunk@41075 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-26 00:37:24 +00:00
vidur%netscape.com
ec6663824d Forms can now be container content.
git-svn-id: svn://10.0.0.236/trunk@40735 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-22 23:28:16 +00:00
warren%netscape.com
f1dfc48c58 Changed around load group insertion/removal to happen on mozilla thread.
git-svn-id: svn://10.0.0.236/trunk@40266 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-20 08:46:33 +00:00
peterl%netscape.com
6bcd11a40a string usage cleanup
sync to new entity api


git-svn-id: svn://10.0.0.236/trunk@39959 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-18 00:34:41 +00:00
nisheeth%netscape.com
c6021c5c5f Removing ifdef XML_PSEUDO_ELEMENT which is never defined.
git-svn-id: svn://10.0.0.236/trunk@39320 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-14 17:59:19 +00:00
warren%netscape.com
5c37d2ec29 Necko stuff for dealing with load groups when opening URLs.
git-svn-id: svn://10.0.0.236/trunk@38929 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-09 21:18:47 +00:00
andreas.otte%primus-online.de
03e69d05c3 NECKO only: replacing GetBuffer with ToNewCString and some error checking
git-svn-id: svn://10.0.0.236/trunk@38458 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-06 23:08:16 +00:00
warren%netscape.com
8b1231e0ae Renamed OnStartBinding/OnStopBinding to OnStartRequest/OnStopRequest (removing the redundant ones from necko). Numerous necko fixes. Necko now using nsIPrompt interface instead of nsINetSupport.
git-svn-id: svn://10.0.0.236/trunk@37754 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-01 19:30:20 +00:00
nisheeth%netscape.com
c35aa58669 Replacing nsIURI.h with nsIURL.h in the include list.
git-svn-id: svn://10.0.0.236/trunk@37192 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-28 15:06:33 +00:00
nisheeth%netscape.com
886c2a8871 Adding the architecture for an external transformation engine to hook into Raptor's layout process. One way this architecture can be used is for doing XSL transforms using a 3rd party component that implements the XSL processor. More details will be posted in mozilla.layout.
Currently enabled on windows only. Set MOZ_XSL to 1 in your environment and build mozilla/layout.


git-svn-id: svn://10.0.0.236/trunk@37191 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-28 14:49:29 +00:00
valeski%netscape.com
33c4d78c11 various #ifdef NECKO fixes.
git-svn-id: svn://10.0.0.236/trunk@37126 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-27 16:12:20 +00:00
warren%netscape.com
fdf6c938bb Necko ifdefs for layout and rdf.
git-svn-id: svn://10.0.0.236/trunk@37005 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-26 06:36:26 +00:00
warren%netscape.com
b870de7299 Renamed nsIURLGroup to nsILoadGroup in preparation for necko.
git-svn-id: svn://10.0.0.236/trunk@36818 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-25 02:17:37 +00:00
warren%netscape.com
06d707be48 Renamed nsIURL to nsIURI in preperation for necko. More NECKO ifdefs too.
git-svn-id: svn://10.0.0.236/trunk@36440 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-23 03:29:44 +00:00
valeski%netscape.com
4fa4e2e84d NECKO ifdef (ifdef'd _off_ by default) this checkin should not impact anything. checkin approved. If someone runs into a problem, call me at 303.546.0061.
git-svn-id: svn://10.0.0.236/trunk@35863 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-18 17:34:08 +00:00
peterl%netscape.com
5acfa76172 sync to css loader api change (default namespace)
git-svn-id: svn://10.0.0.236/trunk@35400 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-15 06:22:46 +00:00
peterl%netscape.com
f7f8d0f24e added code to ignore unknown namespace prefix for attributes
(actually the parser should've rejected it before here)


git-svn-id: svn://10.0.0.236/trunk@34574 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-10 05:33:47 +00:00
nisheeth%netscape.com
4cc391ff22 Fix for bug 4924. Attributes created with no namespace prefix are now assigned no namespace. They were erroneously being assigned the default namespace earlier.
git-svn-id: svn://10.0.0.236/trunk@33685 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-04 01:16:18 +00:00
peterl%netscape.com
5595317476 use css loader to load css sheets
better css handling


git-svn-id: svn://10.0.0.236/trunk@32818 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-26 23:58:06 +00:00
neeti%netscape.com
40c56a54dc Fixed SetEnableRendering() in nsDocumentViewer.cpp
Initialized mEnableRendering in constructors of nsDocumentViewer.cpp and nsPlugin.cpp to a default value of PR_TRU
Do EnableRefresh only if mEnableRendering is set to true in nsHTMLContentSink.cpp,nsXMLContentSink.cpp,
nsXMLContentSink.h


git-svn-id: svn://10.0.0.236/trunk@31441 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-13 20:27:47 +00:00
ftang%netscape.com
35a53c85d8 set the document character set to UTF-8 for XSL document
git-svn-id: svn://10.0.0.236/trunk@29581 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-27 23:42:22 +00:00
ftang%netscape.com
b9f82cb3e5 call SetDocumentCharset method to pass default charset to the parser
git-svn-id: svn://10.0.0.236/trunk@29181 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-26 17:58:50 +00:00
nisheeth%netscape.com
29063e4928 Fix off by one error for arrow that points out XML error locations.
git-svn-id: svn://10.0.0.236/trunk@29054 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-24 10:23:39 +00:00
rickg%netscape.com
2c182956dd update to sync with nsString2
git-svn-id: svn://10.0.0.236/trunk@28669 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-22 05:49:39 +00:00
vidur%netscape.com
fe0a023b26 Added epilog and prolog to document. Added processing instructions and CDATASections for XML. Completed document Node methods.
git-svn-id: svn://10.0.0.236/trunk@25744 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-31 20:49:25 +00:00
nisheeth%netscape.com
1f80f4903a - Beautified error reporting of expat errors. We now don't just dump the error text out as nodes. We create the parsererror and sourcetext HTML nodes that can be styled via ua.css.
git-svn-id: svn://10.0.0.236/trunk@23665 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-11 05:29:36 +00:00
warren%netscape.com
0b33372d99 nsRepository -> nsIComponentManager changes.
git-svn-id: svn://10.0.0.236/trunk@23300 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-09 09:44:27 +00:00
nisheeth%netscape.com
0127c619d0 Changed nsIContentSink->NotifyError() to accept an nsParserError argument. This change is needed for propagating errors from the new expat parser.
git-svn-id: svn://10.0.0.236/trunk@23031 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-06 02:01:11 +00:00
vidur%netscape.com
2041f859c6 Fixes to get CDATASections working again. Also changes to fix XML links.
git-svn-id: svn://10.0.0.236/trunk@22623 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-02 23:22:05 +00:00
kipp%netscape.com
b68d985292 Support entities (bug #3112)
git-svn-id: svn://10.0.0.236/trunk@22143 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 17:13:51 +00:00
scc%netscape.com
726c966a08 updated for nsCOMPtr (no implicit construction from raw pointers) owners should check that they agree with my choices for |dont_QueryInterface|, |do_QueryInterface| and |dont_AddRef|
git-svn-id: svn://10.0.0.236/trunk@21237 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 23:55:10 +00:00
vidur%netscape.com
1defb4fd38 Supported XML namespace decls as attributes of HTML content embedded in XML
git-svn-id: svn://10.0.0.236/trunk@21056 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 00:18:50 +00:00
troy%netscape.com
176116b148 Fixed some errors related to switch to using nsCOMPtr
git-svn-id: svn://10.0.0.236/trunk@20585 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-12 18:41:26 +00:00
kipp%netscape.com
9b917419dc COMized nsIPresShell and nsIPresContext
git-svn-id: svn://10.0.0.236/trunk@20570 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-12 17:45:58 +00:00
peterl%netscape.com
38427deaa9 changed all html atoms to lower case
git-svn-id: svn://10.0.0.236/trunk@20542 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-12 06:19:07 +00:00
peterl%netscape.com
f7bd2c0d45 fixed bug handling multiple namespace declarations in one tag
git-svn-id: svn://10.0.0.236/trunk@19280 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-02 03:24:56 +00:00
vidur%netscape.com
7908dffae7 Fix to get default namespaces to work. Cleanup of DOM handling of character data.
git-svn-id: svn://10.0.0.236/trunk@18189 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-21 19:33:03 +00:00
vidur%netscape.com
d81e61b1ff Moved text and comment code out of HTML-specific directories. Completed CloneNode for elements. Completed factory methods for intersection of XML and HTML.
git-svn-id: svn://10.0.0.236/trunk@17775 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-14 23:14:02 +00:00
vidur%netscape.com
c5e776a818 Second pass of attributes as nodes. Improved namespace management - XML elements now hold on to their containing namespace. Fixed Get/SetDOMAttriute naming issue. Added new namespace parsing methods to nsIContent
git-svn-id: svn://10.0.0.236/trunk@17582 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-12 16:37:24 +00:00
rickg%netscape.com
977421c9eb sync up with mods to the parser
git-svn-id: svn://10.0.0.236/trunk@17435 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-09 01:11:37 +00:00
nisheeth%netscape.com
63b7e2f477 Adding code protected by an ifdef for making the XML content sink initiate
the load of an XSL stylesheet when it sees a stylesheet PI with an XSL
content type.


git-svn-id: svn://10.0.0.236/trunk@16903 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-27 08:24:04 +00:00
peterl%netscape.com
7397117a9f fix spelling
fix namespace of HTML element's attributes


git-svn-id: svn://10.0.0.236/trunk@16739 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-21 05:59:40 +00:00