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