Commit Graph

624 Commits

Author SHA1 Message Date
rjc%netscape.com
456f4c8a43 Fix bug # 35022: slow bookmark operations. r=waterson 2000-08-22 00:44:07 +00:00
scc%mozilla.org
cca6f9e011 fixing code that relied on implicit string construction 2000-08-19 22:46:00 +00:00
dbaron%fas.harvard.edu
753d55e902 Fix a leak of the keys used as strings in all cases. r=waterson b=44051 2000-08-16 23:14:08 +00:00
brendan%mozilla.org
8194537c7d Whitespace panty raid. 2000-08-09 06:20:13 +00:00
waterson%netscape.com
d867e404c8 Bug 46053. Add [begin|end]UpdateBatch() to nsIRDFObserver; case-normalize the resot of the nsIRDFObserver methods; update implemetors, users. r=bienvenu,rjc,dmose,slamm 2000-08-08 00:22:36 +00:00
syd%netscape.com
0ddb1344a0 Undid the rdf changes for 43091 at request of brendan, now doing evil 0666
default permissions. r=dougt
2000-08-07 22:59:40 +00:00
dbaron%fas.harvard.edu
2bc2822994 Fix an inconsequential typo (MOZ_DECL_CTOR_COUNTER does nothing, now). r,a=waterson 2000-08-06 19:19:01 +00:00
syd%netscape.com
d2e0309a69 Set sane permissions on files. Let umask protect the user. r=rjc,dougt
Partial fix for 43091.
2000-08-04 22:13:59 +00:00
waterson%netscape.com
0800dcc896 Bug 46013, redux. Was leaking RDFContentSinkImpl::NameSpaceEntry objects all over the floor. Thanks to dbaron and beard for wiping my chin. r=beard. 2000-08-02 04:35:52 +00:00
waterson%netscape.com
1d737a5000 Fix off-by-one error that jband found. 2000-07-29 03:34:55 +00:00
waterson%netscape.com
f49e884774 Bug 46702. Move nsFixedSizeAllocator.[h|cpp] to xpcom/ds so that we can use it outside of RDF. 2000-07-29 02:58:43 +00:00
waterson%netscape.com
3439c2a7ba Bug 46013. Use nsVoidArray to hold observers to avoid extra addref/release when notfying. r=hyatt 2000-07-28 09:20:15 +00:00
waterson%netscape.com
3b8c9f1a14 Bug 46013. Remove dependency on nsINameSpace and nsINameSpaceManager, so that we do not need to load the layout DLL to parse RDF/XML. r=rjc 2000-07-26 14:08:05 +00:00
hyatt%netscape.com
398a91d272 Fix for bug #45951. r=waterson. 2000-07-24 22:42:34 +00:00
waterson%netscape.com
f0d4936e2e Bug 46079. Fix regression I introduced yesterday; NS_LITERAL_STRING() expands to nsAutoString on Linux, so this would assign a compiler temporary to the 'tag' variable. 2000-07-21 19:59:39 +00:00
waterson%netscape.com
d461ba0f97 Fix Mac bustage. I though 'L' was enabled on Win32 for NS_LITERAL_STRING(), too. Guess I was wrong. 2000-07-20 20:15:08 +00:00
waterson%netscape.com
3f97092916 Bug 40817. Modernize string routines; use UTF-8 conversion instead of ASCII conversion on URLs. r=rjc 2000-07-20 19:49:47 +00:00
warren%netscape.com
de3523d540 Added nsIRDFDataSource::HasArcIn/HasArcOut. Changed nsXULTemplateBuilder.cpp to use it (ifdef'd for now). Speed up folder loading by about 24%. r=waterson,alecf 2000-07-19 03:58:25 +00:00
bienvenu%netscape.com
b9323eccf6 fix 41292, r=waterson, problem with rdf factory cache 2000-07-10 02:35:50 +00:00
cls%seawood.org
1f3b6d75ab Removed obsolete REQUIRES variable from every Makefile.in/makefile.win 2000-06-30 08:08:04 +00:00
scc%mozilla.org
09789effd8 don't try to extract characters from an empty string 2000-06-11 07:23:58 +00:00
warren%netscape.com
512c8bf433 Renaming nsIAllocator to nsIMemory (and nsAllocator to nsMemory). API cleanup/freeze. Bug #18433 2000-06-03 09:46:12 +00:00
waterson%netscape.com
32a0dcba77 Bug 40601. Properly UTF-8 encode a URL that's been handed to us as UCS-2. 2000-05-26 22:57:04 +00:00
ruslan%netscape.com
e830ecd6e9 Make res/chrome handlers implement threadsafe_isupports 2000-05-26 21:00:18 +00:00
waterson%netscape.com
3a4aff8db2 Bug 29284. Be sure to escape quotes! Other serialization cleanup. 2000-05-16 05:58:48 +00:00
danm%netscape.com
7e4c91e708 create directory in Flush. r=waterson@netscape.com 2000-05-16 03:09:34 +00:00
waterson%netscape.com
9cd4a2aa44 Bug 39305. Do not add 'xmlns=' and 'xmlns:foo=' as properties to the RDF graph. 2000-05-15 19:12:14 +00:00
rjc%netscape.com
b447daaa6c Tweak MakeContainer() to always call NS_NewRDFContainer() if the caller asks for one. 2000-05-07 08:38:45 +00:00
waterson%netscape.com
799b5beee6 Bug 34623. Add nsIXULTemplateBuilder.idl. 2000-05-05 20:42:21 +00:00
waterson%netscape.com
5a99d555f5 Remove gratuitous NS_WARNING()s. 2000-05-04 23:34:25 +00:00
sfraser%netscape.com
18e706dc0d Add an UpdateCommandState method to the command maanger. 2000-05-01 01:33:22 +00:00
sfraser%netscape.com
24fb5d77cf Lots of new comments, added interface for nsIStateUpdatingControllerCommand, and added calls on the command manager which are callthroughs from the controller, with a context parameter. 2000-04-26 06:15:23 +00:00
mjudge%netscape.com
2cfb602409 making string conversions explicit. scc 2000-04-26 01:13:55 +00:00
waterson%netscape.com
17d001cafb Clean up pool initialization. 2000-04-25 01:20:00 +00:00
waterson%netscape.com
0b06dff716 Change from an array of sizes to a linked list so it can handle new sizes after initialization. 2000-04-25 01:18:56 +00:00
jdunn%netscape.com
71dc5185e3 Structs are inheritently private, so friend is required
r= waterson@netscape.com
2000-04-20 01:33:29 +00:00
waterson%netscape.com
635af0d08a Bug 24762. Use arena-based fixed-size allocator for enumerator objects. r=scc 2000-04-19 04:37:41 +00:00
waterson%netscape.com
3b69f7a3e7 Bug 24762. Use arena-based fixed-size allocator for Assertion, PLHashEntry, and enumerator objects. r=scc 2000-04-19 04:36:28 +00:00
waterson%netscape.com
dad49631db Add nsFixedSizeAllocator.cpp to build. 2000-04-19 03:17:32 +00:00
waterson%netscape.com
41c9ebd71a Initial revision. 2000-04-19 03:15:25 +00:00
waterson%netscape.com
86af0698db Fix resource leak because of flow-of-control changes. r=rjc 2000-04-18 04:40:56 +00:00
waterson%netscape.com
323fb9085e Fix build bustage. 2000-04-17 17:51:01 +00:00
scc%netscape.com
8495fc494c making string conversions explicit 2000-04-17 14:30:23 +00:00
alecf%netscape.com
09dbfb6137 make the rdf delegate progid accessable from a header file, and switch to the cutting-edge progid schema
r=waterson
2000-04-13 23:37:41 +00:00
mkaply%us.ibm.com
cedcce6c59 # 34082
r= waterson@netscape.com
OS/2 Visual Age build - Adding PR_CALLBACK to some functoins for linkage
2000-04-05 02:39:51 +00:00
sspitzer%netscape.com
965bee004d fix for #34443. fix by waterson, r=sspitzer. now, it just asserts. 2000-04-05 00:50:20 +00:00
mkaply%us.ibm.com
ee4cad8887 # 33859
r= waterson@netscape.com
OS/2 changes for Mozilla - add #ifdef, change #ifdef
2000-04-03 22:47:44 +00:00
waterson%netscape.com
e703ba7bc1 Fix off-by-one error that could occur if you try to inspect an RDF container during renumbering. 2000-03-31 03:52:55 +00:00
jim_nance%yahoo.com
dc0e139673 Bug 33322 - Fix compiler warnings. Its been on n.p.m.builds for a few
days for module owners to comment on.  r=troy@netscape.com
2000-03-30 03:21:26 +00:00
warren%netscape.com
727f312b32 Necko API changes: primarily nsIChannel, changing initialization parameters to accessors. Got javascript: evaluation to happen at the right time (when AsyncRead is called) as well as on the right thread. 2000-03-29 03:58:50 +00:00
sspitzer%netscape.com
e15055f154 fix a typo in the comment. 2000-03-28 04:53:57 +00:00
scc%netscape.com
210cd384fb small changes to clients of string converting APIs 2000-03-26 10:52:00 +00:00
rjc%netscape.com
45b03ef51e Do not strip out duplicate RDF commands here (we need multiple separators to pass through.) 2000-03-24 02:40:24 +00:00
waterson%netscape.com
975a57065b Bug 21006, 30710. Reference count |Assertion| objects to avoid clobbering them from beneath an active assertion enumerator. r=rjc, a=jar. 2000-03-20 00:51:57 +00:00
tonyr%fbdesigns.com
7d368f5633 Make nsISupports interfaces threadsafe so proxy objects can be created. r=waterson 2000-03-18 18:38:14 +00:00
waterson%netscape.com
0413d7071d Doh! I checked in the wrong patch onto the tip. Thanks for wiping my chin, rjc. 2000-03-18 06:24:19 +00:00
rjc%netscape.com
5d16c645ad Fix bug # 24836: correctly serialize RDF data. Review: waterson@netscape.com. 2000-03-18 05:28:53 +00:00
waterson%netscape.com
a2b14e8f3e Bug 32187. Make sure to re-serialize RDF/XML using UTF-8 for UCS-2 strings. r=rjc,ftang. a=bobj,jar. 2000-03-18 05:22:42 +00:00
rickg%netscape.com
59808e15af removed calls to deprecated string methods 2000-03-12 11:18:18 +00:00
bienvenu%netscape.com
89181e6adc fix handling of uri's with 8 bit characters, a=phil r=waterson 24692 2000-02-23 20:51:36 +00:00
mkaply%us.ibm.com
a5a271e8e6 # 25555
r= watterson@netscape.com
OS/2 changes for Mozilla
2000-02-15 15:25:57 +00:00
sfraser%netscape.com
92e0c2ac71 First Checked In. 2000-02-15 08:42:25 +00:00
sfraser%netscape.com
6d4df147fc Add nsIControllerCommand.idl to build. WIP for bug 18395. r=pinkerton, hyatt 2000-02-15 08:40:52 +00:00
waterson%netscape.com
08bc91f490 Bug 25292, 25166. Get rid of extra calls to [Begin|End]Load() in synchronous load case (these are called normally from the ProxyStream hack). 2000-01-28 00:29:42 +00:00
waterson%netscape.com
ef7cd32608 Doh! Be sure to release the parser when the load completes. 2000-01-27 06:17:13 +00:00
waterson%netscape.com
767cad41f2 Bug 24499, 15586. Hold strong ref to nsIRDFXMLSinkObservers; add onError() method to nsIRDFXMLSinkObserver API; be sure to notify observers in synchronous load case. r=shaver 2000-01-27 02:24:20 +00:00
putterman%netscape.com
3ca3cf5499 r=waterson. Necessary for 24768. Put nsIDOMXULDocument into this. 2000-01-25 05:09:23 +00:00
waterson%netscape.com
776ac8a3e9 Clean up shared structures between nsRDFGenericBuilder.cpp and nsXULSortService.cpp; r=rjc 2000-01-25 04:07:41 +00:00
nisheeth%netscape.com
22a5959edb Work done by Vidur and me. Added a FlushPendingNotifications() method to the document. This method flushes the pending content notifications from the content sink and the pending reflow notifications from the pres shell. This code is turned off for now so that it can be tested more thoroughly by Vidur and me. 2000-01-24 06:43:15 +00:00
waterson%netscape.com
4ecd5496e9 Make comments javadoc-style. 2000-01-22 20:55:26 +00:00
sspitzer%netscape.com
d8a5c41c93 backing out andreas and warren 2000-01-14 22:01:56 +00:00
warren%netscape.com
ea798addcb Changes from andreas.otte@primus-online.de for numerous URL parsing bugs. r=warren 2000-01-14 08:50:03 +00:00
rjc%netscape.com
6222e5412c Sorting optimizations. (Sort-of) review by putterman@netscape.com 2000-01-13 10:16:32 +00:00
pp%ludusdesign.com
698852a4f4 Converting usage of ::GetIID() to NS_GET_IID().
Bug #20232, r=scc@netscape.com
2000-01-11 20:49:15 +00:00
rjc%netscape.com
86f0302402 Defer creation of resource cache until a sort is imposed. Also, added a temporary working for db->OnChange() not enjoying a null oldTarget. 2000-01-11 08:38:47 +00:00
rjc%netscape.com
423ba787b8 Move resource cache up from the XUL sort service into the generic builder. Review: me 2000-01-11 06:28:28 +00:00
waterson%netscape.com
46e921da0f Bug 18631. Add GetDataSources() method to nsIRDFCompositeDataSource. r=scottip,rjc 2000-01-11 01:59:12 +00:00
waterson%netscape.com
7c4e7b7f4b Remove unused files. 2000-01-10 23:21:24 +00:00
waterson%netscape.com
64b35bf780 Bug 23352. Add sanity checks to catch bogus params n' stuff earlier. r=rjc 2000-01-08 00:23:27 +00:00
blizzard%redhat.com
d6cf22aa5c Change nsComponentManager::ProgIDToCLSID to nsComponentManager::ProgIDToClassID as per bug #3579. Checking in for sford. r=scc,r=blizzard 1999-12-30 22:03:58 +00:00
waterson%netscape.com
38e938ebbc Bug 20470. Add weak reference from 'controllers' object back to command dispatcher. Miscellaneous cleanup. r=hyatt 1999-12-05 23:04:22 +00:00
warren%netscape.com
2db26922a6 Landing no_neckoutil2_branch. Bug #11159. Removes neckoutil_s.lib from build which helps beos and openvms. 1999-11-30 04:50:42 +00:00
warren%netscape.com
96ec037ac6 Eliminated the libs build pass. 1999-11-28 03:05:01 +00:00
waterson%netscape.com
0d8bcb5cc5 Add experimental support for RDF delegates. 1999-11-24 20:51:39 +00:00
waterson%netscape.com
29ae06a0cd Bug 19968. Just 'throw' if we can't create an RDF container on the thing. 1999-11-23 22:59:02 +00:00
waterson%netscape.com
6a66ff51fc Don't need to AddRef the resource before putting into an nsISupportsArray. 1999-11-23 22:36:50 +00:00
waterson%netscape.com
bbcae3b602 Fix leak of kRDF_nextVal; make construction/initialization safe. 1999-11-23 22:30:58 +00:00
waterson%netscape.com
122687beef Balance acquisition of RDF resources by releasing them in the dtor. 1999-11-23 22:30:27 +00:00
waterson%netscape.com
f257bb0507 Add nsIRDFDelegateFactory to Win32 and Unix builds. 1999-11-22 22:33:11 +00:00
waterson%netscape.com
76ad965c84 Initial revision. Not yet in the build. 1999-11-22 22:32:27 +00:00
waterson%netscape.com
e3edc4a4c6 Tweak for chrome registry: don't hard-fail if stream cannot be opened. Allows creation of new RDF/XML datasources. r=hyatt 1999-11-22 20:53:09 +00:00
rjc%netscape.com
dc4a206fff Better handling of natural order calculate on RDF sequences. Makes drag&drop work fairly well in natural order. 1999-11-20 08:46:22 +00:00
waterson%netscape.com
3377b72480 Finish #ifdef-ing MOZ_THREADSAFE_RDF. Appears an unused PRLock will
assert when being destroyed?!?
1999-11-18 09:06:50 +00:00
rjc%netscape.com
10a6f091ce XUL templates can now be specified via attribute instead of a child node of the root. Also, sorting info can now be specified on the root node, so now any RDF-generated content can be sorted (not just trees). Review: me 1999-11-14 11:10:34 +00:00
dmose%mozilla.org
142ac52eaf updated xPL license boilerplate to v1.1, a=chofmann@netscape.com,r=endico@mozilla.org 1999-11-06 03:43:54 +00:00
waterson%netscape.com
dfd9dd6eaa Bug 18058. Remove 'commandDispatcher' from interface; obsolete. r=hyatt, a=chofmann 1999-11-05 05:30:56 +00:00
hyatt%netscape.com
2da1dc5d17 Partial fix for 17848. Part 1 of 2. 2nd part will be checked in by hangas. r=hangas, a=brendan 1999-11-04 01:59:04 +00:00
warren%netscape.com
d3b9c9c3cc Structural changes for MakeAbsolute performance. bug#10736 r=valeski 1999-11-03 05:13:44 +00:00
cls%seawood.org
bee74e223b Removed unused NECKO ifdefs.
a=leaf
1999-11-02 23:34:03 +00:00
brendan%mozilla.org
f81d5969c6 (13163, r=alecf, scc, waterson, others; names available on request)
- Fix most of bug 13163 (see TODO for rest).  This entails adding a version-string argument to nsIScriptContext::EvaluateString and passing it around lots of places in content sinks. 

- Fix leaks and confusion about mSecurityManager and mNameSpaceManager in nsJSEnvironment.cpp.  These still need to move from nsJSContext to nsGlobalWindow or thereabouts, jband and vidur are looking at that. 

- Added comments and expanded tabs in nsJSEnvironment.cpp, esp. to EvaluateString.  Also changed various nsresult vars to be named rv.  Also restored brace/style conformity to nsJSProtocolHandler.cpp. 

- Factored CompileFunction from AddScriptEventListener to pave the way for brutal sharing of compiled JS event handlers via JS_CloneFunctionObject. 

- Lots of nsCOMPtr uses added.  I'm using one for mNameSpaceManager.  Hold mSecurityManager as a service explicitly, on the other hand (awaiting scc's fix to allow comptrs for services), and release in nsJSContext's dtor (fixing a leak).  These two managers should be moved to the window object -- TODO item below. 

- Hold JSRuntimeService along with JSRuntime for live of nsJSEnvironment, fix for shaver. 

- Fix window.setTimeout etc. so the filename and line number of the timeout expr is propagated.  This meant factoring nsJSUtils.cpp code. 

- Fix all content sinks to use the same, and up-to-date JavaScript version parsing (whether for script type or for old language attribute); also fix SplitMimeType clones to strip whitespace. 

- With waterson, fix bug in brutal-sharing version of XUL content sink: script src= should not evaluate the inline content of its tag.
1999-10-31 00:43:30 +00:00
waterson%netscape.com
d1851a9d6b Remove redundant registration of well-formed DTD. r=rickg 1999-10-28 22:15:18 +00:00
ramiro%fateware.com
25aba30f43 Removing the badly rotten MOZ_STRIP_NOT_EXPORTED hack. We now have a better
way to accomplish the same thing using linker version scripts.
r=cls@seawood.org
1999-10-22 07:11:43 +00:00
warren%netscape.com
26fb3f9eba Took out redundant MOZ_COUNT_CTOR/DTOR calls. 1999-10-18 19:21:53 +00:00
warren%netscape.com
3f9dc8b6a7 Took out redundant MOZ_COUNT_CTOR/DTOR calls. 1999-10-18 19:06:21 +00:00
rjc%netscape.com
ae28cd2568 Fix leak in nsXULSortService (found by Boehm GC). Also, remove CTOR_COUNT stuff. Review: waterson@netscape.com 1999-10-15 06:27:02 +00:00
waterson%netscape.com
694117e18a Fix compiler warning; r=rjc. 1999-10-15 04:26:46 +00:00
waterson%netscape.com
111c4ee608 Bug 16402. Make sure that literals addref (and release) the RDF service. Make sure to deal with edge Unregister[Resource|Literal] conditions; e.g., being called to unregister a literal when none was ever registered. r=rjc 1999-10-15 03:36:04 +00:00
hyatt%netscape.com
89f6b1a594 Fixing linux bustage. Typo in makefile. 1999-10-14 11:18:03 +00:00
hyatt%netscape.com
b2a4325241 Landing re-architected command dispatcher. r=hangas(XUL/JS), saari(C++) 1999-10-14 10:58:25 +00:00
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
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