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