Commit Graph

270 Commits

Author SHA1 Message Date
rjc%netscape.com
9487fa598c Work around bug #8278. 1999-06-16 06:58:40 +00:00
rjc%netscape.com
9572e0be8c Try and ensure that we're actually looking at proper search datasets by checking file type and creator on Mac. 1999-06-16 06:46:51 +00:00
rjc%netscape.com
6ae1446023 Only save data in graph if its not already there. Also, resolve aliases to search datasets on Mac. 1999-06-16 06:01:04 +00:00
rjc%netscape.com
2aa04ff204 Use case-insignificant string comparisons now that we can. 1999-06-16 05:32:13 +00:00
rjc%netscape.com
ce0d4e22cb If we already have the results from a search, just return them; don't bother re-doing the search. 1999-06-16 05:22:14 +00:00
rjc%netscape.com
b87fd97a8d Less memory intensiveness: now only load/save data into memory store as needed instead of upfront. 1999-06-16 05:11:54 +00:00
rjc%netscape.com
c10c0ed04e Add checks for NULL before using mInner. It could be NULL, for example, if JavaScript creates the datasource but forgets to Init() the datasource. 1999-06-16 00:59:43 +00:00
jdunn%netscape.com
dc3e41088a need to declare friend class 1999-06-15 23:33:19 +00:00
rjc%netscape.com
5083a5c6d3 Small fix for non-Mac platforms in terms of where to look for search datafiles. 1999-06-15 07:07:09 +00:00
peterl%netscape.com
8eae23158b sync to css loader api change (default namespace) 1999-06-15 06:22:46 +00:00
rjc%netscape.com
588b2ac593 Cleanup a bit. 1999-06-15 05:11:05 +00:00
rjc%netscape.com
44a53f5cf1 Added HTTP POST support for searching. 1999-06-15 05:07:29 +00:00
rjc%netscape.com
7c7e52d75a Check for URLs that need to be massaged to be absolute URLs. 1999-06-14 09:54:19 +00:00
rjc%netscape.com
82af360df9 More search support. 1999-06-14 07:14:38 +00:00
waterson%netscape.com
e180ff9e63 Move bookmarks to xpfe/components. 1999-06-11 06:17:15 +00:00
rjc%netscape.com
ae007635e3 More search support. 1999-06-10 19:42:53 +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
rjc%netscape.com
077df5b684 Adding RDF Search datasource into build. 1999-06-09 20:04:23 +00:00
rjc%netscape.com
58f6ce0b84 Adding RDF Search datasource. 1999-06-09 20:03:20 +00:00
waterson%netscape.com
1715e9d49e Don't rely on rdf_PossiblyMake[Relative|Absolute](); rather, use XUL-specific functions to do it. 1999-06-09 08:30:47 +00:00
chuang%netscape.com
1724772ad9 Fix bustage on Windows 1999-06-07 20:32:49 +00:00
waterson%netscape.com
13524884f1 Remove related links datasource. Moved to xpfe/components/related. 1999-06-07 19:54:36 +00:00
mcmullen%netscape.com
7b5beea5cc Fix an assert (and a bug) in some XP_MAC code for importing IE favorites. The wrong stream was being tested for openness, and the parser was being given a nonexistent stream to parse, and asserting. 1999-06-07 18:53:29 +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
peterl%netscape.com
27076063e1 fixed leak of css loader 1999-06-03 01:54:35 +00:00
rjc%netscape.com
a3740e7bba Small bug fix with FTP; be a little bit smarter at what paths need filtering out (along with "." and "..", skip any absolute URLs, as they usually point "up" the path to the parent) 1999-05-30 06:15:58 +00:00
rjc%netscape.com
776f2615bf Add support for separators in "Related Links" data. 1999-05-30 06:02:30 +00:00
peterl%netscape.com
552e479295 switch to CSS loader for loading CSS sheets
fixed mime type processing
1999-05-26 23:43:40 +00:00
dp%netscape.com
94344009c8 Landing xpcom20/21 branch. 1999-05-26 01:38:36 +00:00
waterson%netscape.com
d80fdffa34 Bug 4629. Store an ID= attribute on bookmark folders to ensure that we assign them the same resource in the graph between runs. 1999-05-21 22:19:12 +00:00
waterson%netscape.com
53141d021e Bug 5630. Use nsRandomAccessInputStream to read a line at a time (vs. a character at a time). Tip o' the hat to jim_nance@yahoo.com. 1999-05-19 05:53:14 +00:00
davidm%netscape.com
9c2fc96bb3 File Removed. 1999-05-18 21:42:21 +00:00
davidm%netscape.com
d27e3bdcdf removing nsIWindowMediator.h 1999-05-18 21:41:05 +00:00
waterson%netscape.com
fb3c6a734f Moved nsHistoryDataSource implementation into xpfe/components/history. 1999-05-18 04:09:44 +00:00
waterson%netscape.com
ab984cdd54 Add nsISupports to QI. 1999-05-17 22:20:35 +00:00
rjc%netscape.com
ec23883af8 While remote data starts streaming in, assert "loading"="true" attribute. When stream finishes, unassert it. Provide a "loading"="true" CSS style that sets the icon to be loading.gif 1999-05-08 12:42:33 +00:00
rjc%netscape.com
57e9f4498b Fix hasAssertion() methods of FTP and Related Links datasources. 1999-05-08 10:18:01 +00:00
rjc%netscape.com
d755cbc1b2 Fix history bug; if a URI doesn't have a title (for example, if we're loading in a GIF file), detect it and don't try to write out a bogus title. 1999-05-08 09:45:32 +00:00
rjc%netscape.com
85209cb18f Use nsFileSpec's GetCatInfo() instead of rolling our own. 1999-05-08 09:34:31 +00:00
dcone%netscape.com
df73d51115 fixed an autoString to use the GetUnicode() call 1999-05-06 07:42:43 +00:00
waterson%netscape.com
972df3e5fd Remove nsXULDataSource.cpp from the build: it's obsolete. Re-factor interfaces into individual .idl files. 1999-05-05 03:11:23 +00:00
waterson%netscape.com
2f645cee3a Bug 5937. (Well, related to it.) Fixed a bug-waiting-to-happen-with-forms. Make sure we _get_ the resource before we try to release it. 1999-05-05 02:44:49 +00:00
waterson%netscape.com
d0ca9f4302 Clean up includes. 1999-05-04 05:29:20 +00:00
rickg%netscape.com
6dbe8b21ed fixed nsString2 API mismatch 1999-05-04 05:09:48 +00:00
waterson%netscape.com
11098fd092 Bug 4725. Use PRUnichar for bookmark titles. r=rjc,a=chofmann 1999-05-01 19:32:57 +00:00
waterson%netscape.com
67367db890 Bug 4805. Re-wrote to be more paranoid. r=rjc,a=chofmann 1999-04-30 23:14:30 +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
rjc%netscape.com
4587859d86 Fix typo on XP_MAC. 1999-04-28 01:53:01 +00:00
rjc%netscape.com
9d9aedb786 If the "IE Favorites" root node already exists in bookmarks.html, don't re-add it. 1999-04-28 01:51:36 +00:00
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