Commit Graph

566 Commits

Author SHA1 Message Date
mcafee%netscape.com
94746f6a12 I'm sorry Dave, I'm afraid I can't allow this checkin. Backing out rjc's change from earlier (121546). r=jrgm 2002-01-24 07:16:01 +00:00
rjc%netscape.com
33d6e39d57 Fix bug # 113894 (and 36972 and 79013 and probably others): get nsFileSpec usage out of RDF, and fix RDF persistence on Mac if there is a slash in the path. Various code from myself, darin, waterson and tingley. Various r/sr include darin, waterson 2002-01-24 01:29:39 +00:00
dp%netscape.com
75e52c28bc bug 119346 1k -> 4k buffers r=harishd,blizzard sr=waterson a=blizzard 2002-01-17 00:45:03 +00:00
sspitzer%netscape.com
614453083c fix for blocker bug #120049. corrupting localstore.rdf.
thanks to jrgm@netscape.com for the patch, this will make tomorrow a lot
less painful.  r=sspitzer, sr=ben
2002-01-15 09:34:31 +00:00
waterson%netscape.com
403c8c378e Fix monkeypox build bustage. 2002-01-15 03:01:18 +00:00
waterson%netscape.com
70b7f07e30 Bug 115926. Add support for `blob' literals. r=rjc,tingley; sr=hyatt 2002-01-15 01:57:17 +00:00
waterson%netscape.com
cd8149b788 Bug 118865, 33197. Support serialization of integer and date literals; support `parseType="Resource"'. r=rjc, sr=hyatt 2002-01-15 01:56:15 +00:00
cathleen%netscape.com
92d4fbf218 converted 271 references to nsCRT::memcpy to memcpy, bug 118135 r=dp 2002-01-12 03:18:55 +00:00
dbaron%fas.harvard.edu
9a039b7c3a Fix AIX and OS/2 bustage by using normal |const|-ness conventions. r=harishd 2002-01-09 18:15:36 +00:00
harishd%netscape.com
7c522efd05 105137 - Eliminate nsTokens, nsParserNode usage for xml/xbl/xul/rdf documents. r=heikki, sr=jst 2002-01-09 01:37:50 +00:00
rjc%netscape.com
5a7d63aca7 Fix blocker buf # 118735... RDF issue. r/a=darin sr=waterson 2002-01-08 23:37:04 +00:00
rjc%netscape.com
946661a434 Bug # 35817: Remove unused RDF service reference. r=mcafee sr=brendan 2002-01-07 11:18:53 +00:00
rjc%netscape.com
80ddfecd1e Bug # 35817: RDF SEQ optimizations for RDF's in-memory datasource. r=tingley and sr=waterson 2002-01-07 04:02:27 +00:00
tingley%sundell.net
a117febf17 bug 100132: clean up over-zealous error masking in
nsRDFXMLDataSource::BlockingParse(), and bring nsLocalFileUnix's
OpenNSPRFileDesc() return values in line with other platforms.
r=waterson, sr=brendan
2001-12-22 19:08:48 +00:00
rjesup%wgate.com
2e680f1b17 Bug 96108: Inline ElementAt(), add SafeElementAt(), voidarray usage fixes,
assertions for bad voidarray indexes.  r=jst, sr=waterson
2001-12-21 01:10:07 +00:00
waterson%netscape.com
1c436236f0 Bug 114882. Hash integer and date literals, as well. Convert all hashtables to use dhash. r=tingley, sr=hyatt. 2001-12-20 23:04:33 +00:00
jaggernaut%netscape.com
97b0530073 Bug 104158: Use NS_LITERAL_STRING instead of XXXWithConversion("..."). r=bryner, rs=alecf 2001-12-16 11:58:03 +00:00
tingley%sundell.net
3645994bee bug 113838 - make nsRDFXMLParser::ParseString() work again.
r=rjc sr=waterson
2001-12-11 07:01:03 +00:00
law%netscape.com
2881bb9951 Bug 88287; add blocking style GetDataSource method so callers can ensure they use an already registered data source; r=sgehani, sr=waterson 2001-12-06 03:44:42 +00:00
dp%netscape.com
fd8e8bb95b Timing rdf blocking parse for timeline enabled builds 2001-11-26 22:28:37 +00:00
seawood%netscape.com
7733357d51 Rename 'install' build phase to 'libs'.
Bug #56601 r=pavlov
2001-11-21 09:49:41 +00:00
bzbarsky%mit.edu
f2ee8260a0 Use NS_LITERAL_STRING instead of NS_ConvertASCIItoUCS2 where possible
(i.e. where the string is a literal).  Bug 104159, r=jag, sr=alecf
2001-11-14 01:33:42 +00:00
jaggernaut%netscape.com
ac47cdde61 Bug 53057: Fixing up users of implicit |CharT*| conversion operators for nsCString to use |.get()| instead, rr=dbaron, rs=scc 2001-10-25 06:42:23 +00:00
waterson%netscape.com
5f0c673be2 Bug 104328. Re-use fast code from nsIRDFContainerUtils to implement nsRDFContainer::IndexOf; fix infinite loop in nsRDFContainerUtils::IndexOf. Patch from tingley@sundell.net, r=waterson, sr=shaver. 2001-10-16 21:52:01 +00:00
dbaron%fas.harvard.edu
ed869c764e Replace uses of overloaded |fputs| and most uses of |ns[C]String::ToCString|. b=104763 r=jag rs=scc 2001-10-16 03:53:44 +00:00
alecf%netscape.com
bd048504df convert nsCRT::strn?cmp to Convert() for bug 100214, to depend on string rather than xpcom for case-insensitive unicode support. r=sspitzer for mail stuff, r=jag for everything else, sr=sfraser 2001-10-13 00:16:32 +00:00
waterson%netscape.com
d3e184dc44 Bug 102534. Serialize default namespace properly on typed nodes. Patch submitted by tingley@sundell.net, r=shaver, sr=waterson 2001-10-01 19:54:04 +00:00
sspitzer%netscape.com
e147b1a4a9 more changes for #102037. use GetValueConst() instead of GetValue() where possible to avoid
strdups().

r=waterson, sr=bienvenu
2001-10-01 19:53:14 +00:00
jaggernaut%netscape.com
ca6197295f Bug 100476: Convert uses of member functions ToNewUnicode, ToNewCString and ToNewUTF8String to their global versions and remove support from nsCString and nsString. r=dbaron, rs=scc 2001-09-29 08:28:41 +00:00
sspitzer%netscape.com
8bb8b5bb10 fix for #102037. use GetValueConst() instead of GetValue() to avoid strdups.
r,sr=waterson, sr=bienvenu
2001-09-29 00:01:58 +00:00
harishd%netscape.com
6cf7e21d1f 96364 - Register html tag observers directly to parser service rather than nsObserverService. Doing so, reduces a lot of overhead. Also, the observers are now notified via sink. This eliminates the need for parser bundle.
r=dp,shanjian,sfraser, sr=rpotts.
2001-09-28 23:08:17 +00:00
gerv%gerv.net
4e12e44b2f Relicensing Round 1, Take 2. Most C-like NPL files -> NPL/GPL/LGPL. Bug 98089. 2001-09-28 20:14:13 +00:00
waterson%netscape.com
1f50ae983e Bug 97775. Modify serializer to emit typed nodes when appropriate; patch courtesy tingley@sundell.net, r=shaver, sr=waterson. 2001-09-24 22:31:05 +00:00
jaggernaut%netscape.com
d1a7bfa843 One module per line for REQUIRES. r=/sr=alecf 2001-09-18 22:01:13 +00:00
jaggernaut%netscape.com
dc40187223 Bug 73353: splitting the modules on the REQUIRES lines in Makefile.in across multiple lines to more clearly show the changes made. sr=alecf 2001-09-18 13:41:47 +00:00
alecf%netscape.com
62424ee7b2 Final REQUIRES changes for bug 98371, adding support for MOZ_TRACK_MODULE_DEPS to win32. r=cls (and tested by cls!) 2001-09-17 19:06:35 +00:00
alecf%netscape.com
1e0e7dd033 Add REQUIRES to many modules for win32 support, bug 98372 r=cls 2001-09-12 20:32:40 +00:00
rjesup%wgate.com
070b2fe9da Bug 92576. nsVoidArray->nsAutoVoidArray. sr=jst, r=waterson, r=pavlov, r=kin, r=kmcclusk 2001-09-12 14:59:11 +00:00
jaggernaut%netscape.com
30ace44624 Clean up REQUIRES lines, put content in its own module instead of in layout's, r=cls. 2001-09-12 12:48:23 +00:00
mkaply%us.ibm.com
4ca3cf959e #76856
Night of the Living Dead CVS files - rekilling files that got changes made after they were killed
2001-09-11 03:50:35 +00:00
dp%netscape.com
fdbe5cd9c6 Bug 94366 Reducing url object creations by not converting urls schemes
that done need conversion to absolute. r,sr=waterson
2001-08-21 20:09:20 +00:00
cls%seawood.org
a3c1dd1b09 Use NS_PTR_TO_INT32 macros to do 64-bit safe pointer conversions.
Bug #20860 r=Roland.Mainz@informatik.med.uni-giessen.de sr=brendan@mozilla.org
2001-08-14 07:59:59 +00:00
jaggernaut%netscape.com
5a6317b8a5 Bug 88413: Remove |GetUnicode()| from nsString (and replace it with |get()|). r=dbaron, rs=scc.
This removes all call-sites I can currently fix. Tomorrow I'll try to get someone to checkin my changes to security/ and I'll get some help with the Netscape side of things.

nsString::GetUnicode()'s final death-blow will be dealt soon. Please keep this in mind as you add new code :-)
2001-06-30 11:02:25 +00:00
vidur%netscape.com
9a358b6df4 Fix for bug 81253. We now sniff upto the first 2k of the first buffer of any HTML stream, looking for a META tag with charset information. If charset information is found, we use it for unicode conversion. This deals with the bulk of cases where we used to do a reload based on charset information in the document. In the worst case (if charset information exists but isn't found during sniffing) we fall back to the reload case. This fix improves initial page load performance for pages with a charset. Degradation in performance for pages loaded out of the cache is still being investigated. r=harishd, sr=waterson 2001-06-29 22:56:58 +00:00
cls%seawood.org
bf5fb48486 Replaced NO_SHARED_LIB & NO_STATIC_LIB with BUILD_SHARED_LIBS, BUILD_STATIC_LIBS, FORCE_STATIC_LIB & FORCE_SHARED_LIB. Added FORCE_USE_PIC.
Changes allow us to have a finer control over which parts of the tree are built with PIC.  Part of the static build branch landing.
Bug #46775 r=mcafee a=leaf
2001-06-18 22:10:38 +00:00
scc%mozilla.org
1f69171c8f bug #85271: avoid regressions by re-creating the old behavior near |nsCRT::strdup|, see bug #86316 2001-06-18 03:50:12 +00:00
scc%mozilla.org
a8fb409c6e bug #85271: sr=waterson, r={beard, jag, dbaron}, a=asa. Eliminate features of |nsXPIDLC?String| that keep it out of the string hierarchy (i.e., using assigment to rebind ownership, static |Copy| members, and |getter_Shares|), fixing some leaks in the process. 2001-06-17 05:23:38 +00:00
jband%netscape.com
b7f7c86cbc fix part of bug 83367 by fixing the crazy 'delete this' case after making a call out which could result in a reference being added. sr=vidur r=waterson,dbradley a=drivers 2001-06-05 00:51:29 +00:00
waterson%netscape.com
d79e8811b7 Be sure to use .get() when passing nsXPIDLCString to PR_LOG(). 2001-05-15 20:00:29 +00:00
waterson%netscape.com
01b9da0e26 Bug 35816. Minimize size of serialized RDF/XML and improve its quality. Break parser and serializer into XPConnect-addressable components. r=hyatt, sr=shaver 2001-05-15 19:56:28 +00:00
waterson%netscape.com
cad8461e41 Bug 35816. Add new interfaces, not yet part of the build. r=hyatt, sr=shaver. 2001-05-15 18:48:17 +00:00
mcafee%netscape.com
5e9f551b05 Backing out waterson to fix (78718), chrome restart blocker. Thanks to sspitzer for finding this. r=sspitzer,waterson 2001-05-03 21:11:45 +00:00
waterson%netscape.com
6916890833 Bug 78013. Remove nsFileSpec usage. r=dougt, sr=shaver 2001-05-03 00:03:39 +00:00
waterson%netscape.com
ee316185ba Bug 74448. Fix acceptable URI schemes using table-driven implementation. r=dmose, sr=shaver. 2001-04-28 02:12:10 +00:00
mkaply%us.ibm.com
ca14bcb9f5 Don't need to make this change if pref isn't in 2001-04-20 12:19:23 +00:00
mkaply%us.ibm.com
aa327b3ee6 OS/2 TB bustage
OS/2 only change needed with the OS/2 change to nsCom.h
2001-04-20 03:45:19 +00:00
darin%netscape.com
00a7e27ee6 Necko API changes, bug 74221. r=valeski, sr=rpotts. 2001-04-10 06:01:08 +00:00
waterson%netscape.com
f6555232e1 Another wild stab at fixing ports bustage. 2001-04-04 09:09:58 +00:00
waterson%netscape.com
8e6365a96f Bug 68213. Require users of nsFixedSizeAllocator to specify object size at Free() time to avoid 8 byte overhead per allocation. r=harishd, brendan, shaver, hyatt; sr=scc 2001-04-04 05:00:08 +00:00
waterson%netscape.com
c2f73cbddd Bug 71530. Put the wraps on the RDF outliner for now. Implement 'natural order' sorting. Also, fix off-by-one in the enumerator. r=ben, sr=hyatt 2001-03-28 22:42:49 +00:00
Peter.VanderBeken%pandora.be
47d931e2cd Renaming NS_PARSER_IID to NS_PARSER_CID, because it *is* a CID. r=jag, sr=jst. 2001-03-10 21:02:12 +00:00
disttsc%bart.nl
8b43034cef Change implicit conversion from
|NS_ConvertUTF8toUCS2|
|NS_ConvertASCIItoUCS2|
|NS_ConvertUCS2toUTF8|
|ns[C]LiteralString|
|ns[C]PromiseFlatString|

to explicit |get()|.

Add |get()| to |nsString|, remove implicit conversion operators where possible, add NS_WARNING where not (yet!).

Bug=53057, r=alecf, sr=scc
2001-03-08 08:05:05 +00:00
disttsc%bart.nl
277181c660 Preparation of removing nsCString::GetBuffer. Landing everything but the actual commenting out of nsCString::GetBuffer. bug=64016, r=timeless, sr=scc 2001-03-02 09:26:57 +00:00
disttsc%bart.nl
a6f2f5861a Mass REQUIRES update to synch up with string lib and xul changes in an attempt to fix senna bustage. r=jst, sr=cls 2001-02-22 09:35:51 +00:00
waterson%netscape.com
9fe59f23f0 Bug 43121. Move XUL content model code from RDF DLL to content DLL. r=jst,hyatt; sr=brendan. 2001-02-22 03:01:34 +00:00
dougt%netscape.com
128f95aa9b Relanding Necko Changes.
Revising nsIChannel to allow for overlapped i/o. This consists of three parts:

1. Factoring nsIChannel into a protocol specific part, the nsIChannel, and a socket specific, the nsITransport.
2. Derive the nsIChannel from a nsIRequest.
2. Changes the notification system from necko and the URILoader to pass the nsIRequest interface instead of nsIChannel interface.

This goal stems from wanting to be able to have active AsyncRead and AsyncWrite operations on nsSocketTransport.
This is desired because it would greatly simplify the task of maintaining persistent/reusable socket connections
for FTP, HTTP, and Imap (and potentially other protocols). The problem with the existing nsIChannel interface is
that it does not allow one to selectively suspend just one of the read or write operations while keeping the other active.

r=darin@netscape.com
sr=rpotts@netscape.com
2001-02-21 20:38:08 +00:00
waterson%netscape.com
51a80d843f Bug 15586. Call nsIRDFXMLSinkObservers on synchronous load, too. r=dougt, sr=alecf 2001-02-20 03:31:24 +00:00
waterson%netscape.com
4954e72c65 Add logging instructions. 2001-02-16 20:34:30 +00:00
disttsc%bart.nl
3d2d80d536 Back out dougt's channel changes 2001-02-12 03:14:23 +00:00
dougt%netscape.com
1b9ca82439 Revising nsIChannel to allow for overlapped i/o. This consists of three parts:
1. Factoring nsIChannel into a protocol specific part, the nsIChannel, and a socket specific, the nsITransport.
2. Derive the nsIChannel from a nsIRequest.
2. Changes the notification system from necko and the URILoader to pass the nsIRequest interface instead of nsIChannel interface.

This goal stems from wanting to be able to have active AsyncRead and AsyncWrite operations on nsSocketTransport.
This is desired because it would greatly simplify the task of maintaining persistent/reusable socket connections
for FTP, HTTP, and Imap (and potentially other protocols).  The problem with the existing nsIChannel interface is
that it does not allow one to selectively suspend just one of the read or write operations while keeping the other active.

The full details of the change on written up in the netlib newsgroup.

r=darin@netscape.com
sr=rpotts@netscape.com
2001-02-10 00:16:26 +00:00
dbaron%fas.harvard.edu
6a1cef6f9a Remove trailing semicolons after all uses of MOZ_DECL_CTOR_COUNTER to quiet build warnings on Mac. b=60415 a=brendan@mozilla.org 2001-01-27 23:06:33 +00:00
vidur%netscape.com
4f62c23956 Change to token and parser node interfaces in conjunction with less copying in the parser. r=harishd,heikki sr=jst 2000-12-12 21:58:13 +00:00
dbaron%fas.harvard.edu
2b2160f1b0 Fix incorrect usage of nsCOMPtr where nsCOMPtr::operator& was used instead of getter_AddRefs. b=59414 r=disttsc@bart.nl sr=waterson@netscape.com 2000-12-09 04:21:51 +00:00
waterson%netscape.com
a5bb0c8ff7 Bug 57360. Handle non-ASCII characters as IDs and for document URLs. r=rjc, sr=alecf 2000-11-30 21:45:56 +00:00
cls%seawood.org
66a18fcbbf Resurrect REQUIRES so that we have some sort of means to track intermodule dependencies. Bug #59454 r=blizzard@mozilla.org 2000-11-20 07:16:06 +00:00
alecf%netscape.com
68d3515b46 #45797 - fix consumers of NS_IMPL_ISUPPORTS
r=dveditz
2000-11-17 20:54:21 +00:00
waterson%netscape.com
18a0fdcf2d Bug 59102, redux. After discussing with jar and rjc, we determined that the correct thing to do in this case is to continue to loop so long as either 1) the current enumerator mCurrent is still valid, or 2) there are more indices to try. 2000-11-06 04:52:58 +00:00
waterson%netscape.com
d22a8ccf15 Bug 59102. RDF containers are one-indexed; need to remember that when counting through them. Fix provided by hyatt, r=waterson. No sr= because we want to spin new builds with it. 2000-11-05 02:28:20 +00:00
waterson%netscape.com
4660c16995 Bug 58252. Make sure that local store and internet search service match RegisterDataSource() calls with UnregisterDataSource(). Make RDFServiceImpl support weak references. r=rjc,scc; sr=alecf 2000-10-31 07:27:49 +00:00
dbaron%fas.harvard.edu
de9a7e696c Fix CompositeDatasourceImpl::Release so it works all the time, including when |mDataSources.Count() == 0|. Use refcount stabilization by one more than the number of elements in mDataSources so that the |mRefCnt == mDataSources.Count()| is not hit on any recursive calls. r=waterson@netscape.com sr=scc@mozilla.org b=56744 2000-10-29 21:32:42 +00:00
warren%netscape.com
cd56c0575b Bug 47207. Backing out logging/PRINTF changes until we can fix stopwatch.h, introduce double parens, etc. 2000-10-28 22:17:53 +00:00
warren%netscape.com
9a6d92a433 Bug 47207. Changing printf to PRINTF to use new logging facility. r=valeski,sr=waterson 2000-10-27 22:43:51 +00:00
waterson%netscape.com
eb82e41895 Bug 57246. Need to ampersand-escape literals that are written in nsRDFXMLDataSource::SerializeMember(), too. r=rjc, sr=scc 2000-10-20 00:55:55 +00:00
waterson%netscape.com
aa07e7a254 Tune arena sizes, per news://news.mozilla.org/39BEC105.5090206%40netscape.com. 2000-09-14 23:11:40 +00:00
rayw%netscape.com
4fe0380d5d *** empty log message *** 2000-09-14 03:42:35 +00:00
rayw%netscape.com
0257791053 Bug 37275, Changing value of all progids, and changing everywhere a progid
is mentioned to mention a contractid, including in identifiers.

r=warren
2000-09-13 23:57:52 +00:00
scc%mozilla.org
70ad30814f if you want a pointer to the characters, you're going to have to |.get()| it 2000-09-13 04:50:55 +00:00
waterson%netscape.com
788fcedb92 Bug 50381. Avoid writing invalid RDF/XML if we can't get a service; avoid trying to write the file at all if we're in XPCOM shutdown. r=rjc 2000-08-30 00:57:59 +00:00
waterson%netscape.com
890dc87c1e Bug 50548. Handle 4th form of [6.12]. r=rjc 2000-08-30 00:55:46 +00:00
waterson%netscape.com
0e97eca377 Bug 48486. Fuse allocation of LiteralImpl objects; get rid of nsAutoString member. r=scc 2000-08-26 06:43:09 +00:00
warren%netscape.com
e05eef45e9 Bug 46777. Redesigned stream interfaces to allows stream observers to be decoupled from pipe implementation. Needed for embedding to fix 'spin' problem. r=rpotts,valeski,ruslan 2000-08-22 07:03:33 +00:00
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
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
5a99d555f5 Remove gratuitous NS_WARNING()s. 2000-05-04 23:34:25 +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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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