]>
Commit | Line | Data |
---|---|---|
1 | Wed Feb 21 18:59:00 2000 Corinna Vinschen <vinschen@redhat.com> | |
2 | ||
3 | * download.cc (download_one): Add missing parenthesis. | |
4 | ||
5 | Mon Feb 19 18:59:00 2000 Corinna Vinschen <vinschen@redhat.com> | |
6 | ||
7 | * download.cc (get_file_size): New function. Eliminates the need | |
8 | to call `stat'. | |
9 | (download_one): Call `get_file_size' instead of `stat'. This | |
10 | workarounds a problem with mingw's `stat' call. | |
11 | ||
12 | 2001-02-07 Earnie Boyd <earnie@users.sourceforge.net> | |
13 | ||
14 | * Makefile.in: (%.o: %.rc): Specify --include-dir $(w32api_include). | |
15 | This is to allow cinstall to build with 2.95.2-7 and to make the | |
16 | use of headers consistent. | |
17 | ||
18 | 2000-12-26 Earnie Boyd <earnie_boyd@yahoo.com> | |
19 | ||
20 | * Makefile.in (autoload.o): Add target to specify -fno-inline-functions | |
21 | ||
22 | Tue Dec 26 03:46:00 2000 Matt Hargett <matt@use.net> | |
23 | ||
24 | * winsup/cinstall/res.rc: Added accelerators and improved focus | |
25 | order. | |
26 | ||
27 | 2000-12-10 Egor Duda <deo@logos-m.ru> | |
28 | ||
29 | * choose.cc (paint): Use system background color for text output. | |
30 | ||
31 | Sun Dec 10 19:05:25 2000 Christopher Faylor <cgf@cygnus.com> | |
32 | ||
33 | * Makefile.in: Use CXX for linking and for compiling .cc files. | |
34 | * configure.in: Find correct c++ compiler. | |
35 | * configure: Regenerate. | |
36 | ||
37 | 2000-11-17 DJ Delorie <dj@redhat.com> | |
38 | ||
39 | * splash.cc (load_dialog): Make message more obvious. | |
40 | * res.rc: Ditto. | |
41 | ||
42 | Fri Nov 17 17:15:21 2000 Christopher Faylor <cgf@cygnus.com> | |
43 | ||
44 | * Makefile.in: Use g++ to link so that libstdc++.a gets used. This is | |
45 | necessary for newer compilers. | |
46 | ||
47 | Wed Nov 9 2:19:00 2000 Corinna Vinschen <vinschen@redhat.com> | |
48 | ||
49 | * desktop.cc: Include "ini.h" and "version.h". | |
50 | (make_passwd_group): Skip the function on 9x/ME boxes when an | |
51 | older version of Cygwin has been installed which doesn't | |
52 | support mkpasswd/mkgroup on 9x/ME. | |
53 | * install.cc: Move the `LOOP_PACKAGES' and `pi' macros to... | |
54 | * ini.h: ...here. | |
55 | ||
56 | Wed Nov 8 17:10:00 2000 Corinna Vinschen <vinschen@redhat.com> | |
57 | ||
58 | * desktop.cc (make_passwd_group): Don't exit when started | |
59 | on 9x/ME since mkpasswd/mkgroup are usable on 9x/ME now. | |
60 | ||
61 | Sun Nov 5 12:51:42 2000 Jason Tishler <jt@dothill.com> | |
62 | ||
63 | * install.cc (do_install): Add call to set_cygdrive_flags to sync | |
64 | the mount modes. | |
65 | * mount.cc (set_cygdrive_flags): New function. | |
66 | (get_cygdrive_flags): Ditto. | |
67 | (default_cygdrive): Ditto. | |
68 | (set_cygdrive_flags): Ditto. | |
69 | * mount.h: Add prototype for set_cygdrive_flags. | |
70 | ||
71 | 2000-10-23 DJ Delorie <dj@redhat.com> | |
72 | ||
73 | * ini.h: add source actions | |
74 | * fromcwd.cc: check for available sources | |
75 | * res.rc: add checkbox bitmaps | |
76 | * resource.h: ditto | |
77 | * check-*.bmp: new | |
78 | * choose.cc: add source column | |
79 | * download.cc: download sources if called for | |
80 | * install.cc: [un]install sources too | |
81 | ||
82 | 2000-10-22 DJ Delorie <dj@redhat.com> | |
83 | ||
84 | * choose.cc (build_labels): Don't skip TRUST_PREV completely; only | |
85 | ignore it wrt full_list if there's already a version installed. | |
86 | (do_choose): Sort the list. | |
87 | (package_sort): New. | |
88 | ||
89 | 2000-10-12 DJ Delorie <dj@redhat.com> | |
90 | ||
91 | * res.rc: Add more error strings. | |
92 | * resource.h: Ditto. | |
93 | * iniparse.y (new_package): re-initialize if needed. | |
94 | * download.cc (do_download): Keep track of errors; notify and | |
95 | allow retry. | |
96 | * install.cc (do_install): Ditto. | |
97 | ||
98 | 2000-10-05 DJ Delorie <dj@redhat.com> | |
99 | ||
100 | * Makefile.in: fix %.cc rule | |
101 | ||
102 | 2000-10-04 DJ Delorie <dj@redhat.com> | |
103 | ||
104 | * desktop.cc: quote HOME and USER, don't . ./.profile | |
105 | ||
106 | * choose.cc (build_labels): don't include in partial list just | |
107 | because there's a *previous* version available. | |
108 | ||
109 | * install.cc (do_install): if installing from local directory with | |
110 | setup.ini and the file isn't found, look in "." also. Note errors. | |
111 | ||
112 | 2000-10-02 DJ Delorie <dj@redhat.com> | |
113 | ||
114 | * ini.cc (do_ini): save setup.ini locally | |
115 | ||
116 | 2000-10-02 Chris Abbey <cabbey@bresnanlink.net> | |
117 | ||
118 | * desktop.cc: quote escapes in prompt | |
119 | ||
120 | 2000-10-02 Jason Tishler <jt@dothill.com> | |
121 | ||
122 | * root.cc (is_admin): New function. | |
123 | (read_mount_table): Check for administrative priviledges and set | |
124 | installation scope as appropriate. | |
125 | ||
126 | 2000-09-28 DJ Delorie <dj@redhat.com> | |
127 | ||
128 | * nio-ftp.cc (ftp_line): handle continuations more robustly | |
129 | ||
130 | 2000-09-14 Brian Keener <bkeener@thesoftwaresource.com> | |
131 | ||
132 | * res.rc: increased the size of the site dialog (IDD_SITE) & the | |
133 | corresponding list box to provide for more URL's to be listed. | |
134 | Modified the position of the Back, Next and Cancel buttons to | |
135 | correspond to the new size of the dialog. | |
136 | ||
137 | 2000-09-13 DJ Delorie <dj@redhat.com> | |
138 | ||
139 | * install.cc (do_install): update disk fullness once per package | |
140 | to improve performance | |
141 | ||
142 | * choose.cc (create_listview): call ReleaseDC | |
143 | ||
144 | Mon Sep 11 22:40 2000 Harold L Hunt II <harold@compasstechnologies.com> | |
145 | ||
146 | * mkdir.cc: Create directories when ERROR_FILE_NOT_FOUND is | |
147 | returned, as it seems Samba 2.0.6+ returns this instead of | |
148 | ERROR_PATH_NOT_FOUND | |
149 | ||
150 | Mon Sep 11 19:35:24 2000 Christopher Faylor <cgf@cygnus.com> | |
151 | ||
152 | * site.cc (get_initial_list_idx): Don't default to saved URL if it | |
153 | refers to sources. | |
154 | ||
155 | 2000-09-07 DJ Delorie <dj@redhat.com> | |
156 | ||
157 | * splash.cc: use version.h, not local decl | |
158 | * res.rc: add "old version" message | |
159 | * resource.h: ditto | |
160 | * version.h: new | |
161 | * fromcwd.cc (canonicalize_version): make global | |
162 | * iniparse.y: add setup-version support, fix bug in blank line | |
163 | handling | |
164 | ||
165 | * inilex.l: add [exp] as alias for [test], add setup-version | |
166 | * Makefile.in (version.c): add setup-version tag | |
167 | ||
168 | * desktop.cc (do_desktop): remove 1.1 version number | |
169 | (do_desktop_setup): ditto | |
170 | ||
171 | * ini.cc (do_ini): zero out package list just in case we redo it. | |
172 | ||
173 | 2000-09-07 Jeffrey Juliano <juliano@cs.unc.edu> | |
174 | ||
175 | * choose.cc (list_click): Check for nindexes==0; if so, return. | |
176 | ||
177 | 2000-09-06 Andrej Borsenkow <Andrej.Borsenkow@mow.siemens.ru> | |
178 | ||
179 | * localdir.cc: new, local package directory selection dialog; cd | |
180 | into selected directory | |
181 | * Makefile.in (OBJS): add localdir.o | |
182 | * dialog.h: add prototype for do_local_dir | |
183 | * main.cc (WinMain): initialize local_dir to cwd; add call to | |
184 | do_local_dir | |
185 | * net.cc (dialog_cmd): make DO_LOCAL_DIR next dialog | |
186 | * source.cc (dialog_cmd): ditto | |
187 | * res.rc: add DO_LOCAL_DIR dialog; remove "current directory" from | |
188 | presented choices in IDD_SOURCE; add IDS_ERR_CHDIR error string | |
189 | * resource.h: defines for DO_LOCAL_DIR dialog; define IDS_ERR_CHDIR | |
190 | * root.cc (dialog_cmd): make DO_LOCAL_DIR previous dialog | |
191 | * state.h: add local_dir variable | |
192 | ||
193 | 2000-09-06 Brian Keener <bkeener@thesoftwaresource.com> | |
194 | ||
195 | * desktop.cc: added logic to handle to the new dialog and to | |
196 | default the setting for the new checkboxes based on whether the | |
197 | desktop icon or start menu link already exist. | |
198 | (desktop_icon): correction to desktop directories for desktop icon | |
199 | creation. Additional logic added for Win95 which does not appear | |
200 | to have Common Directories so if Common selected and null uses | |
201 | normal directory. | |
202 | (start_menu): Additional logic added for Win95 which does not | |
203 | appear to have Common Directories so if Common selected and null | |
204 | uses normal directory. | |
205 | (do_desktop_setup): moved the saving of the icon, creation of the | |
206 | bat file, profile, passwd, Start Menu link and desktop shortcut to | |
207 | this method from do_desktop. Made the creation of the desktop | |
208 | icon and start menu link conditional on settings of new dialog | |
209 | created for desktop. | |
210 | * install.cc (do_install): changed next from IDD_S_DESKTOP to | |
211 | IDD_DESKTOP. | |
212 | * main.cc (WinMain): changed case IDD_S_DESKTOP to IDD_DESKTOP. | |
213 | * res.rc: added new resource to create a desktop dialog with 2 | |
214 | checkboxes for creating the desktop icon and start menu link. | |
215 | * resource.h: changed IDD_S_DESKTOP to IDD_DESKTOP and added two | |
216 | new controls: IDC_ROOT_MENU and IDC_ROOT_DESKTOP for new dialog. | |
217 | * state.h: added root_menu and root_desktop for use in dialog. | |
218 | ||
219 | 2000-08-29 DJ Delorie <dj@redhat.com> | |
220 | ||
221 | * choose.cc (scan_downloaded_files): scan for existing files, so | |
222 | that the user only sees new downloads. | |
223 | ||
224 | * nio-ie5.cc (NetIO_IE5): pre-check for wininet.dll, enable dial-up | |
225 | * site.cc (do_site): if we can't download the mirror list, go back | |
226 | to the net setup box to choose another transport. | |
227 | * autoload.c: add more functions | |
228 | * Makefile.in (ALL_DEP_LDLIBS): remove wininet.a | |
229 | * resource.h: add WININET message | |
230 | ||
231 | * net.cc (do_net): no longer default to IE5 | |
232 | * simpsock.h (class SimpleSocket): new, simplify socket operations | |
233 | * simpsock.cc: ditto | |
234 | * nio-http.h: new, for direct http protocol | |
235 | * nio-http.cc: ditto | |
236 | * nio-ftp.h: new, for direct http protocol | |
237 | * nio-ftp.cc: ditto | |
238 | * netio.cc (set_url): move initialization here to handle redirections | |
239 | (open): add direct http/ftp | |
240 | * netio.h (NetIO::set_url): new | |
241 | ||
242 | * log.cc (log_save): create directory for log if needed | |
243 | ||
244 | * hash.cc, hash.h: new | |
245 | * Makefile: add hash.o | |
246 | * choose.cc: enable "uninstall" option | |
247 | * download.cc: invert action test to accomodate uninstalling | |
248 | * ini.h: add ACTION_UNINSTALL | |
249 | * install.cc: add uninstall functionality | |
250 | * res.rc: make install tag changeable | |
251 | * resource.h: add uninstall resources | |
252 | ||
253 | * res.rc: update mirror list URL | |
254 | ||
255 | 2000-08-24 DJ Delorie <dj@redhat.com> | |
256 | ||
257 | * log.cc, log.h: new files | |
258 | * Makefile.in (OBJS): add log.o | |
259 | * tar.cc: use exit_setup instead of exit | |
260 | * dialog.cc (fatal): use exit_setup instead of ExitProcess | |
261 | * msg.cc (fatal): ditto | |
262 | * install.cc (dialog_cmd): ditto | |
263 | * ini.cc (do_ini): ditto | |
264 | * main.cc (main): add logging | |
265 | * source.cc (do_source): ditto | |
266 | * root.cc (do_source): ditto | |
267 | * site.cc (do_site): ditto | |
268 | * other.cc (do_other): ditto | |
269 | * net.cc (do_net): ditto | |
270 | * choose.cc (do_choose): ditto | |
271 | * download.cc (do_download): ditto | |
272 | * install.cc (do_install): ditto | |
273 | * msg.cc (fatal): ditto | |
274 | ||
275 | * res.rc: mark password boxes as *being* password boxes. | |
276 | ||
277 | * fromcwd.cc (canonicalize_version): use multiple buffers so that multiple | |
278 | calls won't use the same buffer. | |
279 | * choose.cc (create_listview): don't default to full list if no changes | |
280 | (base): return computed value, not temporary :-( | |
281 | (do_choose): don't use installed.db if we're only downloading. | |
282 | ||
283 | 2000-08-23 DJ Delorie <dj@redhat.com> | |
284 | ||
285 | * nio-ie5.cc (NetIO_IE5): Fix authentication logic | |
286 | * nio-ie5.h (flush_io): new | |
287 | * netio.cc (load_dialog): note when we're initializing the dialog | |
288 | box, and ignore changes to the edit fields then. | |
289 | ||
290 | 2000-08-21 DJ Delorie <dj@redhat.com> | |
291 | ||
292 | * README: Update | |
293 | ||
294 | * fromcwd.cc (found_file): don't remember the canonicalized version | |
295 | ||
296 | * choose.cc (paint): print "nothing to do" message when list is empty. | |
297 | (build_labels): Use version "0.0" if no version is available. | |
298 | (create_listview): default to full list if nothing to install/update. | |
299 | (base): new, returns basename of file | |
300 | (read_installed_db): compare base names, not full paths | |
301 | ||
302 | 2000-08-11 DJ Delorie <dj@redhat.com> | |
303 | ||
304 | * choose.cc: add new chooser dialog | |
305 | * fromcwd.cc: use IDD_CHOOSE | |
306 | * ini.cc: use IDD_CHOOSE | |
307 | * main.cc: use IDD_CHOOSE | |
308 | * ini.h: cosmetic changes | |
309 | * res.rc: add choose dialog, bitmaps | |
310 | * choose-spin.bmp: new | |
311 | * choose-rtarrow.bmp: new | |
312 | * resource.h: add choose dialog controls | |
313 | ||
314 | * mount.cc: remove debug statement | |
315 | ||
316 | 2000-08-08 DJ Delorie <dj@redhat.com> | |
317 | ||
318 | * Makefile.in (version.c): make version checking more robust | |
319 | * splash.cc (load_dialog): handle case where there's no version | |
320 | ||
321 | 2000-08-07 DJ Delorie <dj@redhat.com> | |
322 | ||
323 | * (all): add cvsid tags | |
324 | * Makefile.in: generate version.c from ChangeLog, add splash.o | |
325 | * splash.o: new | |
326 | * res.rc: add splash screen | |
327 | ||
328 | 2000-08-02 DJ Delorie <dj@redhat.com> | |
329 | ||
330 | * net.cc: remove proxy password code | |
331 | * res.rc: remove proxy user/pass from net, add auth dialogs | |
332 | * netio.cc,h: add sys/proxy auth methods | |
333 | * nio-ie5: use them, check for http status codes | |
334 | * state.h: add system authorization | |
335 | ||
336 | * concat.cc (concat): canonicalize x:// to x:/ (exception to :// | |
337 | meaning an url) | |
338 | ||
339 | 2000-08-02 Norman Vine <nhv@yahoo,com> | |
340 | ||
341 | * msg.cc (mbox): added MB_TOPMOST to MessageBox type flags | |
342 | ||
343 | 2000-08-01 DJ Delorie <dj@redhat.com> | |
344 | ||
345 | * postinstall.cc (each): don't rename files we ignore | |
346 | (do_postinstall): set CYGWINROOT to root_dir, chdir there | |
347 | ||
348 | * desktop.cc: have /etc/profile call ~/.profile and ~/.bashrc | |
349 | ||
350 | 2000-07-31 DJ Delorie <dj@redhat.com> | |
351 | ||
352 | * desktop.cc: reverse PATH so /usr/bin precedes /bin | |
353 | ||
354 | 2000-07-18 DJ Delorie <dj@redhat.com> | |
355 | ||
356 | * autoload.c: new, autoload dlls that might not be available. | |
357 | * Makefile.in (OBJS): add autoload.o | |
358 | ||
359 | * res.rc: rewrite root options (text/binary, system/user) to be | |
360 | more obvious. | |
361 | ||
362 | * site.cc (get_site_list): trim displayed URL, sort by domain | |
363 | ||
364 | * net.cc (do_net): make IE5 default to checked, for now | |
365 | ||
366 | * choose.cc (do_choose): sort packages correctly | |
367 | * ini.cc (do_ini): handle parse errors more gracefully | |
368 | (yyerror): ditto | |
369 | (fprintf): line buffer output | |
370 | (do_ini): if we can't load setup.ini, go back to the site list. | |
371 | * ini.h: add "unknown" trust level | |
372 | * inilex.l: absorb unknown trust levels and key/value pairs, | |
373 | add line number logic | |
374 | * iniparse.y: handle parse errors more gracefully. | |
375 | * install.cc: skip packages with no valid install entry | |
376 | ||
377 | 2000-07-17 DJ Delorie <dj@cygnus.com> | |
378 | ||
379 | * coding standards fixups, many files | |
380 | * mkdir.cc: warn about deletions *before* deleting them | |
381 | ||
382 | 2000-07-17 Jeff Juliano <juliano@cs.unc.edu> | |
383 | ||
384 | * res.rc (IDD_OTHER_URL): reorder to give default focus to entry | |
385 | ||
386 | * other.cc (dialog_cmd): save download site URL | |
387 | * site.cc (get_root_dir): new | |
388 | (save_mirror_site): new | |
389 | (dialog_cmd): save download site URL | |
390 | (get_site_list): make list big enough to add prev site | |
391 | (get_initial_list_idx): new, read last-used URL from file and | |
392 | append it to site_list | |
393 | (do_site): call get_initial_list_idx | |
394 | ||
395 | * concat.cc (concat): avoid segfault when first parm is null | |
396 | ||
397 | 2000-07-13 DJ Delorie <dj@cygnus.com> | |
398 | ||
399 | * postinstall.cc: new | |
400 | * Makefile.in: add postinstall.o | |
401 | * concat.h: add backslash () | |
402 | * concat.cc: ditto | |
403 | * desktop.cc (etc_profile): don't do postinstall | |
404 | (backslash): moved to concat.cc | |
405 | (uexists): new | |
406 | (make_postinstall_script): run directly | |
407 | (do_desktop): chain to do_postinstall | |
408 | * dialog.h: add exit_msg, do_postinstall | |
409 | * download.cc: use exit_msg | |
410 | * install.cc: ditto | |
411 | * main.cc: add postinstall, exit_msg | |
412 | * resource.h: add postinstall | |
413 | * README: add more to-do items | |
414 | ||
415 | 2000-07-12 DJ Delorie <dj@cygnus.com> | |
416 | ||
417 | * desktop.cc: add /etc/postinstall/ support | |
418 | * install.cc: add more "standard" directories | |
419 | ||
420 | 2000-07-11 DJ Delorie <dj@cygnus.com> | |
421 | ||
422 | * desktop.cc: create /etc/profile | |
423 | * desktop.cc: fix include syntax | |
424 | * Makefile.in: add auto-dependencies | |
425 | * root.cc: support system vs user | |
426 | * desktop.cc: ditto | |
427 | * mount.h: ditto | |
428 | * mount.cc: ditto | |
429 | * install.cc: ditto | |
430 | * res.rc: ditto | |
431 | * resource.h: ditto | |
432 | * state.h: ditto | |
433 | * desktop.cc: make sure we use backslashes, not slashes. | |
434 | * desktop.cc: don't set PATH in cygwin.bat, create /etc/passwd | |
435 | * geturl.cc: change math for percentage to avoid overflow | |
436 | * install.cc: ditto | |
437 | * download.cc: post "download complete" message. | |
438 | * root.cc: pre-fill in defaults if needed, don't start | |
439 | browse at root_dir unless it's set. | |
440 | * desktop.cc: quote $PATH in case it has spaces in it | |
441 | ||
442 | 2000-07-10 DJ Delorie <dj@cygnus.com> | |
443 | ||
444 | * Makefile.in: add desktop.o and mklink2.o | |
445 | * dialog.h: add do_desktop | |
446 | * install.cc: create standard directories, call do_desktop | |
447 | * res.rc: add cygwin.ico as a file also | |
448 | * desktop.cc: new, do shortcuts, batch files, and icons | |
449 | * mklink2.c: new, for COM | |
450 | * README: update to-do list | |
451 | ||
452 | 2000-07-10 DJ Delorie <dj@cygnus.com> | |
453 | ||
454 | * ini.cc (do_ini): don't worry about timestamps if we're not | |
455 | actually installing. | |
456 | ||
457 | 2000-07-09 DJ Delorie <dj@cygnus.com> | |
458 | ||
459 | * Makefile.in: add -I$(srcdir) for ini.h | |
460 | ||
461 | 2000-07-06 DJ Delorie <dj@cygnus.com> | |
462 | ||
463 | * Replace everything with a new GUI version | |
464 | * zlib/gzio.c: add gzctell() for progress displays | |
465 | ||
466 | 2000-06-22 DJ Delorie <dj@cygnus.com> | |
467 | ||
468 | * setup.c (tarx): re-add call to write_pkg() | |
469 | ||
470 | 2000-06-07 DJ Delorie <dj@cygnus.com> | |
471 | ||
472 | * cygcalls.c: new, call cygwin1.dll functions directly | |
473 | * cygcalls.h: header for same | |
474 | * Makefile.in: add cygcalls.[ch], remove mount/cygpath/umount | |
475 | exes, fix cinstall.rc dependencies. | |
476 | * path.c: remove unneeded code | |
477 | * setup.c: use cygcalls instead of xcreate_process. | |
478 | uncompress embedded files with zlib | |
479 | add "-d" for "download only" | |
480 | add "-h" for help | |
481 | postpone mount changes until very end | |
482 | add download progress indicators | |
483 | pack multi-column listings more | |
484 | auto-delete temp files | |
485 | customize banner message according to options | |
486 | prompt user for text/binary mounts | |
487 | add warnings about empty setup directory, root installs, etc | |
488 | ||
489 | 2000-05-24 DJ Delorie <dj@cygnus.com> | |
490 | ||
491 | * tar.c: New file; built-in tar using zlib. | |
492 | * tar.h: New file; header for same. | |
493 | * ctar.c: New file; test program for same. | |
494 | * Makefile.in: add built-in tar, remove tar.exe and gzip.exe | |
495 | * path.c (pathcat): convert slashes and canonicalize, instead of aborting | |
496 | * setup.c (tarx): add support for built-in tar | |
497 | (main): accept unix-style slashes, check root dir for drive letters, | |
498 | warn about installing in /, make sure cwd is empty for internet installs, | |
499 | defer mounts to end of install, support built-in tar. | |
500 | ||
501 | Fri May 19 23:44:37 2000 Christopher Faylor <cgf@cygnus.com> | |
502 | ||
503 | Fix compiler warnings throughout. | |
504 | * pkg.c (init_pkgs): Make static 'stuff' global_pkgstuff for use in | |
505 | get_pkg_stuff. | |
506 | * setup.c: Make 'root' global. | |
507 | (istargz): Return pointer to "stem" of matched .tar.gz file. | |
508 | (tarx): Special case cygwin-20000301 to == cygwin-1.1.0.tar.gz. Remove | |
509 | bogus check_for_installed check. | |
510 | (recurse_dirs): Add preliminary support for .bat file execution. | |
511 | (create_uninstall): Eliminate unneeded parameter. | |
512 | (do_start_menu): Ditto. | |
513 | (mkmount): Ditto. | |
514 | (get_pkg_stuff): Ditto. Check for currently installed cygwin by | |
515 | scanning for the version number. Eliminate unneeded argument to | |
516 | create_uninstall. | |
517 | (getdownloadsource): Add 'name' to list of names rather than url. | |
518 | (main): Eliminate unneeded argument in get_pkg_stuff. Eliminate | |
519 | unneeded argument in mkmount and do_start_menu. | |
520 | ||
521 | 2000-05-18 DJ Delorie <dj@cygnus.com> | |
522 | ||
523 | * setup.c (optionprompt): allow multi-column, clean up message | |
524 | about more options, be more robust about user input. | |
525 | (getdownloadsource): make the mirror URL a macro. | |
526 | (main): do mounts after done prompting user. | |
527 | ||
528 | Tue May 2 00:56:41 2000 Christopher Faylor <cgf@cygnus.com> | |
529 | ||
530 | * setup.c (cleanup): Inverse order of deletion stands a better chance | |
531 | of deleting cygpath.exe. Still seems to suffer from occasional races, | |
532 | though. | |
533 | (cleanup_on_signal): Perform convoluted dance to accomodate win95 and | |
534 | w2k. | |
535 | (output_file): Defend against an unlikely handle leak. | |
536 | (main): Don't set up signal handling until we have something special to | |
537 | do. | |
538 | ||
539 | Mon May 1 17:56:32 2000 Christopher Faylor <cgf@cygnus.com> | |
540 | ||
541 | * path.c (kill_cygpath): Delete function. | |
542 | (exit_cygpath): Make more defensive so that it can be called at any | |
543 | time. | |
544 | (cygpath_pipe): Don't set up signal here. Do it in main(). | |
545 | * setup.c (istargz): New function. | |
546 | (recurse_dirs): Look for *.gz pattern rather than *tar.gz since *tar.gz | |
547 | inexplicably fails on samba mounted partitions. Use istargz to match | |
548 | tar.gz tail. | |
549 | (processdirlisting) Use istargz to match tar.gz tail. | |
550 | (cleanup): Renamed from filedel. | |
551 | (cleanup_on_signal): New function. Called on CTRL-C. | |
552 | (main): Record handle of main thread so that it can be suspended when | |
553 | CTRL-C occurs. Set up cleanup_on_signal signal handler. | |
554 | ||
555 | Mon May 1 11:05:07 2000 Christopher Faylor <cgf@cygnus.com> | |
556 | ||
557 | * setup.c (do_start_menu): Don't concatenate paths to already built | |
558 | paths. | |
559 | ||
560 | Sun Apr 30 22:37:34 2000 Christopher Faylor <cgf@cygnus.com> | |
561 | ||
562 | * path.c (exit_cygpath): Wait for subprocess to exit before returning. | |
563 | (cygpath_pipe): Don't call exit_cygpath. Let main atexit routine do | |
564 | that. | |
565 | * pkg.c (init_pkgs): Accept root argument. Make registry key "cygwin | |
566 | root"-specific. | |
567 | * setup.c (filedel): Call exit_cygpath here so that we can be assured | |
568 | that cygpath subprocess has died. This allows us to delete cygpath.exe | |
569 | and cygwin1.dll. | |
570 | (optionprompt): Initialize response to -1 so that second screen of | |
571 | mirrors will appear. | |
572 | (get_pkg_stuff): Don't attempt to use HKCLU. Pass root to init_pkgs. | |
573 | * setup.h: Reflect init_pkgs prototype change. | |
574 | ||
575 | Sat Apr 29 23:53:30 2000 Christopher Faylor <cgf@cygnus.com> | |
576 | ||
577 | * pkg.c (init_pkgs): Accept an argument to control what root registry | |
578 | key should be used. | |
579 | * setup.c (get_pkg_stuff): Use HKCLU registry key if default fails. | |
580 | * setup.h: Reflect init_pkgs prototype change. | |
581 | ||
582 | Sat Apr 29 23:27:14 2000 Christopher Faylor <cgf@cygnus.com> | |
583 | ||
584 | * error.c (winerror): Respond to gcc warning. | |
585 | * path.c (cygpath_pipe): Ditto. | |
586 | * setup.c (filedel): Call sa_cleanup on deleteme. | |
587 | (create_shortcut): Coerce argument to eliminate compiler warning. | |
588 | (tarx): Use installed version of cygwin1.dll, overriding tar file name. | |
589 | (refmatches): New function. Tests if ref is contained in a list of | |
590 | packages to install. | |
591 | (filematches): New function. Tests if filename matches one of a list | |
592 | of packages to install. | |
593 | (recurse_dirs): Accept list of packages to install. Generalize tar.gz | |
594 | test to accomodate _tar.gz. | |
595 | (prompt): Ensure that stdout is flushed prior to asking for input. | |
596 | (findhref): Initialize variables to quiet a compiler warning. | |
597 | (processdirlisting): Accept list of packages to install. Special case | |
598 | cygwin tar file version number. | |
599 | (downloaddir): Accept list of packages to install. | |
600 | (downloadfrom): Ditto. | |
601 | (create_uninstall): Eliminate unneeded variables. Quote arguments to | |
602 | regtool. | |
603 | (do_start_menu): Don't create uninstall bat file if updating or user | |
604 | specified a list of packages. | |
605 | (mkmount): Eliminate unneeded variables. | |
606 | (get_pkg_stuff): New function. Checks for previous unversioned | |
607 | installation. | |
608 | (main): Accept -u and -f options and package names on the command line. | |
609 | Use get_pkg_stuff to initialize package information. Umount /etc. | |
610 | Call recurse_dirs and downloadfrom with list of package to install. | |
611 | Ensure that all /usr/local directories are created. Output | |
612 | installation time to setup.log. | |
613 | * setup.h: Add some prototypes. | |
614 | * xsystem.c (xcreate_process): Eliminate unneeded variable. | |
615 | ||
616 | Sat Apr 29 12:43:08 2000 Christopher Faylor <cgf@cygnus.com> | |
617 | ||
618 | * setup.c (optionprompt): Don't overlap display of already seen options | |
619 | on next page. | |
620 | (geturl): Print name of site which we're connecting to rather than "ftp | |
621 | site". | |
622 | (processdirlisting): Avoid URLs that contain a /. or ./ . Is this | |
623 | test too simplistic? | |
624 | (do_start_menu): Use pathcat to build path to <root>\bin to avoid | |
625 | problems when user chooses x:\ as their root. | |
626 | (main): For now, default to "non-update" mode. Allow -u option to | |
627 | signify an update. | |
628 | ||
629 | Sat Apr 29 00:26:06 2000 Christopher Faylor <cgf@cygnus.com> | |
630 | ||
631 | * pkg.c: New file. | |
632 | * setup.c (tarx): Skip already installed or older packages. Report | |
633 | when a package has been updated. | |
634 | (processdirlisting): Skip already installed or older packages. | |
635 | (main): Detect -f option for forced installation. Initialize pkg stuff | |
636 | if appropriate. | |
637 | * setup.h: Add pkg definitions. | |
638 | ||
639 | Thu Apr 27 14:21:30 2000 Christopher Faylor <cgf@cygnus.com> | |
640 | ||
641 | * setup.c (findhref): Return NULL on empty string. Eat any trailing | |
642 | ";something". | |
643 | (processdirlisting): Attempt to limit recursively processing the same | |
644 | directory. | |
645 | ||
646 | Thu Apr 27 11:42:23 2000 Christopher Faylor <cgf@cygnus.com> | |
647 | ||
648 | * setup.c (filedel): New function. | |
649 | (output_file): Keep track of files extracted from setup.exe for | |
650 | subsequent deletion. | |
651 | (tarx): Close process handle of child tar process or suffer handle | |
652 | leak. | |
653 | (getdownloadsource): Close mirror file so that it can be unlinked. | |
654 | (processdirlisting): Return total number of files extracted. | |
655 | (main): Initialize array of files to delete. Ensure that files are | |
656 | closed on exit. Make the directory that setup.exe is started from == | |
657 | the directory where temporary files are placed. Issue an error if no | |
658 | files were found to download. | |
659 | * xsystem.c (xcreate_process): Close the thread handle. Close the | |
660 | process handle if we waited for it to exit. | |
661 | ||
662 | Thu Apr 27 09:54:19 2000 Christopher Faylor <cgf@cygnus.com> | |
663 | ||
664 | * setup.c (main): Change version number output. | |
665 | ||
666 | Thu Apr 27 09:23:17 2000 Christopher Faylor <cgf@cygnus.com> | |
667 | ||
668 | * setup.c (tarx): Use full path name to tar executable. | |
669 | (main): Build full pathname to tar executable. Create /usr/local/etc | |
670 | by default. | |
671 | ||
672 | Wed Apr 26 22:16:57 2000 Christopher Faylor <cgf@cygnus.com> | |
673 | ||
674 | * setup.c (findhref): Change method for scanning for href= to choose | |
675 | the last one on the line. This is still not foolproof and probably | |
676 | will need to be changed eventually. Don't abort if no "size" field is | |
677 | evident. | |
678 | (processdirlisting): Fix boolean algebra. | |
679 | ||
680 | Wed Apr 26 01:10:39 2000 Christopher Faylor <cgf@cygnus.com> | |
681 | ||
682 | * main.c (tarx): Add some code for future task of unmounting | |
683 | directories encountered in tar file. | |
684 | ||
685 | Sat Apr 22 16:37:03 2000 Christopher Faylor <cgf@cygnus.com> | |
686 | ||
687 | * setup.c (findhref): Decode file size, when appropriate. | |
688 | (needfile): New function. Returns 1 when file should be | |
689 | downloaded. | |
690 | (processdirlisting): Always download if file size does not | |
691 | match. Prompt when download fails for some reason. | |
692 | (getdownloadsource): Accomodate findhref argument changes. | |
693 | ||
694 | Sat Apr 22 15:13:42 2000 Christopher Faylor <cgf@cygnus.com> | |
695 | ||
696 | Throughout, use global session handle rather than reinitializing for | |
697 | each connect. Don't pass session as an argument to setup.c functions. | |
698 | * setup.c (geturl): Only issue "Connecting to.." message when using | |
699 | http or first time for ftp since subsequent connections will be fast. | |
700 | (processdirlisting): Allocate space for "N" when user has specified | |
701 | "N"ever option so that it can be subsequently freed. | |
702 | (main): Abort if we can't get the list of mirrors. | |
703 | ||
704 | Thu Apr 20 16:41:42 2000 Christopher Faylor <cgf@cygnus.com> | |
705 | ||
706 | * setup.c (main): Umount /bin and /lib. | |
707 | ||
708 | Wed Apr 19 13:34:44 2000 Christopher Faylor <cgf@cygnus.com> | |
709 | ||
710 | * setup.c (main): Create an empty /var/run/utmp. | |
711 | ||
712 | Tue Apr 18 19:16:56 2000 Christopher Faylor <cgf@cygnus.com> | |
713 | ||
714 | * Makefile.in: Add umount to list of files to include in setup.exe. | |
715 | * setup.c (xumount): New function for unmounting directories. | |
716 | (main): Unmount /usr. | |
717 | (mkmount): Unmount "unix directory" before trying to figure out where | |
718 | to create the directory. | |
719 | ||
720 | Tue Apr 18 17:28:55 2000 Christopher Faylor <cgf@cygnus.com> | |
721 | ||
722 | * setup.c (mkmount): Use xcreate_process to start mount process, | |
723 | avoiding the shell. | |
724 | (main): Don't do buffering on stdout or prompts won't be displayed | |
725 | correctly if running in a cygwin shell with CYGWIN=tty. | |
726 | ||
727 | Tue Apr 18 15:35:19 2000 Christopher Faylor <cgf@cygnus.com> | |
728 | ||
729 | * setup.c (main): Remove the CYGWIN environment variable before | |
730 | starting any cygwin programs. | |
731 | ||
732 | Mon Apr 17 19:20:52 2000 Vadim Egorov <egorovv@mailandnews.com> | |
733 | ||
734 | * setup.c (geturl): Use alternative method for finding filename part of | |
735 | a URL. | |
736 | (processdirlisting): Accomodate strange output from non-MS ftp proxy. | |
737 | (downloaddir): Unlink file containing dir listing. | |
738 | (downloadfrom): Ditto. | |
739 | ||
740 | Mon Apr 17 00:00:49 2000 Christopher Faylor <cgf@cygnus.com> | |
741 | ||
742 | * setup.c (main): Disallow running setup.exe from the "root". | |
743 | ||
744 | Sun Apr 16 18:50:58 2000 Christopher Faylor <cgf@cygnus.com> | |
745 | ||
746 | Use "warning" function, where appropriate, to output warnings. | |
747 | * setup.c (warning): New function -- outputs warning to console and log | |
748 | file. | |
749 | (tarx): Fix index used to reset file protection. | |
750 | (main): Open the log file earlier so that more stuff can be sent to it. | |
751 | ||
752 | Sat Apr 15 20:05:33 2000 Christopher Faylor <cgf@cygnus.com> | |
753 | ||
754 | * setup.c (processdirlisting): Make "N" option a little less aggressive. | |
755 | ||
756 | Fri Apr 14 11:11:29 2000 Christopher Faylor <cgf@cygnus.com> | |
757 | ||
758 | * setup.c (tarx): Wait to after tar has completed to reset protections | |
759 | or suffer races with tar process. | |
760 | ||
761 | Thu Apr 13 12:51:19 2000 Christopher Faylor <cgf@cygnus.com> | |
762 | ||
763 | * Makefile.in: Eliminate duplicate -nostdinc from CFLAGS. | |
764 | * setup.c (create_uninstall): Create the uninstall .bat file in the | |
765 | "root" so that we can remove the /bin directory. Add bin\cygwin.bat to | |
766 | list of files to be deleted. Fix directory detection for determining | |
767 | when to use 'rmdir'. | |
768 | (do_start_menu): Add /usr/local/bin to the path. | |
769 | (main): Add slop to files.array allocation so that we don't have to | |
770 | worry about reallocating the array when it grows too large when doing | |
771 | some trivial "pushes". Add /tmp and /usr/local/{bin,lib} to list of | |
772 | files. | |
773 | ||
774 | Thu Apr 13 01:59:44 2000 Christopher Faylor <cgf@cygnus.com> | |
775 | ||
776 | * setup.c (processdirlisting): Fix handling of "A" for "A"lways | |
777 | download. | |
778 | ||
779 | Thu Apr 13 01:11:45 2000 Christopher Faylor <cgf@cygnus.com> | |
780 | ||
781 | * path.c (kill_cygpath): New cleanup function. | |
782 | (exit_cygpath): New cleanup function. | |
783 | (cygpath_pipe): New function. Sets up cygpath in the background for | |
784 | translating filenames. | |
785 | (pathcvt): Use background cygpath for file translation. | |
786 | * setup.c (tarx): New function. Called to extract tar files, capture | |
787 | logging output, and translate it to Windows format. | |
788 | (recurse_dirs): Use 'tarx' function to extract files. | |
789 | (create_uninstall): Use file list built up by tarx rather than reading | |
790 | the log file. | |
791 | (mkmount): Add ability to mount root. | |
792 | (main): Track elapsed install time. Mount root. | |
793 | * starry.h: Add index field to strarry for tracking of tarx's usage of | |
794 | this structure. | |
795 | * xsystem.c (xcreate_process): Return proces handle when not waiting. | |
796 | ||
797 | Mon Apr 10 22:44:56 2000 Christopher Faylor <cgf@cygnus.com> | |
798 | ||
799 | * path.c: New file. | |
800 | (pathfp): New function. Preliminary work for new -f cygpath | |
801 | functionality. | |
802 | * Makefile.in: Add new file. | |
803 | (pathcvt): Move to new file. | |
804 | (dtoupath): Ditto. | |
805 | (utodpath): Ditto. | |
806 | (pathcat): Ditto. | |
807 | * setup.c (processdirlisting): Always open file in text mode. | |
808 | (create_uninstall): Ditto. | |
809 | (getdownloadsource): Ditto. | |
810 | (main): Ditto. | |
811 | ||
812 | Mon Apr 10 20:33:40 2000 Christopher Faylor <cgf@cygnus.com> | |
813 | ||
814 | * xsystem.c: New file. | |
815 | * Makefile.in: Accomodate new file. | |
816 | * setup.c (xsystem): Move to new file. | |
817 | (recurse_dirs): Accept handle to output log file. Don't use ">" | |
818 | redirection to trap tar output. Use supplied handle instead. | |
819 | (create_uninstall): Accept FILE pointer to opened log file. Don't | |
820 | unlink log file here. | |
821 | (do_start_menu): Accept FILE pointer to pass to create_uninstall. | |
822 | (main): Open log file here and pass it to various functions. Unlink | |
823 | when done. | |
824 | ||
825 | Mon Apr 10 17:15:52 2000 Christopher Faylor <cgf@cygnus.com> | |
826 | ||
827 | Change occurrences of .usr.bin to .bin throughout. | |
828 | * setup.c (geturl): Increase number of retries to 20. Let user know | |
829 | what's going on during long connects. | |
830 | (processdirlisting): Accept "A"lways and "N"ever as update options. | |
831 | (create_uninstall): Load cygwin1.dll from the current directory rather | |
832 | than \bin. | |
833 | (main): Add some expository text. | |
834 | ||
835 | Sun Apr 9 20:59:15 2000 Christopher Faylor <cgf@cygnus.com> | |
836 | ||
837 | * Makefile.in: Change method for compressing cygwin1.dll to avoid | |
838 | creating a cygwin1.dll in the current directory. Ensure the addition | |
839 | of -nostdinc to MINGW_CFLAGS. | |
840 | ||
841 | Sun Apr 9 02:15:47 2000 Christopher Faylor <cgf@cygnus.com> | |
842 | ||
843 | * Makefile.in: Augment clean target. | |
844 | ||
845 | Fri Apr 7 17:04:02 Ron Parker <rdparker@sourceware.cygnus.com> | |
846 | ||
847 | * README: Added info about non-working mingw implementation | |
848 | * gzip.exe.gz: Replace with a version from the same build as the other | |
849 | tools. | |
850 | * tar.exe.gz: Replace with a version from the same build as the other | |
851 | tools. | |
852 | * mount.exe.gz: Add to repository until, mingw can build setup. | |
853 | * cygpath.exe.gz: ditto | |
854 | * cygwin1.dll.gz: ditto | |
855 | * setup.c: Overwrite /bin and /lib mounts. Generate working shortcut | |
856 | for Win9x. Display only a screenfull of options at a time. Call all | |
857 | tools with an absolute path. | |
858 | * setup.dsp: Restore the carriage returns, MS Developer Studio needs | |
859 | them. | |
860 | * setup.dsw: ditto | |
861 | * zlib.dsw: ditto | |
862 | ||
863 | Thu Apr 6 19:15:27 2000 Christopher Faylor <cgf@cygnus.com> | |
864 | ||
865 | * Makefile.in: Add "-nostdinc" to regular CFLAGS. Add target to grab | |
866 | cygwin1.dll from ../cygwin subdirectory. | |
867 | * gzip.exe.gz: Update. | |
868 | * tar.exe.gz: Update. | |
869 | ||
870 | Wed Apr 5 10:52:08 2000 Christopher Faylor <cgf@cygnus.com> | |
871 | ||
872 | * Makefile.in: Use ZLIB variable as a target. | |
873 | ||
874 | Sat Apr 1 22:49:09 2000 Christopher Faylor <cgf@cygnus.com> | |
875 | ||
876 | * Makefile.in: Eliminate traces of cygwinisms. Don't link with | |
877 | libmsvcrt.a. It's unneeded. Build .rc file on the fly from various | |
878 | sources. | |
879 | * configure.in: Locate correct objcopy. | |
880 | * configure: Regenerate. | |
881 | ||
882 | Sat Apr 1 20:48:09 2000 Christopher Faylor <cgf@cygnus.com> | |
883 | ||
884 | * Makefile.in: New file. | |
885 | * configure.in: New file. | |
886 | * configure: New file. | |
887 | * zlib/Makefile.am: New file. | |
888 | * zlib/configure.in: New file. | |
889 | * zlib/aclocal.m4: New file. | |
890 | * zlib/acinclude.m4: New file. | |
891 | * zlib/configure: Regenerate from configure.in. | |
892 | * zlib/Makefile.in: Regenerate from Makefile.am | |
893 | ||
894 | %%% $Id$ | |
895 | $Revision$ |