waterson%netscape.com
a8f0856c8d
Add PR_LOG() calls to aid with debugging.
1999-10-13 08:00:14 +00:00
rjc%netscape.com
bb45ef1bde
Add in CTOR/DTOR stuff for leak detection. Review: hyatt@netscape.com
1999-10-07 01:51:30 +00:00
bienvenu%netscape.com
776202c4f5
fix ref count tracing for composite data source bug 666 n/a r=waterson
1999-10-06 04:45:14 +00:00
peterl%netscape.com
69b8aced3f
removed leak of atom
1999-10-02 01:32:38 +00:00
rjc%netscape.com
a8401f2c5c
Fix bug # 15222: The composite datasource has a few operations which are somewhat "expensive". Have these behaviors on by default, but expose a method on the composite datasources so that they can be selectively turned off [for Mail/News, for example] if the capability is not needed/used (such as negative assertions). Review: waterson@netscape.com. Additional Mail/News Testing: putterman@netscape.com
1999-10-01 04:07:55 +00:00
slamm%netscape.com
43b2d321cf
patch rdf for waterson. Fixed multiple loads of same datasource.
1999-09-29 20:25:41 +00:00
waterson%netscape.com
f8f2fcce60
Bug 14754. Shore up unregistration; verify that datasource matches URI to be unregistered. Be 'quiet' if it doesn't.
1999-09-24 19:54:36 +00:00
waterson%netscape.com
a622e1d0d7
Bug 14755. Guard against multiple simlutaneous 'Refresh()' calls issuing several URL loads. r=rjc, a=chofmann
1999-09-24 19:52:42 +00:00
waterson%netscape.com
b30c0da94e
Make ::Init() barf if the element is not a container, rather than sprinkling around in individual methods.
1999-09-22 03:28:32 +00:00
waterson%netscape.com
fe38cb9365
Bug 14285. Add some arg checking as we are prone to being called from JS.
1999-09-19 19:41:45 +00:00
briano%netscape.com
49a9c60d81
General cleanup.
1999-09-15 23:36:43 +00:00
hyatt%netscape.com
bf1cda7968
Fix build bustage.
1999-09-15 02:36:30 +00:00
briano%netscape.com
56bb61bea2
Cleaned it up and fixed the Unix build breakage.
1999-09-15 02:33:11 +00:00
hyatt%netscape.com
04c56a701c
Updating the nsIController interface.
1999-09-15 02:16:41 +00:00
waterson%netscape.com
29708f53a5
Make sure all control paths return a value.
1999-09-10 00:01:27 +00:00
waterson%netscape.com
e42b814c43
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
40ed9d6ad2
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
e7ab81530d
Don't worry about duplicate values.
1999-09-09 06:58:14 +00:00
waterson%netscape.com
7e0472ef71
Bug 13137. Fix broken usage of CBufDescriptor.
1999-09-07 02:46:08 +00:00
waterson%netscape.com
0f3a26fccc
Right-shift two for hash function; inline some obvious stuff.
1999-09-07 02:44:43 +00:00
waterson%netscape.com
22f68c9558
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
54d5c088f2
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
028f11d2bf
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
baee0cf57a
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
dc04e68f6a
Use nsAutoString instead of nsCAutoString to avoid double string copy
1999-09-03 03:51:56 +00:00
waterson%netscape.com
1e1077c6f8
Use PL_HashTableRawAdd() to avoid hashing twice.
1999-09-02 21:29:06 +00:00
waterson%netscape.com
b9e936e5a8
Rewrite to avoid heap-spill when mangling the nextVal.
1999-09-02 21:28:33 +00:00
waterson%netscape.com
8a45758c29
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
59f822c9a6
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
76abd92fbf
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
792b6b8143
Another mem leak fixed.
1999-08-27 12:47:12 +00:00
rjc%netscape.com
2528124539
Add nsIXULSortService
1999-08-27 06:54:08 +00:00
rjc%netscape.com
9be4830f5d
Add nsIXULSortService.idl
1999-08-27 06:52:34 +00:00
rpotts%netscape.com
0085d83ab0
M9 BRANCH landing...
1999-08-26 22:45:55 +00:00
shaver%netscape.com
6ea7c38b0b
initial RDF NS_DECL_* spam
1999-08-24 09:11:48 +00:00
waterson%netscape.com
1d6c956a62
Fix in-memory datasource aggregation.
1999-08-24 04:59:58 +00:00
dougt%netscape.com
32a9a77110
xpild-ing nsIAtom. Now nsIAtom is xpcom compliant.
1999-08-21 07:07:00 +00:00
waterson%netscape.com
65c3c63e2c
Bug 11575. Null check after pulling URI out of a resource. a=chofmann
1999-08-12 01:16:13 +00:00
mccabe%netscape.com
2a403483de
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
340cc49b7e
was forgetting to check a result
1999-08-10 05:35:09 +00:00
waterson%netscape.com
c45091e312
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
b53d0a5a07
Don't leak proxy.
1999-08-05 20:10:08 +00:00
waterson%netscape.com
604387549f
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
004a107d21
Took out NS_ERROR when file not found.
1999-08-03 21:59:40 +00:00
waterson%netscape.com
cc0068bd1d
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
da0a78e9bc
Bug 11154. Use 2-byte compare fn for literal hash table.
1999-08-03 20:59:56 +00:00
rjc%netscape.com
31272b88d1
Fix potential memory leakage upon failure.
1999-08-03 06:34:06 +00:00
rjc%netscape.com
f612d2d5a1
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
c14fdc9f9e
Fix nsRDFSerivce.cpp so that it can be unloaded.
1999-07-30 23:52:47 +00:00
rjc%netscape.com
567cf8e445
Use GetValueConst a bit.
1999-07-30 23:40:30 +00:00
nisheeth%netscape.com
88a7a3eadb
Adding a new parameter, aMode, to nsIContentSink::AddDocTypeDecl.
1999-07-28 06:56:05 +00:00
waterson%netscape.com
507fa1553b
Obsolete.
1999-07-28 04:06:32 +00:00
waterson%netscape.com
91a8ac09e7
Land TEMPLATE_19990726_BRANCH; RDF C++ content model builder exorcism.
1999-07-27 17:20:28 +00:00
rickg%netscape.com
65fcb776bb
replaced call to deprecated nsString API
1999-07-26 00:47:36 +00:00
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