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