Commit Graph

311 Commits

Author SHA1 Message Date
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