98 Commits

Author SHA1 Message Date
dougt%netscape.com
d1fc1c4b9d 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
git-svn-id: svn://10.0.0.236/trunk@127101 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-12 22:09:25 +00:00
alecf%netscape.com
7ce57677ba more prep for bug 119923 - use chrome registry ContractID rather than CID, so that we can drop in a new embedding-only chrome registry
r=bnesse, sr=dveditz, a=asa


git-svn-id: svn://10.0.0.236/trunk@125651 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-23 23:30:04 +00:00
darin%netscape.com
24feadaaed fixes bug 142870 "nsIFile should use UCS-2 instead of UTF-8"
r=dougt sr=alecf


git-svn-id: svn://10.0.0.236/trunk@121010 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-07 23:07:19 +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
alecf%netscape.com
d6b987e7bf fix for bug 119923 - split nsIChromeRegistry into 2 interfaces, one that is XUL-specific
this way we can implement an minimal chrome registry for embedding, that doesn't support all the wacky skin- and locale-switching goodness of XUL.
r=waterson, sr=hyatt


git-svn-id: svn://10.0.0.236/trunk@118819 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-12 01:52:27 +00:00
dprice%netscape.com
21ec8f1412 105087 r=dveditz, sr=mscott, a=asa
hook up the installer and the directory service


git-svn-id: svn://10.0.0.236/trunk@117968 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-02 23:56:43 +00:00
dveditz%netscape.com
f1b6a4a557 Embeddable XPI landing, including bugs 76424, 83702, 88757, 97691, 98458, 105083, 105085, 113149,124467,124470 r=syd (and others) sr=alecf, a=drivers
git-svn-id: svn://10.0.0.236/trunk@117303 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-23 12:14:51 +00:00
dveditz%netscape.com
0eeb9a3030 compareVersion() returns NOT_FOUND rather than comparing as if a missing
component had a version of 0.0.0.0. Removed some dead code. r=sgehani sr= mscott


git-svn-id: svn://10.0.0.236/trunk@114725 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-17 09:55:19 +00:00
sfraser%netscape.com
67a35c1a08 Making the nsModuleComponentInfo data const; bug 74803. r=dp, sr=waterson
git-svn-id: svn://10.0.0.236/trunk@113225 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-30 21:14:20 +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
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
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
dougt%netscape.com
fa2d0b7e98 99163 - removing nsObserverService.h includes. Also fixing 106090, extra methods on nsObserverService. r=shaver@mozilla.org, sr=jband@netscape.com
git-svn-id: svn://10.0.0.236/trunk@105973 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-22 22:01:27 +00:00
dougt%netscape.com
cf60fc042e nsIObserver and nsIObserverService API freeze. r=rpotts@netscape.com, alecf@netscape.com. bug 99163
git-svn-id: svn://10.0.0.236/trunk@105800 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-19 20:52:59 +00:00
dbaron%fas.harvard.edu
3485888237 Replace uses of deprecated NS_IMPL_ISUPPORTS and NS_IMPL_QUERYINTERFACE macros with NS_IMPL_{ISUPPORTS,QUERYINTERFACE}{1,0}. r=jag rs=brendan b=45797
git-svn-id: svn://10.0.0.236/trunk@101462 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-21 01:48:11 +00:00
jaggernaut%netscape.com
2b3b3b2586 Bug 86734: Remove NS_WITH_SERVICE. r=dbaron, rs=scc, a=asa
git-svn-id: svn://10.0.0.236/trunk@99906 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-25 07:54:28 +00:00
scc%mozilla.org
1314d936af bug #75220: fixing stragglers, people who checked in uses of |nsLiteralC?String| after it had already been removed from the build
git-svn-id: svn://10.0.0.236/trunk@95763 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-23 01:21:04 +00:00
dbragg%netscape.com
ae967ed36e XPInstall part of fix for bug 65678. Now we're writing the list of files
to be replaced/deleted to a special registry file. When the program exits,
nsSoftwareUpdate::Shutdown kicks off the platform-specific utility that reads
this file and does the dirty work.


git-svn-id: svn://10.0.0.236/trunk@95226 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-17 05:51:29 +00:00
dveditz%netscape.com
3bf84efccc bug 79886 get install log working again (casualty of xpcdom landing). r=ssu
git-svn-id: svn://10.0.0.236/trunk@94868 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-14 08:45:44 +00:00
jst%netscape.com
43eee52859 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.
git-svn-id: svn://10.0.0.236/trunk@94242 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-08 17:42:36 +00:00
kandrot%netscape.com
2f7e9262c9 Check in for Ron Guilmette. r=shaver, sr=waterson. For intl r=nhotta. Changes for NS_IMPL_NSGETMODULE. bug #46775.
git-svn-id: svn://10.0.0.236/trunk@94028 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-05 05:33:37 +00:00
dveditz%netscape.com
f4e8a362b7 Re-fixing bug 7022 (Install.buildID). "2001040506" needs to be a double,
doesn't fit in a javascript int.


git-svn-id: svn://10.0.0.236/trunk@92556 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-17 13:13:24 +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
dbragg%netscape.com
7dbb9e2619 Fix for bug 52827. Getting the parent window and passing it to the alert and confirm dialogs. r=dveditz, law a=law (I used the old appproval list).
git-svn-id: svn://10.0.0.236/trunk@79664 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-20 23:12:03 +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
conrad%ingress.com
a2cf6be101 Changed from using strings for nsIDirectoryService props to using macro names defined in nsDirectoryServiceDefs.h
r=valeski


git-svn-id: svn://10.0.0.236/trunk@76139 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-11 20:31:57 +00:00
sgehani%netscape.com
e3ee0afabe Make Linux and Mac installers install to the target directory instead of the
platform-specific notion of temp.

[dogfood+ b=45166; r=dveditz]


git-svn-id: svn://10.0.0.236/trunk@74083 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-12 03:42:35 +00:00
mscott%netscape.com
c331375f49 Fix build breakge by samir. I'm not really sure how this could have compiled =).
git-svn-id: svn://10.0.0.236/trunk@73984 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-11 01:52:53 +00:00
sgehani%netscape.com
233510a972 Part of fix for nsbeta2+ bug 37168. [r=mstoltz]
git-svn-id: svn://10.0.0.236/trunk@73979 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-11 01:10:20 +00:00
sgehani%netscape.com
008fb4035e Add optional log file leaf name param to XPI_Init for Win32 uninstall logging.
Part of fix for nsbeta2+ bug 37168.  [r=ssu]


git-svn-id: svn://10.0.0.236/trunk@73963 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-10 23:15:46 +00:00
dougt%netscape.com
bf15c34b53 I IDL-ifying the nsProxyObjectManager.
I have updated all users that I found
grepping the source tree.

r=valeski@netscape.com
a=waterson@netscape.com
b=43131

Also checking in changes to the window's embed test which is NOT
hooked up to the build system.


git-svn-id: svn://10.0.0.236/trunk@73129 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-24 00:03:10 +00:00
inaky.gonzalez%intel.com
adbc59c7c4 Bug #39323. Change nsSoftwareUpdate::mMasterListener to be a
dynamically allocated object instead of a member, so we don't have to
do ugly tricks AddRefing it manually not to get it destroyed (and thus
segfaulting). r=waterson,dvedit a=dvedit


git-svn-id: svn://10.0.0.236/trunk@72998 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-23 00:14:22 +00:00
vidur%netscape.com
26c84935a5 Fix for bug 42860. nsIScriptNameSpaceManager::RegisterGlobalName() now takes an additional IID parameter. If the IID is that of the nsIScriptObjectOwner interface, we assume it's an old-style idlc interface. Otherwise we try to wrap it using XPConnect. r=rginda
git-svn-id: svn://10.0.0.236/trunk@72704 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-21 00:42:59 +00:00
warren%netscape.com
cc5d426fbe Renaming nsIAllocator to nsIMemory (and nsAllocator to nsMemory). API cleanup/freeze. Bug #18433
git-svn-id: svn://10.0.0.236/trunk@71450 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-03 09:46:12 +00:00
dveditz%netscape.com
c49a976120 making chrome installs work with late-breaking chromeRegistry changes -- required for tomorrow's install
git-svn-id: svn://10.0.0.236/trunk@70372 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-17 07:09:11 +00:00
dveditz%netscape.com
faa851dcb1 flesh-out chrome registration; clean-up the non-threadsafe assertions
git-svn-id: svn://10.0.0.236/trunk@68660 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-08 08:53:44 +00:00
dougt%netscape.com
05f1132def Adding nsIContentHandler to XPInstall so that we can handle mime types. This
allows us to click on a xpinstall link and have the install happen.

I also changed the windows wizard test application to use explict paths.  This
should have been checked in with the rest of the nsIFile/xpInstall stuff.  You
may have to adjust these paths manually.


git-svn-id: svn://10.0.0.236/trunk@68636 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-08 05:12:35 +00:00
dveditz%netscape.com
3fa5174d39 Skin/Locale installer (bug 32688) and groundwork for bug 32689
git-svn-id: svn://10.0.0.236/trunk@68362 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-05 06:23:11 +00:00
dougt%netscape.com
ff1dd2ab65 Fixing tree blocker. nsInstallFolder did not return an error code when
it could not initialize itself.  This caused crashes and return values which
were not correct.  I also fixed a huge about of memory leaks for allocation
of strings that were never freed.  r=dveditz, a=leaf.


git-svn-id: svn://10.0.0.236/trunk@67001 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-24 22:23:44 +00:00
dbragg%netscape.com
3dbf15e9a0 Fix for bug 24984, conversion to use nsIFile and related ilk.
git-svn-id: svn://10.0.0.236/trunk@66730 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-21 18:58:41 +00:00
scc%netscape.com
9b476989bf making string conversions explicit
git-svn-id: svn://10.0.0.236/trunk@66254 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-18 05:38:58 +00:00
dougt%netscape.com
8fec628485 adding update notification to xpinstall. It is currently ifdef off.
git-svn-id: svn://10.0.0.236/trunk@64368 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-28 12:05:20 +00:00
dbragg%netscape.com
509514abf2 Fix for bug 30903 a=leger r=dveditz
git-svn-id: svn://10.0.0.236/trunk@62514 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-10 01:23:06 +00:00
dveditz%netscape.com
4eddb0ee15 Bug 23941 speed up install on Mac, r=cathleen, a=jar;
Bug 12817 no Autoreg (in optimized builds) unless xpinstall detects flag indicating install has happened or build number changed, r=dp, a=jar;
Bug 23859 add wstring API to nsIRegistry for profile manager/i18n, r=gayatrib, a=jar;


git-svn-id: svn://10.0.0.236/trunk@61370 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-20 03:12:59 +00:00
dveditz%netscape.com
121072fe86 New wstring nsIRegistry interface, bug 23859;
new version registry name for mozilla, bug 10533;
log now created by install wizards too, bug 26309;
downloaded file cleanup moved into manager, bug 24249;
scaffolding for bug 12817 and 12361 (conditional autoreg)


git-svn-id: svn://10.0.0.236/trunk@60771 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-15 01:32:12 +00:00
dveditz%netscape.com
72c3bd8f26 fixes bug 26759, r=ssu
git-svn-id: svn://10.0.0.236/trunk@60045 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-08 02:40:17 +00:00
jband%netscape.com
2fdce1f62b fix incorrectly declared callback and its evil (cast) that were crashing my release builds of xpcshell and viewer. r=dougt
git-svn-id: svn://10.0.0.236/trunk@59912 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-06 01:09:15 +00:00
dougt%netscape.com
b8d0adf5b5 fix for 26271. r=dveditz@netscape.com
git-svn-id: svn://10.0.0.236/trunk@59606 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-03 02:29:57 +00:00
dougt%netscape.com
714da09a59 Landing nsIFile.
git-svn-id: svn://10.0.0.236/trunk@58490 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-24 21:28:28 +00:00
pp%ludusdesign.com
b5787cf895 Converting usage of ::GetIID() to NS_GET_IID().
Bug #20232, r=scc@netscape.com


git-svn-id: svn://10.0.0.236/trunk@57423 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-11 20:49:15 +00:00