82 Commits

Author SHA1 Message Date
bzbarsky%mit.edu
068756d821 Use NS_LITERAL_STRING instead of NS_ConvertASCIItoUCS2 where possible
(i.e. where the string is a literal).  Bug 104159, r=jag, sr=alecf


git-svn-id: svn://10.0.0.236/trunk@107987 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-14 01:33:42 +00:00
dveditz%netscape.com
25cdff8f63 shutdown turbo/server mode after an install that requires a browser restart
(bug 86976). r=syd@netscape.com, sr=mscott@netscape.com


git-svn-id: svn://10.0.0.236/trunk@99280 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-14 07:19:00 +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
ssu%netscape.com
9f956e0118 bug 4933 - new image for the download/xpinstall dialog.
bug 80237 - "destination directory" title is gone...
bug 77244 - Installers need to create Win32 Reg. key schema that Gecko Embedding browsers can follow
bug 78318 - crash with installer if you go back to change the directory selected
bug 56538 - Installer fails with error 5 installing on my Win2K box
bug 68053 - Win32 installer needs to log the installation process.
bug 81081 - Xpinstall dialog in the win32 installer requires touch up

sr=dveditz


git-svn-id: svn://10.0.0.236/trunk@95391 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-18 10:22:54 +00:00
syd%netscape.com
5f05b369c4 Fix for http://bugzilla.mozilla.org/show_bug.cgi?id=72913 r=sgehani, sr=dveditz
git-svn-id: svn://10.0.0.236/trunk@94033 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-05 07:19:22 +00:00
dveditz%netscape.com
5df7fedc87 bug 28896 register file versions r=ssu,sr=mscott
bug 45939 File.remove() returns bogus error,r=sgehani,sr=alecf
bug 7022  make platform/build info available to XPInstall script r=sgehani,sr=mscott
bug 47258 more detailed error reporting failing to install file, r=sgehani,sr=mscott
bug 62916 refresh plugins from install script r=ssu,sr=mscott


git-svn-id: svn://10.0.0.236/trunk@89610 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-14 05:30:25 +00:00
dbragg%netscape.com
9f95aaa3ec Fix for non-Unix bustage relating to MAX_FILENAME being undefined. r=sgehani
git-svn-id: svn://10.0.0.236/trunk@89042 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-09 01:49:21 +00:00
dbragg%netscape.com
3267ad7bf2 Checking for file and directory names that may be too long for a given platform. Fixes bug 10147. r=deveditz, sr=mscott
git-svn-id: svn://10.0.0.236/trunk@89006 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-08 23:25:17 +00:00
dbragg%netscape.com
bd2b3a4d06 This is the XPInstall side of bug 62167 that uses nsIProcess which was checked in earlier. a,r=dvedtiz sr=mscott
git-svn-id: svn://10.0.0.236/trunk@85593 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-27 00:05:08 +00:00
ssu%netscape.com
62546f63c2 fixing bug #55253 - Browser cannot launch after update.html from Win 9x only. sr=brendan,warren moa=dveditz r=dveditz,sgehani. Checking in only to the trunk for QA testing. Will check in to the BRANCH after QA certifies OK.
git-svn-id: svn://10.0.0.236/trunk@81224 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-14 23:37:16 +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
warren%netscape.com
cdc56bbf4c Landing jar packaging from jar_restructuring_branch. r=hyatt,dprice,sfraser,dveditz,vishy,sgehani
git-svn-id: svn://10.0.0.236/trunk@79641 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-20 19:35:24 +00:00
dveditz%netscape.com
6af0e3663a Bug 32867 XPInstall API cleanup, r=sgehani@netscape.com
git-svn-id: svn://10.0.0.236/trunk@79320 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-15 07:45:03 +00:00
dbragg%netscape.com
7e2f0598d2 Fix for 45885. Now returning an nsInstallFolder object rather than a string. r=sgehani
git-svn-id: svn://10.0.0.236/trunk@77099 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-24 19:34:06 +00:00
dveditz%netscape.com
69fa7a30f7 Getting installed overlays to work, dogfood bug 1011 in bugSCAPE. Also fixing
misc horkage (still!!) from the nsIFile landing necessary to get this working
(bugs 40228, 40403, 40405, 37964, 28950)


git-svn-id: svn://10.0.0.236/trunk@70743 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-24 14:13:39 +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
dougt%netscape.com
eb5d40672a Fixing 31259. r=dveditz.
git-svn-id: svn://10.0.0.236/trunk@70114 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 22:08:05 +00:00
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
sgehani%netscape.com
50555a403c Fix mac aliasing and AppleSingle decoding regressions. Make the Mac installer behave itself once again after being in a coma for two weeks.
[b=38313,37568]


git-svn-id: svn://10.0.0.236/trunk@68741 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-08 23:22:15 +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
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
jbetak%netscape.com
d8bf955ee5 fix bustage
37408
String bundle doesn't offer a scriptable enumerator
r=be


git-svn-id: svn://10.0.0.236/trunk@67881 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-02 06:20:25 +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
dveditz%netscape.com
a84476f045 First cut at chrome install
git-svn-id: svn://10.0.0.236/trunk@66978 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-24 13:53:38 +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
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
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
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
dbragg%netscape.com
36d55b82b4 SaveError added to fix bugs #21715 and #21671 r=dougt
git-svn-id: svn://10.0.0.236/trunk@57014 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-06 22:16:38 +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
ssu%netscape.com
499fce381e added new error ID and exposed it to the Install object in javascript. This is part of fixing bug #18704. r=dbragg
git-svn-id: svn://10.0.0.236/trunk@54196 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-22 22:57:13 +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
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
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
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
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
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
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