]> cygwin.com Git - cygwin-apps/setup.git/blame - ChangeLog
* setup.c (filedel): New function.
[cygwin-apps/setup.git] / ChangeLog
CommitLineData
f4cafa7e
CF
1Thu Apr 27 11:42:23 2000 Christopher Faylor <cgf@cygnus.com>
2
3 * setup.c (filedel): New function.
4 (output_file): Keep track of files extracted from setup.exe for
5 subsequent deletion.
6 (tarx): Close process handle of child tar process or suffer handle
7 leak.
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.
16
cd475210
CF
17Thu Apr 27 09:54:19 2000 Christopher Faylor <cgf@cygnus.com>
18
19 * setup.c (main): Change version number output.
20
7dff5e71
CF
21Thu Apr 27 09:23:17 2000 Christopher Faylor <cgf@cygnus.com>
22
23 * setup.c (tarx): Use full path name to tar executable.
24 (main): Build full pathname to tar executable. Create /usr/local/etc
25 by default.
26
99437fdb
CF
27Wed Apr 26 22:16:57 2000 Christopher Faylor <cgf@cygnus.com>
28
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
32 evident.
33 (processdirlisting): Fix boolean algebra.
34
0f562d55
CF
35Wed Apr 26 01:10:39 2000 Christopher Faylor <cgf@cygnus.com>
36
37 * main.c (tarx): Add some code for future task of unmounting
38 directories encountered in tar file.
39
4356382d
CF
40Sat Apr 22 16:37:03 2000 Christopher Faylor <cgf@cygnus.com>
41
42 * setup.c (findhref): Decode file size, when appropriate.
43 (needfile): New function. Returns 1 when file should be
44 downloaded.
45 (processdirlisting): Always download if file size does not
46 match. Prompt when download fails for some reason.
47 (getdownloadsource): Accomodate findhref argument changes.
48
6ab1ce6c
CF
49Sat Apr 22 15:13:42 2000 Christopher Faylor <cgf@cygnus.com>
50
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.
58
37ee316b
CF
59Thu Apr 20 16:41:42 2000 Christopher Faylor <cgf@cygnus.com>
60
61 * setup.c (main): Umount /bin and /lib.
62
a59fb4fa
CF
63Wed Apr 19 13:34:44 2000 Christopher Faylor <cgf@cygnus.com>
64
65 * setup.c (main): Create an empty /var/run/utmp.
66
75f4b861
CF
67Tue Apr 18 19:16:56 2000 Christopher Faylor <cgf@cygnus.com>
68
69 * Makefile.in: Add umount to list of files to include in setup.exe.
70 * setup.c (xumount): New function for unmounting directories.
71 (main): Unmount /usr.
72 (mkmount): Unmount "unix directory" before trying to figure out where
73 to create the directory.
74
d4a66789
CF
75Tue Apr 18 17:28:55 2000 Christopher Faylor <cgf@cygnus.com>
76
77 * setup.c (mkmount): Use xcreate_process to start mount process,
78 avoiding the shell.
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.
81
a6c3982d
CF
82Tue Apr 18 15:35:19 2000 Christopher Faylor <cgf@cygnus.com>
83
84 * setup.c (main): Remove the CYGWIN environment variable before
85 starting any cygwin programs.
86
0ffd5e3b
CF
87Mon Apr 17 19:20:52 2000 Vadim Egorov <egorovv@mailandnews.com>
88
89 * setup.c (geturl): Use alternative method for finding filename part of
90 a URL.
91 (processdirlisting): Accomodate strange output from non-MS ftp proxy.
92 (downloaddir): Unlink file containing dir listing.
93 (downloadfrom): Ditto.
94
3e54bcf9
CF
95Mon Apr 17 00:00:49 2000 Christopher Faylor <cgf@cygnus.com>
96
97 * setup.c (main): Disallow running setup.exe from the "root".
98
005b73c4
CF
99Sun Apr 16 18:50:58 2000 Christopher Faylor <cgf@cygnus.com>
100
101 Use "warning" function, where appropriate to output warnings.
102 * setup.c (warning): New function -- outputs warning to console and log
103 file.
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.
106
36dc5fc8
CF
107Sat Apr 15 20:05:33 2000 Christopher Faylor <cgf@cygnus.com>
108
109 * setup.c (processdirlisting): Make "N" option a little less aggressive.
110
c73320de
CF
111Fri Apr 14 11:11:29 2000 Christopher Faylor <cgf@cygnus.com>
112
113 * setup.c (tarx): Wait to after tar has completed to reset protections
114 or suffer races with tar process.
115
68cdfc92
CF
116Thu Apr 13 12:51:19 2000 Christopher Faylor <cgf@cygnus.com>
117
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
122 when to use 'rmdir'.
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
127 files.
128
35d18861
CF
129Thu Apr 13 01:59:44 2000 Christopher Faylor <cgf@cygnus.com>
130
131 * setup.c (processdirlisting): Fix handling of "A" for "A"lways
132 download.
133
20904de1
CF
134Thu Apr 13 01:11:45 2000 Christopher Faylor <cgf@cygnus.com>
135
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
145 the log file.
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
149 this structure.
150 * xsystem.c (xcreate_process): Return proces handle when not waiting.
151
c1246750
CF
152Mon Apr 10 22:44:56 2000 Christopher Faylor <cgf@cygnus.com>
153
154 * path.c: New file.
155 (pathfp): New function. Preliminary work for new -f cygpath
156 functionality.
157 * Makefile.in: Add new file.
158 (pathcvt): Move to new file.
159 (dtoupath): Ditto.
160 (utodpath): Ditto.
161 (pathcat): Ditto.
162 * setup.c (processdirlisting): Always open file in text mode.
163 (create_uninstall): Ditto.
164 (getdownloadsource): Ditto.
165 (main): Ditto.
166
4b40edd0
CF
167Mon Apr 10 20:33:40 2000 Christopher Faylor <cgf@cygnus.com>
168
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
178 when done.
179
6f8e3b45
CF
180Mon Apr 10 17:15:52 2000 Christopher Faylor <cgf@cygnus.com>
181
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
187 than \bin.
188 (main): Add some expository text.
189
2a907b70
CF
190Sun Apr 9 20:59:15 2000 Christopher Faylor <cgf@cygnus.com>
191
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.
195
c4285a3c
CF
196Sun Apr 9 02:15:47 2000 Christopher Faylor <cgf@cygnus.com>
197
198 * Makefile.in: Augment clean target.
199
ea615d51
RP
200Fri Apr 7 17:04:02 Ron Parker <rdparker@sourceware.cygnus.com>
201
202 * README: Added info about non-working mingw implementation
c1246750 203 * gzip.exe.gz: Replace with a version from the same build as the other
ea615d51 204 tools.
c1246750 205 * tar.exe.gz: Replace with a version from the same build as the other
ea615d51 206 tools.
c1246750 207 * mount.exe.gz: Add to repository until, mingw can build setup.
ea615d51
RP
208 * cygpath.exe.gz: ditto
209 * cygwin1.dll.gz: ditto
c1246750
CF
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
214 them.
ea615d51
RP
215 * setup.dsw: ditto
216 * zlib.dsw: ditto
217
51954e74
CF
218Thu Apr 6 19:15:27 2000 Christopher Faylor <cgf@cygnus.com>
219
c1246750
CF
220 * Makefile.in: Add "-nostdinc" to regular CFLAGS. Add target to grab
221 cygwin1.dll from ../cygwin subdirectory.
51954e74
CF
222 * gzip.exe.gz: Update.
223 * tar.exe.gz: Update.
224
7b777418
CF
225Wed Apr 5 10:52:08 2000 Christopher Faylor <cgf@cygnus.com>
226
227 * Makefile.in: Use ZLIB variable as a target.
228
4306b490
CF
229Sat Apr 1 22:49:09 2000 Christopher Faylor <cgf@cygnus.com>
230
5e7eb909
CF
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
233 sources.
4306b490
CF
234 * configure.in: Locate correct objcopy.
235 * configure: Regenerate.
236
739457f4
CF
237Sat Apr 1 20:48:09 2000 Christopher Faylor <cgf@cygnus.com>
238
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
This page took 0.053349 seconds and 5 git commands to generate.