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