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

7449 Коммитов

Автор SHA1 Сообщение Дата
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
bzbarsky%mit.edu 2e8086a742 Remove no longer used tests so they stop confusing folks. Bug 347658, r+sr=darin 2006-08-08 16:44:29 +00:00
mark%moxienet.com 08de256cc5 Annoting tests where failure is expected (bug 347778 comments 3 and 5) 2006-08-08 16:43:41 +00:00
mark%moxienet.com 3faa5035a0 347778 nsLocalFile::MoveTo no longer creates directories when needed on OS X after bug 294584. r=darin 2006-08-07 21:27:09 +00:00
cbiesinger%web.de 4b1e73757c Bug 344196 make nsVariant::SetAsDOMString set mType correctly
patch by Andrew Miller <ak.miller@auckland.ac.nz> r=dougt sr=brendan
2006-08-04 17:20:27 +00:00
alfred.peng%sun.com d54f29958e Bug 347170 nsAString.h and nsSubstring.h should use && instead of &
jst: review+
darin: superreview+
2006-08-04 08:36:36 +00:00
brendan%mozilla.org ee6d5a0d06 Fix from alfred.peng@sun.com for a bug hiding out from over four years ago (341595, r=me). 2006-08-03 22:07:03 +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 a1d0d30501 Bug 305949 - stop exporting nonfrozen XPCOM symbols when libxul is enabled, r=darin 2006-08-02 18:27:25 +00:00
brendan%mozilla.org 6ec73b11fa Back out last commit to try to turn Balsa green. 2006-08-01 23:33:24 +00:00
brendan%mozilla.org a500820740 Fix from alfred.peng@sun.com for old seek-on-selected-stream-without-mBytesLeft-update bug, plus assertions and a null store for stronger consistency (341595, r=me for Alfred's parts, and vice versa). 2006-08-01 20:14:33 +00:00
mark%moxienet.com 5cd71b72d1 294584 Profile fills with bookmarks-##.html (and cookies-##.txt) files due to contention with Spotlight and virus scanners. Use POSIX rename/unlink/rmdir APIs instead of higher-level File Manager equivalents. r=josh sr=darin 2006-08-01 01:48:24 +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
martijn.martijn%gmail.com 584a33c71c Bug 323195 - XPCAutoUnlock messes with detection of potential deadlocks, patch by Matthew Gertner, r=brendan 2006-07-29 14:45:09 +00:00
timeless%mozdev.org bf613adffe Bug 345903 Crash in [@ nsComponentManagerImpl::GetService] with broken JS component
r=dougt
ComponentManager talks to factories when it's asked to create components or get services. The factories are expected to return success when they provide an object or return a failure code and provide a null pointer.

Unfortunately, it's trivially easy for someone writing a js xpcom component to mess up their factory such that they return success without providing an object.

In this case we will now throw NS_ERROR_SERVICE_NOT_FOUND. I've picked this because we did not find a factory capable of properly servicing our request :) -- and because there's no better result available :(.

This branch eventually deserves PR_LOGGING so that people could see it even if they didn't build debug (but did somehow get prlogging), but that's left for a future patch.
2006-07-26 16:00:16 +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
mark%moxienet.com f41b9c5029 345397 Support pathnames in nsLocalFileOSX::SetPersistentDescriptor. r=josh sr=darin 2006-07-23 15:16:37 +00:00
benjamin%smedbergs.us c9125873ca Bug 339144 - Expose a custom factory type for simple nsIUnicharInputStream instances, r=darin 2006-07-21 16:28:51 +00:00