Граф коммитов

689 Коммитов

Автор SHA1 Сообщение Дата
alecf%netscape.com ca96d4b9c0 fix for bug 196094 - fix for topcrash in RDFServiceImpl::GetResource
reverse the order of the tests so we don't dereference off the end of a string
patch by bz
r=biesi, sr=alecf
2003-03-11 15:37:32 +00:00
timeless%mozdev.org 33e7c21a66 Bug 190020 GetResource should take AUTF8String
patch by cbiesinger@web.de r=cls sr=alecf
2003-03-05 02:35:23 +00:00
alecf%netscape.com ae04212ee8 fix assertions from bug 190020, sr=bz, r=dmose 2003-02-27 03:05:43 +00:00
cbiesinger%web.de 9405eda256 190020 r=timeless sr=alecf GetResource should take AUTF8String 2003-02-25 19:02:00 +00:00
bzbarsky%mit.edu 7613013508 comment-only change to reflect the fact that mOriginalURLSpec is no
more. r=mozbot, blanket-a=roc
2003-02-06 01:46:55 +00:00
darin%netscape.com 99e45ceed4 fixes bug 191227 "file uploads hang (especially w/ slower connections or
slower servers)" r=dougt sr=bz a=dbaron
2003-01-31 02:00:45 +00:00
darin%netscape.com 685a7af468 modifications for bug 176919 "async streams" r=dougt,gordon sr=sspitzer a=valeski,asa 2003-01-18 02:15:14 +00:00
dbaron%dbaron.org 84f33505f2 Bug 178643: Remove uses of NS_INIT_ISUPPORTS, since it is no longer needed. r=timeless sr=jag 2003-01-08 22:45:23 +00:00
bzbarsky%mit.edu 1c6ea594bc Re-landing fix for bug 182124 a bit at a time to narrow down the source of the
perf impact. r=rjc, sr=darin
2003-01-05 20:19:19 +00:00
seawood%netscape.com d5efcdfb6d Start installing GRE libraries & components into a separate dist/gre directory as part of the default build.
Bug #186241 r=dougt
2002-12-28 01:15:07 +00:00
timeless%mozdev.org 3ae141115f Bug 183639 Crash |delete datasource| in NS_NewRDFInMemoryDataSource
r=rjc sr=dbaron
2002-12-11 12:54:00 +00:00
bzbarsky%mit.edu 3399eea621 And backing bug 182124 yet again... why is comet the _only_ tinderbox showing
the problem?
2002-12-11 12:42:50 +00:00
bzbarsky%mit.edu e81697ce7c relanding bug 182124 since it looks like comet was just noise and the other Ts
boxes that cycled with this show no problems...
2002-12-11 05:40:14 +00:00
bzbarsky%mit.edu 42d3fc3e74 Backing out bug 182124 because I think it caused Ts to go up... 2002-12-11 04:35:37 +00:00
bzbarsky%mit.edu f3c5ef51ac Chrome protocol handler should not munge URIs on channel open (and remove some
workarounds around that behavior).  Bug 182124, r=rjc, sr=darin
2002-12-11 03:29:27 +00:00
rjc%netscape.com 3e25efb01b Fix bug # 183052: remove assert in RDFXMLDataSourceImpl::Flush(). r=bzbarsky@mit.edu sr=darin@netscape.com 2002-12-11 00:20:10 +00:00
bzbarsky%mit.edu 1c01852f9d Clean up some nsISupportsArray users in rdf/. Bug 184346, r=timeless, sr=scc 2002-12-10 23:58:55 +00:00
peterv%netscape.com 2cd27f702a Fix for bug 176610 (Make nsNameSpaceManager a service). r=caillon, sr=jst. 2002-11-29 23:44:07 +00:00
bzbarsky%mit.edu 6e1d942718 Fix some obviously bogus comments. r=caillon, sr=clear copy/paste error. 2002-11-23 22:16:23 +00:00
rjc%netscape.com 70497db352 Fix bug # 180423: implement nsIRDFRemoteDataSource::FlushTo() which enables, among other things, serializing bookmarks as RDF. r=pavlov sr=ben 2002-11-22 07:55:59 +00:00
timeless%mozdev.org 2d64a97bb3 Bug 174583 Remove nsIRDFDataSource { nsIEnumerator GetAllCommands(in nsIRDFResource aSource); }
r=rjc,bienvenu sr=alecf
2002-11-20 08:10:37 +00:00
blakeross%telocity.com b991a20644 179316 - date literals aren't serialized properly. r=rjc sr=ben 2002-11-12 02:12:02 +00:00
timeless%mozdev.org e621565ddb backing out. 2002-11-06 16:49:13 +00:00
timeless%mozdev.org ed4fea921b Bug 174583 Remove nsIRDFDataSource { nsIEnumerator GetAllCommands(in nsIRDFResource aSource); }
r=rjc,bienvenu sr=alecf
2002-11-06 16:10:46 +00:00
timeless%mozdev.org 96218c8ecc Bug 174583 Remove nsIRDFDataSource { nsIEnumerator GetAllCommands(in nsIRDFResource aSource); }
r=rjc,bienvenu sr=alecf
2002-11-06 15:31:02 +00:00
timeless%mozdev.org 6379305177 Bug 154801 ###!!! ASSERTION: null ptr: 'aURL != nsnull', file f:\build\mozilla\rdf\base\src\nsRDFContentSink.cpp, line 696
r=tingley sr=jst
2002-11-06 05:35:14 +00:00
dougt%netscape.com 68faeb5241 166917. Clean up xpcom SDK includes. r=rpotts@netscape.com, sr=alecf@netscape.com, a=rjesup@wgate.com 2002-09-07 17:13:19 +00:00
bryner%netscape.com 025fb3a058 Get rid of gcc3's numerous warnings about using <new.h> instead of <new> by creating a new #define, NEW_H, which should be used instead of <new.h> or <new>. This is so we can continue to support a couple of braindead compilers that don't accept <new>. Bug 155852, r=cls. 2002-08-19 03:50:27 +00:00
darin%netscape.com d86e3064ab second attempt at landing fix for bug 157131 "nsIIOService mods in preparation for freezing" r=dougt sr=alecf 2002-08-15 18:38:46 +00:00
heikki%netscape.com 3c4832e229 Bug 63558, we now store XML declaration in the document and can serialize it. There is fix for 158617 as well, newlines behave properly around doctype. r=bzbarsky, sr=jst. 2002-08-13 18:41:16 +00:00
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