Commit Graph

709 Commits

Author SHA1 Message Date
seawood%netscape.com
322da773fb Removing old nmake build makefiles. Bug #158528 r=pavlov 2002-08-10 07:55:43 +00:00
seawood%netscape.com
301b1a4ca8 Remove unused defines:
_IMPL_NS_HTML
_IMPL_NS_RDF
_IMPL_NS_WEB
USE_NSREG

Patches for removing above defines contributed by Stephen Walker <walk84@yahoo.com>.
Bug #125118 r=cls sr=bryner
Bug #160397 r=cls sr=bryner
Bug #160628 r=cls
Bug #160451 r=cls sr=bryner

_IMPL_NS_VIEW

Patches for removing above define contributed by Brian Ryner <bryner@netscape.com>
Bug #160416 r=cls
2002-08-07 06:08:00 +00:00
alecf%netscape.com
e9e1a39573 fix for bug 157572 - remove nsIAtom references from strings, and thus expicitly #include nsIAtom.h for consumers who are expecting it.
r=dmose, sr=jag, a=asa
2002-07-25 18:31:10 +00:00
tingley%sundell.net
c64fdc38a4 Bustage fix for b=115342, courtesy of dbaron. 2002-07-10 00:32:48 +00:00
tingley%sundell.net
0136ff4554 Reduce some unnecessary nsAutoString usage in the RDF Content Sink.
b=115342 r=bzbarsky sr=waterson
2002-07-09 23:44:58 +00:00
timeless%mac.com
0b2acd4d33 Bug 144992 [FIX] BookmarksUtils.cloneFolder does not clone subfolders (hordes of separators created in bookmarks)
patch by pierrechanial@netscape.net r=blake sr=jag
2002-07-09 19:37:24 +00:00
tingley%sundell.net
fc4ec6351c Fix for bug 153480 - crash deleting download manager entries.
r=rjc sr=waterson
2002-07-09 05:21:33 +00:00
seawood%netscape.com
03ace271f0 Add CPP_THROW_NEW macro to the build system. This macro should be used when defining a local |operator new| function. It will be set to an empty throw function by default on all platforms except mac CW builds. This will allow us to not crash on systems that expect |operator new| to throw an exception by default and will suppress compiler warnings about how |operator new| should throw an exception instead of returning NULL.
Bug 149032 r=timeless sr=scc
2002-07-02 20:25:30 +00:00
dbaron%fas.harvard.edu
6d2263f19b Convert handwritten GetIID methods to use NS_DEFINE_STATIC_IID_ACCESSOR and add |const| to GetCID methods so that static |nsID|s are declared as |const|. b=153525 sr=jag r=bryner 2002-06-26 03:38:55 +00:00
suresh%netscape.com
07a82808c8 fix for bugscape 16611. crash in InMemoryDataSource::Assert. Checks for obs pointer before calling the app. function. r=rjc, sr=alecf. 2002-06-21 20:14:12 +00:00
waterson%netscape.com
22921c3cb9 Bug 146797. Bullet-proof RDF containers so that uninitialized use (e.g., from script) won't cause a crash. r=tingley, sr=shaver 2002-06-16 00:44:06 +00:00
alecf%netscape.com
bcf192e308 fix for bug 101761 - REQUIRES update - remove all REQUIRES that are no longer necessary.. r=cls, a=asa (build-only changes) 2002-06-06 20:28:14 +00:00
harishd%netscape.com
1e4585c9ba Ensuring complete consumption of DOCTYPE content. b=142625, r=heikki, sr=jst 2002-05-22 00:46:16 +00:00
dougt%netscape.com
c683a217ab Fixes mozilla/strings requiring unfrozen nsCRT class. patch by scc, r=dougt, sr=jag, b=136756 2002-05-15 18:55:21 +00:00
mcafee%netscape.com
b1908d0439 removing rdfbase module name, this becomes part of rdf module now. (143587) r=cls, sr=alecf 2002-05-14 01:00:28 +00:00
waterson%netscape.com
d7e0837750 Bug 135505. Don't bother trying to canonify `rdf:' URIs so that we avoid useless (and expensive) protocol handler lookups. r=rjc, sr=alecf, a=rjesup. 2002-04-07 17:40:47 +00:00
dbaron%fas.harvard.edu
b280e94dfe Convert users of nsAReadable[C]String and nsAWritable[C]String typedefs to [const] nsA[C]String. b=131899 r=scc sr=jag a=asa 2002-03-23 21:23:50 +00:00
darin%netscape.com
9fbd1028d6 b=128508 "freeze nsIChannel nsIRequest" r=gagan, sr=rpotts, a=asa 2002-03-20 22:50:33 +00:00
alecf%netscape.com
451df7d6c3 a further nsString api reduction: remove the last case-insensitive PRUnichar*-to-PRUnichar* comparisons, moving to new API, and remove old methods from nsString. r=dougt, sr=jag a=scc 2002-03-19 06:46:56 +00:00
rbs%maths.uq.edu.au
8f6916c2d9 perf bug 124570 - configure mathml.css as a catalog stylesheet that is loaded on demand rather than at startup, r=harishd, sr=jst, a=asa 2002-03-15 09:45:31 +00:00
darin%netscape.com
281c86ec58 b=99165 Freeze nsIInputStream nsIOutputStream (not yet frozen... but close)
r=dougt sr=shaver a=asa
2002-03-12 00:59:06 +00:00
darin%netscape.com
f1a6738b6c fixes bug 124042 "support internationalized URIs" r=dougt, sr=alecf, a=asa 2002-03-06 07:48:55 +00:00
tingley%sundell.net
56af7f826c Checkin for timeless@bemail.org to fix bug 128223: don't assert if a child
datasource doesn't return an (empty) enumerator along with NS_RDF_NO_VALUE.
r=tingley, sr=darin, a=shaver
2002-03-01 04:33:11 +00:00
harishd%netscape.com
a4bac6098f Regression - Add CDATA section support for RDF. b=124463, r=heikki, sr=jst 2002-02-14 23:52:17 +00:00
rjc%netscape.com
025bf62abb Fix bug # 124743: RDF SEQs. r=tingley sr=ben 2002-02-12 00:49:56 +00:00
bzbarsky%mit.edu
97aad157b6 Relanding the Compare --> Equals conversion. a=mcafee 2002-02-10 15:49:46 +00:00
bzbarsky%mit.edu
98afc5ee0f Testing performance impact of backout of what's left of the patch from
bug 115289.  See bug 123947 for details. a=mcafee
2002-02-09 20:46:05 +00:00
bzbarsky%mit.edu
40d60f39ec Convert Compare() to Equals() where possible now that we can do
case-insensitive Equals().  Bug 115289, r=alecf, sr=jag
2002-02-05 02:03:07 +00:00
rjc%netscape.com
490f660b88 Fix bug # 113894: RDF persistance issue, and get nsFileSpec out of RDF. r=sr's = darin, waterson 2002-02-01 00:24:27 +00:00
alecf%netscape.com
28b3772942 First part of fix for bug 107575 - remove nsString::FindChar because there is already an nsAString::FindChar, and remove the "ignore case" option in RFindChar
r=dougt, sr=jag
2002-01-30 06:04:29 +00:00
cathleen%netscape.com
e0f55c7088 eliminate nsCRT::memcmp and all callers to use memcmp instead, bug 118135 r=dp sr=brendan 2002-01-29 21:30:32 +00:00
naving%netscape.com
a91ad55688 122314 patch by tingley@sundell.net sr=waterson. decrease the refcnt but not null out rdfService -fixes
future crash on shutdown
2002-01-29 21:04:03 +00:00
waterson%netscape.com
ef7eb496f1 Bug 122027. Canonify URI before looking it up in the cache. sr=darin. 2002-01-28 23:07:55 +00:00
alecf%netscape.com
bcd6a6fb94 fix for bug 121508 - clean up nsStringStream and nsIParser APIs.. r=dougt, sr=jst 2002-01-27 22:02:00 +00:00
cathleen%netscape.com
486c0d47f9 remove memcpy function from nsCRT, eliminate 2 new nsCRT::memcpy callers
and fix up alighment problems from previous patch, bug 118135, sr=brenda r=dp
2002-01-26 00:04:45 +00:00
waterson%netscape.com
fa52183c37 Bug 121833. Fix assertion (and optimize) string-fu in rdf_MakeRelativeRef. Remove unused rdf_MakeRelativeName. r=timeless, sr=shaver. 2002-01-25 22:28:55 +00:00
waterson%netscape.com
97ae9866cc Bug 116328. Add nsIRDFBlob sorting to rdfliner. r=varga@utcru.sk, sr=hyatt. 2002-01-24 23:03:01 +00:00
harishd%netscape.com
d5fc3771e2 Removed mDoctypeText from nsExpatDriver. This |could| improve Ts/Txul time slightly. b=102345, r=heikki, sr=jst 2002-01-24 22:15:58 +00:00
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
cbc9048ae8 Forget to add this new file as part of last checkin. r=me 2002-01-07 04:12:43 +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
seawood%netscape.com
45bfbf0658 Landing the rest of the win32 gmake changes:
* Adds Makefile.ins to win32 specific dirs
* Adds WINNT ifdefs to Makefile.ins
* Causes NSPR to be compiled with --with-mozilla
* Misc general Makefile.in cleanup

Bug #58981 r=mcafee
2001-12-18 09:14:29 +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
dougt%netscape.com
20e863fb43 Moving nsISimpleEnumerator interface to new idl file. 99136, r=alecf@netscape.com sr=rpotts@netscape.com 2001-10-30 22:07:28 +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
waterson%netscape.com
17b1956b74 Bug 90972. Add missing |scriptable| attributes. 2001-07-24 21:09:09 +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
alecf%netscape.com
a8a428bf1f rdf side of fix for #52644 r=waterson
generate contractIDs appropriately for delegate factories
2000-09-15 06:43:40 +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
hyatt%netscape.com
1be9efcce5 Fix for 50044, 47861, 47471, r=ben 2000-08-25 07:01:53 +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
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