88 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
alecf%netscape.com
f222dfaf57 fix bug 124182 - move nsAVLTree into htmlparser, since it is the only consumer
r=harishd, sr=jst


git-svn-id: svn://10.0.0.236/trunk@129311 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-12 04:52:01 +00:00
jkeiser%netscape.com
7bdfb971a7 Add generalized macro-based PLDHashTable C++ wrapper (bug 125849), r=alecf, sr=brendan
git-svn-id: svn://10.0.0.236/trunk@126427 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-06 04:15:10 +00:00
darin%netscape.com
db9e45aa23 fixing WIN32 bustage.
git-svn-id: svn://10.0.0.236/trunk@121020 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-07 23:58:57 +00:00
darin%netscape.com
824def02af fixes bug 129279 "nsIFile unicode/utf8/ascii task"
r=dougt sr=alecf


git-svn-id: svn://10.0.0.236/trunk@120092 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-27 05:33:09 +00:00
attinasi%netscape.com
9f7d11a019 Attempt to fix linkage bustage cruftage - added nsDoubleHashtableStringSupports to the NeverCalled block.
git-svn-id: svn://10.0.0.236/trunk@116096 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-07 22:23:24 +00:00
alecf%netscape.com
0f776c56ca attempt to fix mac bustage while I wait on my mac build
git-svn-id: svn://10.0.0.236/trunk@114851 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-19 00:13:29 +00:00
alecf%netscape.com
057eaef9e2 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


git-svn-id: svn://10.0.0.236/trunk@114820 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-18 22:57:47 +00:00
alecf%netscape.com
010ad5486d bug 63025 - remove nsFileSpecStreaming, as nobody is using it
r=dougt, sr=shaver


git-svn-id: svn://10.0.0.236/trunk@114548 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-15 00:19:33 +00:00
dp%netscape.com
447c430e80 bug 118061 Enabling nsRecyclingAllocator r=dveditz sr=sfraser
git-svn-id: svn://10.0.0.236/trunk@112668 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-24 06:48:58 +00:00
blythe%netscape.com
8f002dba27 Fix bug 107270
Reduce nsCSSDeclaration footprint
r=dbaron, sr=hyatt


git-svn-id: svn://10.0.0.236/trunk@112202 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-15 22:43:37 +00:00
rjesup%wgate.com
15d98882e8 Bug 96108: Inline ElementAt(), add SafeElementAt(), voidarray usage fixes,
assertions for bad voidarray indexes.  r=jst, sr=waterson


git-svn-id: svn://10.0.0.236/trunk@110938 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-21 01:10:07 +00:00
jband%netscape.com
57fc23094c add support for nsIVariant and nsIPropertyBag. bug 44675 and bug 98209. sr=vidur r=dbradley
git-svn-id: svn://10.0.0.236/trunk@106867 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-31 23:35:07 +00:00
dbaron%fas.harvard.edu
8497468430 Removing remnants of warren's s/printf/PRINTF/ landing from the tree. b=94480 r=pavlov sr=darin
git-svn-id: svn://10.0.0.236/trunk@106664 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-30 06:49:37 +00:00
gerv%gerv.net
13afb6d0f9 Relicensing Round 1, Take 2. Most C-like NPL files -> NPL/GPL/LGPL. Bug 98089.
git-svn-id: svn://10.0.0.236/trunk@104119 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-28 20:14:13 +00:00
valeski%netscape.com
8db35965a8 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.
git-svn-id: svn://10.0.0.236/trunk@102327 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-05 21:28:38 +00:00
waterson%netscape.com
245ff246c0 Fix more debug-only win32 bustage.
git-svn-id: svn://10.0.0.236/trunk@102015 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-30 04:42:01 +00:00
waterson%netscape.com
536ed37947 Also need to export original NS_NewGenericModule() symbol.
git-svn-id: svn://10.0.0.236/trunk@102003 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-30 02:20:48 +00:00
attinasi%netscape.com
7b0e78aec3 Trying to fix WIN32 bustage...
git-svn-id: svn://10.0.0.236/trunk@101990 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-29 23:51:38 +00:00
waterson%netscape.com
a54036173e 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
git-svn-id: svn://10.0.0.236/trunk@101461 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-21 01:47:31 +00:00
waterson%netscape.com
6de9a41f13 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
git-svn-id: svn://10.0.0.236/trunk@100459 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-07 02:55:54 +00:00
scc%mozilla.org
90f810b66a 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.
git-svn-id: svn://10.0.0.236/trunk@97289 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-17 05:23:38 +00:00
shaver%mozilla.org
823ae8572c 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


git-svn-id: svn://10.0.0.236/trunk@89354 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-12 20:43:02 +00:00
dougt%netscape.com
5c4d59d038 Making nsInputStreamTee build on windows. r=darin, sr=gagan
git-svn-id: svn://10.0.0.236/trunk@88685 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-06 20:29:20 +00:00
mjudge%netscape.com
9e59d3ceb3 R,SR = waterson, kin, brendan. trace_malloc work. these changes should only be iuncorporated into the build process if someone defines MOZ_TRACE_MALLOC into their build
git-svn-id: svn://10.0.0.236/trunk@85527 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-25 22:54:05 +00:00
dbragg%netscape.com
bd511e32f8 fix for build bustage. Leftover nsProcessWin.h in my include dir.
git-svn-id: svn://10.0.0.236/trunk@85314 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-22 22:38:43 +00:00
dbragg%netscape.com
457bb93d9b Final step in adding nsIProcess to build. a=dougt sr=brendan
git-svn-id: svn://10.0.0.236/trunk@85307 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-22 21:52:01 +00:00
vidur%netscape.com
3e62b3f9f3 Changes to parser to allow less copying. Use of the new nsSliding[Sub]String classes so that tokens can hold substrings that keep references into the scanner buffer. Cleaned up token interface and general string usage. r=harishd,heikki sr=jst
git-svn-id: svn://10.0.0.236/trunk@83553 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-12 21:58:14 +00:00
warren%netscape.com
0605461450 Bug 47207 - removing printf / logging changes. Sticking in big toe. r=valeski,sr=waterson
git-svn-id: svn://10.0.0.236/trunk@81858 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-27 06:18:39 +00:00
bienvenu%netscape.com
37cf24dc3f whoops, forgot to invoke a pldhash routine
git-svn-id: svn://10.0.0.236/trunk@77767 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-31 14:00:38 +00:00
bienvenu%netscape.com
d6886947ef add pldhash functions, r+a=waterson+brendan
git-svn-id: svn://10.0.0.236/trunk@77765 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-31 13:29:29 +00:00
jst%netscape.com
7e0575bfee DOM string changes. All nsString& in DOM interfaces (and interfaces needed by DOM implementations) have been changed to nsAReadableString& and nsAWritableString&. String implementation additions (sanctioned by scc) to support DOM needs. Bug 49091. r=vidur,jst,scc
git-svn-id: svn://10.0.0.236/trunk@76967 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-23 17:27:06 +00:00
warren%netscape.com
f29b00bbe4 Bug 46777. Redesigned stream interfaces to allows stream observers to be decoupled from pipe implementation. Needed for embedding to fix 'spin' problem. r=rpotts,valeski,ruslan
git-svn-id: svn://10.0.0.236/trunk@76875 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-22 07:03:33 +00:00
jband%netscape.com
d526a9008e add nsStaticNameTable to the builds. Needed to fix bug 48855. r=harishd,attinasi
git-svn-id: svn://10.0.0.236/trunk@76864 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-22 05:59:06 +00:00
waterson%netscape.com
4f776f02d4 Fix Win32 build bustage.
git-svn-id: svn://10.0.0.236/trunk@75145 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-29 03:13:41 +00:00
waterson%netscape.com
2888132355 Bug 46702. Move nsFixedSizeAllocator.[h|cpp] to xpcom/ds so that we can use it outside of RDF.
git-svn-id: svn://10.0.0.236/trunk@75142 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-29 02:58:43 +00:00
dougt%netscape.com
db2c70c95b bug 40750.
Adding followSymlink flag to nsILocalFile.
Adjusting callers.
windows shortcut optimizations.
r=blizzard@mozilla.org.
a=brendan@mozilla.org


git-svn-id: svn://10.0.0.236/trunk@74127 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-12 23:31:31 +00:00
waterson%netscape.com
025ae7ff42 Add nsVoidBTree and nsStatistics to the build.
git-svn-id: svn://10.0.0.236/trunk@72096 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-13 04:56:38 +00:00
jband%netscape.com
81c2f39c08 fix bustage due to relative path include of removed (and otherwise unused) file
git-svn-id: svn://10.0.0.236/trunk@66635 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-21 01:22:16 +00:00
jband%netscape.com
723651965b landing typelib loading improvements. bug 30753
git-svn-id: svn://10.0.0.236/trunk@66539 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-20 08:52:05 +00:00