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