Commit Graph

656 Commits

Author SHA1 Message Date
dougt%netscape.com
59e5eb0421 Removing dead code. b=198023, r=darin, sr=dbaron 2003-03-18 20:34:19 +00:00
dougt%netscape.com
0d2808c511 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.
2003-03-15 01:04:32 +00:00
alecf%netscape.com
8e11ceab33 fix for bug 196210, component manager is malloc-happy:
- use custom non-allocating CID formatter when writing out compreg.dat
- arena allocate category names and keys
- pass around string lengths so we don't keep calling strlen
r=dougt
2003-03-14 05:07:24 +00:00
dougt%netscape.com
2ccd3b4f03 Adding debug support to detect reentrant create instance patterns, r+sr=alecf@netscape.com, b=194568 2003-03-12 03:58:33 +00:00
dougt%netscape.com
a4c7c7573f Converting the file location of the component registry and the xpti manifest file to use the directory service. r=darin, b=191055 2003-03-11 21:36:59 +00:00
cls%seawood.org
d1079607df 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
2003-03-07 06:07:56 +00:00
dougt%netscape.com
939bb1e75c relanding. Add experimental support to the native component loader so that native components can declare what libraries it depends on. (193442)Fixed a bug where we didn't check return from GetLastModification in nsDll::HasChanged. Thank you ajschult@eos.ncsu.edu for pointing out the problem and suggesting a fix. Converted a linear search of compreg entries to be a hash lookup. Also cleaned up the xcdll class. Reviewers= Alec, Darin. 2003-03-05 03:22:12 +00:00
dougt%netscape.com
25b0a81f34 not part of build, yet 2003-03-04 00:35:27 +00:00
tor%cs.brown.edu
db50a85d91 Backout of 193442/191415. a=brade,dougt 2003-03-03 21:00:07 +00:00
brade%netscape.com
95f4289849 change ifdefs per cathleen, sfraser, bryner (bug 195654) 2003-03-03 19:06:31 +00:00
dougt%netscape.com
41a7079693 backing out last change - using linear list does not change the start up time. 2003-03-03 03:26:02 +00:00
dougt%netscape.com
2fbb3eb669 Reverting mAutoRegEntries hashtable change. I believe it was responsible for the bulk of the 200ms spike. b=195494. 2003-03-03 01:19:58 +00:00
dougt%netscape.com
dccf8bcbee Add experimental support to the native component loader so that native components can declare what libraries it depends on. (193442) Storing the GRE location in a relative way so that we can change GRE versions between launches assuming that they are compatible (191415). Fixed a bug where we didn't check return from GetLastModification in nsDll::HasChanged. Thank you ajschult@eos.ncsu.edu for pointing out the problem and suggesting a fix. Converted a linear search of compreg entries to be a hash lookup. Also cleaned up the xcdll class. Reviewers= Alec, Darin. 2003-02-28 21:30:35 +00:00
dougt%netscape.com
1953de132a xpcom is unable to always load .js component file. r=ssu, sr=alecf, a=rjesup, b=190560 build/nsXPComInit.cpp 2003-01-28 22:07:53 +00:00
dbaron%dbaron.org
8de25b9b7f Fix leak in AutoRegisterComponent. b=189811 r=dougt sr=bzbarsky a=asa 2003-01-28 01:42:56 +00:00
bryner%netscape.com
7bc3c2d0c1 remove unused xcDllStore (bug 187876). r=dougt, rs=brendan. 2003-01-13 06:08:00 +00:00
dbaron%dbaron.org
b9083989bb Bug 178643: Remove uses of NS_INIT_ISUPPORTS, since it is no longer needed. r=timeless sr=jag 2003-01-08 23:19:20 +00:00
seawood%netscape.com
16e7da2837 nobrainer changes while thinking about mingw support
Bug #134113 r=dmose
2003-01-03 08:58:59 +00:00
seawood%netscape.com
d5efcdfb6d Start installing GRE libraries & components into a separate dist/gre directory as part of the default build.
Bug #186241 r=dougt
2002-12-28 01:15:07 +00:00
dougt%netscape.com
19f33d7732 adding better comments to idl per newsgroup comment 2002-12-17 19:11:59 +00:00
dougt%netscape.com
9b6c970217 Fixes loss of category information when using regxpcom, r=darin, sr=alec, b=182771 2002-12-03 23:17:03 +00:00
sicking%bigfoot.com
8d87d5e285 Bug 8929: Kill NS_COMFALSE
r=peterv sr=bz
2002-11-25 11:21:22 +00:00
dougt%netscape.com
041c5805c3 Autoreg is posting a failure for regxpcom of xpcom component. sr=alecf@netscape.com, r=dveditz@netscape.com, b=180821 2002-11-21 02:36:50 +00:00
mkaply%us.ibm.com
f08b4d097c #179508
r=cls, sr=alecf
Get OS/2 static build working again
2002-11-14 19:02:05 +00:00
alecf%netscape.com
de2d41b288 fix for bug 173291 - use nsISimpleEnumerator for nsHashtableEnumerator, rather than nsIEnumerator
r=dougt, sr=jag
2002-11-13 22:40:10 +00:00
dougt%netscape.com
8b8ebdf639 fix to make unregistering a category work. r=rginda, sr=dveditz, b=177176 m a=robert@ocallahan.org 2002-10-30 00:57:40 +00:00
seawood%netscape.com
57e08a3f3a 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
2002-10-17 06:47:01 +00:00
timeless%mac.com
09fcb732df Bug 172131 FMM, Comments which suggest the wrong (De)Allocator, and Style
r=dougt sr=darin
2002-10-08 06:12:00 +00:00
timeless%mac.com
8562139c08 Bug 172416 Consistency for nsComponentManager.cpp
r=dbradley, sr=scc
2002-10-05 23:59:57 +00:00
dougt%netscape.com
1fc52e1325 170369 - autoload xpcom components. r=dveditz@netscape.com, sr=rpotts@netscape.com 2002-09-23 21:46:25 +00:00
dougt%netscape.com
91b877ae7e Freeze nsICategoryManager. b=154047 r=alecf@netscape.com, sr=rpotts@netscape.com 2002-09-14 17:14:02 +00:00
dougt%netscape.com
3c31766ec0 Moves nsIComponentRegistrar into the SDK. r=darin, sr=alecf, a=asa, b=167577 2002-09-09 21:35:25 +00:00
dougt%netscape.com
68faeb5241 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
dougt%netscape.com
f2a00efc93 Move FROZEN ContractID into nsXPCOM.h and define r=rpotts, sr=alec, b=166426 2002-09-03 23:36:13 +00:00
jkeiser%netscape.com
32844f7719 Make anonymous content inaccessible to web content (bug 164086), r=sicking@bigfoot.com, sr=jst@netscape.com 2002-08-29 04:05:39 +00:00
bbaetz%student.usyd.edu.au
e1742b6500 Backing out jkeiser's checkin for bug 164086 (not bug 96537) because he
left a file out, and the tree turned red....
2002-08-28 10:13:28 +00:00
jkeiser%netscape.com
8aa6968431 Make anonymous content inaccessible to web content (bug 96537), r=sicking@bigfoot.com, sr=jst@netscape.com 2002-08-28 08:19:43 +00:00
alecf%netscape.com
94704f6773 fix for bug 164577 - make the nsManifestLineReader include lengths from ParseLine() so that consumers can avoid calling strlen() on them
(tiny startup perf fix for reading in xpti.dat)
r=dougt, sr=darin
2002-08-27 18:32:12 +00:00
alecf%netscape.com
dc6d6e3736 bug 157624 - freeze nsISupportsPrimitives, which includes changing nsISupport[C]String over to using A[C]String and fixing consumers
r=dougt, sr=darin
2002-08-26 21:20:34 +00:00
dougt%netscape.com
4f8934ad1d Freezes the nsIProperties interface. 162114. r=ccarlen, sr=alecf. Freezes the mozIJSSubScriptLoader interface. 157136. r=rginda, sr=alec. 2002-08-26 20:36:44 +00:00
bryner%netscape.com
fd98e0941c Missed one instance of <new.h> for bug 155852. r=cls. 2002-08-19 05:19:22 +00:00
seawood%netscape.com
67c2c5b3c0 Removing unused defines:
_IMPL_NS_BASE (bug #162142)
_IMPL_NS_GFXONXP (bug #162145)
_IMPL_NS_UI (bug #162183)
B_ONE_M (bug #162196)
XP_NEW_SELECTION (bug #162230)
r=cls
Thanks to Stephen Walker <walk84@yahoo.com> for the patches.
2002-08-12 13:35:18 +00:00
seawood%netscape.com
322da773fb Removing old nmake build makefiles. Bug #158528 r=pavlov 2002-08-10 07:55:43 +00:00
alecf%netscape.com
f7ad4265ef bug 157624 - prep for freezing nsISupports* primitives by renaming the string classes appropriately
nsISupportsString  -> nsISupportsCString
nsISupportsWString -> nsISupportsString
r=dougt, sr=jag
2002-08-06 00:53:19 +00:00
bryner%netscape.com
d0cfcc1da2 Remove obsolete NS_BASE and _IMPL_NS_BASE, and unused/obsolete source files nsStdFileStream.* (bug 160052). r=cls, sr=alecf, a=asa. 2002-07-30 21:30:05 +00:00
dougt%netscape.com
0868d2b66c compreg.tmp is written out on every startup. r=rjc, sr=alec, a=scc 2002-07-19 21:12:04 +00:00
dougt%netscape.com
c2ec17237f Fixes the following:
154047
This change cleans up the category manager in hopes to freeze it for 1.1 final.  This change removes dead and unsupported methods from the interface as well as removes the C++ code from the interface.  This should land for 1.1b since users of the current category manager will have to update their components.

157597
Make embedding base and examples use XPCOM Glue
This change makes our embedding samples use the XPCOM glue.

157625
nsLocalFile::Remove's file pointer is sometimes null afte...
This fixes a crash when we dereference null.  It is a bandaide fix as the real problems involves retooling the directory enumerator.

157801
This fixes a terrible state which you can get into whereby XPCOM will fail to startup regardless of what you do.  The fix is to cause autoreg to happen if the component registry (compreg.dat) is not found.

r/sr=alecf@netscape.com, rpotts@netscape.com.  a=scc@mozilla.org
2002-07-18 05:09:10 +00:00
dougt%netscape.com
c327e1c6c3 More XPCOM Glue changes and fixes. r=waterson, sr=rpotts, 154262. 2002-07-01 20:37:17 +00:00
dougt%netscape.com
c213112dac Fixing Mismatched new [] / delete []. r=me. bug=153584. patch from pj@ludd.luth.se. 2002-06-22 19:03:11 +00:00
dougt%netscape.com
9effd97abe 151604 - XPCOM Glue standalone stupport of dynamically loading symbols. r=dp/rpotts sr=alecf 2002-06-21 19:58:54 +00:00