43 Commits

Author SHA1 Message Date
ssu%netscape.com
7f30e74836 added bit field in nsInstallFile for Windows Shared File and Do No Uninstall.
added support in fileop for registering ole server files.

changed the way logging is done in install.log to write to the log file *before* the attempt to complete() the file installation process.  This helps with debugging because is shows what file the installation probably stopped on.


git-svn-id: svn://10.0.0.236/trunk@69622 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-14 03:07:05 +00:00
scc%netscape.com
47f0b60fe6 making string conversions explicit
git-svn-id: svn://10.0.0.236/trunk@67411 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-27 21:09:10 +00:00
ssu%netscape.com
dec4d7bdae fixing bug #7478. We now have an uninstaller for the installer on the Windows platform. r=dveditz
git-svn-id: svn://10.0.0.236/trunk@67197 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-26 05:04:21 +00:00
dougt%netscape.com
a58aa50a52 Fixes problems in local file where getting a parent of a non-existant file did not work.
Fixes a problem if you tried to create a folder and it parents did not exist. 
Fixes a problem if you had a initialized with a FSSpec which was not resolved complete and you tried to add a relative path.
Fixing nsInstallFile to use nsIFile:: enums insteads of numbers.

r=sgehani, a=leaf


git-svn-id: svn://10.0.0.236/trunk@67167 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-26 01:50:24 +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
ssu%netscape.com
ca5fa8f4c3 fixing bug #35872. xpinstall engine now correctly creates nested dirs more than 1 level deep. This problem could have been the cause of the brownser not launching from a clean install (which I have experienced) because files were not getting installed into their proper subdirs.
git-svn-id: svn://10.0.0.236/trunk@66895 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-23 02:09:17 +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
scc%netscape.com
96ed7ccb65 small changes to clients of string converting APIs
git-svn-id: svn://10.0.0.236/trunk@64173 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-26 11:02:30 +00:00
jim_nance%yahoo.com
4e7663b8a1 Fix bug 33019. Compiler warnings.
Reviewed and approved by:
law, mscott, radha, brade, shaver, & dveditz


git-svn-id: svn://10.0.0.236/trunk@64065 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-24 22:11:55 +00:00
dbragg%netscape.com
54ed2ee67b Backend plumbin fix for bugs 17505 and 20046 r=dveditz
git-svn-id: svn://10.0.0.236/trunk@63760 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-22 21:51:26 +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
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
dveditz%netscape.com
360bd398f3 Bug 20043, attempting to install an older file should not abort rest of install
git-svn-id: svn://10.0.0.236/trunk@55729 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-08 05:09:17 +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
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
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
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
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
dveditz%netscape.com
f892f1b2c4 fixing Unix bustage. These were apparently set in xp_file.h but also in a Windows system header
git-svn-id: svn://10.0.0.236/trunk@46029 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-04 20:25:38 +00:00
cathleen%netscape.com
03476e8a3c revert PRUnichar* back to char*; depending on more unichar/UTF8 support
from L10n


git-svn-id: svn://10.0.0.236/trunk@44422 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-25 01:26:11 +00:00
cathleen%netscape.com
8b3581401d fix bug 9589
git-svn-id: svn://10.0.0.236/trunk@43782 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-20 04:34:15 +00:00
dougt%netscape.com
e8c9ffe47b Fixes to address memory allocation problems - Bug #8227
git-svn-id: svn://10.0.0.236/trunk@40016 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-18 20:56:12 +00:00
dougt%netscape.com
3cf26e3726 Fixed Blamed Build Warnings
shrike Linux/i386 2.2.5 Clobber apprunner on 07/16 13:03


git-svn-id: svn://10.0.0.236/trunk@39766 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-16 22:00:24 +00:00
sgehani%netscape.com
7ecf228238 Correcting Unix permissions on directories created from 755 -> 0755.
git-svn-id: svn://10.0.0.236/trunk@39354 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-14 19:49:50 +00:00
sgehani%netscape.com
76f64f66a2 Fixes for:
- bug #7739: GetFolder() Mac bug
  - bug #9149: GetFolder() creating dir when it shouldn't
  - bug #9254: GetComponentFodler() creating dir 
                       when it shouldn't


git-svn-id: svn://10.0.0.236/trunk@38283 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-03 19:00:45 +00:00
ssu%netscape.com
a34ca3a05b fixing bug #8454 and AddDirectory() function
git-svn-id: svn://10.0.0.236/trunk@37490 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-29 23:15:38 +00:00
briano%netscape.com
7369f04d18 Changed 'true' and 'false' to 'PR_TRUE' and 'PR_FALSE' to fix the non-gcc Unix builds.
git-svn-id: svn://10.0.0.236/trunk@36660 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-24 01:59:26 +00:00
dougt%netscape.com
000ebd5129 Fixed Reported Bugs: 5577, 5579, 5580, 6116, 6620, 6621, 6707, 6709, 6714.
Fixed overloading
Fixed calls to version registry
removed nsInstallInfo from the stream listener.


git-svn-id: svn://10.0.0.236/trunk@32959 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-27 21:02:57 +00:00
mcafee%netscape.com
06560d83f0 Class nsprPath has been renamed to nsNSPRPath; straggler references were being converted with a typedef, this was confusing Solaris, so I'm converting all nsprPath references to the new name, hope that's Ok.
git-svn-id: svn://10.0.0.236/trunk@30910 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-10 05:34:26 +00:00
dougt%netscape.com
e5592f0539 Landing branch changes.
git-svn-id: svn://10.0.0.236/trunk@30598 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-07 00:05:54 +00:00
bruce%cybersight.com
7d28c89249 Fix for calls to nsFileSpec::GetLeafName(). It allocates memory with strdup(), so use free() and not delete[].
git-svn-id: svn://10.0.0.236/trunk@29113 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-25 13:27:36 +00:00
dougt%netscape.com
3a2bfe8af3 Changes from Bruce Mitchener Jr. <bruce@cybersight.com>:
delete vs delete[].


git-svn-id: svn://10.0.0.236/trunk@25483 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-29 23:12:26 +00:00
dougt%netscape.com
98c4c0361e Moved javascript execution onto a new nspr thread.
added delete and replace later
got rid of unneeded IIDs in public header
Added the correct license to all files.


git-svn-id: svn://10.0.0.236/trunk@24901 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-23 22:55:00 +00:00
dougt%netscape.com
6318f7f44d Added queue to hold pending downloads
Further object wacking


git-svn-id: svn://10.0.0.236/trunk@24375 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-19 00:32:05 +00:00
dougt%netscape.com
4b6e1122ce Make it work on the mac.
Passing unix paths to ZIP routines.  

THIS IS NOT PART OF THE BUILD SYSTEM YET


git-svn-id: svn://10.0.0.236/trunk@23530 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-10 18:39:01 +00:00
dougt%netscape.com
2eb050c4c0 Removed InstallFolder Object - just using nsStrings now.
Now creating tempfiles for ZIP calls
hooked up to nsSpecialSystemDirectory
cleaned up Install() api


git-svn-id: svn://10.0.0.236/trunk@23231 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-09 00:50:23 +00:00
dougt%netscape.com
ca9ff84fe2 Added Unix makefiles (that really do not do anything)
Added Arguments and Jarfile variables to the Install object which
are now being reflected into js.
Fixed how ExtractJarFile in Install was working
Hooked up to libjar.

** These changes are not part of the Tinderbox builds **


git-svn-id: svn://10.0.0.236/trunk@22605 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-02 20:25:42 +00:00
dougt%netscape.com
dd3f8247a9 massive changes.
git-svn-id: svn://10.0.0.236/trunk@22467 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-01 21:35:13 +00:00
dougt%netscape.com
d4d557e798 Getting closer to milestone 2. More additions to the functionality of
xpinstall.

This is not part of the build process yet.


git-svn-id: svn://10.0.0.236/trunk@21496 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-22 23:10:23 +00:00
dougt%netscape.com
dabf25f006 removing char* errormsgs and now using err code return values.
added FinishInstall().


git-svn-id: svn://10.0.0.236/trunk@19882 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-05 22:27:08 +00:00
dougt%netscape.com
12f4dc268d First checkin of xpinstall into seamonkey
git-svn-id: svn://10.0.0.236/trunk@19774 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-05 00:15:30 +00:00