Commit Graph

258 Commits

Author SHA1 Message Date
waterson%netscape.com
82a887fa49 Bug 8272. Assert when writing RDF file. This probably had to do with the fact that we were writing out ID= attributes on the RDF containers. I changed to write an illegal 'about=' construct to get Matt alive. 1999-06-16 05:11:05 +00:00
waterson%netscape.com
0a05c2a195 Bug 8174. Remove PR_EXTERN for private symbols. 1999-06-16 04:45:36 +00:00
waterson%netscape.com
55bfcc32bd Bug 8267. Add nsIRDFContainer::RemoveElementAt() implementation. 1999-06-16 02:08:54 +00:00
waterson%netscape.com
9e5499756b Bug 7385. Open datasources asynchronously by default. 1999-06-15 03:19:33 +00:00
waterson%netscape.com
6f511a0e84 Add a rdf_MakeAboluteURI() that's overloaded to take an nsIURL. 1999-06-12 21:14:32 +00:00
waterson%netscape.com
725444fad8 Add read-only accessors to get at the datasource and container elements. 1999-06-11 04:56:18 +00:00
waterson%netscape.com
07abe2b691 Add null checks. 1999-06-11 03:32:02 +00:00
waterson%netscape.com
3a4e249664 Oops. I'd screwed up the Release() method. 1999-06-10 08:01:13 +00:00
waterson%netscape.com
183ea40ed1 Enable aggregation on the in-memory datasource. 1999-06-10 06:47:28 +00:00
peterl%netscape.com
784f0c9bee 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
42fc425b58 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
waterson%netscape.com
82a3466055 Obsolete. 1999-06-04 22:19:32 +00:00
waterson%netscape.com
53e94d4ea4 Remove unnecessary LINCS now that all headers are pushed to the same directory. 1999-06-03 20:22:54 +00:00
bruce%cybersight.com
481f2e2d34 Remove a shadowing variable declaration. 1999-05-28 06:49:30 +00:00
waterson%netscape.com
c6bca9921f Bug 6958. Fix inconsistency between string and string size. a=chofmann. 1999-05-24 03:51:56 +00:00
waterson%netscape.com
cca71c8fb1 Bug 4629. Use PR_Now() to get a 'more unique' starting point for anonymous resources. 1999-05-21 22:18:29 +00:00
waterson%netscape.com
47c37c15af Use nsServiceManager to get singleton datasources instead of nsComponentManager. 1999-05-18 03:53:18 +00:00
shaver%netscape.com
4103653589 allow rdf:datasource;param=var (r=waterson) 1999-05-14 23:56:30 +00:00
waterson%netscape.com
6553b8d43b Use NS_WITH_SERVICE. 1999-05-13 20:53:07 +00:00
waterson%netscape.com
a5025f3cb7 Fix leakage of RDF service. 1999-05-13 20:52:42 +00:00
waterson%netscape.com
ddd622484c Fix compiler warnings. 1999-05-06 06:33:47 +00:00
waterson%netscape.com
35178a5334 Fix off-by-one error, and an infinite loop. 1999-05-06 06:32:54 +00:00
waterson%netscape.com
e7e4b0fb16 Obsolete. 1999-05-06 05:17:37 +00:00
waterson%netscape.com
8224e41a78 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
2a062180d1 Bug 5637. Don't release each observer in the destructor, because we only hold a weak ref to it. r=rjc,a=chofmann. 1999-04-29 04:20:14 +00:00
waterson%netscape.com
7580cac5b1 Added some PR_LOG stuff to help debug leaks. 1999-04-28 06:24:19 +00:00
waterson%netscape.com
adb997b56f Made sure that the composite datasource cursor returns unique elements. 1999-04-28 02:42:31 +00:00
ftang%netscape.com
37a1e14fc9 pass default charset info to parser 1999-04-27 21:33:36 +00:00
waterson%netscape.com
b6bd7f337e 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
waterson%netscape.com
b462b5628f Initial revision. 1999-04-26 18:46:36 +00:00
waterson%netscape.com
4dac3b7dc6 The Great Cursor Excorcism. Removed cursors in favor of enumerators. Misc updates to purge the xpidl stubs stuff in preparation for XPConnect. Details on RDF_19990422_BRANCH. 1999-04-24 02:41:02 +00:00
putterman%netscape.com
1744162688 removed fix for memory leak until we can fix other ref counting problems. 1999-04-23 17:46:25 +00:00
rickg%netscape.com
a4545edb43 update to sync with nsString2 1999-04-22 05:57:36 +00:00
waterson%netscape.com
b5d131d77b Got rid of unncessary use of RDF_DEFINE_VOCAB macro. 1999-04-22 03:16:55 +00:00
waterson%netscape.com
bbaed3e9ea Added some missing addrefs. 1999-04-22 03:16:09 +00:00
waterson%netscape.com
c38c7baa16 Fixed a nsIRDFResource leak. 1999-04-22 03:15:27 +00:00
waterson%netscape.com
d6317b5cb1 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
rickg%netscape.com
e1012f40b9 sync with nsString2 API 1999-04-20 07:20:21 +00:00
waterson%netscape.com
99a4ed48a7 Code cleanup. Got rid of rdf_Assert() functions. 1999-04-17 00:10:18 +00:00
waterson%netscape.com
8052fbe8a1 Bug 4400. Fixed leaking of keys from resource and datasource tables. 1999-04-16 22:04:32 +00:00
waterson%netscape.com
fc64a02144 Code cleanup. 1999-04-16 08:39:02 +00:00
waterson%netscape.com
de6baab5e2 Removed a frivolous assert. 1999-04-16 08:36:56 +00:00
alecf%netscape.com
b2f4109bbe remove rdf_qsort from all makefiles 1999-04-15 02:47:08 +00:00
hyatt%netscape.com
3a913961af Making sure the right URLs are writable. 1999-04-10 08:18:20 +00:00
waterson%netscape.com
a24681ea5d 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
waterson%netscape.com
cdf30f9f4c Modified to use NS_RDF_ASSERTION_ACCEPTED and NS_RDF_ASSERTION_REJECTED return codes (local store implementation) 1999-04-07 06:29:41 +00:00
hyatt%netscape.com
bf80a314de 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
a4d352dbff Started changing assertions into log messages. 1999-04-02 20:46:41 +00:00
waterson%netscape.com
e58a237ebb Removed a bunch of extraneous debug printfs that we're #ifdef DEBUG_waterson; this stuff is now being done in the in-memory data source via PR_LOG(). 1999-04-02 19:50:40 +00:00
waterson%netscape.com
8e48c3614e Try #2 to land fixes for xpidl stubs: fixed long-long problem. 1999-04-01 22:04:10 +00:00
waterson%netscape.com
2d536dc80f Added PR_LOG calls to debug the InMemoryDataSource. 1999-04-01 08:28:12 +00:00
waterson%netscape.com
ec23597790 Fixed a case where we weren't handling default namespaces on output. 1999-04-01 05:17:05 +00:00
donm%netscape.com
d4adfbd43d backing out mac bustage. 1999-03-31 16:41:11 +00:00
waterson%netscape.com
452c4821d9 Regenerated files to pick up bug fixes to the -m stub XPIDL compiler. 1999-03-31 06:43:43 +00:00
waterson%netscape.com
99a0e395db Fixed GetTarget() to use new return codes. 1999-03-30 03:58:24 +00:00
waterson%netscape.com
95fe5b64f9 Changed RDF-specific errors to be success rather than error codes. 1999-03-30 02:30:16 +00:00
waterson%netscape.com
833f7f782b Made sure to copy data source URI for key in the hashtable. 1999-03-30 01:41:21 +00:00
waterson%netscape.com
0cf17d4ce5 Landed RDF_19990326_BRANCH, scriptability changes. 1999-03-29 19:52:54 +00:00
waterson%netscape.com
ebc7d5465e Added paranoid check to UnregisterDataSource() in the case that the datasource was never registered & tries to unregister in its destructor. Optimization to GetResource() -- do away with nsString's as they were causing a lot of heap activity. 1999-03-27 00:29:35 +00:00
waterson%netscape.com
7adacca4f2 Added check for null pointer when doing synchronous read. Netlib return codes are bogus. 1999-03-27 00:28:08 +00:00
waterson%netscape.com
28828bd01f Fixed bad merge. 1999-03-26 05:34:36 +00:00
waterson%netscape.com
80812f3661 Removed HACK_DONT_USE_LIBREG #ifdef. 1999-03-26 04:43:02 +00:00
waterson%netscape.com
9654f7b3c3 Fixed default namespaces. 1999-03-26 04:42:29 +00:00
briano%netscape.com
2f105ae044 Handle NO_STATIC_LIB being set, when all this file does is create a static library. 1999-03-25 21:10:22 +00:00
warren%netscape.com
68eddb1039 GetDataSource change to instantiate xml datasources by default. 1999-03-25 07:33:07 +00:00
rickg%netscape.com
e26a3d2825 prep work to land nsString2 1999-03-22 08:29:26 +00:00
rjc%netscape.com
ece7ff423b Be sure to NS_INIT_REFCNT() for InMemoryResourceCursor() creation. 1999-03-19 01:09:48 +00:00
putterman%netscape.com
93a88864fd Increase the length the url can be before the document file name is prepended to it. 1999-03-18 21:43:00 +00:00
waterson%netscape.com
1c77095e4c Fixed unwanted NS_RELEASE() in RegisterResource(). 1999-03-18 20:47:27 +00:00
warren%netscape.com
5ab052576e Changed GetEnabledCommands to GetAllCommands/IsCommandEnabled. 1999-03-12 21:28:34 +00:00
warren%netscape.com
53f13f9cb4 Put back in call to NS_NewUnionEnumerator -- resolved link problem. 1999-03-12 02:10:03 +00:00
warren%netscape.com
7ffd58be7e Commented out line causing link error on mac (fix later). 1999-03-11 11:03:43 +00:00
warren%netscape.com
c2dd39a493 First cut at new command architecture. 1999-03-11 10:01:25 +00:00
warren%netscape.com
41570e76c1 PR_ASSERT wasn't defined for the mac. 1999-03-09 14:03:56 +00:00
warren%netscape.com
4b2d56fbaa nsRepository -> nsIComponentManager changes. 1999-03-09 09:44:27 +00:00
waterson%netscape.com
3d2b42cfd9 Land Guha's history stuff, including some fixes for references in the file system data source, and modifications for literals: there's now nsIntLiteral and nsDateLiteral. 1999-03-09 04:01:56 +00:00
waterson%netscape.com
aa33bfc9fe Bug #3465. Atomize literals as well as resources. 1999-03-08 08:28:46 +00:00
waterson%netscape.com
36e645de5f Added some debugging code while tracking down bug #3465. 1999-03-08 08:27:53 +00:00
hyatt%netscape.com
a9089619ee Added the NS_NewRDFToolbarBuilder call to the header. 1999-03-07 23:21:18 +00:00
hyatt%netscape.com
e7388bbb7f Landing the menu builder for real. The bookmarks menu lives (well, sort of). 1999-03-07 10:28:42 +00:00
nisheeth%netscape.com
a8aa6a7b87 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
mcmullen%netscape.com
9798175c73 Removed the offset parameter from the base stream interfaces. Implemented string streams. 1999-03-05 22:53:56 +00:00
waterson%netscape.com
715d402ca1 Initial revision. Generated from nsRDFInterfaces.idl. 1999-03-05 10:55:04 +00:00
saari%netscape.com
2ca5da7f32 Fixing IID() to GetIID() to fix warren's bustage 1999-03-05 07:02:27 +00:00
warren%netscape.com
59a8d7de15 Added prlog tracing code. Fixed some error codes. Fixed DBArcsInOutCursor::Advance to check for failure on GetValue. 1999-03-05 05:59:02 +00:00
rjc%netscape.com
49735684c7 Changes to autoregister the file system datasource (broken due to Warren's earlier changes.) 1999-03-05 03:22:51 +00:00
hyatt%netscape.com
942e8775ed Fixing the split of the attribute name (into a URI and an ID). 1999-03-05 00:03:30 +00:00
scc%netscape.com
2ec0a397ea rename |IID()| --> |GetIID()| 1999-03-03 19:48:57 +00:00
brade%netscape.com
4c3ae48cb0 add prototype for NS_NewRDFInMemoryDataSource to reduce Macintosh compiler warnings 1999-03-02 15:30:28 +00:00
waterson%netscape.com
94f970cf29 Removed code that was #if 0-ed. 1999-03-02 01:01:52 +00:00
waterson%netscape.com
4cbaec4e6d Got rid of PrefixMap(), which was obsoleted by Warren's changes to use the repository. Added some assertions to ease debugging. Altered GetResource() and GetDataSource() to _not_ automatically register the resource/datasource; rather, the resource/datasource's Init() method should do that. ClGot rid of PR_smptrinf() calls in favor of nsAutoString stuff. 1999-03-02 01:00:45 +00:00
pinkerton%netscape.com
2bcbfc08ab make the hack for macos to not use libreg easier to turn on and off to make it easier to work on a fix. 1999-03-01 17:47:28 +00:00
waterson%netscape.com
0d9f516821 Don't automatically register every data source; instead, the data source can register itself during Init(). 1999-03-01 05:55:18 +00:00
putterman%netscape.com
ae7cb5ad7a Parses datasource string correctly. 1999-02-27 02:42:57 +00:00
pinkerton%netscape.com
3d6cc9ba89 warren's hack-o-rama to get rdf working w/out libreg on mac. permission to check into closed tree by sar. 1999-02-26 23:28:14 +00:00
warren%netscape.com
2d5ac26d3f Fixed leak when Init fails. 1999-02-26 11:42:05 +00:00
warren%netscape.com
44cae3cd3f Changes for RDF component registration using nsRepository. Also changed args to NSGetFactory and friends. 1999-02-26 10:17:14 +00:00
rjc%netscape.com
203f6c073a Add RDF file system datasource into builds. 1999-02-26 02:04:28 +00:00
dougt%netscape.com
423a68450d Changed nsNativeFileSpec to nsFileSpec. 1999-02-25 20:58:10 +00:00
warren%netscape.com
55f16a9dd4 Removed assertion (hit by mail code (bad xul?)). 1999-02-24 10:23:27 +00:00
warren%netscape.com
bd09892b89 Accidental commit (reverted) 1999-02-24 09:28:36 +00:00
warren%netscape.com
eeb0ad2864 Accidental commit (reverted) 1999-02-24 09:28:09 +00:00
warren%netscape.com
493391ebef Moved nsRDFResource to util. 1999-02-24 08:26:30 +00:00
warren%netscape.com
01dd4f0ed6 Cleaned up nsICollection and nsIEnumerator. Broke out nsIBidirectionalEnumerator. Added ISupportsArray enumerator. Cleaned nsISupportsArray. 1999-02-23 08:10:24 +00:00
scc%netscape.com
1fc03069a9 updating for nsCOMPtr; owners should check my changes to see if they agree with my choices for |do_QueryInterface| vs |dont_QueryInterface| 1999-02-19 02:53:45 +00:00
rjc%netscape.com
1946508edb Add rdf_qsort.c to Unix/Win makefiles. 1999-02-18 22:54:16 +00:00
waterson%netscape.com
f0789232a2 rdfutil.cpp 1999-02-18 22:36:41 +00:00
rjc%netscape.com
0c7b14aa8c First Checked In. 1999-02-18 22:28:10 +00:00
warren%netscape.com
da560b4f89 Consolidated DefaultResourceImpl with nsRDFResource. 1999-02-17 22:28:15 +00:00
waterson%netscape.com
d69f284086 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
a42425658b Landed RDFDOM_19990215_BRANCH. Began implementing DOM-to-RDF functionality. 1999-02-16 19:30:04 +00:00
waterson%netscape.com
ac52b15528 Added nsRDFParserUtils.cpp to Unix build. 1999-02-11 04:20:44 +00:00
waterson%netscape.com
ef1ee577ca Doh! Forgot to make two of the methods static. 1999-02-11 04:10:36 +00:00
waterson%netscape.com
2fab378292 Added nsRDFParserUtils.cpp. 1999-02-11 04:06:02 +00:00
waterson%netscape.com
d45123d0a0 Added some routines for use with parsing RDF/XML and XUL. 1999-02-11 04:05:41 +00:00
waterson%netscape.com
18f49c102e Whacked to get RDF/XUL working right, with local content mderged in. 1999-02-09 03:15:41 +00:00
warren%netscape.com
63e20e34d2 Added nsRDFResource -- basic resource implementation to subclass. 1999-02-05 01:29:27 +00:00
waterson%netscape.com
0cc3de8d28 Never used. 1999-02-05 00:30:09 +00:00
waterson%netscape.com
df4b6c06f4 Buncha stuff to clean up implementation and make sure that a good RDF graph was getting created from the XUL. 1999-02-04 10:44:53 +00:00
waterson%netscape.com
a2285d5ca6 First stab at making this threadsafe. Still need to refcount the Assertion struct. 1999-02-04 10:42:21 +00:00
hyatt%netscape.com
585724ef3a Implementation of the XUL content sink. Addition of new files. 1999-02-03 02:48:27 +00:00
waterson%netscape.com
00d54c69ae Added code to release individual assertion elements when the data source is destroyed: this should close some major leakage. 1999-02-02 08:06:38 +00:00
waterson%netscape.com
4e621f5152 Fixed some refcounting and initialization bugs. 1999-02-02 07:06:56 +00:00
waterson%netscape.com
750c5c615d Fixed a pile of refcounting bugs. 1999-02-02 07:06:06 +00:00
waterson%netscape.com
9bf6fa8e74 Fixed an off-by-one error in the dtor. 1999-02-02 07:05:52 +00:00
waterson%netscape.com
ea5d84764c 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
eac20c0d92 Added code to spit out style sheet and named data source info. Fixed some bugs with references to internal anonymous resources. 1999-01-26 01:24:34 +00:00
waterson%netscape.com
8d4d9030f7 Altered anonymous resources to be produced with a hash mark, so they look more like anchors. 1999-01-26 01:23:55 +00:00
waterson%netscape.com
12e06cba89 Fixed bug in arcs-out cursor. 1999-01-26 01:22:40 +00:00
waterson%netscape.com
ea903107e6 Fixed a reference counting bug and a problem with the NS_RELEASE() macro. 1999-01-22 22:04:04 +00:00
waterson%netscape.com
b24ea8f193 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
aea6df3ac4 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
2a59b0efd3 Backed out bogus checking. 1999-01-20 19:56:34 +00:00
waterson%netscape.com
bd92c90bfd Obsolete. 1999-01-20 19:53:07 +00:00
waterson%netscape.com
3e6fc2b0ad 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
7c14d36861 Replacement for nsStreamDataSource.cpp. Not yet in the build. 1999-01-19 02:42:30 +00:00
waterson%netscape.com
5f8d808014 Added an assertion after OpenContainer() to help catch parse errors. 1999-01-18 22:14:59 +00:00
waterson%netscape.com
c07e15fb58 Fixed compiler warning. 1999-01-14 23:03:07 +00:00
waterson%netscape.com
d3b9f0cf03 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
waterson%netscape.com
d1081a74f9 Factored content model builder code into its own interface. Hooked up RDF-to-content model notification. Minor bug fixes in data sources. 1999-01-12 19:41:06 +00:00
waterson%netscape.com
2f9e197491 Added some comments to call out potential funkiness. 1999-01-07 05:29:31 +00:00
guha%netscape.com
ce5f96afb9 More on the alloy prototype 1999-01-06 17:38:37 +00:00
waterson%netscape.com
9fd3cd02fd Added LXR comments. 1999-01-05 21:22:20 +00:00
waterson%netscape.com
73f5ef14b2 Added comments for LXR. 1999-01-05 21:07:09 +00:00
waterson%netscape.com
d3edcef901 Fixed the last bug with my namespace hack. Added a bunch of comments. 1999-01-05 21:06:54 +00:00
waterson%netscape.com
990c0bfb05 Bug fixes and enhancements to nsRDFStreamData source. Can almost round-trip RDF/XML now... 1999-01-05 08:44:40 +00:00
waterson%netscape.com
78fa98a324 Landed RDF_122898_BRANCH onto the trunk. 1999-01-05 03:53:15 +00:00
leaf%mozilla.org
7099c09cc1 backing out removal of nsInMemoryDataSource.obj 1998-12-30 20:00:59 +00:00
waterson%netscape.com
dd28fe9eaa Fix Win95 build bustage. 1998-12-30 17:52:01 +00:00
cls%seawood.org
903ff9a81d Ok, after further thought, the last attempt wasn't going to work as the mac project files were not updated so we'll just put Guha's stuff in ifdefs. 1998-12-28 06:05:14 +00:00