]> cygwin.com Git - cygwin-apps/setup.git/blob - ChangeLog
* desktop.cc: create /etc/profile
[cygwin-apps/setup.git] / ChangeLog
1 2000-07-11 DJ Delorie <dj@cygnus.com>
2
3 * desktop.cc: create /etc/profile
4
5 2000-07-10 DJ Delorie <dj@cygnus.com>
6
7 * Makefile.in: add desktop.o and mklink2.o
8 * dialog.h: add do_desktop
9 * install.cc: create standard directories, call do_desktop
10 * res.rc: add cygwin.ico as a file also
11 * desktop.cc: new, do shortcuts, batch files, and icons
12 * mklink2.c: new, for COM
13 * README: update to-do list
14
15 2000-07-10 DJ Delorie <dj@cygnus.com>
16
17 * ini.cc (do_ini): don't worry about timestamps if we're not
18 actually installing.
19
20 2000-07-09 DJ Delorie <dj@cygnus.com>
21
22 * Makefile.in: add -I$(srcdir) for ini.h
23
24 2000-07-06 DJ Delorie <dj@cygnus.com>
25
26 * Replace everything with a new GUI version
27 * zlib/gzio.c: add gzctell() for progress displays
28
29 2000-06-22 DJ Delorie <dj@cygnus.com>
30
31 * setup.c (tarx): re-add call to write_pkg()
32
33 2000-06-07 DJ Delorie <dj@cygnus.com>
34
35 * cygcalls.c: new, call cygwin1.dll functions directly
36 * cygcalls.h: header for same
37 * Makefile.in: add cygcalls.[ch], remove mount/cygpath/umount
38 exes, fix cinstall.rc dependencies.
39 * path.c: remove unneeded code
40 * setup.c: use cygcalls instead of xcreate_process.
41 uncompress embedded files with zlib
42 add "-d" for "download only"
43 add "-h" for help
44 postpone mount changes until very end
45 add download progress indicators
46 pack multi-column listings more
47 auto-delete temp files
48 customize banner message according to options
49 prompt user for text/binary mounts
50 add warnings about empty setup directory, root installs, etc
51
52 2000-05-24 DJ Delorie <dj@cygnus.com>
53
54 * tar.c: New file; built-in tar using zlib.
55 * tar.h: New file; header for same.
56 * ctar.c: New file; test program for same.
57 * Makefile.in: add built-in tar, remove tar.exe and gzip.exe
58 * path.c (pathcat): convert slashes and canonicalize, instead of aborting
59 * setup.c (tarx): add support for built-in tar
60 (main): accept unix-style slashes, check root dir for drive letters,
61 warn about installing in /, make sure cwd is empty for internet installs,
62 defer mounts to end of install, support built-in tar.
63
64 Fri May 19 23:44:37 2000 Christopher Faylor <cgf@cygnus.com>
65
66 Fix compiler warnings throughout.
67 * pkg.c (init_pkgs): Make static 'stuff' global_pkgstuff for use in
68 get_pkg_stuff.
69 * setup.c: Make 'root' global.
70 (istargz): Return pointer to "stem" of matched .tar.gz file.
71 (tarx): Special case cygwin-20000301 to == cygwin-1.1.0.tar.gz. Remove
72 bogus check_for_installed check.
73 (recurse_dirs): Add preliminary support for .bat file execution.
74 (create_uninstall): Eliminate unneeded parameter.
75 (do_start_menu): Ditto.
76 (mkmount): Ditto.
77 (get_pkg_stuff): Ditto. Check for currently installed cygwin by
78 scanning for the version number. Eliminate unneeded argument to
79 create_uninstall.
80 (getdownloadsource): Add 'name' to list of names rather than url.
81 (main): Eliminate unneeded argument in get_pkg_stuff. Eliminate
82 unneeded argument in mkmount and do_start_menu.
83
84 2000-05-18 DJ Delorie <dj@cygnus.com>
85
86 * setup.c (optionprompt): allow multi-column, clean up message
87 about more options, be more robust about user input.
88 (getdownloadsource): make the mirror URL a macro.
89 (main): do mounts after done prompting user.
90
91 Tue May 2 00:56:41 2000 Christopher Faylor <cgf@cygnus.com>
92
93 * setup.c (cleanup): Inverse order of deletion stands a better chance
94 of deleting cygpath.exe. Still seems to suffer from occasional races,
95 though.
96 (cleanup_on_signal): Perform convoluted dance to accomodate win95 and
97 w2k.
98 (output_file): Defend against an unlikely handle leak.
99 (main): Don't set up signal handling until we have something special to
100 do.
101
102 Mon May 1 17:56:32 2000 Christopher Faylor <cgf@cygnus.com>
103
104 * path.c (kill_cygpath): Delete function.
105 (exit_cygpath): Make more defensive so that it can be called at any
106 time.
107 (cygpath_pipe): Don't set up signal here. Do it in main().
108 * setup.c (istargz): New function.
109 (recurse_dirs): Look for *.gz pattern rather than *tar.gz since *tar.gz
110 inexplicably fails on samba mounted partitions. Use istargz to match
111 tar.gz tail.
112 (processdirlisting) Use istargz to match tar.gz tail.
113 (cleanup): Renamed from filedel.
114 (cleanup_on_signal): New function. Called on CTRL-C.
115 (main): Record handle of main thread so that it can be suspended when
116 CTRL-C occurs. Set up cleanup_on_signal signal handler.
117
118 Mon May 1 11:05:07 2000 Christopher Faylor <cgf@cygnus.com>
119
120 * setup.c (do_start_menu): Don't concatenate paths to already built
121 paths.
122
123 Sun Apr 30 22:37:34 2000 Christopher Faylor <cgf@cygnus.com>
124
125 * path.c (exit_cygpath): Wait for subprocess to exit before returning.
126 (cygpath_pipe): Don't call exit_cygpath. Let main atexit routine do
127 that.
128 * pkg.c (init_pkgs): Accept root argument. Make registry key "cygwin
129 root"-specific.
130 * setup.c (filedel): Call exit_cygpath here so that we can be assured
131 that cygpath subprocess has died. This allows us to delete cygpath.exe
132 and cygwin1.dll.
133 (optionprompt): Initialize response to -1 so that second screen of
134 mirrors will appear.
135 (get_pkg_stuff): Don't attempt to use HKCLU. Pass root to init_pkgs.
136 * setup.h: Reflect init_pkgs prototype change.
137
138 Sat Apr 29 23:53:30 2000 Christopher Faylor <cgf@cygnus.com>
139
140 * pkg.c (init_pkgs): Accept an argument to control what root registry
141 key should be used.
142 * setup.c (get_pkg_stuff): Use HKCLU registry key if default fails.
143 * setup.h: Reflect init_pkgs prototype change.
144
145 Sat Apr 29 23:27:14 2000 Christopher Faylor <cgf@cygnus.com>
146
147 * error.c (winerror): Respond to gcc warning.
148 * path.c (cygpath_pipe): Ditto.
149 * setup.c (filedel): Call sa_cleanup on deleteme.
150 (create_shortcut): Coerce argument to eliminate compiler warning.
151 (tarx): Use installed version of cygwin1.dll, overriding tar file name.
152 (refmatches): New function. Tests if ref is contained in a list of
153 packages to install.
154 (filematches): New function. Tests if filename matches one of a list
155 of packages to install.
156 (recurse_dirs): Accept list of packages to install. Generalize tar.gz
157 test to accomodate _tar.gz.
158 (prompt): Ensure that stdout is flushed prior to asking for input.
159 (findhref): Initialize variables to quiet a compiler warning.
160 (processdirlisting): Accept list of packages to install. Special case
161 cygwin tar file version number.
162 (downloaddir): Accept list of packages to install.
163 (downloadfrom): Ditto.
164 (create_uninstall): Eliminate unneeded variables. Quote arguments to
165 regtool.
166 (do_start_menu): Don't create uninstall bat file if updating or user
167 specified a list of packages.
168 (mkmount): Eliminate unneeded variables.
169 (get_pkg_stuff): New function. Checks for previous unversioned
170 installation.
171 (main): Accept -u and -f options and package names on the command line.
172 Use get_pkg_stuff to initialize package information. Umount /etc.
173 Call recurse_dirs and downloadfrom with list of package to install.
174 Ensure that all /usr/local directories are created. Output
175 installation time to setup.log.
176 * setup.h: Add some prototypes.
177 * xsystem.c (xcreate_process): Eliminate unneeded variable.
178
179 Sat Apr 29 12:43:08 2000 Christopher Faylor <cgf@cygnus.com>
180
181 * setup.c (optionprompt): Don't overlap display of already seen options
182 on next page.
183 (geturl): Print name of site which we're connecting to rather than "ftp
184 site".
185 (processdirlisting): Avoid URLs that contain a /. or ./ . Is this
186 test too simplistic?
187 (do_start_menu): Use pathcat to build path to <root>\bin to avoid
188 problems when user chooses x:\ as their root.
189 (main): For now, default to "non-update" mode. Allow -u option to
190 signify an update.
191
192 Sat Apr 29 00:26:06 2000 Christopher Faylor <cgf@cygnus.com>
193
194 * pkg.c: New file.
195 * setup.c (tarx): Skip already installed or older packages. Report
196 when a package has been updated.
197 (processdirlisting): Skip already installed or older packages.
198 (main): Detect -f option for forced installation. Initialize pkg stuff
199 if appropriate.
200 * setup.h: Add pkg definitions.
201
202 Thu Apr 27 14:21:30 2000 Christopher Faylor <cgf@cygnus.com>
203
204 * setup.c (findhref): Return NULL on empty string. Eat any trailing
205 ";something".
206 (processdirlisting): Attempt to limit recursively processing the same
207 directory.
208
209 Thu Apr 27 11:42:23 2000 Christopher Faylor <cgf@cygnus.com>
210
211 * setup.c (filedel): New function.
212 (output_file): Keep track of files extracted from setup.exe for
213 subsequent deletion.
214 (tarx): Close process handle of child tar process or suffer handle
215 leak.
216 (getdownloadsource): Close mirror file so that it can be unlinked.
217 (processdirlisting): Return total number of files extracted.
218 (main): Initialize array of files to delete. Ensure that files are
219 closed on exit. Make the directory that setup.exe is started from ==
220 the directory where temporary files are placed. Issue an error if no
221 files were found to download.
222 * xsystem.c (xcreate_process): Close the thread handle. Close the
223 process handle if we waited for it to exit.
224
225 Thu Apr 27 09:54:19 2000 Christopher Faylor <cgf@cygnus.com>
226
227 * setup.c (main): Change version number output.
228
229 Thu Apr 27 09:23:17 2000 Christopher Faylor <cgf@cygnus.com>
230
231 * setup.c (tarx): Use full path name to tar executable.
232 (main): Build full pathname to tar executable. Create /usr/local/etc
233 by default.
234
235 Wed Apr 26 22:16:57 2000 Christopher Faylor <cgf@cygnus.com>
236
237 * setup.c (findhref): Change method for scanning for href= to choose
238 the last one on the line. This is still not foolproof and probably
239 will need to be changed eventually. Don't abort if no "size" field is
240 evident.
241 (processdirlisting): Fix boolean algebra.
242
243 Wed Apr 26 01:10:39 2000 Christopher Faylor <cgf@cygnus.com>
244
245 * main.c (tarx): Add some code for future task of unmounting
246 directories encountered in tar file.
247
248 Sat Apr 22 16:37:03 2000 Christopher Faylor <cgf@cygnus.com>
249
250 * setup.c (findhref): Decode file size, when appropriate.
251 (needfile): New function. Returns 1 when file should be
252 downloaded.
253 (processdirlisting): Always download if file size does not
254 match. Prompt when download fails for some reason.
255 (getdownloadsource): Accomodate findhref argument changes.
256
257 Sat Apr 22 15:13:42 2000 Christopher Faylor <cgf@cygnus.com>
258
259 Throughout, use global session handle rather than reinitializing for
260 each connect. Don't pass session as an argument to setup.c functions.
261 * setup.c (geturl): Only issue "Connecting to.." message when using
262 http or first time for ftp since subsequent connections will be fast.
263 (processdirlisting): Allocate space for "N" when user has specified
264 "N"ever option so that it can be subsequently freed.
265 (main): Abort if we can't get the list of mirrors.
266
267 Thu Apr 20 16:41:42 2000 Christopher Faylor <cgf@cygnus.com>
268
269 * setup.c (main): Umount /bin and /lib.
270
271 Wed Apr 19 13:34:44 2000 Christopher Faylor <cgf@cygnus.com>
272
273 * setup.c (main): Create an empty /var/run/utmp.
274
275 Tue Apr 18 19:16:56 2000 Christopher Faylor <cgf@cygnus.com>
276
277 * Makefile.in: Add umount to list of files to include in setup.exe.
278 * setup.c (xumount): New function for unmounting directories.
279 (main): Unmount /usr.
280 (mkmount): Unmount "unix directory" before trying to figure out where
281 to create the directory.
282
283 Tue Apr 18 17:28:55 2000 Christopher Faylor <cgf@cygnus.com>
284
285 * setup.c (mkmount): Use xcreate_process to start mount process,
286 avoiding the shell.
287 (main): Don't do buffering on stdout or prompts won't be displayed
288 correctly if running in a cygwin shell with CYGWIN=tty.
289
290 Tue Apr 18 15:35:19 2000 Christopher Faylor <cgf@cygnus.com>
291
292 * setup.c (main): Remove the CYGWIN environment variable before
293 starting any cygwin programs.
294
295 Mon Apr 17 19:20:52 2000 Vadim Egorov <egorovv@mailandnews.com>
296
297 * setup.c (geturl): Use alternative method for finding filename part of
298 a URL.
299 (processdirlisting): Accomodate strange output from non-MS ftp proxy.
300 (downloaddir): Unlink file containing dir listing.
301 (downloadfrom): Ditto.
302
303 Mon Apr 17 00:00:49 2000 Christopher Faylor <cgf@cygnus.com>
304
305 * setup.c (main): Disallow running setup.exe from the "root".
306
307 Sun Apr 16 18:50:58 2000 Christopher Faylor <cgf@cygnus.com>
308
309 Use "warning" function, where appropriate, to output warnings.
310 * setup.c (warning): New function -- outputs warning to console and log
311 file.
312 (tarx): Fix index used to reset file protection.
313 (main): Open the log file earlier so that more stuff can be sent to it.
314
315 Sat Apr 15 20:05:33 2000 Christopher Faylor <cgf@cygnus.com>
316
317 * setup.c (processdirlisting): Make "N" option a little less aggressive.
318
319 Fri Apr 14 11:11:29 2000 Christopher Faylor <cgf@cygnus.com>
320
321 * setup.c (tarx): Wait to after tar has completed to reset protections
322 or suffer races with tar process.
323
324 Thu Apr 13 12:51:19 2000 Christopher Faylor <cgf@cygnus.com>
325
326 * Makefile.in: Eliminate duplicate -nostdinc from CFLAGS.
327 * setup.c (create_uninstall): Create the uninstall .bat file in the
328 "root" so that we can remove the /bin directory. Add bin\cygwin.bat to
329 list of files to be deleted. Fix directory detection for determining
330 when to use 'rmdir'.
331 (do_start_menu): Add /usr/local/bin to the path.
332 (main): Add slop to files.array allocation so that we don't have to
333 worry about reallocating the array when it grows too large when doing
334 some trivial "pushes". Add /tmp and /usr/local/{bin,lib} to list of
335 files.
336
337 Thu Apr 13 01:59:44 2000 Christopher Faylor <cgf@cygnus.com>
338
339 * setup.c (processdirlisting): Fix handling of "A" for "A"lways
340 download.
341
342 Thu Apr 13 01:11:45 2000 Christopher Faylor <cgf@cygnus.com>
343
344 * path.c (kill_cygpath): New cleanup function.
345 (exit_cygpath): New cleanup function.
346 (cygpath_pipe): New function. Sets up cygpath in the background for
347 translating filenames.
348 (pathcvt): Use background cygpath for file translation.
349 * setup.c (tarx): New function. Called to extract tar files, capture
350 logging output, and translate it to Windows format.
351 (recurse_dirs): Use 'tarx' function to extract files.
352 (create_uninstall): Use file list built up by tarx rather than reading
353 the log file.
354 (mkmount): Add ability to mount root.
355 (main): Track elapsed install time. Mount root.
356 * starry.h: Add index field to strarry for tracking of tarx's usage of
357 this structure.
358 * xsystem.c (xcreate_process): Return proces handle when not waiting.
359
360 Mon Apr 10 22:44:56 2000 Christopher Faylor <cgf@cygnus.com>
361
362 * path.c: New file.
363 (pathfp): New function. Preliminary work for new -f cygpath
364 functionality.
365 * Makefile.in: Add new file.
366 (pathcvt): Move to new file.
367 (dtoupath): Ditto.
368 (utodpath): Ditto.
369 (pathcat): Ditto.
370 * setup.c (processdirlisting): Always open file in text mode.
371 (create_uninstall): Ditto.
372 (getdownloadsource): Ditto.
373 (main): Ditto.
374
375 Mon Apr 10 20:33:40 2000 Christopher Faylor <cgf@cygnus.com>
376
377 * xsystem.c: New file.
378 * Makefile.in: Accomodate new file.
379 * setup.c (xsystem): Move to new file.
380 (recurse_dirs): Accept handle to output log file. Don't use ">"
381 redirection to trap tar output. Use supplied handle instead.
382 (create_uninstall): Accept FILE pointer to opened log file. Don't
383 unlink log file here.
384 (do_start_menu): Accept FILE pointer to pass to create_uninstall.
385 (main): Open log file here and pass it to various functions. Unlink
386 when done.
387
388 Mon Apr 10 17:15:52 2000 Christopher Faylor <cgf@cygnus.com>
389
390 Change occurrences of .usr.bin to .bin throughout.
391 * setup.c (geturl): Increase number of retries to 20. Let user know
392 what's going on during long connects.
393 (processdirlisting): Accept "A"lways and "N"ever as update options.
394 (create_uninstall): Load cygwin1.dll from the current directory rather
395 than \bin.
396 (main): Add some expository text.
397
398 Sun Apr 9 20:59:15 2000 Christopher Faylor <cgf@cygnus.com>
399
400 * Makefile.in: Change method for compressing cygwin1.dll to avoid
401 creating a cygwin1.dll in the current directory. Ensure the addition
402 of -nostdinc to MINGW_CFLAGS.
403
404 Sun Apr 9 02:15:47 2000 Christopher Faylor <cgf@cygnus.com>
405
406 * Makefile.in: Augment clean target.
407
408 Fri Apr 7 17:04:02 Ron Parker <rdparker@sourceware.cygnus.com>
409
410 * README: Added info about non-working mingw implementation
411 * gzip.exe.gz: Replace with a version from the same build as the other
412 tools.
413 * tar.exe.gz: Replace with a version from the same build as the other
414 tools.
415 * mount.exe.gz: Add to repository until, mingw can build setup.
416 * cygpath.exe.gz: ditto
417 * cygwin1.dll.gz: ditto
418 * setup.c: Overwrite /bin and /lib mounts. Generate working shortcut
419 for Win9x. Display only a screenfull of options at a time. Call all
420 tools with an absolute path.
421 * setup.dsp: Restore the carriage returns, MS Developer Studio needs
422 them.
423 * setup.dsw: ditto
424 * zlib.dsw: ditto
425
426 Thu Apr 6 19:15:27 2000 Christopher Faylor <cgf@cygnus.com>
427
428 * Makefile.in: Add "-nostdinc" to regular CFLAGS. Add target to grab
429 cygwin1.dll from ../cygwin subdirectory.
430 * gzip.exe.gz: Update.
431 * tar.exe.gz: Update.
432
433 Wed Apr 5 10:52:08 2000 Christopher Faylor <cgf@cygnus.com>
434
435 * Makefile.in: Use ZLIB variable as a target.
436
437 Sat Apr 1 22:49:09 2000 Christopher Faylor <cgf@cygnus.com>
438
439 * Makefile.in: Eliminate traces of cygwinisms. Don't link with
440 libmsvcrt.a. It's unneeded. Build .rc file on the fly from various
441 sources.
442 * configure.in: Locate correct objcopy.
443 * configure: Regenerate.
444
445 Sat Apr 1 20:48:09 2000 Christopher Faylor <cgf@cygnus.com>
446
447 * Makefile.in: New file.
448 * configure.in: New file.
449 * configure: New file.
450 * zlib/Makefile.am: New file.
451 * zlib/configure.in: New file.
452 * zlib/aclocal.m4: New file.
453 * zlib/acinclude.m4: New file.
454 * zlib/configure: Regenerate from configure.in.
455 * zlib/Makefile.in: Regenerate from Makefile.am
This page took 0.060845 seconds and 6 git commands to generate.