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