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