540 Commits

Author SHA1 Message Date
bryner%brianryner.com
16b26bbf1b Change a few more destructors in XPCOM to be non-virtual, and comment destructors that need to be virtual. Bug 229875, r=dougt, sr=dbaron.
git-svn-id: svn://10.0.0.236/trunk@152655 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-11 06:19:03 +00:00
tor%cs.brown.edu
6ab1d43553 bustage fix
git-svn-id: svn://10.0.0.236/trunk@152454 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-07 03:06:25 +00:00
tor%cs.brown.edu
e80519da24 bustage fix
git-svn-id: svn://10.0.0.236/trunk@152453 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-07 02:58:18 +00:00
tor%cs.brown.edu
fdb05f925f Bug 208314 - remove use of iostreams to allow building with compilers
that don't support classic C++ iostreams (ex: MSVC++ .net 2003).
r=timeless, sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@152450 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-07 02:41:10 +00:00
bryner%brianryner.com
90b1e18feb sigh.
git-svn-id: svn://10.0.0.236/trunk@151362 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-15 06:56:39 +00:00
bryner%brianryner.com
9e188a5df5 fixing windows test bustage
git-svn-id: svn://10.0.0.236/trunk@151361 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-15 06:43:38 +00:00
bryner%brianryner.com
b5ccad4460 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.
git-svn-id: svn://10.0.0.236/trunk@151359 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-15 06:14:18 +00:00
bryner%brianryner.com
79ccb45177 Remove obsolete string service. Bug 230484, r=dougt, sr=dbaron.
git-svn-id: svn://10.0.0.236/trunk@151099 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-09 21:43:32 +00:00
dbaron%dbaron.org
c4bdc17ba3 Include nscore.h instead of nsCom.h. b=226555 r=dougt sr=darin a=asa
git-svn-id: svn://10.0.0.236/trunk@149839 18797224-902f-48f8-a5cc-f745e15eee43
2003-11-29 18:56:10 +00:00
timeless%mozdev.org
5a1907b913 Bug 106386 Correct misspellings in source code
Changes strings which meant "referring"
patch by ajvincent@juno.com r=timeless sr=dmose


git-svn-id: svn://10.0.0.236/trunk@149429 18797224-902f-48f8-a5cc-f745e15eee43
2003-11-17 10:05:45 +00:00
darin%meer.net
aa4dd41e45 fixes bug 193917 "incorporate changes from bz's comments in bug 176919" r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@147780 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-09 01:54:07 +00:00
darin%meer.net
bc1bb52b19 fixes bug 210125 "need to be able to AsyncWait for closure only" r=dougt sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@147597 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-06 01:46:31 +00:00
bryner%brianryner.com
c81aa21722 Fix build on gcc 3.4 by removing extra semicolons (bug 218551). r/sr=dbaron, a=brendan.
git-svn-id: svn://10.0.0.236/trunk@146626 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-08 00:31:50 +00:00
dougt%meer.net
6dfc67684a Fix for 205023. Adds nsTraceRefcnt stubs that access a global to allow tracing refcnt to work with the GRE/xpcom glue builds. r=dbaron
git-svn-id: svn://10.0.0.236/trunk@145587 18797224-902f-48f8-a5cc-f745e15eee43
2003-08-05 05:29:10 +00:00
caillon%returnzero.com
1c1e0c7bb4 Bug 209852. Remove |dont_QueryInterface|.
r=dbaron, sr=jag


git-svn-id: svn://10.0.0.236/trunk@144011 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-21 00:15:41 +00:00
bsmedberg%covad.net
e3c168a346 Bug 193031 fix category manager to use aPersist parameter. Bug 54639 Category Manager is not thread-safe. Bug 208437 separate threadsafe nsBaseHashtable into super-class nsBaseHashtableMT. r=dougt/alecf I know Sun Workshop builds are still broken... working on it.
git-svn-id: svn://10.0.0.236/trunk@143853 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-18 11:26:27 +00:00
seawood%netscape.com
9e4caeaa92 Removing old cfm build files. Use the CFM_LAST_RITES tag to resurrect. r=macdev
git-svn-id: svn://10.0.0.236/trunk@143522 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-10 20:12:33 +00:00
bsmedberg%covad.net
8347f9cc7f Attempting to fix Mac build bustage.
git-svn-id: svn://10.0.0.236/trunk@141731 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-24 03:29:19 +00:00
bsmedberg%covad.net
8a71f7dbb4 Bug 201034 non-const enumeration in nsBaseHashtable, add
nsTHashtable::RawRemove. Add a hashtable test-suite, and
clean up some codesize issues. Also fixes bug 203030 and
hopefully SunOS build bustage. r=jkeiser sr=alecf a=asa


git-svn-id: svn://10.0.0.236/trunk@141729 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-24 01:54:57 +00:00
seawood%netscape.com
5921049139 Purge XP_PC.
Bug #56767 r=mkaply sr=alecf


git-svn-id: svn://10.0.0.236/trunk@140602 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-02 22:45:08 +00:00
alecf%netscape.com
f24ccb3da0 landing attempt #2 for 195262 - support for static atoms, and converting atoms over to UTF8 to reduce bloat - now without performance regressions!
sr=darin, r=dbaron


git-svn-id: svn://10.0.0.236/trunk@140260 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-25 18:55:59 +00:00
timeless%mozdev.org
d6486a04cc Bug 190058 Remove xpcom/tests/TestBuffers.cpp
r=darin sr=darin


git-svn-id: svn://10.0.0.236/trunk@140253 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-25 16:11:01 +00:00
peterlubczynski%netscape.com
8605b8bbb4 Checking in fix to bug 198317 for Roland.Mainz@informatik.med.uni-giessen.de r=cls sr=jag
git-svn-id: svn://10.0.0.236/trunk@140035 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-22 03:39:40 +00:00
alecf%netscape.com
2a83f1b2d9 backout my static atom patch for now until I figure out the performance loss! :(
bug 195262


git-svn-id: svn://10.0.0.236/trunk@139962 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-21 20:13:08 +00:00
alecf%netscape.com
19e7c316b5 oops, and TestPermanentAtoms
git-svn-id: svn://10.0.0.236/trunk@139911 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-21 06:35:14 +00:00
alecf%netscape.com
543edb105e oops, land TestAtoms from the previous patch
git-svn-id: svn://10.0.0.236/trunk@139910 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-21 06:34:23 +00:00
dougt%netscape.com
fed2927b2c 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.


git-svn-id: svn://10.0.0.236/trunk@139480 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-15 01:04:32 +00:00
cls%seawood.org
dac8d1a090 Adding mingw makefile changes.
Bug #134113 r=bryner


git-svn-id: svn://10.0.0.236/trunk@139140 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-08 05:57:15 +00:00
cls%seawood.org
609a196b54 XP code changes required for mingw landing.
Add NS_STDCALL macros for functions that require stdcall declarations.
Add NS_STDCALL_FUNCPROTO macro for stdcall function prototype typedefs.
Bug #134113 r=dougt sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@139083 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-07 06:07:56 +00:00
dbaron%dbaron.org
5eef234bb4 Some compilers insist that AddRef and Release return |nsrefcnt| in order to get along with nsDerivedSafe. Hopefully fixing gcc 2.95 bustage.
git-svn-id: svn://10.0.0.236/trunk@138147 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-22 03:57:32 +00:00
dbaron%dbaron.org
8f60521a45 Remove tests with const template parameters. Should fix bustage on various ports.
git-svn-id: svn://10.0.0.236/trunk@138142 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-22 02:39:40 +00:00
bryner%netscape.com
c44337949a Remove nsIStyleContext (bug 114713), r/sr=dbaron. Changed lots of methods to use nsStyleContext* or already_AddRefed<nsStyleContext> as return values, depending on whether a reference is returned. Turn on nsRefPtr (bug 104346), and change nsDerivedSafe to not declare AddRef and Release explicitly virtual, r=jag, sr=dbaron.
git-svn-id: svn://10.0.0.236/trunk@138129 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-22 00:32:13 +00:00
timeless%mozdev.org
c928db330f This is not part of the build (it doesn't build).
nsIConverterInputStream::Init now requires four parameters instead of three.
To build this test, add uconv necko to requires.


git-svn-id: svn://10.0.0.236/trunk@136835 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-22 08:10:45 +00:00
timeless%mozdev.org
fb2a9303e4 Not part of the build (without these changes it doesn't build).
Fixed the input string variable name in1/in.
CreateACString takes three params not two.
variables living in nsCOMPtrs should not be left alive past xpcom shutdown.


git-svn-id: svn://10.0.0.236/trunk@136831 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-22 07:51:44 +00:00
timeless%mozdev.org
bfb7453f74 This isn't part of the build (without these changes it doesn't build).
"register" is a keyword and wasn't the right name for the variable anyway.
the registrar no longer accepts nsIFileSpec. Converted the caller to nsIFile.


git-svn-id: svn://10.0.0.236/trunk@136822 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-22 06:18:06 +00:00
dbaron%dbaron.org
5706026d0a Replace my work in progress on nsAutoPtr with a new version based on nsCOMPtr. Not part of build. b=104346
git-svn-id: svn://10.0.0.236/trunk@136599 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-18 16:20:26 +00:00
darin%netscape.com
2b1d90b6ed modifications for bug 176919 "async streams" r=dougt,gordon sr=sspitzer a=valeski,asa
git-svn-id: svn://10.0.0.236/trunk@136572 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-18 02:15:14 +00:00
dbaron%dbaron.org
6ed727cbe8 Bug 178643: Remove uses of NS_INIT_ISUPPORTS, since it is no longer needed. r=timeless sr=jag
git-svn-id: svn://10.0.0.236/trunk@136028 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-08 23:19:20 +00:00
dbaron%fas.harvard.edu
ffb8d9cca7 Change my email address from dbaron@fas.harvard.edu to dbaron@dbaron.org. Comment changes only.
git-svn-id: svn://10.0.0.236/trunk@135757 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-01 23:53:20 +00:00
dougt%netscape.com
3ce22699b8 landing 172512. nsEmbedString for component developers and embeders. r=alec, sr=jag/darin, a=asa@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@132196 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-17 23:41:47 +00:00
seawood%netscape.com
f9eb727003 Define WIN32_LEAN_AND_MEAN globally for win32 builds.
Thanks to Stephen Walker <walk84@yahoo.com> for the patch.
Bug #172898 r=cls a=asa


git-svn-id: svn://10.0.0.236/trunk@132136 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-17 06:47:01 +00:00
dougt%netscape.com
820b2ca5fe Not part of build
git-svn-id: svn://10.0.0.236/trunk@131967 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-14 17:41:00 +00:00
dougt%netscape.com
e289284076 166917. Clean up xpcom SDK includes. r=rpotts@netscape.com, sr=alecf@netscape.com, a=rjesup@wgate.com
git-svn-id: svn://10.0.0.236/trunk@129050 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-07 17:13:19 +00:00
seawood%netscape.com
0b3ff474f3 Removing old nmake build makefiles. Bug #158528 r=pavlov
git-svn-id: svn://10.0.0.236/trunk@126975 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-10 07:55:43 +00:00
seawood%netscape.com
5cf2509541 Remove unused defines:
_IMPL_NS_HTML
_IMPL_NS_RDF
_IMPL_NS_WEB
USE_NSREG

Patches for removing above defines contributed by Stephen Walker <walk84@yahoo.com>.
Bug #125118 r=cls sr=bryner
Bug #160397 r=cls sr=bryner
Bug #160628 r=cls
Bug #160451 r=cls sr=bryner

_IMPL_NS_VIEW

Patches for removing above define contributed by Brian Ryner <bryner@netscape.com>
Bug #160416 r=cls


git-svn-id: svn://10.0.0.236/trunk@126619 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-07 06:08:00 +00:00
timeless%mac.com
585baa0803 Bug 155466 clean up test consumers to correctly use NS_ShutdownXPCOM
r=dmose, sr=scc, moa: dougt, dbradley, gagan, harish, akk


git-svn-id: svn://10.0.0.236/trunk@124683 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-04 14:29:25 +00:00
dbaron%fas.harvard.edu
7e821aaa94 Convert handwritten GetIID methods to use NS_DEFINE_STATIC_IID_ACCESSOR and add |const| to GetCID methods so that static |nsID|s are declared as |const|. b=153525 sr=jag r=bryner
git-svn-id: svn://10.0.0.236/trunk@124073 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-26 03:38:55 +00:00
alecf%netscape.com
eb193c5571 fix bug 149102 - stop exporting some old unused methods from XPCOM, and get rid of nsOutputConsoleStream and consumers
also removing FilesTest from the build because its outdated, doesn't test anything useful anymore, and is the last consumer of nsOutputConsoleStream
r=dougt, sr=jag


git-svn-id: svn://10.0.0.236/trunk@123713 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-20 20:35:37 +00:00
neeti%netscape.com
29dc4eb3d1 fix for bug 142629 - [win32 only] recursive copy / move errors are not properly bubbled up, r=dougt, sr=sspitzer
git-svn-id: svn://10.0.0.236/trunk@122684 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-04 18:47:37 +00:00
bryner%netscape.com
58554f257e Fixing mcafee's windows bustage.
git-svn-id: svn://10.0.0.236/trunk@121055 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-08 08:13:32 +00:00