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