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