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