Commit Graph

32 Commits

Author SHA1 Message Date
rjc%netscape.com
ebd015fd4c Use nsFileSpec's GetCatInfo() instead of rolling our own.
git-svn-id: svn://10.0.0.236/trunk@30812 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-08 09:34:31 +00:00
waterson%netscape.com
16386ac75a Remove nsXULDataSource.cpp from the build: it's obsolete. Re-factor interfaces into individual .idl files.
git-svn-id: svn://10.0.0.236/trunk@30346 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-05 03:11:23 +00:00
waterson%netscape.com
4fbb988318 Bug 5637. Don't release each observer in the destructor, because we only hold a weak ref to it. r=rjc,a=chofmann.
git-svn-id: svn://10.0.0.236/trunk@29787 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-29 04:20:14 +00:00
waterson%netscape.com
e0716bb6ec Bug 5411. Fixed off-by-one in loop initialzer.
git-svn-id: svn://10.0.0.236/trunk@29195 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-26 18:40:06 +00:00
waterson%netscape.com
b5755f0c9b Added parameter checks. Updated return codes.
git-svn-id: svn://10.0.0.236/trunk@29187 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-26 18:07:54 +00:00
bruce%cybersight.com
7d28c89249 Fix for calls to nsFileSpec::GetLeafName(). It allocates memory with strdup(), so use free() and not delete[].
git-svn-id: svn://10.0.0.236/trunk@29113 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-25 13:27:36 +00:00
rjc%netscape.com
4cfc40f61c Fix file system datasource after Chris' landing.
git-svn-id: svn://10.0.0.236/trunk@29048 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-24 09:28:50 +00:00
waterson%netscape.com
af8c84cb7c 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.
git-svn-id: svn://10.0.0.236/trunk@29017 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-24 02:41:02 +00:00
rjc%netscape.com
64b80f4a7b hasAssertion() should return NS_OK irregardless of whether it actually has the assertion or not (instead of returning NS_ERROR_FAILURE if it it doesn't have the assertion).
git-svn-id: svn://10.0.0.236/trunk@29005 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-24 01:11:44 +00:00
rickg%netscape.com
b075304156 update to sync with nsString2
git-svn-id: svn://10.0.0.236/trunk@28674 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-22 06:13:43 +00:00
rjc%netscape.com
0766f1c5c4 File system datasource and Find datasource now specify that they want to be pulsed for updates by any observer (such as the tree widget). Also, fix a couple of bugs in the Find datasource due to changes on how errors are reported by RDF.
git-svn-id: svn://10.0.0.236/trunk@26350 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-05 23:09:15 +00:00
waterson%netscape.com
277bce3d1b Changed RDF-specific errors to be success rather than error codes.
git-svn-id: svn://10.0.0.236/trunk@25574 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-30 02:30:16 +00:00
waterson%netscape.com
5d0004fda1 Landed RDF_19990326_BRANCH, scriptability changes.
git-svn-id: svn://10.0.0.236/trunk@25453 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-29 19:52:54 +00:00
pinkerton%netscape.com
72edf29e00 PBGetVInfo()->PBHGetVInfo() for carbon compliance.
git-svn-id: svn://10.0.0.236/trunk@24916 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-23 23:29:20 +00:00
rjc%netscape.com
6a2fa958ca Only answer questions with positive assertions.
git-svn-id: svn://10.0.0.236/trunk@24377 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-19 00:44:04 +00:00
rjc%netscape.com
e76723a678 No longer checking if a file URL is a directory and, if so, appending a slash. nsFileSpec et.al. should be doing that now.
git-svn-id: svn://10.0.0.236/trunk@24366 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-19 00:00:52 +00:00
mcmullen%netscape.com
70f0026961 Adjusted the use of nsFileSpec in GetVolumeList(), thereby avoiding a crash.
git-svn-id: svn://10.0.0.236/trunk@24082 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-13 22:52:24 +00:00
rjc%netscape.com
4285a9887c Reduce amount of string allocation, and delete []basename when done with it.
git-svn-id: svn://10.0.0.236/trunk@24068 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-13 09:32:13 +00:00
rjc%netscape.com
75a939310a Use nsFileURL instead of nsFilePath to get file URL.
git-svn-id: svn://10.0.0.236/trunk@24067 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-13 09:25:46 +00:00
warren%netscape.com
cc89d8e394 Changed GetEnabledCommands to GetAllCommands/IsCommandEnabled.
git-svn-id: svn://10.0.0.236/trunk@23975 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-12 21:28:34 +00:00
rjc%netscape.com
d57c9702e3 The file system datasource now sets a type='FileSystemObject' attribute on file system nodes.
git-svn-id: svn://10.0.0.236/trunk@23917 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-12 08:50:36 +00:00
rjc%netscape.com
d1d11b6ca0 Only answer GetTarget() queries if its a file URL (ignore file root node)
git-svn-id: svn://10.0.0.236/trunk@23700 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-11 12:00:57 +00:00
warren%netscape.com
720e68dd8f First cut at new command architecture.
git-svn-id: svn://10.0.0.236/trunk@23691 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-11 10:01:25 +00:00
rjc%netscape.com
35eea039ba Comment out PR_ASSERT() due to assert/unassert now actually being called.
git-svn-id: svn://10.0.0.236/trunk@23378 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-09 22:06:29 +00:00
waterson%netscape.com
f856b93c1d 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.
git-svn-id: svn://10.0.0.236/trunk@23273 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-09 04:01:56 +00:00
rjc%netscape.com
84f2cdbbb7 Only have one arc (a child) going out, otherwise duplicates! Also commented out NS_INIT_REFCNT() due to weirdness.
git-svn-id: svn://10.0.0.236/trunk@22862 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-05 06:03:03 +00:00
rjc%netscape.com
108021ada8 Changes to autoregister the file system datasource (broken due to Warren's earlier changes.)
git-svn-id: svn://10.0.0.236/trunk@22826 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-05 03:22:51 +00:00
warren%netscape.com
49ed8e046f Changes for RDF component registration using nsRepository. Also changed args to NSGetFactory and friends.
git-svn-id: svn://10.0.0.236/trunk@22094 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 10:17:14 +00:00
rjc%netscape.com
0629e3a3f0 Add RDF file system datasource into builds.
git-svn-id: svn://10.0.0.236/trunk@22019 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 02:04:28 +00:00
rjc%netscape.com
de65e8143f *** empty log message ***
git-svn-id: svn://10.0.0.236/trunk@21391 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-20 03:52:26 +00:00
rjc%netscape.com
568775e64c FileSystem data source now uses nsFileSpec (in base)
git-svn-id: svn://10.0.0.236/trunk@21369 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-20 01:38:57 +00:00
rjc%netscape.com
64903cc309 First cut at a file system data source.
git-svn-id: svn://10.0.0.236/trunk@18686 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-27 01:26:07 +00:00