1 2000-10-12 DJ Delorie <dj@redhat.com>
3 * res.rc: Add more error strings.
5 * iniparse.y (new_package): re-initialize if needed.
6 * download.cc (do_download): Keep track of errors; notify and
8 * install.cc (do_install): Ditto.
10 2000-10-05 DJ Delorie <dj@redhat.com>
12 * Makefile.in: fix %.cc rule
14 2000-10-04 DJ Delorie <dj@redhat.com>
16 * desktop.cc: quote HOME and USER, don't . ./.profile
18 * choose.cc (build_labels): don't include in partial list just
19 because there's a *previous* version available.
21 * install.cc (do_install): if installing from local directory with
22 setup.ini and the file isn't found, look in "." also. Note errors.
24 2000-10-02 DJ Delorie <dj@redhat.com>
26 * ini.cc (do_ini): save setup.ini locally
28 2000-10-02 Chris Abbey <cabbey@bresnanlink.net>
30 * desktop.cc: quote escapes in prompt
32 2000-10-02 Jason Tishler <jt@dothill.com>
34 * root.cc (is_admin): New function.
35 (read_mount_table): Check for administrative priviledges and set
36 installation scope as appropriate.
38 2000-09-28 DJ Delorie <dj@redhat.com>
40 * nio-ftp.cc (ftp_line): handle continuations more robustly
42 2000-09-14 Brian Keener <bkeener@thesoftwaresource.com>
44 * res.rc: increased the size of the site dialog (IDD_SITE) & the
45 corresponding list box to provide for more URL's to be listed.
46 Modified the position of the Back, Next and Cancel buttons to
47 correspond to the new size of the dialog.
49 2000-09-13 DJ Delorie <dj@redhat.com>
51 * install.cc (do_install): update disk fullness once per package
52 to improve performance
54 * choose.cc (create_listview): call ReleaseDC
56 Mon Sep 11 22:40 2000 Harold L Hunt II <harold@compasstechnologies.com>
58 * mkdir.cc: Create directories when ERROR_FILE_NOT_FOUND is
59 returned, as it seems Samba 2.0.6+ returns this instead of
62 Mon Sep 11 19:35:24 2000 Christopher Faylor <cgf@cygnus.com>
64 * site.cc (get_initial_list_idx): Don't default to saved URL if it
67 2000-09-07 DJ Delorie <dj@redhat.com>
69 * splash.cc: use version.h, not local decl
70 * res.rc: add "old version" message
73 * fromcwd.cc (canonicalize_version): make global
74 * iniparse.y: add setup-version support, fix bug in blank line
77 * inilex.l: add [exp] as alias for [test], add setup-version
78 * Makefile.in (version.c): add setup-version tag
80 * desktop.cc (do_desktop): remove 1.1 version number
81 (do_desktop_setup): ditto
83 * ini.cc (do_ini): zero out package list just in case we redo it.
85 2000-09-07 Jeffrey Juliano <juliano@cs.unc.edu>
87 * choose.cc (list_click): Check for nindexes==0; if so, return.
89 2000-09-06 Andrej Borsenkow <Andrej.Borsenkow@mow.siemens.ru>
91 * localdir.cc: new, local package directory selection dialog; cd
92 into selected directory
93 * Makefile.in (OBJS): add localdir.o
94 * dialog.h: add prototype for do_local_dir
95 * main.cc (WinMain): initialize local_dir to cwd; add call to
97 * net.cc (dialog_cmd): make DO_LOCAL_DIR next dialog
98 * source.cc (dialog_cmd): ditto
99 * res.rc: add DO_LOCAL_DIR dialog; remove "current directory" from
100 presented choices in IDD_SOURCE; add IDS_ERR_CHDIR error string
101 * resource.h: defines for DO_LOCAL_DIR dialog; define IDS_ERR_CHDIR
102 * root.cc (dialog_cmd): make DO_LOCAL_DIR previous dialog
103 * state.h: add local_dir variable
105 2000-09-06 Brian Keener <bkeener@thesoftwaresource.com>
107 * desktop.cc: added logic to handle to the new dialog and to
108 default the setting for the new checkboxes based on whether the
109 desktop icon or start menu link already exist.
110 (desktop_icon): correction to desktop directories for desktop icon
111 creation. Additional logic added for Win95 which does not appear
112 to have Common Directories so if Common selected and null uses
114 (start_menu): Additional logic added for Win95 which does not
115 appear to have Common Directories so if Common selected and null
116 uses normal directory.
117 (do_desktop_setup): moved the saving of the icon, creation of the
118 bat file, profile, passwd, Start Menu link and desktop shortcut to
119 this method from do_desktop. Made the creation of the desktop
120 icon and start menu link conditional on settings of new dialog
122 * install.cc (do_install): changed next from IDD_S_DESKTOP to
124 * main.cc (WinMain): changed case IDD_S_DESKTOP to IDD_DESKTOP.
125 * res.rc: added new resource to create a desktop dialog with 2
126 checkboxes for creating the desktop icon and start menu link.
127 * resource.h: changed IDD_S_DESKTOP to IDD_DESKTOP and added two
128 new controls: IDC_ROOT_MENU and IDC_ROOT_DESKTOP for new dialog.
129 * state.h: added root_menu and root_desktop for use in dialog.
131 2000-08-29 DJ Delorie <dj@redhat.com>
133 * choose.cc (scan_downloaded_files): scan for existing files, so
134 that the user only sees new downloads.
136 * nio-ie5.cc (NetIO_IE5): pre-check for wininet.dll, enable dial-up
137 * site.cc (do_site): if we can't download the mirror list, go back
138 to the net setup box to choose another transport.
139 * autoload.c: add more functions
140 * Makefile.in (ALL_DEP_LDLIBS): remove wininet.a
141 * resource.h: add WININET message
143 * net.cc (do_net): no longer default to IE5
144 * simpsock.h (class SimpleSocket): new, simplify socket operations
146 * nio-http.h: new, for direct http protocol
148 * nio-ftp.h: new, for direct http protocol
150 * netio.cc (set_url): move initialization here to handle redirections
151 (open): add direct http/ftp
152 * netio.h (NetIO::set_url): new
154 * log.cc (log_save): create directory for log if needed
156 * hash.cc, hash.h: new
157 * Makefile: add hash.o
158 * choose.cc: enable "uninstall" option
159 * download.cc: invert action test to accomodate uninstalling
160 * ini.h: add ACTION_UNINSTALL
161 * install.cc: add uninstall functionality
162 * res.rc: make install tag changeable
163 * resource.h: add uninstall resources
165 * res.rc: update mirror list URL
167 2000-08-24 DJ Delorie <dj@redhat.com>
169 * log.cc, log.h: new files
170 * Makefile.in (OBJS): add log.o
171 * tar.cc: use exit_setup instead of exit
172 * dialog.cc (fatal): use exit_setup instead of ExitProcess
173 * msg.cc (fatal): ditto
174 * install.cc (dialog_cmd): ditto
175 * ini.cc (do_ini): ditto
176 * main.cc (main): add logging
177 * source.cc (do_source): ditto
178 * root.cc (do_source): ditto
179 * site.cc (do_site): ditto
180 * other.cc (do_other): ditto
181 * net.cc (do_net): ditto
182 * choose.cc (do_choose): ditto
183 * download.cc (do_download): ditto
184 * install.cc (do_install): ditto
185 * msg.cc (fatal): ditto
187 * res.rc: mark password boxes as *being* password boxes.
189 * fromcwd.cc (canonicalize_version): use multiple buffers so that multiple
190 calls won't use the same buffer.
191 * choose.cc (create_listview): don't default to full list if no changes
192 (base): return computed value, not temporary :-(
193 (do_choose): don't use installed.db if we're only downloading.
195 2000-08-23 DJ Delorie <dj@redhat.com>
197 * nio-ie5.cc (NetIO_IE5): Fix authentication logic
198 * nio-ie5.h (flush_io): new
199 * netio.cc (load_dialog): note when we're initializing the dialog
200 box, and ignore changes to the edit fields then.
202 2000-08-21 DJ Delorie <dj@redhat.com>
206 * fromcwd.cc (found_file): don't remember the canonicalized version
208 * choose.cc (paint): print "nothing to do" message when list is empty.
209 (build_labels): Use version "0.0" if no version is available.
210 (create_listview): default to full list if nothing to install/update.
211 (base): new, returns basename of file
212 (read_installed_db): compare base names, not full paths
214 2000-08-11 DJ Delorie <dj@redhat.com>
216 * choose.cc: add new chooser dialog
217 * fromcwd.cc: use IDD_CHOOSE
218 * ini.cc: use IDD_CHOOSE
219 * main.cc: use IDD_CHOOSE
220 * ini.h: cosmetic changes
221 * res.rc: add choose dialog, bitmaps
222 * choose-spin.bmp: new
223 * choose-rtarrow.bmp: new
224 * resource.h: add choose dialog controls
226 * mount.cc: remove debug statement
228 2000-08-08 DJ Delorie <dj@redhat.com>
230 * Makefile.in (version.c): make version checking more robust
231 * splash.cc (load_dialog): handle case where there's no version
233 2000-08-07 DJ Delorie <dj@redhat.com>
235 * (all): add cvsid tags
236 * Makefile.in: generate version.c from ChangeLog, add splash.o
238 * res.rc: add splash screen
240 2000-08-02 DJ Delorie <dj@redhat.com>
242 * net.cc: remove proxy password code
243 * res.rc: remove proxy user/pass from net, add auth dialogs
244 * netio.cc,h: add sys/proxy auth methods
245 * nio-ie5: use them, check for http status codes
246 * state.h: add system authorization
248 * concat.cc (concat): canonicalize x:// to x:/ (exception to ://
251 2000-08-02 Norman Vine <nhv@yahoo,com>
253 * msg.cc (mbox): added MB_TOPMOST to MessageBox type flags
255 2000-08-01 DJ Delorie <dj@redhat.com>
257 * postinstall.cc (each): don't rename files we ignore
258 (do_postinstall): set CYGWINROOT to root_dir, chdir there
260 * desktop.cc: have /etc/profile call ~/.profile and ~/.bashrc
262 2000-07-31 DJ Delorie <dj@redhat.com>
264 * desktop.cc: reverse PATH so /usr/bin precedes /bin
266 2000-07-18 DJ Delorie <dj@redhat.com>
268 * autoload.c: new, autoload dlls that might not be available.
269 * Makefile.in (OBJS): add autoload.o
271 * res.rc: rewrite root options (text/binary, system/user) to be
274 * site.cc (get_site_list): trim displayed URL, sort by domain
276 * net.cc (do_net): make IE5 default to checked, for now
278 * choose.cc (do_choose): sort packages correctly
279 * ini.cc (do_ini): handle parse errors more gracefully
281 (fprintf): line buffer output
282 (do_ini): if we can't load setup.ini, go back to the site list.
283 * ini.h: add "unknown" trust level
284 * inilex.l: absorb unknown trust levels and key/value pairs,
285 add line number logic
286 * iniparse.y: handle parse errors more gracefully.
287 * install.cc: skip packages with no valid install entry
289 2000-07-17 DJ Delorie <dj@cygnus.com>
291 * coding standards fixups, many files
292 * mkdir.cc: warn about deletions *before* deleting them
294 2000-07-17 Jeff Juliano <juliano@cs.unc.edu>
296 * res.rc (IDD_OTHER_URL): reorder to give default focus to entry
298 * other.cc (dialog_cmd): save download site URL
299 * site.cc (get_root_dir): new
300 (save_mirror_site): new
301 (dialog_cmd): save download site URL
302 (get_site_list): make list big enough to add prev site
303 (get_initial_list_idx): new, read last-used URL from file and
304 append it to site_list
305 (do_site): call get_initial_list_idx
307 * concat.cc (concat): avoid segfault when first parm is null
309 2000-07-13 DJ Delorie <dj@cygnus.com>
311 * postinstall.cc: new
312 * Makefile.in: add postinstall.o
313 * concat.h: add backslash ()
315 * desktop.cc (etc_profile): don't do postinstall
316 (backslash): moved to concat.cc
318 (make_postinstall_script): run directly
319 (do_desktop): chain to do_postinstall
320 * dialog.h: add exit_msg, do_postinstall
321 * download.cc: use exit_msg
323 * main.cc: add postinstall, exit_msg
324 * resource.h: add postinstall
325 * README: add more to-do items
327 2000-07-12 DJ Delorie <dj@cygnus.com>
329 * desktop.cc: add /etc/postinstall/ support
330 * install.cc: add more "standard" directories
332 2000-07-11 DJ Delorie <dj@cygnus.com>
334 * desktop.cc: create /etc/profile
335 * desktop.cc: fix include syntax
336 * Makefile.in: add auto-dependencies
337 * root.cc: support system vs user
345 * desktop.cc: make sure we use backslashes, not slashes.
346 * desktop.cc: don't set PATH in cygwin.bat, create /etc/passwd
347 * geturl.cc: change math for percentage to avoid overflow
349 * download.cc: post "download complete" message.
350 * root.cc: pre-fill in defaults if needed, don't start
351 browse at root_dir unless it's set.
352 * desktop.cc: quote $PATH in case it has spaces in it
354 2000-07-10 DJ Delorie <dj@cygnus.com>
356 * Makefile.in: add desktop.o and mklink2.o
357 * dialog.h: add do_desktop
358 * install.cc: create standard directories, call do_desktop
359 * res.rc: add cygwin.ico as a file also
360 * desktop.cc: new, do shortcuts, batch files, and icons
361 * mklink2.c: new, for COM
362 * README: update to-do list
364 2000-07-10 DJ Delorie <dj@cygnus.com>
366 * ini.cc (do_ini): don't worry about timestamps if we're not
369 2000-07-09 DJ Delorie <dj@cygnus.com>
371 * Makefile.in: add -I$(srcdir) for ini.h
373 2000-07-06 DJ Delorie <dj@cygnus.com>
375 * Replace everything with a new GUI version
376 * zlib/gzio.c: add gzctell() for progress displays
378 2000-06-22 DJ Delorie <dj@cygnus.com>
380 * setup.c (tarx): re-add call to write_pkg()
382 2000-06-07 DJ Delorie <dj@cygnus.com>
384 * cygcalls.c: new, call cygwin1.dll functions directly
385 * cygcalls.h: header for same
386 * Makefile.in: add cygcalls.[ch], remove mount/cygpath/umount
387 exes, fix cinstall.rc dependencies.
388 * path.c: remove unneeded code
389 * setup.c: use cygcalls instead of xcreate_process.
390 uncompress embedded files with zlib
391 add "-d" for "download only"
393 postpone mount changes until very end
394 add download progress indicators
395 pack multi-column listings more
396 auto-delete temp files
397 customize banner message according to options
398 prompt user for text/binary mounts
399 add warnings about empty setup directory, root installs, etc
401 2000-05-24 DJ Delorie <dj@cygnus.com>
403 * tar.c: New file; built-in tar using zlib.
404 * tar.h: New file; header for same.
405 * ctar.c: New file; test program for same.
406 * Makefile.in: add built-in tar, remove tar.exe and gzip.exe
407 * path.c (pathcat): convert slashes and canonicalize, instead of aborting
408 * setup.c (tarx): add support for built-in tar
409 (main): accept unix-style slashes, check root dir for drive letters,
410 warn about installing in /, make sure cwd is empty for internet installs,
411 defer mounts to end of install, support built-in tar.
413 Fri May 19 23:44:37 2000 Christopher Faylor <cgf@cygnus.com>
415 Fix compiler warnings throughout.
416 * pkg.c (init_pkgs): Make static 'stuff' global_pkgstuff for use in
418 * setup.c: Make 'root' global.
419 (istargz): Return pointer to "stem" of matched .tar.gz file.
420 (tarx): Special case cygwin-20000301 to == cygwin-1.1.0.tar.gz. Remove
421 bogus check_for_installed check.
422 (recurse_dirs): Add preliminary support for .bat file execution.
423 (create_uninstall): Eliminate unneeded parameter.
424 (do_start_menu): Ditto.
426 (get_pkg_stuff): Ditto. Check for currently installed cygwin by
427 scanning for the version number. Eliminate unneeded argument to
429 (getdownloadsource): Add 'name' to list of names rather than url.
430 (main): Eliminate unneeded argument in get_pkg_stuff. Eliminate
431 unneeded argument in mkmount and do_start_menu.
433 2000-05-18 DJ Delorie <dj@cygnus.com>
435 * setup.c (optionprompt): allow multi-column, clean up message
436 about more options, be more robust about user input.
437 (getdownloadsource): make the mirror URL a macro.
438 (main): do mounts after done prompting user.
440 Tue May 2 00:56:41 2000 Christopher Faylor <cgf@cygnus.com>
442 * setup.c (cleanup): Inverse order of deletion stands a better chance
443 of deleting cygpath.exe. Still seems to suffer from occasional races,
445 (cleanup_on_signal): Perform convoluted dance to accomodate win95 and
447 (output_file): Defend against an unlikely handle leak.
448 (main): Don't set up signal handling until we have something special to
451 Mon May 1 17:56:32 2000 Christopher Faylor <cgf@cygnus.com>
453 * path.c (kill_cygpath): Delete function.
454 (exit_cygpath): Make more defensive so that it can be called at any
456 (cygpath_pipe): Don't set up signal here. Do it in main().
457 * setup.c (istargz): New function.
458 (recurse_dirs): Look for *.gz pattern rather than *tar.gz since *tar.gz
459 inexplicably fails on samba mounted partitions. Use istargz to match
461 (processdirlisting) Use istargz to match tar.gz tail.
462 (cleanup): Renamed from filedel.
463 (cleanup_on_signal): New function. Called on CTRL-C.
464 (main): Record handle of main thread so that it can be suspended when
465 CTRL-C occurs. Set up cleanup_on_signal signal handler.
467 Mon May 1 11:05:07 2000 Christopher Faylor <cgf@cygnus.com>
469 * setup.c (do_start_menu): Don't concatenate paths to already built
472 Sun Apr 30 22:37:34 2000 Christopher Faylor <cgf@cygnus.com>
474 * path.c (exit_cygpath): Wait for subprocess to exit before returning.
475 (cygpath_pipe): Don't call exit_cygpath. Let main atexit routine do
477 * pkg.c (init_pkgs): Accept root argument. Make registry key "cygwin
479 * setup.c (filedel): Call exit_cygpath here so that we can be assured
480 that cygpath subprocess has died. This allows us to delete cygpath.exe
482 (optionprompt): Initialize response to -1 so that second screen of
484 (get_pkg_stuff): Don't attempt to use HKCLU. Pass root to init_pkgs.
485 * setup.h: Reflect init_pkgs prototype change.
487 Sat Apr 29 23:53:30 2000 Christopher Faylor <cgf@cygnus.com>
489 * pkg.c (init_pkgs): Accept an argument to control what root registry
491 * setup.c (get_pkg_stuff): Use HKCLU registry key if default fails.
492 * setup.h: Reflect init_pkgs prototype change.
494 Sat Apr 29 23:27:14 2000 Christopher Faylor <cgf@cygnus.com>
496 * error.c (winerror): Respond to gcc warning.
497 * path.c (cygpath_pipe): Ditto.
498 * setup.c (filedel): Call sa_cleanup on deleteme.
499 (create_shortcut): Coerce argument to eliminate compiler warning.
500 (tarx): Use installed version of cygwin1.dll, overriding tar file name.
501 (refmatches): New function. Tests if ref is contained in a list of
503 (filematches): New function. Tests if filename matches one of a list
504 of packages to install.
505 (recurse_dirs): Accept list of packages to install. Generalize tar.gz
506 test to accomodate _tar.gz.
507 (prompt): Ensure that stdout is flushed prior to asking for input.
508 (findhref): Initialize variables to quiet a compiler warning.
509 (processdirlisting): Accept list of packages to install. Special case
510 cygwin tar file version number.
511 (downloaddir): Accept list of packages to install.
512 (downloadfrom): Ditto.
513 (create_uninstall): Eliminate unneeded variables. Quote arguments to
515 (do_start_menu): Don't create uninstall bat file if updating or user
516 specified a list of packages.
517 (mkmount): Eliminate unneeded variables.
518 (get_pkg_stuff): New function. Checks for previous unversioned
520 (main): Accept -u and -f options and package names on the command line.
521 Use get_pkg_stuff to initialize package information. Umount /etc.
522 Call recurse_dirs and downloadfrom with list of package to install.
523 Ensure that all /usr/local directories are created. Output
524 installation time to setup.log.
525 * setup.h: Add some prototypes.
526 * xsystem.c (xcreate_process): Eliminate unneeded variable.
528 Sat Apr 29 12:43:08 2000 Christopher Faylor <cgf@cygnus.com>
530 * setup.c (optionprompt): Don't overlap display of already seen options
532 (geturl): Print name of site which we're connecting to rather than "ftp
534 (processdirlisting): Avoid URLs that contain a /. or ./ . Is this
536 (do_start_menu): Use pathcat to build path to <root>\bin to avoid
537 problems when user chooses x:\ as their root.
538 (main): For now, default to "non-update" mode. Allow -u option to
541 Sat Apr 29 00:26:06 2000 Christopher Faylor <cgf@cygnus.com>
544 * setup.c (tarx): Skip already installed or older packages. Report
545 when a package has been updated.
546 (processdirlisting): Skip already installed or older packages.
547 (main): Detect -f option for forced installation. Initialize pkg stuff
549 * setup.h: Add pkg definitions.
551 Thu Apr 27 14:21:30 2000 Christopher Faylor <cgf@cygnus.com>
553 * setup.c (findhref): Return NULL on empty string. Eat any trailing
555 (processdirlisting): Attempt to limit recursively processing the same
558 Thu Apr 27 11:42:23 2000 Christopher Faylor <cgf@cygnus.com>
560 * setup.c (filedel): New function.
561 (output_file): Keep track of files extracted from setup.exe for
563 (tarx): Close process handle of child tar process or suffer handle
565 (getdownloadsource): Close mirror file so that it can be unlinked.
566 (processdirlisting): Return total number of files extracted.
567 (main): Initialize array of files to delete. Ensure that files are
568 closed on exit. Make the directory that setup.exe is started from ==
569 the directory where temporary files are placed. Issue an error if no
570 files were found to download.
571 * xsystem.c (xcreate_process): Close the thread handle. Close the
572 process handle if we waited for it to exit.
574 Thu Apr 27 09:54:19 2000 Christopher Faylor <cgf@cygnus.com>
576 * setup.c (main): Change version number output.
578 Thu Apr 27 09:23:17 2000 Christopher Faylor <cgf@cygnus.com>
580 * setup.c (tarx): Use full path name to tar executable.
581 (main): Build full pathname to tar executable. Create /usr/local/etc
584 Wed Apr 26 22:16:57 2000 Christopher Faylor <cgf@cygnus.com>
586 * setup.c (findhref): Change method for scanning for href= to choose
587 the last one on the line. This is still not foolproof and probably
588 will need to be changed eventually. Don't abort if no "size" field is
590 (processdirlisting): Fix boolean algebra.
592 Wed Apr 26 01:10:39 2000 Christopher Faylor <cgf@cygnus.com>
594 * main.c (tarx): Add some code for future task of unmounting
595 directories encountered in tar file.
597 Sat Apr 22 16:37:03 2000 Christopher Faylor <cgf@cygnus.com>
599 * setup.c (findhref): Decode file size, when appropriate.
600 (needfile): New function. Returns 1 when file should be
602 (processdirlisting): Always download if file size does not
603 match. Prompt when download fails for some reason.
604 (getdownloadsource): Accomodate findhref argument changes.
606 Sat Apr 22 15:13:42 2000 Christopher Faylor <cgf@cygnus.com>
608 Throughout, use global session handle rather than reinitializing for
609 each connect. Don't pass session as an argument to setup.c functions.
610 * setup.c (geturl): Only issue "Connecting to.." message when using
611 http or first time for ftp since subsequent connections will be fast.
612 (processdirlisting): Allocate space for "N" when user has specified
613 "N"ever option so that it can be subsequently freed.
614 (main): Abort if we can't get the list of mirrors.
616 Thu Apr 20 16:41:42 2000 Christopher Faylor <cgf@cygnus.com>
618 * setup.c (main): Umount /bin and /lib.
620 Wed Apr 19 13:34:44 2000 Christopher Faylor <cgf@cygnus.com>
622 * setup.c (main): Create an empty /var/run/utmp.
624 Tue Apr 18 19:16:56 2000 Christopher Faylor <cgf@cygnus.com>
626 * Makefile.in: Add umount to list of files to include in setup.exe.
627 * setup.c (xumount): New function for unmounting directories.
628 (main): Unmount /usr.
629 (mkmount): Unmount "unix directory" before trying to figure out where
630 to create the directory.
632 Tue Apr 18 17:28:55 2000 Christopher Faylor <cgf@cygnus.com>
634 * setup.c (mkmount): Use xcreate_process to start mount process,
636 (main): Don't do buffering on stdout or prompts won't be displayed
637 correctly if running in a cygwin shell with CYGWIN=tty.
639 Tue Apr 18 15:35:19 2000 Christopher Faylor <cgf@cygnus.com>
641 * setup.c (main): Remove the CYGWIN environment variable before
642 starting any cygwin programs.
644 Mon Apr 17 19:20:52 2000 Vadim Egorov <egorovv@mailandnews.com>
646 * setup.c (geturl): Use alternative method for finding filename part of
648 (processdirlisting): Accomodate strange output from non-MS ftp proxy.
649 (downloaddir): Unlink file containing dir listing.
650 (downloadfrom): Ditto.
652 Mon Apr 17 00:00:49 2000 Christopher Faylor <cgf@cygnus.com>
654 * setup.c (main): Disallow running setup.exe from the "root".
656 Sun Apr 16 18:50:58 2000 Christopher Faylor <cgf@cygnus.com>
658 Use "warning" function, where appropriate, to output warnings.
659 * setup.c (warning): New function -- outputs warning to console and log
661 (tarx): Fix index used to reset file protection.
662 (main): Open the log file earlier so that more stuff can be sent to it.
664 Sat Apr 15 20:05:33 2000 Christopher Faylor <cgf@cygnus.com>
666 * setup.c (processdirlisting): Make "N" option a little less aggressive.
668 Fri Apr 14 11:11:29 2000 Christopher Faylor <cgf@cygnus.com>
670 * setup.c (tarx): Wait to after tar has completed to reset protections
671 or suffer races with tar process.
673 Thu Apr 13 12:51:19 2000 Christopher Faylor <cgf@cygnus.com>
675 * Makefile.in: Eliminate duplicate -nostdinc from CFLAGS.
676 * setup.c (create_uninstall): Create the uninstall .bat file in the
677 "root" so that we can remove the /bin directory. Add bin\cygwin.bat to
678 list of files to be deleted. Fix directory detection for determining
680 (do_start_menu): Add /usr/local/bin to the path.
681 (main): Add slop to files.array allocation so that we don't have to
682 worry about reallocating the array when it grows too large when doing
683 some trivial "pushes". Add /tmp and /usr/local/{bin,lib} to list of
686 Thu Apr 13 01:59:44 2000 Christopher Faylor <cgf@cygnus.com>
688 * setup.c (processdirlisting): Fix handling of "A" for "A"lways
691 Thu Apr 13 01:11:45 2000 Christopher Faylor <cgf@cygnus.com>
693 * path.c (kill_cygpath): New cleanup function.
694 (exit_cygpath): New cleanup function.
695 (cygpath_pipe): New function. Sets up cygpath in the background for
696 translating filenames.
697 (pathcvt): Use background cygpath for file translation.
698 * setup.c (tarx): New function. Called to extract tar files, capture
699 logging output, and translate it to Windows format.
700 (recurse_dirs): Use 'tarx' function to extract files.
701 (create_uninstall): Use file list built up by tarx rather than reading
703 (mkmount): Add ability to mount root.
704 (main): Track elapsed install time. Mount root.
705 * starry.h: Add index field to strarry for tracking of tarx's usage of
707 * xsystem.c (xcreate_process): Return proces handle when not waiting.
709 Mon Apr 10 22:44:56 2000 Christopher Faylor <cgf@cygnus.com>
712 (pathfp): New function. Preliminary work for new -f cygpath
714 * Makefile.in: Add new file.
715 (pathcvt): Move to new file.
719 * setup.c (processdirlisting): Always open file in text mode.
720 (create_uninstall): Ditto.
721 (getdownloadsource): Ditto.
724 Mon Apr 10 20:33:40 2000 Christopher Faylor <cgf@cygnus.com>
726 * xsystem.c: New file.
727 * Makefile.in: Accomodate new file.
728 * setup.c (xsystem): Move to new file.
729 (recurse_dirs): Accept handle to output log file. Don't use ">"
730 redirection to trap tar output. Use supplied handle instead.
731 (create_uninstall): Accept FILE pointer to opened log file. Don't
732 unlink log file here.
733 (do_start_menu): Accept FILE pointer to pass to create_uninstall.
734 (main): Open log file here and pass it to various functions. Unlink
737 Mon Apr 10 17:15:52 2000 Christopher Faylor <cgf@cygnus.com>
739 Change occurrences of .usr.bin to .bin throughout.
740 * setup.c (geturl): Increase number of retries to 20. Let user know
741 what's going on during long connects.
742 (processdirlisting): Accept "A"lways and "N"ever as update options.
743 (create_uninstall): Load cygwin1.dll from the current directory rather
745 (main): Add some expository text.
747 Sun Apr 9 20:59:15 2000 Christopher Faylor <cgf@cygnus.com>
749 * Makefile.in: Change method for compressing cygwin1.dll to avoid
750 creating a cygwin1.dll in the current directory. Ensure the addition
751 of -nostdinc to MINGW_CFLAGS.
753 Sun Apr 9 02:15:47 2000 Christopher Faylor <cgf@cygnus.com>
755 * Makefile.in: Augment clean target.
757 Fri Apr 7 17:04:02 Ron Parker <rdparker@sourceware.cygnus.com>
759 * README: Added info about non-working mingw implementation
760 * gzip.exe.gz: Replace with a version from the same build as the other
762 * tar.exe.gz: Replace with a version from the same build as the other
764 * mount.exe.gz: Add to repository until, mingw can build setup.
765 * cygpath.exe.gz: ditto
766 * cygwin1.dll.gz: ditto
767 * setup.c: Overwrite /bin and /lib mounts. Generate working shortcut
768 for Win9x. Display only a screenfull of options at a time. Call all
769 tools with an absolute path.
770 * setup.dsp: Restore the carriage returns, MS Developer Studio needs
775 Thu Apr 6 19:15:27 2000 Christopher Faylor <cgf@cygnus.com>
777 * Makefile.in: Add "-nostdinc" to regular CFLAGS. Add target to grab
778 cygwin1.dll from ../cygwin subdirectory.
779 * gzip.exe.gz: Update.
780 * tar.exe.gz: Update.
782 Wed Apr 5 10:52:08 2000 Christopher Faylor <cgf@cygnus.com>
784 * Makefile.in: Use ZLIB variable as a target.
786 Sat Apr 1 22:49:09 2000 Christopher Faylor <cgf@cygnus.com>
788 * Makefile.in: Eliminate traces of cygwinisms. Don't link with
789 libmsvcrt.a. It's unneeded. Build .rc file on the fly from various
791 * configure.in: Locate correct objcopy.
792 * configure: Regenerate.
794 Sat Apr 1 20:48:09 2000 Christopher Faylor <cgf@cygnus.com>
796 * Makefile.in: New file.
797 * configure.in: New file.
798 * configure: New file.
799 * zlib/Makefile.am: New file.
800 * zlib/configure.in: New file.
801 * zlib/aclocal.m4: New file.
802 * zlib/acinclude.m4: New file.
803 * zlib/configure: Regenerate from configure.in.
804 * zlib/Makefile.in: Regenerate from Makefile.am