Commit Graph

270 Commits

Author SHA1 Message Date
rjc%netscape.com
5eef4002d5 Oops... don't compare against nsnull. 1999-04-28 01:01:06 +00:00
rjc%netscape.com
22b8b32505 We now write out "bookmarks.html" on a Flush(). 1999-04-28 00:58:59 +00:00
ftang%netscape.com
37a1e14fc9 pass default charset info to parser 1999-04-27 21:33:36 +00:00
rjc%netscape.com
39529fdcbc Give imported IE Favorites their own icon type (and associated CSS style) so that they can have their own distinct icons. 1999-04-27 07:38:19 +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
davidm%netscape.com
50cc808ebf Add nsIWindowMediator.h 1999-04-27 02:57:45 +00:00
davidm%netscape.com
786340eefc First Checked In. 1999-04-27 02:57:22 +00:00
rjc%netscape.com
820bdab28b Use nsSpecialSystemDirectory to determine Windows IE Favorites folder instead of using static "file:///C|/WINDOWS/Favorites/" path.
Thanks to michael.lowe@bigfoot.com for the patch here and to nsSpecialSystemDirectory code.
1999-04-27 02:56:07 +00:00
rjc%netscape.com
97394120ab Give separators a default name (some dashes). 1999-04-27 02:36:22 +00:00
rjc%netscape.com
3828abdb73 Separator support. 1999-04-27 01:33:34 +00:00
waterson%netscape.com
974918406a Add sanity checks. 1999-04-26 18:41:10 +00:00
waterson%netscape.com
03e0c09c6f Add sanity checks. Bug 5411, fix off-by-one in destructor loop initializer. 1999-04-26 18:40:53 +00:00
waterson%netscape.com
6bd3e1a899 Bug 5411. Fixed off-by-one in loop initialzer. 1999-04-26 18:40:06 +00:00
waterson%netscape.com
8a72ad61c3 Added parameter checks. Updated return codes. 1999-04-26 18:07:54 +00:00
bruce%cybersight.com
ff745bb2cd Fix for calls to nsFileSpec::GetLeafName(). It allocates memory with strdup(), so use free() and not delete[]. 1999-04-25 13:27:36 +00:00
rjc%netscape.com
6176d06114 Fix file system datasource after Chris' landing. 1999-04-24 09:28:50 +00:00
rjc%netscape.com
7a2ec7d76d Fix related links after Chris' landing. 1999-04-24 09:07:02 +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
rjc%netscape.com
218ae540b7 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). 1999-04-24 01:11:44 +00:00
rickg%netscape.com
a628b6cf72 sync up with nsString2.cpp 1999-04-22 17:08:36 +00:00
rjc%netscape.com
c6fb61b36c Typo. 1999-04-22 11:11:33 +00:00
rjc%netscape.com
8f9d7e7511 Save file as text. 1999-04-22 10:56:15 +00:00
rjc%netscape.com
40dcad395e Save as text files. 1999-04-22 10:50:48 +00:00
rjc%netscape.com
ab122077e4 Adding support for "Related Links". 1999-04-22 10:46:28 +00:00
rickg%netscape.com
8551ad66c9 update to sync with nsString2 1999-04-22 06:13:43 +00:00
rickg%netscape.com
8cc2bdda24 sync with new nsString2 API 1999-04-21 04:02:14 +00:00
rjc%netscape.com
7cc04a6075 Return names of FTP URLs. 1999-04-20 20:28:57 +00:00
rickg%netscape.com
e1012f40b9 sync with nsString2 API 1999-04-20 07:20:21 +00:00
waterson%netscape.com
248c61e86a Removed straggling rdf_Assert() that was #ifdef XP_MAC. 1999-04-17 00:25:04 +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
fc64a02144 Code cleanup. 1999-04-16 08:39:02 +00:00
waterson%netscape.com
5168f6bd9e Moved localstore.rdf to the bin dir instead of tmp so that clobber builds will blow it away. 1999-04-13 21:02:18 +00:00
jdunn%netscape.com
d80e1ad24a remove compiler warning, add comment delimiters after endif 1999-04-12 20:58:05 +00:00
waterson%netscape.com
1bb2074567 Landed RDF_19990407_BRANCH, which includes changes to support the local store, support for namespace prefixes in DOM methods, and notifications. 1999-04-12 19:02:12 +00:00
hyatt%netscape.com
ce9ce62252 Bug 3298 fixed with this patch. 1999-04-10 09:31:48 +00:00
nisheeth%netscape.com
f4a64fe49a Replacing asserts in the destructor with printf's. These asserts fire when the namespace or content stacks are non-empty which can happen for any malformed XML document, now that expat is enabled.
This checkin and the earlier one to htmlparser/src/* was approved by Chris Hoffmann earlier todxay.
1999-04-08 09:27:08 +00:00
waterson%netscape.com
e07ee6fe41 Bug 4710. Implement no-ops for local store commands so as not to break stuff that depends on commands working. r=putterman@netscape.com, a=chofmann@netscape.com 1999-04-08 00:43:11 +00:00
waterson%netscape.com
e85ace8aa5 Bug 4706. Make sure to close the first RDF:RDF tag. Duh. 1999-04-07 23:18:54 +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
2c01f2f95c Added nsLocalStore.cpp. 1999-04-06 20:37:24 +00:00
waterson%netscape.com
bba688083b Added nsILocalStore.h 1999-04-06 20:36:37 +00:00
rjc%netscape.com
305a97cf84 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. 1999-04-05 23:09:15 +00:00
waterson%netscape.com
2041bbcc79 Flip MOZ_BRPROF switch. 1999-04-01 06:40:09 +00:00
jdunn%netscape.com
9959e0cc94 Fix compiler warning (at least on AIX) 1999-03-31 04:20:33 +00:00
waterson%netscape.com
489a4f94fd Bug 4433. Fix XUL content sink to return NS_OK instead of NS_ERROR_UNEXPECTED when it sees too many close tags. 1999-03-31 03:53:46 +00:00
rjc%netscape.com
08d0b05e70 Add FindBookmarkShortcut() method. 1999-03-30 10:42:55 +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
0cf17d4ce5 Landed RDF_19990326_BRANCH, scriptability changes. 1999-03-29 19:52:54 +00:00
rjc%netscape.com
b1467f3bf1 Fix declarative error. 1999-03-28 21:52:31 +00:00
rjc%netscape.com
1c9aa6c8d1 Bookmark datasource now has a public interface. Also, with interface it now
has a new method:  AddBookmark()
1999-03-28 21:33:38 +00:00
rjc%netscape.com
5c32ec9caf Export new interface: nsIBookmarkDataSource.h 1999-03-28 21:32:33 +00:00
rjc%netscape.com
0105d109d4 Buffer up a line at a time when reading in FTP input. 1999-03-26 07:44:01 +00:00
rjc%netscape.com
34cf08f2d9 Gotta luv Makefiles! 1999-03-26 06:06:16 +00:00
rjc%netscape.com
0e0cfecb0d Add FTP datasource into build. 1999-03-26 05:57:22 +00:00
rjc%netscape.com
d1bee60226 More FTP changes. (Not yet in build) 1999-03-26 05:20:25 +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
7f9da604ec Reverted accidental commit of makefile.win 1999-03-25 08:20:46 +00:00
warren%netscape.com
0a90374811 Added brprof bootstrapping code (ifdef DEBUG_warren for now). 1999-03-25 08:20:19 +00:00
rjc%netscape.com
1aec68039f FTP data source (not yet in build) 1999-03-25 02:31:15 +00:00
rjc%netscape.com
f13f327752 FTP datasource (not yet being built) 1999-03-25 02:30:21 +00:00
rjc%netscape.com
6db0a81d8b Make sure history line isn't an empty line. 1999-03-24 02:19:02 +00:00
rjc%netscape.com
7876516873 More History datasource changes and bugfixes. 1999-03-24 02:15:34 +00:00
pinkerton%netscape.com
afb8490fa1 PBGetVInfo()->PBHGetVInfo() for carbon compliance. 1999-03-23 23:29:20 +00:00
rjc%netscape.com
c19d197e95 Temporarily commenting out remembering of file, due to Win crash in nsFileSpec at startup. (I'll investigate tomorrow!) 1999-03-23 11:10:27 +00:00
rjc%netscape.com
67d012a016 Smarter "History by Date": break up entries into "Today", "Yesterday", "{day of last week}", and then finally "Week of ...". 1999-03-23 10:48:26 +00:00
rjc%netscape.com
eb28db830c Now also read-in/save-out visitCount. 1999-03-23 08:00:05 +00:00
rjc%netscape.com
e2fb1362f1 Try and do a live import for "IE Favorites" under Windows too now. 1999-03-23 07:10:19 +00:00
rjc%netscape.com
53ff2692d3 Now do a live import of "IE Favorites" into our bookmarks (on Mac). 1999-03-23 06:50:16 +00:00
rjc%netscape.com
ca2de5203e Add first level of "History by Date" support. 1999-03-23 03:24:33 +00:00
rickg%netscape.com
e26a3d2825 prep work to land nsString2 1999-03-22 08:29:26 +00:00
waterson%netscape.com
e05927b6bb Hooked up history to the front-end, cleaned up a bunch of bugs. 1999-03-20 17:12:37 +00:00
mcmullen%netscape.com
add90a8810 Again. 1999-03-20 00:41:14 +00:00
mcmullen%netscape.com
0a17b73c96 More fixes (dangling pointers and fishy constscoffness) 1999-03-20 00:29:16 +00:00
mcmullen%netscape.com
ca3e7e9d9a FIx possible bustage (not shown up on tinderbox yet). 1999-03-20 00:18:53 +00:00
rjc%netscape.com
25c09f47d0 Remember cast of void ** on QueryInterface! 1999-03-19 04:19:55 +00:00
rjc%netscape.com
592a18a6b2 Added a comment about nsString.Find() which is currently only case-significant. We really want to have a case-insignificant Find(). 1999-03-19 04:17:17 +00:00
rjc%netscape.com
d2971bcdb2 Finish implementing match criterion. 1999-03-19 04:14:20 +00:00
rjc%netscape.com
b8c6ad0745 Only answer questions with positive assertions. 1999-03-19 00:44:04 +00:00
rjc%netscape.com
356d2d3172 Add RDF find datasource into build system. 1999-03-19 00:01:49 +00:00
rjc%netscape.com
2e2ebfe6cd No longer checking if a file URL is a directory and, if so, appending a slash. nsFileSpec et.al. should be doing that now. 1999-03-19 00:00:52 +00:00
rjc%netscape.com
e53b82059b Export nsIRDFFind.h 1999-03-18 22:35:12 +00:00
rjc%netscape.com
2e873c5ecd First Checked In. 1999-03-18 22:34:22 +00:00
mcmullen%netscape.com
abb0abb222 Adjusted the use of nsFileSpec in GetVolumeList(), thereby avoiding a crash. 1999-03-13 22:52:24 +00:00
rjc%netscape.com
9ad0260123 Reduce amount of string allocation, and delete []basename when done with it. 1999-03-13 09:32:13 +00:00
rjc%netscape.com
68b5fd27ca Use nsFileURL instead of nsFilePath to get file URL. 1999-03-13 09:25:46 +00:00
pierre%netscape.com
f6ea34953b fixed uninitialized variable in XULContentSinkImpl::Init() 1999-03-12 23:36:33 +00:00
warren%netscape.com
5ab052576e Changed GetEnabledCommands to GetAllCommands/IsCommandEnabled. 1999-03-12 21:28:34 +00:00
rjc%netscape.com
709bbefa61 The file system datasource now sets a type='FileSystemObject' attribute on file system nodes. 1999-03-12 08:50:36 +00:00
waterson%netscape.com
c23bfa638d Ripped out the 'toy' parser and installed an updated version of the parser from 4.5. 1999-03-12 07:46:42 +00:00
hyatt%netscape.com
7b38b946bc Tweaked the content sink to remove an unused argument from the Init method. 1999-03-12 05:21:01 +00:00
rjc%netscape.com
89f95e4efc Make history datasource work on Mac and Unix, not just Windows. Now using nsFileSpec and removed all Std C FILE code in favor of streams. 1999-03-12 03:42:43 +00:00
danm%netscape.com
b182b1d56f fix large leak loading XUL page. bug 3561 reported by bruce@cybersight.com. r:hyatt. 1999-03-11 19:54:17 +00:00
rjc%netscape.com
5999ae50bf Only answer GetTarget() queries if its a file URL (ignore file root node) 1999-03-11 12:00:57 +00:00
warren%netscape.com
c2dd39a493 First cut at new command architecture. 1999-03-11 10:01:25 +00:00
hyatt%netscape.com
b2fa4f5976 Tweaks related to XUL fragments. 1999-03-10 23:31:26 +00:00
rjc%netscape.com
26211018ff const this, baby! 1999-03-10 22:54:49 +00:00
rjc%netscape.com
d58133810f When asking for a bookmark's URL via GetTarget(), synthesize it. 1999-03-10 21:58:40 +00:00
waterson%netscape.com
bdc7dc2003 Remove invalid reference to nsIRDFContent.h 1999-03-10 20:18:21 +00:00
hyatt%netscape.com
dce8a87ab7 Working on XUL fragments. 1999-03-10 20:05:12 +00:00
waterson%netscape.com
411cf39b7a Bug 3510. Fixed to use nsFileSpec, so now bookmarks should load on Mac (even through an alias). 1999-03-10 08:15:17 +00:00
hyatt%netscape.com
8c55b37f43 Fixing a bug. 1999-03-10 01:47:35 +00:00
hyatt%netscape.com
428fcbb0ed Adding support for XUL fragments to the content sink. (Work in
progress)
1999-03-10 01:45:53 +00:00
mcafee%netscape.com
2313af674b PRBool means use PR_FALSE/PR_TRUE. This breaks Solaris. 1999-03-10 00:53:29 +00:00
rjc%netscape.com
f19354c9e7 Comment out PR_ASSERT() due to assert/unassert now actually being called. 1999-03-09 22:06:29 +00:00
ramiro%netscape.com
eb2ce0674f Use the macro on all platforms. Thanks to pierre for helping me make sure
it doesnt break the mac.  I verified that it works on unix and windows.
1999-03-09 19:19:02 +00:00
warren%netscape.com
4c0ac65b2a Fixed nsRepository -> nsComponentManager 1999-03-09 12:43:27 +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
ramiro%netscape.com
8a849f863a Templates in nsXPComFactory exorcism. Part I.
Replaced the template code with a NS_DEF_FACTORY.
This is temporary.  As soon as I can verify this works on windows and
mac, ill remove the old code.
1999-03-08 09:44:16 +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
rjc%netscape.com
a3f2dec650 Only have one arc (a child) going out, otherwise duplicates! Also commented out NS_INIT_REFCNT() due to weirdness. 1999-03-05 06:03:03 +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
dd7c2d27e3 Changes to the content sink to make sure attributes are not converted to lower case
and to make sure attributes are put into the correct namespace.
1999-03-05 00:02:33 +00:00
scc%netscape.com
2ec0a397ea rename |IID()| --> |GetIID()| 1999-03-03 19:48:57 +00:00
hyatt%netscape.com
1d7617de7f More fixes to make sure the right attribute namespace is being used. 1999-03-03 01:38:32 +00:00
hyatt%netscape.com
1fec664a60 Fixes so that attributes are set correctly. 1999-03-03 01:26:33 +00:00
hyatt%netscape.com
8e035eada0 Fixes to attributes so that they are properly added in with a namespace of
NONE.
1999-03-03 01:17:29 +00:00
waterson%netscape.com
cb6e99b330 General clean-up. Use RDF containers instead of multi-attributes. 1999-03-02 01:38:34 +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
waterson%netscape.com
b49aa431b2 Removed the use-tag-namespace-as-default-namespace hack (well, #ifdef'd it out, anyway). 1999-02-24 19:25:14 +00:00
warren%netscape.com
9a85735160 Removed demo mail datasource. 1999-02-24 08:02:28 +00:00
waterson%netscape.com
2058dae033 Made default namespaces work. 1999-02-24 04:47:19 +00:00
rjc%netscape.com
c559019606 *** empty log message *** 1999-02-20 03:52:26 +00:00
rjc%netscape.com
0fc1c99cd3 Export nsIRDFFileSystem.h 1999-02-20 02:04:24 +00:00
rjc%netscape.com
3941a3d2c5 FileSystem data source now uses nsFileSpec (in base) 1999-02-20 01:38:57 +00:00
mcafee%netscape.com
759d1a2b61 PRBool: use PR_FALSE, PR_TRUE instead of false, true. 1999-02-19 10:57:49 +00:00
waterson%netscape.com
58a218c757 Force all HTML tags to lower case. 1999-02-18 00:24:16 +00:00
waterson%netscape.com
c7aaa78312 Added a hack to use the tag's namespace as the default namespace in the lack of any other information. Not sure if this is correct. 1999-02-17 23:41:23 +00:00
hyatt%netscape.com
98b445d7cb Fixed bug with inline scripts: wasn't truncating the text buffer. 1999-02-17 22:33:09 +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
troy%netscape.com
c4d849a349 Added cast 1999-02-14 06:20:52 +00:00
peterl%netscape.com
7f04fb00e6 changed all html atoms to lower case 1999-02-12 06:19:07 +00:00
waterson%netscape.com
4e0b4e96bb Added XP_UNIX filename for bookmarks. 1999-02-10 19:13:12 +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
ac319994ec Fixed return type. 1999-02-05 01:27:59 +00:00
waterson%netscape.com
639a8ee4ef Fixed missing NS_INIT_REFCNT() bug. 1999-02-04 10:54:18 +00:00
hyatt%netscape.com
5361c5a133 Implementation of the XUL content sink. 1999-02-03 02:49:30 +00:00
waterson%netscape.com
a4062a7390 Fixed some refcounting bugs. 1999-02-02 07:07:32 +00:00
waterson%netscape.com
1261fed0ac Initial revision. 1999-02-02 00:43:56 +00:00
rjc%netscape.com
207d9a9932 Oops, didn't mean to check in changes for the file system into makefiles. 1999-01-27 01:26:08 +00:00
rjc%netscape.com
e461a26fdd First cut at a file system data source. 1999-01-27 01:26:07 +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
guha%netscape.com
77399b80d9 started implementing history (not yet in build system) 1999-01-15 23:44:37 +00:00
pierre%netscape.com
42ed95ef3d fixed the bookmarks file path for the Mac 1999-01-15 22:34:15 +00:00
guha%netscape.com
2fc3084b52 bookmarks stuff 1999-01-15 18:56:28 +00:00
waterson%netscape.com
4ab3ee924b Fix compiler warning. 1999-01-14 23:04:59 +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