345 Commits

Author SHA1 Message Date
bryner%netscape.com
4bee2e1153 Use the correct filename for libxpcom on OS X. Bug 202686, r+sr=dougt.
git-svn-id: svn://10.0.0.236/trunk@141475 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-20 17:59:47 +00:00
bsmedberg%covad.net
2c502145aa win32 bustage-fix for bug 200709
git-svn-id: svn://10.0.0.236/trunk@140970 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-10 14:01:03 +00:00
bsmedberg%covad.net
2151b43815 bug 200709 remove dynamic linking of nsTHashtable and family. r=jkeiser sr=alecf
git-svn-id: svn://10.0.0.236/trunk@140969 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-10 13:27:16 +00:00
jkeiser%netscape.com
3358821b5e Templatized hashtable class by bsmedberg@covad.net (bug 180264), r=jkeiser@netscape.com, sr=alecf@netscape.com
git-svn-id: svn://10.0.0.236/trunk@140570 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-02 06:53:57 +00:00
dbradley%netscape.com
08bf31df04 Bug 198601 - Moves QI outside of RegisterGenericFactory. r/sr=dougt
git-svn-id: svn://10.0.0.236/trunk@140015 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-22 02:04:53 +00:00
mkaply%us.ibm.com
c4dd287ca5 #188249
r=dougt
Cleanup Makefiles, OS/2 GCC landing


git-svn-id: svn://10.0.0.236/trunk@139989 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-21 22:26:41 +00:00
mkaply%us.ibm.com
aabb5e047a #188249
r=dougt
Cleanup Makefiles, OS/2 GCC landing


git-svn-id: svn://10.0.0.236/trunk@139988 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-21 22:20:04 +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
rginda%netscape.com
8f40c15175 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


git-svn-id: svn://10.0.0.236/trunk@139398 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-13 21:23:18 +00:00
cls%seawood.org
7eb198d87a 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


git-svn-id: svn://10.0.0.236/trunk@139321 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-12 08:35:57 +00:00
alecf%netscape.com
816d774685 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...


git-svn-id: svn://10.0.0.236/trunk@139219 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-10 21:09:31 +00:00
bryner%netscape.com
30008432cf 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.
git-svn-id: svn://10.0.0.236/trunk@139187 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-10 07:01:49 +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
dougt%netscape.com
265d430432 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.
git-svn-id: svn://10.0.0.236/trunk@138914 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-05 03:22:12 +00:00
tor%cs.brown.edu
c4dd047dc5 Backout of 193442/191415. a=brade,dougt
git-svn-id: svn://10.0.0.236/trunk@138808 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-03 21:00:07 +00:00
dougt%netscape.com
555ccf142c 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.
git-svn-id: svn://10.0.0.236/trunk@138725 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-28 21:30:35 +00:00
dbaron%dbaron.org
c19684af5d Remove nsISizeOfHandler and associated SizeOf methods. b=106792 Fixing Windows bustage.
git-svn-id: svn://10.0.0.236/trunk@138202 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-22 16:42:43 +00:00
ccarlen%netscape.com
237e1f2a00 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
git-svn-id: svn://10.0.0.236/trunk@137478 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-06 14:37:32 +00:00
dougt%netscape.com
aec466b50d xpcom is unable to always load .js component file. r=ssu, sr=alecf, a=rjesup, b=190560
git-svn-id: svn://10.0.0.236/trunk@137043 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-28 22:17:58 +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
dougt%netscape.com
204db99f5e even better bundle patch. r=cls
git-svn-id: svn://10.0.0.236/trunk@136383 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-15 23:08:01 +00:00
dougt%netscape.com
c6531907c3 Pushing the bundle to dist/bin r=cls
git-svn-id: svn://10.0.0.236/trunk@136382 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-15 22:56:52 +00:00
dougt%netscape.com
a2a82fab36 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.
git-svn-id: svn://10.0.0.236/trunk@136371 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-15 20:40:06 +00:00
bryner%netscape.com
e7a6c171fe Second try for bug 187732. Post-process component libraries on OS X using nmedit to control which symbols are exported. r=cls.
git-svn-id: svn://10.0.0.236/trunk@135875 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-06 07:13:49 +00:00
bryner%netscape.com
6f2ab9f4c5 Use the linker option to control which symbols are exported for Mach-O builds (only export NSGetModule from component libraries). Bug 187732, r=cls.
git-svn-id: svn://10.0.0.236/trunk@135865 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-06 00:40:49 +00:00
seawood%netscape.com
343f225096 Add beos & mac classic defines for the gre.conf.
Bug #185681 r=dougt


git-svn-id: svn://10.0.0.236/trunk@135806 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-03 01:39:38 +00:00
dougt%netscape.com
e6cf660ddf Adding generic support for the GRE in the xpcom glue. r=chak, sr=darin, b=185681
git-svn-id: svn://10.0.0.236/trunk@135798 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-02 23:09:30 +00:00
seawood%netscape.com
f8f86e7f05 Start installing GRE libraries & components into a separate dist/gre directory as part of the default build.
Bug #186241 r=dougt


git-svn-id: svn://10.0.0.236/trunk@135661 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-28 01:15:07 +00:00
seawood%netscape.com
2ce655c9b5 Create bundle version of libxpcom for OSX GRE builds.
Bug #186599 r=mcafee


git-svn-id: svn://10.0.0.236/trunk@135658 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-27 18:58:20 +00:00
dougt%netscape.com
8758c7ee75 Fixes XPCOM from using the wrong GRE define tag. r=chak, sr=dveditz, b=185113
git-svn-id: svn://10.0.0.236/trunk@135198 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-12 23:48:51 +00:00
timeless%mozdev.org
e9c5d539b4 Bug 174603 Remove nsIEnumerator implementations: ConjoiningEnumerator, UnionEnumerator and IntersectionEnumerator
r=bbaetz sr=bz moa=alecf


git-svn-id: svn://10.0.0.236/trunk@134186 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-20 10:27:44 +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
alecf%netscape.com
1c1304e5e9 try to fix orange - didn't mean to #if 0 this out
git-svn-id: svn://10.0.0.236/trunk@131341 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-08 00:12:37 +00:00
alecf%netscape.com
6d9b9e292e oops, one more part of bug 162115, r=dougt, sr=darin - make sure the new functions are exported by putting them in dlldeps.cpp
git-svn-id: svn://10.0.0.236/trunk@131316 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-07 19:11:18 +00:00
alecf%netscape.com
36dda6d759 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


git-svn-id: svn://10.0.0.236/trunk@131314 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-07 19:03:41 +00:00
mkaply%us.ibm.com
c57f6ea8b9 OS/2 orange part two
git-svn-id: svn://10.0.0.236/trunk@131286 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-07 03:49:32 +00:00
mkaply%us.ibm.com
08fbb986c7 OS/2 orange
git-svn-id: svn://10.0.0.236/trunk@131285 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-07 03:47:50 +00:00
dougt%netscape.com
0aa63891b6 Backing out nsStringService.
git-svn-id: svn://10.0.0.236/trunk@131201 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-04 23:49:23 +00:00
dougt%netscape.com
686f5cf33f First cut of the nsIStringService. 172512. r=jag, sr=alecf
git-svn-id: svn://10.0.0.236/trunk@131183 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-04 22:25:41 +00:00
jkeiser%netscape.com
b742025df3 Add CheapSet, reduce select bloat, make blank options restore correctly (bug 166168), r=rjesup@wgate.com, sr=jst@netscape.com
git-svn-id: svn://10.0.0.236/trunk@131052 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-03 03:43:11 +00:00
dougt%netscape.com
77abf83626 Fixes XPCOM Glue on linux, b=168584, sr=rpotts, r=alec
git-svn-id: svn://10.0.0.236/trunk@130583 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-27 13:07:01 +00:00
dougt%netscape.com
1cae55c238 170369 - autoload xpcom components. r=dveditz@netscape.com, sr=rpotts@netscape.com
git-svn-id: svn://10.0.0.236/trunk@130292 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-23 21:46:25 +00:00
dougt%netscape.com
d3e4775ae9 More on XPCOM Glue Is broken on linux. r=rpotts@netscape.com, sr=alecf@netscape.com, b=168584
git-svn-id: svn://10.0.0.236/trunk@130180 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-20 22:23:24 +00:00
dougt%netscape.com
6fe1c2b00b fixes a gcc warning about a partially-bracketed initializer. patch by dbaron, r=me, b=168584
git-svn-id: svn://10.0.0.236/trunk@129661 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-15 20:59:29 +00:00
dougt%netscape.com
b039687b70 Fixing Unregister method to use the same PR_CALLBACK signature for implementations as were used for function declarations.
git-svn-id: svn://10.0.0.236/trunk@129659 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-15 19:55:08 +00:00
seawood%netscape.com
8527d8b5c4 Use the same PR_CALLBACK signature for funciton implementations as were used for function declarations.
Fixing OS/2 tinderbox bustage.


git-svn-id: svn://10.0.0.236/trunk@129633 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-15 02:48:28 +00:00
dougt%netscape.com
add17b8f38 XPCOM Glue Is broken on linux. b=168584, sr=alecf@netscape.com, r=bryner@netscape.com
git-svn-id: svn://10.0.0.236/trunk@129615 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-14 17:12:46 +00:00
chak%netscape.com
98ed7836a1 Fix for #168255 - Change references to MRE into GRE in XPCOM/Embedding
r=dougt, sr=alecf


git-svn-id: svn://10.0.0.236/trunk@129568 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-13 22:18:43 +00:00
dougt%netscape.com
f90dcabeab Adding null checks. patch by timeless, r=me
git-svn-id: svn://10.0.0.236/trunk@129390 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-12 19:35:49 +00:00