1 Wed Nov 9 2:19:00 2000 Corinna Vinschen <vinschen@redhat.com>
3 * desktop.cc: Include "ini.h" and "version.h".
4 (make_passwd_group): Skip the function on 9x/ME boxes when an
5 older version of Cygwin has been installed which doesn't
6 support mkpasswd/mkgroup on 9x/ME.
7 * install.cc: Move the `LOOP_PACKAGES' and `pi' macros to...
10 Wed Nov 8 17:10:00 2000 Corinna Vinschen <vinschen@redhat.com>
12 * desktop.cc (make_passwd_group): Don't exit when started
13 on 9x/ME since mkpasswd/mkgroup are usable on 9x/ME now.
15 Sun Nov 5 12:51:42 2000 Jason Tishler <jt@dothill.com>
17 * install.cc (do_install): Add call to set_cygdrive_flags to sync
19 * mount.cc (set_cygdrive_flags): New function.
20 (get_cygdrive_flags): Ditto.
21 (default_cygdrive): Ditto.
22 (set_cygdrive_flags): Ditto.
23 * mount.h: Add prototype for set_cygdrive_flags.
25 2000-10-23 DJ Delorie <dj@redhat.com>
27 * ini.h: add source actions
28 * fromcwd.cc: check for available sources
29 * res.rc: add checkbox bitmaps
32 * choose.cc: add source column
33 * download.cc: download sources if called for
34 * install.cc: [un]install sources too
36 2000-10-22 DJ Delorie <dj@redhat.com>
38 * choose.cc (build_labels): Don't skip TRUST_PREV completely; only
39 ignore it wrt full_list if there's already a version installed.
40 (do_choose): Sort the list.
43 2000-10-12 DJ Delorie <dj@redhat.com>
45 * res.rc: Add more error strings.
47 * iniparse.y (new_package): re-initialize if needed.
48 * download.cc (do_download): Keep track of errors; notify and
50 * install.cc (do_install): Ditto.
52 2000-10-05 DJ Delorie <dj@redhat.com>
54 * Makefile.in: fix %.cc rule
56 2000-10-04 DJ Delorie <dj@redhat.com>
58 * desktop.cc: quote HOME and USER, don't . ./.profile
60 * choose.cc (build_labels): don't include in partial list just
61 because there's a *previous* version available.
63 * install.cc (do_install): if installing from local directory with
64 setup.ini and the file isn't found, look in "." also. Note errors.
66 2000-10-02 DJ Delorie <dj@redhat.com>
68 * ini.cc (do_ini): save setup.ini locally
70 2000-10-02 Chris Abbey <cabbey@bresnanlink.net>
72 * desktop.cc: quote escapes in prompt
74 2000-10-02 Jason Tishler <jt@dothill.com>
76 * root.cc (is_admin): New function.
77 (read_mount_table): Check for administrative priviledges and set
78 installation scope as appropriate.
80 2000-09-28 DJ Delorie <dj@redhat.com>
82 * nio-ftp.cc (ftp_line): handle continuations more robustly
84 2000-09-14 Brian Keener <bkeener@thesoftwaresource.com>
86 * res.rc: increased the size of the site dialog (IDD_SITE) & the
87 corresponding list box to provide for more URL's to be listed.
88 Modified the position of the Back, Next and Cancel buttons to
89 correspond to the new size of the dialog.
91 2000-09-13 DJ Delorie <dj@redhat.com>
93 * install.cc (do_install): update disk fullness once per package
94 to improve performance
96 * choose.cc (create_listview): call ReleaseDC
98 Mon Sep 11 22:40 2000 Harold L Hunt II <harold@compasstechnologies.com>
100 * mkdir.cc: Create directories when ERROR_FILE_NOT_FOUND is
101 returned, as it seems Samba 2.0.6+ returns this instead of
104 Mon Sep 11 19:35:24 2000 Christopher Faylor <cgf@cygnus.com>
106 * site.cc (get_initial_list_idx): Don't default to saved URL if it
109 2000-09-07 DJ Delorie <dj@redhat.com>
111 * splash.cc: use version.h, not local decl
112 * res.rc: add "old version" message
115 * fromcwd.cc (canonicalize_version): make global
116 * iniparse.y: add setup-version support, fix bug in blank line
119 * inilex.l: add [exp] as alias for [test], add setup-version
120 * Makefile.in (version.c): add setup-version tag
122 * desktop.cc (do_desktop): remove 1.1 version number
123 (do_desktop_setup): ditto
125 * ini.cc (do_ini): zero out package list just in case we redo it.
127 2000-09-07 Jeffrey Juliano <juliano@cs.unc.edu>
129 * choose.cc (list_click): Check for nindexes==0; if so, return.
131 2000-09-06 Andrej Borsenkow <Andrej.Borsenkow@mow.siemens.ru>
133 * localdir.cc: new, local package directory selection dialog; cd
134 into selected directory
135 * Makefile.in (OBJS): add localdir.o
136 * dialog.h: add prototype for do_local_dir
137 * main.cc (WinMain): initialize local_dir to cwd; add call to
139 * net.cc (dialog_cmd): make DO_LOCAL_DIR next dialog
140 * source.cc (dialog_cmd): ditto
141 * res.rc: add DO_LOCAL_DIR dialog; remove "current directory" from
142 presented choices in IDD_SOURCE; add IDS_ERR_CHDIR error string
143 * resource.h: defines for DO_LOCAL_DIR dialog; define IDS_ERR_CHDIR
144 * root.cc (dialog_cmd): make DO_LOCAL_DIR previous dialog
145 * state.h: add local_dir variable
147 2000-09-06 Brian Keener <bkeener@thesoftwaresource.com>
149 * desktop.cc: added logic to handle to the new dialog and to
150 default the setting for the new checkboxes based on whether the
151 desktop icon or start menu link already exist.
152 (desktop_icon): correction to desktop directories for desktop icon
153 creation. Additional logic added for Win95 which does not appear
154 to have Common Directories so if Common selected and null uses
156 (start_menu): Additional logic added for Win95 which does not
157 appear to have Common Directories so if Common selected and null
158 uses normal directory.
159 (do_desktop_setup): moved the saving of the icon, creation of the
160 bat file, profile, passwd, Start Menu link and desktop shortcut to
161 this method from do_desktop. Made the creation of the desktop
162 icon and start menu link conditional on settings of new dialog
164 * install.cc (do_install): changed next from IDD_S_DESKTOP to
166 * main.cc (WinMain): changed case IDD_S_DESKTOP to IDD_DESKTOP.
167 * res.rc: added new resource to create a desktop dialog with 2
168 checkboxes for creating the desktop icon and start menu link.
169 * resource.h: changed IDD_S_DESKTOP to IDD_DESKTOP and added two
170 new controls: IDC_ROOT_MENU and IDC_ROOT_DESKTOP for new dialog.
171 * state.h: added root_menu and root_desktop for use in dialog.
173 2000-08-29 DJ Delorie <dj@redhat.com>
175 * choose.cc (scan_downloaded_files): scan for existing files, so
176 that the user only sees new downloads.
178 * nio-ie5.cc (NetIO_IE5): pre-check for wininet.dll, enable dial-up
179 * site.cc (do_site): if we can't download the mirror list, go back
180 to the net setup box to choose another transport.
181 * autoload.c: add more functions
182 * Makefile.in (ALL_DEP_LDLIBS): remove wininet.a
183 * resource.h: add WININET message
185 * net.cc (do_net): no longer default to IE5
186 * simpsock.h (class SimpleSocket): new, simplify socket operations
188 * nio-http.h: new, for direct http protocol
190 * nio-ftp.h: new, for direct http protocol
192 * netio.cc (set_url): move initialization here to handle redirections
193 (open): add direct http/ftp
194 * netio.h (NetIO::set_url): new
196 * log.cc (log_save): create directory for log if needed
198 * hash.cc, hash.h: new
199 * Makefile: add hash.o
200 * choose.cc: enable "uninstall" option
201 * download.cc: invert action test to accomodate uninstalling
202 * ini.h: add ACTION_UNINSTALL
203 * install.cc: add uninstall functionality
204 * res.rc: make install tag changeable
205 * resource.h: add uninstall resources
207 * res.rc: update mirror list URL
209 2000-08-24 DJ Delorie <dj@redhat.com>
211 * log.cc, log.h: new files
212 * Makefile.in (OBJS): add log.o
213 * tar.cc: use exit_setup instead of exit
214 * dialog.cc (fatal): use exit_setup instead of ExitProcess
215 * msg.cc (fatal): ditto
216 * install.cc (dialog_cmd): ditto
217 * ini.cc (do_ini): ditto
218 * main.cc (main): add logging
219 * source.cc (do_source): ditto
220 * root.cc (do_source): ditto
221 * site.cc (do_site): ditto
222 * other.cc (do_other): ditto
223 * net.cc (do_net): ditto
224 * choose.cc (do_choose): ditto
225 * download.cc (do_download): ditto
226 * install.cc (do_install): ditto
227 * msg.cc (fatal): ditto
229 * res.rc: mark password boxes as *being* password boxes.
231 * fromcwd.cc (canonicalize_version): use multiple buffers so that multiple
232 calls won't use the same buffer.
233 * choose.cc (create_listview): don't default to full list if no changes
234 (base): return computed value, not temporary :-(
235 (do_choose): don't use installed.db if we're only downloading.
237 2000-08-23 DJ Delorie <dj@redhat.com>
239 * nio-ie5.cc (NetIO_IE5): Fix authentication logic
240 * nio-ie5.h (flush_io): new
241 * netio.cc (load_dialog): note when we're initializing the dialog
242 box, and ignore changes to the edit fields then.
244 2000-08-21 DJ Delorie <dj@redhat.com>
248 * fromcwd.cc (found_file): don't remember the canonicalized version
250 * choose.cc (paint): print "nothing to do" message when list is empty.
251 (build_labels): Use version "0.0" if no version is available.
252 (create_listview): default to full list if nothing to install/update.
253 (base): new, returns basename of file
254 (read_installed_db): compare base names, not full paths
256 2000-08-11 DJ Delorie <dj@redhat.com>
258 * choose.cc: add new chooser dialog
259 * fromcwd.cc: use IDD_CHOOSE
260 * ini.cc: use IDD_CHOOSE
261 * main.cc: use IDD_CHOOSE
262 * ini.h: cosmetic changes
263 * res.rc: add choose dialog, bitmaps
264 * choose-spin.bmp: new
265 * choose-rtarrow.bmp: new
266 * resource.h: add choose dialog controls
268 * mount.cc: remove debug statement
270 2000-08-08 DJ Delorie <dj@redhat.com>
272 * Makefile.in (version.c): make version checking more robust
273 * splash.cc (load_dialog): handle case where there's no version
275 2000-08-07 DJ Delorie <dj@redhat.com>
277 * (all): add cvsid tags
278 * Makefile.in: generate version.c from ChangeLog, add splash.o
280 * res.rc: add splash screen
282 2000-08-02 DJ Delorie <dj@redhat.com>
284 * net.cc: remove proxy password code
285 * res.rc: remove proxy user/pass from net, add auth dialogs
286 * netio.cc,h: add sys/proxy auth methods
287 * nio-ie5: use them, check for http status codes
288 * state.h: add system authorization
290 * concat.cc (concat): canonicalize x:// to x:/ (exception to ://
293 2000-08-02 Norman Vine <nhv@yahoo,com>
295 * msg.cc (mbox): added MB_TOPMOST to MessageBox type flags
297 2000-08-01 DJ Delorie <dj@redhat.com>
299 * postinstall.cc (each): don't rename files we ignore
300 (do_postinstall): set CYGWINROOT to root_dir, chdir there
302 * desktop.cc: have /etc/profile call ~/.profile and ~/.bashrc
304 2000-07-31 DJ Delorie <dj@redhat.com>
306 * desktop.cc: reverse PATH so /usr/bin precedes /bin
308 2000-07-18 DJ Delorie <dj@redhat.com>
310 * autoload.c: new, autoload dlls that might not be available.
311 * Makefile.in (OBJS): add autoload.o
313 * res.rc: rewrite root options (text/binary, system/user) to be
316 * site.cc (get_site_list): trim displayed URL, sort by domain
318 * net.cc (do_net): make IE5 default to checked, for now
320 * choose.cc (do_choose): sort packages correctly
321 * ini.cc (do_ini): handle parse errors more gracefully
323 (fprintf): line buffer output
324 (do_ini): if we can't load setup.ini, go back to the site list.
325 * ini.h: add "unknown" trust level
326 * inilex.l: absorb unknown trust levels and key/value pairs,
327 add line number logic
328 * iniparse.y: handle parse errors more gracefully.
329 * install.cc: skip packages with no valid install entry
331 2000-07-17 DJ Delorie <dj@cygnus.com>
333 * coding standards fixups, many files
334 * mkdir.cc: warn about deletions *before* deleting them
336 2000-07-17 Jeff Juliano <juliano@cs.unc.edu>
338 * res.rc (IDD_OTHER_URL): reorder to give default focus to entry
340 * other.cc (dialog_cmd): save download site URL
341 * site.cc (get_root_dir): new
342 (save_mirror_site): new
343 (dialog_cmd): save download site URL
344 (get_site_list): make list big enough to add prev site
345 (get_initial_list_idx): new, read last-used URL from file and
346 append it to site_list
347 (do_site): call get_initial_list_idx
349 * concat.cc (concat): avoid segfault when first parm is null
351 2000-07-13 DJ Delorie <dj@cygnus.com>
353 * postinstall.cc: new
354 * Makefile.in: add postinstall.o
355 * concat.h: add backslash ()
357 * desktop.cc (etc_profile): don't do postinstall
358 (backslash): moved to concat.cc
360 (make_postinstall_script): run directly
361 (do_desktop): chain to do_postinstall
362 * dialog.h: add exit_msg, do_postinstall
363 * download.cc: use exit_msg
365 * main.cc: add postinstall, exit_msg
366 * resource.h: add postinstall
367 * README: add more to-do items
369 2000-07-12 DJ Delorie <dj@cygnus.com>
371 * desktop.cc: add /etc/postinstall/ support
372 * install.cc: add more "standard" directories
374 2000-07-11 DJ Delorie <dj@cygnus.com>
376 * desktop.cc: create /etc/profile
377 * desktop.cc: fix include syntax
378 * Makefile.in: add auto-dependencies
379 * root.cc: support system vs user
387 * desktop.cc: make sure we use backslashes, not slashes.
388 * desktop.cc: don't set PATH in cygwin.bat, create /etc/passwd
389 * geturl.cc: change math for percentage to avoid overflow
391 * download.cc: post "download complete" message.
392 * root.cc: pre-fill in defaults if needed, don't start
393 browse at root_dir unless it's set.
394 * desktop.cc: quote $PATH in case it has spaces in it
396 2000-07-10 DJ Delorie <dj@cygnus.com>
398 * Makefile.in: add desktop.o and mklink2.o
399 * dialog.h: add do_desktop
400 * install.cc: create standard directories, call do_desktop
401 * res.rc: add cygwin.ico as a file also
402 * desktop.cc: new, do shortcuts, batch files, and icons
403 * mklink2.c: new, for COM
404 * README: update to-do list
406 2000-07-10 DJ Delorie <dj@cygnus.com>
408 * ini.cc (do_ini): don't worry about timestamps if we're not
411 2000-07-09 DJ Delorie <dj@cygnus.com>
413 * Makefile.in: add -I$(srcdir) for ini.h
415 2000-07-06 DJ Delorie <dj@cygnus.com>
417 * Replace everything with a new GUI version
418 * zlib/gzio.c: add gzctell() for progress displays
420 2000-06-22 DJ Delorie <dj@cygnus.com>
422 * setup.c (tarx): re-add call to write_pkg()
424 2000-06-07 DJ Delorie <dj@cygnus.com>
426 * cygcalls.c: new, call cygwin1.dll functions directly
427 * cygcalls.h: header for same
428 * Makefile.in: add cygcalls.[ch], remove mount/cygpath/umount
429 exes, fix cinstall.rc dependencies.
430 * path.c: remove unneeded code
431 * setup.c: use cygcalls instead of xcreate_process.
432 uncompress embedded files with zlib
433 add "-d" for "download only"
435 postpone mount changes until very end
436 add download progress indicators
437 pack multi-column listings more
438 auto-delete temp files
439 customize banner message according to options
440 prompt user for text/binary mounts
441 add warnings about empty setup directory, root installs, etc
443 2000-05-24 DJ Delorie <dj@cygnus.com>
445 * tar.c: New file; built-in tar using zlib.
446 * tar.h: New file; header for same.
447 * ctar.c: New file; test program for same.
448 * Makefile.in: add built-in tar, remove tar.exe and gzip.exe
449 * path.c (pathcat): convert slashes and canonicalize, instead of aborting
450 * setup.c (tarx): add support for built-in tar
451 (main): accept unix-style slashes, check root dir for drive letters,
452 warn about installing in /, make sure cwd is empty for internet installs,
453 defer mounts to end of install, support built-in tar.
455 Fri May 19 23:44:37 2000 Christopher Faylor <cgf@cygnus.com>
457 Fix compiler warnings throughout.
458 * pkg.c (init_pkgs): Make static 'stuff' global_pkgstuff for use in
460 * setup.c: Make 'root' global.
461 (istargz): Return pointer to "stem" of matched .tar.gz file.
462 (tarx): Special case cygwin-20000301 to == cygwin-1.1.0.tar.gz. Remove
463 bogus check_for_installed check.
464 (recurse_dirs): Add preliminary support for .bat file execution.
465 (create_uninstall): Eliminate unneeded parameter.
466 (do_start_menu): Ditto.
468 (get_pkg_stuff): Ditto. Check for currently installed cygwin by
469 scanning for the version number. Eliminate unneeded argument to
471 (getdownloadsource): Add 'name' to list of names rather than url.
472 (main): Eliminate unneeded argument in get_pkg_stuff. Eliminate
473 unneeded argument in mkmount and do_start_menu.
475 2000-05-18 DJ Delorie <dj@cygnus.com>
477 * setup.c (optionprompt): allow multi-column, clean up message
478 about more options, be more robust about user input.
479 (getdownloadsource): make the mirror URL a macro.
480 (main): do mounts after done prompting user.
482 Tue May 2 00:56:41 2000 Christopher Faylor <cgf@cygnus.com>
484 * setup.c (cleanup): Inverse order of deletion stands a better chance
485 of deleting cygpath.exe. Still seems to suffer from occasional races,
487 (cleanup_on_signal): Perform convoluted dance to accomodate win95 and
489 (output_file): Defend against an unlikely handle leak.
490 (main): Don't set up signal handling until we have something special to
493 Mon May 1 17:56:32 2000 Christopher Faylor <cgf@cygnus.com>
495 * path.c (kill_cygpath): Delete function.
496 (exit_cygpath): Make more defensive so that it can be called at any
498 (cygpath_pipe): Don't set up signal here. Do it in main().
499 * setup.c (istargz): New function.
500 (recurse_dirs): Look for *.gz pattern rather than *tar.gz since *tar.gz
501 inexplicably fails on samba mounted partitions. Use istargz to match
503 (processdirlisting) Use istargz to match tar.gz tail.
504 (cleanup): Renamed from filedel.
505 (cleanup_on_signal): New function. Called on CTRL-C.
506 (main): Record handle of main thread so that it can be suspended when
507 CTRL-C occurs. Set up cleanup_on_signal signal handler.
509 Mon May 1 11:05:07 2000 Christopher Faylor <cgf@cygnus.com>
511 * setup.c (do_start_menu): Don't concatenate paths to already built
514 Sun Apr 30 22:37:34 2000 Christopher Faylor <cgf@cygnus.com>
516 * path.c (exit_cygpath): Wait for subprocess to exit before returning.
517 (cygpath_pipe): Don't call exit_cygpath. Let main atexit routine do
519 * pkg.c (init_pkgs): Accept root argument. Make registry key "cygwin
521 * setup.c (filedel): Call exit_cygpath here so that we can be assured
522 that cygpath subprocess has died. This allows us to delete cygpath.exe
524 (optionprompt): Initialize response to -1 so that second screen of
526 (get_pkg_stuff): Don't attempt to use HKCLU. Pass root to init_pkgs.
527 * setup.h: Reflect init_pkgs prototype change.
529 Sat Apr 29 23:53:30 2000 Christopher Faylor <cgf@cygnus.com>
531 * pkg.c (init_pkgs): Accept an argument to control what root registry
533 * setup.c (get_pkg_stuff): Use HKCLU registry key if default fails.
534 * setup.h: Reflect init_pkgs prototype change.
536 Sat Apr 29 23:27:14 2000 Christopher Faylor <cgf@cygnus.com>
538 * error.c (winerror): Respond to gcc warning.
539 * path.c (cygpath_pipe): Ditto.
540 * setup.c (filedel): Call sa_cleanup on deleteme.
541 (create_shortcut): Coerce argument to eliminate compiler warning.
542 (tarx): Use installed version of cygwin1.dll, overriding tar file name.
543 (refmatches): New function. Tests if ref is contained in a list of
545 (filematches): New function. Tests if filename matches one of a list
546 of packages to install.
547 (recurse_dirs): Accept list of packages to install. Generalize tar.gz
548 test to accomodate _tar.gz.
549 (prompt): Ensure that stdout is flushed prior to asking for input.
550 (findhref): Initialize variables to quiet a compiler warning.
551 (processdirlisting): Accept list of packages to install. Special case
552 cygwin tar file version number.
553 (downloaddir): Accept list of packages to install.
554 (downloadfrom): Ditto.
555 (create_uninstall): Eliminate unneeded variables. Quote arguments to
557 (do_start_menu): Don't create uninstall bat file if updating or user
558 specified a list of packages.
559 (mkmount): Eliminate unneeded variables.
560 (get_pkg_stuff): New function. Checks for previous unversioned
562 (main): Accept -u and -f options and package names on the command line.
563 Use get_pkg_stuff to initialize package information. Umount /etc.
564 Call recurse_dirs and downloadfrom with list of package to install.
565 Ensure that all /usr/local directories are created. Output
566 installation time to setup.log.
567 * setup.h: Add some prototypes.
568 * xsystem.c (xcreate_process): Eliminate unneeded variable.
570 Sat Apr 29 12:43:08 2000 Christopher Faylor <cgf@cygnus.com>
572 * setup.c (optionprompt): Don't overlap display of already seen options
574 (geturl): Print name of site which we're connecting to rather than "ftp
576 (processdirlisting): Avoid URLs that contain a /. or ./ . Is this
578 (do_start_menu): Use pathcat to build path to <root>\bin to avoid
579 problems when user chooses x:\ as their root.
580 (main): For now, default to "non-update" mode. Allow -u option to
583 Sat Apr 29 00:26:06 2000 Christopher Faylor <cgf@cygnus.com>
586 * setup.c (tarx): Skip already installed or older packages. Report
587 when a package has been updated.
588 (processdirlisting): Skip already installed or older packages.
589 (main): Detect -f option for forced installation. Initialize pkg stuff
591 * setup.h: Add pkg definitions.
593 Thu Apr 27 14:21:30 2000 Christopher Faylor <cgf@cygnus.com>
595 * setup.c (findhref): Return NULL on empty string. Eat any trailing
597 (processdirlisting): Attempt to limit recursively processing the same
600 Thu Apr 27 11:42:23 2000 Christopher Faylor <cgf@cygnus.com>
602 * setup.c (filedel): New function.
603 (output_file): Keep track of files extracted from setup.exe for
605 (tarx): Close process handle of child tar process or suffer handle
607 (getdownloadsource): Close mirror file so that it can be unlinked.
608 (processdirlisting): Return total number of files extracted.
609 (main): Initialize array of files to delete. Ensure that files are
610 closed on exit. Make the directory that setup.exe is started from ==
611 the directory where temporary files are placed. Issue an error if no
612 files were found to download.
613 * xsystem.c (xcreate_process): Close the thread handle. Close the
614 process handle if we waited for it to exit.
616 Thu Apr 27 09:54:19 2000 Christopher Faylor <cgf@cygnus.com>
618 * setup.c (main): Change version number output.
620 Thu Apr 27 09:23:17 2000 Christopher Faylor <cgf@cygnus.com>
622 * setup.c (tarx): Use full path name to tar executable.
623 (main): Build full pathname to tar executable. Create /usr/local/etc
626 Wed Apr 26 22:16:57 2000 Christopher Faylor <cgf@cygnus.com>
628 * setup.c (findhref): Change method for scanning for href= to choose
629 the last one on the line. This is still not foolproof and probably
630 will need to be changed eventually. Don't abort if no "size" field is
632 (processdirlisting): Fix boolean algebra.
634 Wed Apr 26 01:10:39 2000 Christopher Faylor <cgf@cygnus.com>
636 * main.c (tarx): Add some code for future task of unmounting
637 directories encountered in tar file.
639 Sat Apr 22 16:37:03 2000 Christopher Faylor <cgf@cygnus.com>
641 * setup.c (findhref): Decode file size, when appropriate.
642 (needfile): New function. Returns 1 when file should be
644 (processdirlisting): Always download if file size does not
645 match. Prompt when download fails for some reason.
646 (getdownloadsource): Accomodate findhref argument changes.
648 Sat Apr 22 15:13:42 2000 Christopher Faylor <cgf@cygnus.com>
650 Throughout, use global session handle rather than reinitializing for
651 each connect. Don't pass session as an argument to setup.c functions.
652 * setup.c (geturl): Only issue "Connecting to.." message when using
653 http or first time for ftp since subsequent connections will be fast.
654 (processdirlisting): Allocate space for "N" when user has specified
655 "N"ever option so that it can be subsequently freed.
656 (main): Abort if we can't get the list of mirrors.
658 Thu Apr 20 16:41:42 2000 Christopher Faylor <cgf@cygnus.com>
660 * setup.c (main): Umount /bin and /lib.
662 Wed Apr 19 13:34:44 2000 Christopher Faylor <cgf@cygnus.com>
664 * setup.c (main): Create an empty /var/run/utmp.
666 Tue Apr 18 19:16:56 2000 Christopher Faylor <cgf@cygnus.com>
668 * Makefile.in: Add umount to list of files to include in setup.exe.
669 * setup.c (xumount): New function for unmounting directories.
670 (main): Unmount /usr.
671 (mkmount): Unmount "unix directory" before trying to figure out where
672 to create the directory.
674 Tue Apr 18 17:28:55 2000 Christopher Faylor <cgf@cygnus.com>
676 * setup.c (mkmount): Use xcreate_process to start mount process,
678 (main): Don't do buffering on stdout or prompts won't be displayed
679 correctly if running in a cygwin shell with CYGWIN=tty.
681 Tue Apr 18 15:35:19 2000 Christopher Faylor <cgf@cygnus.com>
683 * setup.c (main): Remove the CYGWIN environment variable before
684 starting any cygwin programs.
686 Mon Apr 17 19:20:52 2000 Vadim Egorov <egorovv@mailandnews.com>
688 * setup.c (geturl): Use alternative method for finding filename part of
690 (processdirlisting): Accomodate strange output from non-MS ftp proxy.
691 (downloaddir): Unlink file containing dir listing.
692 (downloadfrom): Ditto.
694 Mon Apr 17 00:00:49 2000 Christopher Faylor <cgf@cygnus.com>
696 * setup.c (main): Disallow running setup.exe from the "root".
698 Sun Apr 16 18:50:58 2000 Christopher Faylor <cgf@cygnus.com>
700 Use "warning" function, where appropriate, to output warnings.
701 * setup.c (warning): New function -- outputs warning to console and log
703 (tarx): Fix index used to reset file protection.
704 (main): Open the log file earlier so that more stuff can be sent to it.
706 Sat Apr 15 20:05:33 2000 Christopher Faylor <cgf@cygnus.com>
708 * setup.c (processdirlisting): Make "N" option a little less aggressive.
710 Fri Apr 14 11:11:29 2000 Christopher Faylor <cgf@cygnus.com>
712 * setup.c (tarx): Wait to after tar has completed to reset protections
713 or suffer races with tar process.
715 Thu Apr 13 12:51:19 2000 Christopher Faylor <cgf@cygnus.com>
717 * Makefile.in: Eliminate duplicate -nostdinc from CFLAGS.
718 * setup.c (create_uninstall): Create the uninstall .bat file in the
719 "root" so that we can remove the /bin directory. Add bin\cygwin.bat to
720 list of files to be deleted. Fix directory detection for determining
722 (do_start_menu): Add /usr/local/bin to the path.
723 (main): Add slop to files.array allocation so that we don't have to
724 worry about reallocating the array when it grows too large when doing
725 some trivial "pushes". Add /tmp and /usr/local/{bin,lib} to list of
728 Thu Apr 13 01:59:44 2000 Christopher Faylor <cgf@cygnus.com>
730 * setup.c (processdirlisting): Fix handling of "A" for "A"lways
733 Thu Apr 13 01:11:45 2000 Christopher Faylor <cgf@cygnus.com>
735 * path.c (kill_cygpath): New cleanup function.
736 (exit_cygpath): New cleanup function.
737 (cygpath_pipe): New function. Sets up cygpath in the background for
738 translating filenames.
739 (pathcvt): Use background cygpath for file translation.
740 * setup.c (tarx): New function. Called to extract tar files, capture
741 logging output, and translate it to Windows format.
742 (recurse_dirs): Use 'tarx' function to extract files.
743 (create_uninstall): Use file list built up by tarx rather than reading
745 (mkmount): Add ability to mount root.
746 (main): Track elapsed install time. Mount root.
747 * starry.h: Add index field to strarry for tracking of tarx's usage of
749 * xsystem.c (xcreate_process): Return proces handle when not waiting.
751 Mon Apr 10 22:44:56 2000 Christopher Faylor <cgf@cygnus.com>
754 (pathfp): New function. Preliminary work for new -f cygpath
756 * Makefile.in: Add new file.
757 (pathcvt): Move to new file.
761 * setup.c (processdirlisting): Always open file in text mode.
762 (create_uninstall): Ditto.
763 (getdownloadsource): Ditto.
766 Mon Apr 10 20:33:40 2000 Christopher Faylor <cgf@cygnus.com>
768 * xsystem.c: New file.
769 * Makefile.in: Accomodate new file.
770 * setup.c (xsystem): Move to new file.
771 (recurse_dirs): Accept handle to output log file. Don't use ">"
772 redirection to trap tar output. Use supplied handle instead.
773 (create_uninstall): Accept FILE pointer to opened log file. Don't
774 unlink log file here.
775 (do_start_menu): Accept FILE pointer to pass to create_uninstall.
776 (main): Open log file here and pass it to various functions. Unlink
779 Mon Apr 10 17:15:52 2000 Christopher Faylor <cgf@cygnus.com>
781 Change occurrences of .usr.bin to .bin throughout.
782 * setup.c (geturl): Increase number of retries to 20. Let user know
783 what's going on during long connects.
784 (processdirlisting): Accept "A"lways and "N"ever as update options.
785 (create_uninstall): Load cygwin1.dll from the current directory rather
787 (main): Add some expository text.
789 Sun Apr 9 20:59:15 2000 Christopher Faylor <cgf@cygnus.com>
791 * Makefile.in: Change method for compressing cygwin1.dll to avoid
792 creating a cygwin1.dll in the current directory. Ensure the addition
793 of -nostdinc to MINGW_CFLAGS.
795 Sun Apr 9 02:15:47 2000 Christopher Faylor <cgf@cygnus.com>
797 * Makefile.in: Augment clean target.
799 Fri Apr 7 17:04:02 Ron Parker <rdparker@sourceware.cygnus.com>
801 * README: Added info about non-working mingw implementation
802 * gzip.exe.gz: Replace with a version from the same build as the other
804 * tar.exe.gz: Replace with a version from the same build as the other
806 * mount.exe.gz: Add to repository until, mingw can build setup.
807 * cygpath.exe.gz: ditto
808 * cygwin1.dll.gz: ditto
809 * setup.c: Overwrite /bin and /lib mounts. Generate working shortcut
810 for Win9x. Display only a screenfull of options at a time. Call all
811 tools with an absolute path.
812 * setup.dsp: Restore the carriage returns, MS Developer Studio needs
817 Thu Apr 6 19:15:27 2000 Christopher Faylor <cgf@cygnus.com>
819 * Makefile.in: Add "-nostdinc" to regular CFLAGS. Add target to grab
820 cygwin1.dll from ../cygwin subdirectory.
821 * gzip.exe.gz: Update.
822 * tar.exe.gz: Update.
824 Wed Apr 5 10:52:08 2000 Christopher Faylor <cgf@cygnus.com>
826 * Makefile.in: Use ZLIB variable as a target.
828 Sat Apr 1 22:49:09 2000 Christopher Faylor <cgf@cygnus.com>
830 * Makefile.in: Eliminate traces of cygwinisms. Don't link with
831 libmsvcrt.a. It's unneeded. Build .rc file on the fly from various
833 * configure.in: Locate correct objcopy.
834 * configure: Regenerate.
836 Sat Apr 1 20:48:09 2000 Christopher Faylor <cgf@cygnus.com>
838 * Makefile.in: New file.
839 * configure.in: New file.
840 * configure: New file.
841 * zlib/Makefile.am: New file.
842 * zlib/configure.in: New file.
843 * zlib/aclocal.m4: New file.
844 * zlib/acinclude.m4: New file.
845 * zlib/configure: Regenerate from configure.in.
846 * zlib/Makefile.in: Regenerate from Makefile.am