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