1 Thu Apr 27 11:42:23 2000 Christopher Faylor <cgf@cygnus.com>
3 * setup.c (filedel): New function.
4 (output_file): Keep track of files extracted from setup.exe for
6 (tarx): Close process handle of child tar process or suffer handle
8 (getdownloadsource): Close mirror file so that it can be unlinked.
9 (processdirlisting): Return total number of files extracted.
10 (main): Initialize array of files to delete. Ensure that files are
11 closed on exit. Make the directory that setup.exe is started from ==
12 the directory where temporary files are placed. Issue an error if no
13 files were found to download.
14 * xsystem.c (xcreate_process): Close the thread handle. Close the
15 process handle if we waited for it to exit.
17 Thu Apr 27 09:54:19 2000 Christopher Faylor <cgf@cygnus.com>
19 * setup.c (main): Change version number output.
21 Thu Apr 27 09:23:17 2000 Christopher Faylor <cgf@cygnus.com>
23 * setup.c (tarx): Use full path name to tar executable.
24 (main): Build full pathname to tar executable. Create /usr/local/etc
27 Wed Apr 26 22:16:57 2000 Christopher Faylor <cgf@cygnus.com>
29 * setup.c (findhref): Change method for scanning for href= to choose
30 the last one on the line. This is still not foolproof and probably
31 will need to be changed eventually. Don't abort if no "size" field is
33 (processdirlisting): Fix boolean algebra.
35 Wed Apr 26 01:10:39 2000 Christopher Faylor <cgf@cygnus.com>
37 * main.c (tarx): Add some code for future task of unmounting
38 directories encountered in tar file.
40 Sat Apr 22 16:37:03 2000 Christopher Faylor <cgf@cygnus.com>
42 * setup.c (findhref): Decode file size, when appropriate.
43 (needfile): New function. Returns 1 when file should be
45 (processdirlisting): Always download if file size does not
46 match. Prompt when download fails for some reason.
47 (getdownloadsource): Accomodate findhref argument changes.
49 Sat Apr 22 15:13:42 2000 Christopher Faylor <cgf@cygnus.com>
51 Throughout, use global session handle rather than reinitializing for
52 each connect. Don't pass session as an argument to setup.c functions.
53 * setup.c (geturl): Only issue "Connecting to.." message when using
54 http or first time for ftp since subsequent connections will be fast.
55 (processdirlisting): Allocate space for "N" when user has specified
56 "N"ever option so that it can be subsequently freed.
57 (main): Abort if we can't get the list of mirrors.
59 Thu Apr 20 16:41:42 2000 Christopher Faylor <cgf@cygnus.com>
61 * setup.c (main): Umount /bin and /lib.
63 Wed Apr 19 13:34:44 2000 Christopher Faylor <cgf@cygnus.com>
65 * setup.c (main): Create an empty /var/run/utmp.
67 Tue Apr 18 19:16:56 2000 Christopher Faylor <cgf@cygnus.com>
69 * Makefile.in: Add umount to list of files to include in setup.exe.
70 * setup.c (xumount): New function for unmounting directories.
72 (mkmount): Unmount "unix directory" before trying to figure out where
73 to create the directory.
75 Tue Apr 18 17:28:55 2000 Christopher Faylor <cgf@cygnus.com>
77 * setup.c (mkmount): Use xcreate_process to start mount process,
79 (main): Don't do buffering on stdout or prompts won't be displayed
80 correctly if running in a cygwin shell with CYGWIN=tty.
82 Tue Apr 18 15:35:19 2000 Christopher Faylor <cgf@cygnus.com>
84 * setup.c (main): Remove the CYGWIN environment variable before
85 starting any cygwin programs.
87 Mon Apr 17 19:20:52 2000 Vadim Egorov <egorovv@mailandnews.com>
89 * setup.c (geturl): Use alternative method for finding filename part of
91 (processdirlisting): Accomodate strange output from non-MS ftp proxy.
92 (downloaddir): Unlink file containing dir listing.
93 (downloadfrom): Ditto.
95 Mon Apr 17 00:00:49 2000 Christopher Faylor <cgf@cygnus.com>
97 * setup.c (main): Disallow running setup.exe from the "root".
99 Sun Apr 16 18:50:58 2000 Christopher Faylor <cgf@cygnus.com>
101 Use "warning" function, where appropriate to output warnings.
102 * setup.c (warning): New function -- outputs warning to console and log
104 (tarx): Fix index used to reset file protection.
105 (main): Open the log file earlier so that more stuff can be sent to it.
107 Sat Apr 15 20:05:33 2000 Christopher Faylor <cgf@cygnus.com>
109 * setup.c (processdirlisting): Make "N" option a little less aggressive.
111 Fri Apr 14 11:11:29 2000 Christopher Faylor <cgf@cygnus.com>
113 * setup.c (tarx): Wait to after tar has completed to reset protections
114 or suffer races with tar process.
116 Thu Apr 13 12:51:19 2000 Christopher Faylor <cgf@cygnus.com>
118 * Makefile.in: Eliminate duplicate -nostdinc from CFLAGS.
119 * setup.c (create_uninstall): Create the uninstall .bat file in the
120 "root" so that we can remove the /bin directory. Add bin\cygwin.bat to
121 list of files to be deleted. Fix directory detection for determining
123 (do_start_menu): Add /usr/local/bin to the path.
124 (main): Add slop to files.array allocation so that we don't have to
125 worry about reallocating the array when it grows too large when doing
126 some trivial "pushes". Add /tmp and /usr/local/{bin,lib} to list of
129 Thu Apr 13 01:59:44 2000 Christopher Faylor <cgf@cygnus.com>
131 * setup.c (processdirlisting): Fix handling of "A" for "A"lways
134 Thu Apr 13 01:11:45 2000 Christopher Faylor <cgf@cygnus.com>
136 * path.c (kill_cygpath): New cleanup function.
137 (exit_cygpath): New cleanup function.
138 (cygpath_pipe): New function. Sets up cygpath in the background for
139 translating filenames.
140 (pathcvt): Use background cygpath for file translation.
141 * setup.c (tarx): New function. Called to extract tar files, capture
142 logging output, and translate it to Windows format.
143 (recurse_dirs): Use 'tarx' function to extract files.
144 (create_uninstall): Use file list built up by tarx rather than reading
146 (mkmount): Add ability to mount root.
147 (main): Track elapsed install time. Mount root.
148 * starry.h: Add index field to strarry for tracking of tarx's usage of
150 * xsystem.c (xcreate_process): Return proces handle when not waiting.
152 Mon Apr 10 22:44:56 2000 Christopher Faylor <cgf@cygnus.com>
155 (pathfp): New function. Preliminary work for new -f cygpath
157 * Makefile.in: Add new file.
158 (pathcvt): Move to new file.
162 * setup.c (processdirlisting): Always open file in text mode.
163 (create_uninstall): Ditto.
164 (getdownloadsource): Ditto.
167 Mon Apr 10 20:33:40 2000 Christopher Faylor <cgf@cygnus.com>
169 * xsystem.c: New file.
170 * Makefile.in: Accomodate new file.
171 * setup.c (xsystem): Move to new file.
172 (recurse_dirs): Accept handle to output log file. Don't use ">"
173 redirection to trap tar output. Use supplied handle instead.
174 (create_uninstall): Accept FILE pointer to opened log file. Don't
175 unlink log file here.
176 (do_start_menu): Accept FILE pointer to pass to create_uninstall.
177 (main): Open log file here and pass it to various functions. Unlink
180 Mon Apr 10 17:15:52 2000 Christopher Faylor <cgf@cygnus.com>
182 Change occurrences of .usr.bin to .bin throughout.
183 * setup.c (geturl): Increase number of retries to 20. Let user know
184 what's going on during long connects.
185 (processdirlisting): Accept "A"lways and "N"ever as update options.
186 (create_uninstall): Load cygwin1.dll from the current directory rather
188 (main): Add some expository text.
190 Sun Apr 9 20:59:15 2000 Christopher Faylor <cgf@cygnus.com>
192 * Makefile.in: Change method for compressing cygwin1.dll to avoid
193 creating a cygwin1.dll in the current directory. Ensure the addition
194 of -nostdinc to MINGW_CFLAGS.
196 Sun Apr 9 02:15:47 2000 Christopher Faylor <cgf@cygnus.com>
198 * Makefile.in: Augment clean target.
200 Fri Apr 7 17:04:02 Ron Parker <rdparker@sourceware.cygnus.com>
202 * README: Added info about non-working mingw implementation
203 * gzip.exe.gz: Replace with a version from the same build as the other
205 * tar.exe.gz: Replace with a version from the same build as the other
207 * mount.exe.gz: Add to repository until, mingw can build setup.
208 * cygpath.exe.gz: ditto
209 * cygwin1.dll.gz: ditto
210 * setup.c: Overwrite /bin and /lib mounts. Generate working shortcut
211 for Win9x. Display only a screenfull of options at a time. Call all
212 tools with an absolute path.
213 * setup.dsp: Restore the carriage returns, MS Developer Studio needs
218 Thu Apr 6 19:15:27 2000 Christopher Faylor <cgf@cygnus.com>
220 * Makefile.in: Add "-nostdinc" to regular CFLAGS. Add target to grab
221 cygwin1.dll from ../cygwin subdirectory.
222 * gzip.exe.gz: Update.
223 * tar.exe.gz: Update.
225 Wed Apr 5 10:52:08 2000 Christopher Faylor <cgf@cygnus.com>
227 * Makefile.in: Use ZLIB variable as a target.
229 Sat Apr 1 22:49:09 2000 Christopher Faylor <cgf@cygnus.com>
231 * Makefile.in: Eliminate traces of cygwinisms. Don't link with
232 libmsvcrt.a. It's unneeded. Build .rc file on the fly from various
234 * configure.in: Locate correct objcopy.
235 * configure: Regenerate.
237 Sat Apr 1 20:48:09 2000 Christopher Faylor <cgf@cygnus.com>
239 * Makefile.in: New file.
240 * configure.in: New file.
241 * configure: New file.
242 * zlib/Makefile.am: New file.
243 * zlib/configure.in: New file.
244 * zlib/aclocal.m4: New file.
245 * zlib/acinclude.m4: New file.
246 * zlib/configure: Regenerate from configure.in.
247 * zlib/Makefile.in: Regenerate from Makefile.am