Commit Graph
59 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
blizzard@redhat.com 2126e6b818 Change nsComponentManager::ProgIDToCLSID to nsComponentManager::ProgIDToClassID as per bug #3579. Checking in for sford. r=scc,r=blizzard 1999-12-30 22:03:58 +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
warren@netscape.com 2395c0cf9f Took out redundant MOZ_COUNT_CTOR/DTOR calls. 1999-10-18 19:06:21 +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
waterson@netscape.com 29673c79d3 Bug 16402. Make sure that literals addref (and release) the RDF service. Make sure to deal with edge Unregister[Resource|Literal] conditions; e.g., being called to unregister a literal when none was ever registered. r=rjc 1999-10-15 03:36:04 +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
waterson@netscape.com d27f3ff8b6 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 fb342cfa27 Bug 14285. Add some arg checking as we are prone to being called from JS. 1999-09-19 19:41:45 +00:00
waterson@netscape.com c94c19ef95 Make sure all control paths return a value. 1999-09-10 00:01:27 +00:00
waterson@netscape.com 8ca6b8b60d 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
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
waterson@netscape.com fda980c7f2 Use PL_HashTableRawAdd() to avoid hashing twice. 1999-09-02 21:29:06 +00:00
shaver@netscape.com 0fd92b3062 initial RDF NS_DECL_* spam 1999-08-24 09:11:48 +00:00
waterson@netscape.com 06961d3791 Bug 11575. Null check after pulling URI out of a resource. a=chofmann 1999-08-12 01:16:13 +00:00
waterson@netscape.com 7f313b1423 Bug 11154. Use 2-byte compare fn for literal hash table. 1999-08-03 20:59:56 +00:00
waterson@netscape.com 398ba6100d Fix nsRDFSerivce.cpp so that it can be unloaded. 1999-07-30 23:52:47 +00:00
waterson@netscape.com 79f3923e87 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 21171d107d Back out last change; was causing crashes on Unix. 1999-07-17 01:31:24 +00:00
waterson@netscape.com 914688ba48 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
waterson@netscape.com ae146c57d6 Clean up compiler warnings. Thanks, slamm! 1999-07-03 04:43:44 +00:00
waterson@netscape.com c5f9f1de4b Expunge EqualsResource() and EqualsLiteral(). 1999-06-25 20:51:13 +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
waterson@netscape.com 8aef9d3b02 Bug 7385. Open datasources asynchronously by default. 1999-06-15 03:19:33 +00:00
waterson@netscape.com de0d5a0636 Use nsServiceManager to get singleton datasources instead of nsComponentManager. 1999-05-18 03:53:18 +00:00
shaver@netscape.com d26aff6673 allow rdf:datasource;param=var (r=waterson) 1999-05-14 23:56: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 128b401499 Added some PR_LOG stuff to help debug leaks. 1999-04-28 06:24:19 +00:00
waterson@netscape.com 56b1f97690 Bug 4400. Fixed leaking of keys from resource and datasource tables. 1999-04-16 22:04:32 +00:00
waterson@netscape.com b7ecaafbe2 Made sure to copy data source URI for key in the hashtable. 1999-03-30 01:41:21 +00:00
waterson@netscape.com 017368eb7a Landed RDF_19990326_BRANCH, scriptability changes. 1999-03-29 19:52:54 +00:00
waterson@netscape.com aeb6286611 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 16304a91d8 Fixed bad merge. 1999-03-26 05:34:36 +00:00
waterson@netscape.com 7ba01fb680 Removed HACK_DONT_USE_LIBREG #ifdef. 1999-03-26 04:43:02 +00:00
warren@netscape.com f27883c7cb GetDataSource change to instantiate xml datasources by default. 1999-03-25 07:33:07 +00:00
waterson@netscape.com 3cbac94d4a Fixed unwanted NS_RELEASE() in RegisterResource(). 1999-03-18 20:47:27 +00:00
warren@netscape.com 35d5e6e062 nsRepository -> nsIComponentManager changes. 1999-03-09 09:44:27 +00:00
waterson@netscape.com 50c2970025 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 df78f8fa24 Bug #3465. Atomize literals as well as resources. 1999-03-08 08:28:46 +00:00
hyatt@netscape.com b4634f9792 Added the NS_NewRDFToolbarBuilder call to the header. 1999-03-07 23:21:18 +00:00
hyatt@netscape.com 2c5696cc6a Landing the menu builder for real. The bookmarks menu lives (well, sort of). 1999-03-07 10:28:42 +00:00
rjc@netscape.com 973977d4de Changes to autoregister the file system datasource (broken due to Warren's earlier changes.) 1999-03-05 03:22:51 +00:00
scc@netscape.com 6bb3406b4d rename |IID()| --> |GetIID()| 1999-03-03 19:48:57 +00:00
waterson@netscape.com 2fdd3f3e40 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 9108cae509 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 2da60436cb 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 0846a4bce1 Parses datasource string correctly. 1999-02-27 02:42:57 +00:00
pinkerton@netscape.com 2943a6e786 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 647b79f2a2 Fixed leak when Init fails. 1999-02-26 11:42:05 +00:00