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