Commit Graph

77 Commits

Author SHA1 Message Date
Ehsan Akhgari
478ad1a412 Bug 690892 - Replace PR_TRUE/PR_FALSE with true/false on mozilla-central; rs=dbaron
Landing on a CLOSED TREE
2011-10-17 10:59:28 -04:00
Michael Wu
0fe7772ece Bug 675553 - Switch from PRBool to bool on a CLOSED TREE , r=bsmedberg,khuey,bz,cjones 2011-09-28 23:19:26 -07:00
Peter Van der Beken
33e2bd6f98 Fix for bug 584048 (Clean up cycle collection code) - remove NS_IMPL_CYCLE_COLLECTING_ADDREF_AMBIGUOUS/NS_IMPL_CYCLE_COLLECTING_RELEASE_AMBIGUOUS. r=bent. 2011-03-06 12:11:31 +01:00
Jae-Seong Lee-Russo
f1dbba608c Bug 517553: Remove '=='/'!=' 'PR_FALSE'/'PR_TRUE' 2010-02-07 10:52:43 -05:00
Arpad Borsos
4341bb06d9 Bug 474369 - get rid of nsVoidArray, rdf part; r+sr=bsmedberg 2009-04-22 10:43:15 +02:00
83a6c325f6 Fix for bug 378595 (Improve cycle collection QI performance). r/sr=sicking. 2007-04-25 09:35:27 -07:00
36dc938b17 Fix for bug 372713 (Add cycle collection to RDF datasources). r=bsmedberg, sr=dbaron. 2007-04-10 15:05:41 -07:00
bob@bclary.com
b7d6d0ccf0 Bug 303503 - make CompositeDataSourceImpl::GetAllResources NS_NOTYETIMPLEMENTED message meaningful, r=axel,sr=shaver 2005-09-04 18:21:36 +00:00
gerv@gerv.net
f12fdf68d6 Bug 236613: change to MPL/LGPL/GPL tri-license. 2004-04-17 18:33:16 +00:00
bryner@brianryner.com
32e253de73 Fix build on gcc 3.4 by removing extra semicolons (bug 218551). r/sr=dbaron, a=brendan. 2003-09-08 00:18:24 +00:00
seawood@netscape.com
9621cb605e Move xpcom specific defines from mozilla-config.h into xpcom-config.h.
Bug #210409 r=dougt
2003-06-27 04:12:16 +00:00
caillon@returnzero.com
863f9e1027 Bug 209852. Remove |dont_QueryInterface|.
r=dbaron, sr=jag
2003-06-21 00:15:41 +00:00
varga@netscape.com
5c7cbbbd0b Landing bookmarks changes.
Bug 205378 - Meta bug for changes in bookmarks sorting code
r=jag, sr=sspitzer, a=sspitzer,asa

The CloneResource() has been back ported from Firebird, originally
implemented by Pierre Chanial.
2003-05-23 12:03:40 +00:00
bzbarsky@mit.edu
069ab11356 Some random nsCOMArray code simplification. Bug 201777, r=timeless, sr=alecf 2003-04-21 23:23:35 +00:00
dbaron@dbaron.org
79c17df558 Convert mObservers to nsCOMArray<nsIRDFObserver> to fix leak of observers. b=199310 r=varga sr=alecf a=brendan 2003-03-27 00:01:09 +00:00
dbaron@dbaron.org
e282c2ebd2 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
timeless@mozdev.org
5b0a616983 Bug 174583 Remove nsIRDFDataSource { nsIEnumerator GetAllCommands(in nsIRDFResource aSource); }
r=rjc,bienvenu sr=alecf
2002-11-20 08:10:37 +00:00
timeless@mozdev.org
a4a4a02115 backing out. 2002-11-06 16:49:13 +00:00
timeless@mozdev.org
a714c2199c Bug 174583 Remove nsIRDFDataSource { nsIEnumerator GetAllCommands(in nsIRDFResource aSource); }
r=rjc,bienvenu sr=alecf
2002-11-06 15:31:02 +00:00
dougt@netscape.com
46ce738546 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
3255ebf24a 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
seawood@netscape.com
0ae28f14fb 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
tingley@sundell.net
b5efcd90fc 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
gerv@gerv.net
58d409fba9 Relicensing Round 1, Take 2. Most C-like NPL files -> NPL/GPL/LGPL. Bug 98089. 2001-09-28 20:14:13 +00:00
rjesup@wgate.com
bf23e1150c Bug 92576. nsVoidArray->nsAutoVoidArray. sr=jst, r=waterson, r=pavlov, r=kin, r=kmcclusk 2001-09-12 14:59:11 +00:00
jband@netscape.com
7da0a544b4 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
76a8febc01 Another wild stab at fixing ports bustage. 2001-04-04 09:09:58 +00:00
waterson@netscape.com
77ffd47f2d 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
dbaron@fas.harvard.edu
efc5151775 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
waterson@netscape.com
6afa7a9f39 Tune arena sizes, per news://news.mozilla.org/39BEC105.5090206%40netscape.com. 2000-09-14 23:11:40 +00:00
waterson@netscape.com
132b010037 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
waterson@netscape.com
a887b66675 Bug 46013. Use nsVoidArray to hold observers to avoid extra addref/release when notfying. r=hyatt 2000-07-28 09:20:15 +00:00
warren@netscape.com
ddc150eedb 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
ruslan@netscape.com
65296586d3 Make res/chrome handlers implement threadsafe_isupports 2000-05-26 21:00:18 +00:00
waterson@netscape.com
2ccb850585 Clean up pool initialization. 2000-04-25 01:20:00 +00:00
waterson@netscape.com
c20c2bd3a8 Bug 24762. Use arena-based fixed-size allocator for enumerator objects. r=scc 2000-04-19 04:37:41 +00:00
sspitzer@netscape.com
6e3efbd86d fix for #34443. fix by waterson, r=sspitzer. now, it just asserts. 2000-04-05 00:50:20 +00:00
rjc@netscape.com
2fdd7cdd4d Do not strip out duplicate RDF commands here (we need multiple separators to pass through.) 2000-03-24 02:40:24 +00:00
pp@ludusdesign.com
d459b2ef64 Converting usage of ::GetIID() to NS_GET_IID().
Bug #20232, r=scc@netscape.com
2000-01-11 20:49:15 +00:00
waterson@netscape.com
f05027d37d Bug 18631. Add GetDataSources() method to nsIRDFCompositeDataSource. r=scottip,rjc 2000-01-11 01:59:12 +00:00
dmose@mozilla.org
20621227af updated xPL license boilerplate to v1.1, a=chofmann@netscape.com,r=endico@mozilla.org 1999-11-06 03:43:54 +00:00
warren@netscape.com
5d5cf7e6f4 Took out redundant MOZ_COUNT_CTOR/DTOR calls. 1999-10-18 19:21:53 +00:00
rjc@netscape.com
8675ec301d Fix leak in nsXULSortService (found by Boehm GC). Also, remove CTOR_COUNT stuff. Review: waterson@netscape.com 1999-10-15 06:27:02 +00:00
waterson@netscape.com
e24826440f Fix compiler warning; r=rjc. 1999-10-15 04:26:46 +00:00
rjc@netscape.com
7b4c4194ae Add in CTOR/DTOR stuff for leak detection. Review: hyatt@netscape.com 1999-10-07 01:51:30 +00:00
bienvenu@netscape.com
8f49159d2b fix ref count tracing for composite data source bug 666 n/a r=waterson 1999-10-06 04:45:14 +00:00
rjc@netscape.com
468db4922a Fix bug # 15222: The composite datasource has a few operations which are somewhat "expensive". Have these behaviors on by default, but expose a method on the composite datasources so that they can be selectively turned off [for Mail/News, for example] if the capability is not needed/used (such as negative assertions). Review: waterson@netscape.com. Additional Mail/News Testing: putterman@netscape.com 1999-10-01 04:07:55 +00:00
putterman@netscape.com
4647c53ca3 Don't worry about duplicate values. 1999-09-09 06:58:14 +00:00
shaver@netscape.com
0fd92b3062 initial RDF NS_DECL_* spam 1999-08-24 09:11:48 +00:00
rjc@netscape.com
2a917df9c1 More cleanup. 1999-07-17 02:33:00 +00:00