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