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