Граф коммитов

815 Коммитов

Автор SHA1 Сообщение Дата
waterson%netscape.com a8f0856c8d Add PR_LOG() calls to aid with debugging. 1999-10-13 08:00:14 +00:00
rjc%netscape.com bb45ef1bde Add in CTOR/DTOR stuff for leak detection. Review: hyatt@netscape.com 1999-10-07 01:51:30 +00:00
bienvenu%netscape.com 776202c4f5 fix ref count tracing for composite data source bug 666 n/a r=waterson 1999-10-06 04:45:14 +00:00
peterl%netscape.com 69b8aced3f removed leak of atom 1999-10-02 01:32:38 +00:00
rjc%netscape.com a8401f2c5c Fix bug # 15222: The composite datasource has a few operations which are somewhat "expensive". Have these behaviors on by default, but expose a method on the composite datasources so that they can be selectively turned off [for Mail/News, for example] if the capability is not needed/used (such as negative assertions). Review: waterson@netscape.com. Additional Mail/News Testing: putterman@netscape.com 1999-10-01 04:07:55 +00:00
slamm%netscape.com 43b2d321cf patch rdf for waterson. Fixed multiple loads of same datasource. 1999-09-29 20:25:41 +00:00
waterson%netscape.com f8f2fcce60 Bug 14754. Shore up unregistration; verify that datasource matches URI to be unregistered. Be 'quiet' if it doesn't. 1999-09-24 19:54:36 +00:00
waterson%netscape.com a622e1d0d7 Bug 14755. Guard against multiple simlutaneous 'Refresh()' calls issuing several URL loads. r=rjc, a=chofmann 1999-09-24 19:52:42 +00:00
waterson%netscape.com b30c0da94e Make ::Init() barf if the element is not a container, rather than sprinkling around in individual methods. 1999-09-22 03:28:32 +00:00
waterson%netscape.com fe38cb9365 Bug 14285. Add some arg checking as we are prone to being called from JS. 1999-09-19 19:41:45 +00:00
briano%netscape.com 49a9c60d81 General cleanup. 1999-09-15 23:36:43 +00:00
hyatt%netscape.com bf1cda7968 Fix build bustage. 1999-09-15 02:36:30 +00:00
briano%netscape.com 56bb61bea2 Cleaned it up and fixed the Unix build breakage. 1999-09-15 02:33:11 +00:00
hyatt%netscape.com 04c56a701c Updating the nsIController interface. 1999-09-15 02:16:41 +00:00
waterson%netscape.com 29708f53a5 Make sure all control paths return a value. 1999-09-10 00:01:27 +00:00
waterson%netscape.com e42b814c43 Bug 13433. Create a one-element URI prefix cache to avoid excessive calls to ProgIDToCLSID(). Cache the default resource factory. Rename ServiceImpl to RDFServiceImpl. 1999-09-09 22:35:16 +00:00
warren%netscape.com 40ed9d6ad2 Removed NS_BASE_STREAM_EOF in favor of returning a count of 0 from Read to indicate EOF. Renamed GetLength to Available. Fixed a number of places where AppendElement's broken error code wasn't checked. 1999-09-09 22:05:05 +00:00
putterman%netscape.com e7ab81530d Don't worry about duplicate values. 1999-09-09 06:58:14 +00:00
waterson%netscape.com 7e0472ef71 Bug 13137. Fix broken usage of CBufDescriptor. 1999-09-07 02:46:08 +00:00
waterson%netscape.com 0f3a26fccc Right-shift two for hash function; inline some obvious stuff. 1999-09-07 02:44:43 +00:00
waterson%netscape.com 22f68c9558 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 54d5c088f2 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 028f11d2bf 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
bruce%cybersight.com baee0cf57a Fix some char* deallocation issues. Also remove a couple of static IIDs and includes that aren't needed. 1999-09-03 06:08:50 +00:00
kipp%netscape.com dc04e68f6a Use nsAutoString instead of nsCAutoString to avoid double string copy 1999-09-03 03:51:56 +00:00
waterson%netscape.com 1e1077c6f8 Use PL_HashTableRawAdd() to avoid hashing twice. 1999-09-02 21:29:06 +00:00
waterson%netscape.com b9e936e5a8 Rewrite to avoid heap-spill when mangling the nextVal. 1999-09-02 21:28:33 +00:00
waterson%netscape.com 8a45758c29 Bug 12351. Remove the assert; this can happen under normal operating conditions. Do not panic. 1999-09-02 06:54:12 +00:00
waterson%netscape.com 59f822c9a6 Use nsCString instead of nsString for anonymous content nodes. Get rid of use of rdf_Isa(). 1999-09-01 00:50:01 +00:00
waterson%netscape.com 76abd92fbf Bug 3284. Removed static global reference to the RDF service. We no longer leak it (on purpose, anyway). Also, updated anonymous resource APIs to use nsCStrings instead of nsStrings. 1999-09-01 00:49:14 +00:00
gagan%netscape.com 792b6b8143 Another mem leak fixed. 1999-08-27 12:47:12 +00:00
rjc%netscape.com 2528124539 Add nsIXULSortService 1999-08-27 06:54:08 +00:00
rjc%netscape.com 9be4830f5d Add nsIXULSortService.idl 1999-08-27 06:52:34 +00:00
rpotts%netscape.com 0085d83ab0 M9 BRANCH landing... 1999-08-26 22:45:55 +00:00
shaver%netscape.com 6ea7c38b0b initial RDF NS_DECL_* spam 1999-08-24 09:11:48 +00:00
waterson%netscape.com 1d6c956a62 Fix in-memory datasource aggregation. 1999-08-24 04:59:58 +00:00
dougt%netscape.com 32a9a77110 xpild-ing nsIAtom. Now nsIAtom is xpcom compliant. 1999-08-21 07:07:00 +00:00
waterson%netscape.com 65c3c63e2c Bug 11575. Null check after pulling URI out of a resource. a=chofmann 1999-08-12 01:16:13 +00:00
mccabe%netscape.com 2a403483de Changes to the xpidl compiler -
Error if an interface is declared [scriptable], but contains methods that can't be scripted because they refer to native-declared types, unless the method is declared [noscript].

This change is intended to make it easier to determine when an interface is not scriptable, and to make it easier to see what changes need to be made to make it scriptable.

As many of the .idl files in the tree defined [scriptable] interfaces that contained non-scriptable methods, I've sprinkled [noscript] throughout.  As the interfaces weren't scriptable anyway, this shouldn't change their visibility to javascript.
1999-08-10 12:18:01 +00:00
jband%netscape.com 340cc49b7e was forgetting to check a result 1999-08-10 05:35:09 +00:00
waterson%netscape.com c45091e312 Bug 8836. Make RDF service a shared global variable. For some reason, this fixes the bizarre assertions when closing a file. Voodoo. Magic. Whatever. 1999-08-06 20:24:29 +00:00
rjc%netscape.com b53d0a5a07 Don't leak proxy. 1999-08-05 20:10:08 +00:00
waterson%netscape.com 604387549f Bug 9250. Predefined entities should be case sensitive; update so that they are all lower case. 1999-08-04 06:18:40 +00:00
warren%netscape.com 004a107d21 Took out NS_ERROR when file not found. 1999-08-03 21:59:40 +00:00
waterson%netscape.com cc0068bd1d Back out RJC's previous changes; they aren't necessary. Failure is dealt with by the destructor, which will _always_ be called from the factory method if Init() fails. 1999-08-03 21:00:39 +00:00
waterson%netscape.com da0a78e9bc Bug 11154. Use 2-byte compare fn for literal hash table. 1999-08-03 20:59:56 +00:00
rjc%netscape.com 31272b88d1 Fix potential memory leakage upon failure. 1999-08-03 06:34:06 +00:00
rjc%netscape.com f612d2d5a1 If GetNameSpaceID() fails due to a null namespace, now return kNameSpace_None instead of failure. 1999-08-02 06:35:26 +00:00
waterson%netscape.com c14fdc9f9e Fix nsRDFSerivce.cpp so that it can be unloaded. 1999-07-30 23:52:47 +00:00
rjc%netscape.com 567cf8e445 Use GetValueConst a bit. 1999-07-30 23:40:30 +00:00
nisheeth%netscape.com 88a7a3eadb Adding a new parameter, aMode, to nsIContentSink::AddDocTypeDecl. 1999-07-28 06:56:05 +00:00
waterson%netscape.com 507fa1553b Obsolete. 1999-07-28 04:06:32 +00:00
waterson%netscape.com 91a8ac09e7 Land TEMPLATE_19990726_BRANCH; RDF C++ content model builder exorcism. 1999-07-27 17:20:28 +00:00
rickg%netscape.com 65fcb776bb replaced call to deprecated nsString API 1999-07-26 00:47:36 +00:00
mscott%netscape.com 4b40e8684c NECKO Only!! Don't call GetBuffer on an nsString as it returns null for unicode strings. use nsCAutoString 1999-07-21 06:51:45 +00:00
warren%netscape.com bf8423a769 Changed around load group insertion/removal to happen on mozilla thread. 1999-07-20 08:46:33 +00:00
waterson%netscape.com ae95dd40b4 Change graph linkage to be 'bottom up' so that streaming RDF places less burden on layout. 1999-07-19 22:02:22 +00:00
rickg%netscape.com 23b232d248 switch to faster string search API 1999-07-19 03:29:56 +00:00
peterl%netscape.com 3a3725dcca clean up some string usage 1999-07-18 00:01:21 +00:00
rjc%netscape.com e4458901f4 More cleanup. 1999-07-17 02:33:00 +00:00
hyatt%netscape.com 2fea4e222d XUL overlay work. 1999-07-17 02:24:13 +00:00
rjc%netscape.com f252bb4ae9 Cleanup command APIs slightly. 1999-07-17 02:15:53 +00:00
waterson%netscape.com cd000467f8 Re-try of changes for 1.40, this time with the off-by-one error in GetUnicodeResource() fixed. 1999-07-17 01:46:34 +00:00
waterson%netscape.com 3d7847f4cd Back out last change; was causing crashes on Unix. 1999-07-17 01:31:24 +00:00
rjc%netscape.com d400ff337e Fix nsISupportsArray for RDF datasources. 1999-07-17 00:11:19 +00:00
warren%netscape.com 84bd74a4fd Big changes for Necko load groups. Things are much happier now. Now images work (on pages, but not in chrome). 1999-07-16 11:14:36 +00:00
waterson%netscape.com 4add36f4e8 Some performance tweaks. Inline string copy in GetUnicodeResource(); re-write GetResourcee() to avoid multiple trips to the component manager; use GetValueConst() to re-use the pointers inside resource/literal objects instead of making copies for keys. 1999-07-16 04:01:21 +00:00
warren%netscape.com 61c8d73b43 Necko stuff for dealing with load groups when opening URLs. 1999-07-09 21:18:47 +00:00
ramiro%netscape.com bbed66360e Checkin another chunk of Alex Larsson's non-exported symbol reduction
patch.  All changes protected by  MOZ_STRIP_NOT_EXPORTED.
These particular changes set the NS_EXPORT declarations as needed by
the linker.
1999-07-07 09:02:21 +00:00
warren%netscape.com 9975942bdb Added channel argument to nsIStreamObserver/nsIStreamListener/nsIProgressEventSink methods. 1999-07-07 08:08:40 +00:00
waterson%netscape.com ae9fb26374 Partial fix for 9280 (resolution is flakey, will later until M9 when we have Necko doing URL resolution). Bug 9301: fixed un-encountered namespace bug. 1999-07-06 23:36:44 +00:00
waterson%netscape.com 00f9c67d96 Temporary hacky sloppy fix for rdf_MakeAbsoluteURI(). 1999-07-03 19:10:00 +00:00
waterson%netscape.com e413b3aec5 Clean up compiler warnings. Thanks, slamm! 1999-07-03 04:43:44 +00:00
waterson%netscape.com 2ef218b281 Clean up compiler warnings. Thanks, slamm. 1999-07-03 04:31:43 +00:00
waterson%netscape.com 4e06adac0c Ooops. Be sure to call Flush() _before_ freeing the mURLSpec. 1999-07-03 04:26:04 +00:00
waterson%netscape.com 8ee60e35c6 Bug 9236. Make sure to use a _real_ URI when you try to serialize back the file. This was a crufty bug left over from sloppy conversion to the no-Init() interfaces. 1999-07-03 03:19:28 +00:00
waterson%netscape.com c6efb35f4a Implement Change() and Move() on composite datasource. Realize that these interfaces are going to be a nightmare to do the right way. 1999-07-03 02:40:35 +00:00
warren%netscape.com 935381c245 Fixed necko case to call OnStartRequest, etc. 1999-07-02 06:15:00 +00:00
waterson%netscape.com 463f590d61 Primitive implementation for Change() and Move() methods. 1999-07-02 03:40:32 +00:00
warren%netscape.com bd73f68e8b Renamed OnStartBinding/OnStopBinding to OnStartRequest/OnStopRequest (removing the redundant ones from necko). Numerous necko fixes. Necko now using nsIPrompt interface instead of nsINetSupport. 1999-07-01 19:30:20 +00:00
rjc%netscape.com 959d96f88c When building up list of commands via GetAllCmds(), walk forwards instead of backwards over datasources. 1999-06-26 08:28:43 +00:00
warren%netscape.com fbd6d1dc57 Necko ifdefs for layout and rdf. 1999-06-26 06:36:26 +00:00
rjc%netscape.com 9a60f136ab Return an empty command enumerator instead of throwing an assertion. 1999-06-26 04:58:22 +00:00
rjc%netscape.com 31a7e20e77 Implement GetAllCmds(). 1999-06-26 02:58:50 +00:00
rjc%netscape.com d8cf0513a0 Added new method GetAllCmds() which uses a nsISimpleEnumerator instead of GetAllCommands() which uses a nsIEnumerator. Migration to GetAllCmds() can be done in the future. 1999-06-26 01:09:02 +00:00
waterson%netscape.com 8c8ed7284d Expunge EqualsResource() and EqualsLiteral(). 1999-06-25 20:51:13 +00:00
waterson%netscape.com 6d5adaa9f4 Replace use of EqualsNode() with pointer comparison. This is safe (and has been for a while :-/) because literals are hashed. 1999-06-24 21:19:54 +00:00
waterson%netscape.com 4b1f9242e4 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 1f76168d21 Renamed nsIURL to nsIURI in preperation for necko. More NECKO ifdefs too. 1999-06-23 03:29:44 +00:00
waterson%netscape.com e195b7f6ea Bug 8453. Fix lots of bugs in the RDF container code. 1999-06-20 00:19:54 +00:00
waterson%netscape.com d54a647f07 Bug 8386. Over-use of 'about=' attribute on containers; use 'ID=' when possible. 1999-06-20 00:19:23 +00:00
valeski%netscape.com e23b3c673c 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. 1999-06-18 17:34:08 +00:00
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
hyatt%netscape.com 68628acf49 Fix Linux bustage. 1999-06-08 22:29:58 +00:00
hyatt%netscape.com 45176e2d9e Adding new idl. 1999-06-08 21:58:32 +00:00
waterson%netscape.com 82a3466055 Obsolete. 1999-06-04 22:19:32 +00:00
alecf%netscape.com 8b67b30a63 export xulstubs.idl on windows 1999-06-04 04:18:29 +00:00
ducarroz%netscape.com dde4803fb6 add xulstubs.idl 1999-06-03 21:00:43 +00:00
alecf%netscape.com fb914c4e6d oops, forgot to make this native code for C++ 1999-06-03 20:47:09 +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
alecf%netscape.com a91815677d add XPIDL stubs for these DOM objects so that we can access them from XPConnect 1999-06-03 04:39:14 +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 9fc4f076d0 No longer needed. 1999-05-19 05:57:55 +00:00
waterson%netscape.com 7d36a36347 These files are generated now. 1999-05-19 05:57:28 +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
mcmullen%netscape.com 309bab45c6 Split the manifest files into two: idl-generated headers (used if USE_XPIDL is turned off) and non-generated headers. 1999-05-13 00:04:14 +00:00
mcmullen%netscape.com bc6290e2db First Checked In. 1999-05-13 00:01:48 +00:00
waterson%netscape.com 5d99d5c9f1 First Checked In. 1999-05-11 19:02:48 +00:00
waterson%netscape.com a597d28219 Generate base header files. 1999-05-11 02:11:01 +00:00
mccabe%netscape.com 8c40ed334a _xpidlgen is now cvsignore'd globally; remove redundant per-directory references. 1999-05-10 20:52:47 +00:00
waterson%netscape.com 2d687c8fcc Ignore the _xpidlgen directory. 1999-05-10 19:31:34 +00:00
waterson%netscape.com ea6772a7c4 Generate RDF headers. 1999-05-10 18:51:20 +00:00
waterson%netscape.com 10dbd37e4d nsISupportsArray hackery. 1999-05-07 19:56:19 +00:00
waterson%netscape.com c09e6e6009 #include nsIEnumerator, because the decl of nsISimpleEnumerator has moved there. 1999-05-07 19:55:44 +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 5a10c2b3fe Forgot to update MANIFEST, idiot. 1999-05-05 03:18:20 +00:00
waterson%netscape.com 94d552c99e Forgot to update Makefile.in, idiot. 1999-05-05 03:18:03 +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 fa278583c8 Factored interfaces into individual .idl files. Here's the fallout: now all the headers here are generated. nsRDFInterfaces.h #includes them all. 1999-05-05 03:08:42 +00:00
waterson%netscape.com efa352799a Unclump interfaces into individual files. 1999-05-05 00:48:15 +00:00
waterson%netscape.com 02d6a44602 Unclumped interfaces into individual files. 1999-05-05 00:47:38 +00:00
waterson%netscape.com a3604b7e94 Re-factored into individual interfaces. 1999-05-04 03:37:07 +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 c6c5c3567a Added nsIRDFContainer and nsIRDFContainerUtils to replace the old C versions in rdfutil. 1999-04-26 18:45:59 +00:00
waterson%netscape.com 328cfbabc3 Added nsIRDFContainer and nsIRDFContainerUtils. 1999-04-26 18:45:14 +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 1649adf83e Made all interfaces 'scriptable' to generate a usable typelib. 1999-04-22 03:14:20 +00:00
waterson%netscape.com 083aeb67d3 Bug 4750. Updated RDF_NAMESPACE_URI to refer to the most recent (and final) version of the RDF recommendation. 1999-04-21 00:11:39 +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
waterson%netscape.com 866a6cd1f9 Use 'ns' instead of 'namespace' just to be paranoid about C++ keywords. 1999-04-16 08:35:03 +00:00
shaver%netscape.com b7512ba5a1 fix DEFINE_RDF_VOCAB 1999-04-15 21:01:11 +00:00
mccabe%netscape.com a1eb58e008 Enabling xpidl as a standard part of the unix and windows build. Changed checks against BUILD_XPIDL to the (as yet undefined) USE_XPIDL variable in libpref, rdf, xpfe/AppCores, to keep them from firing just yet. The BUILD_XPIDL-enabling machinery in configure.in is unchanged, but BUILD_XPIDL is unused for now.
See http://www.mozilla.org/scriptable/xpidl/ if this breaks you.
1999-04-15 18:28:27 +00:00
alecf%netscape.com b2f4109bbe remove rdf_qsort from all makefiles 1999-04-15 02:47:08 +00:00
waterson%netscape.com 1e7f1f0c62 Added back into the build sp alecf & mccabe can get xpconnect working. 1999-04-14 00:39:20 +00:00
waterson%netscape.com d99884c78e Comment out EXPORTS, CPPSRCS, and LIBRARY_NAME so that this can join
back into the build.
1999-04-14 00:38:47 +00:00
waterson%netscape.com bd9932bb35 Removed #ifdefs, these are just placeholder files now. 1999-04-13 00:30:35 +00:00
waterson%netscape.com cb39e9da8d Regenerated using newer xpidl compiler. 1999-04-13 00:29:43 +00:00
waterson%netscape.com 4879011832 Moved comments into the IDL file. 1999-04-13 00:16:38 +00:00
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