]> cygwin.com Git - cygwin-apps/setup.git/blame_incremental - ChangeLog
* choose.h (view): Move forward declaration of views into public area or g++ v3
[cygwin-apps/setup.git] / ChangeLog
... / ...
CommitLineData
12002-01-21 Christopher Faylor <cgf@redhat.com>
2
3 * choose.h (view): Move forward declaration of views into public area
4 or g++ v3 will complain.
5
62002-01-21 Christopher Faylor <cgf@redhat.com>
7
8 * Makefile.in (CXXFLAGS): Add -fno-exceptions.
9 * win32.h (alloca): Define as __builtin_alloca.
10 * io_stream_memory.cc: Add include file.
11
122002-01-21 Robert Collins <rbtcollins@hotmail.com>
13
14 * archive_tar.cc (archive_tar::~archive_tar): Mark the stream as destroyed.
15 * archive_tar_file.cc (archive_tar_file::~archive_tar_file): Ditto.
16 * compress.cc (compress::~compress): Be less verbose.
17 * compress_bz.cc (compress_bz::~compress_bz): Ditto.
18 Mark the stream as destroyed.
19 * compress_gz.cc (compress_gz::~compress_gz): Mark the stream as destroyed.
20 * io_stream.cc (io_stream::~io_stream): Only warn when the stream is not marked
21 as destroyed.
22 * io_stream_cygfile.cc (io_stream_cygfile::~io_stream_cygfile): Mark the
23 stream as destroyed.
24 * io_stream_file.cc (io_stream_file::~io_stream_file): Ditto.
25 * io_stream_memory.cc (io_stream_memory::~io_stream_memory): Ditto.
26
272002-01-21 Robert Collins <rbtcollins@hotmail.com>
28
29 * Makefile.in (CFLAGS): Allow customisable malloc debug flags.
30 (OBJS): Link in malloc objects.
31 * category.cc (category): Use new char, not strdup.
32 * choose.cc (pick_pkg_line::paint): Allow for the regionsize to shrink.
33 (do_choose): Use new char, not malloc.
34 * concat.cc (vconcat): Ditto.
35 * cygpackage.cc (cygpackage): Use new char, not strdup.
36 (set_canonical_version): Ditto.
37 (cygpackage::destroy): Use delete[], not free.
38 * desktop.cc (uexists): Ditto.
39 * dialog.cc (egest): Use new char, not strdup.
40 * dlmalloc.c: New file - Doug Lea's malloc 2.7.0
41 * hash.cc (hash::hash): Use delete instead of free.
42 (hash::add): Use new char, not strdup.
43 * ini.cc (do_remote_ini): Use delete[] not free.
44 * inilex.l: Use new char, not strdup.
45 (ini_init): Ditto.
46 * iniparse.y: Ditto.
47 Use a local package_db rather than a static one.
48 * install.cc (struct mallinfo): Workaround an apparent dlmalloc bug.
49 (do_install_thread): Call mallinfo to force a consistency check. Appears
50 to fix a 'inuse' error in -DDEBUG builds.
51 Use delete[] for strings.
52 * io_stream_cygfile.cc (io_stream_cygfile::io_stream_cygfile): Use new char,
53 not strdup.
54 (io_stream_cygfile::~io_stream_cygfile): Use delete[], not free.
55 (io_stream_cygfile::remove): Use new char, not strdup.
56 * io_stream_file.cc (io_stream_file::io_stream_file): Use new char, not strdup.
57 (io_stream_file::io_stream_file): Use delete[], not free.
58 (io_stream_file::remove): Use new char, not strdup.
59 * io_stream_memory.cc (memblock::~memblock): Use delete[], not free.
60 * io_stream_memory.h (memblock): Use new char, not malloc.
61 * localdir.cc (LocalDirPage::OnInit): Use new char, not strdup.
62 * main.cc (WinMain): Use new char, not strdup.
63 * mount.cc (find2): Use new char, not malloc.
64 (read_mounts): Ditto.
65 (cygpath): Use new char, not strdup.
66 * netio.cc (NetIO::~NetIO): Use delete[], not free.
67 (NetIO::set_url): Use new char, not strdup.
68 (NetIO::get_ftp_auth): Use delete[], not free.
69 * nio-ftp.cc (NetIO_FTP::NetIO_FTP): Ditto.
70 Use new char instead of strdup.
71 * nio-http.cc (base64_encode): Use new char, not malloc.
72 * package_meta.cc (hash::add_subdirs): Use new char instead of strdup.
73 * package_source.h (~ packagesource): Use delete[] instead of delete.
74 * port.h (strdup): Deprecate the use of strdup.
75 * rfc1738.cc (rfc1738_do_escape): Use new char, not calloc.
76 * script.cc (init_run_script): Us delete[], not free.
77 (run_script): Ditto.
78 * simpsock.cc (SimpleSocket::fill): Use new char, not malloc.
79 (SimpleSocket::invalidate): Use delete[], not free.
80 * site.cc (site_list_type::init): Use new char instead of strdup.
81 * site.h (~site_list_type): Use delete[], not free.
82
832002-01-20 Robert Collins <rbtcollins@hotmail.com>
84
85 * Makefile.in (OBJS): Add win32.o - win32 support functions.
86 * README: Update todos.
87 * archive.cc (extract_file): Support a suffix for appending to extracted files.
88 * archive.h: Ditto.
89 * choose.cc (set_view_mode): Use the new view::views class.
90 (view::views::Unknown): New static for defaulting view::views variables.
91 (view::views::PackageFull): New static for the current view.
92 (view::views::Package): Ditto.
93 (view::views::Category): Ditto.
94 (topbucket::paint): Remove.
95 (topbucket::empty): Rename to pick_category_line::empty.
96 (topbucket::~topbucket): Remove.
97 (paint): Use the new view::views class.
98 Don't paint 'all' as a category when showing package categoies.
99 (pick_category_line::actiontext): New method.
100 (pick_category_line::paint): Make showing the category optional, and show the
101 'category action'.
102 (pick_category_line::click): Make showing the category optional, and
103 differentiate between the name being clicked, and the action description.
104 (view::view): Use the new view::views class.
105 (view::set_view_mode): Ditto.
106 (view::mode_caption): Ditto.
107 (view::views::caption): New method.
108 (view::set_headers): Use the new view::views class.
109 (view::clear_view): Ditto.
110 (viewsplusplus): Replaced by
111 (view::views::operator++): New operator.
112 (set_view_mode): Use the new view::views class.
113 (create_listview): Ditto.
114 (dialog_cmd): Ditto.
115 * choose.h (actions): Remove.
116 (views): Remove.
117 (pick_line): Add a new convenience constructor.
118 (top_bucket): Remove.
119 (pick_category_line): Reparent under pick_line, and adsorb top_bucket.
120 (view::views): New class.
121 * ini.h: Don't include choose.h
122 (is_download_action): Remove.
123 (is_upgrade_action): Remove.
124 (is_uninstall_action): Remove.
125 (is_full_action): Remove.
126 * install.cc (num_replacements): New static.
127 (rebootneeded): Ditto.
128 (replace_one): Handle upgrades separate from removal or new installs.
129 (install_one_source): Handle in use files.
130 (install_one): Don't repeat upgrades.
131 (do_install_thread): Initialize new statics.
132 Order actions as uninstall, replace, install.
133 Warn about rebooting if needed.
134 * res.rc (IDS_REBOOT_REQUIRED): New string.
135 * resource.h (IDS_REBOOT_REQUIRED): Give value.
136 * win32.h: Declare class Win32, and update copyright and intent message.
137 * win32.cc: New file.
138
1392002-01-15 Corinna Vinschen <corinna@vinschen.de>
140
141 * io_stream.cc (io_stream::gets): Eliminate trailing new line chars.
142 * package_meta.cc (packagemeta::uninstall): Check for additional
143 Windows shortcut. Unset R/O file attribute before trying to delete
144 file.
145
1462002-01-09 Robert Collins <rbtcollins@hotmail.com>
147
148 * choose.cc (pkgtrustp): Fall back to installed if a package is not present in
149 the current trust level. For prev, fall back via curr.
150 (set_existence): Allow sources with no sites, but cached files to be
151 kept.
152 (pick_category_line::paint): Start drawing clickable categories.
153 * fromcwd.cc (found_file): Reinstate local file scanning.
154
1552002-01-07 Gary R. Van Sickle <g.r.vansickle@worldnet.att.net>
156
157 * fromcwd.cc: Run indent.
158 (do_fromcwd): Reverse sense of comment. Set next_dialog
159 to IDD_CHOOSER instead of IDD_CHOOSE.
160 * ini.cc (find_routine): Remove "/" from "/setup.ini".
161
1622001-01-07 Robert Collins <rbtcollins@hotmail.com>
163
164 * category.cc (Categorycmp): Add a const safe version.
165 * category.h (Categorycmp): Add a const safe version.
166 (Category): Add operator ==.
167 * choose.cc (fill_missing_category): Add every package to "All".
168 (pick_category_line::paint): Add support for hidden labels, and a tree depth.
169 (pick_category_line::click): Ditto.
170 (view::view): Pass in a top level category to use.
171 (view::insert_pkg): Special case - skip category "All".
172 (view::insert_category): Ditto.
173 (view::clear_view): Set the contents label state.
174 (create_listview): Pass in a top level category to view().
175 * choose.h (topbucket): Make bucket available to derived classes.
176 (pick_category_line): Add support for hidden labels, and a tree depth.
177 Remove our second copy of bucket.
178 (view): Pass in a top level category to the constructor.
179 Use pick_category_line to allow three level display.
180
1812001-01-06 Robert Collins <rbtcollins@hotmail.com>
182
183 * cygpackage.h (cygpackage): Make set_[s|l]desc virtual.
184 * iniparse.y (add_correct_version): Copy descriptions across.
185 * package_meta.cc (SDesc): Iterate through versions, return the first with a
186 description.
187 * package_version.h (packageversion): Add new virtuals set_[l|s]desc.
188
1892001-01-04 Robert Collins <rbtcollins@hotmail.com>
190
191 * script.cc (run_script): Change cygpath:// to cygfile://.
192 * install.cc (do_install_thread): Fix off-by-one errors.
193
1942001-01-04 Robert Collins <rbtcollins@hotmail.com>
195
196 * package_db.cc (packagedb::flush): Fix an off-by-one error.
197
1982002-01-04 Jan Nieuwenhuizen <janneke@gnu.org>
199
200 * Makefile.in (realclean): more clean.
201 (OBJS): Add script.o.
202 * postinstall.cc (run_script_in_etc_postinstall): New function.
203 (do_postinstall): Split off new funtion init_run_script ().
204 (init_run_script):
205 (run):
206 (run_script): Move to script.cc. Replace some deprecated remove
207 and move calls.
208 * script.h:
209 * script.cc: New file.
210 * Forward port cygwin-20010707.jcn3.patch.
211 * package_meta.cc (uninstall): Run pre- and postremove scripts.
212 * install.cc: Typo fix.
213 (do_install): Run script initialisation.
214
2152001-01-04 Gary R. Van Sickle <g.r.vansickle@worldnet.att.net>
216
217 * cistring.cc: Run d2u.
218 * cistring.h: Run d2u.
219
220 * desktop.cc (etc_profile): Remove "test -f ./.bashrc && . ./.bashrc"
221 from the generated /etc/profile. Bash will source this file
222 automatically, and having this here merely results in .bashrc being
223 executed twice. Run d2u.
224 * desktop.h: Run d2u.
225
226 * propsheet.cc: Run d2u.
227 (PropSheetProc): New function. Add minimize box here instead of in
228 PropertyPage::DialogProc.
229 (PropSheet::Create): Change to use creation callback PropSheetProc.
230 (DLGTEMPLATEEX): Add 'hidden' Windows struct definition.
231
232 * propsheet.h: Run indent, d2u.
233 * proppage.h: Run indent, d2u.
234
235 * proppage.cc: Run d2u.
236 (PropertyPage::DialogProc): Remove minimize-box-adding
237 functionality. Remove commented-out "PropSheet_SetWizButtons" calls.
238 Add support for calling virtual OnMessageCmd. Add setting of fonts in
239 WM_INITDIALOG handler.
240 (resource.h): New include for resource IDs.
241
242 * res.rc: Resize and rearrange property page dialog templates
243 to bring them in line with "Microsoft's Backward Compatible Wizard 97"
244 specification. Run d2u.
245 (IDD_SITE): Add an edit control and an "Add" button in order to
246 combine the IDD_SITE and IDD_OTHER_URL functionality onto one page.
247 (IDD_OTHER_URL): Remove dialog template.
248 (IDD_DLSTATUS): Remove dialog template.
249
250 * site.cc: Run d2u.
251 (SitePage::OnBack): Remove NEXT() macro invocation.
252 (SitePage::OnActivate): New member function.
253 (load_dialog): Remove. Functionality subsumed into
254 SitePage::OnActivate.
255 (save_dialog): Change to support both list and user URLs. Remove
256 OTHER_IDX and mirror_idx logic.
257 (SitePage::PopulateListBox): New member function.
258 (SitePage::CheckControlsAndDisableAccordingly): New member function.
259 (SitePage::OnMessageCmd): New override.
260 (check_if_enable_next): Remove.
261 (dialog_cmd): Remove.
262 (do_download_site_info_thread): Remove calls to NEXT() macro.
263 (SitePage::Create): Call the single-param PropertyPage::Create
264 overload.
265 (other_url): New static taken from other.cc.
266 (SitePage::OnNext): Remove mirror_idx logic.
267 (SitePage::OnInit): Remove "Other URL" entry from list box. Remove
268 list box populating code, now handled in SitePage::PopulateListBox.
269 (mirror_idx, NO_IDX, OTHER_IDX): Remove.
270 (save_site_url): Fix potential buffer overflow problem. Switched to
271 TCHAR in grossly premature preparation for multilingual support.
272 * site.h: Run d2u.
273 (SitePage::OnActivate): New member function.
274 (SitePage::CheckControlsAndDisableAccordingly) New member.
275 (SitePage::OnMessageCmd): New override.
276 (do_download_site_info_thread): Add MessageBox call on failure to
277 download site list.
278
279 * splash.cc: Run d2u.
280 (SplashPage::OnInit): Set the font for the title.
281 * splash.h: Run d2u.
282
283 * threebar.cc: Run d2u.
284 * threebar.h: Run d2u.
285
286 * window.h: Run d2u.
287 (Window::IsButtonChecked): New member function declaration.
288 (Window::OnMessageCmd): New member function.
289 (Window::SetDlgItemFont): New member function declaration.
290 (Window::MAXFONTS, Window::Fonts, Window::FontCounter): New data
291 members.
292 * window.cc: Run d2u.
293 (Window::IsButtonChecked): New member function definition.
294 (Window::SetDlgItemFont): New member function definition.
295 (Window::Window): Add initialization for FontCounter.
296 (Window::~Window): Delete any fonts we created.
297
298 * geturl.cc: Run d2u.
299 (progress): Remove the "3" field width from the "%3d"
300 percent-complete format indicator. Causes line to not start at
301 beginning of text box, and does little to help with "jumping", since
302 the "bytes downloaded so far" field is variable-width anyway. Change
303 kb/s format field to "%03.1" to 0-pad the kb/s number in the event of
304 painfully slow connections, or temporary slowdowns in faster
305 connections should such more-instantaneous functionality become
306 available.
307
308 * net.h: Run d2u.
309 (NetPage::OnMessageCmd): New member function declaration.
310 (NetPage::CheckIfEnableNext): New member function declaration.
311 * net.cc: Run d2u.
312 (NetPage::OnMessageCmd): New member function definition.
313 (dialog_cmd): Remove, subsumed into NetPage::OnMessageCmd.
314 (check_if_enable_next): Remove.
315 (NetPage::CheckIfEnableNext): New member function, subsumes
316 check_if_enable_next.
317 (propsheet.h): Add include.
318 (NetPage::Init): Add call to CheckIfEnableNext.
319 (load_dialog): Remove call to check_if_enable_next.
320 (NetPage::Create): Call single-template-ID-parameter overload of
321 PropertyPage::Create instead of three-parameter one.
322
323 * Makefile.in (OBJS): Remove other.o.
324 * other.cc: Remove file.
325
3262002-01-01 Robert Collins <rbtcollins@hotmail.com>
327
328 * README: Update TODO's.
329 * choose.cc (set_existence): Delete non installed packages with no
330 mirrors.
331 (fill_missing_category): Fix an off-by-one error.
332 (default_trust): Ditto. Also delete any unused categories.
333 (view::init_headers): Fix an off-by-one error.
334 (set_view_mode): Ditto.
335 (set_view_mode): Ditto.
336 (create_listview): Ditto.
337 (dialog_cmd): Ditto.
338 (do_choose): Ditto.
339 * io_stream.cc: Indent.
340 * io_stream.h: Ditto.
341 * package_db.cc: Ditto.
342 * package_meta.h: Const correctness for SDesc ();
343 * proppage.cc: Run d2u and indent.
344 * propsheet.cc: Run d2u and indent.
345 * window.cc: Run d2u and indent.
346 * window.h: Run d2u and indent.
347
3482001-12-28 Christopher Faylor <cgf@redhat.com>
349
350 * Makefile.in (iniparse.o): Accommodate newer bisons.
351
3522001-12-23 Gary R. Van Sickle <g.r.vansickle@worldnet.att.net>
353
354 * window.h (Window): New file, new class.
355 * window.cc (Window): New file, new class.
356
357 * threebar.h (ThreeBarProgressPage): New file, new class.
358 * threebar.cc (ThreeBarProgressPage): New file, new class.
359
360 * splash.h (SplashPage): New file, new class.
361 * splash.cc (SplashPage): Replace file with implementation of new
362 class.
363
364 * source.h (SourcePage): New file, new class.
365 * source.cc: Run indent.
366 (SourcePage): Add class implementation to this file.
367 (do_source): Remove, functionality subsumed by SourcePage::Create()
368 and SourcePage::OnDeactivate().
369 (dialog_proc): Remove, functionality subsumed by
370 SourcePage::OnActivate().
371
372 * site.h: Run indent.
373 (SitePage): Add class declaration.
374 * site.cc: Run indent.
375 (SitePage): Add class implementation.
376 (do_download_site_info_thread): New function.
377 (context): New var. Context info for do_download_site_info_thread().
378 (do_download_site_info): New function.
379 (SitePage::Create, SitePage::OnInit SitePage::OnNext)
380 (SitePage::OnBack): SitePage class implementation..
381 (dialog_cmd): Remove IDOK, ID_BACK, and IDCANCEL handlers, now handled
382 by SitePage members.
383 (dialog_proc): Remove, now handled by SitePage::OnInit and base class
384 functionality.
385 (do_site): Remove, now handled by do_download_site_info_thread() and
386 SitePage::OnNext functionality.
387 (get_site_list): Remove dismiss_url_status_dialog() call.
388
389 * root.h (RootPage): New file, new class.
390 * root.cc: Run indent.
391 (dialog_cmd): Pass parent HWND parameter to note(), yesno().
392 (dialog_proc): Remove.
393 (do_root): Remove
394 (dialog_cmd): Remove IDOK, ID_BACK, and IDCANCEL clauses from switch.
395 (RootPage::OnInit): New member function. Move get_root_dir() logic to
396 here from do_root().
397 (RootPage::Create): New member function.
398 (RootPage::OnNext): New member function. Move IDOK logic from
399 dialog_cmd() to here.
400 (RootPage::OnBack): New member function.
401
402 * propsheet.h (PropSheet): New file, new class.
403 * propsheet.cc (PropSheet): New file, new class.
404
405 * proppage.h (PropertyPage): New file, new class.
406 * proppage.cc (PropertyPage): New file, new class.
407
408 * postinstall.cc (do_postinstall): Add owner parameter.
409
410 * other.cc (do_other): Add owner parameter.
411
412 * nio-file.cc (NetIO::Purl): Pass NULL parent param to note().
413 * nio-ftp.cc (NetIO_FTP::NetIO_FTP): Pass NULL parent param to
414 get_ftp_auth().
415 * nio-http.cc (retry_get): Pass NULL parent param to get_auth(),
416 get_proxy_auth(),
417 and get_ftp_auth().
418 * nio-ie5.cc (NetIO::_url): Pass NULL parent param to note(),
419 get_auth(), get_proxy_auth().
420
421 * netio.h (get_auth, get_proxy_auth, get_ftp_auth): Add owner param.
422 * netio.cc (auth_common, NetIO::get_auth, NetIO::get_proxy_auth,
423 NetIO::get_ftp_auth)
424 (auth_common): Add owner param. Pass owner param to DialogBox.
425 (NetIO::get_auth, NetIO::get_proxy_auth, NetIO::get_ftp_auth): Pass
426 owner param to auth_common().
427
428 * net.h (NetPage): New file, new class.
429 * net.cc: Run indent.
430 (net.h, threebar.h): Add includes.
431 (Progress): Add extern.
432 (dialog_cmd): Remove IDOK, IDC_BACK, and IDCANCEL cases, now handled by
433 property sheet logic. Saved temporarily for reference.
434 (NetPage::Create, NetPage::OnInit, NetPage::OnDeactivate,
435 NetPage::OnNext, NetPage::OnBack):
436 New implementation of NetPage class members.
437 (do_net): Remove.
438 (dialog_proc): Remove.
439
440 * msg.h (fatal, note, yesno): Add owner param.
441 * msg.c (fatal, note, yesno, mbox): Add owner param.
442 (mbox): Remove MB_TOPMOST from MessageBox call. Unnecessary and wrong
443 now that we have a parent.
444
445 * main.cc: Run indent.
446 (commctrl.h, proppage.h, propsheet.h, splash.h, source.h)
447 (localdir.h, net.h, site.h, choose.h, threebar.h, desktop.h): Include
448 headers.
449 (root_dialog_proc): extern into this file.
450 (Progress): Progress dialog defined here, used in several other files.
451 (WinMain): Instantiate and create Splash, Source, Root, LocalDir, Net,
452 Site, Chooser, Desktop pages and MainWindow sheet. Call
453 InitCommonControls() to make sure Windows is set up for our use of
454 property sheets. Add pages to sheet.
455 Call MainWindow.Create() to "DoModal". Remove main loop, that logic is
456 now handled by the PropSheet class.
457 (root.h): Add include.
458
459 * log.cc (log_save): Pass NULL parent to fatal().
460 (exit_setup): Pass NULL parent to note().
461
462 * localdir.h (LocalDirPage): New file, new class.
463 * localdir.cc: Run indent.
464 (localdir.h): New include.
465 (threebar.h): New include.
466 (Progress): extern into this file.
467 (LocalDirPage::Create, LocalDirPage::OnInit, LocalDirPage::OnActivate)
468 (LocalDirPage::OnNext, LocalDirPage::OnBack): Implementation of
469 LocalDirPage.
470 (LocalDirPage::OnNext): Move log() call from do_local_dir() to here.
471 (dialog_cmd): Remove IDOK, ID_BACK, and IDCANCEL handlers.
472 (do_local_dir): Remove.
473 (dialog_proc): Remove.
474 (cwd): Remove, not used by anything.
475
476 * install.cc: Run indent.
477 (process.h, threebar.h): New includes.
478 (Progress): extern into this file.
479 (ins_dialog, ins_action, ins_pkgname, ins_filename, ins_pprogress)
480 (ins_iprogress, ins_diskfull, init_event): Remove, now handled by
481 ThreeBarProgressPage.
482 (dialog_cmd, dialog_proc, dialog): Removed, handled in
483 ThreeBarProgressPage.
484 (init_dialog): Remove all mention of the above ins_* handles. Now
485 handled in ThreeBarProgressPage. Altered SetWindowText()s to call
486 ThreeBarProgressPage instance Progress directly.
487 (progress): Alter bar update logic to call ThreeBarProgressPage
488 instance Progress directly.
489 (uninstall_one): Alter SetWindowText()s to call ThreeBarProgressPage
490 instance Progress directly.
491 (install_one_source): Alter SetWindowText()s to call
492 ThreeBarProgressPage
493 instance Progress directly. Pass NULL parent to note().
494 (do_install_thread): Rename from do_install(), added owner param.
495 Alter SetWindowText()s to call ThreeBarProgressPage instance Progress
496 directly.
497 Remove dismiss_url_status_dialog() call, no longer necessary. Remove
498 ShowWindow(<hide>) call, also unnecessary now. Pass owner handle to
499 fatal().
500 (do_install_reflector): New function.
501 (do_install): New function.
502
503 * ini.cc (process.h, threebar.h): New includes.
504 (Progress): externed into this file.
505 (find_routine): Pass NULL parent to note().
506 (do_local_ini): Add owner param.
507 (do_remote_ini): Add owner param. Pass owner to get_url_to_membuf()
508 and note(). Remove call to dismiss_url_status_dialog().
509 (do_ini_thread): Rename from do_ini(). Add owner param. Pass owner to
510 do_local_ini(), do_remote_ini(), yesno(), and note(). Set next_dialog
511 to IDD_CHOOSER on exit.
512 (do_ini_thread_reflector): New function.
513 (context): New var. Context for do_ini_thread.
514 (do_ini): New function.
515
516 * geturl.h (get_url_to_membuf, get_url_to_string, get_url_to_file): Add
517 owner param.
518 * geturl.cc (gw_dialog, gw_url, gw_rate, gw_progress, gw_pprogress,
519 gw_iprogress)
520 (gw_progress_text, gw_pprogress_text, gw_iprogress_text, init_event):
521 Removed.
522 (threebar.h): New include.
523 (Progress): externed into this file.
524 (dialog_cmd, dialog_proc, dialog): Removed, handled by
525 ThreeBarProgressPage now.
526 (init_dialog): Remove "if (gw_dialog == 0)" clause. Alter
527 SetWindowText()s
528 and bar setting SendMessage()s to call ThreeBarProgressPage instance
529 Progress directly. Remove "one bar only" logic, this is now handled
530 explicitly in the ThreeBarProgressPage class.
531 (progress): Altered bar and text update logic to call
532 ThreeBarProgressPage instance Progress directly. Changed kbps
533 calculation to floating point and now print out a single decimal
534 place.
535 (get_url_to_membuf): Add owner param. Pass it to init_dialog.
536 (get_url_to_string): Add owner param. Pass it to get_url_to_membuf.
537 (get_url_to_file): Add owner param. Pass it to init_dialog. Alter bar
538 update logic to call ThreeBarProgressPage instance Progress directly.
539 (dismiss_url_status_dialog): Remove.
540
541 * fromcwd.cc (do_fromcwd): Add owner param. Initialize found_ini to
542 false, was true.
543
544 * download.cc: Run indent.
545 (process.h, threebar.h): New includes.
546 (Progress): externed into this file.
547 (download_one): Add owner param. Pass it to get_url_to_file().
548 (do_download_thread): Renamed from do_download. Add owner param. When
549 calculating total_download_bytes, take binpicked and srcpicked into
550 account. Remove call to dismiss_url_status_dialog(), no longer needed.
551 Pass owner handle to download_one() and yesno().
552 (do_download_reflector, do_download): New functions.
553 (context): New var. Context for do_download_thread().
554
555 * dialog.h (D(x)): Add owner param.
556
557 * desktop.h (DesktopSetupPage): New file, new class.
558 * desktop.cc: Run indent.
559 (desktop.h): Add include.
560 (dialog_proc, do_desktop): Remove, now handled in
561 DesktopSetupPage::OnInit().
562 (dialog_cmd): Remove IDOK, IDC_BACK, and IDCANCEL cases, handled in
563 DesktopSetupPage::OnFinish(), DesktopSetupPage::OnBack(), and PropSheet
564 resp.
565 (DesktopSetupPage::Create, DesktopSetupPage::OnInit)
566 (DesktopSetupPage::OnBack, DesktopSetupPage::OnFinish): Implementation
567 of DesktopSetupPage.
568
569 * cistring.h: New file, new class.
570 * cistring.cc: New file, new class.
571
572 * choose.h: Run indent.
573 (Chooser): New class declaration.
574 * choose.cc: Run indent.
575 (do_choose): Add owner param. Pass it to DialogBox() and
576 fatal().
577 (Chooser): New class implementation.
578
579 * res.rc (IDS_VERSION_INFO): New string.
580 (IDD_SOURCE, IDD_LOCAL_DIR, IDD_ROOT, IDD_SITE, IDD_OTHER_URL)
581 (IDD_DLSTATUS, IDD_INSTATUS, IDD_SPLASH, IDD_CHOOSE, IDD_DESKTOP):
582 Change WS_POPUP to WS_CHILD. Numerous positioning/size changes
583 throughout.
584 (IDD_CHOOSE): Give template the WS_EX_CONTROLPARENT style to enable
585 TAB control navigation etc. Give the controls a reasonable tab order.
586 Grouped radio buttons. Something's still not right, can't tab away
587 from back/next/cancel group reliably.
588 * resource.h (IDD_CHOOSER): New dialog ID.
589
590 * Makefile.in (OBJS): Add cistring.o, proppage.o, propsheet.o,
591 threebar.o, and window.o.
592
5932001-12-21 Robert Collins <rbtcollins@hotmail.com>
594
595 * choose.cc (listview_proc): Update the scrollbar when the headers are dragged.
596 (pick_pkg_line::paint): Clip columns to prevent overlap.
597
5982001-12-20 Robert Collins <rbtcollins@hotmail.com>
599
600 * Makefile.in: Add libcomctl32.a for setup.exe.
601 * archive.h (archive): Prevent non-child direct creation of the class.
602 * archive_tar.h (archive_tar): Prevent inaccurate synthetic copy and assignment.
603 * choose.cc: Include commctrl for the choose header.
604 (NEW_COL_SIZE_SLOP): Define without magic numbers.
605 (pkgtrustp): Convert to function.
606 (set_action): Remove.
607 (add_required, fill_missing_category,default_trust): Use list syntax for
608 package list.
609 Use new set_action.
610 (choose_caption): Remove.
611 (topbucket::paint): New method.
612 (topbucket::empty): Ditto.
613 (topbucket::click): Ditto.
614 (topbucket::~topbucket): Ditto.
615 (paint): Remove i,ii and p as they are obsolete.
616 Remove header drawing code.
617 Use new chooser method to paint the chooser.
618 Use new chooser itemcount method.
619 (scroll_common): Rename to view::scroll.
620 Scroll the header window separately.
621 (list_vscroll, list_hscroll, list_click): Update for new chooser methods.
622 (listview_proc): Look for header messages.
623 (note_width): Accept stringless calls.
624 (pick_line::set_line): Remove.
625 (pick_line::paint): Remove.
626 (pick_pkg_line::paint): Paint this one line, using the header column widths.
627 (pick_category_line::paint): Paint this category, and anything in the bucket.
628 (pick_line::click): Remove.
629 (pick_pkg_line::click): Handle a click.
630 (pick_category_line::click): Handle a click.
631 (_view): Rename all to view.
632 (view::view): Initialise the control contents.
633 (view::set_headers): Work with the header control.
634 (view::init_headers): Use list syntax for package list.
635 Rearrange the width logic a little.
636 (view::insert_pkg): Update to use the hierarchy.
637 (view::insert_category): Ditto.
638 (view::insert_at, view::insert_under): Remove.
639 (view::clear_view): Update to use the hierarchy.
640 (view::click): Update to use the hierarchy.
641 (set_view_mode): Use list syntax for package list.
642 Update for new chooser methods.
643 (DoInsertItem): New helper function. (Needs a home somewhere).
644 (create_listview): Remove choose control code and use the constructor instead.
645 (dialog_cmd,scan2,do_choose): Use list syntax for package list.
646 * choose.h: Include newly required headers list and package_meta.
647 (_voew): Rename to view.
648 (pick_line): Convert to an ABC.
649 (pick_pkg_line): New class.
650 (pick_catgory_line): New class.
651 (topbucket): New class.
652 (view::scroll): New method created from listview_scroll function.
653 * desktop.cc (make_passwd_group): Use list syntax for package list.
654 * download.cc (do_download): Use list syntax for package list.
655 * fromcwd.cc (found_file): Use list syntax for package list.
656 * iniparse.y (pacakges): Use list syntax for package list.
657 * install.cc (uninstall_one): Use list syntax for package list.
658 (do_install): Use list syntax for package list.
659 * io_stream.h (io_stream): Prevent non-child direct creation of the class.
660 Prevent inaccurate synthetic copy and assignment.
661 * list.h: Include required header stdlib.
662 Work on const correctness.
663 * package_db.cc (packagedb::getpackagebyname): Remove.
664 (packagedb::packagedb): Remove custom list code, and make db a local.
665 (packagedb::getfirstpackage): Remove.
666 (packagedb::getnextpackage): Remove.
667 (packagedb::addpackage): Remove.
668 (flush): Remove custom list code.
669 (packagedb::registerpackage): Remove.
670 (packagedb::packages): New static member.
671 (packagedb::task): New static member.
672 * package_db.h (PackageDBActions): New enum.
673 (packagedb): Remove getfirstpackage, getnextpackage, getpackagebyname,
674 addpackage, registerpackage, packages, packagecount, curr_package, db.
675 Add packages, task.
676 * pacakge_meta.cc: Include package_db.h.
677 (packagemeta::action_caption): New method.
678 (packagemeta::set_action): New method.
679 * package_meta.h (CategoryPackage): Initialise key.
680 (packagemeta): Initialise key.
681 Add set_action and action_caption methods.
682 Prevent inaccurate synthetic copy and assignment.
683 * resource.h (IDC_CHOOSE_LISTHEADER): New ID.
684 * source.cc: Include package_db for db manipulation.
685 (save_dialog): Set the db task.
686 * win32.h: Tell the w32 include headers what IE version to expect/require.
687
6882001-12-06 Robert Collins <rbtcollins@hotmail.com>
689
690 * README: Wishlist updates.
691
6922001-12-04 Robert Collins <rbtcollins@hotmail.com>
693
694 * package_db.cc (getnextpackage): Don't overrun the array.
695
6962001-12-04 Robert Collins <rbtcollins@hotmail.com>
697
698 * Makefile.in (OBJS): Add setup_version.o.
699 (version.c): Rename to setup_version.
700 * choose.cc (set_action): Prevent NULL pointer dereference.
701 (package_sort): Remove.
702 * fromcwd.cc (canonicalize_version): Moved to version.cc.
703 (check_ini): New function for use with find to see if there is a cached setup.ini.
704 (do_fromcwd): Check for a cached setup.ini from any mirror site.
705 * ini.cc (find_routine): New function, for finding cached setup.ini's.
706 (do_local_ini): New function, drives parsing of local ini's.
707 (do_remote_ini): New function, drives parsing and caching of remote ini's.
708 (do_ini): Move guts to do_remote_ini and do_local_ini.
709 * list.h (removebyindex): New method.
710 * other.cc (save_dialog): Use new site_list and all_site_list to add the
711 new site to the site picklist.
712 (dialog_cmd): Only save the dialog when exiting the dialog.
713 * res.rc (IDD_SITE): Make IDC_URL_LIST a multiple-selection control.
714 * site.cc (site_list_type): Move to site.h
715 (site_list): New global, sites chosen by the user.
716 (all_site_list): New global, all potential sites.
717 (site_list_type::init): New method, parses a mirror.lst URL string into a
718 site_list_type object.
719 (site_list_type::site_list_type): New method.
720 (check_if_enable_next): Examine the control, not a local variable.
721 (load_dialog): Select all the user chosen sites by default.
722 (save_dialog): Adjust for multiple selection semantics.
723 (save_site_url): Save all user chosen sites.
724 (dialog_cmd): Don't save the dialog when the listbox recieves a message -
725 thats not needed.
726 Remove obsolete other_url reference.
727 (dialog_proc): Use all_site_list instead of site_list.
728 (site_sort): Remove.
729 (get_site_list): Remove malloc use - use list template instead.
730 Move site_list_type initialisation to site_list_type::init().
731 (get_initial_list_idx): Renamed to ...
732 (get_saved_sites): this. Also read in multiple sites to the site_list.
733 (do_site): Use all_site_list not site_list.
734 Log all chosen sites.
735 * site.h: New file, defines site related class, functions and variables.
736 * state.h: Add comment about use of state.h
737 (mirror_site): Remove.
738 (other_url): Remove.
739 (MIRROR_SITE): Remove.
740 * version.cc: New file, for version-handling and related functions.
741
7422001-12-02 Robert Collins <rbtcollins@hotmail.com>
743
744 * Makefile.in: Add filemanip.o to setup.
745 * archive.cc (archive::extract_file): Use new io_stream method 'copy'.
746 * archive_tar.h (archive_tar_file): Implement get_size virtual.
747 (archive_tar): Ditto.
748 * choose.cc (set_action): Use [] operator instead of getnth - its more readable.
749 (paint): Ditto.
750 (_view::init_headers): Ditto.
751 (_view::insert_pkg): Ditto.
752 (set_view_mode): Ditto.
753 (scan2): Ditto.
754 (do_choose): Ditto.
755 (base): Moved to filemanip.cc.
756 (find_tar_ext): Ditto.
757 (parse_filename): Ditto.
758 (_Info::_Info): Remove.
759 * compress_bz.h (compress_bz): Implement get_size virtual.
760 * compress_gz.h (compress_gz): Implement get_size virtual.
761 * cygpackage.cc (cygpackage::destroy): Use array delete for char * objects.
762 * download.cc (get_file_size): Move to filemanip.cc.
763 (check_for_cached): Use [] operator instead of getnth - its more readable.
764 (download_one): Ditto.
765 * filemanip.cc: New file.
766 * geturl.cc (init_dialog): Make url a pointer to const as it is not modified.
767 (get_url_to_membuf): New function - contains get_url_to_string worker code.
768 (get_url_to_string): Becomes a trivial wrapper to get_url_to_membuf.
769 * geturl.h: Declare new prototype.
770 * ini.cc (do_ini): Use get_url_to_membuf and pass ini_init an io_stream.
771 Tidy up the error code a little.
772 * ini.h: Remove __cplusplus protection for ini_init.
773 (_Info): Remove.
774 * inilex.l: Remove old globals.
775 (ini_init): Use an io_stream for getting the characters.
776 (ini_getchar): Ditto.
777 * iniparse.y: Declare yylex as a C++ function.
778 (add_correct_version): Use [] operator instead of getnth - its more readable.
779 * io_stream.cc (io_stream::move_copy): Use the copy method.
780 (io_stream::copy): New method to simply copy from one stream to another.
781 * io_stream.h (io_stream): New static method copy, and virtual method get_size.
782 * io_stream_cygfile.cc (io_stream_cygfile::get_size): Implement this.
783 * io_stream_cygfile.h (io_stream_cygfile::get_size): Declare this.
784 * io_stream_file.cc (io_stream_file::get_size): Implement this.
785 * io_stream_file.h (io_stream_file::get_size): Declare this.
786 * io_stream_memory.h: Include errno as it's neded to parse the header.
787 (io_stream_memory::get_size): Implement this.
788 (io_stream_memory::st_size): Delete this.
789 * list.h: Change getnth into the [] operator.
790 * netio.cc (NetIO::NetIO): Change prototype to reflect Purl not being modified.
791 (NetIO::set_url): Ditto.
792 (NetIO::open): Ditto.
793 * netio.h: As for netio.cc.
794 * nio-file.cc (NetIO_File::NetIO_File): Change prototype to reflect Purl not
795 being modified.
796 * nio-file.h: Ditto.
797 * nio-ftp.cc (NetIO_FTP::NetIO_FTP): Ditto.
798 * nio-ftp.h (NetIO_FTP::NetIO_FTP): Ditto.
799 * nio-http.cc (NetIO_HTTP::NetIO_HTTP): Ditto.
800 * nio-http.h (NetIO_HTTP::NetIO_HTTP): Ditto.
801 * nio-i5.cc (NetIO_IE5::NetIO_IE5): Ditto.
802 * nio-i5.h (NetIO_IE5::NetIO_IE5): Ditto.
803 * package_meta.cc (packagemeta::~packagemeta): Bugfix: use array delete.
804 * package_source.cc (packagesource::set_canonical): Ditto.
805 (packagesource::set_cached): Ditto.
806 * package_source.h (site::~site): Ditto.
807 * site.cc: Change site_list_type to a class, and search and replace sort_key to
808 key globally.
809
8102001-12-01 Robert Collins <rbtcollins@hotmail.com>
811
812 * package_source.cc (packagesource::set_canonical): Filename was out by one.
813
8142001-11-30 Robert Collins <rbtcollins@hotmail.com>
815
816 * Makefile.in (OBJS): Remove category_list - it's not needed.
817 * README: More wishlist updates.
818 * category.cc (Category::Category): Initialise new members.
819 (Categorycmp): New function.
820 * category.h (Category): New member key for template use.
821 * category_list.cc: Remove.
822 * category_list.h: Remove.
823 (Categorycmp): New function prototype.
824 * choose.cc: Remove category_list - not needed.
825 (set_action): Only show the 'source' option when the source is actually
826 available.
827 (add_required): Fix recursion limiter to 5.
828 (fill_missing_category): Use list access.
829 (default_trust): Ditto.
830 (pick_line::paint): Ditto.
831 (_view::init_headers): Ditto.
832 (_view::insert_pkg): Ditto.
833 (_view::insert_category): Ditto.
834 (_view::click): Ditto.
835 (set_view_mode): Ditto.
836 (do_choose): Ditto.
837 * cygpackage.h: Remove category_list - not needed.
838 * geturl.cc (get_url_to_string): Fix null byte insertion.
839 * inipatse.y: Remove category_list - not needed.
840 (categories): Use list access.
841 * package_db.cc: Ditto.
842 * package_db.h: Remove category_list - not needed.
843 (packagedb): Use the list template for categories.
844 * package_meta.cc (add_category): Ditto.
845 * package_meta.h (CategoryPackage): Link to the category as well.
846 (packagemeta): Use a list of CategoryPackages instead of Categories
847 for more memory efficient cross-referencing.
848
8492001-11-30 Robert Collins <rbtcollins@hotmail.com>
850
851 * package_db.cc (packagedb::flush): Write a canonical version for all packages
852 irrespective of the media they were installed from.
853
8542001-11-29 Robert Collins <rbtcollins@hotmail.com>
855
856 * Makefile.in (OBJS): Add package_source and rfc1738.
857 * README: Wishlist update.
858 * category_list.cc (register_category): Use references.
859 * category_list.h (CategoryList): Ditto.
860 * choose.cc (isinstalled): Remove.
861 (pkgtrustp): New macro.
862 (set_action): Use packagemeta.
863 (add_required): Ditto.
864 (choose_caption): Example package to choose caption, rather than state flags.
865 (check_existence): Remove.
866 (set_existence): Remove old code.
867 (fill_missing_category): Use packagemeta.
868 (keep_or_skip): Remove.
869 (default_trust): Use packagemeta and set trust values directly.
870 (pick_line::set_line): Use packagemeta.
871 (_view::insert_pkg): Ditto.
872 (_view::insert_category): Ditto.
873 (_view::click): Ditto.
874 (set_view_mode): Ditto. Also remove "exclude" code.
875 (create_listview): Use packagemeta.
876 (dialog_cmd): Ditto.
877 (getpkgbyname): Remove
878 (scan2): Use packagemeta. Temporarily comment out the holefinding code.
879 (read_installed_db): Remove.
880 (package_sort): Use packagemeta.
881 (do_choose): Use packagemeta. Don't sort the packages - the db does that.
882 * choose.h: Use packagemeta.
883 * cygpackage.cc (cygpackage::cygpackage): Initialise all variables.
884 (cygpackage::cygpackage): Ditto.
885 (cygpackage::set_canonical_version): Copy the passed string.
886 (cygpackage::~cygpackage): Move cleanup code to destroy().
887 (cygpackage::destroy): New function.
888 (cygpackage::getfirstfile): Use a separate buffer.
889 (cygpackage::getnextfile): Ditto.
890 (cygpackage::Canonical_version): New function.
891 (cygpackage::set_sdesc): Ditto.
892 (cygpackage::set_ldesc): Ditto.
893 * cygpackage.h (cygpackage::Canonical_version): New method.
894 (cygpackage::set_sdesc): New method.
895 (cygpackage::set_ldesc): New method.
896 (cygpackage::SDesc): New method.
897 (cygpackage::LDesc): New method.
898 (cygpackage::set_canonical_version): New method.
899 * desktop.cc: Include packagedb headers.
900 (make_password_group): Use packagemeta.
901 * download.cc: Include packagedb headers.
902 (check_for_cached): New method to find any cached file and fill out the database
903 info.
904 (download_one): Take a packagesource, support multiple mirrors.
905 (do_download): Use packagemeta.
906 * from cwd.cc: Include packagedb headers.
907 (found_file): Use packagemeta.
908 * ini.cc (do_ini): Beginning of multiple-mirror support.
909 * ini.h (CategoryPackage): Remove.
910 (Dependency): Remove.
911 (Package): Remove.
912 (new_package,getpkgbyname,getpackagecategorybyname,add_category): Remove.
913 * inilex.l: Support multiple mirrors.
914 * iniparse.y: Include packagedb headers.
915 (parser): Use packagemeta.
916 (new_package): Remove.
917 (add_correct_version): New function.
918 (new_requirement): Remove.
919 (add_category): Remove.
920 * install.cc (uninstall_one): Use packagemeta.
921 (install_one_source): New function.
922 (install_one): Use packagemeta.
923 (do_install): Use packagemeta.
924 * io_stream.cc (io_stream::move): Bugfix on move/copy case.
925 * io_stream_cygfile.cc (io-stream_cygfile::set_mtime): Do not reopen the file
926 after setting the mtime, it makes no sense, and results in 0 length files.
927 * io_stream_file.cc (io-stream_file::set_mtime): Ditto.
928 * list.h: New file, template class for a form of list.
929 * package_db.cc (packagedb::registerpackage): New function.
930 * package_db.h (packagedb::npackages ()): New method.
931 * package_meta.cc (packagemeta::add_version): Use list template.
932 (packagemeta::set_installed): Ditto.
933 (packagemeta::add_category): New method.
934 * package_meta.h: Include necessary headers to parse the class.
935 (CategoryPackage): New class.
936 (packagemeta): Initialise all members.
937 (packagemeta::SDesc): New method.
938 (packagemeta::Categories): New method.
939 (packagemeta::add_category): Ditto.
940 (packagemeta::versions): Change to be a list instance.
941 * package_source.cc (packagesource::set_canonical): New method.
942 (packagesource::set_cached): New method.
943 * package_source.h: Include necessary headers to parse the class.
944 (site): New class.
945 (packagesource::packagesource): Initialize all members.
946 (packagesource): Make this class non-abstract.
947 * package_version.cc (packageversion::packageversion): New method.
948 * package_version.h (Dependency): New class.
949 (packageversion::Canonical_vesion): New method.
950 (packageversion::SDesc): New method.
951 (packageversion::LDesc): New method.
952 (packageversion::new_requirement): Ditto.
953 (packageversion::srcpicked, binpicked): What to install.
954 (packageversion::src, bin): Installation source data.
955 * rfc1738.cc: New file. Escapes special characters in URL's.
956 * rfc1738.h: Ditto.
957
9582001-11-26 Gary R. Van Sickle <g.r.vansickle@worldnet.att.net>
959
960 * nio-http.cc (NetIO_HTTP::NetIO_HTTP): Stop header parsing when
961 SimpleSocket::gets() returns a zero-length string, so that we
962 don't end up eating the entire stream thinking it's all header info.
963
9642001-11-23 Robert Collins <rbtcollins@hotmail.com>
965
966 * install.cc (badrename): Remove.
967 (do_install): Use packagedb flush method to write /etc/setup/installed.db.
968 * io_stream.cc (io_stream::move_copy): New method.
969 (io_stream::move): New method.
970 * io_stream.h (io_stream): New methods move and move_copy.
971 * io_stream_cygfile.cc (io_stream_cygfile::move): New method.
972 * io_stream_cygfile.h (io_stream_cygfile): New method move.
973 * io_stream_file.cc (io_stream_file::move): New method.
974 * io_stream_file.h (io_stream_file): New method move.
975 * package_db.cc (packagedb::flush): New method.
976 * package_db.h (packagedb): New method flush.
977
9782001-11-23 Robert Collins <rbtcollins@hotmail.com>
979
980 * Makefile.in (OBJS): Add package_version.
981 * ategory.cc (Category::Category): Update constructors.
982 * category_list.cc (CategoryList::register_category): Insert correctly.
983 * choose.cc: Include package_version.h, not package.h.
984 * cygpackage.cc: Ditto.
985 (cygpackage::uninstall): New method.
986 * cygpackage.h (cygpackage): Rename genericpackage to packageversion.
987 New method uninstall.
988 * hash.cc (add, has, enumerate): Change prototype to be accurate.
989 * hash.h (hash): Change prototypes to be accurate.
990 * ini.h (_Info): New parameterless constructor.
991 (CategoryPackage): New constructor.
992 (Package): Ditto.
993 * install.cc: Don't include unneeded headers.
994 Include package database headers.
995 (hash::add_subdirs): Remove.
996 (uninstall_one): Use packagemeta->uninstall to perform the uninstallation.
997 Don't uninstall source packages.
998 (do_install): Just can uninstall_one once as we ignore source packages now.
999 Don't copy the installed.old database accross, instead iterate through the
1000 packagedb packages list and write the isntalled packages out.
1001 * package_db.cc: Include package_version.h, not package.h.
1002 (packagedb::packagedb): Never let db be undefined.
1003 Record the installation filename, so we can reconstruct installed.db.
1004 (packagedb::addpackage): Insert packages in alpha sorted order.
1005 (packagedb::categories): Initialise correctly.
1006 * package_meta.cc: Include win32 and mount headers as a workaround to
1007 current io_stream limitations. Include a TODO about that.
1008 (standard_dirs): New, from install.cc.
1009 (hash::add_subdirs): New, from install.cc.
1010 (packagemeta::set_installed): Rename genericpackage to packageversion.
1011 (packagemeta::uninstall): New method.
1012 * package_meta.h: Rename genericpackage to packageversion.
1013 (packagemeta): Update constructor.
1014 (add_version, set_installed): Rename genericpackage to packageversion.
1015 (uninstall): New method.
1016 (installed_from): New member.
1017 * package_source.cc: New file.
1018 * package_source.h: New file.
1019 * package_version.cc: New file.
1020 * package_version.h: New file.
1021 * package.cc: Removed.
1022 * package.h: Removed.
1023
10242001-11-21 Robert Collins <rbtcollins@hotmail.com>
1025
1026 * Makefile.in (OBJS): Add category.o and category_list.o.
1027 * category.h: New file.
1028 * category.cc: New file.
1029 * category_list.h: New file.
1030 * category_list.cc: New file.
1031 * choose.cc: Include category headers.
1032 (fill_missing_category): Use package_db to access global categories.
1033 (_view::insert_pkg): Ditto.
1034 (_view::insert_category): Ditto.
1035 (set_view_mode): Ditto.
1036 (getcategorybyname): Remove.
1037 * cygpackage.h: Include category_list.h to parse this correctly.
1038 (cygpackage): New virtual &Categories.
1039 * ini.h (_CategoryPackage): More C to C++ conversion.
1040 (Category): Remove.
1041 (getcategorybyname): Remove.
1042 (register_category): Remove.
1043 * iniparse.y: Include package db and category headers.
1044 (categories): Use package_db to access global categories.
1045 (category): Remove.
1046 (ncategories): Remove.
1047 (register_category): Remove.
1048 * package.h: New virtual &Categories.
1049 * package_db.cc (packagedb::packagedb): Don't read the installed db twice.
1050 (packagedb::categories): Declare.
1051 * package_db.h (packagedb): New member categories for global categories list.
1052
10532001-11-21 Robert Collins <rbtcollins@hotmail.com>
1054
1055 * choose.h: Don't include ini.h
1056 * ini.h: Allow pure c++ in the header file.
1057
10582001-11-21 Robert Collins <rbtcollins@hotmail.com>
1059
1060 * install.cc (do_install): Write a version 2 installed.db file.
1061 * package_db.cc (packagedb::packagedb): Read version 1 and 2 installed.db files.
1062
10632001-11-21 Robert Collins <rbtcollins@hotmail.com>
1064
1065 * Makefile.in (OBJS): Add package abstraction objects.
1066 * choose.cc: Include package abstraction headers.
1067 (read_installed_db): Use packagedb class and ignore installed sources.
1068 * cygpackage.cc: New file.
1069 * cygpackage.h: New file.
1070 * filemanip.h (get_file_size): Use unixy types.
1071 * package.h: New file.
1072 * package.cc: New file.
1073 * package_db.cc: New file.
1074 * package_db.h: New file.
1075 * package_meta.cc: New file.
1076 * package_meta.h: New file.
1077
10782001-11-21 Robert Collins <rbtcollins@hotmail.com>
1079
1080 * REAME: Updates to wishlist.
1081
10822001-11-16 Robert Collins <rbtcollins@hotmail.com>
1083
1084 * README: Updated and added my list of wishlist and todo items.
1085
10862001-11-14 Robert Collins <rbtcollins@hotmail.com>
1087
1088 * Makefile.in (OBJS): Include io_stream_memory in setup.exe.
1089 * archive_tar.cc (archive_tar::write): New prototype.
1090 (archive_tar::seek): New method.
1091 * archive.h (archive_tar_file): Update write() and add seek().
1092 (archive_tar): Ditto.
1093 * archive_tar_file.cc (archive_tar_file::write): New prototype.
1094 (archive_tar_file::seek): New method.
1095 * compress_bz.cc (compress_bz::write): New prototype.
1096 (compress_bz::seek): New function.
1097 * compress_bz.h (compress_bz): Update write() and add seek().
1098 * compress_gz.cc (compress_gz::write): New prototype.
1099 (compress_gz::seek): New function.
1100 * compress_gz.h (compress_gz): Update write() and add seek().
1101 * geturl.cc: Include io_stream headers.
1102 (GUBuf): Remove.
1103 (get_url_to_string): Use a io_stream_memory buffer instead of GUBuf.
1104 * io_stream.h (io_stream_seek_t): New enum.
1105 (io_stream): Update write() and add seek().
1106 * io_stream_cygfile.cc (io_stream_cygfile::write): New prototype.
1107 (io_stream_cygfile::seek): New function.
1108 * io_stream_cygfile.h (io_stream_cygfile): Update write() and add seek().
1109 * io_stream_file.cc (io_stream_file::write): New prototype.
1110 (io_stream_file::seek): New function.
1111 * io_stream_file.h (io_stream_file): Update write() and add seek().
1112
11132001-11-13 Brian Keener <bkeener@thesoftwaresource.com>
1114
1115 * localdir.cc: Add headers unistd.h and port.h.
1116 (save_local_dir): Expand search logic to include local directory for
1117 location of file last-cache.
1118 (dialog_cmd): Skip IDD_ROOT when downloading and use Back button.
1119 (do_local_dir): Expand search logic to include local directory for file
1120 last-cache.
1121 * res.rc (IDD_CHOOSE_DIALOG): Add hotkey to View button.
1122 * Source.cc (dialog_cmd): Skip IDD_ROOT if select Download from
1123 Internet.
1124 (do_source): Default to Install from Internet on first entry or
1125 previous selection if backing up from IDD_ROOT or IDD_LOCAL_DIR.
1126
11272001-11-13 Robert Collins <rbtcollins@hotmail.com>
1128
1129 * choose.cc (find_tar_ext): Only match at the end of the string.
1130 (getpkgbyname): Prevent NULL pointer dereference.
1131
11322001-11-13 Robert Collins <rbtcollins@hotmail.com>
1133
1134 * Makefile.in (CFLAGS): Add warnings and -Werr.
1135 (WARNONLY_FLAGS): For sources that produce (harmless) errors no matter what.
1136 (OBJS): Add io_stream class' objects.
1137 (autoload.o): Use WARNONLY_FLAGS.
1138 (inilex.o): Ditto.
1139 (iniparse.o): Ditto.
1140 * archive.cc: New file.
1141 * archive.h: New file.
1142 * archive_tar.cc: New file.
1143 * archive_tar.h: New file.
1144 * archive_tar_file.cc: New file.
1145 * autoload.c: Fix compiler warnings (unused, deprecated conversion).
1146 * choose.cc: Use io_stream.h, not mount.h.
1147 Run indent.
1148 (find_tar_ext): Rewritten to use strstr, and to accept .tar as an extension.
1149 (read_installed_db): Use io_streams.
1150 * choose.h: Run indent.
1151 * compress.cc: New file.
1152 * compress.h: New file.
1153 * compress_bz.cc: New file.
1154 * compress_bz.h: New file.
1155 * compress_gz.cc: New file.
1156 * compress_gz.h: New file.
1157 * concat.cc: Run indent.
1158 (cvsid): Fix compiler warnings (unused, deprecated conversion).
1159 * concat.h: Run indent.
1160 * desktop.cc: Run indent.
1161 Include mklink2.h rather than redefining by hand.
1162 (cvsid): Fix compiler warnings (unused, deprecated conversion).
1163 (etc_profile): Fix compiler warning (deprecated conversion).
1164 (make_link): Fix compiler warning (deprecated conversion).
1165 Tidy up use of args variable - consolidate into argbuf.
1166 (start_menu): Fix compiler warning (deprecated conversion).
1167 (desktop_icon): Fix compiler warning (deprecated conversion).
1168 (make_etc_profile): Fix compiler warning (deprecated conversion).
1169 (uexists): Fix compiler warning (deprecated conversion).
1170 (check_desktop): Fix compiler warning (deprecated conversion).
1171 (check_startmenu): Fix compiler warning (deprecated conversion).
1172 * dialog.cc: Run indent.
1173 (cvsid): Fix compiler warnings (unused, deprecated conversion).
1174 (fatal): Fix compiler warning (deprecated conversion).
1175 * dialog.h: Run indent.
1176 * diskfull.cc: Run indent.
1177 (cvsid): Fix compiler warnings (unused, deprecated conversion).
1178 * download.cc: Run indent.
1179 (cvsid): Fix compiler warnings (unused, deprecated conversion).
1180 (download_one): Fix compiler warning (signed vs unsigned comparison).
1181 * filemanip.h: Run indent.
1182 * find.cc: Run indent.
1183 (cvsid): Fix compiler warnings (unused, deprecated conversion).
1184 (find): Fix compiler warning (deprecated conversion).
1185 * find.h: Run indent.
1186 * fromcwd.cc: Run indent.
1187 * geturl.cc: Run indent.
1188 (cvsid): Fix compiler warnings (unused, deprecated conversion).
1189 (dialog_cmd): Return a value.
1190 (dialog_proc): Remove unused variables.
1191 Return a value.
1192 (get_url_to_file): Fix compiler warning (deprecated conversion).
1193 * geturl.h: Run indent.
1194 * hash.cc: Run indent.
1195 (cvsid): Fix compiler warnings (unused, deprecated conversion).
1196 * hash.h: Run indent.
1197 * ini.cc: Run indent.
1198 Use io_streams.
1199 (cvsid): Fix compiler warnings (unused, deprecated conversion).
1200 (do_ini): Use io_streams for local io.
1201 * ini.h: Run indent.
1202 * inilex.l (ignore_line): Fix compiler warning (is not a prototype).
1203 Fix compiler warning (brackets for truth assignment).
1204 * install.cc: Run indent.
1205 Fix compiler warning (/* in comment).
1206 Use io_streams.
1207 (cvsid): Fix compiler warnings (unused, deprecated conversion).
1208 (dialog_cmd): Return a value.
1209 (dialog_proc): Return a value.
1210 (start_tics): Deleted - was unused.
1211 (badrename): Fix compiler warnings (unused, deprecated conversion).
1212 (standard_dirs): Fix compiler warning (deprecated conversion).
1213 (exists): Remove.
1214 (uninstall_one): Convert to io_streams.
1215 (install_one): Convert to io_streams.
1216 (do_install): Convert to io_streans.
1217 Fix compiler warning (deprecated conversion).
1218 * io_stream.cc: New file.
1219 * io_stream.h: New file.
1220 * io_stream_cygfile.cc: New file.
1221 * io_stream_cygfile.h: New file.
1222 * io_stream_file.cc: New file.
1223 * io_stream_file.h: New file.
1224 * localdir.cc: Run indent.
1225 Use io_streams.
1226 (cvsid): Fix compiler warnings (unused, deprecated conversion).
1227 (get_root_dir_now): Remove.
1228 (save_local_dir): Convert to io_streams.
1229 (dialog_cmd): Return a value.
1230 (do_local_dir): Convert to io_streams.
1231 (log.cc): Run indent.
1232 (cvsid): Fix compiler warnings (unused, deprecated conversion).
1233 (log): Fix compiler warning (deprecated conversion).
1234 (log_save): Fix compiler warning (deprecated conversion).
1235 * log.h: Run indent.
1236 (log): Fix compiler warning (deprecated conversion).
1237 (log_save): Fix compiler warning (deprecated conversion).
1238 * main.cc: Run indent.
1239 Don't include "netio.h".
1240 (cvsid): Fix compiler warnings (unused, deprecated conversion).
1241 (netio_test): Remove.
1242 (sid_auth): Fix compiler warning (partially bracketed initialiser).
1243 (WinMain): Return a value.
1244 * mkdir.cc: Run indent.
1245 (cvsid): Fix compiler warnings (unused, deprecated conversion).
1246 * mklink2.c: Run indent.
1247 (cvsid): Fix compiler warnings (unused, deprecated conversion).
1248 (mkcygsymlink): New function.
1249 * mklink2.h: New file.
1250 * mount.cc: Run indent.
1251 (cvsid): Fix compiler warnings (unused, deprecated conversion).
1252 (create_mount): Remove unused variables.
1253 (cygpath): Fix compiler warning (signed vs unsigned comparison).
1254 * mount.h: Run indent.
1255 * msg.cc: Run indent.
1256 (cvsid): Fix compiler warnings (unused, deprecated conversion).
1257 (msg): Fix compiler warning (deprecated conversion).
1258 (mbox): Fix compiler warning (deprecated conversion).
1259 * msg.h: Run indent.
1260 (msg): Fix compiler warning (deprecated conversion).
1261 * net.cc: Run indent.
1262 (cvsid): Fix compiler warnings (unused, deprecated conversion).
1263 (dialog_cmd): Return a value.
1264 * netio.cc: Run indent.
1265 (cvsid): Fix compiler warnings (unused, deprecated conversion).
1266 (auth_cmd): Return a value.
1267 * netio.h: Run indent.
1268 * nio-file.cc: Run indent.
1269 (cvsid): Fix compiler warnings (unused, deprecated conversion).
1270 (NetIO_File::NetIO_File): Fix compiler warning (deprecated conversion).
1271 * nio-file.h: Run indent.
1272 * nio-ftp.cc: Run indent.
1273 (cvsid): Fix compiler warnings (unused, deprecated conversion).
1274 * nio-ftp.h: Run indent.
1275 * nio-http.cc: Run indent.
1276 (cvsid): Fix compiler warnings (unused, deprecated conversion).
1277 * nio-http.h: Run indent.
1278 * nio-ie5.cc: Run indent.
1279 (cvsid): Fix compiler warnings (unused, deprecated conversion).
1280 * nio-ie5.h: Run indent.
1281 * other.cc: Run indent.
1282 (cvsid): Fix compiler warnings (unused, deprecated conversion).
1283 (dialog_cmd): Return a value.
1284 * port.h: Run indent.
1285 * postinstall.cc: Run indent.
1286 (cvsid): Fix compiler warnings (unused, deprecated conversion).
1287 (cmd): Fix compiler warning (deprecated conversion).
1288 (eun): Fix compiler warning (deprecated conversion).
1289 * root.cc: Run indent.
1290 (cvsid): Fix compiler warnings (unused, deprecated conversion).
1291 * simpsock.cc: Run indent.
1292 (cvsid): Fix compiler warnings (unused, deprecated conversion).
1293 * simpsock.h: Run indent.
1294 * site.cc: Run indent.
1295 Use io_streams.
1296 (cvsid): Fix compiler warnings (unused, deprecated conversion).
1297 (get_root_dir_now): Remove.
1298 (save_site_url): Convert to io_streams.
1299 (dialog_cmd): Return 0.
1300 (get_initial_list_idx): Convert to io_streans.
1301 * source.cc: Run indent.
1302 (cvsid): Fix compiler warnings (unused, deprecated conversion).
1303 (check_if_enable_next): Remove.
1304 (load_dialog): Remove unused variables.
1305 (save_dialog): Ditto.
1306 (dialog_cmd): Return a value.
1307 * splash.cc: Return a value.
1308 (cvsid): Fix compiler warnings (unused, deprecated conversion).
1309 (dialog_cmd): Return a value.
1310 * state.cc: Run indent.
1311 (cvsid): Fix compiler warnings (unused, deprecated conversion).
1312 * state.h: Run indent.
1313 * tar.h: Remove.
1314 * tar.cc: Remove.
1315
13162001-11-12 Christopher Faylor <cgf@redhat.com>
1317
1318 * desktop.cc (start_menu): Change start menu name to "Cygwin".
1319 (check_startmenu): Ditto.
1320
13212001-11-11 Christopher Faylor <cgf@redhat.com>
1322
1323 * choose.cc (parse_filename): Finish reorganization by correctly
1324 decrementing p in memmove.
1325
13262001-11-11 Christopher Faylor <cgf@redhat.com>
1327
1328 * choose.cc (parse_filename): Reorganize code to work around gcc
1329 optimization problem.
1330
13312001-11-09 Gareth Pearce <tilps@hotmail.com>
1332
1333 * choose.cc (set_action): Allow skip as an option for installed
1334 packages that have version number not listed in setup.ini.
1335
13362001-11-10 Robert Collins <rbtcollins@hotmail.com>
1337
1338 * choose.cc (set_cation): Backout last change.
1339 (choose_caption): Ditto.
1340
13412001-11-10 Robert Collins <rbtcollins@hotmail.com>
1342
1343 * ini.h (actions): Remove - transferred to choose.h.
1344 (views): Ditto.
1345 * choose.h: Protect class's from "C" compilers.
1346 (actions): New enum, from ini.h. This may not be the 'right' place
1347 but that place doesn't exist yet.
1348 (_views): New enum, from ini.h.
1349 * choose.cc (set_action): Handle installed packages with a version not in
1350 setup.ini.
1351 (choose_caption): Ditto.
1352 * iniparse.y: Rearrange header order to handle new ini.h.
1353
13542001-11-10 Robert Collins <rbtcollins@hotmail.com>
1355
1356 * ini.h (_Info): Fix compiler warnings (signed vs unsigned comparison).
1357 (registry_category): Fix compiler warning (deprecated conversion).
1358 * iniparse.y (registry_category): Ditto.
1359 * choose.cc (cvsid): Fix compiler warnings (unused, deprecated conversion).
1360 (add_requried): Remove unused variable.
1361 (choose_caption): Handle all enumeration values via a default.
1362 (paint): Fix compiler warnings (unused, deprecated conversion).
1363 (scroll_common): Fix compiler warnings (unused, signed vs unsigned comparison).
1364 (list_clicK): Fix compiler warnings (signed vs unsigned comparison).
1365 (note_width): Fix compiler warnings (deprecated conversion).
1366 (keep_or_skip): Fix compiler warnings (unused).
1367 (_view::mode_caption): Fix compiler warnings (deprecated conversion).
1368 (set_view_mode): Fix compiler warnings (unused).
1369 (create_listview): Fix compiler warnings (unused, incorrect format, reaches
1370 end of function).
1371 (dialog_proc): Fix compiler warnings (unused).
1372 (read_installed_db): Fix compiler warnings (unused, deprecated conversion).
1373 * choose.h (_header): Fix compiler warnings (deprecated conversion).
1374 (_view): Ditto.
1375
13762001-11-08 Pavel Tsekov <ptsekov@syntrex.com>
1377
1378 * simpsock.h (SimpleSocket::invalidate): Declare new method.
1379 * simpsock.cc (SimpleSocket::invalidate): Implement new method.
1380 (SimpleSocket::SimpleSocket): Initialize buf to zero. Do not allocate
1381 memory for buf in the constructor.
1382 (SimpleSocket::~SimpleSocket): Use SimpleSocket::invalidate().
1383 (SimpleSocket::printf): Use SimpleSocket::write() instead of send().
1384 (SimpleSocket::write): Check object consistency - return -1 on error.
1385 invalidate() the object on socket write error.
1386 (SimpleSocket::fill): Check object consistency - return -1 on error.
1387 invalidate() the object if socket read error is encountered and there
1388 is no more data available in the internal read buffer.
1389 Allocate memory for the internal read buffer.
1390 (SimpleSocket::gets): Return zero (NULL pointer) if error is encountered
1391 during fill() and no more data is available in the internal read buffer.
1392 (SimpleSocket::read): Check object consistency - return -1 on error.
1393 invalidate() the object if socket read error is encountered.
1394 * nio-ftp.cc (NetIO_FTP:NetIO_FTP): Allow 125 as valid response code to
1395 the RETR command (fix for MS IIS ftp server 5 - possibly others too).
1396 (NetIO_FTP::ok): Check if the SimpleSocket object is ok().
1397 (NetIO_FTP::read): Use NetIO_FTP::ok().
1398 * nio-http.cc: Check for valid return value of SimpleSocket::gets().
1399 (NetIO_HTTP::ok): Check if the SimpleSocket object is ok().
1400
14012001-11-09 Robert Collins <rbtcollins@hotmail.com>
1402
1403 * simpsock.cc (cvsid): Avoid compiler warnings (not used, deprecated conversion).
1404 (SimpleSocket::SimpleSocket): Avoid compiler warnings (deprecated conversion).
1405 (SimpleSocket::printf): Ditto.
1406 (SimpleSocket::write): Ditto.
1407 * simpsock.h (SimpleSocket): Avoid compiler warnings for constructor,
1408 printf and write.
1409 * nio-ftp.cc (cvsid): Avoid compiler warnings (not used, deprecated conversion).
1410 (NetIO_FTP::NetIO_FTP): Remove unused variable done.
1411 * nio-http.cc (cvsid): Avoid compiler warnings (not used, deprecated conversion).
1412
14132001-11-07 Charles Wilson <cwilson@ece.gatech.edu>
1414
1415 * geturl.cc (get_url_to_string): clean up memory leak
1416 (get_url_to_file): ditto
1417
14182001-11-06 Robert Collins <rbtcollins@hotmail.com>
1419
1420 * localdir.cc (dialog_cmd): Go back to IDD_ROOT in every case.
1421 * source.cc (dialog_cmd): Go forward to IDD_ROOT in every case.
1422
14232001-11-06 Pavel Tsekov <ptsekov@syntrex.com>
1424
1425 * fromcwd.cc (found_file): Free() memory containing the version and
1426 filepath information for a given package, before replacing the pointers which
1427 reference this memory.
1428
14292001-11-06 Robert Collins <rbtcollins@hotmail.com>
1430
1431 * fromcwd: Fix compiler warnings for cvsid.
1432 (canonicalize_version): Fix compilter warnings.
1433 (do_fromcwd): Ditto.
1434 * version.h: Fix compiler warnings for canonicalize_version.
1435
14362001-11-03 Robert Collins <rbtcollins@hotmail.com>
1437
1438 * res.rc (IDD_CHOOSE): Move the view caption to the right hand side.
1439
14402001-11-02 Robert Collins <rbtcollins@hotmail.com>
1441
1442 * res.rc (IDD_CHOOSE): Tweak for use on a 640x480 screen.
1443
14442001-11-02 Robert Collins <rbtcollins@hotmail.com>
1445
1446 * choose.cc (set_action): Correctly allow skip for any uninstalled package.
1447
14482001-11-02 Robert Collins <rbtcollins@hotmail.com>
1449
1450 * choose.cc (default_trust): Change the "Required" forced install category to
1451 "Base".
1452
14532001-11-02 Robert Collins <rbtcollins@hotmail.com>
1454
1455 * choose.cc: Ran indent.
1456 (set_action): When the requested trust level is missing and the level was not
1457 user requested, set the action to ACTION_SAME_CURR.
1458
14592001-11-01 Christopher Faylor <cgf@redhat.com>
1460
1461 * Makefile.in (mingw_getopt.o): Fix typo in non-verbose compilation.
1462
14632001-11-02 Robert Collins <rbtcollins@hotmail.com>
1464
1465 * choose.cc (_view::init_headers): Resync with the paint logic.
1466
14672001-11-02 Robert Collins <rbtcollins@hotmail.com>
1468
1469 * choose.cc (add_required): Allow SKIP and SRC_ONLY for currently installed
1470 packages.
1471
14722001-11-02 Robert Collins <rbtcollins@hotmail.com>
1473
1474 * choose.cc (default_trust): Autoset currently installed packages per the user's
1475 selection of prev/curr/exp.
1476
14772001-11-02 Robert Collins <rbtcollins@hotmail.com>
1478
1479 * splash.cc (dialog_proc): Return TRUE as specified in the WIN32 API.
1480
14812001-11-02 Pavel Tsekov <ptsekov@syntrex.com>
1482
1483 * geturl.cc (is_showing): Remove.
1484 (is_local_install): New static variable. Controls whether the
1485 progress dialog and the supporting thread will be created.
1486 (dialog_proc): Return TRUE to WM_INITDIALOG as specified by the WIN32 API.
1487 (init_dialog): Remove usage of SetForegroundWindow and is_showing.
1488 This prevents the progress dialog to gain control over the
1489 application and fixes the "setup.exe going to background" problem.
1490 (progress): Use is_local_install.
1491 (get_url_to_string): Set is_local_install.
1492 (dismiss_url_status_dialog): Use is_local_install.
1493 * install.cc (dialog_proc): Return TRUE as specified in WIN32 API.
1494 (init_dialog): Remove usage of SetForegroundWindow.
1495 This prevents the progress dialog to gain control over the
1496 application and fixes the "setup.exe going to background" problem.
1497
14982001-11-02 Robert Collins <rbtcollins@hotmail.com>
1499
1500 * choose.cc (list_click): Change r to row for clarity.
1501 When we shrink the list below 1 page, scroll to the top of the list.
1502 (_view::click): Return the actual change for contractions.
1503 (dialog_proc): Return TRUE to WM_INITDIALOG as specified by the Win32 API.
1504
15052001-11-02 Robert Collins <rbtcollins@hotmail.com>
1506
1507 * choose.cc (dialog_cmd): Swap cygwin root selection and local dir selection order.
1508 * localdir.cc: Ran indent.
1509 (get_root_dir_now): New function.
1510 (save_local_dir): New function.
1511 (dialog_cmd): Use it and swap cygwin root selection and local dir selection order.
1512 (do_local_dir): If there is a saved local dir, read it in.
1513 * net.cc (dialog_cmd): Swap cygwin root selection and local dir selection order.
1514 * root.cc (dialog_cmd): Ditto.
1515 * source.cc (dialog_cmd): Ditto.
1516
15172001-11-01 Robert Collins <rbtcollins@hotmail.com>
1518
1519 * choose.cc(list_vscroll): Return 0 as required by win32.
1520 (list_hscroll): Ditto.
1521 (list_click): Ditto.
1522
15232001-11-01 Robert Collins <rbtcollins@hotmail.com>
1524
1525 * argv.cc: Remove.
1526 * argv.h: Remove.
1527 * main.cc(WinMain): Use __argv to retrieve command line parameters.
1528 * Makefile,in: Remove argv.o.
1529
15302001-11-01 Matt Hargett <matt@use.net>
1531
1532 * geturl.cc (progress): Change int to unsigned int to eliminate
1533 lint warnings.
1534 * (get_url_to_string): Check for NULL pointer.
1535 * mount.cc (find2): Use free instead of delete for malloc'd
1536 memory.
1537 * nio-http.cc (NetIO_HTTP::NetIO_HTTP): Fix memory leak.
1538
15392001-10-31 Robert Collins <rbtcollins@hotmail.com>
1540
1541 * choose.cc(_view::insert_under): Handle linen > nlines and lines[linen] with neither
1542 a package nor a category. The lines[linen] bug was reported by Matt (matt@usa.net).
1543 (read_installed_db): Bugfix for testing whether a package has a source tarball.
1544 Reported by Matt (matt@usa.net).
1545 * geturl.cc(dialog): Rename gw_dialog to local_gw_dialog to avoid programmer
1546 confusion and lint errors. Reported by Matt (matt@usa.net).
1547
15482001-10-31 Robert Collins <rbtcollins@hotmail.com>
1549
1550 * argv.cc: New file, converts arguments for -mwindows programs. (Simplified derivation
1551 from dcrt0.cc.)
1552 * argv.h: New file.
1553 * Makefile,in: Add argv.o and mingw_getopt.o to setup.exe object list.
1554 Add mingw_getopt.o build rule.
1555 * main.cc(WinMain): Initialise argv and argc for use by getopt.
1556
15572001-10-27 Christopher Faylor <cgf@redhat.com>
1558
1559 * res.rc: Rearrange info on top line slightly.
1560
15612001-10-27 Christopher Faylor <cgf@redhat.com>
1562
1563 * desktop.cc (make_passwd_group): Move file creation earlier in the
1564 process to ensure that passwd-grp.bat reflects desired operation.
1565
15662001-27-10 Trevor Forbes <t4bs@hotmail.com>
1567
1568 * postinstall.cc (each): Remove "*.done" file else rename will fail.
1569
15702001-10-16 Christopher Faylor <cgf@redhat.com>
1571
1572 * res.rc: Oops. Take 640x480 screen size into account.
1573
15742001-10-16 Christopher Faylor <cgf@redhat.com>
1575
1576 * res.rc: Enlarge chooser screen.
1577
15782001-10-12 Christopher Faylor <cgf@redhat.com>
1579
1580 * Makefile.in: Accomodate changes to w32api_include macro.
1581
15822001-10-12 Christopher Faylor <cgf@redhat.com>
1583
1584 * Makefile.in: Use correct flags for windres.
1585
15862001-10-12 Christopher Faylor <cgf@redhat.com>
1587
1588 * Makefile.in (CFLAGS): Remove -nostdinc from CFLAGS.
1589
15902001-10-12 Christopher Faylor <cgf@redhat.com>
1591
1592 * choose.cc (pick_line::paint): Reorganize after botched patch.
1593
15942001-10-12 Christopher Faylor <cgf@redhat.com>
1595
1596 * choose.cc (pick_line::paint): Add missing declaration.
1597
15982001-10-10 Ralf Habacker <Ralf.Habacker@freenet.de>
1599
1600 * choose.cc (pick_line::paint): Add package name to sdesc for display.
1601
1602Wed Sep 26 21:39:00 Robert Collins rbtcollins@hotmail.com
1603
1604 * choose.cc (_view::insert_pkg): Correctly exit loop.
1605 * iniparse.y (register_category): Always insert new categories.
1606
1607Fri Sep 21 13:56:32 2001 Christopher Faylor <cgf@cygnus.com>
1608
1609 * inilex.l (yylex): For comments, eat all characters up to, but not
1610 including newline.
1611
1612Sun Aug 26 12:50:01 2001 John Marshall <jmarshall@acm.org>
1613
1614 * fromcwd.cc (found_file): Use correct package name when adding an
1615 unknown package rather than random stack garbage.
1616
1617Sun Aug 12 14:25:21 2001 Christopher Faylor <cgf@cygnus.com>
1618
1619 * desktop.cc (make_passwd_group): .bat files need \r\n endings.
1620
1621Wed Aug 8 13:53:47 2001 Christopher Faylor <cgf@cygnus.com>
1622
1623 * desktop.cc (etc_profile): Leave environment variables untouched.
1624
16252001-08-07 Corinna Vinschen <corinna@vinschen.de>
1626
1627 * autoload.c: Add dynamic load statements for NT/W2K
1628 advapi32 functions not available in 9x/ME.
1629 * main.cc (set_default_dacl): New function.
1630 (WinMain): Call `set_default_dacl' if running on NT/W2K.
1631
1632Sat Aug 4 21:35:53 2001 Christopher Faylor <cgf@cygnus.com>
1633
1634 * ini.h (_CategoryPackage): Change pkg field to pkgname for
1635 consistency.
1636 * choose.cc: Use pkgname field when referencing _CategoryPackage
1637 throughout.
1638 (fill_missing_category): Don't add excluded packages.
1639 (default_trust): Ditto.
1640 (_view::insert_pkg): Ditto.
1641 * iniparse.y (register_category): Use consistent variable name.
1642
16432001-07-09 Egor Duda <deo@logos-m.ru>
1644
1645 * choose.cc: Use system foreground color for text output.
1646
1647Sat Jul 7 00:40:28 2001 Christopher Faylor <cgf@cygnus.com>
1648
1649 * choose.cc (set_action): Use default trust for determining reinstall
1650 and source only.
1651 (default_trust): Set default trust.
1652 (pick_line::paint): Allow source selection when reinstalling or
1653 retrieving.
1654
1655Fri Jul 6 18:08:49 2001 Christopher Faylor <cgf@cygnus.com>
1656
1657 * choose.cc (isinstalled): Modify to properly accomodate special case
1658 of "download only".
1659 (set_action): Check downloaded components, not installed components if
1660 "download only".
1661 (set_existence): Always include full list of files when "download
1662 only".
1663
1664Fri Jul 6 00:37:05 2001 Christopher Faylor <cgf@cygnus.com>
1665
1666 * choose.cc (pick_line::paint): Properly display "na" field when no
1667 source exists.
1668
1669Thu Jul 5 00:34:23 2001 Christopher Faylor <cgf@cygnus.com>
1670
1671 * choose.cc (scan2): Ensure that older versions do not show up in
1672 "Test" slot.
1673
1674Mon Jul 2 15:47:59 2001 Christopher Faylor <cgf@cygnus.com>
1675
1676 * choose.cc (set_action): Allow "Skip" action if trust != installed.
1677 * res.rc: Fix copyright.
1678
1679Sat Jun 30 14:05:21 2001 Michael A Chase <mchase@ix.netcom.com>
1680
1681 * res.rc (IDD_LOCAL_DIR): Change caption to match the other dialog
1682 boxes.
1683 (IDD_CHOOSE): Adjust horizontal size so package names are visible.
1684
1685 * choose.cc: Restore some more changes from 2001-06-25, throughout.
1686 (paint): Wrap some excessively long lines.
1687 (pick_line::paint): Ditto. Move the arrow in the "Current" column
1688 right to where it belongs. Move the source checkbox slightly to the
1689 right.
1690 (do_choose): List categories and required packages in setup.log.full.
1691
1692Sat Jun 30 23:04:59 2001 Christopher Faylor <cgf@cygnus.com>
1693
1694 * choose.cc (scan2): Restore source scanning eliminated by previous checkin.
1695
1696Sat Jun 30 15:18:33 2001 Christopher Faylor <cgf@cygnus.com>
1697
1698 * ini.h (struct _Info): Add "derived" element.
1699 * choose.cc (scan2): Try to place unknown tar files into proper slot
1700 when package exists in setup.ini but tar file does not.
1701
1702Sat Jun 30 13:39:00 2001 Robert Collins <rbtcollins@hotmail.com>
1703
1704 * choose.cc (create_listview): Call set_view_mode with VIEW_CATEGORY.
1705 (do_choose): Log the first category name.
1706
1707Fri Jun 29 23:07:44 2001 Christopher Faylor <cgf@cygnus.com>
1708
1709 *ini.h: Reapply 2001-06-25 changes.
1710 * choose.cc (add_required): Ditto. Default to "Keep" state if
1711 UNINSTALL and product is installed. Default to curr state if SKIP,
1712 etc.
1713 (keep_or_skip): New function. Returns skip or keep state depending on
1714 installed state of package.
1715 (default_trust): Use keep_or_skip to set state.
1716 (_view::insert_pkg): Use calloc to allocate lines.
1717 (set_view_mode): Adapt 2001-06-25 change to set_full_list here.
1718
1719Sat Jun 30 11:01:00 2001 Robert Collins <rbtcollins@hotmail.com>
1720
1721 * choose.cc: Remove globals full_list, headers, package_indexes and
1722 nindexes.
1723 Add globals cat_headers, pkg_headers and chooser.
1724 (add_required): New function.
1725 (paint): Use the chooser for header details.
1726 Call into the chooser to paint each line.
1727 (list_click): Use new global variables.
1728 Call into the chooser to handle the click.
1729 Repaint the entire view if packages have been added or removed.
1730 (note_width): Get passed a headers struct rather than using a global
1731 variable.
1732 (fill_missing_category): New function.
1733 (default_trust): Skip non-"Required" or "Misc" packages.
1734 (pick_line::set_line (Package *)): New function.
1735 (pick_line::set_line (Category *)): New function.
1736 (pick_line::paint): New function.
1737 (pick_line::click): New function.
1738 (_view::_view): New function.
1739 (_view::set_view_mode): New function.
1740 (_view::mode_caption): New function.
1741 (_view::set_headers): New function.
1742 (_view::init_header): New function.
1743 (_view::insert_pkg): New function.
1744 (_view::insert_category): New function.
1745 (_view::insert_at): New function.
1746 (_view::insert_under): New function.
1747 (_view::clear_view): New function.
1748 (viewsplusplus): New function.
1749 (_view::client): New function.
1750 (set_view_mode): Use new chooser functionality.
1751 (set_full_list): Use new global variables.
1752 (create_listview): Instantiate chooser.
1753 Remove all hardcoded headers[] code.
1754 (dialog_cmd): On trust changes, check dependencies.
1755 (getcategorybyname): New function.
1756 (getpackagecategorybyname): New function.
1757 (scan2): Use case-insensitive package comparison.
1758 (do_choose): Use fill_missing_category ().
1759 Show some category data.
1760 * ini.h: Protect against multiple inclusion.
1761 (views) New enum.
1762 (_CategoryPackage): New struct.
1763 (_Category): New struct.
1764 (_Package): Change category to Category * from char *.
1765 (extern Category category): New global variable.
1766 (extern in ncategories): Ditto.
1767 (getcategorybyname): New prototype.
1768 (catpackagecategorybyname): New prototype.
1769 (register_category): New prototype.
1770 (add_category): New prototype.
1771 * iniparse.y: Parse multiple categories per package.
1772 (category): New global variable.
1773 (ncategories): New global variable.
1774 (new_package): Compare package against NULL, not 0.
1775 (new_requirement): Source formatting fix.
1776 (register_category): New function.
1777 (add_category): New function.
1778 * res.rc: Change IDC_CHOOSE_FULLPART to IDC_CHOOSE_VIEW.
1779 IDC_CHOOSE_VIEWCAPTION: New control.
1780 * resource.h: Change IDC_CHOOSE_FULLPART to IDC_CHOOSE_VIEW.
1781 IDC_CHOOSE_VIEWCAPTION: New control.
1782 Increment _APS_NEXT_CONTROL_VALUE.
1783
1784Mon Jun 25 00:56:37 2001 Michael A Chase <mchase@ix.netcom.com>
1785
1786 * choose.cc (paint): Wrap excessively long lines.
1787 (list_click): Ditto.
1788 (create_listview): Ditto.
1789 (do_choose): Ditto. Replace TABs and remove CRs in lines written to
1790 setup.log.full. Allow "Yes" for source exists in setup.log.full when
1791 installing from local directories.
1792
1793Mon Jun 25 00:56:37 2001 Christopher Faylor <cgf@cygnus.com>
1794
1795 * choose.cc (set_action): Only clear srcpicked when moving to next
1796 state. Allow source installation if it exists in the current "trust"
1797 state. Don't move to skip state when package is installed.
1798 (list_click): Don't allow source clicking when no source is available.
1799 (set_full_list): Display package when not is_full_action.
1800 * ini.h (is_full_action): Define.
1801
1802Sun Jun 17 12:06:14 2001 Christopher Faylor <cgf@cygnus.com>
1803
1804 * install.cc (check_for_old_cygwin): New function. First stab at
1805 checking for old cygwin versions.
1806 (do_install): Call check_for_old_cygwin if there were no errors during
1807 the install.
1808
1809Sat Jun 16 11:33:51 2001 Michael A Chase <mchase@ix.netcom.com>
1810
1811 * choose.cc (_Info::_Info): Test _source paramenter for non-NULL rather
1812 than zeroed "source" element.
1813
1814Fri Jun 15 20:54:43 2001 Christopher Faylor <cgf@cygnus.com>
1815
1816 * choose.cc (scan2): Insert unknown tar archives, found on disk, into
1817 the highest available "hole" in the trust array.
1818
1819Fri Jun 15 00:20:48 2001 Christopher Faylor <cgf@cygnus.com>
1820
1821 * choose.cc (set_existence): Use pointer method for indexing in trust
1822 array.
1823 (create_listview): Ditto.
1824 (scan2): Ditto. Also, use consistent variable name for indexing into
1825 trust array.
1826 * ini.h (Package): Reorganize info array for easier scanning.
1827
1828Fri Jun 15 00:01:51 2001 Christopher Faylor <cgf@cygnus.com>
1829
1830 * choose.cc (isinstalled): Eliminate special download only test.
1831 (set_action): Don't move to next state if in ACTION_SAME range and not
1832 incrementing.
1833 (choose_caption): Display "Retrieve" rather than "Reinstall" when just
1834 downloading.
1835 (do_choose): Sort packages after all packages have been read.
1836 Accomodate the fact that first element in trust array is empty so that
1837 log files don't report the wrong trust value.
1838 * iniparse.y (new_package): Malloc space for package name or suffer
1839 memory corruption.
1840
1841Thu Jun 14 22:43:59 2001 Robert Collins <rbtcollins@hotmail.com>
1842
1843 * ini.h (Dependency): New structure. Declare new function.
1844 * inilex.l (yylex): Detect new setup.ini options - category and requires.
1845 * iniparse.y: Declare new setup.ini token values.
1846 (yyparse): Parse new token values.
1847 (new_requirement): New function.
1848
1849Thu Jun 14 22:43:26 2001 Christopher Faylor <cgf@cygnus.com>
1850
1851 * choose.cc (read_installed_db): Eliminate obsolete code.
1852
1853Thu Jun 14 22:11:53 2001 Christopher Faylor <cgf@cygnus.com>
1854
1855 * choose.cc (set_action): Set trust on "redo".
1856 (_Info::_Info): New constructor.
1857 (read_installed_db): Use new constructor. Use trusts type for
1858 iterator.
1859 * ini.h (struct _Info): Label struct, add constructor.
1860 (Package): Make installed_ix a type 'trusts.'
1861 * install.cc (uninstall_one): Unset any installed info for current
1862 package.
1863 (install_one): Allocate new Info struct for installed reflecting new
1864 installed info.
1865 (do_install): Don't output line to installed.db if package is being
1866 uninstalled.
1867
1868Thu Jun 14 20:33:01 2001 Robert Collins <rbtcollins@hotmail.com>
1869
1870 * choose.cc (getpkgbyname): Use consistent method for scanning package
1871 array.
1872
1873Wed Jun 13 23:33:08 2001 Christopher Faylor <cgf@cygnus.com>
1874
1875 * choose.cc: Add some comments.
1876 (getpkgbyname): Use strcasecmp for comparisons.
1877
1878Wed Jun 13 16:07:00 2001 Christopher Faylor <cgf@cygnus.com>
1879
1880 * install.cc (do_install): Avoid checking for download action if
1881 package wasn't currently retrieved.
1882
1883Wed Jun 13 11:27:22 2001 Christopher Faylor <cgf@cygnus.com>
1884
1885 * choose.cc: Eliminate extra array throughout. Use element in package
1886 structure instead. Use pointers rather than array indexes where
1887 appropriate.
1888 (set_action): New function to set next action based on current.
1889 (choose_caption): New function. Returns display caption.
1890 (check_existence): Change arguments. Use pointer to 'info' structure.
1891 (set_existence): Use pointer rather than array index.
1892 (default_trust): Use trusts enum for second argument.
1893 (set_full_list): Honor exclude element in package structure.
1894 (build_labels): Eliminate.
1895 (base): Make global. Use const char * argument.
1896 (get_package_version): Eliminate.
1897 (getpkgbyname): New function.
1898 (read_installed_db): Use parse_filename to get version info.
1899 * desktop.cc (make_passwd_group): Use getpkgbyname function.
1900 * download.cc (get_file_size): const argument.
1901 (do_download): Use is_download_action to determine when something
1902 should be downloaded.
1903 * filemanip.h: Add some functions.
1904 * ini.cc (do_ini): Use NULL rather than 0 for pointer assignment.
1905 * ini.h: Use enums for actions and trusts.
1906 (is_download_action): New macro.
1907 (is_upgrade_action): Ditto.
1908 (is_uninstall_action): Ditto.
1909 (struct Package): Add new fields.
1910 * inilex.l (yylex): Detect new setup.ini options.
1911 * iniparse.y: Declare new tokens.
1912 (yyparse): Detect exclude keyword. Fill out version field even if
1913 version == 0.
1914 (new_package): Use greater granularity when allocating package array to
1915 avoid repeated calls to realloc.
1916 * install.cc (exists): const argument.
1917 (uninstall_one): Take pkg argument.
1918 (install_one): Ditto. Eliminate unneeded arguments which can be
1919 derived from package info.
1920 (do_install): Iterate over package array using a pointer. Use
1921 is_download_action to control when package should be downloaded.
1922 * tar.cc (tar_open): const argument.
1923 * tar.h: Refloect const argument.
1924
19252001-05-31 Michael Chase mchase@ix.netcom.com
1926
1927 * main.cc (WinMain): Add setup version to starting setup.log entry
1928
1929Tue May 29 21:37:58 2001 Yukihiko Sohda <sohda@is.titech.ac.jp>
1930
1931 * inilex.l: Add + to list of valid string characters.
1932
1933Mon May 28 20:54:50 2001 Christopher Faylor <cgf@cygnus.com>
1934
1935 * Makefile.in: Remove more stuff in the clean target.
1936
1937Mon May 28 18:24:59 2001 Christopher Faylor <cgf@cygnus.com>
1938
1939 * Makefile.in: Correctly generate iniparse.h.
1940
1941Tue Mar 6 19:14:00 2001 Corinna Vinschen <corinna@vinschen.de>
1942
1943 * geturl.cc (get_url_to_file): Add parameter `allow_ftp_auth'.
1944 * geturl.h: Change declaration of `get_url_to_file' accordingly.
1945 * netio.cc (NetIO::NetIO): Add parameter `allow_ftp_auth'.
1946 Set member `ftp_auth'.
1947 (NetIO::open): Add parameter `allow_ftp_auth'. Use it in calls
1948 to constructors of derived classes.
1949 (NetIO::get_ftp_auth): New method.
1950 * netio.h: Change class definition accordingly.
1951 * nio-ftp.cc (NetIO_FTP::NetIO_FTP): Add parameter `allow_ftp_auth'.
1952 Take global variables `net_ftp_user' and `net_ftp_passwd' into account.
1953 Add code for ftp authentication retry.
1954 * nio-ftp.h: Change class definition accordingly.
1955 * nio-http.cc (NetIO_HTTP::NetIO_HTTP): Add parameter `allow_ftp_auth'.
1956 Add code for ftp authentication retry in case of proxy connection.
1957 * nio-http.h: Change class definition accordingly.
1958 * res.rc: Add FTP authentication dialog.
1959 * resource.h: Add new constants used in res.rc.
1960 * state.h: Add variables `net_ftp_user' and `net_ftp_passwd'.
1961
1962Sun May 27 17:12:23 2001 Christopher Faylor <cgf@cygnus.com>
1963
1964 * res.rc (IDD_SPLASH): Add a copyright year.
1965
1966Sun May 27 15:42:18 2001 Christopher Faylor <cgf@cygnus.com>
1967
1968 * Makefile.in: Make iniparse.y produce a c++ file.
1969 * choose.cc (set_existence): Revert 2001-05-27 change.
1970 * ini.cc: Remove "C" from declaration of yyparse.
1971 * iniparse.y (yyparse): Fill out version field by default when a binary
1972 install is detected and no version has been set yet.
1973 * install.cc (do_install): Mount things earlier so that we can use
1974 proper mount table settings. Don't remove mounts since they are now
1975 honored.
1976 * mount.cc (create_mount): Reread the mount table after establishing a
1977 new mount.
1978 (read_mounts): Explicitly clear root_here to allow multiple uses of
1979 this function. Ensure that there is no garbage in the table when we've
1980 exhausted all of the mounts in the registry.
1981 (cygpath): Accomodate ./ in path.
1982
1983Sun May 27 02:59:07 2001 Christopher Faylor <cgf@cygnus.com>
1984
1985 Use parse_filename method to parse filenames throughout. Use
1986 get_root_dir to retrieve the current root directory throughout. Set
1987 const in argument list, where appropriate, throughout.
1988 * choose.cc (set_existence): Detect case of uninstalled package with no
1989 version.
1990 (parse_filename): New function.
1991 * filemanip.h (fileparse): New structure.
1992 * mount.cc (read_mounts): Remember where we found the root mount.
1993 (set_root_dir): New function.
1994 (get_root_dir): Ditto.
1995 * mount.h: Declare new functions.
1996 * site.cc (get_root_dir_now): Renamed from get_root_dir.
1997 (save_site_url): Use new function name.
1998 (get_initial_list_idx): Ditto.
1999
2000Sat May 26 21:23:59 2001 Christopher Faylor <cgf@cygnus.com>
2001
2002 * choose.cc: Use a constant throughout to deal with chooser icon
2003 length.
2004 * res.rc (IDD_CHOOSE): Increase size of chooser box.
2005
20062001-05-07 Brian Keener <bkeener@thesoftwaresource.com>
2007
2008 * choose.cc (do_choose): Fix incorrect assignment of trust setting to
2009 use when Redownload or Sources Only selected.
2010
2011Thu May 10 22:35:59 2001 Christopher Faylor <cgf@cygnus.com>
2012
2013 Reformat file after botched patch formatting.
2014 * choose.cc (which_trust): Eliminate variable.
2015 (default_trust): Don't set which_trust.
2016 (do_choose): Use selected trust when reinstalling or installing source.
2017
2018Thu May 10 21:04:18 2001 Christopher Faylor <cgf@cygnus.com>
2019
2020 Change concat to cygpath throughout.
2021 Change map_filename to cygpath throughout.
2022 * concat.cc (vconcat): New function.
2023 (concat): Use vconcat.
2024 * concat.h: Reflect above.
2025 * install.cc (map_filename): Eliminate.
2026 (install_one): Free dest_file.
2027 * mount.cc (find2): Expect input key to be pointing to mount record.
2028 (in_table): New function.
2029 (is_admin): Move from root.cc.
2030 (read_mounts): New function.
2031 (path_prefix_p): New function.
2032 (cygpath): New function.
2033 * mount.h: Define new functions and structure.
2034 * root.cc (in_table): Move to mount.cc.
2035 (do_root): Call read_mounts to initialize root stuff and mount table.
2036 * site.cc (get_root_dir): Ditto.
2037
20382001-05-09 Matt Hargett <matt@use.net>
2039
2040 * Makefile.in: Remove *.rc from clean.
2041
2042Tue May 8 23:33:38 2001 Christopher Faylor <cgf@cygnus.com>
2043
2044 * choose.cc (scan2): Fix incorrect setting of TRUST_CURR rather than
2045 TRUST_PREV which produced "0" versions.
2046
20472001-05-07 Brian Keener <bkeener@thesoftwaresource.com>
2048
2049 * resource.h: Add new field IDC_CHOOSE_INST_TEXT. Modify
2050 _APS_NEXT_CONTROL_VALUE to account for addition of
2051 IDC_CHOOSE_INST_TEXT.
2052 * res.rc (IDD_CHOOSE): Modify choose dialog to use new field
2053 IDC_CHOOSE_INST_TEXT for screen text. Modify choose Dialog to allow
2054 hot keys to select Prev, Curr, Exp.
2055 * ini.h: Add new actions for ACTION_REDO and ACTION_SRC_ONLY. Modify
2056 define for LOOP_PACKAGES to include new actions ACTION_REDO and
2057 ACTION_SRC_ONLY.
2058 * choose.cc: Add new Trusts for TRUST_REDO and TRUST_SRC_ONLY.
2059 (paint): Modify to check TRUST_SRC_ONLY when determining Bitmap for
2060 source Checkbox to use.
2061 (build_labels): Add logic to allow for selection of Source only
2062 Download/ReDownload/Install/Reinstall and also to Redownload/Reinstall
2063 current version binary.
2064 (dialog_proc): Add conditional display for file selection prompt based
2065 on download vs install using IDC_CHOOSE_INST_TEXT.
2066 (do_choose): Add new logic for TRUST_REDO and TRUST_SRC_ONLY selection
2067 and modify logic for TRUST_UNINSTALL, TRUST_KEEP, and TRUST_NONE to
2068 handle the instance where Source Download/Install was selected. Modify
2069 log file to store appropriate information regarding Action selected and
2070 the new actions that were added (I.E.: ACTION_REDO and
2071 ACTION_SRC_ONLY).
2072 * download.cc: Add include for <unistd.h> and "port.h".
2073 (download_one): Modify parameter list to include the selected action
2074 for the file to be downloaded. Modify size check against expected size
2075 to include check for ACTION_REDO and ACTION_SRC_ONLY. Modify rename of
2076 .tmp file to also remove the destination file if exists due to ability
2077 to redownload source and binary now.
2078 (do_download): Modify to also use ACTION_REDO and ACTION_SRC_ONLY in
2079 calculation of Download Bytes. Modify to also use ACTION_REDO and
2080 ACTION_SRC_ONLY in determining files selected for download.
2081 * install.cc (uninstall_one): Add check to treat a Reinstall like an
2082 upgrade so current version will be uninstalled prior to reinstall.
2083 (do_install): Add logic to handle ACTION_REDO and ACTION_SRC_ONLY for
2084 uninstalling and installing binary and source packages.
2085 * desktop.cc (make_passwd_group): Modify logic to account for a Source
2086 only cygwin install when checking for cygwin to determine need for
2087 mkpasswd and mkgroup.
2088
2089Mon May 7 23:33:30 2001 Matt Hargett <matt@use.net>
2090
2091 * winsup/cinstall/res.rc: Added accelerators and improved focus order.
2092 Removed WS_DISABLED from "OK" buttons to accomodate default focus
2093 changes in net.cc and source.cc.
2094 * winsup/cinstall/net.cc (dialog_proc): If no radio button is selected,
2095 a default is selected.
2096 * winsup/cinstall/source.cc (dialog_proc): Ditto.
2097 (check_if_enable_next): Removed. No longer needed since a radio button
2098 will always be selected.
2099 (load_dialog): Removed call to check_if_enable_next.
2100 (dialog_cmd): Ditto. Also added default to switch.
2101
2102Tue Apr 24 23:42:02 2001 Christopher Faylor <cgf@cygnus.com>
2103
2104 * res.rc: Resize affected text.
2105
2106Tue Apr 24 23:35:31 2001 Christopher Faylor <cgf@cygnus.com>
2107
2108 * net.cc (do_net): Default to direct download.
2109 * res.rc: Move default selections to the top.
2110
21112001-04-18 Earnie Boyd <earnie@users.sourceforge.net>
2112
2113 * win32.h: Remove the definitions for _UNION_NAME and _STRUCT_NAME.
2114 Must now include <windows.h> and not the pieces.
2115 * choose.cc (create_listview): Clean up type mismatch problems.
2116 * dialog.h (NEXT(id)): Ditto.
2117 * geturl.cc (dialog): Ditto.
2118 * install.cc (dialog): Ditto.
2119 * splash.cc (load_dialog): Ditto.
2120
2121Wed Apr 18 18:59:21 2001 Christopher Faylor <cgf@cygnus.com>
2122
2123 * tar.cc (class gzbz): Define dummy virtual functions.
2124
2125Wed Apr 18 16:01:21 2001 Christopher Faylor <cgf@cygnus.com>
2126
2127 * Makefile.in: Add bz2 include/library support.
2128 * filemanip.h: New file.
2129 * choose.cc (find_tar_ext): New function. Returns TRUE if .tar.gz or
2130 .tar.bz2 found.
2131 (scan2): Reorganize to use find_tar_ext, accomodating .bz2 extension.
2132 (read_installed_db): Ditto.
2133 (do_choose): Ditto.
2134 * fromcwd.cc (found_file): Ditto.
2135 (do_fromcwd): Ditto.
2136 * tar.cc (class gzbz): New super class for uncompression support.
2137 (gz): New class for gzip support.
2138 (bz): New class for bzip2 support.
2139 (tar_open): Use gzbz class to control file opening.
2140 (tar_ftell): Ditto for returning position in file.
2141 (skip_file): Ditto for reading file.
2142 (tar_next_file): Ditto.
2143 (tar_read_file): Ditto.
2144 (tar_close): Ditto for close.
2145
2146 * zlib/configure.in: Force NM substitution.
2147
2148 * source.cc (do_source): Default to "Install from Internet".
2149
21502001-03-16 Brian Keener <bkeener@thesoftwaresource.com>
2151
2152 * nio-file.cc (NetIO_File::NetIO_File): Use `get_file_size' instead of
2153 `stat'.
2154 * choose.cc (list_click): Correct inability to select source code for
2155 download.
2156 (scan2): Modify to skip source tarballs when scanning disk for
2157 installable packages.
2158
21592001-03-10 Chris Abbey <chris_abbey@yahoo.com>
2160
2161 * install.cc: install sources into /usr/src instead
2162 of /, also include the sizes of source tarballs
2163 in total_bytes.
2164 * download.cc: include sizes of source tarballs in
2165 total_download_bytes.
2166
2167Tue Mar 6 19:31:00 2000 Corinna Vinschen <corinna@vinschen.com>
2168
2169 * download.cc (get_file_size): Remove `static'.
2170
2171Tue Mar 6 19:11:00 2000 Corinna Vinschen <corinna@vinschen.com>
2172
2173 * tar.cc (tar_open): Use `get_file_size' instead of `stat'.
2174
21752001-03-06 Brian Keener <bkeener@thesoftwaresource.com>
2176
2177 * choose.cc (paint): Modify message for nothing to download vs
2178 nothing to install/update based on installation method.
2179 (list_click): Modify to skip versions in selection process if
2180 installing from local directory and installation file does not exist.
2181 Also leaves Source Action set to N/A if the source file does not exist
2182 and installing from local directory.
2183 (check_existence): New method to check current existence of installation
2184 files based on selected installation method.
2185 (set_existence): New method to set the current existence of installation
2186 files based on selected installation method.
2187 (best_trust): Modify decision process for best trust to base decision on
2188 current trust selected (IE: Prev, Curr, or Test), existence of file and
2189 installation method selected.
2190 (default_trust): Add logic to capture the current trust level and the
2191 trust selected for the given package.
2192 (set_full_list): Expand decision criteria for displaying a package in
2193 the selection list to include file existence/non-existence and selected
2194 installation method.
2195 (build_labels): Modify criteria for label addition to include
2196 installation method and file existence/non-existence.
2197 (create_listview): Modify to establish package trust level for each
2198 package before setting up the display list. Also modification to set
2199 current trust button as the default.
2200 (dialog_cmd): Set response for Prev, Curr, Test button push to perform
2201 a reset of the selection list in addition to setting the default trust.
2202 (get_package_version): New method to provide reusable code for
2203 determining the package version from the file name for a specified
2204 trust.
2205 (scan2): Modify to use new method get_package_version and
2206 also enhance handling of the build for the structures package and
2207 extra.
2208 (read_installed_db): Modify to use the new method
2209 get_package_version and also enhance handling of the build for the
2210 structures package and extra.
2211 (do_choose): Add additional initialization of package and extra
2212 structures. Modify to use read_installed_db all the time despite
2213 install method. Modify output to setup.log.full log file to increase
2214 readability by adding additional spacing, expanded code and available
2215 versions.
2216 * ini.h: Add new fields install_exists, source_exists and
2217 partial_list_display to the structure definition for package.
2218 * res.rc (IDD_CHOOSE): Modify choose dialog Prev, Curr, and Test
2219 pushbuttons by replacing with Radio Buttons thus allowing the
2220 operator to better determine which is selected.
2221
22222001-02-20 Brian Keener <bkeener@thesoftwaresource.com>
2223
2224 * download.cc (do_download): Add new variables total_download_bytes and
2225 total_download_bytes_sofar for download progress meter. Add loop
2226 to accumulate the total bytes to download from the selected packages.
2227 * geturl.cc: Add state.h and diskfull.h to include list. Add new
2228 variables gw_iprogress, gw_pprogress, gw_progress_text,
2229 gw_pprogress_text, and gw_iprogress_text to allow for addition of
2230 total packages download progress meter and disk full percent
2231 progress meter. Add variables total_download_bytes and
2232 total_download_bytes_sofar for use by progress meters.
2233 (dialog_proc): Add new variables gw_iprogress, gw_pprogress,
2234 gw_progress_text, gw_pprogress_text, and gw_iprogress_text to
2235 allow for addition of total packages download progress meter and disk
2236 full percent progress meter.
2237 (init_dialog): Ditto.
2238 (progress): Ditto.
2239 (get_url_to_file): Ditto.
2240 * geturl.h: Add external definition for total_download_bytes and
2241 total_download_bytes_sofar.
2242 * res.rc: Add two additional progress meters (IDC_DLS_IPROGRESS)
2243 and (IDC_DLS_PPROGRESS) and three text objects (IDC_DLS_PROGRESS_TEXT)
2244 and (IDC_DLS_IPROGRESS_TEXT, IDC_DLS_PPROGRESS_TEXT) for use in the
2245 download meters.
2246 * resource.h: Add new fields for progress meters and text and update
2247 _APS_NEXT_CONTROL_VALUE.
2248
2249Wed Feb 21 13:05:00 2000 Corinna Vinschen <vinschen@redhat.com>
2250
2251 * download.cc (get_file_size): Check for INVALID_HANDLE_VALUE instead
2252 for NULL.
2253
2254Wed Feb 21 11:21:00 2000 Corinna Vinschen <vinschen@redhat.com>
2255
2256 * download.cc (download_one): Add missing parenthesis.
2257
2258Mon Feb 19 18:59:00 2000 Corinna Vinschen <vinschen@redhat.com>
2259
2260 * download.cc (get_file_size): New function. Eliminates the need
2261 to call `stat'.
2262 (download_one): Call `get_file_size' instead of `stat'. This
2263 workarounds a problem with mingw's `stat' call.
2264
22652001-02-07 Earnie Boyd <earnie@users.sourceforge.net>
2266
2267 * Makefile.in: (%.o: %.rc): Specify --include-dir $(w32api_include).
2268 This is to allow cinstall to build with 2.95.2-7 and to make the
2269 use of headers consistent.
2270
22712000-12-26 Earnie Boyd <earnie_boyd@yahoo.com>
2272
2273 * Makefile.in (autoload.o): Add target to specify -fno-inline-functions
2274
2275Tue Dec 26 03:46:00 2000 Matt Hargett <matt@use.net>
2276
2277 * winsup/cinstall/res.rc: Added accelerators and improved focus
2278 order.
2279
22802000-12-10 Egor Duda <deo@logos-m.ru>
2281
2282 * choose.cc (paint): Use system background color for text output.
2283
2284Sun Dec 10 19:05:25 2000 Christopher Faylor <cgf@cygnus.com>
2285
2286 * Makefile.in: Use CXX for linking and for compiling .cc files.
2287 * configure.in: Find correct c++ compiler.
2288 * configure: Regenerate.
2289
22902000-11-17 DJ Delorie <dj@redhat.com>
2291
2292 * splash.cc (load_dialog): Make message more obvious.
2293 * res.rc: Ditto.
2294
2295Fri Nov 17 17:15:21 2000 Christopher Faylor <cgf@cygnus.com>
2296
2297 * Makefile.in: Use g++ to link so that libstdc++.a gets used. This is
2298 necessary for newer compilers.
2299
2300Wed Nov 9 2:19:00 2000 Corinna Vinschen <vinschen@redhat.com>
2301
2302 * desktop.cc: Include "ini.h" and "version.h".
2303 (make_passwd_group): Skip the function on 9x/ME boxes when an
2304 older version of Cygwin has been installed which doesn't
2305 support mkpasswd/mkgroup on 9x/ME.
2306 * install.cc: Move the `LOOP_PACKAGES' and `pi' macros to...
2307 * ini.h: ...here.
2308
2309Wed Nov 8 17:10:00 2000 Corinna Vinschen <vinschen@redhat.com>
2310
2311 * desktop.cc (make_passwd_group): Don't exit when started
2312 on 9x/ME since mkpasswd/mkgroup are usable on 9x/ME now.
2313
2314Sun Nov 5 12:51:42 2000 Jason Tishler <jt@dothill.com>
2315
2316 * install.cc (do_install): Add call to set_cygdrive_flags to sync
2317 the mount modes.
2318 * mount.cc (set_cygdrive_flags): New function.
2319 (get_cygdrive_flags): Ditto.
2320 (default_cygdrive): Ditto.
2321 (set_cygdrive_flags): Ditto.
2322 * mount.h: Add prototype for set_cygdrive_flags.
2323
23242000-10-23 DJ Delorie <dj@redhat.com>
2325
2326 * ini.h: add source actions
2327 * fromcwd.cc: check for available sources
2328 * res.rc: add checkbox bitmaps
2329 * resource.h: ditto
2330 * check-*.bmp: new
2331 * choose.cc: add source column
2332 * download.cc: download sources if called for
2333 * install.cc: [un]install sources too
2334
23352000-10-22 DJ Delorie <dj@redhat.com>
2336
2337 * choose.cc (build_labels): Don't skip TRUST_PREV completely; only
2338 ignore it wrt full_list if there's already a version installed.
2339 (do_choose): Sort the list.
2340 (package_sort): New.
2341
23422000-10-12 DJ Delorie <dj@redhat.com>
2343
2344 * res.rc: Add more error strings.
2345 * resource.h: Ditto.
2346 * iniparse.y (new_package): re-initialize if needed.
2347 * download.cc (do_download): Keep track of errors; notify and
2348 allow retry.
2349 * install.cc (do_install): Ditto.
2350
23512000-10-05 DJ Delorie <dj@redhat.com>
2352
2353 * Makefile.in: fix %.cc rule
2354
23552000-10-04 DJ Delorie <dj@redhat.com>
2356
2357 * desktop.cc: quote HOME and USER, don't . ./.profile
2358
2359 * choose.cc (build_labels): don't include in partial list just
2360 because there's a *previous* version available.
2361
2362 * install.cc (do_install): if installing from local directory with
2363 setup.ini and the file isn't found, look in "." also. Note errors.
2364
23652000-10-02 DJ Delorie <dj@redhat.com>
2366
2367 * ini.cc (do_ini): save setup.ini locally
2368
23692000-10-02 Chris Abbey <cabbey@bresnanlink.net>
2370
2371 * desktop.cc: quote escapes in prompt
2372
23732000-10-02 Jason Tishler <jt@dothill.com>
2374
2375 * root.cc (is_admin): New function.
2376 (read_mount_table): Check for administrative priviledges and set
2377 installation scope as appropriate.
2378
23792000-09-28 DJ Delorie <dj@redhat.com>
2380
2381 * nio-ftp.cc (ftp_line): handle continuations more robustly
2382
23832000-09-14 Brian Keener <bkeener@thesoftwaresource.com>
2384
2385 * res.rc: increased the size of the site dialog (IDD_SITE) & the
2386 corresponding list box to provide for more URL's to be listed.
2387 Modified the position of the Back, Next and Cancel buttons to
2388 correspond to the new size of the dialog.
2389
23902000-09-13 DJ Delorie <dj@redhat.com>
2391
2392 * install.cc (do_install): update disk fullness once per package
2393 to improve performance
2394
2395 * choose.cc (create_listview): call ReleaseDC
2396
2397Mon Sep 11 22:40 2000 Harold L Hunt II <harold@compasstechnologies.com>
2398
2399 * mkdir.cc: Create directories when ERROR_FILE_NOT_FOUND is
2400 returned, as it seems Samba 2.0.6+ returns this instead of
2401 ERROR_PATH_NOT_FOUND
2402
2403Mon Sep 11 19:35:24 2000 Christopher Faylor <cgf@cygnus.com>
2404
2405 * site.cc (get_initial_list_idx): Don't default to saved URL if it
2406 refers to sources.
2407
24082000-09-07 DJ Delorie <dj@redhat.com>
2409
2410 * splash.cc: use version.h, not local decl
2411 * res.rc: add "old version" message
2412 * resource.h: ditto
2413 * version.h: new
2414 * fromcwd.cc (canonicalize_version): make global
2415 * iniparse.y: add setup-version support, fix bug in blank line
2416 handling
2417
2418 * inilex.l: add [exp] as alias for [test], add setup-version
2419 * Makefile.in (version.c): add setup-version tag
2420
2421 * desktop.cc (do_desktop): remove 1.1 version number
2422 (do_desktop_setup): ditto
2423
2424 * ini.cc (do_ini): zero out package list just in case we redo it.
2425
24262000-09-07 Jeffrey Juliano <juliano@cs.unc.edu>
2427
2428 * choose.cc (list_click): Check for nindexes==0; if so, return.
2429
24302000-09-06 Andrej Borsenkow <Andrej.Borsenkow@mow.siemens.ru>
2431
2432 * localdir.cc: new, local package directory selection dialog; cd
2433 into selected directory
2434 * Makefile.in (OBJS): add localdir.o
2435 * dialog.h: add prototype for do_local_dir
2436 * main.cc (WinMain): initialize local_dir to cwd; add call to
2437 do_local_dir
2438 * net.cc (dialog_cmd): make DO_LOCAL_DIR next dialog
2439 * source.cc (dialog_cmd): ditto
2440 * res.rc: add DO_LOCAL_DIR dialog; remove "current directory" from
2441 presented choices in IDD_SOURCE; add IDS_ERR_CHDIR error string
2442 * resource.h: defines for DO_LOCAL_DIR dialog; define IDS_ERR_CHDIR
2443 * root.cc (dialog_cmd): make DO_LOCAL_DIR previous dialog
2444 * state.h: add local_dir variable
2445
24462000-09-06 Brian Keener <bkeener@thesoftwaresource.com>
2447
2448 * desktop.cc: added logic to handle to the new dialog and to
2449 default the setting for the new checkboxes based on whether the
2450 desktop icon or start menu link already exist.
2451 (desktop_icon): correction to desktop directories for desktop icon
2452 creation. Additional logic added for Win95 which does not appear
2453 to have Common Directories so if Common selected and null uses
2454 normal directory.
2455 (start_menu): Additional logic added for Win95 which does not
2456 appear to have Common Directories so if Common selected and null
2457 uses normal directory.
2458 (do_desktop_setup): moved the saving of the icon, creation of the
2459 bat file, profile, passwd, Start Menu link and desktop shortcut to
2460 this method from do_desktop. Made the creation of the desktop
2461 icon and start menu link conditional on settings of new dialog
2462 created for desktop.
2463 * install.cc (do_install): changed next from IDD_S_DESKTOP to
2464 IDD_DESKTOP.
2465 * main.cc (WinMain): changed case IDD_S_DESKTOP to IDD_DESKTOP.
2466 * res.rc: added new resource to create a desktop dialog with 2
2467 checkboxes for creating the desktop icon and start menu link.
2468 * resource.h: changed IDD_S_DESKTOP to IDD_DESKTOP and added two
2469 new controls: IDC_ROOT_MENU and IDC_ROOT_DESKTOP for new dialog.
2470 * state.h: added root_menu and root_desktop for use in dialog.
2471
24722000-08-29 DJ Delorie <dj@redhat.com>
2473
2474 * choose.cc (scan_downloaded_files): scan for existing files, so
2475 that the user only sees new downloads.
2476
2477 * nio-ie5.cc (NetIO_IE5): pre-check for wininet.dll, enable dial-up
2478 * site.cc (do_site): if we can't download the mirror list, go back
2479 to the net setup box to choose another transport.
2480 * autoload.c: add more functions
2481 * Makefile.in (ALL_DEP_LDLIBS): remove wininet.a
2482 * resource.h: add WININET message
2483
2484 * net.cc (do_net): no longer default to IE5
2485 * simpsock.h (class SimpleSocket): new, simplify socket operations
2486 * simpsock.cc: ditto
2487 * nio-http.h: new, for direct http protocol
2488 * nio-http.cc: ditto
2489 * nio-ftp.h: new, for direct http protocol
2490 * nio-ftp.cc: ditto
2491 * netio.cc (set_url): move initialization here to handle redirections
2492 (open): add direct http/ftp
2493 * netio.h (NetIO::set_url): new
2494
2495 * log.cc (log_save): create directory for log if needed
2496
2497 * hash.cc, hash.h: new
2498 * Makefile: add hash.o
2499 * choose.cc: enable "uninstall" option
2500 * download.cc: invert action test to accomodate uninstalling
2501 * ini.h: add ACTION_UNINSTALL
2502 * install.cc: add uninstall functionality
2503 * res.rc: make install tag changeable
2504 * resource.h: add uninstall resources
2505
2506 * res.rc: update mirror list URL
2507
25082000-08-24 DJ Delorie <dj@redhat.com>
2509
2510 * log.cc, log.h: new files
2511 * Makefile.in (OBJS): add log.o
2512 * tar.cc: use exit_setup instead of exit
2513 * dialog.cc (fatal): use exit_setup instead of ExitProcess
2514 * msg.cc (fatal): ditto
2515 * install.cc (dialog_cmd): ditto
2516 * ini.cc (do_ini): ditto
2517 * main.cc (main): add logging
2518 * source.cc (do_source): ditto
2519 * root.cc (do_source): ditto
2520 * site.cc (do_site): ditto
2521 * other.cc (do_other): ditto
2522 * net.cc (do_net): ditto
2523 * choose.cc (do_choose): ditto
2524 * download.cc (do_download): ditto
2525 * install.cc (do_install): ditto
2526 * msg.cc (fatal): ditto
2527
2528 * res.rc: mark password boxes as *being* password boxes.
2529
2530 * fromcwd.cc (canonicalize_version): use multiple buffers so that multiple
2531 calls won't use the same buffer.
2532 * choose.cc (create_listview): don't default to full list if no changes
2533 (base): return computed value, not temporary :-(
2534 (do_choose): don't use installed.db if we're only downloading.
2535
25362000-08-23 DJ Delorie <dj@redhat.com>
2537
2538 * nio-ie5.cc (NetIO_IE5): Fix authentication logic
2539 * nio-ie5.h (flush_io): new
2540 * netio.cc (load_dialog): note when we're initializing the dialog
2541 box, and ignore changes to the edit fields then.
2542
25432000-08-21 DJ Delorie <dj@redhat.com>
2544
2545 * README: Update
2546
2547 * fromcwd.cc (found_file): don't remember the canonicalized version
2548
2549 * choose.cc (paint): print "nothing to do" message when list is empty.
2550 (build_labels): Use version "0.0" if no version is available.
2551 (create_listview): default to full list if nothing to install/update.
2552 (base): new, returns basename of file
2553 (read_installed_db): compare base names, not full paths
2554
25552000-08-11 DJ Delorie <dj@redhat.com>
2556
2557 * choose.cc: add new chooser dialog
2558 * fromcwd.cc: use IDD_CHOOSE
2559 * ini.cc: use IDD_CHOOSE
2560 * main.cc: use IDD_CHOOSE
2561 * ini.h: cosmetic changes
2562 * res.rc: add choose dialog, bitmaps
2563 * choose-spin.bmp: new
2564 * choose-rtarrow.bmp: new
2565 * resource.h: add choose dialog controls
2566
2567 * mount.cc: remove debug statement
2568
25692000-08-08 DJ Delorie <dj@redhat.com>
2570
2571 * Makefile.in (version.c): make version checking more robust
2572 * splash.cc (load_dialog): handle case where there's no version
2573
25742000-08-07 DJ Delorie <dj@redhat.com>
2575
2576 * (all): add cvsid tags
2577 * Makefile.in: generate version.c from ChangeLog, add splash.o
2578 * splash.o: new
2579 * res.rc: add splash screen
2580
25812000-08-02 DJ Delorie <dj@redhat.com>
2582
2583 * net.cc: remove proxy password code
2584 * res.rc: remove proxy user/pass from net, add auth dialogs
2585 * netio.cc,h: add sys/proxy auth methods
2586 * nio-ie5: use them, check for http status codes
2587 * state.h: add system authorization
2588
2589 * concat.cc (concat): canonicalize x:// to x:/ (exception to ://
2590 meaning an url)
2591
25922000-08-02 Norman Vine <nhv@yahoo,com>
2593
2594 * msg.cc (mbox): added MB_TOPMOST to MessageBox type flags
2595
25962000-08-01 DJ Delorie <dj@redhat.com>
2597
2598 * postinstall.cc (each): don't rename files we ignore
2599 (do_postinstall): set CYGWINROOT to root_dir, chdir there
2600
2601 * desktop.cc: have /etc/profile call ~/.profile and ~/.bashrc
2602
26032000-07-31 DJ Delorie <dj@redhat.com>
2604
2605 * desktop.cc: reverse PATH so /usr/bin precedes /bin
2606
26072000-07-18 DJ Delorie <dj@redhat.com>
2608
2609 * autoload.c: new, autoload dlls that might not be available.
2610 * Makefile.in (OBJS): add autoload.o
2611
2612 * res.rc: rewrite root options (text/binary, system/user) to be
2613 more obvious.
2614
2615 * site.cc (get_site_list): trim displayed URL, sort by domain
2616
2617 * net.cc (do_net): make IE5 default to checked, for now
2618
2619 * choose.cc (do_choose): sort packages correctly
2620 * ini.cc (do_ini): handle parse errors more gracefully
2621 (yyerror): ditto
2622 (fprintf): line buffer output
2623 (do_ini): if we can't load setup.ini, go back to the site list.
2624 * ini.h: add "unknown" trust level
2625 * inilex.l: absorb unknown trust levels and key/value pairs,
2626 add line number logic
2627 * iniparse.y: handle parse errors more gracefully.
2628 * install.cc: skip packages with no valid install entry
2629
26302000-07-17 DJ Delorie <dj@cygnus.com>
2631
2632 * coding standards fixups, many files
2633 * mkdir.cc: warn about deletions *before* deleting them
2634
26352000-07-17 Jeff Juliano <juliano@cs.unc.edu>
2636
2637 * res.rc (IDD_OTHER_URL): reorder to give default focus to entry
2638
2639 * other.cc (dialog_cmd): save download site URL
2640 * site.cc (get_root_dir): new
2641 (save_mirror_site): new
2642 (dialog_cmd): save download site URL
2643 (get_site_list): make list big enough to add prev site
2644 (get_initial_list_idx): new, read last-used URL from file and
2645 append it to site_list
2646 (do_site): call get_initial_list_idx
2647
2648 * concat.cc (concat): avoid segfault when first parm is null
2649
26502000-07-13 DJ Delorie <dj@cygnus.com>
2651
2652 * postinstall.cc: new
2653 * Makefile.in: add postinstall.o
2654 * concat.h: add backslash ()
2655 * concat.cc: ditto
2656 * desktop.cc (etc_profile): don't do postinstall
2657 (backslash): moved to concat.cc
2658 (uexists): new
2659 (make_postinstall_script): run directly
2660 (do_desktop): chain to do_postinstall
2661 * dialog.h: add exit_msg, do_postinstall
2662 * download.cc: use exit_msg
2663 * install.cc: ditto
2664 * main.cc: add postinstall, exit_msg
2665 * resource.h: add postinstall
2666 * README: add more to-do items
2667
26682000-07-12 DJ Delorie <dj@cygnus.com>
2669
2670 * desktop.cc: add /etc/postinstall/ support
2671 * install.cc: add more "standard" directories
2672
26732000-07-11 DJ Delorie <dj@cygnus.com>
2674
2675 * desktop.cc: create /etc/profile
2676 * desktop.cc: fix include syntax
2677 * Makefile.in: add auto-dependencies
2678 * root.cc: support system vs user
2679 * desktop.cc: ditto
2680 * mount.h: ditto
2681 * mount.cc: ditto
2682 * install.cc: ditto
2683 * res.rc: ditto
2684 * resource.h: ditto
2685 * state.h: ditto
2686 * desktop.cc: make sure we use backslashes, not slashes.
2687 * desktop.cc: don't set PATH in cygwin.bat, create /etc/passwd
2688 * geturl.cc: change math for percentage to avoid overflow
2689 * install.cc: ditto
2690 * download.cc: post "download complete" message.
2691 * root.cc: pre-fill in defaults if needed, don't start
2692 browse at root_dir unless it's set.
2693 * desktop.cc: quote $PATH in case it has spaces in it
2694
26952000-07-10 DJ Delorie <dj@cygnus.com>
2696
2697 * Makefile.in: add desktop.o and mklink2.o
2698 * dialog.h: add do_desktop
2699 * install.cc: create standard directories, call do_desktop
2700 * res.rc: add cygwin.ico as a file also
2701 * desktop.cc: new, do shortcuts, batch files, and icons
2702 * mklink2.c: new, for COM
2703 * README: update to-do list
2704
27052000-07-10 DJ Delorie <dj@cygnus.com>
2706
2707 * ini.cc (do_ini): don't worry about timestamps if we're not
2708 actually installing.
2709
27102000-07-09 DJ Delorie <dj@cygnus.com>
2711
2712 * Makefile.in: add -I$(srcdir) for ini.h
2713
27142000-07-06 DJ Delorie <dj@cygnus.com>
2715
2716 * Replace everything with a new GUI version
2717 * zlib/gzio.c: add gzctell() for progress displays
2718
27192000-06-22 DJ Delorie <dj@cygnus.com>
2720
2721 * setup.c (tarx): re-add call to write_pkg()
2722
27232000-06-07 DJ Delorie <dj@cygnus.com>
2724
2725 * cygcalls.c: new, call cygwin1.dll functions directly
2726 * cygcalls.h: header for same
2727 * Makefile.in: add cygcalls.[ch], remove mount/cygpath/umount
2728 exes, fix cinstall.rc dependencies.
2729 * path.c: remove unneeded code
2730 * setup.c: use cygcalls instead of xcreate_process.
2731 uncompress embedded files with zlib
2732 add "-d" for "download only"
2733 add "-h" for help
2734 postpone mount changes until very end
2735 add download progress indicators
2736 pack multi-column listings more
2737 auto-delete temp files
2738 customize banner message according to options
2739 prompt user for text/binary mounts
2740 add warnings about empty setup directory, root installs, etc
2741
27422000-05-24 DJ Delorie <dj@cygnus.com>
2743
2744 * tar.c: New file; built-in tar using zlib.
2745 * tar.h: New file; header for same.
2746 * ctar.c: New file; test program for same.
2747 * Makefile.in: add built-in tar, remove tar.exe and gzip.exe
2748 * path.c (pathcat): convert slashes and canonicalize, instead of aborting
2749 * setup.c (tarx): add support for built-in tar
2750 (main): accept unix-style slashes, check root dir for drive letters,
2751 warn about installing in /, make sure cwd is empty for internet installs,
2752 defer mounts to end of install, support built-in tar.
2753
2754Fri May 19 23:44:37 2000 Christopher Faylor <cgf@cygnus.com>
2755
2756 Fix compiler warnings throughout.
2757 * pkg.c (init_pkgs): Make static 'stuff' global_pkgstuff for use in
2758 get_pkg_stuff.
2759 * setup.c: Make 'root' global.
2760 (istargz): Return pointer to "stem" of matched .tar.gz file.
2761 (tarx): Special case cygwin-20000301 to == cygwin-1.1.0.tar.gz. Remove
2762 bogus check_for_installed check.
2763 (recurse_dirs): Add preliminary support for .bat file execution.
2764 (create_uninstall): Eliminate unneeded parameter.
2765 (do_start_menu): Ditto.
2766 (mkmount): Ditto.
2767 (get_pkg_stuff): Ditto. Check for currently installed cygwin by
2768 scanning for the version number. Eliminate unneeded argument to
2769 create_uninstall.
2770 (getdownloadsource): Add 'name' to list of names rather than url.
2771 (main): Eliminate unneeded argument in get_pkg_stuff. Eliminate
2772 unneeded argument in mkmount and do_start_menu.
2773
27742000-05-18 DJ Delorie <dj@cygnus.com>
2775
2776 * setup.c (optionprompt): allow multi-column, clean up message
2777 about more options, be more robust about user input.
2778 (getdownloadsource): make the mirror URL a macro.
2779 (main): do mounts after done prompting user.
2780
2781Tue May 2 00:56:41 2000 Christopher Faylor <cgf@cygnus.com>
2782
2783 * setup.c (cleanup): Inverse order of deletion stands a better chance
2784 of deleting cygpath.exe. Still seems to suffer from occasional races,
2785 though.
2786 (cleanup_on_signal): Perform convoluted dance to accomodate win95 and
2787 w2k.
2788 (output_file): Defend against an unlikely handle leak.
2789 (main): Don't set up signal handling until we have something special to
2790 do.
2791
2792Mon May 1 17:56:32 2000 Christopher Faylor <cgf@cygnus.com>
2793
2794 * path.c (kill_cygpath): Delete function.
2795 (exit_cygpath): Make more defensive so that it can be called at any
2796 time.
2797 (cygpath_pipe): Don't set up signal here. Do it in main().
2798 * setup.c (istargz): New function.
2799 (recurse_dirs): Look for *.gz pattern rather than *tar.gz since *tar.gz
2800 inexplicably fails on samba mounted partitions. Use istargz to match
2801 tar.gz tail.
2802 (processdirlisting) Use istargz to match tar.gz tail.
2803 (cleanup): Renamed from filedel.
2804 (cleanup_on_signal): New function. Called on CTRL-C.
2805 (main): Record handle of main thread so that it can be suspended when
2806 CTRL-C occurs. Set up cleanup_on_signal signal handler.
2807
2808Mon May 1 11:05:07 2000 Christopher Faylor <cgf@cygnus.com>
2809
2810 * setup.c (do_start_menu): Don't concatenate paths to already built
2811 paths.
2812
2813Sun Apr 30 22:37:34 2000 Christopher Faylor <cgf@cygnus.com>
2814
2815 * path.c (exit_cygpath): Wait for subprocess to exit before returning.
2816 (cygpath_pipe): Don't call exit_cygpath. Let main atexit routine do
2817 that.
2818 * pkg.c (init_pkgs): Accept root argument. Make registry key "cygwin
2819 root"-specific.
2820 * setup.c (filedel): Call exit_cygpath here so that we can be assured
2821 that cygpath subprocess has died. This allows us to delete cygpath.exe
2822 and cygwin1.dll.
2823 (optionprompt): Initialize response to -1 so that second screen of
2824 mirrors will appear.
2825 (get_pkg_stuff): Don't attempt to use HKCLU. Pass root to init_pkgs.
2826 * setup.h: Reflect init_pkgs prototype change.
2827
2828Sat Apr 29 23:53:30 2000 Christopher Faylor <cgf@cygnus.com>
2829
2830 * pkg.c (init_pkgs): Accept an argument to control what root registry
2831 key should be used.
2832 * setup.c (get_pkg_stuff): Use HKCLU registry key if default fails.
2833 * setup.h: Reflect init_pkgs prototype change.
2834
2835Sat Apr 29 23:27:14 2000 Christopher Faylor <cgf@cygnus.com>
2836
2837 * error.c (winerror): Respond to gcc warning.
2838 * path.c (cygpath_pipe): Ditto.
2839 * setup.c (filedel): Call sa_cleanup on deleteme.
2840 (create_shortcut): Coerce argument to eliminate compiler warning.
2841 (tarx): Use installed version of cygwin1.dll, overriding tar file name.
2842 (refmatches): New function. Tests if ref is contained in a list of
2843 packages to install.
2844 (filematches): New function. Tests if filename matches one of a list
2845 of packages to install.
2846 (recurse_dirs): Accept list of packages to install. Generalize tar.gz
2847 test to accomodate _tar.gz.
2848 (prompt): Ensure that stdout is flushed prior to asking for input.
2849 (findhref): Initialize variables to quiet a compiler warning.
2850 (processdirlisting): Accept list of packages to install. Special case
2851 cygwin tar file version number.
2852 (downloaddir): Accept list of packages to install.
2853 (downloadfrom): Ditto.
2854 (create_uninstall): Eliminate unneeded variables. Quote arguments to
2855 regtool.
2856 (do_start_menu): Don't create uninstall bat file if updating or user
2857 specified a list of packages.
2858 (mkmount): Eliminate unneeded variables.
2859 (get_pkg_stuff): New function. Checks for previous unversioned
2860 installation.
2861 (main): Accept -u and -f options and package names on the command line.
2862 Use get_pkg_stuff to initialize package information. Umount /etc.
2863 Call recurse_dirs and downloadfrom with list of package to install.
2864 Ensure that all /usr/local directories are created. Output
2865 installation time to setup.log.
2866 * setup.h: Add some prototypes.
2867 * xsystem.c (xcreate_process): Eliminate unneeded variable.
2868
2869Sat Apr 29 12:43:08 2000 Christopher Faylor <cgf@cygnus.com>
2870
2871 * setup.c (optionprompt): Don't overlap display of already seen options
2872 on next page.
2873 (geturl): Print name of site which we're connecting to rather than "ftp
2874 site".
2875 (processdirlisting): Avoid URLs that contain a /. or ./ . Is this
2876 test too simplistic?
2877 (do_start_menu): Use pathcat to build path to <root>\bin to avoid
2878 problems when user chooses x:\ as their root.
2879 (main): For now, default to "non-update" mode. Allow -u option to
2880 signify an update.
2881
2882Sat Apr 29 00:26:06 2000 Christopher Faylor <cgf@cygnus.com>
2883
2884 * pkg.c: New file.
2885 * setup.c (tarx): Skip already installed or older packages. Report
2886 when a package has been updated.
2887 (processdirlisting): Skip already installed or older packages.
2888 (main): Detect -f option for forced installation. Initialize pkg stuff
2889 if appropriate.
2890 * setup.h: Add pkg definitions.
2891
2892Thu Apr 27 14:21:30 2000 Christopher Faylor <cgf@cygnus.com>
2893
2894 * setup.c (findhref): Return NULL on empty string. Eat any trailing
2895 ";something".
2896 (processdirlisting): Attempt to limit recursively processing the same
2897 directory.
2898
2899Thu Apr 27 11:42:23 2000 Christopher Faylor <cgf@cygnus.com>
2900
2901 * setup.c (filedel): New function.
2902 (output_file): Keep track of files extracted from setup.exe for
2903 subsequent deletion.
2904 (tarx): Close process handle of child tar process or suffer handle
2905 leak.
2906 (getdownloadsource): Close mirror file so that it can be unlinked.
2907 (processdirlisting): Return total number of files extracted.
2908 (main): Initialize array of files to delete. Ensure that files are
2909 closed on exit. Make the directory that setup.exe is started from ==
2910 the directory where temporary files are placed. Issue an error if no
2911 files were found to download.
2912 * xsystem.c (xcreate_process): Close the thread handle. Close the
2913 process handle if we waited for it to exit.
2914
2915Thu Apr 27 09:54:19 2000 Christopher Faylor <cgf@cygnus.com>
2916
2917 * setup.c (main): Change version number output.
2918
2919Thu Apr 27 09:23:17 2000 Christopher Faylor <cgf@cygnus.com>
2920
2921 * setup.c (tarx): Use full path name to tar executable.
2922 (main): Build full pathname to tar executable. Create /usr/local/etc
2923 by default.
2924
2925Wed Apr 26 22:16:57 2000 Christopher Faylor <cgf@cygnus.com>
2926
2927 * setup.c (findhref): Change method for scanning for href= to choose
2928 the last one on the line. This is still not foolproof and probably
2929 will need to be changed eventually. Don't abort if no "size" field is
2930 evident.
2931 (processdirlisting): Fix boolean algebra.
2932
2933Wed Apr 26 01:10:39 2000 Christopher Faylor <cgf@cygnus.com>
2934
2935 * main.c (tarx): Add some code for future task of unmounting
2936 directories encountered in tar file.
2937
2938Sat Apr 22 16:37:03 2000 Christopher Faylor <cgf@cygnus.com>
2939
2940 * setup.c (findhref): Decode file size, when appropriate.
2941 (needfile): New function. Returns 1 when file should be
2942 downloaded.
2943 (processdirlisting): Always download if file size does not
2944 match. Prompt when download fails for some reason.
2945 (getdownloadsource): Accomodate findhref argument changes.
2946
2947Sat Apr 22 15:13:42 2000 Christopher Faylor <cgf@cygnus.com>
2948
2949 Throughout, use global session handle rather than reinitializing for
2950 each connect. Don't pass session as an argument to setup.c functions.
2951 * setup.c (geturl): Only issue "Connecting to.." message when using
2952 http or first time for ftp since subsequent connections will be fast.
2953 (processdirlisting): Allocate space for "N" when user has specified
2954 "N"ever option so that it can be subsequently freed.
2955 (main): Abort if we can't get the list of mirrors.
2956
2957Thu Apr 20 16:41:42 2000 Christopher Faylor <cgf@cygnus.com>
2958
2959 * setup.c (main): Umount /bin and /lib.
2960
2961Wed Apr 19 13:34:44 2000 Christopher Faylor <cgf@cygnus.com>
2962
2963 * setup.c (main): Create an empty /var/run/utmp.
2964
2965Tue Apr 18 19:16:56 2000 Christopher Faylor <cgf@cygnus.com>
2966
2967 * Makefile.in: Add umount to list of files to include in setup.exe.
2968 * setup.c (xumount): New function for unmounting directories.
2969 (main): Unmount /usr.
2970 (mkmount): Unmount "unix directory" before trying to figure out where
2971 to create the directory.
2972
2973Tue Apr 18 17:28:55 2000 Christopher Faylor <cgf@cygnus.com>
2974
2975 * setup.c (mkmount): Use xcreate_process to start mount process,
2976 avoiding the shell.
2977 (main): Don't do buffering on stdout or prompts won't be displayed
2978 correctly if running in a cygwin shell with CYGWIN=tty.
2979
2980Tue Apr 18 15:35:19 2000 Christopher Faylor <cgf@cygnus.com>
2981
2982 * setup.c (main): Remove the CYGWIN environment variable before
2983 starting any cygwin programs.
2984
2985Mon Apr 17 19:20:52 2000 Vadim Egorov <egorovv@mailandnews.com>
2986
2987 * setup.c (geturl): Use alternative method for finding filename part of
2988 a URL.
2989 (processdirlisting): Accomodate strange output from non-MS ftp proxy.
2990 (downloaddir): Unlink file containing dir listing.
2991 (downloadfrom): Ditto.
2992
2993Mon Apr 17 00:00:49 2000 Christopher Faylor <cgf@cygnus.com>
2994
2995 * setup.c (main): Disallow running setup.exe from the "root".
2996
2997Sun Apr 16 18:50:58 2000 Christopher Faylor <cgf@cygnus.com>
2998
2999 Use "warning" function, where appropriate, to output warnings.
3000 * setup.c (warning): New function -- outputs warning to console and log
3001 file.
3002 (tarx): Fix index used to reset file protection.
3003 (main): Open the log file earlier so that more stuff can be sent to it.
3004
3005Sat Apr 15 20:05:33 2000 Christopher Faylor <cgf@cygnus.com>
3006
3007 * setup.c (processdirlisting): Make "N" option a little less aggressive.
3008
3009Fri Apr 14 11:11:29 2000 Christopher Faylor <cgf@cygnus.com>
3010
3011 * setup.c (tarx): Wait to after tar has completed to reset protections
3012 or suffer races with tar process.
3013
3014Thu Apr 13 12:51:19 2000 Christopher Faylor <cgf@cygnus.com>
3015
3016 * Makefile.in: Eliminate duplicate -nostdinc from CFLAGS.
3017 * setup.c (create_uninstall): Create the uninstall .bat file in the
3018 "root" so that we can remove the /bin directory. Add bin\cygwin.bat to
3019 list of files to be deleted. Fix directory detection for determining
3020 when to use 'rmdir'.
3021 (do_start_menu): Add /usr/local/bin to the path.
3022 (main): Add slop to files.array allocation so that we don't have to
3023 worry about reallocating the array when it grows too large when doing
3024 some trivial "pushes". Add /tmp and /usr/local/{bin,lib} to list of
3025 files.
3026
3027Thu Apr 13 01:59:44 2000 Christopher Faylor <cgf@cygnus.com>
3028
3029 * setup.c (processdirlisting): Fix handling of "A" for "A"lways
3030 download.
3031
3032Thu Apr 13 01:11:45 2000 Christopher Faylor <cgf@cygnus.com>
3033
3034 * path.c (kill_cygpath): New cleanup function.
3035 (exit_cygpath): New cleanup function.
3036 (cygpath_pipe): New function. Sets up cygpath in the background for
3037 translating filenames.
3038 (pathcvt): Use background cygpath for file translation.
3039 * setup.c (tarx): New function. Called to extract tar files, capture
3040 logging output, and translate it to Windows format.
3041 (recurse_dirs): Use 'tarx' function to extract files.
3042 (create_uninstall): Use file list built up by tarx rather than reading
3043 the log file.
3044 (mkmount): Add ability to mount root.
3045 (main): Track elapsed install time. Mount root.
3046 * starry.h: Add index field to strarry for tracking of tarx's usage of
3047 this structure.
3048 * xsystem.c (xcreate_process): Return proces handle when not waiting.
3049
3050Mon Apr 10 22:44:56 2000 Christopher Faylor <cgf@cygnus.com>
3051
3052 * path.c: New file.
3053 (pathfp): New function. Preliminary work for new -f cygpath
3054 functionality.
3055 * Makefile.in: Add new file.
3056 (pathcvt): Move to new file.
3057 (dtoupath): Ditto.
3058 (utodpath): Ditto.
3059 (pathcat): Ditto.
3060 * setup.c (processdirlisting): Always open file in text mode.
3061 (create_uninstall): Ditto.
3062 (getdownloadsource): Ditto.
3063 (main): Ditto.
3064
3065Mon Apr 10 20:33:40 2000 Christopher Faylor <cgf@cygnus.com>
3066
3067 * xsystem.c: New file.
3068 * Makefile.in: Accomodate new file.
3069 * setup.c (xsystem): Move to new file.
3070 (recurse_dirs): Accept handle to output log file. Don't use ">"
3071 redirection to trap tar output. Use supplied handle instead.
3072 (create_uninstall): Accept FILE pointer to opened log file. Don't
3073 unlink log file here.
3074 (do_start_menu): Accept FILE pointer to pass to create_uninstall.
3075 (main): Open log file here and pass it to various functions. Unlink
3076 when done.
3077
3078Mon Apr 10 17:15:52 2000 Christopher Faylor <cgf@cygnus.com>
3079
3080 Change occurrences of .usr.bin to .bin throughout.
3081 * setup.c (geturl): Increase number of retries to 20. Let user know
3082 what's going on during long connects.
3083 (processdirlisting): Accept "A"lways and "N"ever as update options.
3084 (create_uninstall): Load cygwin1.dll from the current directory rather
3085 than \bin.
3086 (main): Add some expository text.
3087
3088Sun Apr 9 20:59:15 2000 Christopher Faylor <cgf@cygnus.com>
3089
3090 * Makefile.in: Change method for compressing cygwin1.dll to avoid
3091 creating a cygwin1.dll in the current directory. Ensure the addition
3092 of -nostdinc to MINGW_CFLAGS.
3093
3094Sun Apr 9 02:15:47 2000 Christopher Faylor <cgf@cygnus.com>
3095
3096 * Makefile.in: Augment clean target.
3097
3098Fri Apr 7 17:04:02 Ron Parker <rdparker@sourceware.cygnus.com>
3099
3100 * README: Added info about non-working mingw implementation
3101 * gzip.exe.gz: Replace with a version from the same build as the other
3102 tools.
3103 * tar.exe.gz: Replace with a version from the same build as the other
3104 tools.
3105 * mount.exe.gz: Add to repository until, mingw can build setup.
3106 * cygpath.exe.gz: ditto
3107 * cygwin1.dll.gz: ditto
3108 * setup.c: Overwrite /bin and /lib mounts. Generate working shortcut
3109 for Win9x. Display only a screenfull of options at a time. Call all
3110 tools with an absolute path.
3111 * setup.dsp: Restore the carriage returns, MS Developer Studio needs
3112 them.
3113 * setup.dsw: ditto
3114 * zlib.dsw: ditto
3115
3116Thu Apr 6 19:15:27 2000 Christopher Faylor <cgf@cygnus.com>
3117
3118 * Makefile.in: Add "-nostdinc" to regular CFLAGS. Add target to grab
3119 cygwin1.dll from ../cygwin subdirectory.
3120 * gzip.exe.gz: Update.
3121 * tar.exe.gz: Update.
3122
3123Wed Apr 5 10:52:08 2000 Christopher Faylor <cgf@cygnus.com>
3124
3125 * Makefile.in: Use ZLIB variable as a target.
3126
3127Sat Apr 1 22:49:09 2000 Christopher Faylor <cgf@cygnus.com>
3128
3129 * Makefile.in: Eliminate traces of cygwinisms. Don't link with
3130 libmsvcrt.a. It's unneeded. Build .rc file on the fly from various
3131 sources.
3132 * configure.in: Locate correct objcopy.
3133 * configure: Regenerate.
3134
3135Sat Apr 1 20:48:09 2000 Christopher Faylor <cgf@cygnus.com>
3136
3137 * Makefile.in: New file.
3138 * configure.in: New file.
3139 * configure: New file.
3140 * zlib/Makefile.am: New file.
3141 * zlib/configure.in: New file.
3142 * zlib/aclocal.m4: New file.
3143 * zlib/acinclude.m4: New file.
3144 * zlib/configure: Regenerate from configure.in.
3145 * zlib/Makefile.in: Regenerate from Makefile.am
3146
3147%%% $Id$
3148$Revision$
This page took 0.043916 seconds and 5 git commands to generate.