gerv%gerv.net
8e8acc58af
Bug 236613: change to MPL/LGPL/GPL tri-license.
2007-02-14 17:33:38 +00:00
sharparrow1%yahoo.com
55aba527d3
Bug 369690: nsPresContext::mImageLoaders uses wrong key; r+sr=bzbarsky
2007-02-09 20:44:10 +00:00
jonas%sicking.cc
a9f34ee020
Bug 18333: Make the XML content sink incremental. Patch by Henri Sivonen<hsivonen@iki.fi>. r=peterv sr=sicking
2007-01-30 21:21:06 +00:00
bent.mozilla%gmail.com
f79b2fa2c4
Bug 366592 - "Add comparison operators to external string API". r=bsmedberg.
2007-01-17 21:10:02 +00:00
bent.mozilla%gmail.com
76b4881f9a
Bug 366619 - "Move nsAutoLock and nsAutoMonitor to the glue". nsAutoLock.cpp and nsAutoLock.h were moved from xpcom/threads, see there for CVS history. r=bsmedberg.
2007-01-12 20:55:53 +00:00
brendan%mozilla.org
2e4976944e
Add macrology for presetting double hashtable capacity to avoid growth given a known initial population (356116, r=dbaron).
2007-01-10 22:11:34 +00:00
mozilla%weilbacher.org
7112ab4748
[OS/2] Bug 355077: fix xulrunner-stub to work on OS/2, p=abwillis1+me, r=mkaply
2007-01-10 08:43:08 +00:00
jst%mozilla.org
0ec7665da8
Landing 64-bit fixes for bug 333078. r=graydon@mozilla.com, sr=bugmail@sicking.cc
2007-01-05 23:59:18 +00:00
graydon%mozilla.com
4525ab79d9
Bug 333078: XPCOM cycle collector
...
r=brendan, sicking, bz, dbaron, bsmedberg
2007-01-04 22:31:26 +00:00
bmlk%gmx.de
5f3f2bb2d3
be carefull with row indices when deleting cells bug=364318, patch by bz, r=me sr=roc
2006-12-26 14:24:15 +00:00
roc+%cs.cmu.edu
356c992817
Bug 363767. Add AppendElements() API (that appends empty elements) to nsTArray. r=sicking,sr=darin
2006-12-18 01:17:23 +00:00
gerv%gerv.net
caae487a24
Bug 236613: change to MPL/LGPL/GPL tri-license.
2006-12-11 09:45:41 +00:00
brendan%mozilla.org
21fcbfb1ba
Back out last checkin.
2006-12-05 15:46:19 +00:00
brendan%mozilla.org
029e2627fd
Add JS_DHASH_{,DEFAULT_}CAPACITY macros for realloc-free init (356116, r/sr=mrbkap+shaver/dbaron).
2006-12-05 00:52:05 +00:00
jwalden%mit.edu
a48182c886
Bug 361792 - Signed-unsigned comparison in nsVoidArray.cpp. r+sr=darin
2006-11-28 00:32:30 +00:00
roc+%cs.cmu.edu
0577095280
Bug 361707. nsTArray::SetCapacity should return boolean success/failure. r+sr=sicking
2006-11-26 22:01:24 +00:00
kjh-5727%comcast.net
70b1c37b63
Bug 351231: type-pun warnings from nsCOMPtr, part II. r+sr=dbaron.
2006-11-23 16:10:43 +00:00
kjh-5727%comcast.net
e7bf3029de
Bug 351231: type-pun warnings from nsCOMPtr. r+sr=dbaron.
2006-11-23 13:21:27 +00:00
vladimir%pobox.com
82a10357c9
backing out bug 333078, xpcom cycle collector due to perf issues
2006-11-22 23:18:16 +00:00
vladimir%pobox.com
3748c8bf4f
b=333078, xpcom cycle collector -- patch from graydon@mozilla.com, r=many
2006-11-22 19:23:02 +00:00
cvshook%sicking.cc
636e4e6e5f
Don't return nsDerivedSafe when .get() is explicitly used on nsCOMPtr and nsRefPtr. r/sr=dbaron
2006-11-21 21:28:14 +00:00
benjamin%smedbergs.us
122614bb23
Bug 349002, try #2 - Refactor xptcall into a frozen API, r=timeless - with OS/2 fixup by Peter Weilbacher
2006-11-20 17:03:38 +00:00
benjamin%smedbergs.us
62c212952b
Backout xptcall because linux tboxes are stupid, I think.
2006-11-16 20:17:24 +00:00
benjamin%smedbergs.us
f618238f02
Bug 349002 - Refactor xptcall into a frozen API, r=timeless. Includes OS/2 fixup by Peter Weilbacher
2006-11-16 18:29:33 +00:00
benjamin%smedbergs.us
03610c78ba
Bug 360836 - queryinterface isn't nulling the outparam in failure cases, r=dbaron
2006-11-16 02:29:45 +00:00
benjamin%smedbergs.us
ae862feefe
Bug 313309 - Table-driven QI, part 4 (the final piece!) - this could be a test-landing depending on how perf numbers turn out, r=shaver
2006-11-15 22:10:57 +00:00
benjamin%smedbergs.us
8c57888aec
Bug 313309 - Table-driven QI part 3 - use weak statics for interface IDs, r=shaver. This will break VC6 and gcc2.9x, which is ok
2006-11-14 21:21:37 +00:00
benjamin%smedbergs.us
217948472d
Re-land bug 345517 now that the logging issues are hopefully fixed, r=darin/mento/mano
2006-11-13 17:53:01 +00:00
pavlov%pavlov.net
0b5a3c2706
backing out 345517 due to leak test bustage
2006-11-10 04:42:03 +00:00
benjamin%smedbergs.us
c8bc8c9265
Bug 345517, try #2 , make the browser component use frozen linkage, so that ff+xr builds. This does *not* --enable-libxul by default for Firefox (yet). That will wait until after 1.9a1. Older patch r=darin+mento, revisions r=mano
2006-11-09 15:02:29 +00:00
bzbarsky%mit.edu
0a16504492
Remove now-useless include. Bug 359224 followup, r+sr=sicking
2006-11-04 02:00:31 +00:00
cvshook%sicking.cc
131b924b08
Back out previous checkin, ENABLE_TESTS is not available inside code
2006-11-03 00:52:40 +00:00
cvshook%sicking.cc
d6695ccad2
Better way of fixing previous TestTArray bustage that allows testing nsAutoTArray even for non-debug builds.
2006-11-02 22:42:34 +00:00
tor%cs.brown.edu
5eb0b60933
Bug 359224 - include nsTraceRefcnt.h so NS_BUILD_REFCNT_LOGGING is valid.
...
Patch by amenzie@us.ibm.com , r+sr=sicking.
2006-11-02 21:09:47 +00:00
cvshook%sicking.cc
abafb3f44d
fix copy/paste error
2006-11-02 19:50:59 +00:00
cvshook%sicking.cc
6a984be708
Ugh, too many versions of this patch that builds on different places. This should be right.
2006-11-02 19:44:06 +00:00
cvshook%sicking.cc
480afae792
Add nsAutoTArray and nsAutoTPtrArray. b=356299 r/sr=darin
2006-11-02 19:33:10 +00:00
cvshook%sicking.cc
d29b5d7174
Add nsAutoTArray and nsAutoTPtrArray. b=356299 r/sr=darin
2006-11-02 19:31:05 +00:00
bzbarsky%mit.edu
3c0294cc84
Add a way to efficiently insert a bunch of identically constructed elements at a
...
given location in an nsTArray. Bug 357630, r=sicking, sr=darin
2006-11-02 04:12:24 +00:00
cvshook%sicking.cc
90d76fcf8b
trying to fix redness
2006-10-17 22:11:53 +00:00
cvshook%sicking.cc
b31519be79
Bug 355754: Add nsTPtrArray. r=darin sr=bz
2006-10-17 21:40:07 +00:00
db48x%yahoo.com
cc270ac04a
bug 356734: nsBaseHashtable.h casts a pointer to a PRBool, which gives an error in 64 bit gcc
...
r=dbradly, sr=biesi
2006-10-17 04:00:01 +00:00
cvshook%sicking.cc
0aa00ad601
backout of previous patch due to redness and warnings
2006-10-12 19:08:45 +00:00
cvshook%sicking.cc
f16f92f4ff
Bug 355754: Add nsTPtrArray and nsTConstPtrArray. r=darin/bz sr=bz
2006-10-12 18:35:12 +00:00
mats.palmgren%bredband.net
2cc99b4386
Don't crash on OOM. b=353997 r+sr=darin
2006-09-30 05:15:57 +00:00
sergei_d%fi.tartu.ee
01d37fecbd
Bug 332074, [BEOS]Fix XPCOMGlue for BeOS, p=sergei_d, r=thesuckiestemail, r=bsmedberg
2006-09-27 16:07:06 +00:00
benjamin%smedbergs.us
1da2d4ac46
Build bustage, io.h only exists on windows.
2006-09-12 18:50:10 +00:00
benjamin%smedbergs.us
c70d78a351
Bug 340443 - Not possible to use the XPCOM glue with the static CRT, r=neil sr=darin
2006-09-12 18:22:40 +00:00
jruderman%hmc.edu
0c9fdb883f
Bug 324911, use different error messages for out-of-range in ElementAt and FastElementAt. r+sr=sicking.
2006-09-06 00:22:52 +00:00
benjamin%smedbergs.us
279fbbf5a4
Bug 334528 - xulrunner-stub requires the MSVC runtimes to be present; this also fixes embedders and component authors who want to link to the XPCOM glue libraries with various CRTs, r=darin
2006-08-30 15:57:03 +00:00
timeless%mozdev.org
6d112f0859
Bug 106386 Correct misspellings in source code
...
r=bernd rs=brendan
2006-08-28 20:17:01 +00:00
jst%mozilla.jstenback.com
95c7fd00f8
Fixing bug 348062. Making nsContentList hold strong references to the nodes in the list. r+sr=bzbarsky@mit.edu
2006-08-25 17:45:25 +00:00
benjamin%smedbergs.us
267d087a63
Bug 319843 - XULRunner windows are grouped in the taskbar (and all XULRunner apps have the same firewall settings), r=darin
2006-08-17 14:22:04 +00:00
benjamin%smedbergs.us
440b1ab0a4
Windows bustage from bug 347183
2006-08-08 19:00:18 +00:00
benjamin%smedbergs.us
ef6b6ab3b4
Bug 347183 - frozen-linkage access to null/singleton/union/array enumerators, r=darin
2006-08-08 18:18:50 +00:00
benjamin%smedbergs.us
77fb1c667e
b=235665, aggregation broken in bookmarks [gecko only bits], r=axel,shaver,others,sr=shaver
...
Original committer: vladimir%pobox.com
Original revision: 1.10
Original date: 2004/08/30 22:25:27
2006-08-08 17:10:07 +00:00
benjamin%smedbergs.us
0a78b2f378
Bug 236613: change to MPL/LGPL/GPL tri-license.
...
Original committer: gerv%gerv.net
Original revision: 1.9
Original date: 2004/04/18 14:18:13
2006-08-08 17:10:04 +00:00
benjamin%smedbergs.us
a5d2407490
Bug 229875 - eliminate unnecssary public/virtual destructors. This patch changes all refcounted classes under xpcom/, which aren't inherited from or used on the stack, to have private, nonvirtual destructors. r=dougt, sr=dbaron.
...
Original committer: bryner%brianryner.com
Original revision: 1.8
Original date: 2004/01/15 06:14:12
2006-08-08 17:10:01 +00:00
benjamin%smedbergs.us
9ab3cd45db
Create a new xpcom obsolete library (and component library).
...
Moved nsFileSpec and related classes into this obsolete library.
Moved nsRegistry and related libreg functionality into the obsolete library.
Updated many callers using the obsolete nsFile spec to use nsIFile and Necko to do file IO.
Combined the following DLLs (source -> dest)
uriloader -> docshell
shistory -> docshell
jsurl -> jsdom
gkview -> gklayout
Moved nsAdapterEnumerator out of xpcom/ds and into mailnews, since they're the only consumer
Modifed the xpt_link tool so that you can specify a �only include� cid list that can mask CID�s that you are not interested in.
Added build options:
Prevent the building of xpinstall (--disable-xpinstall)
Prevent the building js component loader (--disable-jsloader)
A build option to only build a single profile (--enable-single-profile)
A build flag to only built the required xpfe components (--disable-xpfe-components).
Removal or hiding of unused functions and classes including nsEscape*, nsDequeIterator, nsRecyclingAllocatorImpl, nsDiscriminatedUnion, nsOpaqueKey, nsCRT::strlen, NS_NewCommandLineService
Bug 194240, r/sr = darin, alec.
Original committer: dougt%netscape.com
Original revision: 1.7
Original date: 2003/03/15 01:04:09
2006-08-08 17:09:58 +00:00
benjamin%smedbergs.us
a1e7cb0de1
fix for bug 162115 - add nsCOMArray<T> and nsIArray to the build
...
r=dougt, sr=darin, lots of comments from brendan, kai, bugmail@sicking.cc , frank.schoenheit@gmx.de , and even a little license help from timeless
Original committer: alecf%netscape.com
Original revision: 1.6
Original date: 2002/10/07 19:03:34
2006-08-08 17:09:55 +00:00
benjamin%smedbergs.us
34c8343db1
Relicensing Round 1, Take 2. Most C-like NPL files -> NPL/GPL/LGPL. Bug 98089.
...
Original committer: gerv%gerv.net
Original revision: 1.5
Original date: 2001/09/28 20:12:31
2006-08-08 17:09:52 +00:00
benjamin%smedbergs.us
a52c52b043
updated xPL license boilerplate to v1.1, a=chofmann@netscape.com,r=endico@mozilla.org
...
Original committer: dmose%mozilla.org
Original revision: 1.4
Original date: 1999/11/06 03:38:06
2006-08-08 17:09:49 +00:00
benjamin%smedbergs.us
b3268361ae
Added constructor functions for nsEnumeratorUtils.
...
Original committer: warren%netscape.com
Original revision: 1.3
Original date: 1999/06/25 01:38:33
2006-08-08 17:09:46 +00:00
benjamin%smedbergs.us
c4487eb2fe
Added nsISimpleEnumerator as Phase I of the great enumerator unification. Added misc files for XPConnect. Details in RDF_19990422_BRANCH.
...
Original committer: waterson%netscape.com
Original revision: 1.2
Original date: 1999/04/24 02:38:52
2006-08-08 17:09:43 +00:00
benjamin%smedbergs.us
816fba83fd
b=235665, aggregation broken in bookmarks [gecko only bits], r=axel,shaver,others,sr=shaver
...
Original committer: vladimir%pobox.com
Original revision: 3.13
Original date: 2004/08/30 22:25:27
2006-08-08 17:09:40 +00:00
benjamin%smedbergs.us
1f35ed0481
Bug 236613: change to MPL/LGPL/GPL tri-license.
...
Original committer: gerv%gerv.net
Original revision: 3.12
Original date: 2004/04/18 14:18:13
2006-08-08 17:09:37 +00:00
benjamin%smedbergs.us
c2909ccbfa
Create a new xpcom obsolete library (and component library).
...
Moved nsFileSpec and related classes into this obsolete library.
Moved nsRegistry and related libreg functionality into the obsolete library.
Updated many callers using the obsolete nsFile spec to use nsIFile and Necko to do file IO.
Combined the following DLLs (source -> dest)
uriloader -> docshell
shistory -> docshell
jsurl -> jsdom
gkview -> gklayout
Moved nsAdapterEnumerator out of xpcom/ds and into mailnews, since they're the only consumer
Modifed the xpt_link tool so that you can specify a �only include� cid list that can mask CID�s that you are not interested in.
Added build options:
Prevent the building of xpinstall (--disable-xpinstall)
Prevent the building js component loader (--disable-jsloader)
A build option to only build a single profile (--enable-single-profile)
A build flag to only built the required xpfe components (--disable-xpfe-components).
Removal or hiding of unused functions and classes including nsEscape*, nsDequeIterator, nsRecyclingAllocatorImpl, nsDiscriminatedUnion, nsOpaqueKey, nsCRT::strlen, NS_NewCommandLineService
Bug 194240, r/sr = darin, alec.
Original committer: dougt%netscape.com
Original revision: 3.11
Original date: 2003/03/15 01:04:09
2006-08-08 17:09:34 +00:00
benjamin%smedbergs.us
08639a43f6
Bug 178643: Remove uses of NS_INIT_ISUPPORTS, since it is no longer needed. r=timeless sr=jag
...
Original committer: dbaron%dbaron.org
Original revision: 3.10
Original date: 2003/01/08 23:04:15
2006-08-08 17:09:31 +00:00
benjamin%smedbergs.us
37cc428e55
fix for bug 162115 - add nsCOMArray<T> and nsIArray to the build
...
r=dougt, sr=darin, lots of comments from brendan, kai, bugmail@sicking.cc , frank.schoenheit@gmx.de , and even a little license help from timeless
Original committer: alecf%netscape.com
Original revision: 3.9
Original date: 2002/10/07 19:03:34
2006-08-08 17:09:28 +00:00
benjamin%smedbergs.us
67daf0f8a4
166917. Clean up xpcom SDK includes. r=rpotts@netscape.com, sr=alecf@netscape.com, a=rjesup@wgate.com
...
Original committer: dougt%netscape.com
Original revision: 3.8
Original date: 2002/09/07 17:12:47
2006-08-08 17:09:25 +00:00
benjamin%smedbergs.us
85a72d93c3
nsIObserver and nsIObserverService API freeze. r=rpotts@netscape.com, alecf@netscape.com. bug 99163
...
Original committer: dougt%netscape.com
Original revision: 3.7
Original date: 2001/10/19 20:52:43
2006-08-08 17:09:22 +00:00
benjamin%smedbergs.us
12865d33e8
Relicensing Round 1, Take 2. Most C-like NPL files -> NPL/GPL/LGPL. Bug 98089.
...
Original committer: gerv%gerv.net
Original revision: 3.6
Original date: 2001/09/28 20:12:31
2006-08-08 17:09:19 +00:00
benjamin%smedbergs.us
94b26c419b
updated xPL license boilerplate to v1.1, a=chofmann@netscape.com,r=endico@mozilla.org
...
Original committer: dmose%mozilla.org
Original revision: 3.5
Original date: 1999/11/06 03:38:06
2006-08-08 17:09:16 +00:00
benjamin%smedbergs.us
bdec7fd46f
got rid of |NS_IMPL_ISUPPORTS|, where possible, in favor of |NS_IMPL_ISUPPORTS0| or ...1 according to the specific use; got rid of |NS_DEFINE_IID| where possible, or where it should have been |NS_DEFINE_CID|; fixed bad implementations of |QueryInterface|, where possible. Built, tested apprunner, reviewed the changes with hyatt (since he was around to look) before checking in
...
Original committer: scc%netscape.com
Original revision: 3.4
Original date: 1999/08/23 10:11:15
2006-08-08 17:09:13 +00:00
benjamin%smedbergs.us
3e7d5b1a2e
Added constructor functions for nsEnumeratorUtils.
...
Original committer: warren%netscape.com
Original revision: 3.3
Original date: 1999/06/25 01:38:33
2006-08-08 17:09:10 +00:00
benjamin%smedbergs.us
5aded0f8b7
Fixed nsICollection (and Count in particular) to be xpidl friendly.
...
Original committer: warren%netscape.com
Original revision: 3.2
Original date: 1999/05/13 04:56:02
2006-08-08 17:09:07 +00:00
benjamin%smedbergs.us
2fd49449c0
Added nsISimpleEnumerator as Phase I of the great enumerator unification. Added misc files for XPConnect. Details in RDF_19990422_BRANCH.
...
This file was copied in CVS from the following location:
mozilla/xpcom/ds/nsEnumeratorUtils.cpp
Original committer: waterson%netscape.com
Original revision: 3.1
Original date: 1999/04/24 02:38:54
2006-08-08 17:09:04 +00:00
benjamin%smedbergs.us
21e011a642
Bug 319024 - Password manager does not remember data - regression from bug 316414 part 1 - observer enumerators need to hand out the strong-ref nsIObserver-implementing object, not the nsIWeakReference-implementing object, r=darin
...
Original committer: bsmedberg%covad.net
Original revision: 1.11
Original date: 2005/12/13 21:12:38
2006-08-08 17:09:01 +00:00
benjamin%smedbergs.us
0a37ce6355
Bug 316414 part 1, try #2 - Add xpcom-shutdown-threads and xpcom-shutdown-loaders notifications, r=darin
...
Original committer: bsmedberg%covad.net
Original revision: 1.10
Original date: 2005/11/30 18:51:27
2006-08-08 17:08:58 +00:00
benjamin%smedbergs.us
30efba836c
Bug 106386 Correct misspellings in source code
...
patch by unknown@simplemachines.org r=timeless rs=brendan
Original committer: timeless%mozdev.org
Original revision: 1.9
Original date: 2005/11/25 19:48:01
2006-08-08 17:08:55 +00:00
benjamin%smedbergs.us
26f2ffd198
Bug 236613: change to MPL/LGPL/GPL tri-license.
...
Original committer: gerv%gerv.net
Original revision: 1.8
Original date: 2005/02/01 15:28:15
2006-08-08 17:08:52 +00:00
benjamin%smedbergs.us
105a8585cf
Bug 229875 - eliminate unnecssary public/virtual destructors. This patch changes all refcounted classes under xpcom/, which aren't inherited from or used on the stack, to have private, nonvirtual destructors. r=dougt, sr=dbaron.
...
Original committer: bryner%brianryner.com
Original revision: 1.7
Original date: 2004/01/15 06:14:12
2006-08-08 17:08:49 +00:00
benjamin%smedbergs.us
f4d5e2867e
Bug 178643: Remove uses of NS_INIT_ISUPPORTS, since it is no longer needed. r=timeless sr=jag
...
Original committer: dbaron%dbaron.org
Original revision: 1.6
Original date: 2003/01/08 23:04:15
2006-08-08 17:08:46 +00:00
benjamin%smedbergs.us
cf81c89e30
Fix crash in ~nsCOMArrayEnumerator. Bug 181592, r=alecf, sr=scc
...
Original committer: bzbarsky%mit.edu
Original revision: 1.5
Original date: 2002/11/26 18:57:56
2006-08-08 17:08:43 +00:00
benjamin%smedbergs.us
5f16c93259
need to NS_INIT_ISUPPORTS to prevent thresafety assertions. bug 175437,
...
r=timeless, sr=alecf, a=dbaron
Original committer: bzbarsky%mit.edu
Original revision: 1.4
Original date: 2002/10/24 01:03:00
2006-08-08 17:08:40 +00:00
benjamin%smedbergs.us
9bbc39a68d
fix for bug 162115 - add nsCOMArray<T> and nsIArray to the build
...
r=dougt, sr=darin, lots of comments from brendan, kai, bugmail@sicking.cc , frank.schoenheit@gmx.de , and even a little license help from timeless
Original committer: alecf%netscape.com
Original revision: 1.3
Original date: 2002/10/07 19:03:35
2006-08-08 17:08:37 +00:00
benjamin%smedbergs.us
ba76d53caa
from brendan's review:
...
oops, use NS_IF_ADDREF where apropriate
also be consistent about using NS_ADDREF() on the result
not part of build
Original committer: alecf%netscape.com
Original revision: 1.2
Original date: 2002/10/01 18:29:30
2006-08-08 17:08:34 +00:00
benjamin%smedbergs.us
c8ccd4e6e9
add support for a nsISimpleEnumerator implementation for nsCOMArray<T> and nsIArray, and update existing interfaces to support that:
...
- move nsCOMArray_base's ObjectAt/[]/Count() methods into the public so that nsCOMArrayEnumerator can get to it
- tweak NS_NewArray() to match the existing enumerator NS_New* API
- hook up NS_NewArrayEnumerator to nsArray::Enumerate
Not part of the build, for bug 162115
This file was copied in CVS from the following location:
mozilla/xpcom/ds/nsArrayEnumerator.cpp
Original committer: alecf%netscape.com
Original revision: 1.1
Original date: 2002/10/01 17:34:25
2006-08-08 17:08:31 +00:00
benjamin%smedbergs.us
29b2d6ae22
Bug 319024 - Password manager does not remember data - regression from bug 316414 part 1 - observer enumerators need to hand out the strong-ref nsIObserver-implementing object, not the nsIWeakReference-implementing object, r=darin
...
Original committer: bsmedberg%covad.net
Original revision: 1.8
Original date: 2005/12/13 21:12:41
2006-08-08 17:08:28 +00:00
benjamin%smedbergs.us
ce8797942d
Bug 316414 part 1, try #2 - Add xpcom-shutdown-threads and xpcom-shutdown-loaders notifications, r=darin
...
Original committer: bsmedberg%covad.net
Original revision: 1.7
Original date: 2005/11/30 18:51:27
2006-08-08 17:08:25 +00:00
benjamin%smedbergs.us
8060aec60c
Bug 236613: change to MPL/LGPL/GPL tri-license.
...
Original committer: gerv%gerv.net
Original revision: 1.6
Original date: 2005/02/01 15:28:15
2006-08-08 17:08:22 +00:00
benjamin%smedbergs.us
2e67e2a63e
Bug 229875 - eliminate unnecssary public/virtual destructors. This patch changes all refcounted classes under xpcom/, which aren't inherited from or used on the stack, to have private, nonvirtual destructors. r=dougt, sr=dbaron.
...
Original committer: bryner%brianryner.com
Original revision: 1.5
Original date: 2004/01/15 06:14:12
2006-08-08 17:08:19 +00:00
benjamin%smedbergs.us
ec2c3e9d6b
Create a new xpcom obsolete library (and component library).
...
Moved nsFileSpec and related classes into this obsolete library.
Moved nsRegistry and related libreg functionality into the obsolete library.
Updated many callers using the obsolete nsFile spec to use nsIFile and Necko to do file IO.
Combined the following DLLs (source -> dest)
uriloader -> docshell
shistory -> docshell
jsurl -> jsdom
gkview -> gklayout
Moved nsAdapterEnumerator out of xpcom/ds and into mailnews, since they're the only consumer
Modifed the xpt_link tool so that you can specify a �only include� cid list that can mask CID�s that you are not interested in.
Added build options:
Prevent the building of xpinstall (--disable-xpinstall)
Prevent the building js component loader (--disable-jsloader)
A build option to only build a single profile (--enable-single-profile)
A build flag to only built the required xpfe components (--disable-xpfe-components).
Removal or hiding of unused functions and classes including nsEscape*, nsDequeIterator, nsRecyclingAllocatorImpl, nsDiscriminatedUnion, nsOpaqueKey, nsCRT::strlen, NS_NewCommandLineService
Bug 194240, r/sr = darin, alec.
Original committer: dougt%netscape.com
Original revision: 1.4
Original date: 2003/03/15 01:04:09
2006-08-08 17:08:16 +00:00
benjamin%smedbergs.us
d2f609f624
Bug 178643: Remove uses of NS_INIT_ISUPPORTS, since it is no longer needed. r=timeless sr=jag
...
Original committer: dbaron%dbaron.org
Original revision: 1.3
Original date: 2003/01/08 23:04:15
2006-08-08 17:08:13 +00:00
benjamin%smedbergs.us
417460f7ae
need to NS_INIT_ISUPPORTS to prevent thresafety assertions. bug 175437,
...
r=timeless, sr=alecf, a=dbaron
Original committer: bzbarsky%mit.edu
Original revision: 1.2
Original date: 2002/10/24 01:03:00
2006-08-08 17:08:10 +00:00
benjamin%smedbergs.us
ce4bb9ad33
add support for a nsISimpleEnumerator implementation for nsCOMArray<T> and nsIArray, and update existing interfaces to support that:
...
- move nsCOMArray_base's ObjectAt/[]/Count() methods into the public so that nsCOMArrayEnumerator can get to it
- tweak NS_NewArray() to match the existing enumerator NS_New* API
- hook up NS_NewArrayEnumerator to nsArray::Enumerate
Not part of the build, for bug 162115
This file was copied in CVS from the following location:
mozilla/xpcom/ds/nsArrayEnumerator.h
Original committer: alecf%netscape.com
Original revision: 1.1
Original date: 2002/10/01 17:34:25
2006-08-08 17:08:07 +00:00
benjamin%smedbergs.us
9ca8e85066
Bug 347114 - nsVoidArray::SetArray implementation is marked inline incorrectly, r=obvious build bustage
2006-08-03 13:34:20 +00:00
benjamin%smedbergs.us
4243c38899
Bug 345517 - xpcom/glue fixups required to move browser/ code to use the glue, r=darin
2006-07-31 19:37:30 +00:00
sergei_d%fi.tartu.ee
b66d351891
[BeOS]Fixing XPCOM Glue-standalone bustage, p=sergei_d, r=benjamin, affects only BeOS-port
2006-07-24 20:33:19 +00:00
darin%meer.net
edc7e0ce24
fixes bug 332730 "lock reentrancy through nsCacheEntryDescriptor::Close (deadlock)" r=biesi sr=bzbarsky
2006-06-27 23:13:48 +00:00
darin%meer.net
1e7da7adf8
backing out patch for bug 332730
2006-06-20 17:50:49 +00:00
darin%meer.net
753dd7db43
fixes bug 332730 "lock reentrancy through nsCacheEntryDescriptor::Close (deadlock)" r=biesi sr=bzbarsky
2006-06-20 02:05:10 +00:00
benjamin%smedbergs.us
0ce991da3a
Bug 339105 - nsUnicharPtrHashKey, r=darin
2006-06-15 13:48:29 +00:00
brettw%gmail.com
efa80a10a5
Bug 340595 r+a=darin Bug in nsTArray::SetLength
2006-06-07 17:00:18 +00:00
brendan%mozilla.org
fa309dd75b
Eliminate warnings, clean up assertion translation.
2006-06-05 20:35:07 +00:00
benjamin%smedbergs.us
e0c5b54688
Bug 337731 - Make gnomevfs use frozen linkage, r=darin
2006-05-23 19:50:24 +00:00
benjamin%smedbergs.us
bf889b560a
Bustage fix, bug 338734
2006-05-22 14:56:00 +00:00
benjamin%smedbergs.us
5cf5cfff96
Bug 338734 - Make nsProxyRelease available to frozen-linkage code, r=darin
2006-05-22 14:19:13 +00:00
benjamin%smedbergs.us
10a6c9e4c4
friend declarations need the same declspec on windows, so to avoid complexity just make the semi-private data public
2006-05-19 23:00:22 +00:00
benjamin%smedbergs.us
b4210273da
Bug 337730 - add additional utilities to nsStringAPI, r=darin
...
TestMinStringAPI.cpp moved from xpcom/glue to xpcom/glue/external
2006-05-19 22:37:17 +00:00
darin%meer.net
ea010b8b75
fixes bug 337752 "gcc 3.2.2 generates bad code for nsRunnableMethod<T>" r=bsmedberg
2006-05-12 20:18:13 +00:00
darin%meer.net
e53eb29e72
fixing upload to a file channel and the win32 vc6 build bustage (out with NS_NewRunnableMethod and in with NS_NEW_RUNNABLE_METHOD)
2006-05-10 22:49:04 +00:00
darin%meer.net
8602491b67
fixes SunOS (putt) bustage
2006-05-10 18:27:21 +00:00
darin%meer.net
0318b8c707
landing patch for bug 326273 "Implement nsIThreadManager" (Mac portions by Mark Mentovai) with reviews from bienvenu, bsmedberg, bzbarsky, josh, roc, and ssieb
2006-05-10 17:30:15 +00:00
benjamin%smedbergs.us
b43891b82e
Bug 335248 - Add StringBeginsWith and several other functions to the frozen CRTGlue/stringapi, r=darin
2006-05-04 18:34:45 +00:00
benjamin%smedbergs.us
08887664c9
Bug 334038 - Separate out the frozen C stringapi and the glued C++ wrappers, fix a few bugs along the way, and move some of the utils from nsCRT into nsCRTGlue for use by frozen-linkage code. r=darin
...
CVS history for xpcom/string/public/nsXPCOMStrings.h is at xpcom/string/public/nsStringAPI.h
CVS history for xpcom/build/nsXPCOMStrings.cpp is at xpcom/build/nsStringAPI.cpp
CVS history for xpcom/glue/nsStringAPI.h is at xpcom/string/public/nsStringAPI.h
2006-05-03 16:11:14 +00:00
benjamin%smedbergs.us
ec18f62436
Bug 333308 - make clean/distclean misses various files, patch by Mike Hommey <mh+mozilla@glandium.org>, r=me
2006-04-28 14:54:54 +00:00
benjamin%smedbergs.us
7ac1e0c149
Bug 335309 - Filehandle leak in XPCOMGlueLoadDependentLibs (found by coverity) - patch by Ryan Flint <rflint@dslr.net>, r=me+darin
2006-04-25 19:04:51 +00:00
benjamin%smedbergs.us
034ef90a2a
Re-land this part of bug 305949 now that I've configure-tested the broken compiler (bug 334866)
2006-04-21 17:16:31 +00:00
benjamin%smedbergs.us
98dbbe6610
Reverting this to use NS_VISIBILTY_DEFAULT because this exposed GCC bug: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26905
2006-04-19 20:21:29 +00:00
benjamin%smedbergs.us
8826418990
Bug 305949 - Fix various XPCOM macros in preparation for stopping exporting nonfrozen XPCOM functions, r=darin sr=bryner
2006-04-19 16:29:31 +00:00
dbaron%dbaron.org
c6e5aec25e
Make JSDHashTable/PLDHashTable assert when ops or enumeration callbacks mutate the table. b=334180 r=brendan
2006-04-18 18:30:50 +00:00
peterv%propagandism.org
22f88cf944
Fix for bug 333839 (nsTArray::SetLength doesn't increase array's length). r=bsmedberg, sr=darin.
2006-04-17 17:11:14 +00:00
benjamin%smedbergs.us
70a0f2207b
Freeze nsIArray (requires separating nsIMutableArray into another .idl file); also removes NS_NewArray and moves do_QueryElementAt into the glue, r=darin
2006-04-12 15:43:32 +00:00
darin%meer.net
20837f71e1
fixes bug 328925 "Replace NS_WARN_IF_FALSE with NS_ASSERTION (where appropriate)" r=dbaron
2006-03-30 18:40:56 +00:00
benjamin%smedbergs.us
b4e4416610
Bug 325450 - nsGREGlue check of GRE_HOME needs to add /libxpcom.so, r=darin
2006-03-28 18:48:21 +00:00
benjamin%smedbergs.us
094c06b97d
Bug 326491 - leaked observer service leaks things on shutdown - r=darin
2006-03-21 14:43:56 +00:00
bryner%brianryner.com
4cd1e2b280
Remove dependency on nsIClassInfo.h from nsISupports.h (bug 330420). This adds a new nsIClassInfoImpl.h file which can be included to get the CI implementation macros. Also, removes unneeded inclusion of nsIProgrammingLanguage.h from nsIClassInfo.h. r=darin.
2006-03-15 04:59:42 +00:00
darin%meer.net
160c228151
backing out bsmedberg's patch for bug 326491 to fix bug 329505.
2006-03-09 03:14:32 +00:00
benjamin%smedbergs.us
ac2cdadfb2
Bug 326491 - cleanup observers on shutdown even if the observer service is leaked, r=darin
2006-03-04 14:04:05 +00:00
benjamin%smedbergs.us
0323fde248
Bug 329004 - Local (in-app-bundle) XULRunner framework finding broken, r=darin
2006-03-02 15:23:17 +00:00
cvshook%sicking.cc
6eb082c936
Bug 324918: Make nsHTMLSelectElement deal better with options in unknown children. r=bz sr=jst
2006-03-01 01:10:20 +00:00
darin%meer.net
5b900b727a
fixes bug 305987 "NS_WARN_IF_FALSE asserts" r=bsmedberg
2006-02-28 22:19:55 +00:00
benjamin%smedbergs.us
107bbb27b7
Backout bug 313309 part 3 again due to gcc2.9x bustage and an ICE on MSVC6
2006-02-23 19:57:50 +00:00
benjamin%smedbergs.us
f9148b34a2
Bug 313309 part 3 - relanding now that all the mac tinderboxen have been upgraded to xcode 1.5+ - use a weak static data symbol for NS_GET_IID instead of an inline function. Have to use templates to trick compilers into emitting a weak symbol. r=shaver
2006-02-23 18:31:02 +00:00
darin%meer.net
23ac2bd0d1
fixes bug 326603 "Enable use of tracerefcnt with derived classes" r=bsmedberg sr=dbaron
2006-02-21 22:49:00 +00:00
cvshook%sicking.cc
e360eb3815
Bug 327256: Give nsCOMArray ability to preallocate storage space. r/sr=darin
2006-02-18 05:54:47 +00:00
dbaron%dbaron.org
ec43dae0ab
Make refcount logging usable from C. b=317481 r=bsmedberg
2006-02-15 20:23:08 +00:00
benjamin%smedbergs.us
8f457f8d89
Bug 325229 part 2 - Stub out the old exitroutine functions which are fatally flawed, r=darin
2006-02-13 16:08:55 +00:00
benjamin%smedbergs.us
85fa444b47
Bug 78081 - don't export intermediate libraries - initial makefile changes to switch from $(DIST)/lib to in-tree library locations - blanket-r=mento
2006-02-10 18:23:52 +00:00
benjamin%smedbergs.us
8b72bb0f97
Bug 325229 part 1 - standalone glue registers exit routine which is called after module unload; also fixes bug 317481 - C API for nsTraceRefcnt; also fixes bug 318622 - Make nsTraceRefcntImpl::SetActivityIsLegal work properly and turn it on; design review by dbaron, r=darin
2006-02-10 15:00:36 +00:00
darin%meer.net
f1141fd8e2
fixes bug 325331 "Make nsTArray a bit more useful" r=bsmedberg (relanding)
2006-02-08 01:23:26 +00:00
darin%meer.net
effdd39acc
reverting last change since it makes vc6 unhappy.
2006-02-04 01:21:54 +00:00
darin%meer.net
7293ef5468
fixes bug 325331 "Make nsTArray a bit more useful" r=bsmedberg
2006-02-03 21:41:31 +00:00
pedemont%us.ibm.com
ae0df7a328
Bug 325260 - On Mac OS X, XPCOMGlueLoadXULFunctions should search library's symbol table, not global symbol table. Also, use snprintf (instead of sprintf) on all platforms. r=bsmedberg, sr=mentovai.
2006-02-01 16:51:12 +00:00
darin%meer.net
c7c435dffa
fixes bug 324981 "nsTArray crash in RemoveElement" r=bsmedberg
2006-01-30 17:16:50 +00:00
mark%moxienet.com
18681d809c
323337 Use fastcall on Mac OS X x86: __attribute__(regparm(3)). r=josh
2006-01-23 20:11:08 +00:00
bzbarsky%mit.edu
f4b4bb5843
Remove assertion that unnecessarily makes do_GetInterface less useful. Bug
...
323382, patch by Martijn Wargers <martijn.martijn@gmail.com>, r=darin,
moa=dougt, sr=bzbarsky
2006-01-21 22:24:27 +00:00
jag%tty.nl
4e97474bac
Bug 324124: nsCOMPtr can be constructed with const char* and nsID
...
r=bsmedberg, sr=dbaron
2006-01-21 11:23:32 +00:00
darin%meer.net
3f64b82bb8
fixes bug 321997 "Minimize memory footprint of nsTArray object" r=sicking,bsmedberg
2006-01-10 20:38:54 +00:00
darin%meer.net
eb3847a802
fixes bug 318193 "Input streams are not implemented consistently" r=biesi sr=bz
2006-01-02 02:30:32 +00:00
bsmedberg%covad.net
f16e0cb7e2
Bug 320377 - XPCOM glue linking not enabled for SunOS, patch by Jens Hatlak <jh@junetz.de> r=me r=pete.zha
2005-12-16 15:51:15 +00:00
bsmedberg%covad.net
09fd4e365c
Bug 320449 - Make properties of GRE_GetGREPathWithProperties useful, r=darin; nsGREGlue.cpp supplementary logic fix r=#developers, earlier testing would have been good :-(
2005-12-16 14:58:57 +00:00
darin%meer.net
dfd57a478c
fixes bug 319068 "problems with older compilers" r=bsmedberg
2005-12-13 18:00:35 +00:00
bsmedberg%covad.net
75f0b3fd3c
Re-landing bug 316416 with biesi's uninitialized-rv catch and with the windows nsIFile hashing cached (bug 316732)
2005-12-13 17:55:43 +00:00
gerv%gerv.net
dc1383971c
Bug 236613: change to MPL/LGPL/GPL tri-license. Correctly indent Contributors lines. <yawn>
2005-12-13 14:27:13 +00:00
darin%meer.net
83d3a41589
fixes bug 319068 "nsTArray::IndexOf and friends should support an argument of another type" r=bsmedberg
2005-12-12 21:28:29 +00:00
bsmedberg%covad.net
9fc05bc3e7
Re-land bug 318625 that was backed out accidentally with bug 316416 (r=darin)
2005-12-12 14:11:01 +00:00
bsmedberg%covad.net
d54d3d7b09
Reverting bug 316416 due to Ts regression and mysterious monkey orange :-(
2005-12-03 15:27:17 +00:00
bsmedberg%covad.net
28e3019754
Bug 316416 - Convert nsIComponentLoader into nsIModuleLoader, xpcom bits r=darin xpconnect bits r=shaver; and bug 318625 - Make a version of nsTArray.AppendElement that doesn't copy-construct, r=darin
2005-12-02 16:34:42 +00:00
jst%mozilla.jstenback.com
7223904a81
Fixing bug 318461. Move SetNewDocument() and SetOpenerWindow() from nsIScriptGlobalObject to nsPIDOMWindow to clean out non-script related methods form the nsIScriptGlobalObject interface. r=mrbkap@gmail.com, sr=bzbarsky@mit.edu
2005-12-01 19:35:27 +00:00
bryner%brianryner.com
767508e177
Fix crashes when dealing with 0-sized arrays (bug 317959). Patch by darin, r+sr=me.
2005-11-28 20:27:42 +00:00
timeless%mozdev.org
9b0852aaf7
Bug 106386 Correct misspellings in source code
...
patch by unknown@simplemachines.org r=timeless rs=brendan
2005-11-25 21:57:13 +00:00
darin%meer.net
b69c78251e
fixes bug 316782 "Provide templatized array class" r=brettw,bsmedberg sr=bryner
2005-11-23 19:44:16 +00:00
pedemont%us.ibm.com
e86b1e7d7f
Bug 312927 - fix Win32 registry comments in glue code. r=bsmedberg
2005-11-21 19:40:46 +00:00
pedemont%us.ibm.com
c8f4c8ee7d
Bug 316098 - Add 'const' to function impl to fix linking issue and fix error check. r=bsmedberg
2005-11-21 19:36:15 +00:00
mkaply%us.ibm.com
a332149f43
OS/2 version of 316098
2005-11-18 18:48:45 +00:00
bsmedberg%covad.net
9cee99cddd
Bug 316098 - Need standalone glue functions for loading symbols from libxul, r=darin
2005-11-18 17:45:59 +00:00
bsmedberg%covad.net
c0af4ff1aa
Bug 316732 - Allow for hashing on nsIFile by introducing a new nsIHashable interface and implementing it for the file types r=darin
2005-11-18 14:18:49 +00:00
bsmedberg%covad.net
638b74d7bd
Backing out bug 313309 part 3 due to various intermingled bustages.
2005-11-14 16:37:43 +00:00
bsmedberg%covad.net
107e388551
The XPCOM glue cannot use NSPR, provisional r=bz to fix btek bustage until I can find an XPCOM peer.
2005-11-14 16:36:39 +00:00
bsmedberg%covad.net
afaacd8030
Bug 313309 part 3 - use static data symbol (it's a weak symbol, we're tricking compilers into emitting a weak symbol by using templates) for NS_GET_IID instead of an inline function, r=shaver. This may break some tinderboxen (in which case I'll backout), especially the old mac tinderboxen which haven't yet been upgraded from xcode1.1 to a newer version.
2005-11-14 15:07:07 +00:00
bsmedberg%covad.net
78f6d0683d
Bug 313309 part 2 - change the NS_DEFINE_STATIC_IID_ACCESSOR macro to NS_DECLARE, and make a NS_DEFINE_ macro that's outside the class declaration, r=shaver
2005-11-11 14:36:26 +00:00
dougt%meer.net
204561082b
Fixing 314997. Fixing Sun Studio 9 bustage from bug 289010
2005-11-10 16:53:25 +00:00
bsmedberg%covad.net
ff089bf9db
Bug 313309 part 1 - use __fastcall for NS_FASTCALL on windows, r=shaver
2005-11-10 15:09:38 +00:00
bsmedberg%covad.net
a4d3866df3
Bug 313309 part 1 - use __fastcall for NS_FASTCALL on windows, r=shaver
2005-11-10 14:43:22 +00:00
bsmedberg%covad.net
d946f2be32
Try to fix brad bustage by backing out these declarations, which aren't on the equivalent nsVoidArray symbols
2005-11-08 20:55:30 +00:00
bsmedberg%covad.net
a7253270ad
Bug 305949 Part 1 - Separate the frozen XPCOM exports with the XPCOM_API macro; add compatibility methods to the frozen string API; convert most of the tests/tools to use the xpcom glue when appropriate r=darin This checking does not actually stop exporting the nonfrozen methods yet, pending a bunch of test cleanup throughout the tree.
2005-11-08 18:17:49 +00:00
smfr%smfr.org
062098477e
Fix bug 315246: nsGetInterface::operator() can use an uninitialized nsresult variable, if the source fails to implement nsIInterfaceRequestor (which fires an assertion in debug builds). r=dougt, sr=bzbarsky.
2005-11-06 18:31:09 +00:00
bsmedberg%covad.net
acf28ad4d1
Bug 289010 - Move nsVoidArray/nsCOMArray to the XPCOM glue, and a few other things to make the glue easier to use, r=shaver+darin . The following files were CVS-copied from xpcom/ds to xpcom/glue:
...
nsVoidArray.h
nsVoidArray.cpp
nsCOMArray.h
nsCOMArray.cpp
nsQuickSort.h
nsQuickSort.cpp
2005-11-02 20:38:21 +00:00
gerv%gerv.net
ea28678a3e
Bug 236613: change to MPL/LGPL/GPL tri-license, and other license-related fixups.
2005-11-02 16:05:27 +00:00
cvshook%sicking.cc
1f2c89538d
Bug 312226: Fix minor things i missed in last patch.
...
r/sr=jag
2005-11-02 16:05:26 +00:00
bzbarsky%mit.edu
647141294a
nsCOMArray::RemoveObjectAt fails to remove nulls correctly. Bug 265772,
...
r=darin, sr=dbaron
2005-11-02 16:05:25 +00:00
cvshook%sicking.cc
d7faa72532
Bug 312226: Get rid of virtuality in nsVoidArray and optimize nsSmallVoidArray.
...
r=rjesup sr=jst
2005-11-02 16:05:24 +00:00
caillon%redhat.com
5479d46e5d
Kill off nsComObsolete.h
...
Patch by marco@gnome.org to bug 241145
r=caillon sr=dbaron
2005-11-02 16:05:23 +00:00
Olli.Pettay%helsinki.fi
d19a0f5713
Bug 255792, nsSmallVoidArray::ReplaceElementAt does not work in the same way as nsVoidArray::ReplaceElementAt, r=rjesup,sr=alecf
2005-11-02 16:05:22 +00:00
dbaron%dbaron.org
414673b72f
Add nsVoidArray::FastElementAt that requires the caller to do bounds checks (0 <= aIndex < Count()). Make ElementAt a little safer without loss of speed (back to the old safety). Make nsCOMArray<T>::ObjectAt use FastElementAt. b=96108 r=darin
2005-11-02 16:05:21 +00:00
gerv%gerv.net
beabfb9291
Bug 236613: change to MPL/LGPL/GPL tri-license.
2005-11-02 16:05:20 +00:00
dbaron%dbaron.org
2904c7e9ed
Add nsVoidArray::FastElementAt that requires the caller to do bounds checks (0 <= aIndex < Count()). Make ElementAt a little safer without loss of speed (back to the old safety). Make nsCOMArray<T>::ObjectAt use FastElementAt. b=96108 r=darin
2005-11-02 16:05:19 +00:00
bzbarsky%mit.edu
8a516c2bc7
Make ReplaceObjectAt a little safer. Bug 227780, r=timeless, sr=alecf
2005-11-02 16:05:18 +00:00
timeless%mozdev.org
7550832d25
Bug 106386 Correct misspellings in source code
...
Changes strings which meant "referring"
patch by ajvincent@juno.com r=timeless sr=dmose
2005-11-02 16:05:17 +00:00
seawood%netscape.com
0b32a92e64
Remove xp_core.h & xp_mem.h and all build references to them.
...
Remove cruft from xp_mcom.h & xp_str.h.
Bug #38061 r=brendan sr=alecf a=valeski
2005-11-02 16:05:16 +00:00
sicking%bigfoot.com
932310909a
Bug 225507: Implement nsCOMArray::SafeObjectAt for out-of-bounds safe access.
...
r=bryner sr=alecf
2005-11-02 16:05:15 +00:00
bsmedberg%covad.net
f777369283
Bug 212222 - Load default prefs from the GRE and from the application. r/sr=alecf/darin
...
NOTE: This is only the backend work necessary to load prefs. The actual separation of prefs into application/embedding will happen in another bug.
2005-11-02 16:05:14 +00:00
dbaron%dbaron.org
c2a2acec18
nsCOMArray should not use nsDerivedSafe. b=221525 r=bryner
2005-11-02 16:05:13 +00:00
bryner%netscape.com
ac7665be59
Correcting the description of the third argument to NS_QuickSort. r=dbaron.
2005-11-02 16:05:12 +00:00
jshin%mailaps.org
88e93316ef
bug 229705 : CStringArray should accept |nsACString&| instead of |nsCString&|. r=mscott, sr=alecf (with darin, jst, dbaron helping)
2005-11-02 16:05:11 +00:00
dougt%meer.net
4d70c5b7eb
add Sort() to nsCOMArray. Patch from ari the_great_spam_bin@yahoo.com. r=alecf, b=211535
2005-11-02 16:05:10 +00:00
neil%parkwaycc.co.uk
d4b748fded
Bug 198685 need nsCOMArray function like IndexOf that checks COM object identity p=bsmedberg@covad.net r=alecf (no sr needed)
2005-11-02 16:05:09 +00:00
bzbarsky%mit.edu
2221342506
fix build bustage
2005-11-02 16:05:08 +00:00
jshin%mailaps.org
aa34a67050
bug 229705: make CStringArray:CStringAt accept nsACString& as out param. (r=alecf, sr=bz)
2005-11-02 16:05:07 +00:00
dbaron%dbaron.org
25c466b97e
Remove nsISizeOfHandler and associated SizeOf methods. b=106792 r=bzbarsky sr=jst
2005-11-02 16:05:06 +00:00
dougt%netscape.com
7bf5cd48d3
Fixes many compiler warnings from xpcom/ds/nsVoidArray.h. r=dougt, sr=darin, patch=colin@theblakes.com, a=asa, b=166427
2005-11-02 16:05:05 +00:00
dbaron%fas.harvard.edu
dc78f1a372
Convert users of nsAReadable[C]String and nsAWritable[C]String typedefs to [const] nsA[C]String. b=131899 r=scc sr=jag a=asa
2005-11-02 16:05:04 +00:00
cathleen%netscape.com
718da9b13c
eliminate 24 callers to nsCRT::memmove to use memmove from libC instead. removed nsCRT::memove() bug 118135 r=dp sr=brendan
2005-11-02 16:05:03 +00:00
racham%netscape.com
7b10e797f3
Fixing bug 122309. Adding a new routine that can take a string and parse it on a delimiter to add elements to the nsCStringArray. r=dougt, sr=jag
2005-11-02 16:05:02 +00:00
cathleen%netscape.com
8e7e7a12be
eliminates 107 nsCRT::memset calls to use memset instead. removed nsCRT::memset() function. bug 118135 r=dp sr=brendan
2005-11-02 16:05:01 +00:00
dougt%netscape.com
4f0357d604
1. Converts callers of nsIComponentManagerObsolete to use
...
nsIComponentRegistrar.
2. Converts callers of nsComponentManager::AutoRegister to use
nsIComponentRegistrar's autoRegistrar method.
3. Add nsIComponentRegistrar implmentation to nsComponentManagerImpl.
4. Rearrange nsComponentManager.cpp so that related methods are in the same
place.
5. Added a C-style function NS_GetComponentRegistrar so that getting the
registrar is easier in some places.
6. Added a nsISimpleEnumerator interface on PLDHashTableEnumeratorImpl. in
this way, the same base class can support both old style and new style
enumerations.
7. Fixed a nasty bug where unregistring factories will leave the contract id
hash with a dangling pointer. Now, when unregister is called we search the
contract id hash for entries which have the given doomned cid and remove them.
Bug 115853. r=dp@netscape.com , sr=rpotts@netscape.com
2005-11-02 16:05:00 +00:00
cathleen%netscape.com
dff8a8c59e
converted 271 references to nsCRT::memcpy to memcpy, bug 118135 r=dp
2005-11-02 16:04:59 +00:00
blythe%netscape.com
088cd410a4
Fix bug 107270
...
Reduce nsCSSDeclaration footprint
r=dbaron, sr=hyatt
2005-11-02 16:04:58 +00:00
rjesup%wgate.com
af94a3aa23
Remove nsVoidArray:: from method defs
2005-11-02 16:04:57 +00:00
rjesup%wgate.com
072f6676ee
Bug 96108: Fix Win32/opt horkage (SizeOf()) in nsSmallVoidArray should be
...
#if dEBUG)
2005-11-02 16:04:56 +00:00
rjesup%wgate.com
3650d4c81e
Bug 96108: Additional assertions requested by jst. sr=jst
2005-11-02 16:04:55 +00:00
rjesup%wgate.com
ddf5c83e3c
Bug 96108: Inline ElementAt(), add SafeElementAt(), voidarray usage fixes,
...
assertions for bad voidarray indexes. r=jst, sr=waterson
2005-11-02 16:04:54 +00:00
dbaron%fas.harvard.edu
ef62f4e1c6
Making debugging code be |#ifdef DEBUG|. b=91036 r=harishd sr=jst
2005-11-02 16:04:53 +00:00
alecf%netscape.com
893b00159a
bug 104126 - remove nsStringArray::IndexOfIgnoreCase and its one consumer. sr=attinasi, r=jag
2005-11-02 16:04:52 +00:00
gerv%gerv.net
7c65a9b363
Relicensing Round 1, Take 2. Most C-like NPL files -> NPL/GPL/LGPL. Bug 98089.
2005-11-02 16:04:51 +00:00
rjesup%wgate.com
d96a423534
Bug 94243: VoidArray usage patch. a=asa sr=brendan r=waterson r=bienvenu
...
r=pierre r=jband/dbradley Also fixes some whitespace issues.
2005-11-02 16:04:50 +00:00
alecf%netscape.com
61a735c9a9
fix an assertion from nsCOMArray where ReplaceElementAt() wouldn't property extend the array because we were just using ObjectAt()
...
residual stuff from bug 197827, which caused an assertion browsing frame
patch by keeda@hotpop.com , r/sr=alecf
2005-11-02 16:04:49 +00:00
sicking%bigfoot.com
c2e57a5529
Bug 162115: Make nsCOMArray return nsDeriviedSafes to avoid bad addrefs/releases
...
r=bz sr=alecf
2005-11-02 16:04:48 +00:00
bzbarsky%mit.edu
12aaff4a3f
Make the nsCOMArray destructor release all the objects. Bug 178813,
...
r=bbaetz, sr=rpotts
2005-11-02 16:04:47 +00:00
bzbarsky%mit.edu
e6995a227c
nsCOMArray_base copy constructor should not assert. Bug 178534,
...
r=dougt, sr=alecf
2005-11-02 16:04:46 +00:00
mkaply%us.ibm.com
d38c1db45b
#177543
...
r=me, sr=bz
OS/2 build bustage - add explicit casts
2005-11-02 16:04:45 +00:00
bzbarsky%mit.edu
eb48ce7821
Add AppendObjects/InsertObjectsAt to nsCOMArray. Bug 175137,
...
r=timeless, sr=alecf, a=dbaron
2005-11-02 16:04:44 +00:00
bzbarsky%mit.edu
883abcac44
Make IndexOf a const method. Bug 174940, r=dougt, sr=alecf
2005-11-02 16:04:43 +00:00
varga%netscape.com
e7a258a922
Fix for bug 174443. nsCOMArray::ApendObject() shouldn't addref
...
r=dougt, sr=alecf, a=asa
2005-11-02 16:04:42 +00:00
mkaply%us.ibm.com
a5c8ba5fad
OS/2 bustage - need PR_CALLBACK
2005-11-02 16:04:41 +00:00
bbaetz%student.usyd.edu.au
2057652c4c
Change the never-defined copy-constructor signature to refer to nsCOMArray<T>
...
instead of nsCOMArray. Should fix OS2 bustage, which noticed this because
it instantiates the function even when its not used
r=sicking, sr=mozbot, a=tinderbox
2005-11-02 16:04:40 +00:00
alecf%netscape.com
822c509c09
more work on bug 162115 - use "friend" to allow nsCOMArray<T>'s copy constructor to be protected, but still usable from nsArray
...
not part of build
2005-11-02 16:04:39 +00:00
alecf%netscape.com
4bd47b507e
add support for a nsISimpleEnumerator implementation for nsCOMArray<T> and nsIArray, and update existing interfaces to support that:
...
- move nsCOMArray_base's ObjectAt/[]/Count() methods into the public so that nsCOMArrayEnumerator can get to it
- tweak NS_NewArray() to match the existing enumerator NS_New* API
- hook up NS_NewArrayEnumerator to nsArray::Enumerate
Not part of the build, for bug 162115
2005-11-02 16:04:38 +00:00
alecf%netscape.com
21d0af0504
- fix ReplaceObjectAt to properly account for existing null entries
...
- make nsCOMArray_base accessible from nsCOMArray<T> so that a nsCOMArray<T> can passed to NS_NewArray
for bug 162115, not part of build
2005-11-02 16:04:37 +00:00
alecf%netscape.com
03048eca48
not part of build, more for bug 162115:
...
- fix some spelling, add documentation
- add NS_NewArray(), including one that takes an existing nsCOMArray<T>
- implement copy constructor for nsCOMArray_base, so that NS_NewArray can work
not part of build
2005-11-02 16:04:36 +00:00
alecf%netscape.com
7e5a4b47eb
match up some reviewers comments:
...
- tri-license with MPL, not NPL
- be consistent with policy on null in the array (it is allowed)
- move Clear() into implementation file, and hide static callback there too
- make sure to AddRef() on the way out of nsArray::IndexOf()
- handle failure of ReplaceElementAt more gracefully
bug 162115, not part of build yet
2005-11-02 16:04:35 +00:00
alecf%netscape.com
6f3992e110
continuing work in progress on nsCOMArray<T> - take darin's suggestion and move all nsISupports-related code into a non-template base class nsCOMArray_base. This allows the generated template to be paper thin (or really, non-existent!)
...
Then, we move some of the non-trivial methods of this class into a .cpp file
2005-11-02 16:04:34 +00:00
waterson%netscape.com
c7d124ba58
Bug 94267. Clean up nsVoidArray::GrowArrayBy(), fixing a couple of crashers. r=rjesup, sr=brendan
2005-11-02 16:04:33 +00:00
waterson%netscape.com
e0c58f4510
Fix mac bustage.
2005-11-02 16:04:32 +00:00
waterson%netscape.com
6563ff5f12
Bug 90545. nsVoidArray and nsSupportsArray cleanup. Patch submitted by rjesup@wgate.com, r=jst, sr=waterson.
2005-11-02 16:04:31 +00:00
rbs%maths.uq.edu.au
30304c99a7
Add methods for in-place sorting of nsVoidArray and ns[C]StringArray using caller-provided comparator callback functions. b=88344 r=dbaron sr=scc
2005-11-02 16:04:30 +00:00
kandrot%netscape.com
29dbb2527c
r=kandrot@netscape.com, sr=waterson@netscape.com, a=asa@mozilla.org
...
removes a memset that sets zero bytes (so it did nothing)
2005-11-02 16:04:29 +00:00
hyatt%netscape.com
364a6e9b71
Fix bug in void array's assignment operator. r=scc
2005-11-02 16:04:28 +00:00
jst%netscape.com
fee902dd43
DOM string changes. All nsString& in DOM interfaces (and interfaces needed by DOM implementations) have been changed to nsAReadableString& and nsAWritableString&. String implementation additions (sanctioned by scc) to support DOM needs. Bug 49091. r=vidur,jst,scc
2005-11-02 16:04:27 +00:00
alecf%netscape.com
de820decc7
continue work-in-progress with freezable array.
...
Also introduce nsCOMArray<nsIFoo>
not part of build
2005-11-02 16:04:26 +00:00
mkaply%us.ibm.com
e95ad0f35e
#43877
...
r=dougt, a=dougt
Using this pointer rather than other pointer causes crash
2005-11-02 16:04:25 +00:00
waterson%netscape.com
6610ace60f
Fix UMRs.
2005-11-02 16:04:24 +00:00
waterson%netscape.com
4912139130
Fix leak I made. r=warren
2005-11-02 16:04:23 +00:00
waterson%netscape.com
f2637c5ff7
Grow by power of two after reaching 16 elements; factor 'implementation' into a separate struct so the nsVoidArray object is one word when empty.
2005-11-02 16:04:22 +00:00
mkaply%us.ibm.com
4e84e28397
# 34082
...
r= dougt@netscape.com
OS/2 bring up continues - Adding PR_CALLBACKs for VisualAge Compiler
2005-11-02 16:04:21 +00:00
scc%netscape.com
ba15cfd0a7
Fixing runtime assert bustage. r=pinkerton
2005-11-02 16:04:15 +00:00
bsmedberg%covad.net
c51d05ec1d
Bug 314015 - nsComponentManagerUtils.h uses the wrong linking macros, SDK 1.8 is broken, r=darin
2005-10-27 19:01:51 +00:00
bsmedberg%covad.net
3ad6307655
Bug 312569 - nsIVersionComparator doesn't always initialize stack structures properly, r=darin
2005-10-17 20:27:22 +00:00