Commit Graph

521 Commits

Author SHA1 Message Date
mkaply%us.ibm.com
566850ccfa #215581
r=mkaply
OS/2 only code to support VACPP Compiled XPCOM stuff in the new GCC build
2003-10-21 22:07:19 +00:00
peter%propagandism.org
c584db0925 Trying to fix bustage. 2003-10-09 16:59:23 +00:00
darin%meer.net
5404cd73d2 fixing win32 bustage 2003-10-06 03:05:40 +00:00
darin%meer.net
1490aa588f fixing win32 bustage 2003-10-06 02:28:17 +00:00
darin%meer.net
6241c3168f fixing win32 bustage 2003-10-06 02:10:51 +00:00
darin%meer.net
77642ae698 fixes bug 210125 "need to be able to AsyncWait for closure only" r=dougt sr=bzbarsky 2003-10-06 01:46:31 +00:00
mkaply%us.ibm.com
e315269a4c #215581
r=mkaply, sr=blizzard (platform specific)
Changes to get GCC 3.2.2 working on OS/2 - this set is OS/2 only changes
2003-09-17 16:00:48 +00:00
bsmedberg%covad.net
0568e675fc Bug 179834. Separate application resources and GRE resources. r=darin sr=dougt 2003-09-13 17:55:56 +00:00
bryner%brianryner.com
06c7c1b2b4 Fix build on gcc 3.4 by removing extra semicolons (bug 218551). r/sr=dbaron, a=brendan. 2003-09-08 00:31:50 +00:00
darin%meer.net
119d4abd75 fix tinderbox orange and thunderbird/firebird initial startup problem... r=dougt a=mkaply 2003-08-15 20:37:32 +00:00
mkaply%us.ibm.com
37d80e2139 #215457
r=dougt, sr=bryner, a=dbaron
Patch v2 - do event queue creation lazily
2003-08-15 13:59:39 +00:00
mkaply%us.ibm.com
100da12054 Bug #215457
r=darin, sr=dougt, a=mkaply
Move creation of event queue before component registration
2003-08-13 20:08:20 +00:00
dougt%meer.net
ed09f93043 Fix for 205023. Adds nsTraceRefcnt stubs that access a global to allow tracing refcnt to work with the GRE/xpcom glue builds. r=dbaron 2003-08-05 05:29:10 +00:00
timeless%mozdev.org
351c79dcc3 Bug 214681 nsDebugImpl is listed as a leak
r=dougt
2003-08-01 14:40:33 +00:00
mkaply%us.ibm.com
1a38ab2d00 rs=leaf
Remove XP_OS2_VACPP from the tree
2003-07-22 18:38:01 +00:00
jaggernaut%netscape.com
2d7ed90a69 Bug 73353: clean up MODULE/REQUIRES story. r=cls, sr=bryner 2003-07-13 22:29:00 +00:00
dougt%meer.net
a856820d8e Enables debug stackcrawl support in GRE builds. b=208098. r=dbaron. 2003-07-07 22:11:36 +00:00
seawood%netscape.com
1a6a612624 Split private xpcom defines into separate header.
Bug #210409 r=dougt
2003-07-03 20:55:23 +00:00
bsmedberg%covad.net
d266401f8a Build bustage from bug 210337, sorry 'bout that. 2003-06-23 21:56:07 +00:00
bsmedberg%covad.net
ea12fb91ed Oops, forgot a file for bug 210337, part 2. 2003-06-23 21:07:29 +00:00
bsmedberg%covad.net
1a9cab373f Bug 210337 - Spring cleaning of unused XPCOM code and callers r/sr=alecf/bz 2003-06-23 20:31:43 +00:00
seawood%netscape.com
97649bab86 Removing old cfm build files. Use the CFM_LAST_RITES tag to resurrect. r=macdev 2003-06-10 21:18:27 +00:00
bsmedberg%covad.net
9ab392b2fb Bug 207399 - minor cleanup to help building on the Intel compiler. r=dougt 2003-06-03 10:52:26 +00:00
blizzard%redhat.com
255d8b5a41 Missed file for checkin for bug #205752. 2003-05-20 18:52:40 +00:00
cls%seawood.org
8b363ed6a2 Change the naming scheme for the mingw libraries to use the following format:
static lib: libfoo.a
import lib: libfoo.dll.a
shared lib: foo.dll
Bug #134113 r=dmose
2003-04-23 00:54:38 +00:00
bryner%netscape.com
5aacded6e8 Use the correct filename for libxpcom on OS X. Bug 202686, r+sr=dougt. 2003-04-20 17:59:47 +00:00
bsmedberg%covad.net
edeed1b17d win32 bustage-fix for bug 200709 2003-04-10 14:01:03 +00:00
bsmedberg%covad.net
2fe15728d7 bug 200709 remove dynamic linking of nsTHashtable and family. r=jkeiser sr=alecf 2003-04-10 13:27:16 +00:00
jkeiser%netscape.com
57a1ab6f5c Templatized hashtable class by bsmedberg@covad.net (bug 180264), r=jkeiser@netscape.com, sr=alecf@netscape.com 2003-04-02 06:53:57 +00:00
dbradley%netscape.com
bfea584f1f Bug 198601 - Moves QI outside of RegisterGenericFactory. r/sr=dougt 2003-03-22 02:04:53 +00:00
mkaply%us.ibm.com
8c2397b9ac #188249
r=dougt
Cleanup Makefiles, OS/2 GCC landing
2003-03-21 22:26:41 +00:00
mkaply%us.ibm.com
5a7615023a #188249
r=dougt
Cleanup Makefiles, OS/2 GCC landing
2003-03-21 22:20:04 +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
rginda%netscape.com
500958a09b bug 170585, Scriptable streams are broken; r=darinf, sr=dougt
add factories so js can create the nsIBinary*Stream objects,
also adds read/writeByteArray functions
2003-03-13 21:23:18 +00:00
cls%seawood.org
040b1e64c2 Remove bogus mingw & win16 ifdefs from plevent.h
Add stub declaration for _mbstr which isn't defined in the current mingw headers but is present in the libs.
Fix GRE definition of XPCOM_DLL for mingw.
Bug #134113 r=dougt
2003-03-12 08:35:57 +00:00
alecf%netscape.com
fe6074f0b4 fix for bug 173601 - nsIStringEnumerator implementation
r=dougt, sr=darin
Yes, this will cause a code size increase.. but it is for some upcoming interface freezes...
2003-03-10 21:09:31 +00:00
bryner%netscape.com
4fa9e2a306 Fix shutdown crash on static builds (bug 196507) by ensuring that ENABLE_STATIC_COMPONENT_LOADER is #define'd when the component manager is created, so that the correct amount of memory is allocated. r=dougt, sr=alecf. 2003-03-10 07:01:49 +00:00
cls%seawood.org
d1479589a2 Adding mingw makefile changes.
Bug #134113 r=bryner
2003-03-08 05:57:15 +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
tor%cs.brown.edu
db50a85d91 Backout of 193442/191415. a=brade,dougt 2003-03-03 21:00:07 +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
dbaron%dbaron.org
4aee1869d9 Remove nsISizeOfHandler and associated SizeOf methods. b=106792 Fixing Windows bustage. 2003-02-22 16:42:43 +00:00
ccarlen%netscape.com
d0a8576aa6 Bug 191882 - We're building (and shipping) libxpcom.bundle though it's unused and contributes a megabyte to footprint on OSX. r=seawood/sr=dougt/a=asa 2003-02-06 14:37:32 +00:00
dougt%netscape.com
a587451a90 xpcom is unable to always load .js component file. r=ssu, sr=alecf, a=rjesup, b=190560 2003-01-28 22:17:58 +00:00
darin%netscape.com
685a7af468 modifications for bug 176919 "async streams" r=dougt,gordon sr=sspitzer a=valeski,asa 2003-01-18 02:15:14 +00:00
dougt%netscape.com
5edb313cb6 even better bundle patch. r=cls 2003-01-15 23:08:01 +00:00
dougt%netscape.com
51baca1888 Pushing the bundle to dist/bin r=cls 2003-01-15 22:56:52 +00:00
dougt%netscape.com
6508e0713e move nsTraceMalloc out of XPCOM. Factory out stackwalking code into new files. 189221 r=chak, 186585 r=blythe sr=dbaron. Most of this patch was contributed by seawood. 2003-01-15 20:40:06 +00:00
bryner%netscape.com
71b5ac7d73 Second try for bug 187732. Post-process component libraries on OS X using nmedit to control which symbols are exported. r=cls. 2003-01-06 07:13:49 +00:00
bryner%netscape.com
ce2428141f Use the linker option to control which symbols are exported for Mach-O builds (only export NSGetModule from component libraries). Bug 187732, r=cls. 2003-01-06 00:40:49 +00:00
seawood%netscape.com
d59257cc5d Add beos & mac classic defines for the gre.conf.
Bug #185681 r=dougt
2003-01-03 01:39:38 +00:00
dougt%netscape.com
7cd70969a2 Adding generic support for the GRE in the xpcom glue. r=chak, sr=darin, b=185681 2003-01-02 23:09:30 +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
seawood%netscape.com
297fae6d63 Create bundle version of libxpcom for OSX GRE builds.
Bug #186599 r=mcafee
2002-12-27 18:58:20 +00:00
dougt%netscape.com
ac32572e8a Fixes XPCOM from using the wrong GRE define tag. r=chak, sr=dveditz, b=185113 2002-12-12 23:48:51 +00:00
timeless%mozdev.org
fe8ebacdbf Bug 174603 Remove nsIEnumerator implementations: ConjoiningEnumerator, UnionEnumerator and IntersectionEnumerator
r=bbaetz sr=bz moa=alecf
2002-11-20 10:27:44 +00:00
dougt%netscape.com
20cb222459 landing 172512. nsEmbedString for component developers and embeders. r=alec, sr=jag/darin, a=asa@mozilla.org 2002-10-17 23:41:47 +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
alecf%netscape.com
9eb5801360 try to fix orange - didn't mean to #if 0 this out 2002-10-08 00:12:37 +00:00
alecf%netscape.com
7bf884fe18 oops, one more part of bug 162115, r=dougt, sr=darin - make sure the new functions are exported by putting them in dlldeps.cpp 2002-10-07 19:11:18 +00:00
alecf%netscape.com
1a6ddca712 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
2002-10-07 19:03:41 +00:00
mkaply%us.ibm.com
7d65676b05 OS/2 orange part two 2002-10-07 03:49:32 +00:00
mkaply%us.ibm.com
2b245d3409 OS/2 orange 2002-10-07 03:47:50 +00:00
dougt%netscape.com
2079b1b881 Backing out nsStringService. 2002-10-04 23:49:23 +00:00
dougt%netscape.com
0cabe78b54 First cut of the nsIStringService. 172512. r=jag, sr=alecf 2002-10-04 22:25:41 +00:00
jkeiser%netscape.com
90f7d0d6fb Add CheapSet, reduce select bloat, make blank options restore correctly (bug 166168), r=rjesup@wgate.com, sr=jst@netscape.com 2002-10-03 03:43:11 +00:00
dougt%netscape.com
4c78893d1b Fixes XPCOM Glue on linux, b=168584, sr=rpotts, r=alec 2002-09-27 13:07:01 +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
77888f84c2 More on XPCOM Glue Is broken on linux. r=rpotts@netscape.com, sr=alecf@netscape.com, b=168584 2002-09-20 22:23:24 +00:00
dougt%netscape.com
fb3a6729a5 fixes a gcc warning about a partially-bracketed initializer. patch by dbaron, r=me, b=168584 2002-09-15 20:59:29 +00:00
dougt%netscape.com
dbdbdb3778 Fixing Unregister method to use the same PR_CALLBACK signature for implementations as were used for function declarations. 2002-09-15 19:55:08 +00:00
seawood%netscape.com
92d5f18935 Use the same PR_CALLBACK signature for funciton implementations as were used for function declarations.
Fixing OS/2 tinderbox bustage.
2002-09-15 02:48:28 +00:00
dougt%netscape.com
b9e75036ca XPCOM Glue Is broken on linux. b=168584, sr=alecf@netscape.com, r=bryner@netscape.com 2002-09-14 17:12:46 +00:00
chak%netscape.com
196cbe728a Fix for #168255 - Change references to MRE into GRE in XPCOM/Embedding
r=dougt, sr=alecf
2002-09-13 22:18:43 +00:00
dougt%netscape.com
508768a403 Adding null checks. patch by timeless, r=me 2002-09-12 19:35:49 +00:00
alecf%netscape.com
1a88abe55c fix bug 124182 - move nsAVLTree into htmlparser, since it is the only consumer
r=harishd, sr=jst
2002-09-12 04:52:01 +00:00
dougt%netscape.com
0cf7a22ec8 Makefile changes 166426 2002-09-03 23:47:42 +00:00
dougt%netscape.com
8113f8a1fc typo 2002-09-03 23:41:27 +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
dougt%netscape.com
cccd5190de Move FROZEN ContractID into nsXPCOM.h and define r=rpotts, sr=alec, b=166426 2002-09-03 23:08:17 +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
chak%netscape.com
c90e682531 Fix for #149208 - NS_InitEmbedding() uncoditionally calls AutoRegister
[When this fix was originally checked in, it broke registration of
components in the MRE dir. This patch fixes it]
r=darin, sr=bryner
2002-08-22 23:04:04 +00:00
dougt%netscape.com
c82b168650 Fixes NS_InitEmbedding unconditionally calls AutoRegister. This also removes xpinstall from using component.reg which I believe is the last users of this file. r=chak,dveditz sr=bryner b=149208 2002-08-12 22:09:25 +00:00
seawood%netscape.com
322da773fb Removing old nmake build makefiles. Bug #158528 r=pavlov 2002-08-10 07:55:43 +00:00
jkeiser%netscape.com
d3557c8810 Add generalized macro-based PLDHashTable C++ wrapper (bug 125849), r=alecf, sr=brendan 2002-08-06 04:15:10 +00:00
bzbarsky%mit.edu
8c15be3831 Doh. There's more bustage in this file. 2002-08-06 01:47:23 +00:00
bzbarsky%mit.edu
604e554a98 fix bustage 2002-08-06 01:32:51 +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
jdunn%netscape.com
d0f11b5ff6 moving extern statement out of function scope to fix bustage
r=dougt@netscape.com
sr=rpotts@netscape.com
a=asa@mozilla.org
# 141359
2002-07-25 14:21:00 +00:00
dougt%netscape.com
102ee4da56 attempting to fix the AIX bustage 2002-07-18 14:38:07 +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
mkaply%us.ibm.com
781c24bc1b Os/2 bustage 2002-07-02 04:26:18 +00:00
dbaron%fas.harvard.edu
5ec1a4fef0 Attempt to fix BeOS bustage. b=148046 2002-07-02 04:07:20 +00:00
dp%netscape.com
e1522de4fb bug 146532 Improving recycling allocator
- Uses freelist
- 1 int overhead to store size
- nsIMemory wrapping
r=dougt, sr=darin
2002-07-01 23:36:03 +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
9effd97abe 151604 - XPCOM Glue standalone stupport of dynamically loading symbols. r=dp/rpotts sr=alecf 2002-06-21 19:58:54 +00:00
dougt%netscape.com
f93a81bfcb Fixes 48888 - xpcom flat file backend. r=dp@netscape.com sr=waterson@netscape.com 2002-06-14 21:33:05 +00:00
dougt%netscape.com
913bbb6f6c Fixes bugs 149745 148918 149715 149730 149754 129959. Cleanup of nsIFile and nsILocalFile interfaces, supporting do_GetInterface in embedding via xcom glue, and general cleanup of shutdown. r=various, sr=shaver@mozilla.org 2002-06-11 19:26:04 +00:00
darin%netscape.com
c517690a2b fix more bustage 2002-06-10 19:47:22 +00:00
darin%netscape.com
55c615c93e fix some bustage 2002-06-10 19:44:07 +00:00
darin%netscape.com
7420d70bf9 fixes bug 147333 "Cannot load local files whose names contain
Japanese/Chinese characters" r=bstell sr=brendan a=asa
2002-06-10 18:50:11 +00:00
dougt%netscape.com
e8cd642c60 Fixes static global initialization order. r=dougt@netscape.com, sr=brendan@mozilla.org, patch by bryner@netscape.com 2002-06-04 14:21:32 +00:00
dougt%netscape.com
a54b6aec9e synchronizing component registration output with xpcom shutdown. b=138667 r=jband sr=shaver 2002-05-11 21:15:06 +00:00
darin%netscape.com
d19c935ff2 fixing WIN32 bustage. 2002-05-07 23:58:57 +00:00
darin%netscape.com
6fd5862e6e fixes bug 142870 "nsIFile should use UCS-2 instead of UTF-8"
r=dougt sr=alecf
2002-05-07 23:07:19 +00:00
darin%netscape.com
e554d83626 fixes bug 129279 "nsIFile unicode/utf8/ascii task"
r=dougt sr=alecf
2002-04-27 05:33:09 +00:00
mkaply%us.ibm.com
ee5fff30d0 #100676
r=pedemont,cls (makefile), sr=alecf, a=shaver
OS/2 only - remove dependency on uconv for filename conversions
2002-04-24 03:47:06 +00:00
dougt%netscape.com
2dbd1edd63 XPCOM initialize primary event queue. 135531. r=brendan@mozilla.org, sr=darin@netscape.com 2002-04-15 22:26:29 +00:00
dbaron%fas.harvard.edu
b1d95bffd8 Relanding pavlov's changes for bug 129953, in pieces. 2002-04-14 03:37:42 +00:00
brade%netscape.com
3a5f38632b backout changes by pavlov (bug 136677) r=cathleen 2002-04-11 18:50:42 +00:00
pavlov%netscape.com
bf162df187 re-landing 129953 2002-04-11 07:55:53 +00:00
pavlov%netscape.com
0f9706f1e1 backing out changes for 129953... 2002-04-11 05:38:55 +00:00
pavlov%netscape.com
ca2a20ef48 bug 129953 r=rjesup sr=rpotts 2002-04-10 04:41:23 +00:00
dougt%netscape.com
40642fc34c 130405. Makes the xpcom glue library usable. Updates XPCOM Samples. Adds requires lines to a few implict string/category consumers sr=alecf, sr=brendan@mozilla.org a=asa@mozilla.org 2002-03-21 23:43:21 +00:00
attinasi%netscape.com
1083adeec4 Attempt to fix linkage bustage cruftage - added nsDoubleHashtableStringSupports to the NeverCalled block. 2002-03-07 22:23:24 +00:00
seawood%netscape.com
0df019b037 This patch:
* Changes MOZ_TRACE_MALLOC ifdefs to NS_TRACE_MALLOC ifdefs
* Links against the trace-malloc utils against libxpcom instead of just xpcomds
* Builds NSPR in debug mode on win32 if trace-malloc is enabled
* Adds a few "defined()" checks to diffbloatdump.pl so that it will work for
perl 5.6.1
* Adds a couple of checks for \r so that diffbloatdump.pl works on win32.

Bug #126915 r=bryner/dbaron a=asa
2002-02-26 09:26:10 +00:00
dougt%netscape.com
874111f277 Adding build SDK support. r=dougt, sr=alecf, submitted by seawood, a=asa 2002-02-25 23:20:01 +00:00
alecf%netscape.com
9e91c782c7 attempt to fix mac bustage while I wait on my mac build 2002-02-19 00:13:29 +00:00
alecf%netscape.com
8c0ab1d965 remove a bunch of dead code, and remove NS_COM from a bunch of concrete classes that weren't being used previously
r=jag, sr=shaver
2002-02-18 22:57:47 +00:00
jkeiser%netscape.com
f495d0cc2a Form submission performance / maintability improvements (bug 120682) r=alexsavulov,r=sicking,sr=jst 2002-02-16 01:19:24 +00:00
alecf%netscape.com
1ce0f534ae bug 63025 - remove nsFileSpecStreaming, as nobody is using it
r=dougt, sr=shaver
2002-02-15 00:19:33 +00:00
sfraser%netscape.com
331a1e6aba Fix crash on exit if NS_InitXPCOM2 failed (happens when running in a read-only dir if no component registry exists). Bug 104954. r=dp, sr=shaver 2002-02-14 03:26:19 +00:00
sfraser%netscape.com
d133d4956f Making the nsModuleComponentInfo data const; bug 74803. r=dp, sr=waterson 2002-01-30 21:14:20 +00:00
dougt%netscape.com
c50ca402ad 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
2002-01-29 21:22:13 +00:00
brendan%mozilla.org
86c9b53122 Fix a warning, clean up whitespace (r=diff -w, sr=gcc). 2002-01-27 23:56:02 +00:00
seawood%netscape.com
39ba085fc5 Fix "static" build support for win32 gmake builds.
Bug #58981 r=bryner
2002-01-25 03:20:51 +00:00
pinkerton%netscape.com
7180e5e8d1 allow --enable-default-toolkit=cocoa in makefiles and default toolkit can now be overridden on platform that don't use X11. r=cls/sr=hyatt. bug#121496 2002-01-24 15:11:18 +00:00
dp%netscape.com
d70f788fac bug 118061 Enabling nsRecyclingAllocator r=dveditz sr=sfraser 2002-01-24 06:48:58 +00:00
ccarlen%netscape.com
e796f5c804 Bug 116435 - The provider in nsAppFileLocationProvider.cpp should always be registered. r=dougt/sr=rpotts/a=dbaron 2002-01-22 23:00:44 +00:00
blythe%netscape.com
65cd19adda Fix bug 107270
Reduce nsCSSDeclaration footprint
r=dbaron, sr=hyatt
2002-01-15 22:43:37 +00:00
rjesup%wgate.com
2e680f1b17 Bug 96108: Inline ElementAt(), add SafeElementAt(), voidarray usage fixes,
assertions for bad voidarray indexes.  r=jst, sr=waterson
2001-12-21 01:10:07 +00:00
dougt%netscape.com
849d297364 nsIComponentManager API Changes (bug 98553)
a) create a new nsIComponentManager with only four functions on it:
CreateInstance CreateInstanceByContractID GetClassInfo GetClassInfoByContractID.

b) rename the old nsIComponentManager to nsIComponentManagerObsolete.

c) fixes callers which use to access the nsIComponentManager for component
registration functionality.  These callers will temporary use the
nsIComponentManagerObsolete interface.

d) Create a new API NS_GetComponentManager() which mirrors the
NS_GetServiceManager()

e) Perserves the old NS_GetGlobalComponentManager().  Note the cast usage.

r/sr = rpotts@netscape.com  alecf@netscape.com  brendan@mozilla.org
2001-12-19 00:12:41 +00:00
pavlov%netscape.com
15273ea50a bug 78611. New XP threadsafe timer implementation. r=dougt sr=brendan 2001-12-16 06:13:17 +00:00
seawood%netscape.com
33ab7a9398 Add win32 support to xpcom Makefile.ins
Bug #58981 r=bryner
2001-12-09 07:05:12 +00:00
dougt%netscape.com
5cca684efc Bug 112262. Move nsMemory into the glue library. sr=rpotts, sr=jband. 2001-12-07 19:54:16 +00:00
blythe%netscape.com
046f20a06d Bug 112953, non debug trace-malloc on win32.
r=dp,sr=brendan
NOT part of normal build.
Change hinges on another change to nsprpub/gmakefile.win that should land
by those in charge of that module shortly.
2001-12-06 02:36:02 +00:00
jband%netscape.com
2396e0c32b fix bug 100187. This is Vidur's patch to expose the interfaceinfomanager as a service accessible via the service manager. r=dbradley sr=jband 2001-11-26 22:31:39 +00:00
timeless%mac.com
51a4520c4a Bugzilla Bug 107823 change nsIFile
to use 'Modified' instead of 'Modification'
r=akkana sr=brendan
2001-11-26 08:05:05 +00:00
darin%netscape.com
66e079e722 enables new scriptable string stream interface (bug 100172) r=dougt, sr=rpotts 2001-11-22 00:08:14 +00:00
seawood%netscape.com
7733357d51 Rename 'install' build phase to 'libs'.
Bug #56601 r=pavlov
2001-11-21 09:49:41 +00:00
jaggernaut%netscape.com
ee4f787321 Clean up REQUIRES lines. r/sr=alecf 2001-11-16 01:54:59 +00:00
seawood%netscape.com
be10c3b1a8 Backing out fix for remote mach-o builds as it left mach-o builds fragile.
Add TK_CFLAGS back to default CFLAGS/CXXFLAGS.
Bug #107696
2001-11-03 03:29:05 +00:00
alecf%netscape.com
4b9ba13776 remove all unicharutil dependencies from xpcom (finally!)
bug 100214, r=jag, sr=scc
2001-11-01 22:40:03 +00:00
seawood%netscape.com
8a2a775382 Since '-framework Carbon' causes binaries to require console access to run, do not link using that flag by default. Otherwise, remote builds & non-console tinderboxes will break. Mac OSX Mach-O only.
Bug #107696 r=mozbot
2001-11-01 00:54:48 +00:00
jband%netscape.com
84bfc894a4 add support for nsIVariant and nsIPropertyBag. bug 44675 and bug 98209. sr=vidur r=dbradley 2001-10-31 23:35:07 +00:00
dbaron%fas.harvard.edu
42e57db25b Removing remnants of warren's s/printf/PRINTF/ landing from the tree. b=94480 r=pavlov sr=darin 2001-10-30 06:49:37 +00:00
dbaron%fas.harvard.edu
83d24ad2c1 Removing remnants of warren's s/printf/PRINTF/ landing from the tree. b=94480 r=pavlov sr=darin 2001-10-30 06:33:52 +00:00
dbaron%fas.harvard.edu
ec204b41e9 Replace static constructor of EmptyEnumeratorImpl with new/delete. b=68092 r=jag sr=waterson 2001-10-30 06:10:21 +00:00
seawood%netscape.com
9b5ae05e33 Landing the rest of the mach-o OSX changes.
Bug #75653 r=cls sr=waterson
2001-10-27 07:38:18 +00:00
neeti%netscape.com
92ed1e6c21 Fix for bug 106585 - crash in XPCOMM.DLL during shutdown when mail-news window was open, r=shaver, sr=dougt 2001-10-25 21:03:35 +00:00
dougt%netscape.com
0a62d4e8d5 99163 - removing nsObserverService.h includes. Also fixing 106090, extra methods on nsObserverService. r=shaver@mozilla.org, sr=jband@netscape.com 2001-10-22 22:01:27 +00:00
dbaron%fas.harvard.edu
2fe76cd2ac Reduce the performance cost of (threadsafely) refcounting many atoms by creating a second implementation of nsIAtom (derived from the first) that does not refcount and gets destroyed at XPCOM shutdown. Normal atoms are converted to permanent ones without loss of pointer identity when a permanent atom is requested and a normal one already exists. b=92141 r=waterson sr=brendan 2001-10-20 23:19:07 +00:00
dougt%netscape.com
d18d7e2b17 nsIObserver and nsIObserverService API freeze. r=rpotts@netscape.com, alecf@netscape.com. bug 99163 2001-10-19 20:52:59 +00:00
dougt%netscape.com
004836dcaf Allows a QI from nsIServiceManager to nsIServiceManagerObsolete. b=105136, r=beard, sr=darin 2001-10-16 23:39:20 +00:00
dougt%netscape.com
a781011df7 Fixing bustage caused yesterday. b=105102, r=neeti 2001-10-16 21:00:39 +00:00
dougt%netscape.com
f82fe2d0e4 fixing bustage caused by last checkin 2001-10-16 04:08:42 +00:00
dougt%netscape.com
4f3a44d63b API Freeze for nsIServiceManager r=shaver@mozilla.org, sr=rpotts@netscape.com bug 99147 2001-10-16 03:35:52 +00:00
seawood%netscape.com
d9d9f677b1 Split part of xpcom into separate xpcomglue library to be used for standalone builds eventually. Start with nsCOMPtr.*
Bug #99698 r=rpotts sr=alecf
2001-09-30 01:44:25 +00:00
seawood%netscape.com
f3a4d95cc8 Old age...that's gotta be it. 2001-09-29 23:38:14 +00:00
gerv%gerv.net
4e12e44b2f Relicensing Round 1, Take 2. Most C-like NPL files -> NPL/GPL/LGPL. Bug 98089. 2001-09-28 20:14:13 +00:00
jaggernaut%netscape.com
d1a7bfa843 One module per line for REQUIRES. r=/sr=alecf 2001-09-18 22:01:13 +00:00
jaggernaut%netscape.com
dc40187223 Bug 73353: splitting the modules on the REQUIRES lines in Makefile.in across multiple lines to more clearly show the changes made. sr=alecf 2001-09-18 13:41:47 +00:00
alecf%netscape.com
62424ee7b2 Final REQUIRES changes for bug 98371, adding support for MOZ_TRACK_MODULE_DEPS to win32. r=cls (and tested by cls!) 2001-09-17 19:06:35 +00:00
dougt%netscape.com
3a71bd783f fixes 98735. r=adamlock, sr=rpotts. Basic problem is that the first argument of NS_InitXPCOM2 was not returning an nsIServiceManager 2001-09-10 04:28:37 +00:00
dougt%netscape.com
f72e52e830 Merge ServiceManager and ComponentManager. Bug 96457. r=dp@netscape.com, sr=wat
erson@netscape.com
2001-09-06 21:13:11 +00:00
alecf%netscape.com
c20ca03a02 dumb
CVS :nd string makefile updates for 98371 r=cls----------------------------------------------------------------------
2001-09-06 03:56:35 +00:00
valeski%netscape.com
93959d48cc r=dbaron, sr=dougt. 97667. nsIInterfaceRequestor is now frozen. nsIInterfaceRequestorUtils.h is now required if you want to use do_GetInterface() for convenience. The two were split because the stuff that is now in nsIInterfaceRequestorUtils.h wasn't ready for freezing. Also, .idl files should just contain interface defs anyway. 2001-09-05 21:28:38 +00:00
waterson%netscape.com
1752115066 Fix more debug-only win32 bustage. 2001-08-30 04:42:01 +00:00
waterson%netscape.com
a1887676c9 Also need to export original NS_NewGenericModule() symbol. 2001-08-30 02:20:48 +00:00
attinasi%netscape.com
0492183efc Trying to fix WIN32 bustage... 2001-08-29 23:51:38 +00:00
brendan%mozilla.org
6d895baf1d Bit checkin for bug 68045, r/sr=waterson&shaver, second attempt. It all works
for me on optimized and debug gcc2.96, rh7.1.

- Better failure codes from nsXULPrototypeScript::Deserialize.

- Call nsXULDocument::AbortFastLoads after nsXULPrototypeScript::Serialize
  failure, instead of just nulling the FastLoad service's output stream.

- Expose nsXULDocument::AbortFastLoads via nsIXULPrototypeCache, for use from
  nsChromeProtocolHandler.cpp.  AbortFastLoads flushes the XUL cache now, for
  good measure.

- The needless "Current" adjective in nsIFastLoadService attribute and method
  names is no more.

- Add a do_GetFastLoadService() helper, to use CID instead of contractid, and
  to let the compiler consolidate the static inline CID.

- Add "nglayout.debug.checksum_xul_fastload_file" pref so people can do without
  the checksum verification step when reading a FastLoad file.

- Verify the FastLoad file checksum, by default.  Also, cache it in the FastLoad
  service so we don't recompute it when re-opening the FastLoad file as mailnews
  and other top-levels start up.  Fill the checksum cache in EndFastLoad, when
  the last pseudo-concurrent top-level finishes loading.

  My hope to compute the checksum while writing the FastLoad file ran afoul of
  misordered writes.  The old code to checksum the in-memory nsFastLoadHeader
  also was broken on little endian platforms.  Now all checksumming is done via
  a separate read pass over the complete file, save for the header's checksum
  field, which is summed as if it contained zero.

- Track and check FastLoad file dependencies.  This required groveling with a
  bunch of Necko interfaces in nsChromeProtocolHandler::NewChannel -- read it
  and weep.  Dependency checking, as well as checksum access and computation,
  use better-factored nsIFastLoad{File,Read,Write}Control interfaces.

- nsBufferedStream::Seek wasn't flushing the buffer when seeking backward
  within the buffer, but it must, because mCursor bounds the amount to write
  if the buffer contains the end of file.

- Add an unbufferedStream readonly attribute to nsIStreamBufferAccess, so we
  don't have to screw around with the bufferying layer when checksumming. Also
  implement nsIStreamBufferAccess in nsBufferedOutputStream.

- nsISeekableOutputStream was bogus, based on a bad state I had put the
  nsBufferedOutputStream code in on its way from being completely broken when
  you seek backwards outside of the buffer.  Removing this interface required
  using nsIFastLoadFileIO in nsFastLoadFileWriter, and it also required careful
  ordering of Close calls (the Reader must close after the Writer or Updater,
  so that the Reader's underlying, unbuffered input stream can be read by
  nsFastLoadFileWriter::Close to compute the checksum.

- Miscellaneous tab/indentation, comment typo, bracing, if( => if ( style,
  nsnull vs. 0, useless variable elimination, tortured control flow,
  AutoString instead of String, and gratuitous ; after nsISupportsUtils.h
  macro call cleanups.
2001-08-21 20:51:34 +00:00
waterson%netscape.com
76c2f631f2 Bug 93100. Change NS_DECL_NSGETMODULE to be table driven so we can get at module ctor & dtor callbacks. Update meta-module and static-module stuff for this change, fix meta-module to not register stuff twice. r=cls,leaf 2001-08-21 01:47:31 +00:00
blizzard%redhat.com
b0f8b91746 Back out brendan's checkin to try and get linux starting up again. 2001-08-17 19:45:11 +00:00
brendan%mozilla.org
b00819c93c - Better failure codes from nsXULPrototypeScript::Deserialize.
- Call nsXULDocument::AbortFastLoads after nsXULPrototypeScript::Serialize
  failure, instead of just nulling the FastLoad service's output stream.

- Expose nsXULDocument::AbortFastLoads via nsIXULPrototypeCache, for use from
  nsChromeProtocolHandler.cpp.  AbortFastLoads flushes the XUL cache now, for
  good measure.

- The needless "Current" adjective in nsIFastLoadService attribute and method
  names is no more.

- Add a do_GetFastLoadService() helper, to use CID instead of contractid, and
  to let the compiler consolidate the static inline CID.

- Add "nglayout.debug.checksum_xul_fastload_file" pref so people can do without
  the checksum verification step when reading a FastLoad file.

- Verify the FastLoad file checksum, by default.  Also, cache it in the FastLoad
  service so we don't recompute it when re-opening the FastLoad file as mailnews
  and other top-levels start up.  Fill the checksum cache in EndFastLoad, when
  the last pseudo-concurrent top-level finishes loading.

  My hope to compute the checksum while writing the FastLoad file ran afoul of
  misordered writes.  The old code to checksum the in-memory nsFastLoadHeader
  also was broken on little endian platforms.  Now all checksumming is done via
  a separate read pass over the complete file, save for the header's checksum
  field, which is summed as if it contained zero.

- Track and check FastLoad file dependencies.  This required groveling with a
  bunch of Necko interfaces in nsChromeProtocolHandler::NewChannel -- read it
  and weep.  Dependency checking, as well as checksum access and computation,
  use better-factored nsIFastLoad{File,Read,Write}Control interfaces.

- nsBufferedStream::Seek wasn't flushing the buffer when seeking backward
  within the buffer, but it must, because mCursor bounds the amount to write
  if the buffer contains the end of file.

- Add an unbufferedStream readonly attribute to nsIStreamBufferAccess, so we
  don't have to screw around with the bufferying layer when checksumming. Also
  implement nsIStreamBufferAccess in nsBufferedOutputStream.

- nsISeekableOutputStream was bogus, based on a bad state I had put the
  nsBufferedOutputStream code in on its way from being completely broken when
  you seek backwards outside of the buffer.  Removing this interface required
  using nsIFastLoadFileIO in nsFastLoadFileWriter, and it also required careful
  ordering of Close calls (the Writer or Updater must close after the Reader,
  so that the Reader's underlying, unbuffered input stream can be read by
  nsFastLoadFileWriter::Close to compute the checksum.

- Miscellaneous tab/indentation, comment typo, bracing, if( => if ( style,
  nsnull vs. 0, useless variable elimination, tortured control flow,
  AutoString instead of String, and gratuitous ; after nsISupportsUtils.h
  macro call cleanups.
2001-08-17 09:52:55 +00:00
cathleen%netscape.com
be72d98064 enable MOZ_TIMELINE tool, bug 78793, r=rogc, sr=waterson 2001-08-17 02:03:34 +00:00
waterson%netscape.com
9abf7984af Bug 71248. Convert content, layout, parser, and uconv to generic modules so that they can be linked into a meta-module. r=cathleen, sr=brendan 2001-08-07 02:55:54 +00:00
brendan%mozilla.org
dbd7fed5b1 FASTLOAD_20010703_BRANCH landing, r=dbaron, sr=shaver. 2001-07-31 19:05:34 +00:00
jaggernaut%netscape.com
e91f8a147e Bug 86734: Remove NS_WITH_SERVICE. r=dbaron, rs=scc, a=asa 2001-07-25 07:54:28 +00:00
jaggernaut%netscape.com
cb0faab070 Bug 73353: clean up the REQUIRES lines in Makefiles. 2001-07-23 22:36:12 +00:00
jaggernaut%netscape.com
e793e569e6 Add "caps" to REQUIRES to fix Senna bustage. 2001-07-11 13:45:34 +00:00
jaggernaut%netscape.com
5a6317b8a5 Bug 88413: Remove |GetUnicode()| from nsString (and replace it with |get()|). r=dbaron, rs=scc.
This removes all call-sites I can currently fix. Tomorrow I'll try to get someone to checkin my changes to security/ and I'll get some help with the Netscape side of things.

nsString::GetUnicode()'s final death-blow will be dealt soon. Please keep this in mind as you add new code :-)
2001-06-30 11:02:25 +00:00
waterson%netscape.com
b74d6e1c8b Land STATIC_BUILD_20010612_BRANCH, which supports building mozilla with components statically linked into the executable, as well as 'meta modules' that combine components into uber-DLLs. 2001-06-20 20:21:49 +00:00
cls%seawood.org
bf5fb48486 Replaced NO_SHARED_LIB & NO_STATIC_LIB with BUILD_SHARED_LIBS, BUILD_STATIC_LIBS, FORCE_STATIC_LIB & FORCE_SHARED_LIB. Added FORCE_USE_PIC.
Changes allow us to have a finer control over which parts of the tree are built with PIC.  Part of the static build branch landing.
Bug #46775 r=mcafee a=leaf
2001-06-18 22:10:38 +00:00
scc%mozilla.org
a8fb409c6e bug #85271: sr=waterson, r={beard, jag, dbaron}, a=asa. Eliminate features of |nsXPIDLC?String| that keep it out of the string hierarchy (i.e., using assigment to rebind ownership, static |Copy| members, and |getter_Shares|), fixing some leaks in the process. 2001-06-17 05:23:38 +00:00
jband%netscape.com
ddd9b3d3d8 bug 54471. Increase the xptcall stubs entry point count to almost 256. This increases the number of methods that can be implmented on a JS object via xpconnect, or on an xpcom/proxy object, or via PyXPCOM. There are platform limitations that would need to worked out to go higher. Also higher counts start getting into a zone where we should be wisely weighing the memory cost. r=markh@activestate.com sr=shaver@mozilla.org 2001-05-19 00:03:01 +00:00
jst%netscape.com
ea706038cf Landing the XPCDOM_20010329_BRANCH branch, changes mostly done by jband@netscape.com and jst@netscape.com, also some changes done by shaver@mozilla.org, peterv@netscape.com and markh@activestate.com. r= and sr= by vidur@netscape.com, jband@netscape.com, jst@netscpae.com, danm@netscape.com, hyatt@netscape.com, shaver@mozilla.org, dbradley@netscape.com, rpotts@netscape.com. 2001-05-08 17:42:36 +00:00
cls%seawood.org
00f28396a9 Set EXPORT_LIBRARY=1 in all pertinent Makefile.ins. Allows us to build the final link list as we traverse the tree. Bug #46775 2001-04-28 19:48:12 +00:00
danm%netscape.com
fadf045313 oops. forgot InterfacePointer constructor. see ds/nsSupportsPrimitives.cpp rev 3.16. bug 70534 2001-04-11 00:10:39 +00:00
dprice%netscape.com
8c0b9eaf97 65845 - new order files 2001-04-05 06:02:32 +00:00
dprice%netscape.com
edb387e49c 71057 sr=waterson new order files. NOT PART OF THE REGULAR BUILD 2001-03-13 10:47:37 +00:00
shaver%mozilla.org
fcf7cd0d9f 67699: all your nsIClassInfo is belong to us
- teach nsGenericFactory about nsIClassInfo, and nsIClassInfo.idl to the
  builds
- add a heaping serving of macro love for classes that want to support it
- convert many modules to use nsGenericModule the new way
- handful of warning and modeline fixes
- nsSample and some XPConnect test classes now have nsIClassInfo support for
  testing
2001-03-12 20:43:02 +00:00
varga%utcru.sk
e65f901ee2 Fix obj dir build with --enable-lea
r=kandrot sr=waterson
2001-03-10 19:32:34 +00:00
dougt%netscape.com
d159a31b21 Making nsInputStreamTee build on windows. r=darin, sr=gagan 2001-03-06 20:29:20 +00:00
sfraser%netscape.com
8ee9e073f5 Fix bug 69729, nsIObserverList had bogus params. Also make it possible to CreateInstance one. r=jag, sr=alecf. 2001-03-03 01:24:36 +00:00
dprice%netscape.com
199c935b04 # 65845 sr=waterson, new order files will greatly reduce the number of link warnings. 2001-02-27 04:38:19 +00:00
disttsc%bart.nl
a6f2f5861a Mass REQUIRES update to synch up with string lib and xul changes in an attempt to fix senna bustage. r=jst, sr=cls 2001-02-22 09:35:51 +00:00
scc%mozilla.org
3fc413f7cc bug #59429: xpcom gets string code from mozilla/string instead of locally 2001-02-21 14:05:29 +00:00
dougt%netscape.com
9f30e23c85 Fixes small memleaks. bug 53931. r=ccarlen@netscape.com, a=waterson@netscape.com 2001-02-19 03:09:57 +00:00
dprice%netscape.com
997fb091c7 65845 first cut of the order files 2001-02-13 02:48:02 +00:00
kandrot%netscape.com
47f98a24fe r=waterson sr=cls
Adding a newer version of the libc malloc.c from the author.  It is
 compiled switched in via --enable-lea.
2001-02-06 04:52:19 +00:00