55 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
fea695e47d fix for bug 164575 - clean nsIPersistentProperties interface to reduce UTF8/UCS2 conversions
r=dougt, sr=darin


git-svn-id: svn://10.0.0.236/trunk@128567 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-30 17:13:34 +00:00
alecf%netscape.com
f4ad21ae3a a further nsString api reduction: remove the last case-insensitive PRUnichar*-to-PRUnichar* comparisons, moving to new API, and remove old methods from nsString. r=dougt, sr=jag a=scc
git-svn-id: svn://10.0.0.236/trunk@116842 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-19 06:46:56 +00:00
dbaron%fas.harvard.edu
ac6b721449 Remove more no-longer-needed nsComponentManager::RegisterComponent calls. Remove remnants of NS_IMPL_IDS macro, associated with long-gone NS_DECLARE_ID. b=125782 r=dougt rs=jag
git-svn-id: svn://10.0.0.236/trunk@114693 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-16 16:18:13 +00:00
dougt%netscape.com
011f9b10e5 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


git-svn-id: svn://10.0.0.236/trunk@113143 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-29 21:22:13 +00:00
dougt%netscape.com
c01e94cad7 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


git-svn-id: svn://10.0.0.236/trunk@110748 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-19 00:12:41 +00:00
jaggernaut%netscape.com
436d43f211 Bug 104158: Use NS_LITERAL_STRING instead of XXXWithConversion("..."). r=bryner, rs=alecf
git-svn-id: svn://10.0.0.236/trunk@110579 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-16 11:58:03 +00:00
tao%netscape.com
723fd0db48 report ui language and country code in test program (not part of client).
git-svn-id: svn://10.0.0.236/trunk@107779 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-09 22:57:30 +00:00
alecf%netscape.com
c27b9240de bug 76944 - lazy loading of string bundles.
While I'm there, do massive cleanup of string usage to avoid excess copying
also remove ns*AcceptLang on recommendation of tao
r=tao, sr=dveditz


git-svn-id: svn://10.0.0.236/trunk@107009 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-01 22:46:39 +00:00
jaggernaut%netscape.com
51e0dc7a6c Bug 100476: Convert uses of member functions ToNewUnicode, ToNewCString and ToNewUTF8String to their global versions and remove support from nsCString and nsString. r=dbaron, rs=scc
git-svn-id: svn://10.0.0.236/trunk@104212 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-29 08:28:41 +00:00
gerv%gerv.net
cf694b8116 License changes, take 2. Bug 98089. mozilla/include/, /mozilla/htmlparser/, /mozilla/intl/ (part 1).
git-svn-id: svn://10.0.0.236/trunk@103776 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-26 00:40:45 +00:00
gerv%gerv.net
ae1d5501a1 Oops.
git-svn-id: svn://10.0.0.236/trunk@103236 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-20 00:02:59 +00:00
scc%mozilla.org
2281a4d137 bug #98089: ripped new license
git-svn-id: svn://10.0.0.236/trunk@103230 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-19 22:39:41 +00:00
jaggernaut%netscape.com
51b17b5bf0 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 :-)


git-svn-id: svn://10.0.0.236/trunk@98363 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-30 11:02:25 +00:00
ccarlen%netscape.com
5bf28f9acb Bug 38626 - Remove references to nsFileLocations. r=valeski/sr=alecf
git-svn-id: svn://10.0.0.236/trunk@95618 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-21 22:36:18 +00:00
valeski%netscape.com
8deb3b45a4 mozilla diffs r=tao, sr=alecf, commercial diffs r=syd, sr=syd/shaver. lower-casing JS calls to createBundle. removing un-used nsILocale param from nsIStringBundle::CreateBundle(). 76332
git-svn-id: svn://10.0.0.236/trunk@93306 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-27 21:30:24 +00:00
sfraser%netscape.com
c696d9a508 Backing out valeski
git-svn-id: svn://10.0.0.236/trunk@93248 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-27 05:53:22 +00:00
valeski%netscape.com
4aea038db2 mozilla tree r=tao, sr=alecf. commercial tree r=syd, sr=syd/shaver. lowercasing the first char in JS method calls to createBundle. removing the dead locale parameter in the CreateBundle() method call. 76332
git-svn-id: svn://10.0.0.236/trunk@93239 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-27 04:16:22 +00:00
darin%netscape.com
9d03c579d0 Necko API changes, bug 74221. r=valeski, sr=rpotts.
git-svn-id: svn://10.0.0.236/trunk@91842 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-10 06:01:08 +00:00
rayw%netscape.com
d9228441a4 Bug 37275, Changing value of all progids, and changing everywhere a progid
is mentioned to mention a contractid, including in identifiers.

r=warren


git-svn-id: svn://10.0.0.236/trunk@79036 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-13 23:57:52 +00:00
cls%seawood.org
7fb57d53ad Removing last vestiges of raptor from unix build. Since some libs were renamed, a 'make distclean' is recommeneded to remove the old copies of those libs. Bug #8228 r=bryner
git-svn-id: svn://10.0.0.236/trunk@73643 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-02 18:44:42 +00:00
tao%netscape.com
eeceecbd43 Add test case for nsIAcceptLang
git-svn-id: svn://10.0.0.236/trunk@69460 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-12 21:51:11 +00:00
jbetak%netscape.com
f26a12cb6a 37408
String bundle doesn't offer a scriptable enumerator
r=be


git-svn-id: svn://10.0.0.236/trunk@68564 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-07 01:58:18 +00:00
jbetak%netscape.com
88df138133 37408
String bundle doesn't offer a scriptable enumerator
r=be


git-svn-id: svn://10.0.0.236/trunk@67870 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-02 05:08:39 +00:00
pavlov%netscape.com
4af9c6adc5 string api changes r=scc
git-svn-id: svn://10.0.0.236/trunk@67088 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-25 05:40:45 +00:00
nhotta%netscape.com
0a6258d937 Fixing unix bustage.
git-svn-id: svn://10.0.0.236/trunk@63638 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-21 22:48:54 +00:00
nhotta%netscape.com
c9e02358c5 Changed to use locale service instead of locale factory, bug 11880, r=tao.
git-svn-id: svn://10.0.0.236/trunk@63635 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-21 22:43:40 +00:00
rickg%netscape.com
1bd57cb94b removed calls to deprecated string methods
git-svn-id: svn://10.0.0.236/trunk@62707 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-12 09:14:14 +00:00
bruce%cybersight.com
e2817a28ab Speeling cownts. r=shaver
git-svn-id: svn://10.0.0.236/trunk@58029 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-17 21:28:22 +00:00
warren%netscape.com
070a48ce2a Made nsIProperties scriptable. Bug #21982
git-svn-id: svn://10.0.0.236/trunk@56832 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-05 09:29:25 +00:00
dmose%mozilla.org
0efb7c174c updated xPL license boilerplate to v1.1, a=chofmann@netscape.com,r=endico@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@52910 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-06 03:43:54 +00:00
cls%seawood.org
3e1a9ca95a Removed unused NECKO ifdefs.
a=leaf


git-svn-id: svn://10.0.0.236/trunk@52607 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-02 23:34:03 +00:00
tague%netscape.com
5c5b4d4eb6 Cleaned up some NS_OK comparisons. Replaced them with macros.
git-svn-id: svn://10.0.0.236/trunk@45484 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-01 20:02:06 +00:00
tague%netscape.com
4ee68cd50a Land nsLocale scriptability changes
git-svn-id: svn://10.0.0.236/trunk@41785 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-02 03:00:23 +00:00
tao%netscape.com
72ae9644c8 Update test cases.
git-svn-id: svn://10.0.0.236/trunk@41438 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-28 05:42:32 +00:00
tao%netscape.com
45e7b75ebd Prototype of xpc-ed str res.
git-svn-id: svn://10.0.0.236/trunk@40600 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-22 04:38:02 +00:00
tao%netscape.com
a0ca3ff831 Fix a misplaced assertion.
git-svn-id: svn://10.0.0.236/trunk@40544 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-21 23:38:06 +00:00
rickg%netscape.com
9104ad784c trying to remove iostream
git-svn-id: svn://10.0.0.236/trunk@39852 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-17 08:28:02 +00:00
nhotta%netscape.com
bd079130e8 Updates for nsILocale change (not part of the mail build).
git-svn-id: svn://10.0.0.236/trunk@39780 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-16 22:57:45 +00:00
warren%netscape.com
06d707be48 Renamed nsIURL to nsIURI in preperation for necko. More NECKO ifdefs too.
git-svn-id: svn://10.0.0.236/trunk@36440 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-23 03:29:44 +00:00
dp%netscape.com
22e43a403f The new method of autoregistration is really simple. A NULL for the
directory will do the right thing.


git-svn-id: svn://10.0.0.236/trunk@36283 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-22 15:19:31 +00:00
tao%netscape.com
5ea18610ac Use new approach to auto-register components
git-svn-id: svn://10.0.0.236/trunk@36157 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-21 23:41:35 +00:00
valeski%netscape.com
4fa4e2e84d NECKO ifdef (ifdef'd _off_ by default) this checkin should not impact anything. checkin approved. If someone runs into a problem, call me at 303.546.0061.
git-svn-id: svn://10.0.0.236/trunk@35863 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-18 17:34:08 +00:00
dp%netscape.com
767d4f61b3 Using default autoregistration
git-svn-id: svn://10.0.0.236/trunk@35575 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-16 00:34:08 +00:00
tao%netscape.com
9ac86c73cd 7821:make strres locale-sensitive. r=erik@netscape.com. Add api:
nsStringBundleService::CreateBundle(const char* aURLSpec, nsILocale* aLocale,
  nsIStringBundle** aResult)


git-svn-id: svn://10.0.0.236/trunk@34973 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-12 03:02:10 +00:00
sgehani%netscape.com
842f16e8a0 Surfaced enumeration service added in PersistentProperties.
git-svn-id: svn://10.0.0.236/trunk@34739 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-11 02:22:34 +00:00
briano%netscape.com
a5a074461d Handle the (Unix) platform-specific DLL naming conventions properly.
git-svn-id: svn://10.0.0.236/trunk@33800 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-04 22:17:30 +00:00
erik%netscape.com
a0126ba567 Switched over to auto-registration. Added Unix and Mac support.
git-svn-id: svn://10.0.0.236/trunk@32951 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-27 20:46:26 +00:00
erik%netscape.com
35ded4bb12 Added manual registration for EventQueue and PersistentProperties. Sigh.
git-svn-id: svn://10.0.0.236/trunk@32746 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-26 22:08:27 +00:00
dp%netscape.com
befa259a88 Landing xpcom20/21 branch.
git-svn-id: svn://10.0.0.236/trunk@32644 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-26 01:38:36 +00:00