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