Commit Graph

147 Commits

Author SHA1 Message Date
pp@ludusdesign.com
d459b2ef64 Converting usage of ::GetIID() to NS_GET_IID().
Bug #20232, r=scc@netscape.com
2000-01-11 20:49:15 +00:00
waterson@netscape.com
88e4acfda2 Balance acquisition of RDF resources by releasing them in the dtor. 1999-11-23 22:30:27 +00:00
dmose@mozilla.org
20621227af updated xPL license boilerplate to v1.1, a=chofmann@netscape.com,r=endico@mozilla.org 1999-11-06 03:43:54 +00:00
cls@seawood.org
824ba18df3 Removed unused NECKO ifdefs.
a=leaf
1999-11-02 23:34:03 +00:00
warren@netscape.com
5d5cf7e6f4 Took out redundant MOZ_COUNT_CTOR/DTOR calls. 1999-10-18 19:21:53 +00:00
rjc@netscape.com
8675ec301d Fix leak in nsXULSortService (found by Boehm GC). Also, remove CTOR_COUNT stuff. Review: waterson@netscape.com 1999-10-15 06:27:02 +00:00
rjc@netscape.com
7b4c4194ae Add in CTOR/DTOR stuff for leak detection. Review: hyatt@netscape.com 1999-10-07 01:51:30 +00:00
slamm@netscape.com
30451b2a62 patch rdf for waterson. Fixed multiple loads of same datasource. 1999-09-29 20:25:41 +00:00
waterson@netscape.com
01eeffd147 Move APIs to create 'anonymous' resources into the RDF service. Fix stuff that was using it. 1999-09-06 19:35:41 +00:00
bruce@cybersight.com
d816ebbb5b Use nsAllocator instead of new[] and nsCRT::free() instead of delete[] for char* data. 1999-09-04 13:42:15 +00:00
dougt@netscape.com
76cfbd51dc Changes nsIAtom iterface to return a shared (non-allocated) wstring when
GetUnicode() is called.  (thanks waterson, jband)

Also fixing 12237.  (thanks jband).
1999-09-03 22:21:29 +00:00
kipp@netscape.com
cf058093ad Use nsAutoString instead of nsCAutoString to avoid double string copy 1999-09-03 03:51:56 +00:00
waterson@netscape.com
d73df87539 Use nsCString instead of nsString for anonymous content nodes. Get rid of use of rdf_Isa(). 1999-09-01 00:50:01 +00:00
dougt@netscape.com
c316095ded xpild-ing nsIAtom. Now nsIAtom is xpcom compliant. 1999-08-21 07:07:00 +00:00
rjc@netscape.com
66a4540a21 If GetNameSpaceID() fails due to a null namespace, now return kNameSpace_None instead of failure. 1999-08-02 06:35:26 +00:00
nisheeth@netscape.com
fd67f88e34 Adding a new parameter, aMode, to nsIContentSink::AddDocTypeDecl. 1999-07-28 06:56:05 +00:00
waterson@netscape.com
5d7626075e Land TEMPLATE_19990726_BRANCH; RDF C++ content model builder exorcism. 1999-07-27 17:20:28 +00:00
waterson@netscape.com
b281056104 Change graph linkage to be 'bottom up' so that streaming RDF places less burden on layout. 1999-07-19 22:02:22 +00:00
peterl@netscape.com
1fbb38967f clean up some string usage 1999-07-18 00:01:21 +00:00
waterson@netscape.com
16ea64123f Clean up compiler warnings. Thanks, slamm. 1999-07-03 04:31:43 +00:00
warren@netscape.com
0dddd47c95 Necko ifdefs for layout and rdf. 1999-06-26 06:36:26 +00:00
waterson@netscape.com
e45449cd92 Land RDF_19990617_BRANCH. Add Change() and Move() methods to nsIRDFDataSource; add OnChange() and OnMove() methods to nsIRDFObserver. Factor nsIRDFDatasource::Init() and ::Flush() into nsIRDFRemoteDataSource. Change ownership model s.t. a datasource reference counts its observers. 1999-06-24 00:22:58 +00:00
warren@netscape.com
753ac43fff Renamed nsIURL to nsIURI in preperation for necko. More NECKO ifdefs too. 1999-06-23 03:29:44 +00:00
peterl@netscape.com
da382816aa added code to ignore unknown namespace prefix for attributes
(actually the parser should've rejected it before here)
1999-06-10 05:18:46 +00:00
waterson@netscape.com
305553dfb9 Bug 7440. Replace rdf_PossiblyMakeRelative() and rdf_PossiblyMakeAbsolute(); use NS_MakeAbsoluteURL() to create absolute URLs, when constructing relative, distinguish between 'name' and 'ref' sites (e.g., 'foo' vs. '#foo'). Misc other fixes to the RDF content sink. 1999-06-09 08:29:51 +00:00
bruce@cybersight.com
dead1f9a14 Remove a shadowing variable declaration. 1999-05-28 06:49:30 +00:00
waterson@netscape.com
1828e02ca2 Factor interfaces into individual .idl files. Add purge support and re-load support to RDF/XML datasource. 1999-05-05 03:09:12 +00:00
waterson@netscape.com
b0d270e09b Land RDF_19990426_BRANCH, which extracted some static C++ routines for manipulating RDF containers into bona fide interfaces. 1999-04-27 05:54:18 +00:00
rickg@netscape.com
5b13286111 update to sync with nsString2 1999-04-22 05:57:36 +00:00
waterson@netscape.com
f347960c71 Bug 4750, 5220. Use correct RDF namespace. Fix incorrect use of RDF prefix on some RDF attributes. 1999-04-21 00:09:41 +00:00
waterson@netscape.com
b5cca8d65f Code cleanup. Got rid of rdf_Assert() functions. 1999-04-17 00:10:18 +00:00
waterson@netscape.com
d841f00e1a Bug 4621. Uninitialized memory read. Many thanks to Bruce Mitchener <bruce@cybersight.com>. a=chofmann@netscape.com 1999-04-07 21:02:29 +00:00
hyatt@netscape.com
199a556c57 Fixing a bug in the RDF content sink where the ID attribute was being
qualified with a document URI even when it was a URI in its own right.
1999-04-03 01:47:07 +00:00
waterson@netscape.com
b1324fbb7b Started changing assertions into log messages. 1999-04-02 20:46:41 +00:00
waterson@netscape.com
0bb11736d6 Fixed default namespaces. 1999-03-26 04:42:29 +00:00
nisheeth@netscape.com
6b3332eb45 Changed nsIContentSink->NotifyError() to accept an nsParserError argument. This change is needed for propagating errors from the new expat parser. 1999-03-06 02:01:11 +00:00
waterson@netscape.com
0473d19756 Landed RDF_19990217_BRANCH. This includes a bunch of changes to get XUL scriptability up and running; also, nsRDFResourceElement and nsRDFGenericElement have been collapsed into a single class, and most of the state has been turned into attributes on the class. 1999-02-17 11:09:57 +00:00
waterson@netscape.com
722e531149 Landed RDFDOM_19990215_BRANCH. Began implementing DOM-to-RDF functionality. 1999-02-16 19:30:04 +00:00
waterson@netscape.com
63ba99a591 Whacked to get RDF/XUL working right, with local content mderged in. 1999-02-09 03:15:41 +00:00
waterson@netscape.com
56fe0825b6 Content model builder is now specified by XML processing instruction. Modified code to handle new XUL tree widget content model (based on table code). Added CID fields to all the interfaces so that nsCOMPtr will work. Juggled some of the content model builder stuff around in an attempt to make things a bit saner. 1999-02-01 22:34:51 +00:00
waterson@netscape.com
987152121a Implemented RDF container support and improved support for 'anonymous' resources for output of RDF/XML. Cleaned up common RDF vocabularies, placing #defines into rdf.h. 1999-01-22 06:48:25 +00:00
waterson@netscape.com
db0dcb182e Improved namespace handling for output of RDF/XML streams. Modified basic data source interface to include GetAllResources(), which enumerates all of the resources in the datasource. Moved code for dumping an RDF/XML stream out of nsInMemoryDataSource into nsRDFXMLDataSource. 1999-01-21 22:24:32 +00:00
waterson@netscape.com
96c6dedbc9 Backed out bogus checking. 1999-01-20 19:56:34 +00:00
waterson@netscape.com
b74654ecdf Obsolete. 1999-01-20 19:53:07 +00:00
waterson@netscape.com
20b8454114 Changed 'data base' to 'composite data source'. Merged RDF/XML document and stream data source into one big happy interface. 1999-01-20 01:42:13 +00:00
waterson@netscape.com
5092f7110b Added an assertion after OpenContainer() to help catch parse errors. 1999-01-18 22:14:59 +00:00
waterson@netscape.com
67764d5274 Rearranged stream and content sink stuff to be a part of base: content sink will eventually be replaced by a lower-level parser implementation. Improved the named data source handling. 1999-01-14 10:55:08 +00:00