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