waterson%netscape.com
8952269460
Make sure all control paths return a value.
1999-09-10 00:01:27 +00:00
waterson%netscape.com
dd5836e5e9
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
warren%netscape.com
e6619b2ad6
Removed NS_BASE_STREAM_EOF in favor of returning a count of 0 from Read to indicate EOF. Renamed GetLength to Available. Fixed a number of places where AppendElement's broken error code wasn't checked.
1999-09-09 22:05:05 +00:00
putterman%netscape.com
d2c98d70b3
Don't worry about duplicate values.
1999-09-09 06:58:14 +00:00
waterson%netscape.com
c67173923d
Bug 13137. Fix broken usage of CBufDescriptor.
1999-09-07 02:46:08 +00:00
waterson%netscape.com
b692a32483
Right-shift two for hash function; inline some obvious stuff.
1999-09-07 02:44:43 +00:00
waterson%netscape.com
52918f3ff4
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
360c503e4e
Use nsAllocator instead of new[] and nsCRT::free() instead of delete[] for char* data.
1999-09-04 13:42:15 +00:00
dougt%netscape.com
dd5c903d9e
Changes nsIAtom iterface to return a shared (non-allocated) wstring when
...
GetUnicode() is called. (thanks waterson, jband)
Also fixing 12237. (thanks jband).
1999-09-03 22:21:29 +00:00
bruce%cybersight.com
9f69b4edf3
Fix some char* deallocation issues. Also remove a couple of static IIDs and includes that aren't needed.
1999-09-03 06:08:50 +00:00
kipp%netscape.com
f9203227a9
Use nsAutoString instead of nsCAutoString to avoid double string copy
1999-09-03 03:51:56 +00:00
waterson%netscape.com
d440dc9c2f
Use PL_HashTableRawAdd() to avoid hashing twice.
1999-09-02 21:29:06 +00:00
waterson%netscape.com
dca29351ad
Rewrite to avoid heap-spill when mangling the nextVal.
1999-09-02 21:28:33 +00:00
waterson%netscape.com
2a6252b51f
Bug 12351. Remove the assert; this can happen under normal operating conditions. Do not panic.
1999-09-02 06:54:12 +00:00
waterson%netscape.com
5d983a7c04
Use nsCString instead of nsString for anonymous content nodes. Get rid of use of rdf_Isa().
1999-09-01 00:50:01 +00:00
waterson%netscape.com
fa6285d8eb
Bug 3284. Removed static global reference to the RDF service. We no longer leak it (on purpose, anyway). Also, updated anonymous resource APIs to use nsCStrings instead of nsStrings.
1999-09-01 00:49:14 +00:00
gagan%netscape.com
c4b2914763
Another mem leak fixed.
1999-08-27 12:47:12 +00:00
rjc%netscape.com
ab2b716fe6
Add nsIXULSortService
1999-08-27 06:54:08 +00:00
rjc%netscape.com
9a4fd376f9
Add nsIXULSortService.idl
1999-08-27 06:52:34 +00:00
rpotts%netscape.com
3ed5c99db2
M9 BRANCH landing...
1999-08-26 22:45:55 +00:00
shaver%netscape.com
21ad9118d2
initial RDF NS_DECL_* spam
1999-08-24 09:11:48 +00:00
waterson%netscape.com
282167b0f6
Fix in-memory datasource aggregation.
1999-08-24 04:59:58 +00:00
dougt%netscape.com
8cf9b81629
xpild-ing nsIAtom. Now nsIAtom is xpcom compliant.
1999-08-21 07:07:00 +00:00
waterson%netscape.com
7e90bacdd2
Bug 11575. Null check after pulling URI out of a resource. a=chofmann
1999-08-12 01:16:13 +00:00
mccabe%netscape.com
d6e7410f31
Changes to the xpidl compiler -
...
Error if an interface is declared [scriptable], but contains methods that can't be scripted because they refer to native-declared types, unless the method is declared [noscript].
This change is intended to make it easier to determine when an interface is not scriptable, and to make it easier to see what changes need to be made to make it scriptable.
As many of the .idl files in the tree defined [scriptable] interfaces that contained non-scriptable methods, I've sprinkled [noscript] throughout. As the interfaces weren't scriptable anyway, this shouldn't change their visibility to javascript.
1999-08-10 12:18:01 +00:00
jband%netscape.com
dcee61528a
was forgetting to check a result
1999-08-10 05:35:09 +00:00
waterson%netscape.com
5fbadfcef3
Bug 8836. Make RDF service a shared global variable. For some reason, this fixes the bizarre assertions when closing a file. Voodoo. Magic. Whatever.
1999-08-06 20:24:29 +00:00
rjc%netscape.com
be38c4db52
Don't leak proxy.
1999-08-05 20:10:08 +00:00
waterson%netscape.com
87d4ade1f9
Bug 9250. Predefined entities should be case sensitive; update so that they are all lower case.
1999-08-04 06:18:40 +00:00
warren%netscape.com
6685d8332e
Took out NS_ERROR when file not found.
1999-08-03 21:59:40 +00:00
waterson%netscape.com
a25ad074a0
Back out RJC's previous changes; they aren't necessary. Failure is dealt with by the destructor, which will _always_ be called from the factory method if Init() fails.
1999-08-03 21:00:39 +00:00
waterson%netscape.com
56e30e8f88
Bug 11154. Use 2-byte compare fn for literal hash table.
1999-08-03 20:59:56 +00:00
rjc%netscape.com
be01dfffa2
Fix potential memory leakage upon failure.
1999-08-03 06:34:06 +00:00
rjc%netscape.com
0a6a47d58e
If GetNameSpaceID() fails due to a null namespace, now return kNameSpace_None instead of failure.
1999-08-02 06:35:26 +00:00
waterson%netscape.com
99ca026589
Fix nsRDFSerivce.cpp so that it can be unloaded.
1999-07-30 23:52:47 +00:00
rjc%netscape.com
a181cbc2b6
Use GetValueConst a bit.
1999-07-30 23:40:30 +00:00
nisheeth%netscape.com
1458ecf3e7
Adding a new parameter, aMode, to nsIContentSink::AddDocTypeDecl.
1999-07-28 06:56:05 +00:00
waterson%netscape.com
7b9e4f6408
Obsolete.
1999-07-28 04:06:32 +00:00
waterson%netscape.com
f6b84db71a
Land TEMPLATE_19990726_BRANCH; RDF C++ content model builder exorcism.
1999-07-27 17:20:28 +00:00
rickg%netscape.com
bcfb3a153a
replaced call to deprecated nsString API
1999-07-26 00:47:36 +00:00
mscott%netscape.com
ed2a17b71b
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
7bcb94a320
Changed around load group insertion/removal to happen on mozilla thread.
1999-07-20 08:46:33 +00:00
waterson%netscape.com
3196b679df
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
844a7e45ef
switch to faster string search API
1999-07-19 03:29:56 +00:00
peterl%netscape.com
e3019ad978
clean up some string usage
1999-07-18 00:01:21 +00:00
rjc%netscape.com
70e09ca0d1
More cleanup.
1999-07-17 02:33:00 +00:00
hyatt%netscape.com
2ee4ccec8a
XUL overlay work.
1999-07-17 02:24:13 +00:00
rjc%netscape.com
73fdcacca7
Cleanup command APIs slightly.
1999-07-17 02:15:53 +00:00
waterson%netscape.com
69ae62cf2c
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
40035936c1
Back out last change; was causing crashes on Unix.
1999-07-17 01:31:24 +00:00
rjc%netscape.com
0ebba35da4
Fix nsISupportsArray for RDF datasources.
1999-07-17 00:11:19 +00:00
warren%netscape.com
c5684bf4d7
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
3a7511cd87
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
0cd57746e8
Necko stuff for dealing with load groups when opening URLs.
1999-07-09 21:18:47 +00:00
ramiro%netscape.com
9200ddaebb
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
9efa754f74
Added channel argument to nsIStreamObserver/nsIStreamListener/nsIProgressEventSink methods.
1999-07-07 08:08:40 +00:00
waterson%netscape.com
0debe565c3
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
c95767333a
Temporary hacky sloppy fix for rdf_MakeAbsoluteURI().
1999-07-03 19:10:00 +00:00
waterson%netscape.com
58356cef1f
Clean up compiler warnings. Thanks, slamm!
1999-07-03 04:43:44 +00:00
waterson%netscape.com
5166556a36
Clean up compiler warnings. Thanks, slamm.
1999-07-03 04:31:43 +00:00
waterson%netscape.com
733c8e5e18
Ooops. Be sure to call Flush() _before_ freeing the mURLSpec.
1999-07-03 04:26:04 +00:00
waterson%netscape.com
e81291d841
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
cdeb79cf84
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
b3c56a084d
Fixed necko case to call OnStartRequest, etc.
1999-07-02 06:15:00 +00:00
waterson%netscape.com
a2c7bc4046
Primitive implementation for Change() and Move() methods.
1999-07-02 03:40:32 +00:00
warren%netscape.com
8462929dda
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
82777a2af7
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
f6b9d3a028
Necko ifdefs for layout and rdf.
1999-06-26 06:36:26 +00:00
rjc%netscape.com
452d355bf8
Return an empty command enumerator instead of throwing an assertion.
1999-06-26 04:58:22 +00:00
rjc%netscape.com
fcb4181ccf
Implement GetAllCmds().
1999-06-26 02:58:50 +00:00
rjc%netscape.com
3a764c6bfc
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
30f5f63b74
Expunge EqualsResource() and EqualsLiteral().
1999-06-25 20:51:13 +00:00
waterson%netscape.com
0c868a1c89
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
f008503b2f
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
23864df5e3
Renamed nsIURL to nsIURI in preperation for necko. More NECKO ifdefs too.
1999-06-23 03:29:44 +00:00
waterson%netscape.com
dccfbfeed8
Bug 8453. Fix lots of bugs in the RDF container code.
1999-06-20 00:19:54 +00:00
waterson%netscape.com
ff32cb3526
Bug 8386. Over-use of 'about=' attribute on containers; use 'ID=' when possible.
1999-06-20 00:19:23 +00:00
valeski%netscape.com
487d9ea921
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
42cf131ba7
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
42df219155
Bug 8174. Remove PR_EXTERN for private symbols.
1999-06-16 04:45:36 +00:00
waterson%netscape.com
89362c4c3b
Bug 8267. Add nsIRDFContainer::RemoveElementAt() implementation.
1999-06-16 02:08:54 +00:00
waterson%netscape.com
acbc120122
Bug 7385. Open datasources asynchronously by default.
1999-06-15 03:19:33 +00:00
waterson%netscape.com
59e2a6ebc0
Add a rdf_MakeAboluteURI() that's overloaded to take an nsIURL.
1999-06-12 21:14:32 +00:00
waterson%netscape.com
034a9ae3b4
Add read-only accessors to get at the datasource and container elements.
1999-06-11 04:56:18 +00:00
waterson%netscape.com
15227d53d9
Add null checks.
1999-06-11 03:32:02 +00:00
waterson%netscape.com
177d19f731
Oops. I'd screwed up the Release() method.
1999-06-10 08:01:13 +00:00
waterson%netscape.com
2212cca9b0
Enable aggregation on the in-memory datasource.
1999-06-10 06:47:28 +00:00
peterl%netscape.com
e4693f9f9a
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
34038fcfb7
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
86f5f812ce
Fix Linux bustage.
1999-06-08 22:29:58 +00:00
hyatt%netscape.com
417208484f
Adding new idl.
1999-06-08 21:58:32 +00:00
waterson%netscape.com
0ebdb63b60
Obsolete.
1999-06-04 22:19:32 +00:00
alecf%netscape.com
4ed86a156f
export xulstubs.idl on windows
1999-06-04 04:18:29 +00:00
ducarroz%netscape.com
620f6da426
add xulstubs.idl
1999-06-03 21:00:43 +00:00
alecf%netscape.com
0f549d4c5c
oops, forgot to make this native code for C++
1999-06-03 20:47:09 +00:00
waterson%netscape.com
452a3a8494
Remove unnecessary LINCS now that all headers are pushed to the same directory.
1999-06-03 20:22:54 +00:00
alecf%netscape.com
38220df50f
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
0ab5892ff8
Remove a shadowing variable declaration.
1999-05-28 06:49:30 +00:00
waterson%netscape.com
2de8b23615
Bug 6958. Fix inconsistency between string and string size. a=chofmann.
1999-05-24 03:51:56 +00:00
waterson%netscape.com
ef7e0d36ec
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
c2b4a6d1c0
No longer needed.
1999-05-19 05:57:55 +00:00
waterson%netscape.com
ea553b55c6
These files are generated now.
1999-05-19 05:57:28 +00:00
waterson%netscape.com
6ddd848805
Use nsServiceManager to get singleton datasources instead of nsComponentManager.
1999-05-18 03:53:18 +00:00
shaver%netscape.com
24efe3a2b7
allow rdf:datasource;param=var (r=waterson)
1999-05-14 23:56:30 +00:00
waterson%netscape.com
485272b528
Use NS_WITH_SERVICE.
1999-05-13 20:53:07 +00:00
waterson%netscape.com
0e20e8f768
Fix leakage of RDF service.
1999-05-13 20:52:42 +00:00
mcmullen%netscape.com
739a8fe927
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
2b5361fb91
First Checked In.
1999-05-13 00:01:48 +00:00
waterson%netscape.com
34451dc42c
First Checked In.
1999-05-11 19:02:48 +00:00
waterson%netscape.com
c37e21c106
Generate base header files.
1999-05-11 02:11:01 +00:00
mccabe%netscape.com
24c043bde6
_xpidlgen is now cvsignore'd globally; remove redundant per-directory references.
1999-05-10 20:52:47 +00:00
waterson%netscape.com
a389d3aa3d
Ignore the _xpidlgen directory.
1999-05-10 19:31:34 +00:00
waterson%netscape.com
6282bf4505
Generate RDF headers.
1999-05-10 18:51:20 +00:00
waterson%netscape.com
13ed406992
nsISupportsArray hackery.
1999-05-07 19:56:19 +00:00
waterson%netscape.com
8f9e153dd3
#include nsIEnumerator, because the decl of nsISimpleEnumerator has moved there.
1999-05-07 19:55:44 +00:00
waterson%netscape.com
2c53b41852
Fix compiler warnings.
1999-05-06 06:33:47 +00:00
waterson%netscape.com
4c67165bad
Fix off-by-one error, and an infinite loop.
1999-05-06 06:32:54 +00:00
waterson%netscape.com
4ed012a924
Obsolete.
1999-05-06 05:17:37 +00:00
waterson%netscape.com
7557384287
Forgot to update MANIFEST, idiot.
1999-05-05 03:18:20 +00:00
waterson%netscape.com
70b5ea098e
Forgot to update Makefile.in, idiot.
1999-05-05 03:18:03 +00:00
waterson%netscape.com
73fd36d322
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
35b16ac48a
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
1e4a40a64c
Unclump interfaces into individual files.
1999-05-05 00:48:15 +00:00
waterson%netscape.com
54d516217b
Unclumped interfaces into individual files.
1999-05-05 00:47:38 +00:00
waterson%netscape.com
0f791dd0f5
Re-factored into individual interfaces.
1999-05-04 03:37:07 +00:00
waterson%netscape.com
aa24a3d644
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
957bdbe7f0
Added some PR_LOG stuff to help debug leaks.
1999-04-28 06:24:19 +00:00
waterson%netscape.com
4a78156dd6
Made sure that the composite datasource cursor returns unique elements.
1999-04-28 02:42:31 +00:00
ftang%netscape.com
23aa77ee25
pass default charset info to parser
1999-04-27 21:33:36 +00:00
waterson%netscape.com
43590208f7
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
ab34fa458b
Initial revision.
1999-04-26 18:46:36 +00:00
waterson%netscape.com
9c10e840ee
Added nsIRDFContainer and nsIRDFContainerUtils to replace the old C versions in rdfutil.
1999-04-26 18:45:59 +00:00
waterson%netscape.com
c1acd45694
Added nsIRDFContainer and nsIRDFContainerUtils.
1999-04-26 18:45:14 +00:00
waterson%netscape.com
e545139879
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
4cb7a18b20
removed fix for memory leak until we can fix other ref counting problems.
1999-04-23 17:46:25 +00:00
rickg%netscape.com
f0aff5fdf8
update to sync with nsString2
1999-04-22 05:57:36 +00:00
waterson%netscape.com
cc4a887590
Got rid of unncessary use of RDF_DEFINE_VOCAB macro.
1999-04-22 03:16:55 +00:00
waterson%netscape.com
1732f86c1d
Added some missing addrefs.
1999-04-22 03:16:09 +00:00
waterson%netscape.com
dff3c8218c
Fixed a nsIRDFResource leak.
1999-04-22 03:15:27 +00:00
waterson%netscape.com
1f2cfa7bdf
Made all interfaces 'scriptable' to generate a usable typelib.
1999-04-22 03:14:20 +00:00
waterson%netscape.com
a12efd3224
Bug 4750. Updated RDF_NAMESPACE_URI to refer to the most recent (and final) version of the RDF recommendation.
1999-04-21 00:11:39 +00:00
waterson%netscape.com
10cc7b2f8a
Bug 4750, 5220. Use correct RDF namespace. Fix incorrect use of RDF prefix on some RDF attributes.
1999-04-21 00:09:41 +00:00
rickg%netscape.com
0d1b06ca19
sync with nsString2 API
1999-04-20 07:20:21 +00:00
waterson%netscape.com
d5d7bafd37
Code cleanup. Got rid of rdf_Assert() functions.
1999-04-17 00:10:18 +00:00
waterson%netscape.com
c2c4a45431
Bug 4400. Fixed leaking of keys from resource and datasource tables.
1999-04-16 22:04:32 +00:00
waterson%netscape.com
a5c1a36321
Code cleanup.
1999-04-16 08:39:02 +00:00
waterson%netscape.com
c0bc14da61
Removed a frivolous assert.
1999-04-16 08:36:56 +00:00
waterson%netscape.com
2f16ca4113
Use 'ns' instead of 'namespace' just to be paranoid about C++ keywords.
1999-04-16 08:35:03 +00:00
shaver%netscape.com
a278115b34
fix DEFINE_RDF_VOCAB
1999-04-15 21:01:11 +00:00
mccabe%netscape.com
e33e295f30
Enabling xpidl as a standard part of the unix and windows build. Changed checks against BUILD_XPIDL to the (as yet undefined) USE_XPIDL variable in libpref, rdf, xpfe/AppCores, to keep them from firing just yet. The BUILD_XPIDL-enabling machinery in configure.in is unchanged, but BUILD_XPIDL is unused for now.
...
See http://www.mozilla.org/scriptable/xpidl/ if this breaks you.
1999-04-15 18:28:27 +00:00
alecf%netscape.com
4760f00727
remove rdf_qsort from all makefiles
1999-04-15 02:47:08 +00:00
waterson%netscape.com
782bfba4ef
Added back into the build sp alecf & mccabe can get xpconnect working.
1999-04-14 00:39:20 +00:00
waterson%netscape.com
085b65c4df
Comment out EXPORTS, CPPSRCS, and LIBRARY_NAME so that this can join
...
back into the build.
1999-04-14 00:38:47 +00:00
waterson%netscape.com
2a46f493b6
Removed #ifdefs, these are just placeholder files now.
1999-04-13 00:30:35 +00:00
waterson%netscape.com
66cc81625f
Regenerated using newer xpidl compiler.
1999-04-13 00:29:43 +00:00
waterson%netscape.com
7439f94f9a
Moved comments into the IDL file.
1999-04-13 00:16:38 +00:00
hyatt%netscape.com
167b5e855e
Making sure the right URLs are writable.
1999-04-10 08:18:20 +00:00
waterson%netscape.com
c3808426b5
Bug 4773. Removed idl directory for M4. We'll put it back next week. a=chofmann@netscape.com
1999-04-08 22:21:38 +00:00
waterson%netscape.com
3f6e890047
Bug 4621. Uninitialized memory read. Many thanks to Bruce Mitchener <bruce@cybersight.com>. a=chofmann@netscape.com
1999-04-07 21:02:29 +00:00
waterson%netscape.com
52df040914
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
7893b66e74
Added NS_RDF_ASSERTION_ACCEPTED and NS_RDF_ASSERTION_REJECTED return codes.
1999-04-07 06:28:17 +00:00
sspitzer%netscape.com
ab63691516
only do this if the IDL stuff has been installed
1999-04-07 02:58:01 +00:00
alecf%netscape.com
8af019fa67
add idl to directories so that we export nsRDFInterfaces.idl
1999-04-07 00:40:13 +00:00
waterson%netscape.com
e47f3cbebd
Regenerated using long-long instead of PRTime.
1999-04-06 06:36:50 +00:00
hyatt%netscape.com
ef75e908d6
Fixing a bug in the RDF content sink where the ID attribute was being
...
qualified with a document URI even when it was a URI in its own right.
1999-04-03 01:47:07 +00:00
waterson%netscape.com
a2d93d194e
Started changing assertions into log messages.
1999-04-02 20:46:41 +00:00
waterson%netscape.com
732985df02
Removed a bunch of extraneous debug printfs that we're #ifdef DEBUG_waterson; this stuff is now being done in the in-memory data source via PR_LOG().
1999-04-02 19:50:40 +00:00
waterson%netscape.com
c195c63d4a
Use 'long long' instead of native type for PRTime.
1999-04-01 22:04:33 +00:00
waterson%netscape.com
e2af5e02c8
Try #2 to land fixes for xpidl stubs: fixed long-long problem.
1999-04-01 22:04:10 +00:00
waterson%netscape.com
850014c10e
Added PR_LOG calls to debug the InMemoryDataSource.
1999-04-01 08:28:12 +00:00
waterson%netscape.com
9611247057
Fixed a case where we weren't handling default namespaces on output.
1999-04-01 05:17:05 +00:00
donm%netscape.com
60a9215f21
backing out mac bustage.
1999-03-31 16:41:11 +00:00
waterson%netscape.com
7cc9b1c6ab
Regenerated files to pick up bug fixes to the -m stub XPIDL compiler.
1999-03-31 06:43:43 +00:00
waterson%netscape.com
cf796499a5
Fixed GetTarget() to use new return codes.
1999-03-30 03:58:24 +00:00
waterson%netscape.com
3062f66f67
Changed RDF-specific errors to be success rather than error codes.
1999-03-30 02:30:16 +00:00
waterson%netscape.com
3c0ef959c0
Made sure to copy data source URI for key in the hashtable.
1999-03-30 01:41:21 +00:00
waterson%netscape.com
6bbd24c72e
Changed RDF progids to use forward-slashes instead of pipes.
1999-03-30 01:09:24 +00:00
waterson%netscape.com
66a55f3f2c
Landed RDF_19990326_BRANCH, scriptability changes.
1999-03-29 19:52:54 +00:00
waterson%netscape.com
089b59eec1
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
e226dd45e4
Added check for null pointer when doing synchronous read. Netlib return codes are bogus.
1999-03-27 00:28:08 +00:00
waterson%netscape.com
7e832a0c8d
Fixed bad merge.
1999-03-26 05:34:36 +00:00
waterson%netscape.com
3e108aa171
Added the _real_ RDF namespace, commented out for now.
1999-03-26 04:43:28 +00:00
waterson%netscape.com
00896c290d
Removed HACK_DONT_USE_LIBREG #ifdef.
1999-03-26 04:43:02 +00:00
waterson%netscape.com
430bbb3c3f
Fixed default namespaces.
1999-03-26 04:42:29 +00:00
briano%netscape.com
41dd62814d
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
c660e1db8d
GetDataSource change to instantiate xml datasources by default.
1999-03-25 07:33:07 +00:00
rickg%netscape.com
ede624cbbf
prep work to land nsString2
1999-03-22 08:29:26 +00:00
rjc%netscape.com
40c46dff38
Be sure to NS_INIT_REFCNT() for InMemoryResourceCursor() creation.
1999-03-19 01:09:48 +00:00
mcafee%netscape.com
3c14b895d6
Ignore generated files.
1999-03-18 22:01:51 +00:00
putterman%netscape.com
07b1eaa48a
Increase the length the url can be before the document file name is prepended to it.
1999-03-18 21:43:00 +00:00
waterson%netscape.com
b0c919c3ee
Fixed unwanted NS_RELEASE() in RegisterResource().
1999-03-18 20:47:27 +00:00
warren%netscape.com
871d75c334
Fixed comment.
1999-03-12 21:39:25 +00:00
warren%netscape.com
558fe23653
Changed GetEnabledCommands to GetAllCommands/IsCommandEnabled.
1999-03-12 21:28:34 +00:00
warren%netscape.com
c1498e57d2
Put back in call to NS_NewUnionEnumerator -- resolved link problem.
1999-03-12 02:10:03 +00:00
warren%netscape.com
9f49004510
Commented out line causing link error on mac (fix later).
1999-03-11 11:03:43 +00:00
warren%netscape.com
1930f473c3
attempt to fix mac build
1999-03-11 10:18:46 +00:00
warren%netscape.com
fc2e4550dc
First cut at new command architecture.
1999-03-11 10:01:25 +00:00
waterson%netscape.com
f0745144ef
Added GetResource() to XULElement.
1999-03-10 20:20:52 +00:00
warren%netscape.com
593d0d9815
PR_ASSERT wasn't defined for the mac.
1999-03-09 14:03:56 +00:00
warren%netscape.com
c50687b845
nsRepository -> nsIComponentManager changes.
1999-03-09 09:44:27 +00:00
waterson%netscape.com
b0d32f4ae3
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
a234cfc3f3
Bug #3465 . Atomize literals as well as resources.
1999-03-08 08:28:46 +00:00
waterson%netscape.com
b4b33fe270
Added some debugging code while tracking down bug #3465 .
1999-03-08 08:27:53 +00:00
hyatt%netscape.com
a729f0ed96
Added the NS_NewRDFToolbarBuilder call to the header.
1999-03-07 23:21:18 +00:00
hyatt%netscape.com
51f014158e
Landing the menu builder for real. The bookmarks menu lives (well, sort of).
1999-03-07 10:28:42 +00:00
nisheeth%netscape.com
61aa27804d
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
mcmullen%netscape.com
0b721e55f8
Removed the offset parameter from the base stream interfaces. Implemented string streams.
1999-03-05 22:53:56 +00:00
waterson%netscape.com
e2d2d45ea2
Added nsRDFInterfaces.h to EXPORTS.
1999-03-05 11:12:58 +00:00
waterson%netscape.com
5c4e7ea126
Added C++-specific #include of nscore.h to make sure that PRUnichar gets included.
1999-03-05 11:12:24 +00:00
waterson%netscape.com
d5e7a15215
Initial revision. Generated from nsRDFInterfaces.idl.
1999-03-05 10:55:04 +00:00
waterson%netscape.com
69190a7d13
Initial revision. Generated from nsRDFInterfaces.idl.
1999-03-05 10:49:13 +00:00
waterson%netscape.com
875aa3905a
Removed individual interface files for now, and plugged everything into nsRDFInterfaces.idl.
1999-03-05 10:48:07 +00:00
saari%netscape.com
acc701ebfa
Fixing IID() to GetIID() to fix warren's bustage
1999-03-05 07:02:27 +00:00
warren%netscape.com
93fea88d7d
Added prlog tracing code. Fixed some error codes. Fixed DBArcsInOutCursor::Advance to check for failure on GetValue.
1999-03-05 05:59:02 +00:00
rjc%netscape.com
1542fcadb8
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
56f553e4b1
Fixing the split of the attribute name (into a URI and an ID).
1999-03-05 00:03:30 +00:00
scc%netscape.com
31ff626ae9
rename |IID()| --> |GetIID()|
1999-03-03 19:48:57 +00:00
waterson%netscape.com
aa48931968
Initial revision: all of the IDL files globbed together.
1999-03-03 03:29:37 +00:00
waterson%netscape.com
6ae0df1eb2
Fixed use of Object, which is apparently a keyword.
1999-03-03 03:29:13 +00:00
waterson%netscape.com
e32a423983
Initial revision. They don't work.
1999-03-03 01:19:11 +00:00
brade%netscape.com
18570ceea8
add prototype for NS_NewRDFInMemoryDataSource to reduce Macintosh compiler warnings
1999-03-02 15:30:28 +00:00
waterson%netscape.com
bebe515a4f
Removed code that was #if 0-ed.
1999-03-02 01:01:52 +00:00
waterson%netscape.com
12efabd1de
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
waterson%netscape.com
4d5425954d
Updated documentation on ReigsterDataSource() && RegisterResource().
1999-03-02 00:59:03 +00:00
pinkerton%netscape.com
0ef1121e84
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
16e3e60042
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
da662458b1
Parses datasource string correctly.
1999-02-27 02:42:57 +00:00
waterson%netscape.com
6b6ad0f87d
Change '=' to '#' to circumvent registry bustage for now.
1999-02-27 02:19:47 +00:00
pinkerton%netscape.com
bd7b3824fc
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
4c5d33109b
Fixed leak when Init fails.
1999-02-26 11:42:05 +00:00
warren%netscape.com
97781f4c14
Changes for RDF component registration using nsRepository. Also changed args to NSGetFactory and friends.
1999-02-26 10:17:14 +00:00
waterson%netscape.com
c932e5ed4c
Modified DEFINE_RDF_VOCAB macro so that it doesn't create static constructors on Unix.
1999-02-26 03:07:59 +00:00
rjc%netscape.com
0949de4ea9
Add RDF file system datasource into builds.
1999-02-26 02:04:28 +00:00
dougt%netscape.com
e49426076f
Changed nsNativeFileSpec to nsFileSpec.
1999-02-25 20:58:10 +00:00
warren%netscape.com
c1983f0644
Removed assertion (hit by mail code (bad xul?)).
1999-02-24 10:23:27 +00:00
warren%netscape.com
ecf3421e34
Accidental commit (reverted)
1999-02-24 09:28:36 +00:00
warren%netscape.com
46c6fab20d
Accidental commit (reverted)
1999-02-24 09:28:09 +00:00
warren%netscape.com
c2222be332
Moved nsRDFResource to util.
1999-02-24 08:26:30 +00:00
warren%netscape.com
3642da81a5
Cleaned up nsICollection and nsIEnumerator. Broke out nsIBidirectionalEnumerator. Added ISupportsArray enumerator. Cleaned nsISupportsArray.
1999-02-23 08:10:24 +00:00
scc%netscape.com
b5e4065bfb
updating for nsCOMPtr; owners should check my changes to see if they agree with my choices for |do_QueryInterface| vs |dont_QueryInterface|
1999-02-19 02:53:45 +00:00
rjc%netscape.com
fb1f8fcf5c
Add rdf_qsort.c to Unix/Win makefiles.
1999-02-18 22:54:16 +00:00
waterson%netscape.com
e762a78686
rdfutil.cpp
1999-02-18 22:36:41 +00:00
rjc%netscape.com
9f69ac9f4c
Add simple, preliminary way of doing sorting. (Note: using our own local version of qsort due to API changes.)
1999-02-18 22:29:16 +00:00
rjc%netscape.com
dc159963a9
First Checked In.
1999-02-18 22:28:10 +00:00
warren%netscape.com
10ee85c70f
Added nsRDFResource.h for the mac
1999-02-17 23:02:00 +00:00
warren%netscape.com
51610f1248
Consolidated DefaultResourceImpl with nsRDFResource.
1999-02-17 22:28:15 +00:00
waterson%netscape.com
02f3d9b924
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
2372f7e7ec
Landed RDFDOM_19990215_BRANCH. Began implementing DOM-to-RDF functionality.
1999-02-16 19:30:04 +00:00
waterson%netscape.com
dcc81afe7c
Added nsRDFParserUtils.cpp to Unix build.
1999-02-11 04:20:44 +00:00
waterson%netscape.com
b1963636ca
Doh! Forgot to make two of the methods static.
1999-02-11 04:10:36 +00:00
waterson%netscape.com
aab370f32d
Added nsRDFParserUtils.cpp.
1999-02-11 04:06:02 +00:00
waterson%netscape.com
9e5c2c748e
Added some routines for use with parsing RDF/XML and XUL.
1999-02-11 04:05:41 +00:00
waterson%netscape.com
c37bbf9498
Whacked to get RDF/XUL working right, with local content mderged in.
1999-02-09 03:15:41 +00:00
warren%netscape.com
fa4dc71bd1
Added nsRDFResource -- basic resource implementation to subclass.
1999-02-05 01:29:27 +00:00
waterson%netscape.com
3bc072f9df
Never used.
1999-02-05 00:30:09 +00:00
waterson%netscape.com
73e0e7dac3
Buncha stuff to clean up implementation and make sure that a good RDF graph was getting created from the XUL.
1999-02-04 10:44:53 +00:00
waterson%netscape.com
cdbcd66802
First stab at making this threadsafe. Still need to refcount the Assertion struct.
1999-02-04 10:42:21 +00:00
hyatt%netscape.com
3d3d6ae3c2
Implementation of the XUL content sink.
1999-02-03 02:49:30 +00:00
hyatt%netscape.com
67f728a35c
Implementation of the XUL content sink. Addition of new files.
1999-02-03 02:48:27 +00:00
waterson%netscape.com
fdc356d6ad
Added code to release individual assertion elements when the data source is destroyed: this should close some major leakage.
1999-02-02 08:06:38 +00:00
waterson%netscape.com
dc47ab867a
Fixed some refcounting and initialization bugs.
1999-02-02 07:06:56 +00:00
waterson%netscape.com
40c78e8a96
Fixed a pile of refcounting bugs.
1999-02-02 07:06:06 +00:00
waterson%netscape.com
5ffebb7295
Fixed an off-by-one error in the dtor.
1999-02-02 07:05:52 +00:00
waterson%netscape.com
ab4b961ba4
Content model builder is now specified by XML processing instruction. Modified code to handle new XUL tree widget content model (based on table code). Added CID fields to all the interfaces so that nsCOMPtr will work. Juggled some of the content model builder stuff around in an attempt to make things a bit saner.
1999-02-01 22:34:51 +00:00
waterson%netscape.com
fe29d7a62d
Added code to spit out style sheet and named data source info. Fixed some bugs with references to internal anonymous resources.
1999-01-26 01:24:34 +00:00
waterson%netscape.com
611f40b423
Altered anonymous resources to be produced with a hash mark, so they look more like anchors.
1999-01-26 01:23:55 +00:00
waterson%netscape.com
0c34e98919
Fixed bug in arcs-out cursor.
1999-01-26 01:22:40 +00:00
waterson%netscape.com
8dd666c066
Fixed a reference counting bug and a problem with the NS_RELEASE() macro.
1999-01-22 22:04:04 +00:00
waterson%netscape.com
d1f68358c9
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
df4a252cc6
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
waterson%netscape.com
935c9ca430
Backed out bogus checking.
1999-01-20 19:56:34 +00:00
waterson%netscape.com
3fe93974af
Obsolete.
1999-01-20 19:53:07 +00:00
waterson%netscape.com
4902901aa4
Changed 'data base' to 'composite data source'. Merged RDF/XML document and stream data source into one big happy interface.
1999-01-20 01:42:13 +00:00
waterson%netscape.com
8bed107f77
Replacement for nsIRDFXMLDocument.h. Not yet in the build.
1999-01-19 02:43:03 +00:00
waterson%netscape.com
aaa16f1b62
Replacement for nsStreamDataSource.cpp. Not yet in the build.
1999-01-19 02:42:30 +00:00
waterson%netscape.com
27e27aa689
Added documentation comments.
1999-01-18 22:31:05 +00:00
waterson%netscape.com
e8326bc55f
Added an assertion after OpenContainer() to help catch parse errors.
1999-01-18 22:14:59 +00:00
waterson%netscape.com
faf9dce220
Fixed compiler warning.
1999-01-14 23:03:07 +00:00
waterson%netscape.com
4eff893c29
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
waterson%netscape.com
ae2d963b77
Factored content model builder code into its own interface. Hooked up RDF-to-content model notification. Minor bug fixes in data sources.
1999-01-12 19:41:06 +00:00
guha%netscape.com
c36fa1a019
adding a tree interface to datasources. Not yet in build system
1999-01-12 17:35:25 +00:00
waterson%netscape.com
d3df2a0245
Added some comments to call out potential funkiness.
1999-01-07 05:29:31 +00:00
guha%netscape.com
169bdc133e
More on the alloy prototype
1999-01-06 17:38:37 +00:00
waterson%netscape.com
86345bc146
Added LXR comments.
1999-01-05 21:57:59 +00:00
waterson%netscape.com
547f3b8953
Added LXR comments.
1999-01-05 21:22:20 +00:00
waterson%netscape.com
275755870e
Added comments for LXR.
1999-01-05 21:07:09 +00:00
waterson%netscape.com
71f73518c0
Fixed the last bug with my namespace hack. Added a bunch of comments.
1999-01-05 21:06:54 +00:00
waterson%netscape.com
71d6d1db7f
Bug fixes and enhancements to nsRDFStreamData source. Can almost round-trip RDF/XML now...
1999-01-05 08:44:40 +00:00
waterson%netscape.com
314b664b4c
Landed RDF_122898_BRANCH onto the trunk.
1999-01-05 03:53:15 +00:00
waterson%netscape.com
2614577e86
Okay, try #2 . Fix Win95/98 build bustage.
1998-12-30 21:25:47 +00:00
leaf%mozilla.org
c711951816
backing out removal of nsInMemoryDataSource.obj
1998-12-30 20:00:59 +00:00
waterson%netscape.com
957bf329e3
Fix Win95 build bustage.
1998-12-30 17:52:01 +00:00
cls%seawood.org
43dc9d6207
Ok, after further thought, the last attempt wasn't going to work as the mac project files were not updated so we'll just put Guha's stuff in ifdefs.
1998-12-28 06:05:14 +00:00
cls%seawood.org
ea0c65cd4a
Oops, forgot about the headers.
1998-12-28 05:34:13 +00:00
guha%netscape.com
489589a12b
adding a method to nsIRDFCursor.cpp
1998-12-27 20:35:46 +00:00
waterson%netscape.com
cca5fac0ba
Initial revision.
1998-12-24 08:26:27 +00:00
waterson%netscape.com
a2b51a7f91
Fixed #ifdefs.
1998-12-24 06:57:46 +00:00
waterson%netscape.com
80cb10e283
Bad idea.
1998-12-24 06:31:10 +00:00
waterson%netscape.com
edf15eca94
Removed nsRDFBaseFactory.cpp.
1998-12-24 06:30:09 +00:00
waterson%netscape.com
79f0e49b61
Changed to a static library for now.
1998-12-24 06:22:21 +00:00