Commit Graph

895 Commits

Author SHA1 Message Date
hyatt%netscape.com
3a913961af Making sure the right URLs are writable. 1999-04-10 08:18:20 +00:00
waterson%netscape.com
93c4065513 Bug 4773. Removed idl directory for M4. We'll put it back next week. a=chofmann@netscape.com 1999-04-08 22:21:38 +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
waterson%netscape.com
cece1551ac Added NS_RDF_ASSERTION_ACCEPTED and NS_RDF_ASSERTION_REJECTED return codes. 1999-04-07 06:28:17 +00:00
sspitzer%netscape.com
a9d8eebcbe only do this if the IDL stuff has been installed 1999-04-07 02:58:01 +00:00
alecf%netscape.com
c2059ee647 add idl to directories so that we export nsRDFInterfaces.idl 1999-04-07 00:40:13 +00:00
waterson%netscape.com
fa92c9eafd Regenerated using long-long instead of PRTime. 1999-04-06 06:36:50 +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
e16a54d29a Use 'long long' instead of native type for PRTime. 1999-04-01 22:04:33 +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
89e53b21e2 Changed RDF progids to use forward-slashes instead of pipes. 1999-03-30 01:09:24 +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
65e0d2fdfc Added the _real_ RDF namespace, commented out for now. 1999-03-26 04:43:28 +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
mcafee%netscape.com
805daa683e Ignore generated files. 1999-03-18 22:01:51 +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
0bee8db3d7 Fixed comment. 1999-03-12 21:39:25 +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
b108def4c3 attempt to fix mac build 1999-03-11 10:18:46 +00:00
warren%netscape.com
c2dd39a493 First cut at new command architecture. 1999-03-11 10:01:25 +00:00
waterson%netscape.com
814b4b5526 Added GetResource() to XULElement. 1999-03-10 20:20:52 +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
62e59eede0 Added nsRDFInterfaces.h to EXPORTS. 1999-03-05 11:12:58 +00:00
waterson%netscape.com
e11424ecba Added C++-specific #include of nscore.h to make sure that PRUnichar gets included. 1999-03-05 11:12:24 +00:00
waterson%netscape.com
715d402ca1 Initial revision. Generated from nsRDFInterfaces.idl. 1999-03-05 10:55:04 +00:00
waterson%netscape.com
bdf206486d Initial revision. Generated from nsRDFInterfaces.idl. 1999-03-05 10:49:13 +00:00
waterson%netscape.com
b3052ec629 Removed individual interface files for now, and plugged everything into nsRDFInterfaces.idl. 1999-03-05 10:48:07 +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
waterson%netscape.com
9584cfd711 Initial revision: all of the IDL files globbed together. 1999-03-03 03:29:37 +00:00
waterson%netscape.com
2e67fb60f3 Fixed use of Object, which is apparently a keyword. 1999-03-03 03:29:13 +00:00
waterson%netscape.com
8277d976d7 Initial revision. They don't work. 1999-03-03 01:19:11 +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
waterson%netscape.com
4711e14abc Updated documentation on ReigsterDataSource() && RegisterResource(). 1999-03-02 00:59:03 +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
waterson%netscape.com
dfc5eac7fd Change '=' to '#' to circumvent registry bustage for now. 1999-02-27 02:19:47 +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
waterson%netscape.com
ebaca81625 Modified DEFINE_RDF_VOCAB macro so that it doesn't create static constructors on Unix. 1999-02-26 03:07:59 +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
e5ce27d6da Add simple, preliminary way of doing sorting. (Note: using our own local version of qsort due to API changes.) 1999-02-18 22:29:16 +00:00
rjc%netscape.com
0c7b14aa8c First Checked In. 1999-02-18 22:28:10 +00:00
warren%netscape.com
7d559f60cc Added nsRDFResource.h for the mac 1999-02-17 23:02:00 +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
5361c5a133 Implementation of the XUL content sink. 1999-02-03 02:49:30 +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
fe9d6d047b Replacement for nsIRDFXMLDocument.h. Not yet in the build. 1999-01-19 02:43:03 +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
1f06f7d982 Added documentation comments. 1999-01-18 22:31:05 +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
guha%netscape.com
e5b20e0c8e adding a tree interface to datasources. Not yet in build system 1999-01-12 17:35:25 +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
379ac6d48b Added LXR comments. 1999-01-05 21:57:59 +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
waterson%netscape.com
9b2f69e89a Okay, try #2. Fix Win95/98 build bustage. 1998-12-30 21:25:47 +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
cls%seawood.org
b19bd56d44 Oops, forgot about the headers. 1998-12-28 05:34:13 +00:00
guha%netscape.com
1ca9deb869 adding a method to nsIRDFCursor.cpp 1998-12-27 20:35:46 +00:00
waterson%netscape.com
d4fea026bb Initial revision. 1998-12-24 08:26:27 +00:00
waterson%netscape.com
9468240dbb Fixed #ifdefs. 1998-12-24 06:57:46 +00:00
waterson%netscape.com
2fc4664954 Bad idea. 1998-12-24 06:31:10 +00:00
waterson%netscape.com
42379a0c66 Removed nsRDFBaseFactory.cpp. 1998-12-24 06:30:09 +00:00
waterson%netscape.com
e38771a874 Changed to a static library for now. 1998-12-24 06:22:21 +00:00
waterson%netscape.com
6a227c1d03 Initial revision. Separated from mozilla/rdf/include. Not yet in the build. 1998-12-24 05:07:14 +00:00