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