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