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

670 Коммитов

Автор SHA1 Сообщение Дата
rjc%netscape.com 39e38bd3fc 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 089654913c bug 119346 1k -> 4k buffers r=harishd,blizzard sr=waterson a=blizzard 2002-01-17 00:45:03 +00:00
sspitzer%netscape.com f3a1f231cb 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 1fc90268c0 Fix monkeypox build bustage. 2002-01-15 03:01:18 +00:00
waterson%netscape.com 2cc83dae11 Bug 115926. Add support for `blob' literals. r=rjc,tingley; sr=hyatt 2002-01-15 01:57:17 +00:00
waterson%netscape.com a970519742 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 c2d19ad82a converted 271 references to nsCRT::memcpy to memcpy, bug 118135 r=dp 2002-01-12 03:18:55 +00:00
dbaron%fas.harvard.edu d10f08aa1f 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 fd33e7c446 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 79b0e4138e Fix blocker buf # 118735... RDF issue. r/a=darin sr=waterson 2002-01-08 23:37:04 +00:00
rjc%netscape.com 032750d563 Bug # 35817: Remove unused RDF service reference. r=mcafee sr=brendan 2002-01-07 11:18:53 +00:00
rjc%netscape.com 3092bdca99 Forget to add this new file as part of last checkin. r=me 2002-01-07 04:12:43 +00:00
rjc%netscape.com 8d6c116619 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 710766a6f6 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 2212861db9 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 1618846cfd 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 874c54280c 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 6ab111155d Bug 104158: Use NS_LITERAL_STRING instead of XXXWithConversion("..."). r=bryner, rs=alecf 2001-12-16 11:58:03 +00:00
tingley%sundell.net bcbb76806e bug 113838 - make nsRDFXMLParser::ParseString() work again.
r=rjc sr=waterson
2001-12-11 07:01:03 +00:00
law%netscape.com 8a6c940dbc 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 f86da3c292 Timing rdf blocking parse for timeline enabled builds 2001-11-26 22:28:37 +00:00
seawood%netscape.com d8927fcc61 Rename 'install' build phase to 'libs'.
Bug #56601 r=pavlov
2001-11-21 09:49:41 +00:00
bzbarsky%mit.edu 0dce65ed23 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 1a5050445f 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 04bef6549a 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 d9b7b4fc4d 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 34fc404be7 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 511a787492 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 592e25181c 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 0d740fbb22 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 fdc4078bc4 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 240521105b 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 99bd737981 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 f385eb981a 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 b41ce991b3 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 e25262c61f One module per line for REQUIRES. r=/sr=alecf 2001-09-18 22:01:13 +00:00
jaggernaut%netscape.com 3826eb9902 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 cf9912aa80 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 e5cc5abd22 Add REQUIRES to many modules for win32 support, bug 98372 r=cls 2001-09-12 20:32:40 +00:00
rjesup%wgate.com 2ddd95c9a4 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 e055a4a2a4 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 8303adb21f #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 0f2c763c77 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 8405a1984e 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 78cc32be34 Bug 90972. Add missing |scriptable| attributes. 2001-07-24 21:09:09 +00:00
jaggernaut%netscape.com 03ab87e4a1 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 59a48b8d8a 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 80f526179f 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 526604e2d8 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 2e8b3e9481 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 256d476b84 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 29c0c2f4e3 Be sure to use .get() when passing nsXPIDLCString to PR_LOG(). 2001-05-15 20:00:29 +00:00
waterson%netscape.com a16f52a8fd 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 10a11ceb13 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 8293f50840 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 8959d815c1 Bug 78013. Remove nsFileSpec usage. r=dougt, sr=shaver 2001-05-03 00:03:39 +00:00
waterson%netscape.com 2eb272a65c 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 99fc229b57 Don't need to make this change if pref isn't in 2001-04-20 12:19:23 +00:00
mkaply%us.ibm.com 7ea8208ac6 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 41efbc6217 Necko API changes, bug 74221. r=valeski, sr=rpotts. 2001-04-10 06:01:08 +00:00
waterson%netscape.com d58e80f657 Another wild stab at fixing ports bustage. 2001-04-04 09:09:58 +00:00
waterson%netscape.com 9558d5bb62 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 7384f4c5d7 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 ede8756d78 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 aebc676048 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 043186b34e 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 744785129a 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 2cd62f503b 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 eab041f43f 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 c5f51b58c1 Bug 15586. Call nsIRDFXMLSinkObservers on synchronous load, too. r=dougt, sr=alecf 2001-02-20 03:31:24 +00:00
waterson%netscape.com 21dd0fbd7b Add logging instructions. 2001-02-16 20:34:30 +00:00
disttsc%bart.nl 76fbedadc5 Back out dougt's channel changes 2001-02-12 03:14:23 +00:00
dougt%netscape.com 69415757ab 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 7a97a55d82 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 01bf191f42 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 2eea32ae2b 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 1b06e81b19 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 8bd122b3d5 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 deff2e336c #45797 - fix consumers of NS_IMPL_ISUPPORTS
r=dveditz
2000-11-17 20:54:21 +00:00
waterson%netscape.com 9ca33f516e 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 28d742b952 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 21632ddeb9 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 f348f493fa 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 4189314fdb 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 6e35f97e31 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 d8ea7ca037 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 6a75d8b881 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 f7f68ebaf4 Tune arena sizes, per news://news.mozilla.org/39BEC105.5090206%40netscape.com. 2000-09-14 23:11:40 +00:00
rayw%netscape.com d26db63cdc *** empty log message *** 2000-09-14 03:42:35 +00:00
rayw%netscape.com 6cc70ebd6c 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 a48ea31a0c 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 ac4202a5ef 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 ce6dee14a7 Bug 50548. Handle 4th form of [6.12]. r=rjc 2000-08-30 00:55:46 +00:00
waterson%netscape.com ff27c3b6a2 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 ab26aa6249 Fix for 50044, 47861, 47471, r=ben 2000-08-25 07:01:53 +00:00
warren%netscape.com 1c8511e78c 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 b24aa12d65 Fix bug # 35022: slow bookmark operations. r=waterson 2000-08-22 00:44:07 +00:00
scc%mozilla.org 50902d01b6 fixing code that relied on implicit string construction 2000-08-19 22:46:00 +00:00
dbaron%fas.harvard.edu 5c7f10349c 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 77e038b453 Whitespace panty raid. 2000-08-09 06:20:13 +00:00
waterson%netscape.com 08bd36fb57 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 112d547223 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 db31111d55 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 7f8d449ab6 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 2a22c82fe2 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 502068f4e4 Fix off-by-one error that jband found. 2000-07-29 03:34:55 +00:00
waterson%netscape.com 4ae6833009 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 71c6dc85f2 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 fff616ca3e 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 2866a486af Fix for bug #45951. r=waterson. 2000-07-24 22:42:34 +00:00
waterson%netscape.com ef4a3827e8 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 6b73658863 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 7e40b8c748 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 42870bddb5 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 8ab5089511 fix 41292, r=waterson, problem with rdf factory cache 2000-07-10 02:35:50 +00:00
cls%seawood.org e1e6c5760f Removed obsolete REQUIRES variable from every Makefile.in/makefile.win 2000-06-30 08:08:04 +00:00
scc%mozilla.org 18a5bb0dd0 don't try to extract characters from an empty string 2000-06-11 07:23:58 +00:00
warren%netscape.com 958ed96edd Renaming nsIAllocator to nsIMemory (and nsAllocator to nsMemory). API cleanup/freeze. Bug #18433 2000-06-03 09:46:12 +00:00
waterson%netscape.com 7ab0e529b0 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 68b998a06d Make res/chrome handlers implement threadsafe_isupports 2000-05-26 21:00:18 +00:00
waterson%netscape.com 289f86d5d9 Bug 29284. Be sure to escape quotes! Other serialization cleanup. 2000-05-16 05:58:48 +00:00
danm%netscape.com 9e2d7cf79f create directory in Flush. r=waterson@netscape.com 2000-05-16 03:09:34 +00:00
waterson%netscape.com aef23fb1f5 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 8c3684b190 Tweak MakeContainer() to always call NS_NewRDFContainer() if the caller asks for one. 2000-05-07 08:38:45 +00:00
waterson%netscape.com fe2e320b21 Bug 34623. Add nsIXULTemplateBuilder.idl. 2000-05-05 20:42:21 +00:00
waterson%netscape.com 10638fb83c Remove gratuitous NS_WARNING()s. 2000-05-04 23:34:25 +00:00
sfraser%netscape.com 14f40c1c2a Add an UpdateCommandState method to the command maanger. 2000-05-01 01:33:22 +00:00
sfraser%netscape.com 1fbb40753c 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 6622635cab making string conversions explicit. scc 2000-04-26 01:13:55 +00:00
waterson%netscape.com be9641ebd5 Clean up pool initialization. 2000-04-25 01:20:00 +00:00
waterson%netscape.com c7e85ce37b 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 2bb93f0b6d Structs are inheritently private, so friend is required
r= waterson@netscape.com
2000-04-20 01:33:29 +00:00
waterson%netscape.com 9809282011 Bug 24762. Use arena-based fixed-size allocator for enumerator objects. r=scc 2000-04-19 04:37:41 +00:00
waterson%netscape.com f52c56f569 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 3d5fc92667 Add nsFixedSizeAllocator.cpp to build. 2000-04-19 03:17:32 +00:00
waterson%netscape.com 316e00a672 Initial revision. 2000-04-19 03:15:25 +00:00
waterson%netscape.com 97aa29fee8 Fix resource leak because of flow-of-control changes. r=rjc 2000-04-18 04:40:56 +00:00
waterson%netscape.com ccac31827b Fix build bustage. 2000-04-17 17:51:01 +00:00
scc%netscape.com 7e868737a5 making string conversions explicit 2000-04-17 14:30:23 +00:00
alecf%netscape.com 955942511b 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 4e00b5fa33 # 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 aed8392487 fix for #34443. fix by waterson, r=sspitzer. now, it just asserts. 2000-04-05 00:50:20 +00:00
mkaply%us.ibm.com 90d4dd3ad3 # 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 7c69941bdc 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 005e33f06e 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 d60b12b153 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 7c55134784 fix a typo in the comment. 2000-03-28 04:53:57 +00:00
scc%netscape.com 33cfc64fc1 small changes to clients of string converting APIs 2000-03-26 10:52:00 +00:00
rjc%netscape.com 528b0494a5 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 bc6549d1f0 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 187c3e43b4 Make nsISupports interfaces threadsafe so proxy objects can be created. r=waterson 2000-03-18 18:38:14 +00:00
waterson%netscape.com ca4696ec29 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 dffbc728d6 Fix bug # 24836: correctly serialize RDF data. Review: waterson@netscape.com. 2000-03-18 05:28:53 +00:00
waterson%netscape.com bf3ea9e26c 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 efeff569f4 removed calls to deprecated string methods 2000-03-12 11:18:18 +00:00
bienvenu%netscape.com 237bf79759 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 f541625e98 # 25555
r= watterson@netscape.com
OS/2 changes for Mozilla
2000-02-15 15:25:57 +00:00
sfraser%netscape.com 9eb276a5da First Checked In. 2000-02-15 08:42:25 +00:00
sfraser%netscape.com a570e2138e Add nsIControllerCommand.idl to build. WIP for bug 18395. r=pinkerton, hyatt 2000-02-15 08:40:52 +00:00
waterson%netscape.com 1e5a40bad2 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 4a78db54fb Doh! Be sure to release the parser when the load completes. 2000-01-27 06:17:13 +00:00
waterson%netscape.com ff33dd020d Bug 24499, 15586. Hold strong ref to nsIRDFXMLSinkObservers; add onError() method to nsIRDFXMLSinkObserver API; be sure to notify observers in synchronous load case. r=shaver 2000-01-27 02:24:20 +00:00
putterman%netscape.com 4c53f418ec r=waterson. Necessary for 24768. Put nsIDOMXULDocument into this. 2000-01-25 05:09:23 +00:00
waterson%netscape.com 8e421b1013 Clean up shared structures between nsRDFGenericBuilder.cpp and nsXULSortService.cpp; r=rjc 2000-01-25 04:07:41 +00:00
nisheeth%netscape.com 71218baaf6 Work done by Vidur and me. Added a FlushPendingNotifications() method to the document. This method flushes the pending content notifications from the content sink and the pending reflow notifications from the pres shell. This code is turned off for now so that it can be tested more thoroughly by Vidur and me. 2000-01-24 06:43:15 +00:00
waterson%netscape.com 9f8ec61d34 Make comments javadoc-style. 2000-01-22 20:55:26 +00:00
sspitzer%netscape.com 920287de74 backing out andreas and warren 2000-01-14 22:01:56 +00:00
warren%netscape.com d6a205f1ec Changes from andreas.otte@primus-online.de for numerous URL parsing bugs. r=warren 2000-01-14 08:50:03 +00:00
rjc%netscape.com 0c20439693 Sorting optimizations. (Sort-of) review by putterman@netscape.com 2000-01-13 10:16:32 +00:00
pp%ludusdesign.com 13efd9e8c6 Converting usage of ::GetIID() to NS_GET_IID().
Bug #20232, r=scc@netscape.com
2000-01-11 20:49:15 +00:00
rjc%netscape.com 183039b2ca Defer creation of resource cache until a sort is imposed. Also, added a temporary working for db->OnChange() not enjoying a null oldTarget. 2000-01-11 08:38:47 +00:00
rjc%netscape.com 1528bdccb4 Move resource cache up from the XUL sort service into the generic builder. Review: me 2000-01-11 06:28:28 +00:00
waterson%netscape.com abd7ead67c Bug 18631. Add GetDataSources() method to nsIRDFCompositeDataSource. r=scottip,rjc 2000-01-11 01:59:12 +00:00
waterson%netscape.com e2c0ab93f8 Remove unused files. 2000-01-10 23:21:24 +00:00
waterson%netscape.com f1a831984c 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 8ec176345e Change nsComponentManager::ProgIDToCLSID to nsComponentManager::ProgIDToClassID as per bug #3579. Checking in for sford. r=scc,r=blizzard 1999-12-30 22:03:58 +00:00
waterson%netscape.com 57e9111db3 Bug 20470. Add weak reference from 'controllers' object back to command dispatcher. Miscellaneous cleanup. r=hyatt 1999-12-05 23:04:22 +00:00
warren%netscape.com a265a32348 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 4ab4ee4d4e Eliminated the libs build pass. 1999-11-28 03:05:01 +00:00
waterson%netscape.com 7615b7ebff Add experimental support for RDF delegates. 1999-11-24 20:51:39 +00:00
waterson%netscape.com 0011b94ce5 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 5cd3c04ac3 Don't need to AddRef the resource before putting into an nsISupportsArray. 1999-11-23 22:36:50 +00:00
waterson%netscape.com 51898cc6be Fix leak of kRDF_nextVal; make construction/initialization safe. 1999-11-23 22:30:58 +00:00
waterson%netscape.com 927914b855 Balance acquisition of RDF resources by releasing them in the dtor. 1999-11-23 22:30:27 +00:00
waterson%netscape.com a9d222d53a Add nsIRDFDelegateFactory to Win32 and Unix builds. 1999-11-22 22:33:11 +00:00
waterson%netscape.com f126eba87f Initial revision. Not yet in the build. 1999-11-22 22:32:27 +00:00
waterson%netscape.com 25b65fc31e Tweak for chrome registry: don't hard-fail if stream cannot be opened. Allows creation of new RDF/XML datasources. r=hyatt 1999-11-22 20:53:09 +00:00
rjc%netscape.com ec7ad9543d Better handling of natural order calculate on RDF sequences. Makes drag&drop work fairly well in natural order. 1999-11-20 08:46:22 +00:00
waterson%netscape.com 96d8bea422 Finish #ifdef-ing MOZ_THREADSAFE_RDF. Appears an unused PRLock will
assert when being destroyed?!?
1999-11-18 09:06:50 +00:00
rjc%netscape.com a6dd3f11da XUL templates can now be specified via attribute instead of a child node of the root. Also, sorting info can now be specified on the root node, so now any RDF-generated content can be sorted (not just trees). Review: me 1999-11-14 11:10:34 +00:00
dmose%mozilla.org 8535dda53e updated xPL license boilerplate to v1.1, a=chofmann@netscape.com,r=endico@mozilla.org 1999-11-06 03:43:54 +00:00
waterson%netscape.com 5a74bdd9ff Bug 18058. Remove 'commandDispatcher' from interface; obsolete. r=hyatt, a=chofmann 1999-11-05 05:30:56 +00:00
hyatt%netscape.com 0eea38f731 Partial fix for 17848. Part 1 of 2. 2nd part will be checked in by hangas. r=hangas, a=brendan 1999-11-04 01:59:04 +00:00
warren%netscape.com 813f9f7c13 Structural changes for MakeAbsolute performance. bug#10736 r=valeski 1999-11-03 05:13:44 +00:00
cls%seawood.org 14ef08310e Removed unused NECKO ifdefs.
a=leaf
1999-11-02 23:34:03 +00:00
brendan%mozilla.org fe51b61664 (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 25a8f2de07 Remove redundant registration of well-formed DTD. r=rickg 1999-10-28 22:15:18 +00:00
ramiro%fateware.com a426b260aa Removing the badly rotten MOZ_STRIP_NOT_EXPORTED hack. We now have a better
way to accomplish the same thing using linker version scripts.
r=cls@seawood.org
1999-10-22 07:11:43 +00:00
warren%netscape.com 2dceb727af Took out redundant MOZ_COUNT_CTOR/DTOR calls. 1999-10-18 19:21:53 +00:00
warren%netscape.com edf3235d43 Took out redundant MOZ_COUNT_CTOR/DTOR calls. 1999-10-18 19:06:21 +00:00