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