]> cygwin.com Git - cygwin-apps/setup.git/blob - ChangeLog
a0969aca92abdf620edd1ecbcb4d00aac5d702f3
[cygwin-apps/setup.git] / ChangeLog
1 2001-11-07 Charles Wilson <cwilson@ece.gatech.edu>
2
3 * geturl.cc (get_url_to_string): clean up memory leak
4 (get_url_to_file): ditto
5
6 2001-11-06 Robert Collins <rbtcollins@hotmail.com>
7
8 * localdir.cc (dialog_cmd): Go back to IDD_ROOT in every case.
9 * source.cc (dialog_cmd): Go forward to IDD_ROOT in every case.
10
11 2001-11-06 Pavel Tsekov <ptsekov@syntrex.com>
12
13 * fromcwd.cc (found_file): Free() memory containing the version and
14 filepath information for a given package, before replacing the pointers which
15 reference this memory.
16
17 2001-11-06 Robert Collins <rbtcollins@hotmail.com>
18
19 * fromcwd: Fix compiler warnings for cvsid.
20 (canonicalize_version): Fix compilter warnings.
21 (do_fromcwd): Ditto.
22 * version.h: Fix compiler warnings for canonicalize_version.
23
24 2001-11-03 Robert Collins <rbtcollins@hotmail.com>
25
26 * res.rc (IDD_CHOOSE): Move the view caption to the right hand side.
27
28 2001-11-02 Robert Collins <rbtcollins@hotmail.com>
29
30 * res.rc (IDD_CHOOSE): Tweak for use on a 640x480 screen.
31
32 2001-11-02 Robert Collins <rbtcollins@hotmail.com>
33
34 * choose.cc (set_action): Correctly allow skip for any uninstalled package.
35
36 2001-11-02 Robert Collins <rbtcollins@hotmail.com>
37
38 * choose.cc (default_trust): Change the "Required" forced install category to
39 "Base".
40
41 2001-11-02 Robert Collins <rbtcollins@hotmail.com>
42
43 * choose.cc: Ran indent.
44 (set_action): When the requested trust level is missing and the level was not
45 user requested, set the action to ACTION_SAME_CURR.
46
47 2001-11-01 Christopher Faylor <cgf@redhat.com>
48
49 * Makefile.in (mingw_getopt.o): Fix typo in non-verbose compilation.
50
51 2001-11-02 Robert Collins <rbtcollins@hotmail.com>
52
53 * choose.cc (_view::init_headers): Resync with the paint logic.
54
55 2001-11-02 Robert Collins <rbtcollins@hotmail.com>
56
57 * choose.cc (add_required): Allow SKIP and SRC_ONLY for currently installed
58 packages.
59
60 2001-11-02 Robert Collins <rbtcollins@hotmail.com>
61
62 * choose.cc (default_trust): Autoset currently installed packages per the user's
63 selection of prev/curr/exp.
64
65 2001-11-02 Robert Collins <rbtcollins@hotmail.com>
66
67 * splash.cc (dialog_proc): Return TRUE as specified in the WIN32 API.
68
69 2001-11-02 Pavel Tsekov <ptsekov@syntrex.com>
70
71 * geturl.cc (is_showing): Remove.
72 (is_local_install): New static variable. Controls whether the
73 progress dialog and the supporting thread will be created.
74 (dialog_proc): Return TRUE to WM_INITDIALOG as specified by the WIN32 API.
75 (init_dialog): Remove usage of SetForegroundWindow and is_showing.
76 This prevents the progress dialog to gain control over the
77 application and fixes the "setup.exe going to background" problem.
78 (progress): Use is_local_install.
79 (get_url_to_string): Set is_local_install.
80 (dismiss_url_status_dialog): Use is_local_install.
81 * install.cc (dialog_proc): Return TRUE as specified in WIN32 API.
82 (init_dialog): Remove usage of SetForegroundWindow.
83 This prevents the progress dialog to gain control over the
84 application and fixes the "setup.exe going to background" problem.
85
86 2001-11-02 Robert Collins <rbtcollins@hotmail.com>
87
88 * choose.cc (list_click): Change r to row for clarity.
89 When we shrink the list below 1 page, scroll to the top of the list.
90 (_view::click): Return the actual change for contractions.
91 (dialog_proc): Return TRUE to WM_INITDIALOG as specified by the Win32 API.
92
93 2001-11-02 Robert Collins <rbtcollins@hotmail.com>
94
95 * choose.cc (dialog_cmd): Swap cygwin root selection and local dir selection order.
96 * localdir.cc: Ran indent.
97 (get_root_dir_now): New function.
98 (save_local_dir): New function.
99 (dialog_cmd): Use it and swap cygwin root selection and local dir selection order.
100 (do_local_dir): If there is a saved local dir, read it in.
101 * net.cc (dialog_cmd): Swap cygwin root selection and local dir selection order.
102 * root.cc (dialog_cmd): Ditto.
103 * source.cc (dialog_cmd): Ditto.
104
105 2001-11-01 Robert Collins <rbtcollins@hotmail.com>
106
107 * choose.cc(list_vscroll): Return 0 as required by win32.
108 (list_hscroll): Ditto.
109 (list_click): Ditto.
110
111 2001-11-01 Robert Collins <rbtcollins@hotmail.com>
112
113 * argv.cc: Remove.
114 * argv.h: Remove.
115 * main.cc(WinMain): Use __argv to retrieve command line parameters.
116 * Makefile,in: Remove argv.o.
117
118 2001-11-01 Matt Hargett <matt@use.net>
119
120 * geturl.cc (progress): Change int to unsigned int to eliminate
121 lint warnings.
122 * (get_url_to_string): Check for NULL pointer.
123 * mount.cc (find2): Use free instead of delete for malloc'd
124 memory.
125 * nio-http.cc (NetIO_HTTP::NetIO_HTTP): Fix memory leak.
126
127 2001-10-31 Robert Collins <rbtcollins@hotmail.com>
128
129 * choose.cc(_view::insert_under): Handle linen > nlines and lines[linen] with neither
130 a package nor a category. The lines[linen] bug was reported by Matt (matt@usa.net).
131 (read_installed_db): Bugfix for testing whether a package has a source tarball.
132 Reported by Matt (matt@usa.net).
133 * geturl.cc(dialog): Rename gw_dialog to local_gw_dialog to avoid programmer
134 confusion and lint errors. Reported by Matt (matt@usa.net).
135
136 2001-10-31 Robert Collins <rbtcollins@hotmail.com>
137
138 * argv.cc: New file, converts arguments for -mwindows programs. (Simplified derivation
139 from dcrt0.cc.)
140 * argv.h: New file.
141 * Makefile,in: Add argv.o and mingw_getopt.o to setup.exe object list.
142 Add mingw_getopt.o build rule.
143 * main.cc(WinMain): Initialise argv and argc for use by getopt.
144
145 2001-10-27 Christopher Faylor <cgf@redhat.com>
146
147 * res.rc: Rearrange info on top line slightly.
148
149 2001-10-27 Christopher Faylor <cgf@redhat.com>
150
151 * desktop.cc (make_passwd_group): Move file creation earlier in the
152 process to ensure that passwd-grp.bat reflects desired operation.
153
154 2001-27-10 Trevor Forbes <t4bs@hotmail.com>
155
156 * postinstall.cc (each): Remove "*.done" file else rename will fail.
157
158 2001-10-16 Christopher Faylor <cgf@redhat.com>
159
160 * res.rc: Oops. Take 640x480 screen size into account.
161
162 2001-10-16 Christopher Faylor <cgf@redhat.com>
163
164 * res.rc: Enlarge chooser screen.
165
166 2001-10-12 Christopher Faylor <cgf@redhat.com>
167
168 * Makefile.in: Accomodate changes to w32api_include macro.
169
170 2001-10-12 Christopher Faylor <cgf@redhat.com>
171
172 * Makefile.in: Use correct flags for windres.
173
174 2001-10-12 Christopher Faylor <cgf@redhat.com>
175
176 * Makefile.in (CFLAGS): Remove -nostdinc from CFLAGS.
177
178 2001-10-12 Christopher Faylor <cgf@redhat.com>
179
180 * choose.cc (pick_line::paint): Reorganize after botched patch.
181
182 2001-10-12 Christopher Faylor <cgf@redhat.com>
183
184 * choose.cc (pick_line::paint): Add missing declaration.
185
186 2001-10-10 Ralf Habacker <Ralf.Habacker@freenet.de>
187
188 * choose.cc (pick_line::paint): Add package name to sdesc for display.
189
190 Wed Sep 26 21:39:00 Robert Collins rbtcollins@hotmail.com
191
192 * choose.cc (_view::insert_pkg): Correctly exit loop.
193 * iniparse.y (register_category): Always insert new categories.
194
195 Fri Sep 21 13:56:32 2001 Christopher Faylor <cgf@cygnus.com>
196
197 * inilex.l (yylex): For comments, eat all characters up to, but not
198 including newline.
199
200 Sun Aug 26 12:50:01 2001 John Marshall <jmarshall@acm.org>
201
202 * fromcwd.cc (found_file): Use correct package name when adding an
203 unknown package rather than random stack garbage.
204
205 Sun Aug 12 14:25:21 2001 Christopher Faylor <cgf@cygnus.com>
206
207 * desktop.cc (make_passwd_group): .bat files need \r\n endings.
208
209 Wed Aug 8 13:53:47 2001 Christopher Faylor <cgf@cygnus.com>
210
211 * desktop.cc (etc_profile): Leave environment variables untouched.
212
213 2001-08-07 Corinna Vinschen <corinna@vinschen.de>
214
215 * autoload.c: Add dynamic load statements for NT/W2K
216 advapi32 functions not available in 9x/ME.
217 * main.cc (set_default_dacl): New function.
218 (WinMain): Call `set_default_dacl' if running on NT/W2K.
219
220 Sat Aug 4 21:35:53 2001 Christopher Faylor <cgf@cygnus.com>
221
222 * ini.h (_CategoryPackage): Change pkg field to pkgname for
223 consistency.
224 * choose.cc: Use pkgname field when referencing _CategoryPackage
225 throughout.
226 (fill_missing_category): Don't add excluded packages.
227 (default_trust): Ditto.
228 (_view::insert_pkg): Ditto.
229 * iniparse.y (register_category): Use consistent variable name.
230
231 2001-07-09 Egor Duda <deo@logos-m.ru>
232
233 * choose.cc: Use system foreground color for text output.
234
235 Sat Jul 7 00:40:28 2001 Christopher Faylor <cgf@cygnus.com>
236
237 * choose.cc (set_action): Use default trust for determining reinstall
238 and source only.
239 (default_trust): Set default trust.
240 (pick_line::paint): Allow source selection when reinstalling or
241 retrieving.
242
243 Fri Jul 6 18:08:49 2001 Christopher Faylor <cgf@cygnus.com>
244
245 * choose.cc (isinstalled): Modify to properly accomodate special case
246 of "download only".
247 (set_action): Check downloaded components, not installed components if
248 "download only".
249 (set_existence): Always include full list of files when "download
250 only".
251
252 Fri Jul 6 00:37:05 2001 Christopher Faylor <cgf@cygnus.com>
253
254 * choose.cc (pick_line::paint): Properly display "na" field when no
255 source exists.
256
257 Thu Jul 5 00:34:23 2001 Christopher Faylor <cgf@cygnus.com>
258
259 * choose.cc (scan2): Ensure that older versions do not show up in
260 "Test" slot.
261
262 Mon Jul 2 15:47:59 2001 Christopher Faylor <cgf@cygnus.com>
263
264 * choose.cc (set_action): Allow "Skip" action if trust != installed.
265 * res.rc: Fix copyright.
266
267 Sat Jun 30 14:05:21 2001 Michael A Chase <mchase@ix.netcom.com>
268
269 * res.rc (IDD_LOCAL_DIR): Change caption to match the other dialog
270 boxes.
271 (IDD_CHOOSE): Adjust horizontal size so package names are visible.
272
273 * choose.cc: Restore some more changes from 2001-06-25, throughout.
274 (paint): Wrap some excessively long lines.
275 (pick_line::paint): Ditto. Move the arrow in the "Current" column
276 right to where it belongs. Move the source checkbox slightly to the
277 right.
278 (do_choose): List categories and required packages in setup.log.full.
279
280 Sat Jun 30 23:04:59 2001 Christopher Faylor <cgf@cygnus.com>
281
282 * choose.cc (scan2): Restore source scanning eliminated by previous checkin.
283
284 Sat Jun 30 15:18:33 2001 Christopher Faylor <cgf@cygnus.com>
285
286 * ini.h (struct _Info): Add "derived" element.
287 * choose.cc (scan2): Try to place unknown tar files into proper slot
288 when package exists in setup.ini but tar file does not.
289
290 Sat Jun 30 13:39:00 2001 Robert Collins <rbtcollins@hotmail.com>
291
292 * choose.cc (create_listview): Call set_view_mode with VIEW_CATEGORY.
293 (do_choose): Log the first category name.
294
295 Fri Jun 29 23:07:44 2001 Christopher Faylor <cgf@cygnus.com>
296
297 *ini.h: Reapply 2001-06-25 changes.
298 * choose.cc (add_required): Ditto. Default to "Keep" state if
299 UNINSTALL and product is installed. Default to curr state if SKIP,
300 etc.
301 (keep_or_skip): New function. Returns skip or keep state depending on
302 installed state of package.
303 (default_trust): Use keep_or_skip to set state.
304 (_view::insert_pkg): Use calloc to allocate lines.
305 (set_view_mode): Adapt 2001-06-25 change to set_full_list here.
306
307 Sat Jun 30 11:01:00 2001 Robert Collins <rbtcollins@hotmail.com>
308
309 * choose.cc: Remove globals full_list, headers, package_indexes and
310 nindexes.
311 Add globals cat_headers, pkg_headers and chooser.
312 (add_required): New function.
313 (paint): Use the chooser for header details.
314 Call into the chooser to paint each line.
315 (list_click): Use new global variables.
316 Call into the chooser to handle the click.
317 Repaint the entire view if packages have been added or removed.
318 (note_width): Get passed a headers struct rather than using a global
319 variable.
320 (fill_missing_category): New function.
321 (default_trust): Skip non-"Required" or "Misc" packages.
322 (pick_line::set_line (Package *)): New function.
323 (pick_line::set_line (Category *)): New function.
324 (pick_line::paint): New function.
325 (pick_line::click): New function.
326 (_view::_view): New function.
327 (_view::set_view_mode): New function.
328 (_view::mode_caption): New function.
329 (_view::set_headers): New function.
330 (_view::init_header): New function.
331 (_view::insert_pkg): New function.
332 (_view::insert_category): New function.
333 (_view::insert_at): New function.
334 (_view::insert_under): New function.
335 (_view::clear_view): New function.
336 (viewsplusplus): New function.
337 (_view::client): New function.
338 (set_view_mode): Use new chooser functionality.
339 (set_full_list): Use new global variables.
340 (create_listview): Instantiate chooser.
341 Remove all hardcoded headers[] code.
342 (dialog_cmd): On trust changes, check dependencies.
343 (getcategorybyname): New function.
344 (getpackagecategorybyname): New function.
345 (scan2): Use case-insensitive package comparison.
346 (do_choose): Use fill_missing_category ().
347 Show some category data.
348 * ini.h: Protect against multiple inclusion.
349 (views) New enum.
350 (_CategoryPackage): New struct.
351 (_Category): New struct.
352 (_Package): Change category to Category * from char *.
353 (extern Category category): New global variable.
354 (extern in ncategories): Ditto.
355 (getcategorybyname): New prototype.
356 (catpackagecategorybyname): New prototype.
357 (register_category): New prototype.
358 (add_category): New prototype.
359 * iniparse.y: Parse multiple categories per package.
360 (category): New global variable.
361 (ncategories): New global variable.
362 (new_package): Compare package against NULL, not 0.
363 (new_requirement): Source formatting fix.
364 (register_category): New function.
365 (add_category): New function.
366 * res.rc: Change IDC_CHOOSE_FULLPART to IDC_CHOOSE_VIEW.
367 IDC_CHOOSE_VIEWCAPTION: New control.
368 * resource.h: Change IDC_CHOOSE_FULLPART to IDC_CHOOSE_VIEW.
369 IDC_CHOOSE_VIEWCAPTION: New control.
370 Increment _APS_NEXT_CONTROL_VALUE.
371
372 Mon Jun 25 00:56:37 2001 Michael A Chase <mchase@ix.netcom.com>
373
374 * choose.cc (paint): Wrap excessively long lines.
375 (list_click): Ditto.
376 (create_listview): Ditto.
377 (do_choose): Ditto. Replace TABs and remove CRs in lines written to
378 setup.log.full. Allow "Yes" for source exists in setup.log.full when
379 installing from local directories.
380
381 Mon Jun 25 00:56:37 2001 Christopher Faylor <cgf@cygnus.com>
382
383 * choose.cc (set_action): Only clear srcpicked when moving to next
384 state. Allow source installation if it exists in the current "trust"
385 state. Don't move to skip state when package is installed.
386 (list_click): Don't allow source clicking when no source is available.
387 (set_full_list): Display package when not is_full_action.
388 * ini.h (is_full_action): Define.
389
390 Sun Jun 17 12:06:14 2001 Christopher Faylor <cgf@cygnus.com>
391
392 * install.cc (check_for_old_cygwin): New function. First stab at
393 checking for old cygwin versions.
394 (do_install): Call check_for_old_cygwin if there were no errors during
395 the install.
396
397 Sat Jun 16 11:33:51 2001 Michael A Chase <mchase@ix.netcom.com>
398
399 * choose.cc (_Info::_Info): Test _source paramenter for non-NULL rather
400 than zeroed "source" element.
401
402 Fri Jun 15 20:54:43 2001 Christopher Faylor <cgf@cygnus.com>
403
404 * choose.cc (scan2): Insert unknown tar archives, found on disk, into
405 the highest available "hole" in the trust array.
406
407 Fri Jun 15 00:20:48 2001 Christopher Faylor <cgf@cygnus.com>
408
409 * choose.cc (set_existence): Use pointer method for indexing in trust
410 array.
411 (create_listview): Ditto.
412 (scan2): Ditto. Also, use consistent variable name for indexing into
413 trust array.
414 * ini.h (Package): Reorganize info array for easier scanning.
415
416 Fri Jun 15 00:01:51 2001 Christopher Faylor <cgf@cygnus.com>
417
418 * choose.cc (isinstalled): Eliminate special download only test.
419 (set_action): Don't move to next state if in ACTION_SAME range and not
420 incrementing.
421 (choose_caption): Display "Retrieve" rather than "Reinstall" when just
422 downloading.
423 (do_choose): Sort packages after all packages have been read.
424 Accomodate the fact that first element in trust array is empty so that
425 log files don't report the wrong trust value.
426 * iniparse.y (new_package): Malloc space for package name or suffer
427 memory corruption.
428
429 Thu Jun 14 22:43:59 2001 Robert Collins <rbtcollins@hotmail.com>
430
431 * ini.h (Dependency): New structure. Declare new function.
432 * inilex.l (yylex): Detect new setup.ini options - category and requires.
433 * iniparse.y: Declare new setup.ini token values.
434 (yyparse): Parse new token values.
435 (new_requirement): New function.
436
437 Thu Jun 14 22:43:26 2001 Christopher Faylor <cgf@cygnus.com>
438
439 * choose.cc (read_installed_db): Eliminate obsolete code.
440
441 Thu Jun 14 22:11:53 2001 Christopher Faylor <cgf@cygnus.com>
442
443 * choose.cc (set_action): Set trust on "redo".
444 (_Info::_Info): New constructor.
445 (read_installed_db): Use new constructor. Use trusts type for
446 iterator.
447 * ini.h (struct _Info): Label struct, add constructor.
448 (Package): Make installed_ix a type 'trusts.'
449 * install.cc (uninstall_one): Unset any installed info for current
450 package.
451 (install_one): Allocate new Info struct for installed reflecting new
452 installed info.
453 (do_install): Don't output line to installed.db if package is being
454 uninstalled.
455
456 Thu Jun 14 20:33:01 2001 Robert Collins <rbtcollins@hotmail.com>
457
458 * choose.cc (getpkgbyname): Use consistent method for scanning package
459 array.
460
461 Wed Jun 13 23:33:08 2001 Christopher Faylor <cgf@cygnus.com>
462
463 * choose.cc: Add some comments.
464 (getpkgbyname): Use strcasecmp for comparisons.
465
466 Wed Jun 13 16:07:00 2001 Christopher Faylor <cgf@cygnus.com>
467
468 * install.cc (do_install): Avoid checking for download action if
469 package wasn't currently retrieved.
470
471 Wed Jun 13 11:27:22 2001 Christopher Faylor <cgf@cygnus.com>
472
473 * choose.cc: Eliminate extra array throughout. Use element in package
474 structure instead. Use pointers rather than array indexes where
475 appropriate.
476 (set_action): New function to set next action based on current.
477 (choose_caption): New function. Returns display caption.
478 (check_existence): Change arguments. Use pointer to 'info' structure.
479 (set_existence): Use pointer rather than array index.
480 (default_trust): Use trusts enum for second argument.
481 (set_full_list): Honor exclude element in package structure.
482 (build_labels): Eliminate.
483 (base): Make global. Use const char * argument.
484 (get_package_version): Eliminate.
485 (getpkgbyname): New function.
486 (read_installed_db): Use parse_filename to get version info.
487 * desktop.cc (make_passwd_group): Use getpkgbyname function.
488 * download.cc (get_file_size): const argument.
489 (do_download): Use is_download_action to determine when something
490 should be downloaded.
491 * filemanip.h: Add some functions.
492 * ini.cc (do_ini): Use NULL rather than 0 for pointer assignment.
493 * ini.h: Use enums for actions and trusts.
494 (is_download_action): New macro.
495 (is_upgrade_action): Ditto.
496 (is_uninstall_action): Ditto.
497 (struct Package): Add new fields.
498 * inilex.l (yylex): Detect new setup.ini options.
499 * iniparse.y: Declare new tokens.
500 (yyparse): Detect exclude keyword. Fill out version field even if
501 version == 0.
502 (new_package): Use greater granularity when allocating package array to
503 avoid repeated calls to realloc.
504 * install.cc (exists): const argument.
505 (uninstall_one): Take pkg argument.
506 (install_one): Ditto. Eliminate unneeded arguments which can be
507 derived from package info.
508 (do_install): Iterate over package array using a pointer. Use
509 is_download_action to control when package should be downloaded.
510 * tar.cc (tar_open): const argument.
511 * tar.h: Refloect const argument.
512
513 2001-05-31 Michael Chase mchase@ix.netcom.com
514
515 * main.cc (WinMain): Add setup version to starting setup.log entry
516
517 Tue May 29 21:37:58 2001 Yukihiko Sohda <sohda@is.titech.ac.jp>
518
519 * inilex.l: Add + to list of valid string characters.
520
521 Mon May 28 20:54:50 2001 Christopher Faylor <cgf@cygnus.com>
522
523 * Makefile.in: Remove more stuff in the clean target.
524
525 Mon May 28 18:24:59 2001 Christopher Faylor <cgf@cygnus.com>
526
527 * Makefile.in: Correctly generate iniparse.h.
528
529 Tue Mar 6 19:14:00 2001 Corinna Vinschen <corinna@vinschen.de>
530
531 * geturl.cc (get_url_to_file): Add parameter `allow_ftp_auth'.
532 * geturl.h: Change declaration of `get_url_to_file' accordingly.
533 * netio.cc (NetIO::NetIO): Add parameter `allow_ftp_auth'.
534 Set member `ftp_auth'.
535 (NetIO::open): Add parameter `allow_ftp_auth'. Use it in calls
536 to constructors of derived classes.
537 (NetIO::get_ftp_auth): New method.
538 * netio.h: Change class definition accordingly.
539 * nio-ftp.cc (NetIO_FTP::NetIO_FTP): Add parameter `allow_ftp_auth'.
540 Take global variables `net_ftp_user' and `net_ftp_passwd' into account.
541 Add code for ftp authentication retry.
542 * nio-ftp.h: Change class definition accordingly.
543 * nio-http.cc (NetIO_HTTP::NetIO_HTTP): Add parameter `allow_ftp_auth'.
544 Add code for ftp authentication retry in case of proxy connection.
545 * nio-http.h: Change class definition accordingly.
546 * res.rc: Add FTP authentication dialog.
547 * resource.h: Add new constants used in res.rc.
548 * state.h: Add variables `net_ftp_user' and `net_ftp_passwd'.
549
550 Sun May 27 17:12:23 2001 Christopher Faylor <cgf@cygnus.com>
551
552 * res.rc (IDD_SPLASH): Add a copyright year.
553
554 Sun May 27 15:42:18 2001 Christopher Faylor <cgf@cygnus.com>
555
556 * Makefile.in: Make iniparse.y produce a c++ file.
557 * choose.cc (set_existence): Revert 2001-05-27 change.
558 * ini.cc: Remove "C" from declaration of yyparse.
559 * iniparse.y (yyparse): Fill out version field by default when a binary
560 install is detected and no version has been set yet.
561 * install.cc (do_install): Mount things earlier so that we can use
562 proper mount table settings. Don't remove mounts since they are now
563 honored.
564 * mount.cc (create_mount): Reread the mount table after establishing a
565 new mount.
566 (read_mounts): Explicitly clear root_here to allow multiple uses of
567 this function. Ensure that there is no garbage in the table when we've
568 exhausted all of the mounts in the registry.
569 (cygpath): Accomodate ./ in path.
570
571 Sun May 27 02:59:07 2001 Christopher Faylor <cgf@cygnus.com>
572
573 Use parse_filename method to parse filenames throughout. Use
574 get_root_dir to retrieve the current root directory throughout. Set
575 const in argument list, where appropriate, throughout.
576 * choose.cc (set_existence): Detect case of uninstalled package with no
577 version.
578 (parse_filename): New function.
579 * filemanip.h (fileparse): New structure.
580 * mount.cc (read_mounts): Remember where we found the root mount.
581 (set_root_dir): New function.
582 (get_root_dir): Ditto.
583 * mount.h: Declare new functions.
584 * site.cc (get_root_dir_now): Renamed from get_root_dir.
585 (save_site_url): Use new function name.
586 (get_initial_list_idx): Ditto.
587
588 Sat May 26 21:23:59 2001 Christopher Faylor <cgf@cygnus.com>
589
590 * choose.cc: Use a constant throughout to deal with chooser icon
591 length.
592 * res.rc (IDD_CHOOSE): Increase size of chooser box.
593
594 2001-05-07 Brian Keener <bkeener@thesoftwaresource.com>
595
596 * choose.cc (do_choose): Fix incorrect assignment of trust setting to
597 use when Redownload or Sources Only selected.
598
599 Thu May 10 22:35:59 2001 Christopher Faylor <cgf@cygnus.com>
600
601 Reformat file after botched patch formatting.
602 * choose.cc (which_trust): Eliminate variable.
603 (default_trust): Don't set which_trust.
604 (do_choose): Use selected trust when reinstalling or installing source.
605
606 Thu May 10 21:04:18 2001 Christopher Faylor <cgf@cygnus.com>
607
608 Change concat to cygpath throughout.
609 Change map_filename to cygpath throughout.
610 * concat.cc (vconcat): New function.
611 (concat): Use vconcat.
612 * concat.h: Reflect above.
613 * install.cc (map_filename): Eliminate.
614 (install_one): Free dest_file.
615 * mount.cc (find2): Expect input key to be pointing to mount record.
616 (in_table): New function.
617 (is_admin): Move from root.cc.
618 (read_mounts): New function.
619 (path_prefix_p): New function.
620 (cygpath): New function.
621 * mount.h: Define new functions and structure.
622 * root.cc (in_table): Move to mount.cc.
623 (do_root): Call read_mounts to initialize root stuff and mount table.
624 * site.cc (get_root_dir): Ditto.
625
626 2001-05-09 Matt Hargett <matt@use.net>
627
628 * Makefile.in: Remove *.rc from clean.
629
630 Tue May 8 23:33:38 2001 Christopher Faylor <cgf@cygnus.com>
631
632 * choose.cc (scan2): Fix incorrect setting of TRUST_CURR rather than
633 TRUST_PREV which produced "0" versions.
634
635 2001-05-07 Brian Keener <bkeener@thesoftwaresource.com>
636
637 * resource.h: Add new field IDC_CHOOSE_INST_TEXT. Modify
638 _APS_NEXT_CONTROL_VALUE to account for addition of
639 IDC_CHOOSE_INST_TEXT.
640 * res.rc (IDD_CHOOSE): Modify choose dialog to use new field
641 IDC_CHOOSE_INST_TEXT for screen text. Modify choose Dialog to allow
642 hot keys to select Prev, Curr, Exp.
643 * ini.h: Add new actions for ACTION_REDO and ACTION_SRC_ONLY. Modify
644 define for LOOP_PACKAGES to include new actions ACTION_REDO and
645 ACTION_SRC_ONLY.
646 * choose.cc: Add new Trusts for TRUST_REDO and TRUST_SRC_ONLY.
647 (paint): Modify to check TRUST_SRC_ONLY when determining Bitmap for
648 source Checkbox to use.
649 (build_labels): Add logic to allow for selection of Source only
650 Download/ReDownload/Install/Reinstall and also to Redownload/Reinstall
651 current version binary.
652 (dialog_proc): Add conditional display for file selection prompt based
653 on download vs install using IDC_CHOOSE_INST_TEXT.
654 (do_choose): Add new logic for TRUST_REDO and TRUST_SRC_ONLY selection
655 and modify logic for TRUST_UNINSTALL, TRUST_KEEP, and TRUST_NONE to
656 handle the instance where Source Download/Install was selected. Modify
657 log file to store appropriate information regarding Action selected and
658 the new actions that were added (I.E.: ACTION_REDO and
659 ACTION_SRC_ONLY).
660 * download.cc: Add include for <unistd.h> and "port.h".
661 (download_one): Modify parameter list to include the selected action
662 for the file to be downloaded. Modify size check against expected size
663 to include check for ACTION_REDO and ACTION_SRC_ONLY. Modify rename of
664 .tmp file to also remove the destination file if exists due to ability
665 to redownload source and binary now.
666 (do_download): Modify to also use ACTION_REDO and ACTION_SRC_ONLY in
667 calculation of Download Bytes. Modify to also use ACTION_REDO and
668 ACTION_SRC_ONLY in determining files selected for download.
669 * install.cc (uninstall_one): Add check to treat a Reinstall like an
670 upgrade so current version will be uninstalled prior to reinstall.
671 (do_install): Add logic to handle ACTION_REDO and ACTION_SRC_ONLY for
672 uninstalling and installing binary and source packages.
673 * desktop.cc (make_passwd_group): Modify logic to account for a Source
674 only cygwin install when checking for cygwin to determine need for
675 mkpasswd and mkgroup.
676
677 Mon May 7 23:33:30 2001 Matt Hargett <matt@use.net>
678
679 * winsup/cinstall/res.rc: Added accelerators and improved focus order.
680 Removed WS_DISABLED from "OK" buttons to accomodate default focus
681 changes in net.cc and source.cc.
682 * winsup/cinstall/net.cc (dialog_proc): If no radio button is selected,
683 a default is selected.
684 * winsup/cinstall/source.cc (dialog_proc): Ditto.
685 (check_if_enable_next): Removed. No longer needed since a radio button
686 will always be selected.
687 (load_dialog): Removed call to check_if_enable_next.
688 (dialog_cmd): Ditto. Also added default to switch.
689
690 Tue Apr 24 23:42:02 2001 Christopher Faylor <cgf@cygnus.com>
691
692 * res.rc: Resize affected text.
693
694 Tue Apr 24 23:35:31 2001 Christopher Faylor <cgf@cygnus.com>
695
696 * net.cc (do_net): Default to direct download.
697 * res.rc: Move default selections to the top.
698
699 2001-04-18 Earnie Boyd <earnie@users.sourceforge.net>
700
701 * win32.h: Remove the definitions for _UNION_NAME and _STRUCT_NAME.
702 Must now include <windows.h> and not the pieces.
703 * choose.cc (create_listview): Clean up type mismatch problems.
704 * dialog.h (NEXT(id)): Ditto.
705 * geturl.cc (dialog): Ditto.
706 * install.cc (dialog): Ditto.
707 * splash.cc (load_dialog): Ditto.
708
709 Wed Apr 18 18:59:21 2001 Christopher Faylor <cgf@cygnus.com>
710
711 * tar.cc (class gzbz): Define dummy virtual functions.
712
713 Wed Apr 18 16:01:21 2001 Christopher Faylor <cgf@cygnus.com>
714
715 * Makefile.in: Add bz2 include/library support.
716 * filemanip.h: New file.
717 * choose.cc (find_tar_ext): New function. Returns TRUE if .tar.gz or
718 .tar.bz2 found.
719 (scan2): Reorganize to use find_tar_ext, accomodating .bz2 extension.
720 (read_installed_db): Ditto.
721 (do_choose): Ditto.
722 * fromcwd.cc (found_file): Ditto.
723 (do_fromcwd): Ditto.
724 * tar.cc (class gzbz): New super class for uncompression support.
725 (gz): New class for gzip support.
726 (bz): New class for bzip2 support.
727 (tar_open): Use gzbz class to control file opening.
728 (tar_ftell): Ditto for returning position in file.
729 (skip_file): Ditto for reading file.
730 (tar_next_file): Ditto.
731 (tar_read_file): Ditto.
732 (tar_close): Ditto for close.
733
734 * zlib/configure.in: Force NM substitution.
735
736 * source.cc (do_source): Default to "Install from Internet".
737
738 2001-03-16 Brian Keener <bkeener@thesoftwaresource.com>
739
740 * nio-file.cc (NetIO_File::NetIO_File): Use `get_file_size' instead of
741 `stat'.
742 * choose.cc (list_click): Correct inability to select source code for
743 download.
744 (scan2): Modify to skip source tarballs when scanning disk for
745 installable packages.
746
747 2001-03-10 Chris Abbey <chris_abbey@yahoo.com>
748
749 * install.cc: install sources into /usr/src instead
750 of /, also include the sizes of source tarballs
751 in total_bytes.
752 * download.cc: include sizes of source tarballs in
753 total_download_bytes.
754
755 Tue Mar 6 19:31:00 2000 Corinna Vinschen <corinna@vinschen.com>
756
757 * download.cc (get_file_size): Remove `static'.
758
759 Tue Mar 6 19:11:00 2000 Corinna Vinschen <corinna@vinschen.com>
760
761 * tar.cc (tar_open): Use `get_file_size' instead of `stat'.
762
763 2001-03-06 Brian Keener <bkeener@thesoftwaresource.com>
764
765 * choose.cc (paint): Modify message for nothing to download vs
766 nothing to install/update based on installation method.
767 (list_click): Modify to skip versions in selection process if
768 installing from local directory and installation file does not exist.
769 Also leaves Source Action set to N/A if the source file does not exist
770 and installing from local directory.
771 (check_existence): New method to check current existence of installation
772 files based on selected installation method.
773 (set_existence): New method to set the current existence of installation
774 files based on selected installation method.
775 (best_trust): Modify decision process for best trust to base decision on
776 current trust selected (IE: Prev, Curr, or Test), existence of file and
777 installation method selected.
778 (default_trust): Add logic to capture the current trust level and the
779 trust selected for the given package.
780 (set_full_list): Expand decision criteria for displaying a package in
781 the selection list to include file existence/non-existence and selected
782 installation method.
783 (build_labels): Modify criteria for label addition to include
784 installation method and file existence/non-existence.
785 (create_listview): Modify to establish package trust level for each
786 package before setting up the display list. Also modification to set
787 current trust button as the default.
788 (dialog_cmd): Set response for Prev, Curr, Test button push to perform
789 a reset of the selection list in addition to setting the default trust.
790 (get_package_version): New method to provide reusable code for
791 determining the package version from the file name for a specified
792 trust.
793 (scan2): Modify to use new method get_package_version and
794 also enhance handling of the build for the structures package and
795 extra.
796 (read_installed_db): Modify to use the new method
797 get_package_version and also enhance handling of the build for the
798 structures package and extra.
799 (do_choose): Add additional initialization of package and extra
800 structures. Modify to use read_installed_db all the time despite
801 install method. Modify output to setup.log.full log file to increase
802 readability by adding additional spacing, expanded code and available
803 versions.
804 * ini.h: Add new fields install_exists, source_exists and
805 partial_list_display to the structure definition for package.
806 * res.rc (IDD_CHOOSE): Modify choose dialog Prev, Curr, and Test
807 pushbuttons by replacing with Radio Buttons thus allowing the
808 operator to better determine which is selected.
809
810 2001-02-20 Brian Keener <bkeener@thesoftwaresource.com>
811
812 * download.cc (do_download): Add new variables total_download_bytes and
813 total_download_bytes_sofar for download progress meter. Add loop
814 to accumulate the total bytes to download from the selected packages.
815 * geturl.cc: Add state.h and diskfull.h to include list. Add new
816 variables gw_iprogress, gw_pprogress, gw_progress_text,
817 gw_pprogress_text, and gw_iprogress_text to allow for addition of
818 total packages download progress meter and disk full percent
819 progress meter. Add variables total_download_bytes and
820 total_download_bytes_sofar for use by progress meters.
821 (dialog_proc): Add new variables gw_iprogress, gw_pprogress,
822 gw_progress_text, gw_pprogress_text, and gw_iprogress_text to
823 allow for addition of total packages download progress meter and disk
824 full percent progress meter.
825 (init_dialog): Ditto.
826 (progress): Ditto.
827 (get_url_to_file): Ditto.
828 * geturl.h: Add external definition for total_download_bytes and
829 total_download_bytes_sofar.
830 * res.rc: Add two additional progress meters (IDC_DLS_IPROGRESS)
831 and (IDC_DLS_PPROGRESS) and three text objects (IDC_DLS_PROGRESS_TEXT)
832 and (IDC_DLS_IPROGRESS_TEXT, IDC_DLS_PPROGRESS_TEXT) for use in the
833 download meters.
834 * resource.h: Add new fields for progress meters and text and update
835 _APS_NEXT_CONTROL_VALUE.
836
837 Wed Feb 21 13:05:00 2000 Corinna Vinschen <vinschen@redhat.com>
838
839 * download.cc (get_file_size): Check for INVALID_HANDLE_VALUE instead
840 for NULL.
841
842 Wed Feb 21 11:21:00 2000 Corinna Vinschen <vinschen@redhat.com>
843
844 * download.cc (download_one): Add missing parenthesis.
845
846 Mon Feb 19 18:59:00 2000 Corinna Vinschen <vinschen@redhat.com>
847
848 * download.cc (get_file_size): New function. Eliminates the need
849 to call `stat'.
850 (download_one): Call `get_file_size' instead of `stat'. This
851 workarounds a problem with mingw's `stat' call.
852
853 2001-02-07 Earnie Boyd <earnie@users.sourceforge.net>
854
855 * Makefile.in: (%.o: %.rc): Specify --include-dir $(w32api_include).
856 This is to allow cinstall to build with 2.95.2-7 and to make the
857 use of headers consistent.
858
859 2000-12-26 Earnie Boyd <earnie_boyd@yahoo.com>
860
861 * Makefile.in (autoload.o): Add target to specify -fno-inline-functions
862
863 Tue Dec 26 03:46:00 2000 Matt Hargett <matt@use.net>
864
865 * winsup/cinstall/res.rc: Added accelerators and improved focus
866 order.
867
868 2000-12-10 Egor Duda <deo@logos-m.ru>
869
870 * choose.cc (paint): Use system background color for text output.
871
872 Sun Dec 10 19:05:25 2000 Christopher Faylor <cgf@cygnus.com>
873
874 * Makefile.in: Use CXX for linking and for compiling .cc files.
875 * configure.in: Find correct c++ compiler.
876 * configure: Regenerate.
877
878 2000-11-17 DJ Delorie <dj@redhat.com>
879
880 * splash.cc (load_dialog): Make message more obvious.
881 * res.rc: Ditto.
882
883 Fri Nov 17 17:15:21 2000 Christopher Faylor <cgf@cygnus.com>
884
885 * Makefile.in: Use g++ to link so that libstdc++.a gets used. This is
886 necessary for newer compilers.
887
888 Wed Nov 9 2:19:00 2000 Corinna Vinschen <vinschen@redhat.com>
889
890 * desktop.cc: Include "ini.h" and "version.h".
891 (make_passwd_group): Skip the function on 9x/ME boxes when an
892 older version of Cygwin has been installed which doesn't
893 support mkpasswd/mkgroup on 9x/ME.
894 * install.cc: Move the `LOOP_PACKAGES' and `pi' macros to...
895 * ini.h: ...here.
896
897 Wed Nov 8 17:10:00 2000 Corinna Vinschen <vinschen@redhat.com>
898
899 * desktop.cc (make_passwd_group): Don't exit when started
900 on 9x/ME since mkpasswd/mkgroup are usable on 9x/ME now.
901
902 Sun Nov 5 12:51:42 2000 Jason Tishler <jt@dothill.com>
903
904 * install.cc (do_install): Add call to set_cygdrive_flags to sync
905 the mount modes.
906 * mount.cc (set_cygdrive_flags): New function.
907 (get_cygdrive_flags): Ditto.
908 (default_cygdrive): Ditto.
909 (set_cygdrive_flags): Ditto.
910 * mount.h: Add prototype for set_cygdrive_flags.
911
912 2000-10-23 DJ Delorie <dj@redhat.com>
913
914 * ini.h: add source actions
915 * fromcwd.cc: check for available sources
916 * res.rc: add checkbox bitmaps
917 * resource.h: ditto
918 * check-*.bmp: new
919 * choose.cc: add source column
920 * download.cc: download sources if called for
921 * install.cc: [un]install sources too
922
923 2000-10-22 DJ Delorie <dj@redhat.com>
924
925 * choose.cc (build_labels): Don't skip TRUST_PREV completely; only
926 ignore it wrt full_list if there's already a version installed.
927 (do_choose): Sort the list.
928 (package_sort): New.
929
930 2000-10-12 DJ Delorie <dj@redhat.com>
931
932 * res.rc: Add more error strings.
933 * resource.h: Ditto.
934 * iniparse.y (new_package): re-initialize if needed.
935 * download.cc (do_download): Keep track of errors; notify and
936 allow retry.
937 * install.cc (do_install): Ditto.
938
939 2000-10-05 DJ Delorie <dj@redhat.com>
940
941 * Makefile.in: fix %.cc rule
942
943 2000-10-04 DJ Delorie <dj@redhat.com>
944
945 * desktop.cc: quote HOME and USER, don't . ./.profile
946
947 * choose.cc (build_labels): don't include in partial list just
948 because there's a *previous* version available.
949
950 * install.cc (do_install): if installing from local directory with
951 setup.ini and the file isn't found, look in "." also. Note errors.
952
953 2000-10-02 DJ Delorie <dj@redhat.com>
954
955 * ini.cc (do_ini): save setup.ini locally
956
957 2000-10-02 Chris Abbey <cabbey@bresnanlink.net>
958
959 * desktop.cc: quote escapes in prompt
960
961 2000-10-02 Jason Tishler <jt@dothill.com>
962
963 * root.cc (is_admin): New function.
964 (read_mount_table): Check for administrative priviledges and set
965 installation scope as appropriate.
966
967 2000-09-28 DJ Delorie <dj@redhat.com>
968
969 * nio-ftp.cc (ftp_line): handle continuations more robustly
970
971 2000-09-14 Brian Keener <bkeener@thesoftwaresource.com>
972
973 * res.rc: increased the size of the site dialog (IDD_SITE) & the
974 corresponding list box to provide for more URL's to be listed.
975 Modified the position of the Back, Next and Cancel buttons to
976 correspond to the new size of the dialog.
977
978 2000-09-13 DJ Delorie <dj@redhat.com>
979
980 * install.cc (do_install): update disk fullness once per package
981 to improve performance
982
983 * choose.cc (create_listview): call ReleaseDC
984
985 Mon Sep 11 22:40 2000 Harold L Hunt II <harold@compasstechnologies.com>
986
987 * mkdir.cc: Create directories when ERROR_FILE_NOT_FOUND is
988 returned, as it seems Samba 2.0.6+ returns this instead of
989 ERROR_PATH_NOT_FOUND
990
991 Mon Sep 11 19:35:24 2000 Christopher Faylor <cgf@cygnus.com>
992
993 * site.cc (get_initial_list_idx): Don't default to saved URL if it
994 refers to sources.
995
996 2000-09-07 DJ Delorie <dj@redhat.com>
997
998 * splash.cc: use version.h, not local decl
999 * res.rc: add "old version" message
1000 * resource.h: ditto
1001 * version.h: new
1002 * fromcwd.cc (canonicalize_version): make global
1003 * iniparse.y: add setup-version support, fix bug in blank line
1004 handling
1005
1006 * inilex.l: add [exp] as alias for [test], add setup-version
1007 * Makefile.in (version.c): add setup-version tag
1008
1009 * desktop.cc (do_desktop): remove 1.1 version number
1010 (do_desktop_setup): ditto
1011
1012 * ini.cc (do_ini): zero out package list just in case we redo it.
1013
1014 2000-09-07 Jeffrey Juliano <juliano@cs.unc.edu>
1015
1016 * choose.cc (list_click): Check for nindexes==0; if so, return.
1017
1018 2000-09-06 Andrej Borsenkow <Andrej.Borsenkow@mow.siemens.ru>
1019
1020 * localdir.cc: new, local package directory selection dialog; cd
1021 into selected directory
1022 * Makefile.in (OBJS): add localdir.o
1023 * dialog.h: add prototype for do_local_dir
1024 * main.cc (WinMain): initialize local_dir to cwd; add call to
1025 do_local_dir
1026 * net.cc (dialog_cmd): make DO_LOCAL_DIR next dialog
1027 * source.cc (dialog_cmd): ditto
1028 * res.rc: add DO_LOCAL_DIR dialog; remove "current directory" from
1029 presented choices in IDD_SOURCE; add IDS_ERR_CHDIR error string
1030 * resource.h: defines for DO_LOCAL_DIR dialog; define IDS_ERR_CHDIR
1031 * root.cc (dialog_cmd): make DO_LOCAL_DIR previous dialog
1032 * state.h: add local_dir variable
1033
1034 2000-09-06 Brian Keener <bkeener@thesoftwaresource.com>
1035
1036 * desktop.cc: added logic to handle to the new dialog and to
1037 default the setting for the new checkboxes based on whether the
1038 desktop icon or start menu link already exist.
1039 (desktop_icon): correction to desktop directories for desktop icon
1040 creation. Additional logic added for Win95 which does not appear
1041 to have Common Directories so if Common selected and null uses
1042 normal directory.
1043 (start_menu): Additional logic added for Win95 which does not
1044 appear to have Common Directories so if Common selected and null
1045 uses normal directory.
1046 (do_desktop_setup): moved the saving of the icon, creation of the
1047 bat file, profile, passwd, Start Menu link and desktop shortcut to
1048 this method from do_desktop. Made the creation of the desktop
1049 icon and start menu link conditional on settings of new dialog
1050 created for desktop.
1051 * install.cc (do_install): changed next from IDD_S_DESKTOP to
1052 IDD_DESKTOP.
1053 * main.cc (WinMain): changed case IDD_S_DESKTOP to IDD_DESKTOP.
1054 * res.rc: added new resource to create a desktop dialog with 2
1055 checkboxes for creating the desktop icon and start menu link.
1056 * resource.h: changed IDD_S_DESKTOP to IDD_DESKTOP and added two
1057 new controls: IDC_ROOT_MENU and IDC_ROOT_DESKTOP for new dialog.
1058 * state.h: added root_menu and root_desktop for use in dialog.
1059
1060 2000-08-29 DJ Delorie <dj@redhat.com>
1061
1062 * choose.cc (scan_downloaded_files): scan for existing files, so
1063 that the user only sees new downloads.
1064
1065 * nio-ie5.cc (NetIO_IE5): pre-check for wininet.dll, enable dial-up
1066 * site.cc (do_site): if we can't download the mirror list, go back
1067 to the net setup box to choose another transport.
1068 * autoload.c: add more functions
1069 * Makefile.in (ALL_DEP_LDLIBS): remove wininet.a
1070 * resource.h: add WININET message
1071
1072 * net.cc (do_net): no longer default to IE5
1073 * simpsock.h (class SimpleSocket): new, simplify socket operations
1074 * simpsock.cc: ditto
1075 * nio-http.h: new, for direct http protocol
1076 * nio-http.cc: ditto
1077 * nio-ftp.h: new, for direct http protocol
1078 * nio-ftp.cc: ditto
1079 * netio.cc (set_url): move initialization here to handle redirections
1080 (open): add direct http/ftp
1081 * netio.h (NetIO::set_url): new
1082
1083 * log.cc (log_save): create directory for log if needed
1084
1085 * hash.cc, hash.h: new
1086 * Makefile: add hash.o
1087 * choose.cc: enable "uninstall" option
1088 * download.cc: invert action test to accomodate uninstalling
1089 * ini.h: add ACTION_UNINSTALL
1090 * install.cc: add uninstall functionality
1091 * res.rc: make install tag changeable
1092 * resource.h: add uninstall resources
1093
1094 * res.rc: update mirror list URL
1095
1096 2000-08-24 DJ Delorie <dj@redhat.com>
1097
1098 * log.cc, log.h: new files
1099 * Makefile.in (OBJS): add log.o
1100 * tar.cc: use exit_setup instead of exit
1101 * dialog.cc (fatal): use exit_setup instead of ExitProcess
1102 * msg.cc (fatal): ditto
1103 * install.cc (dialog_cmd): ditto
1104 * ini.cc (do_ini): ditto
1105 * main.cc (main): add logging
1106 * source.cc (do_source): ditto
1107 * root.cc (do_source): ditto
1108 * site.cc (do_site): ditto
1109 * other.cc (do_other): ditto
1110 * net.cc (do_net): ditto
1111 * choose.cc (do_choose): ditto
1112 * download.cc (do_download): ditto
1113 * install.cc (do_install): ditto
1114 * msg.cc (fatal): ditto
1115
1116 * res.rc: mark password boxes as *being* password boxes.
1117
1118 * fromcwd.cc (canonicalize_version): use multiple buffers so that multiple
1119 calls won't use the same buffer.
1120 * choose.cc (create_listview): don't default to full list if no changes
1121 (base): return computed value, not temporary :-(
1122 (do_choose): don't use installed.db if we're only downloading.
1123
1124 2000-08-23 DJ Delorie <dj@redhat.com>
1125
1126 * nio-ie5.cc (NetIO_IE5): Fix authentication logic
1127 * nio-ie5.h (flush_io): new
1128 * netio.cc (load_dialog): note when we're initializing the dialog
1129 box, and ignore changes to the edit fields then.
1130
1131 2000-08-21 DJ Delorie <dj@redhat.com>
1132
1133 * README: Update
1134
1135 * fromcwd.cc (found_file): don't remember the canonicalized version
1136
1137 * choose.cc (paint): print "nothing to do" message when list is empty.
1138 (build_labels): Use version "0.0" if no version is available.
1139 (create_listview): default to full list if nothing to install/update.
1140 (base): new, returns basename of file
1141 (read_installed_db): compare base names, not full paths
1142
1143 2000-08-11 DJ Delorie <dj@redhat.com>
1144
1145 * choose.cc: add new chooser dialog
1146 * fromcwd.cc: use IDD_CHOOSE
1147 * ini.cc: use IDD_CHOOSE
1148 * main.cc: use IDD_CHOOSE
1149 * ini.h: cosmetic changes
1150 * res.rc: add choose dialog, bitmaps
1151 * choose-spin.bmp: new
1152 * choose-rtarrow.bmp: new
1153 * resource.h: add choose dialog controls
1154
1155 * mount.cc: remove debug statement
1156
1157 2000-08-08 DJ Delorie <dj@redhat.com>
1158
1159 * Makefile.in (version.c): make version checking more robust
1160 * splash.cc (load_dialog): handle case where there's no version
1161
1162 2000-08-07 DJ Delorie <dj@redhat.com>
1163
1164 * (all): add cvsid tags
1165 * Makefile.in: generate version.c from ChangeLog, add splash.o
1166 * splash.o: new
1167 * res.rc: add splash screen
1168
1169 2000-08-02 DJ Delorie <dj@redhat.com>
1170
1171 * net.cc: remove proxy password code
1172 * res.rc: remove proxy user/pass from net, add auth dialogs
1173 * netio.cc,h: add sys/proxy auth methods
1174 * nio-ie5: use them, check for http status codes
1175 * state.h: add system authorization
1176
1177 * concat.cc (concat): canonicalize x:// to x:/ (exception to ://
1178 meaning an url)
1179
1180 2000-08-02 Norman Vine <nhv@yahoo,com>
1181
1182 * msg.cc (mbox): added MB_TOPMOST to MessageBox type flags
1183
1184 2000-08-01 DJ Delorie <dj@redhat.com>
1185
1186 * postinstall.cc (each): don't rename files we ignore
1187 (do_postinstall): set CYGWINROOT to root_dir, chdir there
1188
1189 * desktop.cc: have /etc/profile call ~/.profile and ~/.bashrc
1190
1191 2000-07-31 DJ Delorie <dj@redhat.com>
1192
1193 * desktop.cc: reverse PATH so /usr/bin precedes /bin
1194
1195 2000-07-18 DJ Delorie <dj@redhat.com>
1196
1197 * autoload.c: new, autoload dlls that might not be available.
1198 * Makefile.in (OBJS): add autoload.o
1199
1200 * res.rc: rewrite root options (text/binary, system/user) to be
1201 more obvious.
1202
1203 * site.cc (get_site_list): trim displayed URL, sort by domain
1204
1205 * net.cc (do_net): make IE5 default to checked, for now
1206
1207 * choose.cc (do_choose): sort packages correctly
1208 * ini.cc (do_ini): handle parse errors more gracefully
1209 (yyerror): ditto
1210 (fprintf): line buffer output
1211 (do_ini): if we can't load setup.ini, go back to the site list.
1212 * ini.h: add "unknown" trust level
1213 * inilex.l: absorb unknown trust levels and key/value pairs,
1214 add line number logic
1215 * iniparse.y: handle parse errors more gracefully.
1216 * install.cc: skip packages with no valid install entry
1217
1218 2000-07-17 DJ Delorie <dj@cygnus.com>
1219
1220 * coding standards fixups, many files
1221 * mkdir.cc: warn about deletions *before* deleting them
1222
1223 2000-07-17 Jeff Juliano <juliano@cs.unc.edu>
1224
1225 * res.rc (IDD_OTHER_URL): reorder to give default focus to entry
1226
1227 * other.cc (dialog_cmd): save download site URL
1228 * site.cc (get_root_dir): new
1229 (save_mirror_site): new
1230 (dialog_cmd): save download site URL
1231 (get_site_list): make list big enough to add prev site
1232 (get_initial_list_idx): new, read last-used URL from file and
1233 append it to site_list
1234 (do_site): call get_initial_list_idx
1235
1236 * concat.cc (concat): avoid segfault when first parm is null
1237
1238 2000-07-13 DJ Delorie <dj@cygnus.com>
1239
1240 * postinstall.cc: new
1241 * Makefile.in: add postinstall.o
1242 * concat.h: add backslash ()
1243 * concat.cc: ditto
1244 * desktop.cc (etc_profile): don't do postinstall
1245 (backslash): moved to concat.cc
1246 (uexists): new
1247 (make_postinstall_script): run directly
1248 (do_desktop): chain to do_postinstall
1249 * dialog.h: add exit_msg, do_postinstall
1250 * download.cc: use exit_msg
1251 * install.cc: ditto
1252 * main.cc: add postinstall, exit_msg
1253 * resource.h: add postinstall
1254 * README: add more to-do items
1255
1256 2000-07-12 DJ Delorie <dj@cygnus.com>
1257
1258 * desktop.cc: add /etc/postinstall/ support
1259 * install.cc: add more "standard" directories
1260
1261 2000-07-11 DJ Delorie <dj@cygnus.com>
1262
1263 * desktop.cc: create /etc/profile
1264 * desktop.cc: fix include syntax
1265 * Makefile.in: add auto-dependencies
1266 * root.cc: support system vs user
1267 * desktop.cc: ditto
1268 * mount.h: ditto
1269 * mount.cc: ditto
1270 * install.cc: ditto
1271 * res.rc: ditto
1272 * resource.h: ditto
1273 * state.h: ditto
1274 * desktop.cc: make sure we use backslashes, not slashes.
1275 * desktop.cc: don't set PATH in cygwin.bat, create /etc/passwd
1276 * geturl.cc: change math for percentage to avoid overflow
1277 * install.cc: ditto
1278 * download.cc: post "download complete" message.
1279 * root.cc: pre-fill in defaults if needed, don't start
1280 browse at root_dir unless it's set.
1281 * desktop.cc: quote $PATH in case it has spaces in it
1282
1283 2000-07-10 DJ Delorie <dj@cygnus.com>
1284
1285 * Makefile.in: add desktop.o and mklink2.o
1286 * dialog.h: add do_desktop
1287 * install.cc: create standard directories, call do_desktop
1288 * res.rc: add cygwin.ico as a file also
1289 * desktop.cc: new, do shortcuts, batch files, and icons
1290 * mklink2.c: new, for COM
1291 * README: update to-do list
1292
1293 2000-07-10 DJ Delorie <dj@cygnus.com>
1294
1295 * ini.cc (do_ini): don't worry about timestamps if we're not
1296 actually installing.
1297
1298 2000-07-09 DJ Delorie <dj@cygnus.com>
1299
1300 * Makefile.in: add -I$(srcdir) for ini.h
1301
1302 2000-07-06 DJ Delorie <dj@cygnus.com>
1303
1304 * Replace everything with a new GUI version
1305 * zlib/gzio.c: add gzctell() for progress displays
1306
1307 2000-06-22 DJ Delorie <dj@cygnus.com>
1308
1309 * setup.c (tarx): re-add call to write_pkg()
1310
1311 2000-06-07 DJ Delorie <dj@cygnus.com>
1312
1313 * cygcalls.c: new, call cygwin1.dll functions directly
1314 * cygcalls.h: header for same
1315 * Makefile.in: add cygcalls.[ch], remove mount/cygpath/umount
1316 exes, fix cinstall.rc dependencies.
1317 * path.c: remove unneeded code
1318 * setup.c: use cygcalls instead of xcreate_process.
1319 uncompress embedded files with zlib
1320 add "-d" for "download only"
1321 add "-h" for help
1322 postpone mount changes until very end
1323 add download progress indicators
1324 pack multi-column listings more
1325 auto-delete temp files
1326 customize banner message according to options
1327 prompt user for text/binary mounts
1328 add warnings about empty setup directory, root installs, etc
1329
1330 2000-05-24 DJ Delorie <dj@cygnus.com>
1331
1332 * tar.c: New file; built-in tar using zlib.
1333 * tar.h: New file; header for same.
1334 * ctar.c: New file; test program for same.
1335 * Makefile.in: add built-in tar, remove tar.exe and gzip.exe
1336 * path.c (pathcat): convert slashes and canonicalize, instead of aborting
1337 * setup.c (tarx): add support for built-in tar
1338 (main): accept unix-style slashes, check root dir for drive letters,
1339 warn about installing in /, make sure cwd is empty for internet installs,
1340 defer mounts to end of install, support built-in tar.
1341
1342 Fri May 19 23:44:37 2000 Christopher Faylor <cgf@cygnus.com>
1343
1344 Fix compiler warnings throughout.
1345 * pkg.c (init_pkgs): Make static 'stuff' global_pkgstuff for use in
1346 get_pkg_stuff.
1347 * setup.c: Make 'root' global.
1348 (istargz): Return pointer to "stem" of matched .tar.gz file.
1349 (tarx): Special case cygwin-20000301 to == cygwin-1.1.0.tar.gz. Remove
1350 bogus check_for_installed check.
1351 (recurse_dirs): Add preliminary support for .bat file execution.
1352 (create_uninstall): Eliminate unneeded parameter.
1353 (do_start_menu): Ditto.
1354 (mkmount): Ditto.
1355 (get_pkg_stuff): Ditto. Check for currently installed cygwin by
1356 scanning for the version number. Eliminate unneeded argument to
1357 create_uninstall.
1358 (getdownloadsource): Add 'name' to list of names rather than url.
1359 (main): Eliminate unneeded argument in get_pkg_stuff. Eliminate
1360 unneeded argument in mkmount and do_start_menu.
1361
1362 2000-05-18 DJ Delorie <dj@cygnus.com>
1363
1364 * setup.c (optionprompt): allow multi-column, clean up message
1365 about more options, be more robust about user input.
1366 (getdownloadsource): make the mirror URL a macro.
1367 (main): do mounts after done prompting user.
1368
1369 Tue May 2 00:56:41 2000 Christopher Faylor <cgf@cygnus.com>
1370
1371 * setup.c (cleanup): Inverse order of deletion stands a better chance
1372 of deleting cygpath.exe. Still seems to suffer from occasional races,
1373 though.
1374 (cleanup_on_signal): Perform convoluted dance to accomodate win95 and
1375 w2k.
1376 (output_file): Defend against an unlikely handle leak.
1377 (main): Don't set up signal handling until we have something special to
1378 do.
1379
1380 Mon May 1 17:56:32 2000 Christopher Faylor <cgf@cygnus.com>
1381
1382 * path.c (kill_cygpath): Delete function.
1383 (exit_cygpath): Make more defensive so that it can be called at any
1384 time.
1385 (cygpath_pipe): Don't set up signal here. Do it in main().
1386 * setup.c (istargz): New function.
1387 (recurse_dirs): Look for *.gz pattern rather than *tar.gz since *tar.gz
1388 inexplicably fails on samba mounted partitions. Use istargz to match
1389 tar.gz tail.
1390 (processdirlisting) Use istargz to match tar.gz tail.
1391 (cleanup): Renamed from filedel.
1392 (cleanup_on_signal): New function. Called on CTRL-C.
1393 (main): Record handle of main thread so that it can be suspended when
1394 CTRL-C occurs. Set up cleanup_on_signal signal handler.
1395
1396 Mon May 1 11:05:07 2000 Christopher Faylor <cgf@cygnus.com>
1397
1398 * setup.c (do_start_menu): Don't concatenate paths to already built
1399 paths.
1400
1401 Sun Apr 30 22:37:34 2000 Christopher Faylor <cgf@cygnus.com>
1402
1403 * path.c (exit_cygpath): Wait for subprocess to exit before returning.
1404 (cygpath_pipe): Don't call exit_cygpath. Let main atexit routine do
1405 that.
1406 * pkg.c (init_pkgs): Accept root argument. Make registry key "cygwin
1407 root"-specific.
1408 * setup.c (filedel): Call exit_cygpath here so that we can be assured
1409 that cygpath subprocess has died. This allows us to delete cygpath.exe
1410 and cygwin1.dll.
1411 (optionprompt): Initialize response to -1 so that second screen of
1412 mirrors will appear.
1413 (get_pkg_stuff): Don't attempt to use HKCLU. Pass root to init_pkgs.
1414 * setup.h: Reflect init_pkgs prototype change.
1415
1416 Sat Apr 29 23:53:30 2000 Christopher Faylor <cgf@cygnus.com>
1417
1418 * pkg.c (init_pkgs): Accept an argument to control what root registry
1419 key should be used.
1420 * setup.c (get_pkg_stuff): Use HKCLU registry key if default fails.
1421 * setup.h: Reflect init_pkgs prototype change.
1422
1423 Sat Apr 29 23:27:14 2000 Christopher Faylor <cgf@cygnus.com>
1424
1425 * error.c (winerror): Respond to gcc warning.
1426 * path.c (cygpath_pipe): Ditto.
1427 * setup.c (filedel): Call sa_cleanup on deleteme.
1428 (create_shortcut): Coerce argument to eliminate compiler warning.
1429 (tarx): Use installed version of cygwin1.dll, overriding tar file name.
1430 (refmatches): New function. Tests if ref is contained in a list of
1431 packages to install.
1432 (filematches): New function. Tests if filename matches one of a list
1433 of packages to install.
1434 (recurse_dirs): Accept list of packages to install. Generalize tar.gz
1435 test to accomodate _tar.gz.
1436 (prompt): Ensure that stdout is flushed prior to asking for input.
1437 (findhref): Initialize variables to quiet a compiler warning.
1438 (processdirlisting): Accept list of packages to install. Special case
1439 cygwin tar file version number.
1440 (downloaddir): Accept list of packages to install.
1441 (downloadfrom): Ditto.
1442 (create_uninstall): Eliminate unneeded variables. Quote arguments to
1443 regtool.
1444 (do_start_menu): Don't create uninstall bat file if updating or user
1445 specified a list of packages.
1446 (mkmount): Eliminate unneeded variables.
1447 (get_pkg_stuff): New function. Checks for previous unversioned
1448 installation.
1449 (main): Accept -u and -f options and package names on the command line.
1450 Use get_pkg_stuff to initialize package information. Umount /etc.
1451 Call recurse_dirs and downloadfrom with list of package to install.
1452 Ensure that all /usr/local directories are created. Output
1453 installation time to setup.log.
1454 * setup.h: Add some prototypes.
1455 * xsystem.c (xcreate_process): Eliminate unneeded variable.
1456
1457 Sat Apr 29 12:43:08 2000 Christopher Faylor <cgf@cygnus.com>
1458
1459 * setup.c (optionprompt): Don't overlap display of already seen options
1460 on next page.
1461 (geturl): Print name of site which we're connecting to rather than "ftp
1462 site".
1463 (processdirlisting): Avoid URLs that contain a /. or ./ . Is this
1464 test too simplistic?
1465 (do_start_menu): Use pathcat to build path to <root>\bin to avoid
1466 problems when user chooses x:\ as their root.
1467 (main): For now, default to "non-update" mode. Allow -u option to
1468 signify an update.
1469
1470 Sat Apr 29 00:26:06 2000 Christopher Faylor <cgf@cygnus.com>
1471
1472 * pkg.c: New file.
1473 * setup.c (tarx): Skip already installed or older packages. Report
1474 when a package has been updated.
1475 (processdirlisting): Skip already installed or older packages.
1476 (main): Detect -f option for forced installation. Initialize pkg stuff
1477 if appropriate.
1478 * setup.h: Add pkg definitions.
1479
1480 Thu Apr 27 14:21:30 2000 Christopher Faylor <cgf@cygnus.com>
1481
1482 * setup.c (findhref): Return NULL on empty string. Eat any trailing
1483 ";something".
1484 (processdirlisting): Attempt to limit recursively processing the same
1485 directory.
1486
1487 Thu Apr 27 11:42:23 2000 Christopher Faylor <cgf@cygnus.com>
1488
1489 * setup.c (filedel): New function.
1490 (output_file): Keep track of files extracted from setup.exe for
1491 subsequent deletion.
1492 (tarx): Close process handle of child tar process or suffer handle
1493 leak.
1494 (getdownloadsource): Close mirror file so that it can be unlinked.
1495 (processdirlisting): Return total number of files extracted.
1496 (main): Initialize array of files to delete. Ensure that files are
1497 closed on exit. Make the directory that setup.exe is started from ==
1498 the directory where temporary files are placed. Issue an error if no
1499 files were found to download.
1500 * xsystem.c (xcreate_process): Close the thread handle. Close the
1501 process handle if we waited for it to exit.
1502
1503 Thu Apr 27 09:54:19 2000 Christopher Faylor <cgf@cygnus.com>
1504
1505 * setup.c (main): Change version number output.
1506
1507 Thu Apr 27 09:23:17 2000 Christopher Faylor <cgf@cygnus.com>
1508
1509 * setup.c (tarx): Use full path name to tar executable.
1510 (main): Build full pathname to tar executable. Create /usr/local/etc
1511 by default.
1512
1513 Wed Apr 26 22:16:57 2000 Christopher Faylor <cgf@cygnus.com>
1514
1515 * setup.c (findhref): Change method for scanning for href= to choose
1516 the last one on the line. This is still not foolproof and probably
1517 will need to be changed eventually. Don't abort if no "size" field is
1518 evident.
1519 (processdirlisting): Fix boolean algebra.
1520
1521 Wed Apr 26 01:10:39 2000 Christopher Faylor <cgf@cygnus.com>
1522
1523 * main.c (tarx): Add some code for future task of unmounting
1524 directories encountered in tar file.
1525
1526 Sat Apr 22 16:37:03 2000 Christopher Faylor <cgf@cygnus.com>
1527
1528 * setup.c (findhref): Decode file size, when appropriate.
1529 (needfile): New function. Returns 1 when file should be
1530 downloaded.
1531 (processdirlisting): Always download if file size does not
1532 match. Prompt when download fails for some reason.
1533 (getdownloadsource): Accomodate findhref argument changes.
1534
1535 Sat Apr 22 15:13:42 2000 Christopher Faylor <cgf@cygnus.com>
1536
1537 Throughout, use global session handle rather than reinitializing for
1538 each connect. Don't pass session as an argument to setup.c functions.
1539 * setup.c (geturl): Only issue "Connecting to.." message when using
1540 http or first time for ftp since subsequent connections will be fast.
1541 (processdirlisting): Allocate space for "N" when user has specified
1542 "N"ever option so that it can be subsequently freed.
1543 (main): Abort if we can't get the list of mirrors.
1544
1545 Thu Apr 20 16:41:42 2000 Christopher Faylor <cgf@cygnus.com>
1546
1547 * setup.c (main): Umount /bin and /lib.
1548
1549 Wed Apr 19 13:34:44 2000 Christopher Faylor <cgf@cygnus.com>
1550
1551 * setup.c (main): Create an empty /var/run/utmp.
1552
1553 Tue Apr 18 19:16:56 2000 Christopher Faylor <cgf@cygnus.com>
1554
1555 * Makefile.in: Add umount to list of files to include in setup.exe.
1556 * setup.c (xumount): New function for unmounting directories.
1557 (main): Unmount /usr.
1558 (mkmount): Unmount "unix directory" before trying to figure out where
1559 to create the directory.
1560
1561 Tue Apr 18 17:28:55 2000 Christopher Faylor <cgf@cygnus.com>
1562
1563 * setup.c (mkmount): Use xcreate_process to start mount process,
1564 avoiding the shell.
1565 (main): Don't do buffering on stdout or prompts won't be displayed
1566 correctly if running in a cygwin shell with CYGWIN=tty.
1567
1568 Tue Apr 18 15:35:19 2000 Christopher Faylor <cgf@cygnus.com>
1569
1570 * setup.c (main): Remove the CYGWIN environment variable before
1571 starting any cygwin programs.
1572
1573 Mon Apr 17 19:20:52 2000 Vadim Egorov <egorovv@mailandnews.com>
1574
1575 * setup.c (geturl): Use alternative method for finding filename part of
1576 a URL.
1577 (processdirlisting): Accomodate strange output from non-MS ftp proxy.
1578 (downloaddir): Unlink file containing dir listing.
1579 (downloadfrom): Ditto.
1580
1581 Mon Apr 17 00:00:49 2000 Christopher Faylor <cgf@cygnus.com>
1582
1583 * setup.c (main): Disallow running setup.exe from the "root".
1584
1585 Sun Apr 16 18:50:58 2000 Christopher Faylor <cgf@cygnus.com>
1586
1587 Use "warning" function, where appropriate, to output warnings.
1588 * setup.c (warning): New function -- outputs warning to console and log
1589 file.
1590 (tarx): Fix index used to reset file protection.
1591 (main): Open the log file earlier so that more stuff can be sent to it.
1592
1593 Sat Apr 15 20:05:33 2000 Christopher Faylor <cgf@cygnus.com>
1594
1595 * setup.c (processdirlisting): Make "N" option a little less aggressive.
1596
1597 Fri Apr 14 11:11:29 2000 Christopher Faylor <cgf@cygnus.com>
1598
1599 * setup.c (tarx): Wait to after tar has completed to reset protections
1600 or suffer races with tar process.
1601
1602 Thu Apr 13 12:51:19 2000 Christopher Faylor <cgf@cygnus.com>
1603
1604 * Makefile.in: Eliminate duplicate -nostdinc from CFLAGS.
1605 * setup.c (create_uninstall): Create the uninstall .bat file in the
1606 "root" so that we can remove the /bin directory. Add bin\cygwin.bat to
1607 list of files to be deleted. Fix directory detection for determining
1608 when to use 'rmdir'.
1609 (do_start_menu): Add /usr/local/bin to the path.
1610 (main): Add slop to files.array allocation so that we don't have to
1611 worry about reallocating the array when it grows too large when doing
1612 some trivial "pushes". Add /tmp and /usr/local/{bin,lib} to list of
1613 files.
1614
1615 Thu Apr 13 01:59:44 2000 Christopher Faylor <cgf@cygnus.com>
1616
1617 * setup.c (processdirlisting): Fix handling of "A" for "A"lways
1618 download.
1619
1620 Thu Apr 13 01:11:45 2000 Christopher Faylor <cgf@cygnus.com>
1621
1622 * path.c (kill_cygpath): New cleanup function.
1623 (exit_cygpath): New cleanup function.
1624 (cygpath_pipe): New function. Sets up cygpath in the background for
1625 translating filenames.
1626 (pathcvt): Use background cygpath for file translation.
1627 * setup.c (tarx): New function. Called to extract tar files, capture
1628 logging output, and translate it to Windows format.
1629 (recurse_dirs): Use 'tarx' function to extract files.
1630 (create_uninstall): Use file list built up by tarx rather than reading
1631 the log file.
1632 (mkmount): Add ability to mount root.
1633 (main): Track elapsed install time. Mount root.
1634 * starry.h: Add index field to strarry for tracking of tarx's usage of
1635 this structure.
1636 * xsystem.c (xcreate_process): Return proces handle when not waiting.
1637
1638 Mon Apr 10 22:44:56 2000 Christopher Faylor <cgf@cygnus.com>
1639
1640 * path.c: New file.
1641 (pathfp): New function. Preliminary work for new -f cygpath
1642 functionality.
1643 * Makefile.in: Add new file.
1644 (pathcvt): Move to new file.
1645 (dtoupath): Ditto.
1646 (utodpath): Ditto.
1647 (pathcat): Ditto.
1648 * setup.c (processdirlisting): Always open file in text mode.
1649 (create_uninstall): Ditto.
1650 (getdownloadsource): Ditto.
1651 (main): Ditto.
1652
1653 Mon Apr 10 20:33:40 2000 Christopher Faylor <cgf@cygnus.com>
1654
1655 * xsystem.c: New file.
1656 * Makefile.in: Accomodate new file.
1657 * setup.c (xsystem): Move to new file.
1658 (recurse_dirs): Accept handle to output log file. Don't use ">"
1659 redirection to trap tar output. Use supplied handle instead.
1660 (create_uninstall): Accept FILE pointer to opened log file. Don't
1661 unlink log file here.
1662 (do_start_menu): Accept FILE pointer to pass to create_uninstall.
1663 (main): Open log file here and pass it to various functions. Unlink
1664 when done.
1665
1666 Mon Apr 10 17:15:52 2000 Christopher Faylor <cgf@cygnus.com>
1667
1668 Change occurrences of .usr.bin to .bin throughout.
1669 * setup.c (geturl): Increase number of retries to 20. Let user know
1670 what's going on during long connects.
1671 (processdirlisting): Accept "A"lways and "N"ever as update options.
1672 (create_uninstall): Load cygwin1.dll from the current directory rather
1673 than \bin.
1674 (main): Add some expository text.
1675
1676 Sun Apr 9 20:59:15 2000 Christopher Faylor <cgf@cygnus.com>
1677
1678 * Makefile.in: Change method for compressing cygwin1.dll to avoid
1679 creating a cygwin1.dll in the current directory. Ensure the addition
1680 of -nostdinc to MINGW_CFLAGS.
1681
1682 Sun Apr 9 02:15:47 2000 Christopher Faylor <cgf@cygnus.com>
1683
1684 * Makefile.in: Augment clean target.
1685
1686 Fri Apr 7 17:04:02 Ron Parker <rdparker@sourceware.cygnus.com>
1687
1688 * README: Added info about non-working mingw implementation
1689 * gzip.exe.gz: Replace with a version from the same build as the other
1690 tools.
1691 * tar.exe.gz: Replace with a version from the same build as the other
1692 tools.
1693 * mount.exe.gz: Add to repository until, mingw can build setup.
1694 * cygpath.exe.gz: ditto
1695 * cygwin1.dll.gz: ditto
1696 * setup.c: Overwrite /bin and /lib mounts. Generate working shortcut
1697 for Win9x. Display only a screenfull of options at a time. Call all
1698 tools with an absolute path.
1699 * setup.dsp: Restore the carriage returns, MS Developer Studio needs
1700 them.
1701 * setup.dsw: ditto
1702 * zlib.dsw: ditto
1703
1704 Thu Apr 6 19:15:27 2000 Christopher Faylor <cgf@cygnus.com>
1705
1706 * Makefile.in: Add "-nostdinc" to regular CFLAGS. Add target to grab
1707 cygwin1.dll from ../cygwin subdirectory.
1708 * gzip.exe.gz: Update.
1709 * tar.exe.gz: Update.
1710
1711 Wed Apr 5 10:52:08 2000 Christopher Faylor <cgf@cygnus.com>
1712
1713 * Makefile.in: Use ZLIB variable as a target.
1714
1715 Sat Apr 1 22:49:09 2000 Christopher Faylor <cgf@cygnus.com>
1716
1717 * Makefile.in: Eliminate traces of cygwinisms. Don't link with
1718 libmsvcrt.a. It's unneeded. Build .rc file on the fly from various
1719 sources.
1720 * configure.in: Locate correct objcopy.
1721 * configure: Regenerate.
1722
1723 Sat Apr 1 20:48:09 2000 Christopher Faylor <cgf@cygnus.com>
1724
1725 * Makefile.in: New file.
1726 * configure.in: New file.
1727 * configure: New file.
1728 * zlib/Makefile.am: New file.
1729 * zlib/configure.in: New file.
1730 * zlib/aclocal.m4: New file.
1731 * zlib/acinclude.m4: New file.
1732 * zlib/configure: Regenerate from configure.in.
1733 * zlib/Makefile.in: Regenerate from Makefile.am
1734
1735 %%% $Id$
1736 $Revision$
This page took 0.104143 seconds and 4 git commands to generate.