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