115 Commits

Author SHA1 Message Date
dveditz%netscape.com
a27d8dc9ba fixing typo
git-svn-id: svn://10.0.0.236/trunk@61371 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-20 08:22:45 +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
cls%seawood.org
8260bc5e34 More tweaks needed to get BeOS to compile for M14. For now, we use the Unix local file implementation. a,r=leaf
git-svn-id: svn://10.0.0.236/trunk@61216 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-17 20:24:24 +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
dbragg%netscape.com
2784dae710 Fix for bug 21089 r=dveditz
git-svn-id: svn://10.0.0.236/trunk@60346 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-11 00:52:26 +00:00
cathleen%netscape.com
0b23c5b307 fixed crash bug for patching, happened at cleanup() stage. removed the
enumerate call to delete the pointers in hash table, since it has
already been deleted.  also added some error checking and reset pointers
to null bug 24455, r=dbragg


git-svn-id: svn://10.0.0.236/trunk@59341 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-01 01:51:25 +00:00
dbragg%netscape.com
eca516c7cc Fixes for bugs 10147, 22341, 24016 r=sgehani
git-svn-id: svn://10.0.0.236/trunk@59101 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-28 23:22:58 +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
sspitzer%netscape.com
df88898095 sanity check and adding new line to the end of a file.
git-svn-id: svn://10.0.0.236/trunk@56307 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-21 22:56:49 +00:00
dougt%netscape.com
1b7046571a crash if passing nsnull. need to use the proper #define r=dveditz, a=brendan
git-svn-id: svn://10.0.0.236/trunk@55971 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-14 03:40:54 +00:00
warren%netscape.com
51881fbcea Landing no_neckoutil2_branch. Bug #11159. Removes neckoutil_s.lib from build which helps beos and openvms.
git-svn-id: svn://10.0.0.236/trunk@54722 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-30 04:50:42 +00:00
dveditz%netscape.com
ad383a25e0 Bug 19566 preventing PSM install. r=ssu
git-svn-id: svn://10.0.0.236/trunk@54185 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-22 22:32:40 +00:00
dveditz%netscape.com
70cb614dd9 Checkin for dbragg, Bug 16214 make "folder" params objects rather than path strings, r=dveditz.
Bug 17509 add BLOATY instrumentation to XPInstall. A couple of minor leak fixes


git-svn-id: svn://10.0.0.236/trunk@54103 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-21 06:03:23 +00:00
ssu%netscape.com
c192307dcf overloaded the abortInstall() function for the Install object to take a
numerical parameter.  It now allows the script writer to specify
an abort value, instead of the default one.

r=sgehani


git-svn-id: svn://10.0.0.236/trunk@53827 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-18 05:08:11 +00:00
sgehani%netscape.com
134c4195ec Fixes for bug 18683. Libjar interfaces changed but the implementation didn't. This fixes the runtime XP horkage. [r=dveditz]
git-svn-id: svn://10.0.0.236/trunk@53386 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-13 00:39:03 +00:00
warren%netscape.com
7ffefe09f1 Fixed linux breakage with nsFileSpec constructor.
git-svn-id: svn://10.0.0.236/trunk@53332 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-12 06:54:49 +00:00
warren%netscape.com
4695e1619c Libjar cleanup. Added Close method. Bug#18273. r=mstoltz,gayatrib,dveditz
git-svn-id: svn://10.0.0.236/trunk@53330 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-12 06:13:13 +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
dveditz%netscape.com
3f4468adf1 fixes 8271,6410,12694 and similar startup/registry problems
git-svn-id: svn://10.0.0.236/trunk@52701 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-03 07:46:38 +00:00
sgehani%netscape.com
8b93319dca Fix build bustage for cathleen.
git-svn-id: svn://10.0.0.236/trunk@52670 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-03 04:30:14 +00:00
cathleen%netscape.com
7c3533ab68 fixed bug #17774. prevent crash when UI name is passed as null.
also moved mPatchList to allocate hashtable to nsIntall::Patch().  r=dougt


git-svn-id: svn://10.0.0.236/trunk@52644 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-03 02:01:02 +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
ssu%netscape.com
a9a91fcc7c fixing bugs #16935 and #11581. r=dvedtiz.
The first fix reverses the way xpinstall aborts/cleans up itself.  The
correct way is to undo the commands it ran in backwards order.

The second fixes problem with a install.js script not having called
finalizeInstall() yet still installing files.


git-svn-id: svn://10.0.0.236/trunk@52169 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-29 02:15:56 +00:00
dougt%netscape.com
f769dc5560 merging FILESEP and DIRECTORY_SEPARATOR. they both do the same thing.
git-svn-id: svn://10.0.0.236/trunk@51867 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-26 19:45:18 +00:00
ssu%netscape.com
719cf747d3 updated/added/removed install error values to accomodate the fileop
routines checked in over the weekend. r=sgehani.


git-svn-id: svn://10.0.0.236/trunk@51782 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-25 23:44:09 +00:00
ssu%netscape.com
2aa8ec93a3 fixes bugs #15394, #15603, part of #15644, and #15487. r=sgehani. The
xpinstall fileops functions have been updated to perform error detection
as much as it can prior to executing the command.


git-svn-id: svn://10.0.0.236/trunk@51667 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-24 01:07:45 +00:00
ssu%netscape.com
6277f3a3b3 fixes bug #16246, #16312, #16344, #16308. r=dbragg@netscape.com. fixes crash bug if the install file operation fails. no longer crashes.
git-svn-id: svn://10.0.0.236/trunk@50718 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-14 23:30:56 +00:00
sgehani%netscape.com
97b88d421f Failover implemented for i18n strings in XPInstall if the string bundle service is not available, fails, or if the .properties resource file is not avilable. Fixes install wizard logging. Completion of fix for bug 8140. [r=ssu]
git-svn-id: svn://10.0.0.236/trunk@50216 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-08 09:00:13 +00:00
sgehani%netscape.com
ff7384e823 Added Mac alias creation feature for install script writers using XPInstall: bugs 9363, 14345, 15503; r=ssu.
Fixed nsFileSpec<->nsInstall error translation in File operations exposed to install script writers: bug 15486; r=ssu.


git-svn-id: svn://10.0.0.236/trunk@49794 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-05 04:04:01 +00:00
dveditz%netscape.com
3d614afce1 Bugfix for 9604, 8138. r=cathleen, a=chofmann
git-svn-id: svn://10.0.0.236/trunk@49153 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-27 21:28:03 +00:00
dougt%netscape.com
d1c2703cb2 Fixed a bunch of Freeing Memory Mismatches.
Now using Recycle.
Fixes 8538.


git-svn-id: svn://10.0.0.236/trunk@48783 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-22 04:43:03 +00:00
sgehani%netscape.com
88219c7026 Resourced out error string.
git-svn-id: svn://10.0.0.236/trunk@48562 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-21 10:08:22 +00:00
sgehani%netscape.com
c6e2c33e9c Adding i18n support to xpinstall: using StringBundleServcie.
git-svn-id: svn://10.0.0.236/trunk@48559 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-21 08:46:10 +00:00
ssu%netscape.com
617e40ddbe Added new windows shortcut file operation routine.
Renamed:
  FileWinShortcutCreate() to FileWindowsShortcut()
  FileMacAliasCreate()    to FileMacAlias()
  FileUnixLinkCreate()    to FileUnixLink()


git-svn-id: svn://10.0.0.236/trunk@48378 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-20 20:58:20 +00:00
dveditz%netscape.com
684784ecf6 Allow a blank (magic) registry name passed to StartInstall() as in 4.x;
Don't delete a jarfile we didn't download! plus bugs 10749,13386


git-svn-id: svn://10.0.0.236/trunk@47879 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-17 00:11:24 +00:00
dougt%netscape.com
9878b12e09 Getting mac patching working for resource files.
git-svn-id: svn://10.0.0.236/trunk@47861 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-16 23:09:36 +00:00
dougt%netscape.com
ce313d64ef Fixed memory leak when calling ToString on version.
Fixed 13501.


git-svn-id: svn://10.0.0.236/trunk@47646 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-15 20:40:50 +00:00
dougt%netscape.com
d4c4b249ac fixing 10750
git-svn-id: svn://10.0.0.236/trunk@47142 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-13 19:23:44 +00:00
dougt%netscape.com
4b0f769454 changing GetDiskSpaceAvailable to return a signed 64 bit value
git-svn-id: svn://10.0.0.236/trunk@46835 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-10 20:03:56 +00:00
dougt%netscape.com
66f1984420 nsFileSpec::GetDiskSpace now returns a PRUint64. (12479)
thanks to Chet Murphy <cmurphy@modelworks.com> for the windows code!


git-svn-id: svn://10.0.0.236/trunk@46590 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-09 19:20:35 +00:00
dougt%netscape.com
7361aaba5a Fixing 12075, 12108, 10750.
cleaning up how strings are passed into the install object from js.


git-svn-id: svn://10.0.0.236/trunk@46194 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-07 18:58:26 +00:00
dougt%netscape.com
b47a8da5ef Fix for 11214.
git-svn-id: svn://10.0.0.236/trunk@45534 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-01 21:54:05 +00:00
sgehani%netscape.com
5bf035da16 Fix for bug 12972.
git-svn-id: svn://10.0.0.236/trunk@45526 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-01 21:36:37 +00:00
dveditz%netscape.com
53f15fb718 replaces nsVector with nsVoidArray everywhere. Also bugs 10752, 10753, 10755, 11666
git-svn-id: svn://10.0.0.236/trunk@45432 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-01 04:29:49 +00:00
sgehani%netscape.com
7be2e6e0a9 Fixes for bug 12510.
git-svn-id: svn://10.0.0.236/trunk@45251 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-31 01:15:26 +00:00
cathleen%netscape.com
92be6bb5d8 partial fix for bug 12166, where cleanup() is not getting called after install completes, thus file pointer for JAR/XPI files are not freed up afterwards.
git-svn-id: svn://10.0.0.236/trunk@45064 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-29 17:21:39 +00:00
cathleen%netscape.com
3963a1840c fix bug 9591, mPatchList, hashtable entries not freeup after install finishes
git-svn-id: svn://10.0.0.236/trunk@44966 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-28 02:07:14 +00:00
dbragg%netscape.com
62e5f7c5e4 Changed the version of the nsInstallDelete constructor being called from the 4 param version to the 3 param version since I have the registry entry. Fixes bug 7846.
git-svn-id: svn://10.0.0.236/trunk@44935 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-27 22:01:01 +00:00
ssu%netscape.com
aadee21b73 fixing bug 9560.
install.DiskSpaceAvailable() now returns the correct value, as much as a
unsigned 32bit type can hold.  It should really be stored in a unsigned
64bit type.  I'll file it as a seperate bug against nsFileSpec.


git-svn-id: svn://10.0.0.236/trunk@44526 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-25 21:36:59 +00:00