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