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