]> cygwin.com Git - cygwin-apps/setup.git/log
cygwin-apps/setup.git
24 years ago* pkg.c: New file.
Christopher Faylor [Sat, 29 Apr 2000 04:28:59 +0000 (04:28 +0000)]
* pkg.c: New file.
* setup.c (tarx): Skip already installed or older packages.  Report when a
package has been updated.
(processdirlisting): Skip already installed or older packages.
(main): Detect -f option for forced installation.  Initialize pkg stuff if
appropriate.
* setup.h: Add pkg definitions.

24 years ago* setup.c (findhref): Return NULL on empty string. Eat any trailing
Christopher Faylor [Thu, 27 Apr 2000 18:24:13 +0000 (18:24 +0000)]
* setup.c (findhref): Return NULL on empty string.  Eat any trailing
";something".
(processdirlisting): Attempt to limit recursively processing the same
directory.

24 years ago* setup.c (filedel): New function.
Christopher Faylor [Thu, 27 Apr 2000 15:55:48 +0000 (15:55 +0000)]
* setup.c (filedel): New function.
(output_file): Keep track of files extracted from setup.exe for subsequent
deletion.
(tarx): Close process handle of child tar process or suffer handle leak.
(getdownloadsource): Close mirror file so that it can be unlinked.
(processdirlisting): Return total number of files extracted.
(main): Initialize array of files to delete.  Ensure that files are closed on
exit.  Make the directory that setup.exe is started from == the directory where
temporary files are placed.  Issue an error if no files were found to download.
* xsystem.c (xcreate_process): Close the thread handle.  Close the process
handle if we waited for it to exit.

24 years ago* setup.c (main): Change version number output.
Christopher Faylor [Thu, 27 Apr 2000 13:55:26 +0000 (13:55 +0000)]
* setup.c (main): Change version number output.

24 years ago* setup.c (tarx): Use full path name to tar executable.
Christopher Faylor [Thu, 27 Apr 2000 13:24:28 +0000 (13:24 +0000)]
* setup.c (tarx): Use full path name to tar executable.
(main): Build full pathname to tar executable.  Create /usr/local/etc by
default.

24 years ago* setup.c (findhref): Change method for scanning for href= to choose the last
Christopher Faylor [Thu, 27 Apr 2000 02:19:08 +0000 (02:19 +0000)]
* setup.c (findhref): Change method for scanning for href= to choose the last
one on the line.  This is still not foolproof and probably will need to be
changed eventually.  Don't abort if no "size" field is evident.
(processdirlisting): Fix boolean algebra.

24 years ago* main.c (tarx): Add some code for future task of unmounting directories
Christopher Faylor [Wed, 26 Apr 2000 05:12:16 +0000 (05:12 +0000)]
* main.c (tarx): Add some code for future task of unmounting directories
encountered in tar file.

24 years ago* setup.c (findhref): Decode file size, when appropriate.
Christopher Faylor [Sat, 22 Apr 2000 20:41:20 +0000 (20:41 +0000)]
* setup.c (findhref): Decode file size, when appropriate.
(needfile): New function.  Returns 1 when file should be downloaded.
(processdirlisting): Always download if file size does not match.  Prompt when
download fails for some reason.
(getdownloadsource): Accomodate findhref argument changes.

24 years agoThroughout, use global session handle rather than reinitializing for each
Christopher Faylor [Sat, 22 Apr 2000 19:20:28 +0000 (19:20 +0000)]
Throughout, use global session handle rather than reinitializing for each
connect.  Don't pass session as an argument to setup.c functions.
* setup.c (geturl): Only issue "Connecting to.." message when using http or
first time for ftp since subsequent connections will be fast.
(processdirlisting): Allocate space for "N" when user has specified "N"ever
option so that it can be subsequently freed.
(main): Abort if we can't get the list of mirrors.

24 years agoUpdate license info.
Christopher Faylor [Sat, 22 Apr 2000 16:02:05 +0000 (16:02 +0000)]
Update license info.

24 years agoUpdate license info.
Christopher Faylor [Sat, 22 Apr 2000 16:00:44 +0000 (16:00 +0000)]
Update license info.

24 years ago* setup.c (main): Umount /bin and /lib.
Christopher Faylor [Thu, 20 Apr 2000 20:42:32 +0000 (20:42 +0000)]
* setup.c (main): Umount /bin and /lib.

24 years ago* setup.c (main): Create an empty /var/run/utmp.
Christopher Faylor [Wed, 19 Apr 2000 17:35:47 +0000 (17:35 +0000)]
* setup.c (main): Create an empty /var/run/utmp.

24 years ago* Makefile.in: Add umount to list of files to include in setup.exe.
Christopher Faylor [Tue, 18 Apr 2000 23:20:28 +0000 (23:20 +0000)]
* Makefile.in: Add umount to list of files to include in setup.exe.
* setup.c (xumount): New function for unmounting directories.
(main): Unmount /usr.
(mkmount): Unmount "unix directory" before trying to figure out where to create
the directory.

24 years ago* setup.c (mkmount): Use xcreate_process to start mount process, avoiding the
Christopher Faylor [Tue, 18 Apr 2000 21:31:03 +0000 (21:31 +0000)]
* setup.c (mkmount): Use xcreate_process to start mount process, avoiding the
shell.
(main): Don't do buffering on stdout or prompts won't be displayed correctly if
running in a cygwin shell with CYGWIN=tty.

24 years ago* setup.c (main): Remove the CYGWIN environment variable before starting any
Christopher Faylor [Tue, 18 Apr 2000 19:36:17 +0000 (19:36 +0000)]
* setup.c (main): Remove the CYGWIN environment variable before starting any
cygwin programs.

24 years ago* setup.c (geturl): Use alternative method for finding filename part of a URL.
Christopher Faylor [Mon, 17 Apr 2000 23:36:47 +0000 (23:36 +0000)]
* setup.c (geturl): Use alternative method for finding filename part of a URL.
(processdirlisting): Accomodate strange output from non-MS ftp proxy.
(downloaddir): Unlink file containing dir listing.
(downloadfrom): Ditto.

24 years ago* setup.c (main): Disallow running setup.exe from the "root".
Christopher Faylor [Mon, 17 Apr 2000 04:01:31 +0000 (04:01 +0000)]
* setup.c (main): Disallow running setup.exe from the "root".

24 years agoAdd version info.
Christopher Faylor [Sun, 16 Apr 2000 23:19:43 +0000 (23:19 +0000)]
Add version info.

24 years agoAdd version info.
Christopher Faylor [Sun, 16 Apr 2000 23:07:59 +0000 (23:07 +0000)]
Add version info.

24 years agoUse "warning" function, where appropriate to output warnings.
Christopher Faylor [Sun, 16 Apr 2000 22:54:16 +0000 (22:54 +0000)]
Use "warning" function, where appropriate to output warnings.
* setup.c (warning): New function -- outputs warning to console and log file.
(tarx): Fix index used to reset file protection.
(main): Open the log file earlier so that more stuff can be sent to it.

24 years ago* setup.c (processdirlisting): Make "N" option a little less aggressive.
Christopher Faylor [Sun, 16 Apr 2000 00:08:00 +0000 (00:08 +0000)]
* setup.c (processdirlisting): Make "N" option a little less aggressive.

24 years agoRemove.
Christopher Faylor [Sat, 15 Apr 2000 21:02:27 +0000 (21:02 +0000)]
Remove.

24 years ago* setup.c (tarx): Wait to after tar has completed to reset protections or
Christopher Faylor [Fri, 14 Apr 2000 15:12:38 +0000 (15:12 +0000)]
* setup.c (tarx): Wait to after tar has completed to reset protections or
suffer races with tar process.

24 years ago* Makefile.in: Eliminate duplicate -nostdinc from CFLAGS.
Christopher Faylor [Thu, 13 Apr 2000 16:56:35 +0000 (16:56 +0000)]
* Makefile.in: Eliminate duplicate -nostdinc from CFLAGS.
* setup.c (create_uninstall): Create the uninstall .bat file in the "root" so
that we can remove the /bin directory.  Add bin\cygwin.bat to list of files to
be deleted.  Fix directory detection for determining when to use 'rmdir'.
(do_start_menu): Add /usr/local/bin to the path.
(main): Add slop to files.array allocation so that we don't have to worry about
reallocating the array when it grows too large when doing some trivial
"pushes".  Add /tmp and /usr/local/{bin,lib} to list of files.

24 years agoBe consistent.
Christopher Faylor [Thu, 13 Apr 2000 06:05:56 +0000 (06:05 +0000)]
Be consistent.

24 years ago* setup.c (processdirlisting): Fix handling of "A" for "A"lways download.
Christopher Faylor [Thu, 13 Apr 2000 06:00:57 +0000 (06:00 +0000)]
* setup.c (processdirlisting): Fix handling of "A" for "A"lways download.

24 years ago* path.c (kill_cygpath): New cleanup function.
Christopher Faylor [Thu, 13 Apr 2000 05:18:13 +0000 (05:18 +0000)]
* path.c (kill_cygpath): New cleanup function.
(exit_cygpath): New cleanup function.
(cygpath_pipe): New function.  Sets up cygpath in the background for
translating filenames.
(pathcvt): Use background cygpath for file translation.
* setup.c (tarx): New function.  Called to extract tar files, capture logging
output, and translate it to Windows format.
(recurse_dirs): Use 'tarx' function to extract files.
(create_uninstall): Use file list built up by tarx rather than reading the log
file.
(mkmount): Add ability to mount root.
(main): Track elapsed install time.  Mount root.
* starry.h: Add index field to strarry for tracking of tarx's usage of this
structure.
* xsystem.c (xcreate_process): Return proces handle when not waiting.

24 years agoPath manipulation stuff.
Christopher Faylor [Tue, 11 Apr 2000 11:51:27 +0000 (11:51 +0000)]
Path manipulation stuff.

24 years ago* path.c: New file.
Christopher Faylor [Tue, 11 Apr 2000 02:49:15 +0000 (02:49 +0000)]
* path.c: New file.
(pathfp): New function.  Preliminary work for new -f cygpath functionality.
* Makefile.in: Add new file.
(pathcvt): Move to new file.
(dtoupath): Ditto.
(utodpath): Ditto.
(pathcat): Ditto.
* setup.c (processdirlisting): Always open file in text mode.
(create_uninstall): Ditto.
(getdownloadsource): Ditto.
(main): Ditto.

24 years ago* xsystem.c: New file.
Christopher Faylor [Tue, 11 Apr 2000 00:55:11 +0000 (00:55 +0000)]
* xsystem.c: New file.
* Makefile.in: Accomodate new file.
* setup.c (xsystem): Move to new file.
(recurse_dirs): Accept handle to output log file.  Don't use ">" redirection to
trap tar output.  Use supplied handle instead.
(create_uninstall): Accept FILE pointer to opened log file.  Don't unlink log
file here.
(do_start_menu): Accept FILE pointer to pass to create_uninstall.
(main): Open log file here and pass it to various functions.  Unlink when done.

24 years agoChange occurrences of .usr.bin to .bin throughout.
Christopher Faylor [Mon, 10 Apr 2000 21:24:28 +0000 (21:24 +0000)]
Change occurrences of .usr.bin to .bin throughout.
* setup.c (geturl): Increase number of retries to 20.  Let user know what's
going on during long connects.
(processdirlisting): Accept "A"lways and "N"ever as update options.
(create_uninstall): Load cygwin1.dll from the current directory rather than
\bin.
(main): Add some expository text.

24 years ago* Makefile.in: Change method for compressing cygwin1.dll to avoid creating a
Christopher Faylor [Mon, 10 Apr 2000 01:01:00 +0000 (01:01 +0000)]
* Makefile.in: Change method for compressing cygwin1.dll to avoid creating a
cygwin1.dll in the current directory.  Ensure the addition of -nostdinc to
MINGW_CFLAGS.

24 years ago* Makefile.in: Augment clean target.
Christopher Faylor [Sun, 9 Apr 2000 06:16:59 +0000 (06:16 +0000)]
* Makefile.in: Augment clean target.

24 years agoUse cygwin version.
Christopher Faylor [Sat, 8 Apr 2000 05:00:11 +0000 (05:00 +0000)]
Use cygwin version.

24 years agoEliminate.
Christopher Faylor [Sat, 8 Apr 2000 03:09:45 +0000 (03:09 +0000)]
Eliminate.

24 years agoUpdated to build cinstall with mingw. See Changelog for numerous setup.c changes.
Ron Parker [Fri, 7 Apr 2000 22:12:41 +0000 (22:12 +0000)]
Updated to build cinstall with mingw. See Changelog for numerous setup.c changes.

24 years ago* Makefile.in: Add "-nostdinc" to regular CFLAGS. Add target to grab
Christopher Faylor [Thu, 6 Apr 2000 23:16:37 +0000 (23:16 +0000)]
* Makefile.in: Add "-nostdinc" to regular CFLAGS.  Add target to grab
cygwin1.dll from ../cygwin subdirectory.
* gzip.exe.gz: Update.
* tar.exe.gz: Update.

24 years ago* Makefile.in: Use ZLIB variable as a target.
Christopher Faylor [Wed, 5 Apr 2000 14:55:09 +0000 (14:55 +0000)]
* Makefile.in: Use ZLIB variable as a target.

24 years agoreformat.
Christopher Faylor [Sun, 2 Apr 2000 03:55:14 +0000 (03:55 +0000)]
reformat.

24 years ago* Makefile.in: Eliminate traces of cygwinisms. Don't link with libmsvcrt.a.
Christopher Faylor [Sun, 2 Apr 2000 03:51:04 +0000 (03:51 +0000)]
* Makefile.in: Eliminate traces of cygwinisms.  Don't link with libmsvcrt.a.
It's unneeded.  Build .rc file on the fly from various sources.
* configure.in: Locate correct objcopy.
* configure: Regenerate.

24 years ago* configure.in: New file.
Christopher Faylor [Sun, 2 Apr 2000 01:50:10 +0000 (01:50 +0000)]
* configure.in: New file.
* configure: New file.
* zlib/Makefile.am: New file.
* zlib/configure.in: New file.
* zlib/aclocal.m4: New file.
* zlib/acinclude.m4: New file.
* zlib/configure: Regenerate from configure.in.
* zlib/Makefile.in: Regenerate from Makefile.am

24 years agochange an include
Christopher Faylor [Sat, 1 Apr 2000 05:51:39 +0000 (05:51 +0000)]
change an include

24 years agoReformat and remove more \r's.
Christopher Faylor [Sat, 1 Apr 2000 05:42:31 +0000 (05:42 +0000)]
Reformat and remove more \r's.

24 years agoEliminate \r in line endings.
Christopher Faylor [Sat, 1 Apr 2000 04:49:19 +0000 (04:49 +0000)]
Eliminate \r in line endings.

24 years agoThis commit was generated by cvs2svn to track changes on a CVS vendor
Christopher Faylor [Fri, 31 Mar 2000 02:15:17 +0000 (02:15 +0000)]
This commit was generated by cvs2svn to track changes on a CVS vendor
branch.

24 years agooriginal import of 2000-03-30 console installer cinstall-2000-03-30
Christopher Faylor [Fri, 31 Mar 2000 02:15:17 +0000 (02:15 +0000)]
original import of 2000-03-30 console installer

This page took 0.044638 seconds and 5 git commands to generate.