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