47 Commits

Author SHA1 Message Date
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
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
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
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
2c8714f0fe fixes bugs #15884 and #16220. r=dbragg. fixes Install.FileExecute for the
1 parameter format and also the function gets logged correctly in
install.log.


git-svn-id: svn://10.0.0.236/trunk@50840 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-15 20:50:49 +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
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
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
847384a178 attempting to clean up long long stuff. currently #ifdef 0.
git-svn-id: svn://10.0.0.236/trunk@46830 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-10 19:15:46 +00:00
dougt%netscape.com
a5bc0a8172 fixing build bustage.
git-svn-id: svn://10.0.0.236/trunk@46630 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-09 21:22:13 +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
5e0c671cda fixed bug 12366.
git-svn-id: svn://10.0.0.236/trunk@46364 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-08 18:53:27 +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
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
slamm%netscape.com
ebc568ce14 Fix build bustage again.
git-svn-id: svn://10.0.0.236/trunk@39783 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-16 23:19:58 +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
slamm%netscape.com
65976f5ffa Fix build bustage.
git-svn-id: svn://10.0.0.236/trunk@39757 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-16 21:30:20 +00:00
slamm%netscape.com
5c27bd5dea Fix build warnigns.
git-svn-id: svn://10.0.0.236/trunk@39735 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-16 20:06:41 +00:00
slamm%netscape.com
abcc381e60 Fix compiler warnings (This was fixed in the ild compiler already, but this file has been hand edited away from the auto-generated file).
git-svn-id: svn://10.0.0.236/trunk@39567 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-15 23:11:13 +00:00
dveditz%netscape.com
f1981af221 fixes for 8311/9406 a chofmann, r ssu. This also unbreaks 6601, 6604, 6608 and others
git-svn-id: svn://10.0.0.236/trunk@39005 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-12 15:20:54 +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
687e43a274 fixing bug #8620
git-svn-id: svn://10.0.0.236/trunk@36432 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-23 01:44:13 +00:00
sgehani%netscape.com
8fc8b5803f 1> Added LoadResources().
2> Fixed UNIX Makefile.in although it's not being built by the regular build system yet.


git-svn-id: svn://10.0.0.236/trunk@34962 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-12 01:54:29 +00:00
ssu%netscape.com
0dd33f2e12 fixed problem with Install.FileRename() and Install.DirRename()
git-svn-id: svn://10.0.0.236/trunk@33786 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-04 21:50:17 +00:00
ssu%netscape.com
b6d73cd7dc added file operation functionality to the javascript Install object
git-svn-id: svn://10.0.0.236/trunk@33534 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-03 18:19:14 +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
ssu%netscape.com
99d4c5019c fixing bug #6661
git-svn-id: svn://10.0.0.236/trunk@32231 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-19 02:26:54 +00:00
ssu%netscape.com
d1b8cafe9f changed windows define from XP_WIN to _WINDOWS and fixed compilation bugs
git-svn-id: svn://10.0.0.236/trunk@31968 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-17 22:45:50 +00:00
ssu%netscape.com
d261c7fef5 added WinProfile object to the Install object
git-svn-id: svn://10.0.0.236/trunk@31954 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-17 21:58:52 +00:00
dougt%netscape.com
6e5db860f2 Adding Install.TRACE()
Fixing some bugs in ScheduledTasks.


git-svn-id: svn://10.0.0.236/trunk@31939 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-17 21:28:56 +00:00
ssu%netscape.com
2e8fd26976 Added javascript install.WinReg object code for Windows platform only
git-svn-id: svn://10.0.0.236/trunk@31491 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-13 22:59:51 +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
rickg%netscape.com
e48789bc74 sync up with nsString2.cpp
git-svn-id: svn://10.0.0.236/trunk@28708 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-22 17:36:54 +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
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