]>
Commit | Line | Data |
---|---|---|
b2b35a6e IP |
1 | 2006-03-09 Igor Peshansky <pechtcha@cs.nyu.edu> |
2 | ||
3 | * script.cc (Script::run): Fix inverted test for abnormal exit. | |
4 | ||
966a9815 MB |
5 | 2006-03-09 Bas van Gompel <patch-cygsup.buzz@bavag.tmfweb.nl> |
6 | Max Bowsher <maxb1@ukf.net> | |
7 | ||
8 | Provide indication of site that a file is being downloaded from. | |
9 | ||
10 | * geturl.cc: Use std::string instead of String throughout. | |
11 | (init_dialog): Put more information into GUI. | |
12 | Remove unused 'owner' parameter and change all callers. | |
13 | (progress): Remove spurious \n characters from GUI. | |
14 | * geturl.h: Use std::string instead of String throughout. | |
15 | * res.rc (IDD_INSTATUS): Use SS_ENDELLIPSIS. | |
16 | ||
8e91c2fb MB |
17 | 2006-03-09 Max Bowsher <maxb1@ukf.net> |
18 | ||
19 | * Makefile.am (EXTRA_DIST): Add tree-minus.bmp and tree-plus.bmp. | |
20 | ||
bb810dd8 DK |
21 | 2006-01-20 Bryan Thrall <bryan.thrall@flightsafety.com> |
22 | ||
23 | * source.cc (SourcePage::OnActivate): Command line takes precedence | |
24 | over last user selection. | |
25 | ||
253585ba MB |
26 | 2005-11-30 Max Bowsher <maxb1@ukf.net> |
27 | ||
28 | * res.rc (IDD_ROOT, IDD_LOCAL_DIR): Rearrange some controls a little, | |
29 | in response to suggestion from Carl Karsten. | |
30 | ||
d60832c6 MB |
31 | 2005-11-30 Max Bowsher <maxb1@ukf.net> |
32 | ||
33 | * site.h, site.cc: Use std::string in preference to String. | |
34 | (site_list_type::init): Convert some painful raw C string work to | |
35 | STL std::string work. Stop totally ignoring the result of this | |
36 | calculation, implementing the (somewhat weird) sort order for sites | |
37 | that was apparently indented for ages. | |
38 | ||
3d3c6047 IP |
39 | 2005-10-14 Igor Pechtchanski <pechtcha@cs.nyu.edu> |
40 | ||
41 | * io_stream.cc (url_scheme_not_registered): New macro. | |
42 | (io_stream::open): Better log message on error. | |
43 | (io_stream::mkpath_p,io_stream::remove,io_stream::mklink): Ditto. | |
44 | (io_stream::move,io_stream::exists): Ditto. | |
45 | ||
b059e20b IP |
46 | 2005-10-13 Igor Pechtchanski <pechtcha@cs.nyu.edu> |
47 | ||
48 | * site.cc (get_site_list): Default to empty mirror list if | |
49 | server unavailable and none cached, to allow using preferred | |
50 | mirrors anyway. | |
51 | ||
82573872 IP |
52 | 2005-09-29 Igor Pechtchanski <pechtcha@cs.nyu.edu> |
53 | ||
54 | * package_db.cc (packagedb::packagedb): Remember missing package | |
55 | database file. | |
56 | ||
9237e1bb IP |
57 | 2005-09-29 Igor Pechtchanski <pechtcha@cs.nyu.edu> |
58 | ||
59 | * site.cc (get_site_list): Store mirror list locally. | |
60 | Use local copy if unable to download. | |
61 | ||
a8be3f13 IP |
62 | 2005-09-27 Igor Pechtchanski <pechtcha@cs.nyu.edu> |
63 | ||
64 | * io_stream_cygfile.cc (io_stream_cygfile::io_stream_cygfile): | |
65 | Better log message on error. | |
66 | ||
2a8125be IP |
67 | 2005-09-27 Igor Pechtchanski <pechtcha@cs.nyu.edu> |
68 | ||
bd3a38c7 | 69 | * script.cc (Script::isAScript): Fix string comparison. |
2a8125be | 70 | |
01b9378a IP |
71 | 2005-09-27 Igor Pechtchanski <pechtcha@cs.nyu.edu> |
72 | ||
73 | * nio-ftp.cc (NetIO_FTP::NetIO_FTP): Reconnect on FTP timeout. | |
74 | ||
65ce9baf BD |
75 | 2005-09-11 Masayuki FUJII <boochang@m4.kcn.ne.jp> |
76 | ||
77 | * package_meta.cc (packagemeta::ScanDownloadedFiles): Don't use an | |
78 | invalid iterator. Fix whitespace. | |
79 | ||
3f6926b1 BD |
80 | 2005-09-09 Brian Dessent <brian@dessent.net> |
81 | ||
82 | * CHANGES: Document recent updates. | |
83 | * choose.cc (ChooserPage::OnInit): Add new tooltip. | |
84 | * res.rc (IDD_CHOOSE): Remove 'administrative' from description. | |
85 | (IDS_HIDEOBS_TOOLTIP): Add new string for tooltip. | |
86 | * resource.h (IDS_HIDEOBS_TOOLTIP): Define. | |
87 | * window.cc (Window::ActivateTooltips): Fix whitespace. Set tooltip | |
88 | delay to 30 seconds. | |
89 | ||
9dda7744 BD |
90 | 2005-09-09 Igor Pechtchanski <pechtcha@cs.nyu.edu> |
91 | ||
92 | * PickView.cc (PickView::paint): Set background mode to transparent. | |
93 | * PickCategoryLine.cc (PickCategoryLine::paint): Use bitwise AND to | |
94 | blit bitmaps. | |
95 | * PickPackageLine.cc (PickPackageLine::paint): Ditto. | |
96 | ||
534c25cc BD |
97 | 2005-09-01 Brian Dessent <brian@dessent.net> |
98 | ||
99 | * package_meta.cc (packagemeta::uninstall): Remove support for | |
100 | undocumented and dangerous postremove script. | |
101 | ||
102 | 2005-09-01 Igor Pechtchanski <pechtcha@cs.nyu.edu> | |
103 | ||
104 | * script.cc (run): Change to return the exit code or negative error. | |
105 | (Script::run): Ditto. | |
106 | (try_run_script): Receive both filename and extension and run only | |
107 | one script. Also return the exit code. | |
108 | * script.h (try_run_script): Change signature. | |
109 | (Script::run): Ditto. | |
110 | * postinstall.cc (RunScript::operator()): Change to return the exit | |
111 | code or negative error. | |
112 | * install.cc (Installer::preremoveOne): Pass extension to | |
113 | try_run_script(). | |
114 | ||
115 | 2005-09-01 Eric Blake <ebb9@byu.net> | |
116 | ||
117 | * script.cc (shells): Use /bin/bash, not sh, to allow upgrades to | |
118 | /bin/sh. | |
119 | ||
0ac305ec BD |
120 | 2005-09-01 Igor Pechtchanski <pechtcha@cs.nyu.edu> |
121 | ||
122 | * PickView.h (PickView::size_col): New instance variable. | |
123 | * PickView.cc (pkg_headers, cat_headers): Add size column. | |
124 | (PickView::set_headers): Initialize size_col. | |
125 | (PickView::init_headers): Include width of size column. | |
126 | * PickPackageLine.cc (PickPackageLine::paint): Handle size_col. | |
127 | * String++.cc (format_1000s): New function. | |
128 | * String++.h (format_1000s): Declare new function. | |
129 | ||
aa62e0f3 BD |
130 | 2005-09-01 Brian Dessent <brian@dessent.net> |
131 | ||
132 | * Makefile.am (BASECXXFLAGS): Add -Wno-uninitialized to work around | |
133 | spurious warnings with gcc 3.4.4. | |
134 | ||
687dd890 BD |
135 | 2005-05-22 Brian Dessent <brian@dessent.net> |
136 | ||
137 | * res.rc (IDD_CHOOSE): Change description to include administrative | |
138 | packages in addition to obsolete. | |
139 | ||
82306ac2 BD |
140 | 2005-05-21 Brian Dessent <brian@dessent.net> |
141 | ||
142 | * prereq.cc: New file. | |
143 | * prereq.h: Ditto. | |
144 | * tree-minus.bmp: Ditto. | |
145 | * tree-plus.bmp: Ditto. | |
146 | * Makefile.am: Add prereq.cc and prereq.h to build. | |
147 | * PickCategoryLine.cc (PickCategoryLine::paint): Add new parameter and | |
148 | refactor. Use bitmap for '+' and '-' indicators. Draw package lines | |
149 | column-wise for better drawing efficiency. | |
150 | (PickCategoryLine::click): Use previously calculated x value. | |
151 | * PickCategoryLine.h (PickCategoryLine::paint): Update prototype. Add | |
152 | 'spin_x' member. | |
153 | * PickLine.h (PickLine:paint): Update prototype. | |
154 | * PickPackageLine.cc (PickPackageLine::DrawCheck): Remove. | |
155 | (PickPackageLine::DrawIcon): New function. | |
156 | (PickPackageLine::paint): Add parameter. Refactor completely for more | |
157 | efficient painting. | |
158 | * PickPackageLine.h (PickPackageLine::DrawIcon): Add prototype. | |
159 | (PickPackageLine::paint): Update prototype. | |
160 | (PickPackageLine::DrawCheck): Remove. | |
161 | * PickView.cc (pkg_headers): Remove unused 'slen' field, add new | |
162 | 'needs_clip' field to signify if clipping is necessary for this column. | |
163 | (PickView::note_width): Fold long line. Refactor slightly for | |
164 | simplicity. | |
165 | (PickView::set_view_mode): Remove. | |
166 | (PickView::cycleViewMode): New function. | |
167 | (PickView::setViewMode): Refactor completely. Incorporate functionality | |
168 | of clear_view() here instead. Simplify package selection into a single | |
169 | 'for' loop rather than repeating code for each type. | |
170 | (isObsolete): New function, with second overloaded version. | |
171 | (PickView::setObsolete): New function. | |
172 | (PickView::insert_pkg): Do not show obsolete packages. Move | |
173 | declaration of 'db' lower. Fix whitespace. | |
174 | (PickView::insert_category): Do not show obsolete packages. | |
175 | (PickView::clear_view): Remove. Moved logic into 'setViewMode'. | |
176 | (PickView::scroll): Add additional parameter 'howmany' with default | |
177 | value of 1. Scroll by 'howmany' lines for SB_LINEDOWN and SB_LINEUP. | |
178 | (NUM_CATEGORY_COL_WIDTH): Define. | |
179 | (PickView::init_headers): Fix whitespace. Add comments. Ignore | |
180 | obsolete packages in width calculations. Add functionality to size | |
181 | 'Category' column so that at least NUM_CATEGORY_COL_WIDTH categories | |
182 | are displayed for every package. Ensure that 'new_col' takes into | |
183 | account all possible labels. | |
184 | (PickView::PickView): Initialize showObsolete to false. | |
185 | (PickView::init): Remove unused bitmap bm_rtarrow. Add new bitmaps | |
186 | bm_treeplus and bm_treeminus. Use a macro for better readability. | |
187 | Fix whitespace formatting. Remove header computation from here, call | |
188 | refresh() instead. | |
189 | (PickView::registerWindowClass): Remove unnecessary background brush. | |
190 | (PickView::WindowProc): Add support for WM_MOUSEWHEEL message | |
191 | processing. Fix indentation. Reformat for readability. | |
192 | (PickView::paint): Get the update region before calling BeginPaint. | |
193 | Fill the update region with the default colors. Do not do clipping | |
194 | here. Pass update region to the PickLine paint function instead. | |
195 | Free the update region when finished. | |
196 | (PickView::Create): Fix indentation. | |
197 | (PickView::defaultTrust): Ditto. | |
198 | (PickView::refresh): Add column recalculation logic here. | |
199 | * PickView.h: Fix indentation. | |
200 | (RTARROW_WIDTH): Remove unused define. | |
201 | (NEW_COL_SIZE_SLOP): Ditto. | |
202 | (TREE_INDENT): Define. | |
203 | (PickView::get_view_mode): Remove. | |
204 | (PickView::set_view_mode): Rename to setViewMode for consistency. | |
205 | (PickView::cycleViewMode): Add new function. | |
206 | (PickView::setObsolete): Ditto. | |
207 | (PickView::clear_view): Remove. | |
208 | (PickView::bm_treeplus): Define new member. | |
209 | (PickView::bm_treeminus): Ditto. | |
210 | (PickView::scroll): Add parameter. | |
211 | (PickView::Header::slen): Remove unused member. | |
212 | (PickView::Header::needs_clip): Define new member. | |
213 | (PickView::showObsolete): Ditto. | |
214 | (isObsolete): Add prototype, and for overloaded version as well. | |
215 | * choose.cc: Add include. | |
216 | (ChooserControlsInfo): Allow new checkbox to be resized. | |
217 | (ChooserPage::OnInit): Start dialog with 'Hide obsolete' checked. | |
218 | (ChooserPage::OnNext): Call the dependency checker, act accordingly. | |
219 | (ChooserPage::changeTrust): Notify dependency checker of current trust | |
220 | level when it changes. | |
221 | (ChooserPage::OnMessageCmd): Just call cycleViewMode instead when | |
222 | changing the view. Update the chooser when the user toggles the | |
223 | 'hide obsolete' checkbox. | |
224 | (ChooserPage::OnMouseWheel): New function. Pass mouse wheel message | |
225 | on to chooser. | |
226 | * choose.h (OnMouseWheel): Add prototype. | |
227 | * main.cc: Add include. | |
228 | (main): Define and initialize the PrereqPage object. Add it into | |
229 | the property sheet list. | |
230 | * PropPage.cc (PropertyPage::DialogProc): Add support for WM_MOUSEWHEEL | |
231 | message processing in derived classes. | |
232 | (PropertyPage::OnMouseWheel): New function. | |
233 | * PropPage.h (PropertyPage::OnMouseWheel): Add prototype. | |
234 | * res.rc (IDD_LOCAL_DIR): Shorten edit box so that pushbutton is not | |
235 | crowded. | |
236 | (IDD_SITE): Provide static text with an ID so that it can be resized | |
237 | properly. Move pushbutton slightly to right so that it doesn't crowd | |
238 | edit box. | |
239 | (IDD_SPLASH): Change copyright displayed on spash screen to be generic | |
240 | since the actual list of contributors is long. | |
241 | (IDD_CHOOSE): Add checkbox. Resize other controls to accomodate. | |
242 | (IDD_PREREQ): New dialog. | |
243 | (SPIN): Delete duplicated bitmap resource. | |
244 | (IDB_RTARROW): Remove unused bitmap resource. | |
245 | (IDB_TREE_PLUS): Add. | |
246 | (IDB_TREE_MINUS): Ditto. | |
247 | (IDS_TRUSTPREV_TOOLTIP): Revise wording to be more concise. | |
248 | (IDS_TRUSTCURR_TOOLTIP): Ditto. | |
249 | (IDS_TRUSTEXP_TOOLTIP): Ditto. | |
250 | (IDS_VIEWBUTTON_TOOLTIP): Ditto. | |
251 | * resource.h (IDD_PREREQ): Define. | |
252 | (IDB_RTARROW): Remove. | |
253 | (IDB_TREE_PLUS): Add, and renumber. | |
254 | (IDB_TREE_MINUS): Ditto. | |
255 | (IDC_SITE_USERURL): Define. | |
256 | (IDC_CHOOSE_HIDE): Ditto. | |
257 | (IDC_PREREQ_TEXT): Ditto. | |
258 | (IDC_PREREQ_EDIT): Ditto. | |
259 | (IDC_PREREQ_CHECK): Ditto. | |
260 | * site.cc (SiteControlsInfo): Ensure that 'User URL' static text is | |
261 | properly resized. | |
262 | ||
846e099d MB |
263 | 2005-05-14 Max Bowsher <maxb@ukf.net> |
264 | ||
265 | "Type" field of packageversions was not even being filled in. Fix. | |
266 | ||
267 | * cygpackage.h, cygpackage.cc (cygpackage::createInstance): | |
268 | Make "type" a mandatory parameter of the constructor. | |
269 | * IniDBBuilderPackage.cc: Adjust callers. | |
270 | ||
c1352375 MB |
271 | 2005-05-14 Bas van Gompel <patch-cygsup.buzz@bavag.tmfweb.nl> |
272 | ||
273 | Fix behaviour of hardlinks in source packages. | |
274 | ||
275 | * archive.cc (archive::extract_file): | |
276 | Use prefixPath for link target on hardlinks. | |
277 | ||
403f1027 MB |
278 | 2005-05-14 Max Bowsher <maxb@ukf.net> |
279 | ||
280 | Hopefully, solve the "preremove DLL dependency" bug, by running all | |
281 | preremove scripts before actually removing any files. | |
282 | ||
283 | * install.cc | |
284 | (Installer::preremoveOne): New method. Run preremove scripts here. | |
285 | (Installer::replaceOne): Remove method. | |
286 | (num_replacements): Remove variable. | |
287 | (do_install_thread): Significantly rewrite. | |
288 | * package_meta.cc (packagemeta::uninstall): | |
289 | Do not run preremove script here. | |
290 | ||
f916c374 MB |
291 | 2005-05-14 Max Bowsher <maxb@ukf.net> |
292 | ||
293 | * download.cc (do_download_thread): | |
294 | Do not use packageversion::changeRequested(). | |
295 | * package_version.cc (packageversion::Type): | |
296 | Implement declared but previously unimplemented method. | |
297 | (packageversion::changeRequested, _packageversion::changeRequested): | |
298 | Remove. | |
299 | * package_version.h | |
300 | (packageversion::changeRequested, _packageversion::changeRequested): | |
301 | Remove. | |
302 | * install.cc (Installer::replaceOne): Simplify, return void, not int. | |
303 | (installOneSource): Rename to... | |
403f1027 | 304 | (installOne): ...this. Change arguments and return type. Refactor. |
f916c374 MB |
305 | (install_one): Remove. |
306 | (do_install_thread): Tidying up. | |
307 | ||
655310ed MB |
308 | 2005-05-07 Max Bowsher <maxb@ukf.net> |
309 | ||
310 | * download.cc (validateCachedPackage): Remove all MD5 checking code. | |
311 | It is not acceptable to check MD5 sums as part of simply answering | |
312 | whether a package exists in the local cache or not. It is too slow. | |
313 | MD5 sums always have been - and will continue to be - checked at | |
314 | install time. | |
315 | (NoMD5Option): Remove this option, as the code it controls has been | |
316 | removed. | |
317 | ||
61a9e487 MB |
318 | 2005-05-07 Max Bowsher <maxb@ukf.net> |
319 | ||
320 | * install.cc (md5_one): Make the MD5 checking done at install time | |
321 | display a progess GUI, as the MD5 checking done at other times does. | |
322 | ||
4c90a532 MB |
323 | 2005-05-07 Max Bowsher <maxb@ukf.net> |
324 | ||
325 | * resource.h, res.rc: Followup to recent de-MSVC-ification of | |
326 | resource.h, by removing a lot from res.rc, and the last few bits | |
327 | from resource.h. | |
328 | ||
9a8a04fc BD |
329 | 2005-05-05 Brian Dessent <brian@dessent.net> |
330 | ||
37f49caf BD |
331 | * choose.cc (ChooserPage::OnInit): Initialize tooltips for this |
332 | dialog. | |
333 | ||
334 | * proppage.h (PropertyPage::makeClickable): Update prototype to | |
335 | reflect same argument name as function. | |
336 | ||
337 | * proppage.cc (PropertyPage::DialogProc): Remove redundant 'break' | |
338 | statements that follow 'return's. Add missing braces to case | |
339 | statements. Call handler for TTN_GETDISPINFO. | |
340 | ||
341 | * res.rc (IDS_TRUSTKEEP_TOOLTIP): Add new STRINGTABLE entry for | |
342 | tooltip text. | |
343 | (IDS_TRUSTPREV_TOOLTIP): Ditto. | |
344 | (IDS_TRUSTCURR_TOOLTIP): Ditto. | |
345 | (IDS_TRUSTEXP_TOOLTIP): Ditto. | |
346 | (IDS_TRUSTPREV_TOOLTIP): Ditto. | |
347 | (IDS_VIEWBUTTON_TOOLTIP): Ditto. | |
348 | ||
349 | * resource.h: Likewise, add identifiers for tooltip resources. | |
350 | ||
351 | * window.h: Add includes. | |
352 | (Window::TooltipHandle): Add new private data structure. | |
353 | (Window::TooltipStrings): Ditto. | |
354 | (Window::ActivateTooltips): Define new function to support tooltip | |
355 | functionality. | |
356 | (Window::SetTooltipState): Ditto. | |
357 | (Window::AddTooltip): Ditto. | |
322281d3 | 358 | (Window::TooltipNotificationHandler): Ditto. |
37f49caf BD |
359 | |
360 | * window.cc (Window::Window): Initialize handle to NULL. | |
361 | (Window::~Window): Call DestroyWindow on tooltip control if it was | |
362 | activated. | |
363 | (Window::ActivateTooltips): New function to activate the tooltip | |
364 | control. | |
365 | (Window::SetTooltipState): New function to allow toggling of | |
366 | tooltips. | |
367 | (Window::AddTooltip): New function that adds a tooltip to a given | |
368 | control in a given window. Also implement overloaded versions that | |
369 | provide simpler interface and the ability to use a string resource. | |
370 | (Window::TooltipNotificationHandler): New function to handle | |
371 | TTN_GETDISPINFO notification messages. | |
372 | ||
373 | 2005-05-05 Brian Dessent <brian@dessent.net> | |
4c90a532 | 374 | |
9a8a04fc BD |
375 | * resource.h: Reorganize. Group by type, and give each its own |
376 | range of IDs. Regenerate IDs accordingly. | |
377 | (IDD_CHOOSER): Remove obsolete and unused symbol. | |
378 | ||
9e6e3c68 BD |
379 | 2005-05-05 Brian Dessent <brian@dessent.net> |
380 | ||
381 | * root.h (class RootPage): Add missing virtual to OnMessageCmd. | |
382 | ||
746fff8d BD |
383 | 2005-05-05 Brian Dessent <brian@dessent.net> |
384 | ||
385 | * root.cc (dialog_cmd): Remove. Use OnMessageCmd instead. | |
386 | (RootPage::Create): Accomodate above change. | |
387 | ||
388 | * root.h (class RootPage): Add prototype for OnMessageCmd. | |
389 | ||
390 | * res.rc (IDD_ROOT): Fix broken button groups. Correct the order of | |
391 | the controls and use of WS_GROUP so that the radio buttons act | |
392 | correctly. | |
393 | ||
d2a3615c MB |
394 | 2005-05-05 Max Bowsher <maxb@ukf.net> |
395 | ||
396 | Bulk rename of String++ member cstr_oneuse () to c_str () for | |
397 | similarity to std::string. | |
398 | ||
399 | * Exception.cc | |
400 | * IniDBBuilderPackage.cc | |
401 | * IniParseFindVisitor.cc | |
402 | * LogFile.cc | |
403 | * PickCategoryLine.cc | |
404 | * PickPackageLine.cc | |
405 | * PickView.cc | |
406 | * String++.cc | |
407 | * String++.h | |
408 | * archive.cc | |
409 | * cygpackage.cc | |
410 | * desktop.cc | |
411 | * dialog.cc | |
412 | * diskfull.cc | |
413 | * download.cc | |
414 | * filemanip.cc | |
415 | * find.cc | |
416 | * geturl.cc | |
417 | * ini.cc | |
418 | * install.cc | |
419 | * io_stream.cc | |
420 | * io_stream_cygfile.cc | |
421 | * io_stream_file.cc | |
422 | * localdir.cc | |
423 | * mount.cc | |
424 | * nio-http.cc | |
425 | * package_db.cc | |
426 | * package_meta.cc | |
427 | * package_source.h | |
428 | * postinstall.cc | |
429 | * proppage.cc | |
430 | * root.cc | |
431 | * script.cc | |
432 | * site.cc | |
433 | * splash.cc | |
434 | * threebar.cc | |
435 | * window.cc | |
436 | ||
3a8630fd MB |
437 | 2005-05-05 Max Bowsher <maxb@ukf.net> |
438 | ||
439 | Some String++ refactoring, setting out in the general direction of | |
440 | eventually just using the STL std::string, not our own class. | |
441 | ||
442 | * String++.cc (String::cstr, String::cstr () const): Remove. | |
443 | (new_cstr_char_array): New function. | |
444 | * String++.h: Sync with above. | |
445 | Remove irrelevant "class io_stream;" declaration. | |
446 | ||
447 | * cygpackage.h: Add "class io_stream;" declaration, now no longer | |
448 | being supplied by side-effect. | |
449 | ||
450 | * filemanip.cc: Remove unneeded includes, add "using namespace std;". | |
451 | (parse_filename): Exchange some awkward pointer manipulation for | |
452 | std::string usage. Use new_cstr_char_array (). | |
453 | * filemanip.h: Sync with above. | |
454 | (fileparse): Improve style of declaration. | |
455 | ||
456 | * io_stream_cygfile.cc (io_stream_cygfile::normalise): | |
457 | Use new_cstr_char_array (). | |
458 | * site.cc (site_list_type::init, get_site_list): Ditto. | |
459 | ||
daab12c7 BD |
460 | 2005-05-05 Brian Dessent <brian@dessent.net> |
461 | ||
03e84729 MB |
462 | * ControlAdjuster.h (enum ControlPosition): Declare new resizing |
463 | methods CP_STRETCH_LEFTHALF and CP_STRETCH_RIGHTHALF, and their | |
464 | TOP/BOTTOM aliases. | |
daab12c7 | 465 | |
03e84729 MB |
466 | * ControlAdjuster.cc (ControlAdjuster::ControlInfo::adjust): |
467 | Implement CP_STRETCH_LEFTHALF and CP_STRETCH_RIGHTHALF, which are | |
468 | designed to resize elements in a two-column layout. | |
daab12c7 | 469 | |
03e84729 MB |
470 | * localdir.h (class LocalDirPage): Remove constructor implementation |
471 | from here... | |
daab12c7 | 472 | |
03e84729 MB |
473 | * localdir.cc (LocalDirPage::LocalDirPage): ...to here, and call |
474 | AddControlsInfo on initialization. | |
475 | (static LocaldirControlsInfo): Add. Define sizing rules for dialog | |
daab12c7 BD |
476 | elements. |
477 | ||
03e84729 MB |
478 | * proppage.h: Add includes. |
479 | (PropertyPage::ClickableURL): | |
480 | Declare new storage type for internal use by class. | |
481 | (PropertyPage::urls): Likewise. | |
482 | (PropertyPage::urlWinProc): Add declaration. | |
daab12c7 BD |
483 | (PropertyPage::makeClickable): Likewise. |
484 | ||
03e84729 MB |
485 | * proppage.cc: Add includes. |
486 | (PropertyPage::DialogProc): Implement handler for WM_CTLCOLORSTATIC | |
487 | message. Supports static controls that have been turned into | |
488 | clickable hyperlinks. | |
489 | (static PropertyPage::urls): Declare. | |
490 | (PropertyPage::makeClickable): Implement new member function that | |
491 | provides user interface for making text into clickable URLs. | |
492 | (PropertyPage::urlWinProc): Implement new private member function used | |
493 | as a windowproc for subclassing a static control. | |
494 | ||
495 | * resource.h (IDC_SPLASH_URL, IDC_FILEMODES_LINK, IDC_ROOTDIR_GRP, | |
496 | IDC_INSTALLFOR_GRP, IDC_ALLUSERS_TEXT, IDC_JUSTME_TEXT, IDC_MODE_GRP, | |
497 | IDC_MODE_TEXT, IDC_MODE_BIN, IDC_LOCALDIR_GRP, IDC_SPLASH_TEXT, | |
498 | IDC_SPLASH_ICON, IDC_SPLASH_COPYR): Add. Replaces anonymous | |
daab12c7 BD |
499 | IDC_STATIC ids, so that controls can be referenced by the resizer. |
500 | ||
03e84729 MB |
501 | * res.rc (IDD_LOCAL_DIR): Rearrange controls to match top-down order |
502 | in the dialog. Fold long lines. Replace anonymous IDC_STATIC ids. | |
503 | (IDD_ROOT): Reorder in same manner. Replace anonymous IDC_STATIC ids. | |
504 | Add descriptive text of each option, and hyperlink for more | |
505 | information. Mark suggested choice as "(RECOMMENDED)". Swap order of | |
506 | 'unix'/'dos' radio buttons so that recommended choice is first in both | |
507 | columns. | |
508 | (IDD_SPLASH): Reorder elements to match top-down order of dialog, fold | |
509 | long lines. Add descriptive paragraph, remove anonymous ids. Update | |
510 | copyright text, replace sources.redhat.com with cygwin.com. | |
daab12c7 | 511 | |
03e84729 | 512 | * root.h (class RootPage): Remove constructor implementation from |
daab12c7 BD |
513 | here... |
514 | ||
03e84729 MB |
515 | * root.cc: ...to here, and call AddControlInfo. |
516 | (static RootControlsInfo): Add. Populate with resizing data. | |
daab12c7 BD |
517 | (RootPage::OnInit): Make text a clickable hyperlink. |
518 | ||
03e84729 | 519 | * splash.h (class SplashPage): Likewise, move constructor from |
daab12c7 BD |
520 | here... |
521 | ||
03e84729 MB |
522 | * splash.cc: ...to here. Call AddControlInfo. |
523 | (static SplashControlsInfo): Add and populate. | |
524 | (SplashPage::Create): Make link on splash page a clickable hyperlink. | |
daab12c7 | 525 | |
03e84729 MB |
526 | * window.h: Add include. |
527 | (class Window): Store allocated fonts with a vector instead of fixed | |
528 | array. Change indentation of setParent to be consistent. | |
daab12c7 | 529 | |
03e84729 MB |
530 | * window.cc (Window::Window): Remove FontCounter. |
531 | (Window::~Window): Likewise. Iterate over vector of fonts instead. | |
532 | (Window::SetDlgItemFont): Use vector. | |
daab12c7 | 533 | |
042d83f9 MB |
534 | 2005-05-05 Max Bowsher <maxb@ukf.net> |
535 | ||
536 | * Makefile.am (EXTRA_DIST, inilint_SOURCES): | |
537 | Sync with several recent changes. | |
538 | ||
a38fde1a BD |
539 | 2005-05-05 Brian Dessent <brian@dessent.net> |
540 | ||
03e84729 | 541 | * res.rc: (CREATEPROCESS_MANIFEST_RESOURCE_ID): Include section |
a38fde1a BD |
542 | comment. |
543 | ||
dd267526 BD |
544 | 2005-05-05 Brian Dessent <brian@dessent.net> |
545 | ||
546 | * res.rc: (IDC_CHOOSE): Widen 'view' button by 6px horizontally and | |
547 | 4px vertically. Adjust other controls to accomodate. | |
548 | (CREATEPROCESS_MANIFEST_RESOURCE_ID): Define so that manifest is | |
549 | included in the binary. | |
550 | ||
551 | * setup.exe.manifest: New file. Results in common controls with | |
552 | themed appearance on modern versions of Windows. | |
553 | ||
83524e5b MB |
554 | 2005-05-05 Brian Dessent <brian@dessent.net> |
555 | ||
03e84729 | 556 | * main.cc (WinMain): Change conditional to avoid spurious error |
83524e5b | 557 | message on success. Include reason for failure in log message. |
96f50f64 | 558 | |
071f7af3 MB |
559 | 2005-05-04 Max Bowsher <maxb@ukf.net> |
560 | ||
561 | * state.cc, state.h (net_method, net_proxy_host, net_proxy_port,) | |
562 | (net_user, net_passwd, net_proxy_user, net_proxy_passwd,) | |
563 | Inet_ftp_user, net_ftp_passwd): | |
564 | Move these global variables to be static variables of the NetIO class. | |
565 | ||
566 | * netio.h, netio.cc (net_method, net_proxy_host, net_proxy_port,) | |
567 | (net_user, net_passwd, net_proxy_user, net_proxy_passwd,) | |
568 | net_ftp_user, net_ftp_passwd): | |
569 | As above. | |
570 | ||
571 | * ConnectionSetting.cc, net.cc: | |
572 | Change include, refer to variables in new location. | |
573 | ||
0a49fe44 MB |
574 | 2005-05-04 Max Bowsher <maxb@ukf.net> |
575 | ||
576 | * PickLine.cc: Remove file - redundant. | |
577 | * Makefile.am (setup_SOURCES): Adjust. | |
578 | ||
7f3324d2 MB |
579 | 2005-05-04 Max Bowsher <maxb@ukf.net> |
580 | ||
581 | * package_version.h (packageversion::set_requirements): | |
582 | Remove deftrust argument default value. | |
583 | ||
584 | 2005-05-04 Max Bowsher <maxb@ukf.net> | |
2ef95e81 MB |
585 | |
586 | * package_version.cc (DependencyProcessor): Remove trivial class. | |
587 | (select, processOneDependency): Do not use DependencyProcessor, just | |
588 | pass parameters normally. | |
589 | ||
d20a2e29 MB |
590 | 2005-05-04 Brian Dessent <brian@dessent.net> |
591 | ||
592 | Fix bug #820: Clicking Curr, etc., causes some dependencies to not | |
593 | be installed. | |
594 | ||
595 | * choose.cc (ChooserPage::changeTrust): | |
596 | Add a missing "packagedb.markUnVisited ()". | |
597 | ||
9bd063e0 MB |
598 | 2005-05-03 Max Bowsher <maxb@ukf.net> |
599 | ||
600 | * PickCategoryLine.cc (PickCategoryLine::click): | |
601 | * PickPackageLine.cc (PickPackageLine::click): | |
602 | Abandon use of trivial packagemeta::PrepareForVisit() wrapper. | |
603 | ||
604 | * package_meta.h (packagemeta::PrepareForVisit): Remove. | |
605 | * package_meta.cc (packagemeta::PrepareForVisit): Remove. | |
606 | ||
97b50ad7 MB |
607 | 2005-05-03 Max Bowsher <maxb@ukf.net> |
608 | ||
609 | * choose.h (ChooserPage::ifChecked): Remove. | |
610 | (ChooserPage::changeTrust): Convert from template to ordinary function. | |
611 | * choose.cc (ChooserPage::changeTrust): As above, plus avoid the use | |
612 | of custom class SetRequirement, when bind2nd(mem_fun(...),...) can | |
613 | achieve the same effect. | |
614 | * package_meta.h (SetRequirement): Remove, now unused. | |
615 | ||
98b84622 MB |
616 | 2005-05-03 Max Bowsher <maxb@ukf.net> |
617 | ||
618 | * package_meta.h (packagemeta::set_requirements): | |
619 | Remove default argument which seems inappropriate. | |
620 | * PickPackageLine.cc (PickPackageLine::click): | |
621 | Make an argument explicit, and not that it seems like the wrong value. | |
622 | ||
7c86285f MB |
623 | 2005-05-03 Brian Dessent <brian@dessent.net> |
624 | ||
625 | Fix part of bug #853 - proxy port not remembered. | |
626 | ||
627 | * net.cc (doing_loading): New static boolean. | |
628 | (load_dialog): Use the boolean to prevent save_dialog() from taking | |
629 | action due to field changes due to initialization. | |
630 | (save_dialog): Check the boolean and respond appropriately. | |
631 | ||
9ad9a0b0 MB |
632 | 2005-04-19 Max Bowsher <maxb@ukf.net> |
633 | ||
634 | * postinstall.cc (RunFindVisitor::visitFile): Fix crash on | |
635 | encountering a postinstall script with a name of 4 characters or less. | |
636 | Bug introduced on 2004-12-25. | |
637 | ||
946198be MB |
638 | 2005-04-05 Max Bowsher <maxb@ukf.net> |
639 | ||
640 | The Big Cleanup: Phase "rfc1738" | |
641 | ||
642 | * rfc1738.cc, rfc1738.h: Delete. | |
643 | * csu_util/rfc1738.cc: Reimport latest version from upstream source. | |
644 | Make thread-safe. Rewrite C++ wrapper in terms of std::string. | |
645 | Document the divergences from the upstream source. | |
646 | * csu_util/rfc1738.h: Recreate for the std::string version of the | |
647 | C++ wrapper. | |
648 | ||
649 | * Makefile.am (setup_SOURCES): Sync with added/removed files. | |
650 | * IniParseFindVisitor.cc: Modify #includes. | |
651 | (IniParseFindVisitor::visitFile): Change function name, as the new | |
652 | C++ wrapper does not contain an irregularity that the old one did. | |
653 | * download.cc: Modify #includes. | |
654 | * ini.cc: Modify #includes. | |
655 | ||
e76de0f5 MB |
656 | 2005-04-05 Max Bowsher <maxb@ukf.net> |
657 | ||
658 | Remove setup's internal compression libraries, instead relying on the | |
659 | mingw-foo packages which have been part of the Cygwin net distribution | |
660 | for some time now. At the same time, reorganize the README file to | |
661 | inform about the change, and make some additional tidy-ups there whilst | |
662 | working there. | |
663 | ||
664 | * GUIDELINES: Remove, contents transferred to README. | |
665 | * README: Add build instructions. Delete unconfirmed and fixed bugs | |
666 | sections. Incorporate the former contents of GUIDELINES. | |
667 | ||
668 | * bz2lib/: Remove. | |
669 | * zlib/: Remove. | |
670 | * Makefile.am (DIST_SUBDIRS, SUBDIRS): | |
671 | * configure.in: Remove AC_CONFIG_SUBDIRS for removed subdirs. | |
672 | * compress_bz.h: Remove complex _WIN32 preprocessor conditional. | |
673 | * compress_gz.h: Fix #include file name. | |
674 | * archive_tar_file.cc: Remove unused #include. | |
675 | * install.cc: Remove unused #include. | |
676 | ||
069a187a MB |
677 | 2005-01-27 Max Bowsher <maxb@ukf.net> |
678 | ||
679 | Set CYGWIN=nontsec, for postinstall scripts. | |
680 | ||
681 | * main.cc (main): putenv("CYGWIN=nontsec"). | |
682 | ||
b4cf6208 MB |
683 | 2005-01-27 Bas van Gompel <patch-cygsup.buzz@bavag.tmfweb.nl> |
684 | ||
685 | Fix corrupt display of ini parse percentage in log file. | |
686 | ||
687 | * ini.cc (GuiParseFeedback): Use a sensible data type for lastpct. | |
688 | ||
eff7a094 MB |
689 | 2004-12-29 Max Bowsher <maxb@ukf.net> |
690 | ||
691 | * site.cc (get_site_list): Filter the incoming mirrors list to contain | |
692 | only URL schemes that we can read. | |
693 | ||
2c539780 MB |
694 | 2004-12-28 Max Bowsher <maxb@ukf.net> |
695 | ||
696 | The Big Cleanup: Phase "hash" | |
697 | ||
698 | * hash.cc, hash.h: Delete. | |
699 | * Makefile.am (setup_SOURCES): Sync with deleted files. | |
700 | ||
701 | * package_mets: Modify includes. | |
702 | (standard_dirs): Remove. | |
703 | (hash::add_subdirs): Remove. | |
704 | (packagemeta::uninstall): Re-implement using STL set instead of | |
705 | homebrew hash. | |
706 | ||
4abaa9f9 MB |
707 | 2004-12-28 Max Bowsher <maxb@ukf.net> |
708 | ||
709 | * String++.h (operator std::string): Take care to never do | |
710 | std::string((char*)NULL) - it causes a hang! | |
711 | ||
a77b6167 MB |
712 | 2004-12-27 Max Bowsher <maxb@ukf.net> |
713 | ||
714 | The Big Cleanup: Phase "log" | |
715 | ||
716 | * log.cc, log.h: Delete old C-style compatibility wrapper around the | |
717 | logging subsystem. | |
718 | * Makefile.am (setup_SOURCES): Sync with deleted files. | |
719 | ||
720 | * AntiVirus.cc, archive_tar_file.cc, ini.cc, install.cc, | |
721 | * io_stream_cygfile.cc, localdir.cc, msg.cc, net.cc, netio.cc, | |
722 | * netio.h, nio-ftp.cc, nio-ftp.h, root.cc, source.cc: | |
723 | Throughout, refine includes, and update code using the old | |
724 | compatibility wrapper to C++ streams style code. | |
725 | ||
b16e07fc MB |
726 | 2004-12-27 Max Bowsher <maxb@ukf.net> |
727 | ||
728 | * compress.cc: Refine includes. Remove placeholder function | |
729 | definitions. Make destructor an empty function. | |
730 | * compress.h: Refine includes. Make placeholder functions pure | |
731 | virtual. Add missing const on buffer argument to write function, | |
732 | to match derived classes. | |
733 | * compress_bz.cc, compress_gz.cc: Refine includes. Throw exception, | |
734 | rather than logging and returning an error, when an unimplemented | |
735 | function is called. | |
736 | * compress_bz.h, compress_gz.h: Refine includes. | |
737 | ||
2b734ec7 MB |
738 | 2004-12-26 Max Bowsher <maxb@ukf.net> |
739 | ||
740 | The Big Cleanup: Phase "version" | |
741 | ||
742 | * String++.h (operator std::string): Add. | |
743 | * desktop.cc, fromcwd.cc: Remove irrelevant include. | |
744 | ||
745 | * version.cc, version.h: Delete, replacing all functionality in new | |
746 | files. | |
747 | ||
748 | * setup_version.h: Add, taking over declaration of generated version | |
749 | symbol functionality. | |
750 | ||
751 | * Makefile.am (setup_SOURCES): Sync with new/deleted files. | |
752 | (setup_version.c): Rename the symbol 'version' to 'setup_version'. | |
753 | * main.cc: Modify includes. | |
754 | (main): Adapt to setup_version rename. | |
755 | * splash.cc: Modify includes. | |
756 | (SplashPage::OnInit): Adapt to setup_version rename. | |
757 | ||
758 | * csu_util/version_compare.cc, csu_util/version_compare.h: Add, | |
759 | containing a completely rewritten replacement for canonical_version(). | |
760 | ||
761 | * IniDBBuilderPackage.cc: Modify includes. | |
762 | (IniDBBuilderPackage::buildVersion): Use new version_compare API. | |
763 | * ini.cc: Modify includes. | |
764 | (setup_version): Rename... | |
765 | (ini_setup_version): ...to this. | |
766 | (do_local_ini, do_remote_ini): Adapt to above change. | |
767 | (do_ini_thread): Adapt to above change. Use new version_compare API. | |
768 | ||
0f45aabe MB |
769 | 2004-12-25 Max Bowsher <maxb@ukf.net> |
770 | ||
771 | * install.cc (Installer::installOneSource): Remove a stray "break;" | |
772 | left over from the switch-case -> if-else conversion in the previous | |
773 | change. | |
774 | ||
4875ac88 MB |
775 | 2004-12-25 Max Bowsher <maxb@ukf.net> |
776 | ||
777 | The Big Cleanup: Phase "win32" | |
778 | ||
779 | * win32.h: Major overhaul. Document why we use _WIN32_IE. Move out | |
780 | fragment dealing with alloca() to the single file in which it is used. | |
781 | Remove fragment dealing with _MAX_PATH, and convert all uses of it | |
782 | elsewhere to MAX_PATH. Remove random include of <stdarg.h>. Remove | |
783 | NOCOMATTRIBUTE, as setup contains no code which it affects. Remove | |
784 | includes of <wininet.h> and <windowsx.h> - see later in this log. | |
785 | (IsWindowsNT): New inline function, a much simpler implementation of | |
786 | Win32::OS(). | |
787 | ||
788 | * win32.cc: Delete. | |
789 | ||
790 | * Makefile.am (setup_SOURCES): Remove "win32.cc". | |
791 | ||
792 | * AntiVirus.cc (detect), PickPackageLine.cc (PickPackageLine::paint), | |
793 | * install.c (Installer::installOneSource): | |
794 | Use IsWindowsNT(), not Win32::OS(). | |
795 | * main.cc (main): Use IsWindowsNT(), not locally defined iswinnt. | |
796 | ||
797 | * PickView.cc (PickView::WindowProc), netio.cc (auth_proc), | |
798 | * proppage.cc (PropertyPage::DialogProc): | |
799 | Avoid using obfuscating macros from <windowsx.h>. | |
800 | ||
801 | * archive.cc: Include or #define alloca() in the only file in which | |
802 | it is used. | |
803 | ||
804 | * nio-ie5.h: Include <wininet.h> here, where it is actually needed, | |
805 | rather than in "win32.h" which is included almost everywhere. | |
806 | ||
807 | * archive_tar.cc, archive_tar.h, cygpackage.cc, cygpackage.h, | |
808 | * desktop.cc, find.cc, install.cc, main.cc, mklink2.c, mount.cc, | |
809 | * script.cc: Use MAX_PATH, not _MAX_PATH. | |
810 | ||
f4a981ab MB |
811 | 2004-12-25 Max Bowsher <maxb@ukf.net> |
812 | ||
813 | Remove some overcomplications. | |
814 | ||
815 | * Makefile.am (setup_SOURCES): Remove FilterVisitor.{cc,h}. | |
816 | * FilterVisitor.cc, FilterVisitor.h: Delete. | |
817 | * String++.cc (strmatch, String::matches): Remove. | |
818 | * String++.h (String::matches): Remove. | |
819 | * postinstall.cc: Do not include "FilterVisitor.h". | |
820 | (RunFindVisitor): Exclude items with the extension ".done". | |
821 | (do_postinstall_thread): Remove overcomplicated exclusion of items | |
822 | with the extension ".done". | |
823 | ||
768d880e MB |
824 | 2004-12-24 Max Bowsher <maxb@ukf.net> |
825 | ||
826 | * String++.cc, String++.h: Remove unused and incomplete code. | |
827 | * LogFile.cc (LogFile::log_save): Don't leak memory. | |
828 | * filemanip.cc, geturl.cc, root.cc, version.cc: | |
829 | Don't pointlessly create temporary copies strings. | |
830 | ||
db165a9a MB |
831 | 2004-12-23 Max Bowsher <maxb@ukf.net> |
832 | ||
833 | * choose.cc (ChooserPage::OnNext): Relegate some overly verbose | |
834 | logging to an #ifdef DEBUG section. | |
835 | * geturl.h (dismiss_url_status_dialog): Remove stale function | |
836 | declaration, for which there is no definition. | |
837 | * io_stream_cygfile.cc (io_stream_cygfile::io_stream_cygfile): | |
838 | Motivated by the recent unexplained hang bug, add some extra logging. | |
839 | ||
0229b1d7 MB |
840 | 2004-11-22 Max Bowsher <maxb@ukf.net> |
841 | ||
842 | * MD5++.cc, MD5++.h: Remove this class. | |
843 | * csu_util/MD5Sum.cc, csu_util/MD5Sum.h: New more complete MD5 class. | |
844 | * Makefile.am (setup_SOURCES): Adjust to new files. | |
845 | * download.cc (validateCachedPackage): Simplify, using the new class. | |
846 | * install.cc (md5_one): Ditto. | |
847 | * package_source.h (packagesource::md5): Change to be an object of the | |
848 | new class. | |
849 | ||
2c4261a8 MB |
850 | 2004-11-22 Max Bowsher <maxb@ukf.net> |
851 | ||
ba102d1c MB |
852 | * main.cc (main): Fix bug in one of the 2004-11-19 commits. |
853 | Avoid referring to the theLog pointer before it is set. | |
2c4261a8 | 854 | |
9132ff16 MB |
855 | 2004-11-20 Max Bowsher <maxb@ukf.net> |
856 | ||
857 | * res.rc (IDD_SOURCE): Clarify the radio-button option descriptions. | |
858 | Re-layout the radio buttons. | |
859 | ||
6beebaa3 MB |
860 | 2004-11-20 Max Bowsher <maxb@ukf.net> |
861 | ||
862 | Repair the broken detection of wrongly-sized package files. | |
863 | ||
864 | * download.cc (validateCachedPackage): Make static, since not used | |
865 | elsewhere. Improve logging. Migrate file-size tests to here, alongside | |
866 | the MD5 tests. | |
867 | (check_for_cached): Remove broken testing of file-size, now covered by | |
868 | the above. Code cleanups. | |
869 | ||
54ff37c8 MB |
870 | 2004-11-19 Max Bowsher <maxb@ukf.net> |
871 | ||
872 | * package_version.cc (dumpAndList): Make dependencies much more | |
873 | readable in full log output. | |
874 | ||
4d7a6eeb MB |
875 | 2004-11-19 Max Bowsher <maxb@ukf.net> |
876 | ||
877 | * proppage.cc (PropertyPage::DialogProc): Wrap in a TOPLEVEL_CATCH | |
878 | block, since allowing exceptions to unwind into the guts of Windows is | |
879 | quite disasterous. | |
880 | ||
c66b9174 MB |
881 | 2004-11-19 Max Bowsher <maxb@ukf.net> |
882 | ||
883 | * main.cc (main): Move option parsing code earlier - it must execute | |
884 | before any significant object creations, which might test options in | |
885 | their initialization. | |
886 | ||
82b64f8a MB |
887 | 2004-11-19 Max Bowsher <maxb@ukf.net> |
888 | ||
889 | * main.cc (main): Remove some junk code - either commented out, or | |
890 | contained within unreachable preprocessor conditional sections. | |
891 | ||
4fa49408 MB |
892 | 2004-11-19 Max Bowsher <maxb@ukf.net> |
893 | ||
894 | * install.cc (Installer::installOneSource): Avoid leaking the open | |
895 | file handles of every tarball that is installed. | |
896 | ||
0e9a5c4f MB |
897 | 2004-11-19 Max Bowsher <maxb@ukf.net> |
898 | ||
899 | * package_source.h (packagesource::Canonical, packagesource::Base) | |
900 | (packagesource::Filename): Add "const" specification to accessor | |
901 | methods. | |
902 | ||
6b68e703 MB |
903 | 2004-11-18 Max Bowsher <maxb@ukf.net> |
904 | ||
905 | * archive.h (archive::~archive): Define a pure virtual destructor to | |
906 | enforce the abstract nature of this class. | |
907 | * archive.cc (archive::~archive): Pure virtual destructors require an | |
908 | implementation! Add one. | |
909 | * io_stream.h (io_stream::destroyed): Remove this severely | |
910 | brain-damaged implementation of a weakly-enforced abstract class. | |
911 | The pure virtual destructor was strongly enforcing the abstract nature | |
912 | anyway. | |
913 | * io_stream.cc (io_stream::~io_stream): Empty out horribly pointless | |
914 | code from the pure virtual destructor. | |
915 | * archive_tar.cc (archive_tar::~archive_tar): Remove all | |
916 | reference to the removed "destroyed" member. | |
917 | * archive_tar_file.cc (archive_tar_file::~archive_tar_file): Ditto. | |
918 | * compress_bz.cc (compress_bz::~compress_bz): Ditto. | |
919 | * compress_gz.cc (compress_gz::~compress_gz): Ditto. | |
920 | * io_stream_cygfile.cc (io_stream_cygfile::~io_stream_cygfile): Ditto. | |
921 | * io_stream_file.cc (io_stream_file::~io_stream_file): Ditto. | |
922 | * io_stream_memory.cc (io_stream_memory::~io_stream_memory): Ditto. | |
923 | ||
51200ef2 MB |
924 | 2004-11-17 Max Bowsher <maxb@ukf.net> |
925 | ||
926 | * mount.cc (create_mount): Fix operator precedence error introduced in | |
927 | first 2004-11-11 commit - warned of by gcc 3.3.3 but not 3.4.1 ! | |
928 | ||
f5d45c3b MB |
929 | 2004-11-13 Max Bowsher <maxb@ukf.net> |
930 | ||
931 | Miscellaneous cleanup. | |
932 | ||
933 | * geturl.cc (getUrlToStream): Make static. | |
934 | * geturl.h (getUrlToStream): Remove declaration. | |
935 | ||
936 | * geturl.cc, geturl.h, netio.cc, netio.h, nio-ftp.cc, nio-ftp.h, | |
937 | nio-http.cc, nio-http.h: | |
938 | Remove unused "allow_ftp_auth" flag throughout. | |
939 | ||
f4d80c3f MB |
940 | 2004-11-11 Max Bowsher <maxb@ukf.net> |
941 | ||
942 | * libmd5-rfc: New directory, to hold code imported from the libmd5-rfc | |
943 | project in a clearly delineated fashion. | |
944 | * libmd5-rfc/README: New file. | |
945 | * md5.c, md5.h: Delete... | |
946 | * libmd5-rfc/md5.c, libmd5-rfc/md5.h: ...and replace with pristine | |
947 | versions from upstream (only change is restoration of upstream CVS | |
948 | keyword expansions). | |
949 | * libmd5-rfc/md5main.c: New file. | |
950 | * Makefile.ami (setup_SOURCES): Edit file paths. | |
951 | * download.cc, install.cc: Edit include paths. | |
952 | ||
68d49419 MB |
953 | 2004-11-11 Max Bowsher <maxb@ukf.net> |
954 | ||
955 | * dialog.cc (fatal): Make capable of handling a passed-in error code, | |
956 | as an alternative to calling GetLastError(). | |
957 | * dialog.h (fatal): Adjust prototype as above. | |
958 | * mount.cc (create_mount): Use the above to correctly report errors. | |
959 | ||
af111c7d MB |
960 | 2004-10-28 Max Bowsher <maxb@ukf.net> |
961 | ||
962 | * LogFile.cc (LogFile::getFileName), splash.cc (SplashPage::Create), | |
963 | threebar.cc (ThreeBarProgressPage::SetBar2): | |
964 | Migrate from cistring and string resources | |
965 | to String and string literals. | |
966 | * localdir.cc: Remove unneeded #include of "cistring.h". | |
967 | * cistring.cc, cistring.h: Remove this now-redundant class. | |
968 | * Makefile.am: Remove mention of the above removed files. | |
969 | * res.rc, resource.h: Remove obsolete strings and IDs, both those | |
970 | obseleted by and obselete before the above changes. | |
971 | * res.rc: Merge the 2 adjacent STRINGTABLEs. | |
972 | ||
8a264069 MB |
973 | 2004-10-27 Max Bowsher <maxb@ukf.net> |
974 | ||
975 | * Makefile.am (setup_SOURCES): Add "RECTWrapper.h". It was missing. | |
976 | ||
b4b8ab8d MB |
977 | 2004-10-25 Bas van Gompel <cygsup-patch.buzz@bavag.tmfweb.nl> |
978 | ||
979 | * package_source.cc (packagesource::set_canonical): | |
980 | Fix one-off in 'base' when ini is in same dir as package. | |
981 | ||
49560a44 MB |
982 | 2004-10-25 Max Bowsher <maxb@ukf.net> |
983 | ||
984 | * main.cc (next_dialog): Remove this legacy global variable. | |
985 | * download.cc (do_download_thread): Return a value instead of setting | |
986 | a global variable, then returning void. | |
987 | (do_download_reflector): Look for the next dialog code as a return | |
988 | value instead of a global variable. | |
989 | ||
99ff5a8b MB |
990 | 2004-10-25 Max Bowsher <maxb@ukf.net> |
991 | ||
992 | * port.h: Remove this redundant file - all contained definitions are | |
993 | duplicated in "win32.h". | |
994 | * Makefile.am, UserSetting.cc, UserSettings.cc, archive.cc, | |
995 | archive_tar.cc, archive_tar_file.cc, choose.cc, compress.cc, | |
996 | compress_bz.cc, compress_gz.cc, desktop.cc, find.cc, fromcwd.cc, | |
997 | iniparse.y, install.cc, io_stream_cygfile.cc, io_stream_file.cc, | |
998 | main.cc, netio.cc, site.cc, version.cc: | |
999 | Remove all references to "port.h". | |
1000 | ||
46d04e97 MB |
1001 | 2004-10-25 Max Bowsher <maxb@ukf.net> |
1002 | ||
1003 | Fix compilation with w32api 3.1 and later. | |
1004 | ||
1005 | * ControlAdjuster.h, RECTWrapper.h, cistring.h, propsheet.h, | |
1006 | window.cc, window.h: Include "win32.h" not <windows.h> directly. | |
1007 | * win32.h (WINBASEAPI): Define to empty string. | |
1008 | ||
5524909e IP |
1009 | 2004-09-13 Igor Pechtchanski <pechtcha@cs.nyu.edu> |
1010 | ||
1011 | * script.cc (run): Kill stdin when running scripts. | |
1012 | ||
84b9cc5e MB |
1013 | 2004-09-01 Max Bowsher <maxb@ukf.net> |
1014 | ||
1015 | * Makefile.am: Oops. Unwanted keyword expansion ate the code of the | |
1016 | previous commit. Restore the code, escaped to not look like a keyword. | |
1017 | ||
012374fe MB |
1018 | 2004-09-01 Max Bowsher <maxb@ukf.net> |
1019 | ||
1020 | * Makefile.am: Simplify the shell incantation for getting the revision | |
1021 | of ChangeLog from grep-and-sed to just sed. | |
1022 | ||
b4113ac0 MB |
1023 | 2004-08-31 Max Bowsher <maxb@ukf.net> |
1024 | ||
1025 | Attain GCC 3.4 compatibility. | |
1026 | ||
1027 | * PackageSpecification.h (PackageSpecification): Make the | |
1028 | unnecessarily private copy-constructor public. | |
1029 | ||
fc2ba841 MB |
1030 | 2004-08-30 Max Bowsher <maxb@ukf.net> |
1031 | ||
1032 | Rework the implementation of not including -Werror for specific files, | |
1033 | to a way that does not require hardcoding modified automake output back | |
1034 | into its input. | |
1035 | ||
1036 | * Makefile.am (AM_CXXFLAGS, BASECXXFLAGS): Seperate out -Werror. | |
1037 | (autoload.o): Drop this rule, -finline-functions is no longer required | |
1038 | and -Werror is acceptable here now we have __attribute__ ((used)). | |
1039 | (WARNONLY_CFLAGS, inilex.o): Drop these. | |
1040 | (EXTRA_PROGRAMS): Add a fake "warnonly" program. | |
1041 | (warnonly_CXXFLAGS): Set to the $(BASECXXFLAGS). | |
1042 | (warnonly_SOURCES): Set to "inilex.cc". | |
1043 | (EXTRA_setup_SOURCES): Set to $(warnonly_SOURCES). | |
1044 | (setup_SOURCES): Remove "inilex.cc". | |
1045 | (setup_LDADD): Add "warnonly-inilex.o". | |
1046 | ||
d3c2a043 MB |
1047 | 2004-08-30 Max Bowsher <maxb@ukf.net> |
1048 | ||
1049 | Move closer to GCC 3.4 compatibility. | |
1050 | ||
1051 | * IOStreamProvider.h, io_stream_cygfile.cc, io_stream_cygfile.h, | |
1052 | io_stream_file.cc: Do not incorrectly use "enum" after it has been | |
1053 | hidden inside a typedef. | |
1054 | * archive.h: In "virtual func() = 0;", the 0 is a language construct, | |
1055 | not some symbol that might evaluate to 0, and gcc 3.4 enforces this. | |
1056 | * autoload.c (DllInfo.name): Silence warning by making const. | |
1057 | (DLL, autoload_common): __attribute__ ((used)) is now required to | |
1058 | prevent gcc being over-eager in it's optimization, and removing these | |
1059 | seemingly-unused (used only from assembly) functions. | |
1060 | Silences some warnings, too. | |
1061 | * Makefile.am (AM_CXXFLAGS, AM_CFLAGS): The options | |
1062 | -Wstrict-prototypes -Wmissing-prototypes do not apply to C++ and | |
1063 | g++ 3.4 complains about them. | |
1064 | ||
072fb49a MB |
1065 | 2004-08-29 Max Bowsher <maxb@ukf.net> |
1066 | ||
1067 | * Exception.h: Reformatting, #include more, remove incorrect and | |
1068 | less-than-useful comments. | |
1069 | (TOPLEVEL_CATCH): New preprocessor macro. | |
1070 | ||
1071 | * LogFile.cc (LogFile::operator()): Throw an exception object, not a | |
1072 | char* string. | |
1073 | ||
1074 | Wrap the top-level of each thread (including the main thread) in a | |
1075 | try...catch block, in order to display a useful error message if an | |
1076 | exception is not caught. | |
1077 | * download.cc (do_download_reflector): Here ... | |
1078 | * ini.cc (do_ini_thread_reflector): ... and here ... | |
1079 | * install.cc (do_install_reflector: ... and here ... | |
1080 | * main.cc (main): ... and here ... | |
1081 | * postinstall.cc (do_postinstall_thread): ... and here ... | |
1082 | * site.cc (do_download_site_info_thread): ... and here! | |
1083 | ||
1084 | * msg.h: Include a missing header requirement. | |
1085 | * res.rc (IDS_UNCAUGHT_EXCEPTION, IDS_UNCAUGHT_EXCEPTION_WITH_ERRNO): | |
1086 | New strings. | |
1087 | * resource.h (IDS_UNCAUGHT_EXCEPTION) | |
1088 | (IDS_UNCAUGHT_EXCEPTION_WITH_ERRNO): New IDs. | |
1089 | ||
56c41dda MB |
1090 | 2004-08-28 Max Bowsher <maxb@ukf.net> |
1091 | ||
1092 | * res.rc (IDS_WINDOW_INIT_BADMSG): New string. | |
1093 | * resource.h (IDS_WINDOW_INIT_BADMSG): New string resource ID. | |
1094 | * window.cc (Window::FirstWindowProcReflector): Convert an abort() | |
1095 | into a descriptive error. | |
1096 | ||
abdd4b38 MB |
1097 | 2004-08-24 Max Bowsher <maxb@ukf.net> |
1098 | ||
1099 | The Doug Lee replacement malloc was no longer hooked up with the | |
1100 | buildsystem in any way. Pruning the remaining unused file. | |
1101 | ||
1102 | * dlmalloc.c: Removed. | |
1103 | ||
24649384 MB |
1104 | 2004-08-18 Max Bowsher <maxb@ukf.net> |
1105 | ||
1106 | "librsync is not wire-compatible with rsync 2.x, and is not likely | |
1107 | to be in the future." -- librsync.sourceforge.net | |
1108 | ||
1109 | So, it is of no practical use to setup. Therefore, removing all | |
1110 | rsync related files and code from setup. | |
1111 | ||
1112 | * rsync: Directory removed. | |
1113 | * Makefile.am: Remove rsync support from the buildsystem. | |
1114 | * configure.in: Ditto. | |
1115 | * README: Since it seems vanishingly unlikely that it will ever happen, | |
1116 | remove rsync support from the wishlist. | |
1117 | * io_stream_rsync.cc: Remove. | |
1118 | * io_stream_rsync.h: Remove. | |
1119 | ||
2800a92a RC |
1120 | 2004-04-25 Robert Collins <rbtcollins@hotmail.com> |
1121 | ||
24649384 MB |
1122 | * package_meta.cc (packagemeta::set_requirements): fix problem with |
1123 | libpcre0 not being pulled in automatically. | |
2800a92a | 1124 | |
304e9816 RC |
1125 | 2004-04-25 Robert Collins <rbtcollins@hotmail.com> |
1126 | ||
24649384 MB |
1127 | * IniDBBuilderPackage.cc (dumpAndList): |
1128 | Move out to packageversion for reuse. | |
304e9816 | 1129 | * package_meta.cc (packagemeta::logAllVersions): log dependencies. |
24649384 MB |
1130 | * package_version.cc (packageversion::depends): |
1131 | provide a const accessor. | |
304e9816 RC |
1132 | (dumpAndList): Moved from INIDBBuilder.cc. |
1133 | * package_version.h: declare new method and function. | |
1134 | ||
5419ce48 RC |
1135 | 2003-12-21 Robert Collins <rbtcollins@hotmail.com> |
1136 | ||
1137 | * main.cc (main): Update to head libgetopt++ syntax. | |
1138 | ||
201741b7 RC |
1139 | 2003-11-2 Robert Collins <rbtcollins@hotmail.com> |
1140 | ||
1141 | * ControlAdjuster.h (ControlPosition::CP_MIDDLE): Rename to | |
1142 | CP_CENTERED. | |
1143 | * ControlAdjuster.cc: Ditto. | |
1144 | ||
081bf320 RC |
1145 | 2003-10-31 Frank Richter <frichter@gmx.li> |
1146 | ||
1147 | * localdir.cc (OnNext): When SelectDirectoryA() fails, display a | |
1148 | message with the error returned from the system instead of just | |
1149 | 'could not change dir'. Also, offer the user to 'Retry', 'Ignore' the | |
1150 | error or 'Abort' the directory change. | |
1151 | ||
4b6e5406 RC |
1152 | 2003-10-31 Frank Richter <frichter@gmx.li> |
1153 | ||
1154 | * propsheet.cc (PropSheetWndProc): Don't do child resizing if a the | |
1155 | window gets minimized. Otherwise some glitches (e.g. wrong child | |
1156 | sizes) occur. | |
1157 | Added support for WM_GETMINMAXINFO. Prevents the property sheet from | |
1158 | getting smaller than the original size. | |
1159 | ||
576a2b0b RC |
1160 | 2003-11-1 Robert Collins <rbtcollins@hotmail.com> |
1161 | ||
1162 | * ControlAdjuster.h (ControlDimension): Add. | |
1163 | (ControlAdjuster): Factor adjust functionality into ControlInfo. | |
1164 | * ControlAdjuster.cc (ControlAdjuster::adjust): Ditto. | |
1165 | (ControlAdjuster::ControlInfo::adjust): Ditto. | |
1166 | ||
a8d753b6 RC |
1167 | 2003-10-31 Igor Pechtchanski <pechtcha@cs.nyu.edu> |
1168 | ||
1169 | * ControlAdjuster.h (ControlPosition): New enum type. | |
1170 | (ControlInfo::horizontalPos, ControlInfo::verticalPos): New | |
1171 | instance variables. | |
1172 | (ControlInfo::anchorLeft, ControlInfo::anchorTop, | |
1173 | ControlInfo::anchorRight, ControlInfo::anchorBottom): Remove. | |
1174 | * ControlAdjuster.cc (ControlAdjuster::AdjustControls): Switch to | |
1175 | using position specifiers instead of anchors. | |
1176 | * choose.cc (ChooserControlsInfo): Ditto. | |
1177 | * proppage.cc (DefaultControlsInfo): Ditto. | |
1178 | * propsheet.cc (PropSheetControlsInfo): Ditto. | |
1179 | * site.cc (SiteControlsInfo): Position specifiers for site | |
1180 | selection dialog controls. | |
1181 | * threebar.cc (ThreeBarControlsInfo): Position specifiers for | |
1182 | progress dialog controls. | |
1183 | ||
c9feb168 RC |
1184 | 2003-10-27 Ralf Habacker <ralf.habacker@freenet.de> |
1185 | ||
1186 | * main.cc (HelpOption): New instance. | |
1187 | (main): Added help command line option handling. | |
1188 | * localdir.cc (LocalDirOption): New instance. | |
1189 | (LocalDirSetting::load): allow setting localdir from command line. | |
1190 | ||
ee91d9be RC |
1191 | 2003-10-16 Frank Richter <frichter@gmx.li> |
1192 | ||
1193 | * ControlAdjuster.cc: New file, helper to move elements of a dialog | |
1194 | along when the it's resized. | |
1195 | * ControlAdjuster.h: Ditto. | |
1196 | * Makefile.am: Add new source files. | |
1197 | * proppage.cc (PropertyPage::DialogProc): Adjust some common | |
1198 | controls (Cygwin icon top right, separator below) when a page is | |
1199 | resized. | |
1200 | (PropertyPage::PropertyPage): Dito. | |
1201 | * propsheet.cc (IsDialog): New. Test whether a window is a dialog. | |
1202 | Used internally by resize logic. | |
1203 | (EnumPages): New. Used internally by resize logic: resizes the | |
1204 | property sheet's individual pages. | |
1205 | (PropSheetWndProc): New. Hook for the propery sheet window proc. | |
1206 | (PropSheetProc): More style tweaks, add maximize box and thick border | |
1207 | as well. Hook into the property sheet's window proc. | |
1208 | (PropSheet::AdjustPageSize): New. Adjust the metrics of a single page | |
1209 | to fit nicely into the property sheet. Part of resize logic. | |
1210 | * res.rc (All dialogs): The top-right Cygwin icon and top separator | |
1211 | now have IDs distinct from IDC_STATIC, so their metrics can be | |
1212 | adjusted upon a resize. Also, all those Cygwin icons are at the exact | |
1213 | same spot now. | |
1214 | * choose.cc (ChooserPage::ChooserPage): Now the controls on the | |
1215 | chooser page move/size when the page size is changed. | |
1216 | * choose.h: Dito. | |
1217 | ||
1622a084 RC |
1218 | 2003-10-23 Jerry D. Hedden <jerry@hedden.us> |
1219 | ||
1220 | * ConnectionSetting.cc (ConnectionSetting::load): Load proxysettings. | |
1221 | (ConnectionSetting::save): Save proxy settings. | |
1222 | ||
7f6de8c0 RC |
1223 | 2003-10-07 Robert Collins <rbtcollins@hotmail.com> |
1224 | ||
1225 | * proppage.h (PropertyPage::wantsActivation): const correctness fix. | |
1226 | ||
587a67fc MB |
1227 | 2003-08-19 Max Bowsher <maxb@ukf.net> |
1228 | ||
1229 | * win32.h: Define NOMINMAX only if not already defined - because | |
1230 | libstdc++-v3 3.3.1 defines NOMINMAX itself. | |
1231 | ||
58b12a06 MB |
1232 | 2003-08-03 Max Bowsher <maxb@ukf.net> |
1233 | ||
1234 | * ChangeLog: Fix broken line-wrapping throughout. Clarify that | |
1235 | "Ran automake" in 2003-07-26 entry was in bz2lib and zlib subdirs. | |
1236 | ||
56a7c49e MB |
1237 | 2003-08-03 Gary R. Van Sickle <g.r.vansickle@worldnet.att.net> |
1238 | ||
1239 | * propsheet.cc (Copyright): Update copyright dates. | |
1240 | (PropSheet::PropSheet): Remove NumPropPages initialization. | |
1241 | (PropSheet::CreatePages): Use PropertyPages.size() instead of | |
1242 | NumPropPages. | |
1243 | (PropSheet::Create): Ditto. | |
1244 | (PropSheet::AddPage): Change to use new PropertyPages std::vector<>. | |
1245 | * propsheet.h (Copyright): Update copyright dates. | |
1246 | (File Scope): Include <vector>. | |
1247 | (PropSheet::PropertyPages): Change from array to vector<>. | |
1248 | (PropSheet::NumPropPages): Remove. | |
1249 | ||
25130a4d MB |
1250 | 2003-08-02 Gary R. Van Sickle <g.r.vansickle@worldnet.att.net> |
1251 | ||
1252 | Changes modified by Max Bowsher <maxb@ukf.net> | |
1253 | * splash.cc (Copyright): Update copyright dates. | |
1254 | (SplashPage::OnInit): Remove call to SetDlgItemFont(). Now handled in | |
1255 | base class. | |
1256 | * proppage.h (PropertyPage::setTitleFont): Declare. | |
1257 | * proppage.cc (Copyright): Update copyright dates. | |
1258 | (PropertyPage::DialogProc WM_INITDIALOG): Move all font setting code, | |
1259 | including that from splash.cc into new function... | |
1260 | (PropertyPage::setTitleFont): Create, using moved code. Change font | |
1261 | "MS Sans Serif" to "MS Shell Dlg" in line with recent res.rc change. | |
1262 | Set font for IDC_STATIC_WELCOME_TITLE here, to allow easy re-use of | |
1263 | style for future "Finished" page. | |
1264 | ||
62489576 MB |
1265 | 2003-08-02 Gary R. Van Sickle <g.r.vansickle@worldnet.att.net> |
1266 | ||
1267 | * propsheet.cc: Include "resource.h". | |
1268 | (PropSheet::Create): Add the Cygwin icon in the left of the title bar. | |
1269 | ||
106d8160 MB |
1270 | 2003-08-01 Gary R. Van Sickle <g.r.vansickle@worldnet.att.net> |
1271 | ||
1272 | * proppage.cc (PropertyPage::FirstDialogProcReflector): Modify comment. | |
1273 | ||
5296fc07 MB |
1274 | 2003-08-01 Gary R. Van Sickle <g.r.vansickle@worldnet.att.net> |
1275 | ||
1276 | * proppage.h (Copyright): Update copyright dates. | |
1277 | (PropertyPage): Document OnNext and OnBack. | |
1278 | ||
5039f845 MB |
1279 | 2003-07-31 Gary R. Van Sickle <g.r.vansickle@worldnet.att.net> |
1280 | ||
1281 | * proppage.cc (PropertyPage::Create): Use more self-documenting | |
1282 | MAKEINTRESOURCE() instead of cast to LPCSTR. | |
1283 | ||
672d28ad RC |
1284 | 2003-07-31 Robert Collins <rbtcollins@hotmail.com> |
1285 | ||
1286 | * README: Mark completed items complete. | |
1287 | ||
c59b8da6 MB |
1288 | 2003-07-31 Pierre Humblet <pierre.humblet@ieee.org> |
1289 | ||
1290 | * main.cc (set_default_sec): Set token owner from token user. | |
1291 | Always try to set the token primary group to Users or Admins. | |
1292 | ||
25e21380 IP |
1293 | 2003-07-30 Igor Pechtchanski <pechtcha@cs.nyu.edu> |
1294 | ||
1295 | * String++.h (String::replace): New instance functions. | |
1296 | * String++.cc (String::replace): Implement. | |
1297 | * filemanip.cc (backslash): Change to use String::replace. | |
1298 | * desktop.cc (make_cygwin_bat): Escape '%' in path. | |
1299 | ||
346627e7 IP |
1300 | 2003-07-30 Igor Pechtchanski <pechtcha@cs.nyu.edu> |
1301 | ||
1302 | * String++.h (TOSTRING): New macro. | |
1303 | * UserSettings.cc (UserSettings::deRegisterSetting): Fix | |
1304 | erroneous __LINE__/__FILE__ usage. | |
1305 | * download.cc (validateCachedPackage, check_for_cached): Ditto. | |
1306 | * geturl.cc (getUrlToStream): Ditto. | |
1307 | * install.cc (md5_one): Ditto. | |
1308 | ||
d9f4a2ba MB |
1309 | 2003-07-30 Max Bowsher <maxb@ukf.net> |
1310 | ||
1311 | * ini.cc (do_ini_thread): Return bool. | |
1312 | (do_ini_thread_reflector): Put returned bool in lParam. | |
1313 | * threebar.cc (WM_APP_SETUP_INI_DOWNLOAD_COMPLETE): Rework for new | |
1314 | meaning of lParam. Replace erroneous use of do_fromcwd with | |
1315 | SetActivePageByID (IDD_SOURCE). | |
1316 | ||
39b42ff3 RC |
1317 | 2003-07-30 Robert Collins <rbtcollins@hotmail.com> |
1318 | ||
1319 | * ConnectionSetting.cc: New file, persist connection type selection. | |
1320 | * ConnectionSetting.h: Ditto. | |
1321 | * net.cc: Hold a ConnectionSetting instance to trigger the logic. | |
1322 | (NetPage::OnInit): Don't force net_method to any value. | |
1323 | * Makefile.am: Add new source files. | |
1324 | ||
6ff96351 RC |
1325 | 2003-07-30 Robert Collins <rbtcollins@hotmail.com> |
1326 | ||
1327 | * SourceSetting.cc: New file, persist source selection. | |
1328 | * SourceSetting.h: Ditto. | |
1329 | * source.cc: Hold a Source setting instance to trigger the logic. | |
1330 | * Makefile.am: Add new source files. | |
1331 | ||
f0fd8856 RC |
1332 | 2003-07-30 Robert Collins <rbtcollins@hotmail.com> |
1333 | ||
1334 | * UserSettings.h (UserSettings::settingFileForLoad): Extracted method | |
1335 | from LocalDirSetting::load(). | |
1336 | * UserSettings.cc (UserSettings::settingFileForLoad): Ditto. | |
1337 | * UserSettings.h (UserSettings::settingFileForSave): Extracted method | |
1338 | from LocalDirSetting::save(). | |
1339 | * UserSettings.cc (UserSettings::settingFileForSave): Ditto. | |
1340 | * localdir.cc (LocalDirSetting::load): Extract location logic to | |
1341 | UserSettings. | |
1342 | (LocalDirSetting::save): Extract location logic to UserSettings. | |
1343 | * site.cc (SiteSetting::getSavedSites): Use | |
1344 | UserSettings::settingFileForLoad. | |
1345 | (SiteSetting::save): Use UserSettings::settingFileForSave. | |
1346 | ||
bb8e2353 RC |
1347 | 2003-07-30 Robert Collins <rbtcollins@hotmail.com> |
1348 | ||
1349 | * PickView.cc: Adjust ::GetClientRect(..) to the inherited one | |
1350 | throughout. | |
1351 | ||
b28e9f01 MB |
1352 | 2003-07-29 Max Bowsher <maxb@ukf.net> |
1353 | ||
1354 | Based on a patch by Gary R. Van Sickle <g.r.vansickle@worldnet.att.net>. | |
1355 | * AntiVirus.cc (AntiVirusPage::wantsActivation): Define. | |
1356 | * AntiVirus.h (AntiVirusPage::wantsActivation): Declare. | |
1357 | * localdir.cc (LocalDirPage::OnBack): Remove logic subsumed by | |
1358 | RootPage::wantsActivation. | |
1359 | * proppage.cc (PropertyPage::DialogProc): Call wantsActivation(), | |
1360 | and skip to next page in sequence if activation is refused. | |
1361 | * proppage.h (PropertyPage::wantsActivation): Default implementation. | |
1362 | * root.cc (RootPage::wantsActivation): Define. | |
1363 | * root.h (RootPage::wantsActivation): Declare. | |
1364 | * source.cc: Don't include "AntiVirus.h". | |
1365 | (SourcePage::OnNext): Remove logic subsumed by | |
1366 | RootPage::wantsActivation. | |
1367 | (SourcePage::OnBack): Remove logic subsumed by | |
1368 | AntiVirusPage::wantsActivation. | |
1369 | * splash.cc: Don't include "AntiVirus.h" or "dialog.h". | |
1370 | (SplashPage::OnNext): Remove - subsumed by | |
1371 | AntiVirusPage::wantsActivation. | |
1372 | * splash.h (SplashPage::OnNext): Remove declaration. | |
1373 | ||
ec2dbbf0 RC |
1374 | 2003-07-29 Robert Collins <rbtcollins@hotmail.com> |
1375 | ||
1376 | * PickView.h (PickView::refresh): New method. | |
1377 | * PickView.cc (PickView::refresh): Extracted from various | |
1378 | ChooserPage callers. | |
1379 | * choose.cc: Use PickView::refresh wherever possible. | |
1380 | ||
bc16bb7d RC |
1381 | 2003-07-29 Robert Collins <rbtcollins@hotmail.com> |
1382 | ||
1383 | * choose.h (ChooserPage::createListView): Remove last parameter. | |
1384 | (ChooserPage::getDefaultListViewSize): Extracted method. | |
1385 | * choose.cc (ChooserPage::createListView): Remove last parameter. | |
1386 | (ChooserPage::getDefaultListViewSize): Extracted method. | |
1387 | ||
952ea3fe RC |
1388 | 2003-07-29 Robert Collins <rbtcollins@hotmail.com> |
1389 | ||
1390 | * choose.cc (ChooserPage::createListView): Remove unneeded | |
1391 | parameter. | |
1392 | * choose.h: Ditto. | |
1393 | ||
55c6e691 MB |
1394 | 2003-07-29 Gary R. Van Sickle <g.r.vansickle@worldnet.att.net> |
1395 | ||
1396 | * dialog.h (do_fromcwd): Change function declaration. | |
1397 | * fromcwd.cc (do_fromcwd): Change return type to bool. Eliminate | |
1398 | use of next_dialog, return true or false instead. | |
1399 | * localdir.cc (LocalDirPage::OnNext): Use do_fromcwd()'s return | |
1400 | value instead of next_dialog. | |
1401 | ||
2f18f94d RC |
1402 | 2003-07-29 Robert Collins <rbtcollins@hotmail.com> |
1403 | ||
1404 | * package_db.h (packagedb::fillMissingCategory): Move from ChooserPage. | |
1405 | * choose.h (ChooserPage::fillMissingCategory): Delete. | |
1406 | * package_db.cc (packagedb::fillMissingCategory): Move from ChooserPage. | |
1407 | * choose.cc (ChooserPage::fillMissingCategory): Delete and adjust | |
1408 | callers. | |
1409 | ||
525531ca RC |
1410 | 2003-07-29 Robert Collins <rbtcollins@hotmail.com> |
1411 | ||
1412 | * PickView.h (CATEGORY_EXPANDED): Move from choose.h | |
1413 | (CATEGORY_COLLAPSED): Move from choose.cc. | |
1414 | (PickView::setViewMode): Move from ChooserPage. | |
1415 | * choose.h (CATEGORY_EXPANDED): Delete. | |
1416 | (CATEGORY_COLLAPSED): Delete. | |
1417 | (ChooserPage::setViewMode): Delete. | |
1418 | * PickView.cc (PickView::setViewMode): Move from ChooserPage. | |
1419 | * chooser.cc (ChooserPage::setViewMode): Delete, and adjust callers | |
1420 | throughout. | |
1421 | ||
0f61a6a4 MB |
1422 | 2003-07-28 Gary R. Van Sickle <g.r.vansickle@worldnet.att.net> |
1423 | ||
1424 | * AntiVirus.cc (AntiVirusPage::OnNext): Do not explicitly specify the | |
1425 | page to display next, since it follows in the default page ordering | |
1426 | anyway. | |
1427 | ||
6d751ec8 MB |
1428 | 2003-07-28 Max Bowsher <maxb@ukf.net> |
1429 | ||
1430 | * dialog.h: (NEXT): Remove obsolete macro. | |
1431 | * site.cc (save_dialog): Remove use of NEXT(), and non-functional | |
1432 | unnecessary error handler. | |
1433 | ||
358712d8 RC |
1434 | 2003-07-28 Robert Collins <rbtcollins@hotmail.com> |
1435 | ||
1436 | * package_meta.h (packagemeta::addToCategoryAll): Declare. | |
1437 | * package_meta.cc (packagemeta::addToCategoryAll): New method, | |
1438 | separated to allow clear iteration. | |
1439 | * choose.cc (ChooserPage::fillMissingCategory): BUGFIX: "all" is | |
1440 | meant to be added unconditionally. | |
1441 | ||
31f0ccce RC |
1442 | 2003-07-27 Robert Collins <rbtcollins@hotmail.com> |
1443 | ||
1444 | * Generic.h: New file, home for generic programming tools. | |
1445 | (visit_if): Move here from package_meta.cc. | |
1446 | Adjust to be fully parameterised. | |
1447 | * package_meta.h (packagemeta::hasNoCategories): Query for generic | |
1448 | programming. | |
1449 | (packagemeta::setDefaultCategories): set categories for packages | |
1450 | with none. | |
1451 | * package_meta.cc: Move visit_if out. Adjust users for | |
1452 | full paramterised operation. | |
1453 | (packagemeta::hasNoCategories): Implement. | |
1454 | (packagemeta::setDefaultCategories): Implement. | |
1455 | * choose.cc (ChooserPage::fillMissingCategory): Use visit_if to | |
1456 | reduce duplicate code. | |
1457 | (ChooserPage::setExistence): Delete. | |
1458 | * choose.h (ChooserPage::setExistence): Rename to | |
1459 | packagedb::setExistence. | |
1460 | * package_db.h (packagedb::setExistence): Declare. | |
1461 | * package_db.cc (packagedb::setExistence): Copy from choose.cc | |
1462 | ||
dbdc1d9d RC |
1463 | 2003-07-27 Robert Collins <rbtcollins@hotmail.com> |
1464 | ||
1465 | * localdir.h (LocalDirPage::OnInit): Remove. | |
1466 | * localdir.cc (LocalDirPage::OnInit): Move to LocalDirSetting | |
1467 | ::load(). | |
1468 | (LocalDirSetting::load): Copied from LocalDirPage::OnInit. | |
1469 | * site.h (SitePage::OnInit): Remove. | |
1470 | (SitePage::getSavedSites): New member, replaces get_saved_sites. | |
1471 | (SitePage::registerSavedSite): New member, replaces | |
1472 | register_saved_site. | |
1473 | * site.cc (SitePage::OnInit): Move to SiteSetting::load(). | |
1474 | (SiteSetting::load): Copied from SitePage::OnInit. | |
1475 | (SitePage::getSavedSites): Renamed from get_saved_sites. | |
1476 | (SitePage::registerSavedSite): Renamed from register_saved_site. | |
1477 | (do_download_site_info_thread): Don't look at the list size for | |
1478 | determining if the download was successful. | |
1479 | ||
22120c90 RC |
1480 | 2003-07-27 Robert Collins <rbtcollins@hotmail.com> |
1481 | ||
1482 | * choose.h (ChooserPage::setViewMode): Remove HWND from | |
1483 | signature. | |
1484 | (ChooserPage::defaultTrust): Ditto. | |
1485 | Move to PickView. | |
1486 | (ChooserPage::ifChecked): Use Window helper function | |
1487 | IsButtonChecked. | |
1488 | * choose.cc (ChooserPage::setViewMode): Use chooser->GetHWND() | |
1489 | throughout. | |
1490 | Update all callers with new signature. | |
1491 | (ChooserPage::defaultTrust): Ditto. | |
1492 | Move to PickView. | |
1493 | * PickView.h (PickView::defaultTrust): Declare. | |
1494 | * PickView.cc (PickView::defaultTrust): Copy from chooser.cc. | |
1495 | ||
9c9cfce7 RC |
1496 | 2003-07-27 Robert Collins <rbtcollins@hotmail.com> |
1497 | ||
1498 | * PickView.h (PickView::lv): Eliminate. | |
1499 | * PickView.cc (PickView::init): Replace use of lv with | |
1500 | GetHWND(). | |
1501 | (PickView::list_click): Ditto. | |
1502 | * choose.h (ChooserPage::lv): Eliminate. | |
1503 | * choose.cc: Replace lv with chooser->GetHWND() | |
1504 | throughout. | |
1505 | ||
d2be933d RC |
1506 | 2003-07-27 Robert Collins <rbtcollins@hotmail.com> |
1507 | ||
1508 | * PickView.h (PickView::chooser): Eliminate. | |
1509 | (PickView::list_vscroll): Make non-static. | |
1510 | (PickView::list_hscroll): Ditto. | |
1511 | (PickView::list_click): Ditto. | |
1512 | (PickView::paint): Ditto. | |
1513 | * PickView.cc (PickView::list_vscroll): Eliminate use | |
1514 | of PickView::chooser. | |
1515 | (PickView::list_hscroll): Ditto. | |
1516 | (PickView::list_click): Ditto. | |
1517 | (PickView::paint): Ditto. | |
1518 | * choose.cc (Chooser::createListView): Eliminate use | |
1519 | of PickView::chooser. | |
1520 | ||
693916f8 RC |
1521 | 2003-07-27 Robert Collins <rbtcollins@hotmail.com> |
1522 | ||
1523 | * PickView.h (PickView): Inherit from Window. | |
1524 | (PickView::RegisterWindows): Move from ChooserPage. | |
1525 | (PickView::listview_proc): Likewise. | |
1526 | (PickView::paint): Ditto. | |
1527 | (PickView::list_click): Ditto. | |
1528 | (PickView::list_hscroll): Ditto. | |
1529 | (PickView::list_vscroll): Ditto. | |
1530 | (PickView::lv): Ditto. | |
1531 | (PickView::chooser): Ditto. | |
1532 | (PickView::Create): Override Windows::Create as we migrate. | |
1533 | (PickView::registerWindowClass): Renamed RegisterWindows. | |
1534 | (PickView::WindowClassAtom): Prevent double registration. | |
1535 | (PickView::init): Declare. | |
1536 | * PickView.cc: Adjust for new inheritance. | |
1537 | (PickView::RegisterWindows): Move from ChooserPage. | |
1538 | (PickView::listview_proc): Likewise. | |
1539 | (PickView::paint): Ditto. | |
1540 | (PickView::list_click): Ditto. | |
1541 | (PickView::list_hscroll): Ditto. | |
1542 | (PickView::list_vscroll): Ditto. | |
1543 | (PickView::lv): Ditto. | |
1544 | (PickView::chooser): Ditto. | |
1545 | (PickView::Create): Introduce stub. | |
1546 | (PickView::RegisterWindows): Rename | |
1547 | (PickView::init): Extracted from constructor to allow | |
1548 | reordering. | |
1549 | * chooser.h (ChooserPage::registerWindows): Rename to | |
1550 | PickView::RegisterWindows. | |
1551 | (ChooserPage::listview_proc): Likewise. | |
1552 | (ChooserPage::paint): Ditto. | |
1553 | (ChooserPage::list_click): Ditto. | |
1554 | (ChooserPage::list_hscroll): Ditto. | |
1555 | (ChooserPage::list_vscroll): Ditto. | |
1556 | (ChooserPage::lv): Duplicate into PickView, observe | |
1557 | as non-static. | |
1558 | (ChooserPage::chooser): Ditto. | |
1559 | * chooser.cc (ChooserPage::registerWindows): Delete. | |
1560 | (ChooserPage::listview_proc): Ditto. | |
1561 | (ChooserPage::paint): Ditto. | |
1562 | (ChooserPage::list_click): Ditto. | |
1563 | (ChooserPage::list_hscroll): Ditto. | |
1564 | (ChooserPage::list_vscroll): Ditto. | |
1565 | (ChooserPage::createListView): Create() on PickView. | |
1566 | * window.h (Window::RegisterWindowClass): Make virtual | |
1567 | to allow Create to become a Template Method, and rename | |
1568 | to registerWindowClass as it's not static. | |
1569 | * window.cc (Window::registerWindowClass): Ditto. | |
1570 | (Window::FirstWindowProcReflector): BUGFIX: Set window | |
1571 | handle to prevent races with the window procedure. | |
1572 | ||
724c2956 RC |
1573 | 2003-07-27 Robert Collins <rbtcollins@hotmail.com> |
1574 | ||
1575 | * choose.cc (set_view_mode): Rename to ChooserPage::setViewMode. | |
1576 | (default_trust): Rename to ChooserPage::defaultTrust. | |
1577 | (fill_missing_category): Rename to ChooserPage::fillMissingCategory. | |
1578 | (set_existence): Rename to ChooserPage::setExistence. | |
1579 | (register_windows): Rename to ChooserPage::registerWindows. | |
1580 | (listview_proc): Rename to ChooserPage::listview_proc. | |
1581 | (paint): Rename to ChooserPage::paint. | |
1582 | (list_click): Rename to ChooserPage::list_click. | |
1583 | (list_hscroll): Rename to ChooserPage::list_hscroll. | |
1584 | (list_vscroll): Rename to ChooserPage::list_vscroll. | |
1585 | (lv): Rename to ChooserPage::lv. | |
1586 | (chooser): Rename to ChooserPage::chooser. | |
1587 | * choose.h (ChooserPage::setViewMode): Declare. | |
1588 | (ChooserPage::defaultTrust): Declare. | |
1589 | (ChooserPage::fillMissingCategory): Declare. | |
1590 | (ChooserPage::setExistence): Declare. | |
1591 | (ChooserPage::registerWindows): Declare. | |
1592 | (ChooserPage::listview_proc): Declare. | |
1593 | (ChooserPage::paint): Declare. | |
1594 | (ChooserPage::list_click): Declare. | |
1595 | (ChooserPage::list_hscroll): Declare. | |
1596 | (ChooserPage::list_vscroll): Declare. | |
1597 | (ChooserPage::lv): Declare. | |
1598 | (ChooserPage::chooser): Declare. | |
1599 | ||
d05ae76a RC |
1600 | 2003-07-27 Robert Collins <rbtcollins@hotmail.com> |
1601 | ||
1602 | * choose.cc (create_listview): Use for_each instead of explicit | |
1603 | iteration. | |
1604 | (create_listview): Rename to ChooserPage::createListview. | |
1605 | * package_meta.h (packagemeta::set_requirements): Explicitly separate | |
1606 | the 1 and 2 parameter versions. | |
1607 | ||
1608 | 2003-07-27 Robert Collins <rbtcollins@hotmail.com> | |
69711722 RC |
1609 | |
1610 | * String++.h (String::operator !=): Declare for char * and String. | |
1611 | * String++.cc (String::operator !=): Implement. | |
1612 | * package_meta.cc(StringConcatenator): Move above all users. | |
1613 | (_visit_if): Predicate support for visitors. | |
1614 | (packagemeta::getReadableCategoryList): Refactor to use | |
1615 | StringConcatenator with a predicate. | |
1616 | * choose.h: Remove unneeded c++ guards. | |
1617 | ||
cda26207 RC |
1618 | 2003-07-26 Robert Collins <rbtcollins@hotmail.com> |
1619 | ||
58b12a06 MB |
1620 | * choose.cc (scan_downloaded_files): Rename to |
1621 | packagemeta::ScanDownloadedFiles. | |
cda26207 RC |
1622 | (scanAVersion): Rename to packageversion::scan. |
1623 | (GetParentRect): Rename to ChooserPage::getParentRect. | |
1624 | * choose.h (ChooserPage::getParentRect): Declare. | |
1625 | * package_meta.h (packagemeta::ScanDownloadedFiles): Declare. | |
1626 | * package_version.h (packageversion::scan): Declare. | |
1627 | * package_version.cc (packageversion::scan): Move from choose.cc | |
58b12a06 MB |
1628 | * package_meta.cc (packagemeta::ScanDownloadedFiles): Move from |
1629 | choose.cc | |
cda26207 | 1630 | |
edc3c6fc RC |
1631 | 2003-07-26 Robert Collins <rbtcollins@hotmail.com> |
1632 | ||
1633 | * choose.cc (ChooserPage::OnNext): log before starting activity threads. | |
1634 | (ChooserPage::OnInit): Remove temporary variable frame. | |
1635 | (ChooserPage::setPrompt): Extract method from OnInit. | |
1636 | (choose_inst_text): Remove unused variable. | |
1637 | * choose.h(ChooserPage::setPrompt): Declare | |
1638 | * res.rc (IDD_CHOOSE): Bugfix: the chooser was setting a non-present | |
1639 | caption. | |
1640 | ||
d55e14fe RC |
1641 | 2003-07-26 Robert Collins <rbtcollins@hotmail.com> |
1642 | ||
1643 | Remove package specific code from choose.cc. | |
1644 | Update copyrights where appropriate. | |
1645 | * choose.cc(ChooserPage::OnNext): Extract logging to | |
1646 | packagemeta::logSelectionStatus. | |
1647 | * package_meta.cc(packagemeta::logSelectionStatus): Extract from | |
1648 | ChooserPage::OnNext. | |
1649 | (StringConcatenator): helper for logSelectionStatus. | |
1650 | (action_caption): Make const. | |
1651 | * package_meta.h(packagemeta): Declare logSelectionStatus. | |
1652 | (packagemeta::action_caption): Make const. | |
1653 | * package_version.cc(packageversion::sourcePackage): Make const. | |
1654 | * package_version.h(packageversion::sourcePackage): Make const. | |
1655 | ||
12f8ac69 RC |
1656 | 2003-07-26 Robert Collins <rbtcollins@hotmail.com> |
1657 | ||
1658 | * choose.cc: Update copyright. | |
1659 | (ChooserPage::keepClicked): Extracted from OnMessageCmd. | |
1660 | (ChooserPage::changeTrust): Ditto. | |
1661 | * choose.h (ChooserPage): Declare keepClicked and changeTrust. | |
1662 | (ChooserPage::ifChecked): Extracted from OnMessageCmd. | |
58b12a06 MB |
1663 | * package_meta.h (SetRequirement): Adapter for visiting package |
1664 | collections. | |
12f8ac69 | 1665 | |
93d7e783 MB |
1666 | 2003-07-26 Max Bowsher <maxb@ukf.net> |
1667 | ||
1668 | * tests/.cvsignore: New file, listing Makefile.in. | |
1669 | ||
dea6cc21 RC |
1670 | 2003-07-26 Robert Collins <rbtcollins@hotmail.com> |
1671 | ||
1672 | Save used local cache dir from initial run of setup, so the user doesn't | |
1673 | need to retype it. | |
58b12a06 MB |
1674 | * localdir.h (LocalDirSetting): UserSetting class for the local cache |
1675 | dir. | |
1676 | * localdir.cc (LocalDirSetting::save): Replace save_local_dir, and | |
1677 | update callers. | |
dea6cc21 | 1678 | |
0df9be37 RC |
1679 | 2003-07-26 Robert Collins <rbtcollins@hotmail.com> |
1680 | ||
1681 | Save used site from initial run of setup, so the user doesn't need to | |
1682 | retype it. | |
1683 | * main.cc (main): Load and save all user settings. | |
1684 | * site.cc (SiteSetting::save): Migrate logic from save_site_url. | |
58b12a06 MB |
1685 | (SitePage::OnNext): Use ChosenSites.save() to remove uneeded |
1686 | save_site_url call. | |
0df9be37 RC |
1687 | (save_site_url): Delete. |
1688 | * site.h (save_site_url): Remove declaration. | |
1689 | * .cvsignore: Update autoconf generated files. | |
1690 | ||
bf137801 RC |
1691 | 2003-07-26 Robert Collins <rbtcollins@hotmail.com> |
1692 | ||
1693 | * tests/Makefile.am: Driver for test suite. | |
1694 | * tests/UserSettingTest.cc: Test UserSetting interface. | |
1695 | * tests/UserSettingsTest.cc: Test UserSettings interface. | |
1696 | * Makefile.am: Add the tests dir to recurse into. | |
1697 | * configure.in: Ditto. | |
58b12a06 MB |
1698 | * UserSetting.h: Add load and save methods to allow global |
1699 | serialisation. | |
bf137801 RC |
1700 | Add explicit copy and assignment operators to prevent synthetics. |
1701 | Make the constructor protected to prevent direct instantiation. | |
1702 | * UserSettings.h (UserSettings::loadAllSettings): New method. | |
1703 | (UserSettings::savedAllSettings): New method. | |
1704 | * UserSettings.cc: Implement new methods. | |
1705 | * site.cc: Implement stubs for new required UserSetting methods. | |
1706 | * site.h (ChosenSite): Ditto. | |
58b12a06 MB |
1707 | * bz2lib/: Ran automake. |
1708 | * zlib/: Ran automake. | |
bf137801 | 1709 | |
3d5a4f16 MB |
1710 | 2003-07-23 Max Bowsher <maxb@ukf.net> |
1711 | ||
1712 | * desktop.cc (DesktopSetupPage::OnBack): Remove obsolete use of NEXT(). | |
1713 | * root.cc (RootPage::OnNext): Ditto. | |
1714 | (RootPage::OnBack): Ditto. | |
1715 | * install.cc (do_install_thread): Remove obsolete use of next_dialog. | |
1716 | * main.cc (main): Ditto. | |
1717 | * postinstall.cc (do_postinstall_thread): Ditto. | |
1718 | ||
7108d406 MB |
1719 | 2003-07-23 Max Bowsher <maxb@ukf.net> |
1720 | ||
1721 | * dialog.h (do_choose, do_desktop, do_local_dir, do_net, do_other) | |
1722 | (do_root, do_site, do_source, do_splash): Remove declarations, since | |
1723 | these functions no longer exist. | |
1724 | ||
b1c23913 MB |
1725 | 2003-07-23 Gary R. Van Sickle <g.r.vansickle@worldnet.att.net> |
1726 | ||
1727 | * choose.cc (initialized): Remove obsolete file scope variable. | |
1728 | ||
d52a6cc8 MB |
1729 | 2003-07-18 Max Bowsher <maxb@ukf.net> |
1730 | ||
1731 | * res.rc: Make caption of every dialog page begin with "Cygwin Setup". | |
1732 | This aids recognition when minimized. | |
1733 | Prompted by Gary R. Van Sickle <g.r.vansickle@worldnet.att.net>. | |
1734 | ||
9d53f045 MB |
1735 | 2003-07-10 Jeremy White <jwhite@codeweavers.com> |
1736 | ||
1737 | * mount.cc, root.cc, site.cc: Make StringOptions required, | |
1738 | thereby making --longopt <parm> behave as a newbie would expect. | |
1739 | ||
12e726c4 MB |
1740 | 2003-07-08 Max Bowsher <maxb@ukf.net> |
1741 | ||
1742 | * LogFile.h, cistring.h, dialog.h, diskfull.h, filemanip.h, geturl.h, | |
1743 | hash.h, log.h, mkdir.h, mklink2.h, mount.h, msg.h, netio.h, nio-file.h, | |
1744 | nio-ftp.h, nio-http.h, nio-ie5.h, port.h, simpsock.h, state.h, | |
1745 | version.h: Add inclusion guard. | |
1746 | * root.h: Standardize naming of inclusion guard. | |
1747 | ||
c93bc6d0 MB |
1748 | 2003-06-23 Max Bowsher <maxb@ukf.net> |
1749 | ||
1750 | * AntiVirus.h, Exception.h, FilterVisitor.h, FindVisitor.h, | |
1751 | IOStreamProvider.h, IniDBBuilder.h, IniDBBuilderPackage.h, | |
1752 | IniParseFeedback.h, IniParseFindVisitor.h, LogSingleton.h, MD5++.h, | |
1753 | PackageSpecification.h, PackageTrust.h, PickCategoryLine.h, PickLine.h, | |
1754 | PickPackageLine.h, PickView.h, RECTWrapper.h, ScanFindVisitor.h, | |
1755 | String++.h, UserSetting.h, UserSettings.h, archive.h, archive_tar.h, | |
1756 | category.h, choose.h, compress.h, compress_bz.h, compress_gz.h, | |
1757 | cygpackage.h, desktop.h, download.h, find.h, ini.h, io_stream.h, | |
1758 | io_stream_cygfile.h, io_stream_file.h, io_stream_memory.h, | |
1759 | io_stream_rsync.h, localdir.h, net.h, package_db.h, package_meta.h, | |
1760 | package_source.h, package_version.h, proppage.h, propsheet.h, script.h, | |
1761 | site.h, source.h, splash.h, threebar.h, win32.h, window.h: | |
1762 | Standardize naming and placement of inclusion guards. | |
1763 | ||
4a2af5fb MB |
1764 | 2003-06-22 Benjamin Riefenstahl <Benjamin.Riefenstahl@epost.de> |
1765 | ||
1766 | * res.rc (all dialogs): Change font from "MS Sans Serif" to | |
1767 | "MS Shell Dlg". | |
1768 | ||
8b726ef6 MB |
1769 | 2003-06-22 Max Bowsher <maxb@ukf.net> |
1770 | ||
1771 | * Makefile.am: Clarify comment. | |
1772 | Derive AM_CFLAGS from AM_CXXFLAGS, rather than the other way around. | |
1773 | (AM_CXXFLAGS): Remove -Wmissing-declarations - it is a C-only warning. | |
1774 | (AM_CFLAGS): Add -Winline, and -Wmissing-declarations. | |
1775 | ||
1e9ebf8a MB |
1776 | 2003-06-22 Max Bowsher <maxb@ukf.net> |
1777 | ||
1778 | * rfc1738.cc (rfc1738_do_escape): Eliminate redundant conditional. | |
1779 | ||
0a539fe4 MB |
1780 | 2003-06-05 Gary R. Van Sickle <g.r.vansickle@worldnet.att.net> |
1781 | ||
1782 | * window.h (SETUP_WINDOW_H): Rename multi-include guard. | |
1783 | (Copyright): Update. | |
1784 | (RECTWrapper): New forward declaration. | |
1785 | (Window::Create): Move. | |
1786 | (Window::MoveWindow): New overload declaration. | |
1787 | * window.cc: (RECTWrapper.h) Include. | |
1788 | (Copyright): Update. | |
1789 | (Window::FirstWindowProcReflector): Use reinterpret_cast<> instead | |
1790 | of C-style casts. | |
1791 | (Window::MoveWindow): New overload. | |
1792 | ||
3c0ca7aa MB |
1793 | 2003-05-31 Max Bowsher <maxb@ukf.net> |
1794 | ||
1795 | * res.rc: Resize title controls to fully fill available width. | |
1796 | ||
e0d021d0 MB |
1797 | 2003-05-07 Gary R. Van Sickle <g.r.vansickle@worldnet.att.net> |
1798 | ||
1799 | * RECTWrapper.h: New file. | |
1800 | ||
1e3b2ad4 RC |
1801 | 2003-04-12 Robert Collins <rbtcollins@hotmail.com> |
1802 | ||
1803 | * script.cc (Script::extension): Extract method from Script::run. | |
1804 | (Script::run): Extract extension generation to Script::extension. | |
1805 | * script.h (Script::extension): Declare. | |
1806 | ||
2533f348 RC |
1807 | 2003-04-12 Robert Collins <rbtcollins@hotmail.com> |
1808 | ||
1809 | * script.cc (run_script): Remove. | |
1810 | (try_run_script): Inline method run_script. | |
1811 | * script.h (run_script): Remove. | |
1812 | ||
34ea5b6d RC |
1813 | 2003-04-12 Robert Collins <rbtcollins@hotmail.com> |
1814 | ||
1815 | * postinstall.cc (RunScript::operator()): Use new run syntax. | |
1816 | * script.h (Script::run): Eliminate to_log parameter. | |
1817 | * script.cc (Script::run): Ditto. | |
1818 | (run_script): Use new run syntax. | |
1819 | ||
9f27ab95 RC |
1820 | 2003-04-12 Robert Collins <rbtcollins@hotmail.com> |
1821 | ||
1822 | * script.cc (Script::run): Eliminate temp variable 'f2'. | |
1823 | Rename temp variable 'f2' to 'windowsName' for increased clarity. | |
1824 | ||
783ed9c5 RC |
1825 | 2003-04-12 Robert Collins <rbtcollins@hotmail.com> |
1826 | ||
1827 | * script.cc (Script::run): Eliminate temp variable 'fname'. | |
1828 | ||
0900bd5b RC |
1829 | 2003-04-12 Robert Collins <rbtcollins@hotmail.com> |
1830 | ||
1831 | * script.cc (Script::run): Eliminate temp variable 'dir'. | |
1832 | ||
294e5067 RC |
1833 | 2003-04-12 Robert Collins <rbtcollins@hotmail.com> |
1834 | ||
1835 | * script.cc (run_script): Always pass TRUE to Script::run. | |
1836 | * script.h (run_script): Remove optional to_log parameter. | |
1837 | ||
a0e56f67 RC |
1838 | 2003-04-12 Robert Collins <rbtcollins@hotmail.com> |
1839 | ||
1840 | * script.cc (run_script): Move functionality into Script. | |
1841 | (Script::run): Absorb run_script. | |
1842 | ||
8c242540 RC |
1843 | 2003-04-12 Robert Collins <rbtcollins@hotmail.com> |
1844 | ||
1845 | * PickCategoryLine.cc (PickCategoryLine::click): Tell packagemeta we | |
1846 | are about to perform a visit. | |
1847 | * PickPackageLine.cc (PickPackageLine::click): Tell packagemeta we | |
1848 | are about to perform a visit. | |
1849 | * package_db.cc (packagedb::markUnVisited): Convenience wrapper - | |
1850 | mark all packages as unvisited. | |
1851 | * package_db.h (packagedb::markUnVisited): Declare. | |
1852 | * package_meta.cc (packagemeta::PrepareForVisit): New static method | |
1853 | to prepare for a loop-free visit. | |
1854 | (packagemeta::packagemeta): Adjust for new member. | |
1855 | (packagemeta::set_requirements): Only visit a node once. | |
1856 | (packagemeta::visited): Get and Set methods for new member visited_. | |
1857 | * package_meta.h (packagemeta::PrepareForVisit): Declare. | |
1858 | (packagemeta::visited): Declare. | |
1859 | (packagemeta::visited_): Declare. | |
1860 | ||
5f4b0e57 MB |
1861 | 2003-04-07 Max Bowsher <maxb@ukf.net> |
1862 | ||
1863 | * download.cc: Add command line option to suppress MD5 checks. | |
1864 | (validateCachedPackage): Test option and possibly skip. | |
1865 | ||
e46e15bf RC |
1866 | 2003-04-02 Robert Collins <rbtcollins@hotmail.com> |
1867 | ||
1868 | Merge in setup-200303-troubleshooting fixes. | |
1869 | ||
1870 | 2003-04-02 Robert Collins <rbtcollins@hotmail.com> | |
1871 | ||
1872 | * main.cc (NTSecurity::setDefaultDACL): Reinstate commented code. | |
1873 | (NTSecurity::setDefaultSecurity): Ditto. | |
1874 | ||
1875 | 2003-04-02 Robert Collins <rbtcollins@hotmail.com> | |
1876 | ||
1877 | * main.cc (NTSecurity::setDefaultDACL): Use MS calculations for ACL | |
1878 | buffer sizing. | |
1879 | ||
1880 | 2003-04-02 Robert Collins <rbtcollins@hotmail.com> | |
1881 | ||
1882 | * main.cc (NTSecurity::setDefaultDACL): Sanity check memory allocation. | |
1883 | ||
1884 | 2003-04-02 Robert Collins <rbtcollins@hotmail.com> | |
1885 | ||
58b12a06 MB |
1886 | * main.cc (NTSecurity::setDefaultDACL): Adjust commented code for |
1887 | auto_ptr use. | |
e46e15bf RC |
1888 | |
1889 | 2003-04-02 Robert Collins <rbtcollins@hotmail.com> | |
1890 | ||
1891 | * main.cc (NTSecurity::NoteFailedAPI): Helper function. | |
1892 | Use throughout NTSecurity routines. | |
1893 | (NTSecurity::setDefaultDACL): Use dynamic memory for ACL storage. | |
1894 | ||
1895 | 2003-04-02 Robert Collins <rbtcollins@hotmail.com> | |
1896 | ||
58b12a06 MB |
1897 | * main.cc (NTSecurity::setDefaultDACL): Disable ~ 50% of remaining |
1898 | active code. | |
e46e15bf RC |
1899 | |
1900 | 2003-04-02 Robert Collins <rbtcollins@hotmail.com> | |
1901 | ||
1902 | * main.cc (NTSecurity::GroupInfo): Extract group query code. | |
1903 | (NTSecurity::setDefaultDACL): Disable ~ 50% of code. | |
1904 | ||
1905 | 2003-04-02 Robert Collins <rbtcollins@hotmail.com> | |
1906 | ||
58b12a06 MB |
1907 | * main.cc (NTSecurity::setDefaultSecurity): Disable ~ 50% of security |
1908 | code. | |
e46e15bf RC |
1909 | |
1910 | 2003-04-01 Robert Collins <rbtcollins@hotmail.com> | |
1911 | ||
58b12a06 MB |
1912 | * main.cc (NTSecurity::setDefaultSecurity): Remove double declaration of |
1913 | sz. User TokenGroupCollection to abstract token searching logic, | |
1914 | eliminate isadmin and isuser temporary variables. | |
e46e15bf RC |
1915 | (TokenGroupCollection): New class for querying token group information. |
1916 | ||
1917 | 2003-04-01 Robert Collins <rbtcollins@hotmail.com> | |
1918 | ||
1919 | * main.cc (NTSecurity::setDefaultSecurity): Extract esid initialisation. | |
1920 | Move local variables to just before first use. | |
1921 | SetTokenInformationFailures where being handled inconsistently. | |
1922 | Remove assignments from if statements. | |
1923 | (NTSecurity::esid): Rename to everyOneSID. | |
1924 | (NTSecurity::initialiseEveryOneSID): new method. | |
1925 | (NTSecurity::setDefaultDACL): Extract method for default DACL logic. | |
1926 | ||
1927 | 2003-04-01 Robert Collins <rbtcollins@hotmail.com> | |
1928 | ||
1929 | * main.cc (SIDWrapper): Manage SID memory. | |
1930 | (HANDLEWrapper): Likewise for HANDLES. | |
1931 | (NTSecurity): Worker class for set_default_sec(). | |
1932 | (set_default_sec): Move body into NTSecurity::setDefaultSecurity(). | |
58b12a06 MB |
1933 | (NTSecurity::setDefaultSecurity): Eliminate goto out: via memory |
1934 | managing objects. | |
e46e15bf | 1935 | |
da0b54f3 MB |
1936 | 2003-04-01 Gary R. Van Sickle <g.r.vansickle@worldnet.att.net> |
1937 | ||
1938 | * cygwin.ico: Added two new resolutions, 64x64 and 72x72. | |
1939 | ||
3baca7c9 RC |
1940 | 2003-03-29 Robert Collins <rbtcollins@hotmail.com> |
1941 | ||
1942 | * GUIDELINES: New file documenting code guidelines. | |
1943 | ||
11e37aca MB |
1944 | 2003-03-26 Max Bowsher <maxb@ukf.net> |
1945 | ||
1946 | * .cvsignore: Add cfgaux. | |
1947 | ||
18a3405d RC |
1948 | 2003-03-26 Robert Collins <rbtcollins@hotmail.com> |
1949 | ||
11e37aca MB |
1950 | * package_version.cc (_defaultversion::accessible): Override and make |
1951 | always false. | |
1952 | (_packageversion::accessible): Fix a couple of logic bugs resulting in | |
1953 | incorrect trues. | |
18a3405d RC |
1954 | * package_version.h (_packageversion::accessible): Make virtual. |
1955 | ||
39ba3555 MB |
1956 | 2003-03-25 Igor Pechtchanski <pechtcha@cs.nyu.edu> |
1957 | ||
1958 | * threebar.h (WM_APP_START_POSTINSTALL): New message. | |
1959 | (WM_APP_POSTINSTALL_THREAD_COMPLETE): New message. | |
1960 | * threebar.cc (ThreeBarProgressPage::OnMessageApp): | |
1961 | Add handling for WM_APP_START_POSTINSTALL and | |
1962 | WM_APP_POSTINSTALL_THREAD_COMPLETE. | |
1963 | * install.cc (do_install_thread): Set next_dialog to | |
1964 | IDD_S_POSTINSTALL. | |
1965 | * desktop.cc (DesktopSetupPage::OnFinish): Move the | |
1966 | do_postinstall call to ThreeBarProgressPage::OnMessageApp. | |
1967 | * script.h (Script::fullName): New member function. | |
1968 | (Script::run): New member function. | |
1969 | (Script::ETCPostinstall): New static member constant. | |
1970 | * script.cc (Script::fullName): Implement. | |
1971 | (Script::run): Implement. | |
1972 | (Script::ETCPostinstall): Define. | |
1973 | (Script::isAScript): Use ETCPostinstall instead of a | |
1974 | hardcoded string constant. | |
1975 | (run): Enable "#if 0"'d code. | |
1976 | * postinstall.cc (Progress): New extern variable. | |
1977 | (RunFindVisitor::visitFile): Add script to vector | |
1978 | instead of running. | |
1979 | (RunFindVisitor::_scripts): New member variable. | |
1980 | (RunScript): New helper class for use in for_each. | |
1981 | (do_postinstall_thread): Rename do_postinstall to. Add | |
1982 | Progress bar and text setting. Add package count. | |
1983 | (do_postinstall_reflector): New static function. | |
1984 | (do_postinstall): Rename to do_postinstall_thread. | |
1985 | Create a thread instead. | |
1986 | ||
1069407c MB |
1987 | 2003-03-18 Igor Pechtchanski <pechtcha@cs.nyu.edu> |
1988 | ||
1989 | * script.cc (run): Add file_out parameter. | |
1990 | Redirect output of subprocess to file, creating the | |
1991 | path if necessary. Minimize the script window. | |
1992 | (run_script): Add optional to_log boolean parameter. | |
1993 | If to_log, redirect output to temporary file and then | |
1994 | import it into LOG_BABBLE. | |
1995 | (OutputLog): New helper class. | |
1996 | (operator<<): New operation on OutputLog. | |
1997 | * script.h (run_script): Add optional to_log parameter. | |
1998 | * postinstall.cc (RunFindVisitor::visitFile): Instruct | |
1999 | run_script() to log script output. | |
2000 | (do_postinstall): Ditto. | |
2001 | ||
84fd41a9 RC |
2002 | 2003-03-20 Robert Collins <rbtcollins@hotmail.com> |
2003 | ||
2004 | * package_meta.cc (packagemeta::set_action): The logic | |
2005 | test for the default action was reversed. | |
2006 | ||
864a5ec1 MB |
2007 | 2003-03-18 Igor Pechtchanski <pechtcha@cs.nyu.edu> |
2008 | ||
2009 | * postinstall.cc (do_postinstall): Filter out '*.done'. | |
2010 | * FilterVisitor.h: New header file. Declare the | |
2011 | FilterVisitor, Filter, and ExcludeNameFilter classes. | |
2012 | * FilterVisitor.cc: New file. Implement FilterVisitor, | |
2013 | Filter, and ExcludeNameFilter. | |
2014 | * String++.h (String::matches): New instance function. | |
2015 | * String++.cc (String::matches): Implement. | |
2016 | (strmatch) Import and adapt for <buf,len> strings. | |
2017 | * Makefile.am (setup_SOURCES): Add FilterVisitor.cc and | |
2018 | FilterVisitor.h to value. | |
2019 | ||
560ac5e2 MB |
2020 | 2002-03-18 Max Bowsher <maxb@ukf.net> |
2021 | ||
2022 | * LogFile.cc (LogFile::exit): Use CRT exit() instead of ExitProcess(). | |
2023 | Use passed exit_code even if been_here. | |
2024 | Remove incorrect _CYGWIN_ preprocessor conditional. | |
2025 | ||
ad646f43 RC |
2026 | 2003-03-16 Robert Collins <rbtcollins@hotmail.com> |
2027 | ||
e0312c44 RC |
2028 | * package_db.h (PackageDBConnectedIterator): Typedef |
2029 | for connected loop detection collection iterator. | |
2030 | * package_db.cc (ConnectedLoopDetector): An | |
2031 | implementation of R.E. Tarjans strongly connected | |
2032 | set visitor algorithm. | |
2033 | * postinstall.cc (do_postinstall): Use the new iterator | |
2034 | for visiting postinstall scripts. | |
ad646f43 RC |
2035 | |
2036 | 2003-03-16 Robert Collins <rbtcollins@hotmail.com> | |
2037 | ||
2038 | * install.cc: Introduce Installer class. | |
2039 | (init_dialog): Rename to Installer::initDialog. | |
2040 | (progress): Rename to Installer::progress. | |
2041 | (standard_dirs): Rename to Installer::StandardDirs. | |
2042 | (uninstall_one): Rename to Installer::uninstallOne. | |
2043 | (replace_one): Rename to Installer::replaceOne. | |
e0312c44 RC |
2044 | (log_ror_failure): Rename to |
2045 | Installer::replaceOnRebootFailed. | |
2046 | (log_ror_success): Rename to | |
2047 | Installer::replaceOnRebootSucceeded. | |
ad646f43 RC |
2048 | (install_one_source): Rename to Installer::installOneSource. |
2049 | Note script files as they are installed. | |
2050 | * package_version.cc (packageversion::addScript): Implement. | |
2051 | (packageversion::scripts): Implement. | |
e0312c44 RC |
2052 | * package_version.h (packageversion::addScript): Record the |
2053 | presence of a script. | |
ad646f43 | 2054 | * script.h (Script): New class to track scripts. |
e0312c44 RC |
2055 | * postinstall.cc (do_postinstall): Iterate through the |
2056 | package listed scripts before searching for scripts. | |
2057 | * String++.cc (String::substr): Second argument needed to | |
2058 | be signed. | |
2059 | * String++.h (String::substr): Second argument needed to | |
2060 | be signed. | |
ad646f43 | 2061 | |
c0a46d04 MB |
2062 | 2003-03-16 Max Bowsher <maxb@ukf.net> |
2063 | ||
2064 | * .cvsignore: Create, to ignore configure, aclocal.m4, Makefile.in and | |
2065 | autom4te.cache. | |
2066 | ||
3d7ae5a2 MB |
2067 | 2003-03-16 Max Bowsher <maxb@ukf.net> |
2068 | ||
2069 | * UserSettings.cc (UserSettings::Instance): Remove premature return. | |
2070 | ||
92f9402a RC |
2071 | 2003-03-15 Robert Collins <rbtcollins@hotmail.com> |
2072 | ||
2073 | * script.cc (run): Rename variable b to createSucceeded. | |
2074 | ||
2075 | 2003-03-15 Igor Pechtchanski <pechtcha@cs.nyu.edu> | |
2076 | ||
2077 | * script.cc (run): Close unneeded handles. | |
2078 | ||
b49f570f RC |
2079 | 2003-03-15 Robert Collins <rbtcollins@hotmail.com> |
2080 | ||
2081 | * configure: Remove. | |
2082 | * aclocal.m4: Remove. | |
2083 | * Makefile.in: Remove. | |
2084 | * cfgaux: Remove. | |
2085 | * cfgaux/compile: Remove. | |
2086 | * cfgaux/config.guess: Remove. | |
2087 | * cfgaux/config.sub: Remove. | |
2088 | * cfgaux/depcomp: Remove. | |
2089 | * cfgaux/install-sh: Remove. | |
2090 | * cfgaux/ltmain.sh: Remove. | |
2091 | * cfgaux/missing: Remove. | |
2092 | * cfgaux/mkinstalldirs: Remove. | |
2093 | ||
b6001c0d MB |
2094 | 2003-03-14 Igor Pechtchanski <pechtcha@cs.nyu.edu> |
2095 | ||
2096 | * install.cc (replace_one): Clear Text3. | |
2097 | ||
46ccc05f MB |
2098 | 2003-03-14 Igor Pechtchanski <pechtcha@cs.nyu.edu> |
2099 | ||
2100 | * install.cc (install_one_source): Add logging for successful | |
2101 | replace-on-reboot scheduling. Factor out duplicate code. | |
2102 | Set rebootneeded on Win9x. | |
2103 | (log_ror_failure): New static function. | |
2104 | (log_ror_success): New static function. | |
2105 | ||
c27b09ba RC |
2106 | 2003-03-14 Robert Collins <rbtcollins@hotmail.com> |
2107 | ||
2108 | * choose.cc (ChooserPage::OnNext): Fix iterator bug. Reported by | |
2109 | Igor Pechtchanski <pechtcha@cs.nyu.edu>. | |
2110 | ||
a081d4ff MB |
2111 | 2003-03-13 Max Bowsher <maxb@ukf.net> |
2112 | ||
2113 | * Update included zlib to 1.1.4. | |
2114 | ||
f430003c RC |
2115 | 2003-03-13 Robert Collins <rbtcollins@hotmail.com> |
2116 | ||
46ccc05f MB |
2117 | * install.cc (do_install_thread): Use a query method rather than temp |
2118 | variable do_skip. | |
f430003c | 2119 | |
46ccc05f | 2120 | 2003-03-09 Pavel Tsekov <ptsekov@gmx.net> |
f430003c RC |
2121 | |
2122 | * install.cc (do_install_thread): Use IDS_SKIP_PACKAGE | |
2123 | instead of IDS_CORRUPT_PACKAGE when asking the user to take | |
2124 | action if the hash verification check fails for a source package. | |
2125 | Do not increase the value of 'total_bytes' variable if the | |
2126 | user chooses to skip over a package, which failed the hash | |
2127 | verification. | |
2128 | ||
48c7d667 MB |
2129 | 2003-03-10 Max Bowsher <maxb@ukf.net> |
2130 | ||
2131 | * Makefile.am: Add foreign to AUTOMAKE_OPTIONS. | |
2132 | ||
aaeee283 RC |
2133 | 2003-03-10 Robert Collins <rbtcollins@hotmail.com> |
2134 | ||
2135 | * UserSettings.cc (UserSettings::init): Really initialize all members. | |
2136 | ||
ead15931 RC |
2137 | 2003-03-10 Robert Collins <rbtcollins@hotmail.com> |
2138 | ||
2139 | * Exception.h: Add a logic error exception id. | |
2140 | * Makefile.am: Add new sources. | |
2141 | * UserSettings.cc: New file. | |
2142 | * UserSettings.h: New file. | |
2143 | * UserSetting.cc: New file. | |
2144 | * UserSetting.h: New file. | |
2145 | * site.h: Add a SiteSetting as example of a UserSetting. | |
46ccc05f MB |
2146 | * site.cc (ChosenSites): Add a instance of SiteSetting to trigger |
2147 | registration. | |
ead15931 | 2148 | |
c1754473 RC |
2149 | 2003-03-10 Robert Collins <rbtcollins@hotmail.com> |
2150 | ||
46ccc05f MB |
2151 | * compress_bz.cc (compress_bz::read): Adjust incorrect assignment of |
2152 | lasterr. | |
c1754473 RC |
2153 | (compress_bz::error): Return lasterr which will indicate any error. |
2154 | ||
52620058 RC |
2155 | 2003-03-10 Robert Collins <rbtcollins@hotmail.com> |
2156 | ||
2157 | * choose.h (ChooserPage): Override OnActivate. | |
46ccc05f MB |
2158 | * choose.cc (ChooserPage::OnActivate): Refresh the current view when |
2159 | activating the dialog. | |
52620058 | 2160 | |
6e754226 RC |
2161 | 2003-03-09 Robert Collins <rbtcollins@hotmail.com> |
2162 | ||
46ccc05f MB |
2163 | * package_version.cc (_defaultversion::pick(bool)): Override this and |
2164 | do nothing. | |
2165 | (packageversion::pick(bool): Use a mutator function rather than direct | |
2166 | member access. | |
2167 | * package_version.h (_packageversion::pick(bool)): Move method from | |
2168 | _packageversion. | |
6e754226 | 2169 | |
970149e8 RC |
2170 | 2003-02-16 Pavel Tsekov <ptsekov@gmx.net> |
2171 | ||
2172 | * install.cc (install_one_source): Remove the MD5 verification | |
2173 | code. | |
2174 | Delay the creation of the package listing file. | |
2175 | (do_install_thread): Check the hashes for packages which need | |
2176 | to be installed before the uninstall step. Allow the user to | |
2177 | skip over packages, which fail the hash verification. | |
2178 | (md5_one): Define new function. | |
2179 | * res.rc (IDS_SKIP_PACKAGE): New string resource. | |
2180 | * resource.h (IDS_SKIP_PACKAGE): New macro definition. | |
2181 | ||
f37b36a3 RC |
2182 | 2003-02-16 Pavel Tsekov <ptsekov@gmx.net> |
2183 | ||
2184 | * Exception.h: Declare new constructor. | |
2185 | (Exception::_message): Change the type from 'const char *' to | |
2186 | 'class String'. | |
2187 | (Exception::~Exception): Implement destructor (make gcc shut up). | |
2188 | * Exception.cc: Implement new constructor. | |
2189 | (Exception::what): Use String::cstr_oneuse (). | |
2190 | * download.cc (validateCachedPackage): Use the constructor, which | |
2191 | takes String& as its second argument, when throwing objects | |
2192 | of type Exception. | |
2193 | (check_for_cached): Ditto. | |
2194 | * install.cc (install_one_source): Ditto. | |
2195 | ||
eef9ea26 RC |
2196 | 2003-02-01 Igor Pechtchanski <pechtcha@cs.nyu.edu> |
2197 | ||
2198 | * res.rc (IDS_INSTALL_INCOMPLETE): Change hard-coded | |
2199 | log filename to %s. | |
2200 | (IDS_MISSING_LOG): New string resource. | |
2201 | * resource.h (IDS_MISSING_LOG): New resource. | |
2202 | * LogFile.cc (LogFile::exit): Pass log filename for | |
2203 | LOG_BABBLE to note(). | |
2204 | (LogFile::getFileName): New function. | |
2205 | * LogFile.h (LogFile::getFileName): New function. | |
2206 | ||
514b100e RC |
2207 | 2003-02-01 Igor Pechtchanski <pechtcha@cs.nyu.edu> |
2208 | ||
2209 | * String++.cc: Don't include concat.h. | |
2210 | * Makefile.am: Remove concat.cc and concat.h references. | |
2211 | * concat.h: Remove. | |
2212 | * concat.cc: Remove. | |
2213 | ||
56c60dcc MB |
2214 | 2003-03-09 Max Bowsher <maxb@ukf.net> |
2215 | ||
2216 | * bootstrap.sh: Add sanity check of current directory. | |
2217 | Recurse into libgetopt++ if needed. | |
2218 | ||
4f4b9def RC |
2219 | 2003-03-09 Robert Collins <rbtcollins@hotmail.com> |
2220 | ||
2221 | * Update readme of bugs and wishes. | |
2222 | ||
ed6137e5 MB |
2223 | 2003-03-05 Max Bowsher <maxb@ukf.net> |
2224 | ||
2225 | * netio.cc (save_dialog): Allocate an empty string if the password is | |
2226 | null, so that an empty password is accepted elsewhere in setup. | |
2227 | (check_if_enable_ok): An empty password is OK. | |
2228 | ||
e0aec95e MB |
2229 | 2003-03-05 Brian Keener <bkeener@thesoftwaresource.com> |
2230 | ||
ed6137e5 | 2231 | * PickView.cc (PickView::views): Add two new views for Skipped |
e0aec95e MB |
2232 | packages and Installed Packages not requiring update. |
2233 | (PickView::set_headers () ): Ditto. | |
2234 | (PickView::clear_view (void) ): Ditto. | |
2235 | (PickView::views::caption () ): Add two new captions for the new | |
2236 | views added for Skipped and Installed Packages. | |
2237 | (PickView::scroll () ): Modify Scroll Bar property to Disable | |
ed6137e5 | 2238 | instead of disappearing when there is nothing to Scroll. |
e0aec95e MB |
2239 | * PickView.h: Add two new views for Skipped packages and Installed |
2240 | packages to public class view. | |
2241 | * choose.cc (list_click () ): Modify Scroll Bar property to Disable | |
ed6137e5 | 2242 | instead of disappearing when there is nothing to Scroll. |
e0aec95e MB |
2243 | (listview_proc () ): Ditto. |
2244 | (set_view_mode): Add two new views for Skipped Packages and Installed | |
2245 | Packages not requiring update. Modify Scroll Bar property to Disable | |
2246 | instead of disappearing when there is nothing to scroll. | |
2247 | * res.rc (IDD_CHOOSE): Reposition Radio Buttons, View Selection | |
2248 | Button and View Button Caption to make room for longer captions. | |
2249 | ||
c7fb2f36 MB |
2250 | 2003-03-04 Max Bowsher <maxb@ukf.net> |
2251 | ||
2252 | * compress_gz.cc (compress_gz::construct): | |
2253 | Fix broken checkin dated 2002-07-03. | |
2254 | ||
d5be1d23 MB |
2255 | 2003-02-28 Max Bowsher <maxb@ukf.net> |
2256 | ||
2257 | * main.cc (set_default_sec): Add logging. | |
2258 | ||
adaa168a MB |
2259 | 2003-02-28 Pierre Humblet <pierre.humblet@ieee.org> |
2260 | ||
2261 | * main.cc (set_default_dacl): Replace with set_default_sec. | |
2262 | (set_default_sec): Attempt to change the default group to | |
2263 | Users or Administrators if it is None, in addition to setting | |
2264 | Everyone in the default DACL. | |
2265 | (main): Call set_default_sec instead of set_default_dacl. | |
2266 | ||
3a8d1127 MB |
2267 | 2003-01-31 Max Bowsher <maxb@ukf.net> |
2268 | ||
2269 | * install.cc (install_one_source): Fix spacing in log message. | |
2270 | ||
c7230a28 MB |
2271 | 2003-01-19 Max Bowsher <maxb@ukf.net> |
2272 | ||
2273 | * resource.h (IDC_CHOOSE_KEEP): Define. | |
2274 | * res.rc (IDD_CHOOSE): Add radio button IDC_CHOOSE_KEEP. | |
2275 | * choose.cc (create_listview): Add IDC_CHOOSE_KEEP to ta[]. | |
2276 | (ChooserPage::OnMessageCmd): Handle new IDC_CHOOSE_KEEP button. | |
2277 | ||
ac949c48 MB |
2278 | 2003-01-15 Max Bowsher <maxb@ukf.net> |
2279 | ||
2280 | * mkdir.cc [_CYGWIN_]: Implement what was pseudocode. | |
2281 | * io_stream.h [__CYGWIN__]: Don't typedef ssize_t. | |
2282 | * proppage.h: Include "win32.h" instead of <windows.h>. | |
2283 | ||
4f618d88 MB |
2284 | 2003-01-15 Max Bowsher <maxb@ukf.net> |
2285 | ||
2286 | * mount.cc [MAINTAINER_FEATURES]: Add --override-registry-name option. | |
2287 | ||
1606c4e9 MB |
2288 | 2002-12-11 Abraham Backus <abraham@backus.com> |
2289 | ||
2290 | * nio-http.cc (NetIO_HTTP::NetIO_HTTP): Leave port out of Host header, | |
2291 | unless non-default. | |
2292 | ||
c4e25cde MB |
2293 | 2002-12-11 Max Bowsher <maxb@ukf.net> |
2294 | ||
2295 | * package_meta.cc: Change 'endl' to 'endLog' as appropriate. | |
2296 | * package_version.cc: Ditto. | |
2297 | ||
bfdf6ac2 MB |
2298 | 2002-09-22 Max Bowsher <maxb@ukf.net> |
2299 | ||
2300 | * PickView.cc (pkg_headers): Rename column 'Category' to 'Categories'. | |
2301 | * package_meta.h (packagemeta::getReadableCategoryList): Declare. | |
2302 | * package_meta.cc (packagemeta::getReadableCategoryList): Implement. | |
2303 | * PickPackageLine.cc (PickPackageLine::paint): Change to use | |
2304 | getReadableCategoryList. | |
2305 | Fix x2 argument to IntersectClipRect. | |
2306 | ||
63c82708 RC |
2307 | 2002-11-25 Gary R. Van Sickle <g.r.vansickle@worldnet.att.net> |
2308 | ||
2309 | * window.h (Window::GetWindowRect): New method declaration. | |
2310 | (Window::GetClientRect): Ditto. | |
2311 | (Window::MoveWindow): Ditto. | |
2312 | (Window::ScreenToClient): Ditto. | |
2313 | * window.cc (REFLECTION_INFO): Remove. | |
2314 | (ReflectionInfo): Remove. | |
2315 | (Window::FirstWindowProcReflector): Use the WM_NCCREATE message instead | |
2316 | of the horrid REFLECTION_INFO hack to hook the Window instance to the | |
2317 | HWND instance. | |
2318 | (Window::WindowProcReflector): Use GetWindowLongPtr() now that it's | |
2319 | available. | |
2320 | (Window::Create): Change to use new WM_NCCREATE reflection procedure | |
2321 | above. | |
2322 | (Window::GetWindowRect): New method. | |
2323 | (Window::GetClientRect): New method. | |
2324 | (Window::MoveWindow): New method. | |
2325 | (Window::CenterWindow): Use new methods, also specify "::" for some non- | |
2326 | member functions with the same names. | |
2327 | (Window::ScreenToClient): New method. | |
2328 | ||
58983805 RC |
2329 | 2002-11-26 Robert Collins <rbtcollins@hotmail.com> |
2330 | ||
2331 | * AntiVirus.cc: Change the short option again! It's now 'A'. | |
2332 | * desktop.cc (etc_profile): Remove. | |
2333 | (make_etc_profile): Remove. | |
2334 | (uexists): Remove. | |
2335 | (make_passwd_group): Remove. | |
2336 | (do_desktop_setup): Don't call removed functions. | |
2337 | ||
b2028692 RC |
2338 | 2002-11-26 Robert Collins <rbtcollins@hotmail.com> |
2339 | ||
2340 | * nio-ftp.cc (NetIO_FTP::NetIO_FTP): Fix my botched application of | |
2341 | Marcel's patch. | |
2342 | ||
2d8e4784 RC |
2343 | 2002-07-08 Marcel Telka <marcel@telka.sk> |
2344 | ||
b2028692 | 2345 | * nio-ftp.cc (NetIO_FTP::NetIO_FTP): Fixed decoding of the FTP |
2d8e4784 RC |
2346 | reply (code 227) to the PASV command. |
2347 | ||
3a87705e RC |
2348 | 2002-11-26 Robert Collins <rbtcollins@hotmail.com> |
2349 | ||
2350 | * IniDBBuilderPackage.cc (IniDBBuilderPackage::~IniDBBuilderPackage): | |
2351 | Sort the packages db once all the new packages have been added. | |
2352 | * IniDBBuilderPackage.h (IniDBBuilderPackage::~IniDBBuilderPackage): | |
2353 | Declare this. | |
2354 | ||
bd4e91a7 RC |
2355 | 2002-11-26 Robert Collins <rbtcollins@hotmail.com> |
2356 | ||
2357 | * choose.cc (ChooserPage::OnNext): Remove extracted comment. | |
2358 | * package_version.cc (processOneDependency): Return once selecting | |
2359 | a package (bugfix to prevous rework). | |
2360 | Log if the default trust fails the package specification. | |
2361 | ||
f416a2b6 RC |
2362 | 2002-11-26 Robert Collins <rbtcollins@hotmail.com> |
2363 | ||
2364 | * package_meta.h (packagemeta::logAllVersions): Declare. | |
2365 | (packagemeta::trustLabel): Ditto. | |
2366 | * choose.cc (ChooserPage::OnNext): Get each package to log all it's | |
2367 | versions. | |
2368 | * package_meta.cc (packagemeta::logAllVersions): Implement. | |
2369 | (packagemeta::trustLabel): Ditto. | |
2370 | ||
14485ab2 RC |
2371 | 2002-11-25 Robert Collins <rbtcollins@hotmail.com> |
2372 | ||
2373 | * AntiVirus.cc: Change 'd' to 'D' to fix command line conflict. | |
2374 | ||
f9e903a3 RC |
2375 | 2002-11-25 Robert Collins <rbtcollins@hotmail.com> |
2376 | ||
2377 | * AntiVirus.cc: New file. | |
2378 | * AntiVirus.h: Ditto. | |
2379 | * LogFile.cc: Include AntiVirus.h for class definition. | |
2380 | (LogFile::exit): Trigger AntiVirus::AtExit(). | |
2381 | * MakeFile.am(setup_SOURCES): Add AntiVirus files. | |
2382 | * autoload.c: Declare Service Control Manager related API's. | |
2383 | * main.cc: Include AntiVirus.h for class definition. | |
2384 | (main): Add the AntiVirus page in. | |
2385 | * res.rc: Define IDD_VIRUS. | |
2386 | * resource.h: Define IDD_VIRUS related control ID's. | |
2387 | * splash.h: Override OnNext. | |
2388 | * splash.cc: Only show AntiVirus page when one has been detected. | |
2389 | * source.cc: Ditto. | |
2390 | ||
05c5b8a6 RC |
2391 | 2002-11-25 Robert Collins <rbtcollins@hotmail.com> |
2392 | ||
2393 | * package_version.cc (DependencyProcessor): Create convenience class. | |
2394 | (select): Extract version selection method. | |
2395 | (processOneDependency): Check for a satisfactory trusted version | |
2396 | first. | |
2397 | ||
2398 | 2002-11-10 Robert Collins <rbtcollins@hotmail.com> | |
15004270 RC |
2399 | |
2400 | * main.cc (main): Use the factory for LogFile. | |
2401 | * String++.cc: Update to use sstream. | |
58b12a06 | 2402 | (String::String): Use a ostringstream for libC++ 3.2. |
15004270 RC |
2403 | * LogFile.h (LogFile): Make createLogFile static. |
2404 | ||
05c5b8a6 | 2405 | 2002-11-10 Robert Collins <rbtcollins@hotmail.com> |
51629951 RC |
2406 | |
2407 | * main.cc (main): Oops, pass LogSingleton a reference, not a pointer. | |
2408 | ||
666bf37d RC |
2409 | 2002-11-04 Max Bowsher <maxb@ukf.net> |
2410 | ||
2411 | * Exception.h (Exception::what): Add throw() specification, | |
2412 | to agree with libstdc++-v3. | |
2413 | * Exception.cc (Exception::what): Ditto. | |
2414 | * IniDBBuilderPackage.h: Add 'std::' where needed. | |
2415 | * PickCategoryLine.h: Ditto. | |
2416 | * category.h: Ditto. | |
2417 | * package_db.h: Ditto. | |
2418 | * package_meta.h: Ditto. | |
2419 | * package_source.h: Ditto. | |
2420 | * package_version.h: Ditto. | |
2421 | * site.h: Ditto. | |
2422 | * win32.h: Define NOMINMAX before including <windows.h>. | |
2423 | * package_meta.cc: Add 'using namespace std;'. | |
2424 | (packagemeta::set_requirements): Remove default parameter values | |
2425 | from definition (gcc3 likes them only in declaration). | |
2426 | * package_version.cc: Add 'using namespace std;'. | |
2427 | (packageversion::set_requirements): Remove default parameter | |
2428 | values from definition (gcc3 likes them only in declaration). | |
2429 | ||
37decc22 RC |
2430 | 2002-11-10 Robert Collins <rbtcollins@hotmail.com> |
2431 | ||
2432 | * compress_bz.cc: Don't include bzlib.h directly, the compress_bz.h | |
2433 | header includes it. | |
2434 | ||
2435 | 2002-11-04 Max Bowsher <maxb@ukf.net> | |
2436 | ||
2437 | * compress_bz.h: #undef small before including bzlib.h - if we are | |
2438 | going to hide the fact that we are _WIN32 from bzlib, then we need | |
2439 | to #undef small for it as well (bad windows.h clash). | |
2440 | ||
a55c8f45 RC |
2441 | 2002-11-10 Robert Collins <rbtcollins@hotmail.com> |
2442 | ||
2443 | * localdir.cc: Update the extern LogFile to be a pointer. | |
2444 | (save_local_dir): Change . to -> for the above. | |
2445 | * main.cc (theFile): Change from an instance to a pointer. | |
2446 | (main): Change . to -> for the above. | |
2447 | ||
c83c52d8 RC |
2448 | 2002-11-10 Robert Collins <rbtcollins@hotmail.com> |
2449 | ||
2450 | * LogFile.cc: use 'std::' where needed throughout. | |
2451 | (LogFile::createLogFile): Implement a factory for LogFile. | |
2452 | (LogFile::LogFile): Update for use with the factory, and to | |
2453 | handle the latest g++ library changes. | |
2454 | (LogFile::operator()): Ditto. | |
2455 | (LogFile::endEntry()): Ditto. | |
2456 | * LogFile.h: Ditto. | |
2457 | * LogSingleton.cc: Ditto. | |
2458 | * LogSingleton.h: Ditto. | |
2459 | ||
318af134 RC |
2460 | 2002-11-04 Max Bowsher <maxb@ukf.net> |
2461 | ||
2462 | * String++.h: Add 'std::' where needed. | |
2463 | ||
6625e635 RC |
2464 | 2002-11-04 Max Bowsher <maxb@ukf.net> |
2465 | ||
2466 | * IniDBBuilderPackage.cc: Add 'using namespace std;'. | |
2467 | * IniParseFindVisitor.cc: Ditto. | |
2468 | * LogFile.cc: Ditto. | |
2469 | * LogSingleton.cc: Ditto. | |
2470 | * PickView.cc: Ditto. | |
2471 | * String++.cc: Ditto. | |
2472 | * choose.cc: Ditto. | |
2473 | * download.cc: Ditto. | |
2474 | * find.cc: Ditto. | |
2475 | * install.cc: Ditto. | |
2476 | * io_stream.cc: Ditto. | |
2477 | * io_stream_file.cc: Ditto. | |
2478 | * package_db.cc: Ditto. | |
2479 | * root.cc: Ditto. | |
2480 | * site.cc: Ditto. | |
2481 | ||
955bf437 RC |
2482 | 2002-11-04 Max Bowsher <maxb@ukf.net> |
2483 | ||
2484 | * LogSingleton.h: Add 'std::' where needed. | |
2485 | ||
b34fb59f RC |
2486 | 2002-11-04 Max Bowsher <maxb@ukf.net> |
2487 | ||
2488 | * archive_tar_file.cc: Include <algorithm>. | |
2489 | Change min(a,b) to std::min(a,b) | |
2490 | * compress_bz.cc: Ditto. | |
2491 | * compress_gz.cc: Ditto. | |
2492 | ||
326fbcb8 RC |
2493 | 2002-11-04 Max Bowsher <maxb@ukf.net> |
2494 | ||
2495 | * res.rc: Change a #-comment (invalid) to a //-comment. | |
2496 | ||
4361306f RC |
2497 | 2002-11-04 Max Bowsher <maxb@ukf.net> |
2498 | ||
2499 | * Makefile.am (%.o: %.rc): Make windres use $(CC) not hardcoded gcc. | |
58b12a06 MB |
2500 | (inilint_LDADD): Remove -lstd++. |
2501 | (setup_LDADD): Ditto. | |
4361306f | 2502 | |
05d7b7f2 RC |
2503 | 2002-09-22 Max Bowsher <maxb@ukf.net> |
2504 | ||
2505 | * IniDBBuilderPackage.cc: Update DEBUG code to current class | |
2506 | layout. | |
2507 | ||
f2ff9838 RC |
2508 | 2002-09-21 Robert Collins <rbtcollins@hotmail.com> |
2509 | ||
2510 | * choose.h: Add OnUnattended method. | |
2511 | * desktop.cc (DesktopSetupPage::OnInit): Allow fine grained | |
2512 | control via command line options. | |
2513 | (DesktopSetupPage::OnUnattended): Implement. | |
2514 | (DesktopSetupPage::OnMessageApp): Implement. | |
2515 | * desktop.h (DesktopSetupPage::OnUnattended): declare. | |
2516 | (DesktopSetupPage::OnMessageApp): Ditto. | |
2517 | * download.cc (do_download_thread): Support unattended mode. | |
2518 | * install.cc (do_install_thread): Ditto. | |
2519 | * localdir.h: Ditto. | |
2520 | * main.cc (main): Ditto. | |
2521 | * net.cc (NetPage::OnUnattended): Ditto. | |
2522 | * net.h (NetPage::OnUnattended): Declare. | |
2523 | * proppage.cc (PropertyPage::DialogProc): Support unattended mode. | |
2524 | * proppage.h (PropertyPage::OnUnattended): Declare. | |
2525 | * root.cc (RootPage::OnInit): Support unattended mode. | |
2526 | (RootPage::OnUnattended): Implement. | |
2527 | * root.h (RootPage::OnUnattended): Declare. | |
2528 | * site.cc (register_saved_site): Extract Method from get_saved_sites. | |
2529 | (get_saved_sites): Remove common code for adding a site. | |
2530 | (SitePage::OnInit): Support unattended mode. | |
2531 | (SitePage::OnUnattended): Implement. | |
2532 | * site.h (SitePage::OnUnattended): Declare. | |
2533 | * source.cc (SourcePage::OnActivate): Support unattended mode. | |
2534 | (SourcePage::OnUnattended): Implement. | |
2535 | * source.h (SourcePage::OnUnattended): Declare. | |
2536 | * splash.h (SplashPage::OnUnattended): Declare. | |
2537 | * state.cc (unattended_mode): Declare. | |
2538 | * state.h (unattended_mode): Declare. | |
2539 | * threebar.h (ThreeBarProgressPage::OnUnattended): New method. | |
2540 | ||
707f3d66 RC |
2541 | 2002-09-21 Robert Collins <rbtcollins@hotmail.com> |
2542 | ||
2543 | * res.rc: Commit Harry Johnston's dialog caption patch. From July. | |
2544 | ||
ec13f13c RC |
2545 | 2002-07-15 Robert Collins <rbtcollins@hotmail.com> |
2546 | ||
2547 | * package_version.cc (packageversion::sources): Implement this. | |
2548 | * download.cc (do_download_thread): Support multiple files per package. | |
2549 | ||
e5662e0a RC |
2550 | 2002-07-15 Robert Collins <rbtcollins@hotmail.com> |
2551 | ||
2552 | * package_version.h (packageversion::sources): Support multiple files in | |
2553 | a single package version. | |
2554 | * package_version.cc (_packageversion::accessible): Ditto. | |
2555 | (packageversion::source): Ditto. | |
2556 | ||
60daae94 RC |
2557 | 2002-07-15 Robert Collins <rbtcollins@hotmail.com> |
2558 | ||
2559 | * iniparse.y: Implement support for multiple source files for a source | |
2560 | package. | |
2561 | * IniDBBuilder.h (IniDBBuilder::buildSourceFile): Ditto. | |
2562 | * IniDBBuilderPackage.h (IniDBBuilder::buildSourceFile): Ditto. | |
2563 | * IniDBBuilder.cc (IniDBBuilder::buildSourceFile): Ditto. | |
2564 | * IniDBBuilderPackage.cc (IniDBBuilder::buildSourceFile): Implement a | |
2565 | stub as preparation. | |
2566 | ||
4f591f9d RC |
2567 | 2002-07-13 Robert Collins <rbtcollins@hotmail.com> |
2568 | ||
2569 | * PickPackageLine.cc (PickPackageLine::click): Set requirements for | |
2570 | packages under all circumstances - slightly higher overheader, simpler | |
2571 | code. | |
2572 | * download.cc (do_download_thread): Correctly download source | |
2573 | packages. | |
2574 | * package_meta.cc (checkForInstalled): Remove. | |
2575 | (checkForUpgradeable): Ditto. | |
2576 | (checkForSatisfiable): Ditto. | |
2577 | (processOneDependency): Ditto. | |
2578 | (packagemeta::set_requirements): Move guts to packageversion. | |
2579 | * package_version.cc (checkForInstalled): Copied from package_meta.cc. | |
2580 | (checkForUpgradeable): Ditto. | |
2581 | (checkForSatisfiable): Ditto. | |
2582 | (processOneDependency): Ditto. | |
2583 | (packageversion::set_requirements): Ditto. | |
2584 | * package_version.h (packageversion::set_requirements): Declare. | |
2585 | ||
b1ff53ed RC |
2586 | 2002-07-13 Robert Collins <rbtcollins@hotmail.com> |
2587 | ||
2588 | * IniDBBuilder.cc (IniDBBuilder::buildBeginBuildDepends): Implement. | |
2589 | (IniDBBuilder::buildBeginBinary): Implement. | |
2590 | * IniDBBuilder.h (IniDBBuilder::buildBeginBuildDepends): Declare. | |
2591 | (IniDBBuilder::buildBeginBinary): Ditto. | |
2592 | * IniDBBuilderPackage.cc (IniDBBuilderPackage::buildBeginBuildDepends): | |
2593 | Implement. | |
2594 | (IniDBBuilderPackage::buildBeginBinary): Ditto. | |
2595 | * IniDBBuilderPackage.h (IniDBBuilderPackage::buildBeginBuildDepends): | |
2596 | Declare. | |
2597 | (IniDBBuilderPackage::buildBeginBinary): Ditto. | |
2598 | * inilex.l: Recognise Build-Depends-Indep, [,], >, < and remove | |
2599 | T_UNKNOWN. | |
2600 | * iniparse.y: Full support for parsing a debian Sources file in-line in | |
2601 | setup.ini. | |
2602 | * package_version.cc (packageversion::binaries): Implement. | |
2603 | * package_version.h (packageversion::binaries): Declare list of what | |
2604 | packages are created from a given source package. | |
2605 | (_packageversion::binaries): Ditto. | |
2606 | ||
233a3e17 RC |
2607 | 2002-07-10 Robert Collins <rbtcollins@hotmail.com> |
2608 | ||
2609 | * iniparse.y: Add basis for support for parsing a debian Sources file. | |
2610 | * inilex.l: Ditto. | |
2611 | ||
cfae3b8d RC |
2612 | 2002-07-09 Robert Collins <rbtcollins@hotmail.com> |
2613 | ||
2614 | Change custom container code for packagedb::packages to STL containers | |
2615 | throughout. | |
2616 | * IniDBBuilderPackage.cc: Ditto. | |
2617 | * PickView.cc: Ditto. | |
2618 | * choose.cc: Ditto. | |
2619 | * desktop.cc: Ditto. | |
2620 | * download.cc: Ditto. | |
2621 | * install.cc: Ditto. | |
2622 | * package_db.cc: Ditto. | |
2623 | * package_db.h: Ditto. | |
2624 | * Makefile.am: Remove list.h references. | |
2625 | * list.h: Remove. | |
2626 | ||
09130e58 RC |
2627 | 2002-07-08 Max Bowsher <maxb@ukf.net> |
2628 | ||
2629 | * PickView.cc (PickView::PickView): Set font of package list header to | |
2630 | the same as used in the rest of the package list. | |
2631 | ||
a75ed5ce RC |
2632 | 2002-07-08 Robert Collins <rbtcollins@hotmail.com> |
2633 | ||
2634 | * install.cc (NoReplaceOnReboot): New command line option to prevent | |
2635 | replacing in use files. | |
2636 | (install_one_source): Check the option and use it. | |
2637 | * README: Update TODO lists. | |
2638 | ||
0cf68afd RC |
2639 | 2002-07-08 Robert Collins <rbtcollins@hotmail.com> |
2640 | ||
2641 | * PickCategoryLine.cc: Change bucket to use STL container syntax | |
2642 | throughout. | |
2643 | (PickCategoryLine::paint): Use new Category type syntax. | |
2644 | * PickCategoryLine.h: Use STL vectors rather than custom containers | |
2645 | throughout. | |
2646 | * IniDBBuilderPackage.cc (IniDBBuilderPackage::buildPackageCategory): | |
2647 | Use new add_category syntax. | |
2648 | * PickView.cc (PickView::insert_pkg): Use new Category type syntax. | |
2649 | (PickView::insert_category): Ditto. | |
2650 | (PickView::init_headers): Ditto. | |
2651 | * category.cc: Trim obsolete code. | |
2652 | * category.h: Replace interconnecting class with a typedef to | |
2653 | facilitate leveraging STL maps. | |
2654 | * choose.cc (fill_missing_category): Use updated pkg.add_category | |
2655 | syntax. | |
2656 | (default_trust): Use new Category type syntax. | |
2657 | (set_view_mode): Ditto. | |
2658 | (create_listview): Ditto. | |
2659 | * package_db.cc (categories): Ditto. | |
2660 | * package_db.h: Update headers list to include needed headers. | |
2661 | (packagedb::categories): Replace custom list with STL map. | |
2662 | * package_meta.cc: Use new Category type syntax throughout. | |
2663 | (packagemeta::add_category): Implement new syntax. | |
2664 | * package_meta.h: Remove commented out source. | |
2665 | (packagemeta::add_category): Update syntax to decouple interface from | |
2666 | packagedb. | |
2667 | ||
89374d4a CF |
2668 | 2002-07-06 Christopher Faylor <cgf@redhat.com> |
2669 | ||
2670 | * site.cc (do_download_site_info_thread): Correct spelling error. | |
2671 | ||
405d7186 RC |
2672 | 2002-07-06 Robert Collins <rbtcollins@hotmail.com> |
2673 | ||
2674 | * PickCategoryLine.h: Include required header list.h. | |
2675 | * PickPackageLine.cc (PickPackageLine::paint): Adjust to use STL | |
2676 | containers for listing of packages per category and vice verca. | |
2677 | * PickView.cc (PickView::insert_pkg): Ditto. | |
2678 | (PickView::insert_category): Ditto. | |
2679 | * String++.h (String::caseless): STL helper to allow trivial containers | |
2680 | of Strings with case insensitive comparisons. | |
2681 | * category.h: Adjust to use STL containers for listing of packages per | |
2682 | category and vice verca. | |
2683 | * choose.cc (fill_missing_category): Ditto. | |
2684 | (default_trust): Ditto. | |
2685 | (ChooserPage::OnNext): Ditto. | |
2686 | * package_meta.cc (CategoryPackage::~CategoryPackage): Remove. | |
2687 | (packagemeta::packagemeta): Adjust for new category list name. | |
2688 | (packagemeta::~packagemeta): Adjust to use STL containers for listing | |
2689 | of packages per category and vice verca. | |
2690 | (packagemeta::set_action): Ditto. | |
2691 | * package_meta.h (CategoryPackage): Remove. | |
2692 | (packagemeta): Adjust to use STL containers for listing of packages per | |
2693 | category and vice verca. | |
2694 | ||
080bec6e RC |
2695 | 2002-07-05 Robert Collins <rbtcollins@hotmail.com> |
2696 | ||
2697 | * io_stream.cc: Use STL containers rather than custom ones. | |
2698 | (io_stream::registerProvider): Ditto. | |
2699 | (findProvider): Ditto. | |
2700 | ||
3f34f364 RC |
2701 | 2002-07-05 Robert Collins <rbtcollins@hotmail.com> |
2702 | ||
2703 | * IniDBBuilderPackage.cc (IniDBBuilderPackage::buildPackageSource): | |
2704 | Use STL collections for download site collections. | |
2705 | (IniDBBuilderPackage::add_correct_version): Ditto. | |
2706 | (IniDBBuilderPackage::process_src): Ditto. | |
2707 | * PickPackageLine.cc (PickPackageLine::click): Use the packageversion | |
2708 | accessible() call to abstract package availability. | |
2709 | * choose.cc (scanAVersion): Use STL collections for download site | |
2710 | collections. | |
2711 | * download.cc (check_for_cached): Ditto. | |
2712 | (download_one): Ditto. | |
2713 | * package_meta.cc (packagemeta::set_action): Use the packageversion | |
2714 | accessible() call to abstract package availability. | |
2715 | * package_source.h: Use STL containers rather than custom containers. | |
2716 | (site): Create a == operator to allow STL container use. | |
2717 | (packagesource::sites): Use STL containers rather than custom | |
2718 | containers. | |
2719 | * package_version.cc (_packageversion::accessible): Use STL containers | |
2720 | for download site containers. | |
2721 | ||
e2cdf72c RC |
2722 | 2002-07-05 Robert Collins <rbtcollins@hotmail.com> |
2723 | ||
2724 | * LogFile.cc: Use STL containers rather than custom containers. | |
2725 | (filedef): Create == and < operators for STL use. | |
2726 | (files): Convert to an STL set. | |
2727 | (LogFile::setFile): Use STL operations on files. | |
2728 | (LogFile::exit): Ditto. | |
2729 | ||
3bac26a1 RC |
2730 | 2002-07-05 Robert Collins <rbtcollins@hotmail.com> |
2731 | ||
2732 | * ini.cc (do_remote_ini): Use STL collection for site collection. | |
2733 | * site.cc: Include site.h first to ensure it's parsable standalone. | |
2734 | Use STL algorithms. | |
2735 | (site_list): Convert to an STL container. | |
2736 | (all_site_list): Ditto. | |
2737 | (site_list_type::site_list_type): Implement copy constructor. | |
2738 | (site_list_type::operator=): Implement assignment operator. | |
2739 | (site_list_type::operator ==): Implement. | |
2740 | (site_list_type::operator <): Ditto. | |
2741 | (save_dialog): Use STL collection calls for site collection. | |
2742 | (save_site_url): Ditto. | |
2743 | (get_site_list): Ditto. | |
2744 | (get_saved_sites): Ditto. | |
2745 | (do_download_site_info_thread): Ditto. | |
2746 | (SitePage::OnNext): Ditto. | |
2747 | (SitePage::PopulateListBox): Ditto. | |
2748 | (SitePage::OnMessageCmd): Ditto. | |
2749 | * site.h: Use STL vectors instead of custom code. | |
2750 | (site_list_type::site_list_type): Declare. | |
2751 | (site_list_type::operator=): Ditto. | |
2752 | (site_list_type::operator ==): Ditto. | |
2753 | (site_list_type::operator !=): Ditto. | |
2754 | (site_list_type::operator <): Ditto. | |
2755 | (site_list_type::operator <=): Ditto. | |
2756 | (site_list_type::operator >): Ditto. | |
2757 | (site_list_type::operator >=): Ditto. | |
2758 | (site_list): Convert to an STL container. | |
2759 | (all_site_list): Ditto. | |
2760 | ||
528a8edb RC |
2761 | 2002-07-05 Robert Collins <rbtcollins@hotmail.com> |
2762 | ||
2763 | * choose.cc (default_trust): Check package accessibility before | |
2764 | triggering an install. (Suggested by Pavel). | |
2765 | ||
2766 | 2002-07-03 Pavel Tsekov <ptsekov@gmx.net> | |
2767 | ||
2768 | * compress_gz.cc (compress_gz::construct): Always initialize key members | |
2769 | to ensure the destructor does the right thing. | |
2770 | ||
4e868a01 RC |
2771 | 2002-07-03 Pavel Tsekov <ptsekov@gmx.net> |
2772 | ||
2773 | * filemanip.cc (parse_filename): Do not try to parse empty | |
2774 | strings (filenames). | |
2775 | * package_db.cc (packagedb::packagedb): For each line check if sscanf() | |
2776 | extracted good package name and filename. | |
2777 | ||
7f2b9277 RC |
2778 | 2002-07-03 Robert Collins <rbtcollins@hotmail.com> |
2779 | ||
2780 | * package_meta.cc (packagemeta::set_requirements): Automatically select | |
2781 | version of dependent packages that satisfies the requirements. | |
2782 | Use processOneDependency to trigger the install of those packages. | |
2783 | (checkForInstalled): Check that the package remains installed. | |
2784 | (processOneDependency): Helper function for dependent packages. | |
2785 | * IniDBBuilderPackage.cc (IniDBBuilderPackage::buildPackage): Add more | |
2786 | debug information. | |
2787 | Clear out all current state on new packages. | |
2788 | (IniDBBuilderPackage::add_correct_version): Copy the dependency list | |
2789 | across. | |
2790 | ||
84c4f5d1 RC |
2791 | 2002-07-02 Robert Collins <rbtcollins@hotmail.com> |
2792 | ||
2793 | * Makefile.am (inilint_SOURCES): Add PackageSpecification sources. | |
2794 | nb: inilint is still incomplete, as the packageversion code is not | |
2795 | ready for database-less linking. | |
2796 | * site.cc (get_site_list): When the same site is reentered by the user | |
2797 | replace the old one. (Suggested by John Marshall). | |
2798 | ||
64cd7f94 RC |
2799 | 2002-07-02 Robert Collins <rbtcollins@hotmail.com> |
2800 | ||
2801 | * IniDBBuilderPackage.cc (IniDBBuilderPackage::buildPackageSource): | |
2802 | Clear out package selections when generating implicit source packages. | |
2803 | * PackageSpecification.cc (PackageSpecification::satisfies): Implement. | |
2804 | (PackageSpecification::_operators::satisfies): Implement. | |
2805 | * PackageSpecification.h (PackageSpecification::_operators::satisfies): | |
2806 | Worker function for testing versions. | |
2807 | ||
3c196821 RC |
2808 | 2002-07-01 Robert Collins <rbtcollins@hotmail.com> |
2809 | ||
2810 | * IniDBBuilder.cc (IniDBBuilder::buildPackageRequirement): Remove. | |
2811 | * IniDBBuilder.h (IniDBBuilder::buildPackageRequirement): Ditto. | |
2812 | * IniDBBuilderPackage.cc: Use the STL algorithms. | |
2813 | Change cpv to cbpv throughout. Adjust -> to ., and use the new accessor | |
2814 | functions for the same variable throughout. | |
2815 | (IniDBBuilderPackage::IniDBBuilderPackage): Initialise new members. | |
2816 | (IniDBBuilderPackage::buildPackage): Use new cygpackage syntax, | |
2817 | and set an empty source package. | |
2818 | (IniDBBuilderPackage::buildPackageInstall): Use the new source member | |
2819 | to record an install package. | |
2820 | (IniDBBuilderPackage::buildPackageSource): Move source package logic | |
2821 | out from process_src, as it now occurs at separate times. | |
2822 | (IniDBBuilderPackage::buildPackageRequirement): Remove. | |
2823 | (IniDBBuilderPackage::buildSourceName): Use renamed package | |
2824 | specifiation accessor for clarity. | |
2825 | (IniDBBuilderPackage::buildSourceNameVersion): Ditto. | |
2826 | (IniDBBuilderPackage::add_correct_version): Use STL iterators rather | |
2827 | than custom code. | |
2828 | Remove source package references. | |
2829 | (IniDBBuilderPackage::process_src): Remove source package code as it's | |
2830 | now handled separately. | |
2831 | Set Path information before merging versions, to prevent dangling | |
2832 | pointers. | |
2833 | * IniDBBuilderPackage.h (IniDBBuilderPackage::buildPackageRequirement): | |
2834 | Remove. | |
2835 | (IniDBBuilderPackage::cpv): Remove. | |
2836 | (IniDBBuilderPackage::cbpv): New generic binary working variable. | |
2837 | (IniDBBuilderPackage::cspv): Ditto, but for source packages. | |
2838 | (IniDBBuilderPackage::csp): Source package variable for disjoint | |
2839 | source packages. | |
2840 | * Makefile.am (AM_CFLAGS): Remove -Winline to allow stl set code | |
2841 | to compile. If it compiles cleanly in gcc 3.1, then reinstate. | |
2842 | * PickPackageLine.cc: Adjust packageversion accessors to the new | |
2843 | reference calls. (i.e. -> to .) throughout. | |
2844 | (PickPackageLine::paint): Use accessible() for clarity. | |
2845 | Use new split out source package logic. | |
2846 | (PickPackageLine::click): Ditto. | |
2847 | * PickView.cc (PickView::init_headers): Adjust packageversion accessors | |
2848 | to the new reference calls. (i.e. -> to .) throughout. | |
2849 | Use new split out source package logic. | |
2850 | * choose.cc: Don't depend on a specific package type. | |
2851 | Adjust packageversion accessors to the new reference calls. (i.e. -> to | |
2852 | .) throughout. | |
2853 | (set_existence): Use accessible () for clarity. | |
2854 | (default_trust): Simplify a little. | |
2855 | (scanAVersion): Factored out code from scan_downloaded_files for | |
2856 | clarity. | |
2857 | (scan_downloaded_files): Factor out inner loop for clarity. | |
2858 | (ChooserPage::OnNext): Don't dump the dependency list, | |
2859 | it's parsing is robust now!. | |
2860 | * cygpackage.cc (createInstance): Use a factory method to create new | |
2861 | objects. | |
2862 | (cygpackage::cygpackage): Make this private for use by the factory. | |
2863 | (cygpackage::setCanonicalVersion): Renamed from set_canonical_version. | |
2864 | Remove key usage as it's obsolete. | |
2865 | * cygpackage.h (cygpackage): Inherit from _packageversion, not | |
2866 | packageversion. | |
2867 | (cygpackage::createInstance): New factory. | |
2868 | (cygpackage::cygpackage): Make private. | |
2869 | * desktop.cc (make_passwd_group): Use new packageversion reference. | |
2870 | * download.cc (do_download_thread): Use changeRequested() for clarity. | |
2871 | Use new packageversion reference calls. | |
2872 | * iniparse.y (REQUIRES): Reuse the packageList code and dump the one-off | |
2873 | requires code. | |
2874 | * install.cc: Adjust -> to ., and use the new accessor functions for | |
2875 | packageversion throughout. | |
2876 | * package_db.cc: Adjust -> to ., and use the new accessor functions for | |
2877 | packageversion throughout. | |
2878 | (packagedb::packagedb): Use the new cygpackage factory. | |
2879 | (packagedb::flush): Leverage String to remove buffer overflow chance in | |
2880 | sprintf. | |
2881 | (packagedb::findBinary): Find a binary meta package that has a version | |
2882 | matching a given specification. | |
2883 | (packagedb::findSource): Ditto, but for source. | |
2884 | * package_db.h (packagedb::findBinary): Declare. | |
2885 | (packagedb::findSource): Ditto. | |
2886 | * package_meta.cc: Adjust packageversion accessors to the new | |
2887 | reference calls. (i.e. -> to .) throughout. | |
2888 | Include the package_meta header first to ensure it parses standalone. | |
2889 | Use the STL algorithms. | |
2890 | (packagemeta::packagemeta): Create a copy constructor to allowing | |
2891 | cloning binary package metadata to source package metadata. | |
2892 | (packagemeta::~packagemeta): Use the STL coleltion code rather than | |
2893 | custom collection code. | |
2894 | (packagemeta::add_version): Ditto. | |
2895 | (packagemeta::set_installed): Ditto. | |
2896 | (packagemeta::SDesc): Ditto. | |
2897 | (hasSDesc): Helper function for find_if. | |
2898 | (checkForInstalled): Ditto. | |
2899 | (checkForUpgradeable): Ditto. | |
2900 | (checkForSatisfiable): Ditto. | |
2901 | (packagemeta::action_caption): Update for split out source packages. | |
2902 | (packagemeta::set_action): Ditto. | |
2903 | (packagemeta::set_requirements): Support multi-valued dependency | |
2904 | lists - a|b & c|d - with versioned package specifications. | |
2905 | (packagemeta::accessible): Helper member to improve abstraction. | |
2906 | (packagemeta::sourceAccessible): Ditto. | |
2907 | * package_meta.h: Adjust packageversion accessors to the new | |
2908 | reference calls. (i.e. "->" to "." and"*" to "" ) throughout. | |
58b12a06 | 2909 | (packagemeta::packagemeta): Declare copy constructor. |
3c196821 RC |
2910 | Remove self initialising members. |
2911 | (packagemeta::set_action): Update parameters for new packageversion. | |
2912 | (packagemeta::trustp): Ditto. | |
2913 | (packagemeta::versions): Becomes an STL set. | |
2914 | * package_source.h (packagesource::Cached): Const correctness change. | |
2915 | * package_version.cc: Rewrite the packageversion interface to remove | |
2916 | the cygpackage nonvirtual members, and provide a copy by value, | |
2917 | pointer semantics reference counting wrapper class to ease use and | |
2918 | comparison of packageversions. | |
2919 | Change existing packageversion class to _packageversion throughout. | |
2920 | (_defaultversion): A trivial concrete class to prevent specialcasing | |
2921 | the default constructor for packageversion; | |
2922 | (packageversion::packageversion): Implement. | |
2923 | (packageversion::~packageversion): Ditto. | |
2924 | (packageversion::operator=): Ditto. | |
2925 | (packageversion::operator !): Ditto. | |
2926 | (packageversion::operator bool): Ditto. | |
2927 | (packageversion::operator ==): Ditto. | |
2928 | (packageversion::operator !=): Ditto. | |
2929 | (packageversion::operator <): Ditto. | |
2930 | (packageversion::Name): Ditto. | |
2931 | (packageversion::Canonical_version): Ditto. | |
2932 | (packageversion::setCanonicalVersion): Ditto. | |
2933 | (packageversion::getfirstfile): Ditto. | |
2934 | (packageversion::getnextfile): Ditto. | |
2935 | (packageversion::SDesc): Ditto. | |
2936 | (packageversion::set_sdesc): Ditto. | |
2937 | (packageversion::LDesc): Ditto. | |
2938 | (packageversion::set_ldesc): Ditto. | |
2939 | (packageversion::sourcePackage): Ditto. | |
2940 | (packageversion::sourcePackageSpecification): Ditto. | |
2941 | (packageversion::setSourcePackageSpecification): Ditto. | |
2942 | (packageversion::depends): Ditto. | |
2943 | (packageversion::predepends): Ditto. | |
2944 | (packageversion::recommends): Ditto. | |
2945 | (packageversion::suggests): Ditto. | |
2946 | (packageversion::replaces): Ditto. | |
2947 | (packageversion::conflicts): Ditto. | |
2948 | (packageversion::provides): Ditto. | |
2949 | (packageversion::picked): Ditto. | |
2950 | (packageversion::pick): Ditto. | |
2951 | (packageversion::changeRequested): Ditto. | |
2952 | (packageversion::uninstall): Ditto. | |
2953 | (packageversion::source): Ditto. | |
2954 | (packageversion::accessible): Ditto. | |
2955 | (_packageversion::sourcePackage): Ditto. | |
2956 | (_packageversion::accessible): Ditto. | |
2957 | (_packageversion::changeRequested): Ditto. | |
2958 | * package_version.h: Rewrite the packageversion interface to remove | |
2959 | the cygpackage nonvirtual members, and provide a copy by value, | |
2960 | pointer semantics reference counting wrapper class to ease use and | |
2961 | comparison of packageversions. | |
2962 | Change existing packageversion class to _packageversion throughout. | |
2963 | (Dependency): Remove. | |
2964 | (packageversion): New wrapper class. | |
2965 | (_packageversion): Renamed from packageversion. | |
2966 | (_packageversion::setCanonicalVersion): New method. | |
2967 | (_packageversion::sourcePackage): Ditto. | |
2968 | (_packageversion::sourcePackageSpecification): Ditto. | |
2969 | (_packageversion::setSourcePackageSpecification): Ditto. | |
2970 | (_packageversion::changeRequested): Ditto. | |
2971 | (_packageversion::bin): Rename to source. | |
2972 | (_packageversion::src): Remove. | |
2973 | (_packageversion::accessible): New method. | |
2974 | (_packageversion::references): Allow reference counting. | |
2975 | (_packageversion::sourceVersion): Cached the best-match source | |
2976 | package version. | |
2977 | ||
387cb501 RC |
2978 | 2002-06-27 Robert Collins <rbtcollins@hotmail.com> |
2979 | ||
2980 | * compress_bz.h (compress_bz::position): Track how much has been read. | |
2981 | * compress_bz.cc (compress_bz::compress_bz): And initialise it. | |
2982 | (compress_bz::read): Track amount read by the client. | |
2983 | (compress_bz::tell): And report it when asked. | |
2984 | ||
7d702af3 RC |
2985 | 2002-06-27 Robert Collins <rbtcollins@hotmail.com> |
2986 | ||
2987 | * Makefile.am (snapshot): Automate snapshot creation some more. | |
2988 | ||
08cd08c3 RC |
2989 | 2002-06-27 Robert Collins <rbtcollins@hotmail.com> |
2990 | ||
2991 | * msg.cc (msg): Use vsnprintf to avoid buffer overflows. | |
2992 | (mbox): Ditto. | |
2993 | * ini.cc (fprintf): Ditto. | |
2994 | * log.cc (log): Ditto. | |
2995 | * package_db.cc (packagedb::sourcePackages): Split out source packages | |
2996 | from binary packages. | |
2997 | * package_db.h: Ditto. | |
2998 | ||
aa1e3b4d RC |
2999 | 2002-06-27 Robert Collins <rbtcollins@hotmail.com> |
3000 | ||
3001 | * PackageSpecification.h: New file. Abstracts the ability to refer | |
3002 | to another package, by name, or name and version. | |
3003 | * PackageSpecification.cc: Ditto. | |
3004 | * IniDBBuilder.cc (IniDBBuilder::buildPackageInstall): Simplify. | |
3005 | (IniDBBuilder::buildPackageSource): Ditto. | |
3006 | (IniDBBuilder::buildBeginDepends): New method for versioned | |
3007 | dependencies. | |
3008 | (IniDBBuilder::buildBeginPreDepends): Likewise, for dependencies to be | |
3009 | satisfied before pre-install. | |
3010 | (IniDBBuilder::buildPriority): New method, for getting the package | |
3011 | Priority. | |
3012 | (IniDBBuilder::buildInstalledSize): How much disk space does it need? | |
3013 | (IniDBBuilder::buildMaintainer): Who maintains the package? | |
3014 | (IniDBBuilder::buildArchitecture): What platform is it for? | |
3015 | (IniDBBuilder::buildInstallSize): How big is the binary download? | |
3016 | (IniDBBuilder::buildInstallMD5): Whats the MD5 on the binary? | |
3017 | (IniDBBuilder::buildSourceMD5): Whats the MD5 on the source package? | |
3018 | (IniDBBuilder::buildBeginRecommends): What other packages are | |
3019 | recommended with this one? | |
3020 | (IniDBBuilder::buildBeginSuggests): And suggested? | |
3021 | (IniDBBuilder::buildBeginReplaces): What packages does this replace? | |
3022 | (IniDBBuilder::buildBeginConflicts): And collide with? | |
3023 | (IniDBBuilder::buildBeginProvides): What virtual packages (or obsolete | |
3024 | package names) does this provide? | |
3025 | (IniDBBuilder::buildDescription): Grab a multi line description one | |
3026 | line at a time. | |
3027 | (IniDBBuilder::buildSourceName): What source package should be used to | |
3028 | install the source for this binary package? | |
3029 | (IniDBBuilder::buildSourceNameVersion): Is a specific version needed? | |
3030 | (IniDBBuilder::buildPackageListAndNode): Add another AND clause to a | |
3031 | list of package specifications. | |
3032 | (IniDBBuilder::buildPackageListOrNode): Add another OR clause. | |
3033 | (IniDBBuilder::buildPackageListOperator): Add a versioning operator | |
3034 | to the current specification. | |
3035 | (IniDBBuilder::buildPackageListOperatorVersion): What version does the | |
3036 | operator act on? | |
3037 | * IniDBBuilder.h: Declare all the IniDBBuilder.cc changes. | |
3038 | * IniDBBuilderPackage.cc: As for IniDBBuilder.cc. | |
3039 | (IniDBBuilderPackage::IniDBBuilderPackage): Iniitialize new members. | |
3040 | (IniDBBuilderPackage::process_src): Streamline and split out | |
3041 | functionality. | |
3042 | (IniDBBuilderPackage::setSourceSize): From process_src. | |
3043 | * IniDBBuilderPackage.h: Declare the IniDBBuilderPackage.cc changes. | |
3044 | (IniDBBuilderPackage::currentSpec): Track the in-progress specifiation. | |
3045 | (IniDBBuilderPackage::currentOrList): Track the current Or list. | |
3046 | (IniDBBuilderPackage::currentAndList): Track the current And list. | |
3047 | * IniParseFeedback.cc (IniParseFeedback::progress): Provide completion | |
3048 | progress on parsing. | |
3049 | (IniParseFeedback::iniName): Tell what ini filename we are currently | |
3050 | processing. | |
3051 | * IniParseFeedback.h: Declare IniParseFeedback.cc changes. | |
3052 | * IniParseFindVisitor.cc (IniParseFindVisitor::IniParseFindVisitor): | |
3053 | Make the feedback object non-const to allow mutating methods which are | |
3054 | needed when the object has state. | |
3055 | (IniParseFindVisitor::visitFile): Tell the caller the name of each | |
3056 | .ini found. | |
3057 | Initialise the parser with the feedback object to allow it to tell of | |
3058 | progress. | |
3059 | * IniParseFindVisitor.h: Declare IniParseFindVisitor.cc changes. | |
3060 | * Makefile.am (inilinst_SOURCES): Add more requisite classes. | |
3061 | (setup_SOURCES): Add the new PackageSpecification sources. | |
3062 | * ScanFindVisitor.cc (ScanFindVisitor::visitFile): Use the new | |
3063 | builder syntax to setup binary package details. | |
3064 | * choose.cc: Use the LogSingleton calls throughout. | |
3065 | * configure.in: Create the INILINT substitution correctly for recent | |
3066 | autotool configurations. | |
3067 | * cygpackage.cc (cygpackage::getfirstfile): Return an empty String | |
3068 | rather than a string built from an int. Thanks to Pavel Tsekov for | |
3069 | identifying the bug. | |
3070 | (cygpackage::getnextfile): Ditto. | |
3071 | * download.cc: Use LogSIngletion calls throughout. | |
58b12a06 | 3072 | (validateCachedPackage): A refactoring of the |
aa1e3b4d RC |
3073 | check_for_cached code to eliminate duplciation. |
3074 | (check_for_cached): Use validateCachedPackage to check packages. | |
3075 | * ini.cc (GuiParseFeedback): Provide gui feedback on ini name and | |
3076 | parsing progress. | |
3077 | (do_remote_ini): Ditto. | |
3078 | * ini.h (ini_init): Pass a IniParseFeedback to the parser, to allow | |
3079 | progress reporting. | |
3080 | * inilex.l: Identify new symbols - operators, and multi line plain text. | |
3081 | Releases files. | |
3082 | * inilintmain.cc (show_help): Provide basic infomation on inilint. | |
3083 | * iniparse.y: Adjust for the new builder syntax, and process debian | |
3084 | Release files. | |
3085 | * io_stream_file.cc: Always include mkdir.h. | |
3086 | * list.h: Factor index location into a private routine. | |
3087 | (list::findindex): Implement this. | |
3088 | * mkdir.cc (mkdir_p): Make the use of WIN32 code conditional on mingw | |
3089 | builds. NB: This breaks cygwin build functionality still. | |
3090 | * package_meta.cc: Use the LogSingleton calls throughout. | |
3091 | (packagemeta::set_requirements): Adjust for object changes in | |
3092 | dependencies. | |
3093 | * package_meta.h (packagemeta::packagemeta): Initialise new members. | |
3094 | (packagemeta::architecture): What platform does this package run on? | |
3095 | This may need to move in the future to a per packagefile object. | |
58b12a06 | 3096 | (packagemeta::priority): What priority does this package have? |
aa1e3b4d RC |
3097 | * package_source.h (packagesource::packagesource): Initialise new |
3098 | members. | |
3099 | (packagesource::installedSize): How much space does the package need? | |
3100 | (packagesource::setInstalledSize): Tell the amount. | |
3101 | (packagesource::_installedSize): And store it. | |
3102 | * package_version.cc (packageversion::sourcePackage): return the | |
3103 | source package. | |
3104 | (packageversion::setSourcePackage): And set it. | |
3105 | * package_version.h: Declare the package_version.cc changes. | |
3106 | (packageversion::depends): New package specification AND list. | |
3107 | (packageversion::predepends): Ditto. | |
3108 | (packageversion::recommends): Ditto. | |
3109 | (packageversion::suggests): Ditto. | |
3110 | (packageversion::replaces): Ditto. | |
3111 | (packageversion::conflicts): Ditto. | |
3112 | (packageversion::provides): Ditto. | |
3113 | (packageversion::sourcePackage): What source package is needed? | |
3114 | * threebar.cc (ThreeBarProgressPage::SetText4): Set the label beside | |
3115 | the bottom bar. | |
3116 | * threebar.h: Declare the threebar.cc change. | |
3117 | ||
3118 | 2002-06-27 John Marshall <johnm@falch.net> | |
3119 | ||
3120 | * res.rc (SETUPINI_MISSING): Make trailing spaces visible. | |
3121 | * site.cc (SitePage::OnMessageCmd): Ditto | |
3122 | ||
2a994e0b RC |
3123 | 2002-06-15 Robert Collins <rbtcollins@hotmail.com> |
3124 | ||
3125 | * nio-ie5.cc (NetIO_IE5::NetIO_IE): Allow cached data. | |
3126 | ||
ceff7035 RC |
3127 | 2002-06-15 Robert Collins <rbtcollins@hotmail.com> |
3128 | ||
3129 | * package_meta.cc (packagemeta::set_action): When installing packages | |
3130 | with no binaries, choose the source package. | |
3131 | ||
9bd27040 RC |
3132 | 2002-06-10 Robert Collins <rbtcollins@hotmail.com> |
3133 | ||
3134 | * IniParseFindVisitor (IniParseFindVisitor::visitFile): Apply Max | |
3135 | Bowshers fix for the crash with a root level setup.ini. | |
3136 | * README: Update todos. | |
3137 | ||
1dcff4a0 RC |
3138 | 2002-05-26 Ralf Habacker <ralf.habacker@freenet.de> |
3139 | ||
3140 | * archive_tar.cc (archive_tar::next_file_name()): fixed broken | |
3141 | GNU long name extension support. | |
3142 | ||
0773e4f2 RC |
3143 | 2002-05-27 Robert Collins <rbtcollins@hotmail.com> |
3144 | ||
3145 | * IniParseFindVisitor.cc (IniParseFindVisitor::visitFile): Don't | |
3146 | unescape 0 length strings. | |
3147 | ||
a828d772 RC |
3148 | 2002-05-20 Robert Collins <rbtcollins@hotmail.com> |
3149 | ||
3150 | * package_meta.cc (packagemeta::set_action): Don't allow reinstall | |
3151 | when local with no cached file, and install the default source if the | |
3152 | default version has no binary. | |
3153 | ||
67829ce0 RC |
3154 | 2002-05-19 Robert Collins <rbtcollins@hotmail.com> |
3155 | ||
3156 | * IniDBBuilderPackage.cc (IniDBBuilderPackage::IniDBBuilderPackage): New | |
3157 | method. | |
3158 | (IniDBBuilderPackage::buildVersion): Provide a warning when a newer | |
3159 | setup version created the ini file. | |
3160 | * IniDBBuilderPackage.h (IniDBBuilderPackage::IniDBBuilderPackage): New | |
3161 | method. | |
3162 | * IniParseFindVisitor.cc (IniParseFindVisitor::visitFile): Use the new | |
3163 | feedback strategy. | |
3164 | * IniParseFindVisitor.h (IniParseFindVisitor::IniParseFindVisitor): | |
3165 | Require a feedback strategy. | |
3166 | * Makefile.am (setup_SOURCES): Add IniParseFeedback sources. | |
3167 | * Makefile.in: Regenerate. | |
3168 | ||
4849e2fc RC |
3169 | 2002-05-19 Robert Collins <rbtcollins@hotmail.com> |
3170 | ||
3171 | * io_stream_file.cc (io_stream_file::remove): Use the SetFileAttributes | |
3172 | trick to delete read only files. | |
3173 | * io_stream_cygfile.cc (io_stream_cygfile::remove): Use file:// to | |
3174 | remove files. | |
3175 | * Makefile.am (release): Tweak to be more helpful. | |
3176 | * Makefile.in: Regenerate. | |
3177 | ||
7cb35117 RC |
3178 | 2002-05-19 Robert Collins <rbtcollins@hotmail.com> |
3179 | ||
3180 | * Makefile.am (release): Tweak to be more helpful. | |
3181 | * Makefile.in: Regenerate. | |
7cb35117 | 3182 | |
5090e3ce RC |
3183 | 2002-05-19 Robert Collins <rbtcollins@hotmail.com> |
3184 | ||
3185 | * Makefile.am (release): Tweak to be more helpful. | |
3186 | * Makefile.in: Regenerate. | |
3187 | ||
9e9b881a RC |
3188 | 2002-05-19 Robert Collins <rbtcollins@hotmail.com> |
3189 | ||
3190 | * choose.cc (scan_downloaded_files): When a non-installed version | |
3191 | has neither bin nor src cached files for local installs, | |
3192 | remove the version from availability. | |
3193 | ||
ea36e064 RC |
3194 | 2002-05-19 Robert Collins <rbtcollins@hotmail.com> |
3195 | ||
3196 | * ini.cc (do_remote_ini): Save uncompressed ini's correctly. | |
3197 | ||
b401ef47 RC |
3198 | 2002-05-19 Robert Collins <rbtcollins@hotmail.com> |
3199 | ||
3200 | * rsync: New support library, contains librsync. This is not (yet) | |
3201 | rsync interoperable. | |
3202 | * configure.in: --with-rsync to enable rsync support. (Not complete). | |
3203 | * Makefile.am: Enable building with rsync. | |
3204 | * Makefile.in: Regenerate. | |
3205 | * configure: Ditto. | |
3206 | * IniDBBuilder.cc (IniDBBuilder::buildPackageInstall): Pass the md5 as | |
3207 | an array. | |
3208 | (IniDBBuilder::buildPackageSource): Ditto. | |
3209 | * IniDBBuilder.h: Ditto. | |
3210 | * IniDBBuilderPackage.cc: Ditto. | |
3211 | * IniDBBuilderPackage.h: Ditto. | |
3212 | * FindVisitor.cc: New file. | |
3213 | * FindVisitor.h: New file, interface for visiting a file system | |
3214 | aggregate. | |
3215 | * IniParseFindVisitor.cc: New file. | |
3216 | * IniParseFindVisitor.h: New file, concrete FindVisitor that parses | |
3217 | found setup.ini's. | |
3218 | * README: Update TODO's. | |
3219 | * String++.cc (String::String): New constructor for <string> inter- | |
3220 | operability. | |
3221 | (String::substr): New method. | |
3222 | * String++.h: Ditto. | |
3223 | * choose.cc (scan2): Remove. | |
3224 | (scan_downloaded_files): Simplify. | |
3225 | * dialog.h: Include parsing pre-requirements. | |
3226 | * download.cc (check_for_cached): Fullname was used incorrectly - fix. | |
3227 | * filemanip.cc (parse_filename): -src packages where incorrectly parsed. | |
3228 | * find.cc: Rewrite. Now uses a Visitor pattern and is re-entrant. | |
3229 | * find.h: Ditto. | |
3230 | * fromcwd.cc: Remove unneeded includes. | |
3231 | (is_test_version): Remove. | |
3232 | (found_file): Remove. | |
3233 | (SetupFindVisitor): Trivial visitor to detect setup.ini's. | |
3234 | (found_ini): Remove. | |
3235 | (do_fromcwd): Remove commented code that has be replaced elsewhere. | |
3236 | * ini.cc (local_ini): Remove. | |
3237 | (findBuilder): Remove. | |
3238 | (find_routine): Remove. | |
3239 | (do_local_ini): Use new IniParseFindVisitor. | |
3240 | * iniparse.y: Typecase MD5 arrays, as we know they are allocated as | |
3241 | unsigned char. | |
3242 | * postinstall.cc: Remove non-core includes. | |
3243 | (run_script_in_postinstall): Remove. | |
3244 | (RunFindVisitor): Trivial Visitor, runs each found script. | |
3245 | (do_postinstall): Use new find syntax. | |
3246 | ||
0d4e0aad CF |
3247 | 2002-05-14 Christopher Faylor <cgf@redhat.com> |
3248 | ||
3249 | * ini.cc (find_routine): Don't clear buffer it it's NULL. | |
3250 | ||
3251 | 2002-05-14 Christopher Faylor <cgf@redhat.com> | |
3252 | ||
3253 | * filemanip.h (trail): Declare. | |
3254 | * filemanip.cc (trail): New function. | |
3255 | (find_tar_ext): Use trail() instead of strstr(). | |
3256 | * fromcwd.cc (check_ini): Ditto. | |
3257 | * ini.cc (find_routine): Ditto. Don't tack local_dir to path since it | |
3258 | should now be fully qualified. Set ini_filename. Reset error_buf and | |
3259 | error_count for any subsequent ini file parsing. | |
3260 | (ini_filename): New static variable for parse error reporting. | |
3261 | (yyerror): Use full path of setup.ini in error message. Subtract one | |
3262 | from line number if at bol. | |
3263 | * find.cc (found_part): Eliminate. | |
3264 | (find_sub): Call for_each with full path found rather than just file | |
3265 | component. | |
3266 | (find): Don't calculate found_part. | |
3267 | * inilex.l (ini_init): Flush input buffer and reset line number. | |
3268 | (yybol): New function. Exports YY_AT_BOL. | |
3269 | * iniparse.y: Increase stack depth to allow more tokens to be processed. | |
3270 | (yyparse): Remove newline from error condition to allow subsequent | |
3271 | per-line error processing to proceed normally. | |
3272 | ||
3273 | 2002-05-14 Christopher Faylor <cgf@redhat.com> | |
3274 | ||
3275 | * find.cc (find_sub): Be more defensive in preserving trailing parts of | |
3276 | components when doing recursive directory searches or calling user | |
3277 | supplied for_each(). | |
3278 | * ini.cc (find_routine): Don't assume that any path name with | |
3279 | "setup.ini" in it is actually a setup.ini file. Only honor trailing | |
3280 | components. Copy path argument to temporary storage when unescaping | |
3281 | to prevent nuking of argument. | |
3282 | ||
874c569a RC |
3283 | 2002-05-12 Robert Collins <rbtcollins@hotmail.com> |
3284 | ||
3285 | * CONTRIBUTORS: New file. | |
3286 | ||
f6a81f69 RC |
3287 | 2002-04-02 Gary R. Van Sickle <g.r.vansickle@worldnet.att.net> |
3288 | ||
3289 | * choose.cc: Run indent. | |
3290 | (nextbutton): Remove static variable. | |
3291 | (default_trust): Remove use of nextbutton. | |
3292 | (set_view_mode): Ditto. | |
3293 | (create_listview): Add IDC_CHOOSE_PREV and IDC_CHOOSE_NEXT to ta[] so | |
3294 | rbset() sets the prev/next/curr radio buttons properly. | |
3295 | (dialog_cmd): Delete function. | |
3296 | (dialog_proc): Delete function. Move WM_INITDIALOG functionality to | |
3297 | ChooserPage::OnInit. | |
3298 | (do_choose): Delete function. Move pre-DialogBox() code to | |
3299 | ChooserPage::OnInit(), post-DialogBox() code to ChooserPage::OnNext. | |
3300 | (WM_APP_START_CHOOSE): Remove define. | |
3301 | (WM_APP_CHOOSE_IS_FINISHED): Remove define. | |
3302 | (do_choose_thread): Delete function. | |
3303 | (ChooserPage::OnActivate): Delete method. | |
3304 | (ChooserPage::OnMessageApp): Delete method. | |
3305 | (ChooserPage::OnInit): New method. | |
3306 | (ChooserPage::OnNext): New method. | |
3307 | (ChooserPage::OnBack): New method. | |
3308 | (ChooserPage::OnMessageCmd): New method. | |
3309 | * choose.h: Run indent. | |
3310 | (ChooserPage::OnMessageApp): Delete declaration. | |
3311 | (ChooserPage::OnActivate): Ditto. | |
3312 | (ChooserPage::OnMessageCmd): New declaration. | |
3313 | (ChooserPage::OnInit): Ditto. | |
3314 | (ChooserPage::OnNext): Ditto. | |
3315 | (ChooserPage::OnBack): Ditto. | |
3316 | * desktop.cc (DesktopSetupPage::OnBack): Replace use of IDD_CHOOSER | |
3317 | with IDD_CHOOSE. | |
3318 | * fromcwd.cc (do_fromcwd): Replace use of IDD_CHOOSER with IDD_CHOOSE. | |
3319 | * ini.cc (do_ini_thread): Replace use of IDD_CHOOSER with IDD_CHOOSE. | |
3320 | * res.rc (IDD_CHOOSE): Remove dialog template. | |
3321 | (IDD_CHOOSER): Alter dialog template to fit wizard size and format. | |
3322 | ||
74617327 RC |
3323 | 2002-05-12 Robert Collins <rbtcollins@hotmail.com> |
3324 | ||
3325 | * LogFile.cc (endLog): Work around an apparent libg++-3 bug causing | |
3326 | corrupt log file entries. | |
3327 | * geturl.cc: Convert to the new LogSingleton logging. | |
3328 | ||
3272d625 RC |
3329 | 2002-05-12 Robert Collins <rbtcollins@hotmail.com> |
3330 | ||
3331 | * ini.cc (do_remote_ini): Use setup.bz2 if it exists in preference to | |
3332 | setup.ini. | |
3333 | ||
fc687221 RC |
3334 | 2002-05-12 Robert Collins <rbtcollins@hotmail.com> |
3335 | ||
3336 | * geturl.h: Declare getUrlToStream. | |
3337 | * geturl.cc (getUrlToStream): New function. | |
3338 | (get_url_to_membuf): Refactor to use getUrlToStream. | |
3339 | ||
902c8a3f RC |
3340 | 2002-05-11 Robert Collins <rbtcollins@hotmail.com> |
3341 | ||
3342 | * Makefile.am: Add a release target to automate some of the routine | |
3343 | work. | |
3344 | * Makefile.in: Regenerate. | |
3345 | ||
2ab26cdb RC |
3346 | 2002-05-11 Robert Collins <rbtcollins@hotmail.com> |
3347 | ||
3348 | * choose.cc (scan_downloaded_files): On local installs remove all | |
3349 | mirror sites if no cached copy of a package is found. | |
3350 | ||
94852d65 RC |
3351 | 2002-05-10 Robert Collins <rbtcollins@hotmail.com> |
3352 | ||
3353 | * Makefile.in: Regenerate. | |
58b12a06 | 3354 | * iniparse.y: Use left recursion, not right in the lines rule to |
94852d65 RC |
3355 | avoid stack overflows. |
3356 | * README: Update TODO's. | |
3357 | * io_stream_file.cc: Native builds need to include sys/stat.h | |
3358 | ||
3548fbc3 RC |
3359 | 2002-05-06 John Marshall <jmarshall@acm.org> |
3360 | ||
3361 | * site.cc (SitePage::OnMessageCmd): recalculate navigation | |
3362 | button activation when "Add" is pressed. | |
3363 | (SitePage::CheckControlsAndDisableAccordingly): tweak comment. | |
3364 | ||
3365 | 2002-05-07 Robert Collins <rbtcollins@hotmail.com> | |
2b48ecd0 RC |
3366 | |
3367 | * Makefile.am (inlint_SOURCES): Add conditional objects to inilint | |
3368 | depending on platform. | |
3369 | Add file:// support. | |
3370 | * configure.in: Set conditional MINGWTARGET if compiling against mingw | |
3371 | libraries. | |
3372 | * Makefile.in: Regenerate. | |
3373 | * configure: Ditto. | |
3374 | * io_stream_file.cc: Only use win32 calls when building for mingw. | |
3375 | ||
19911586 RC |
3376 | 2002-05-05 Robert Collins <rbtcollins@hotmail.com> |
3377 | ||
3378 | * Makefile.am (noinst_PROGRAMS): Make inilint configurable. | |
3379 | * configure.in: Ditto. | |
3380 | Fix incorrect header checking syntax. | |
3381 | * aclocal.m4: Regenerate. | |
3382 | * configure: Regenerate. | |
3383 | * Makefile.in: Regenerate. | |
3384 | * io_stream.cc: Remove platform specific and provider specific code. | |
3385 | (io_stream::registerProvider): New method, registers a Url provider with | |
3386 | the io_stream code. | |
3387 | Make all methods consistently throw invalid_argument exceptions when | |
3388 | a provider that is requested is not present. | |
3389 | (findProvider): New private function, finds a provider. | |
3390 | * io_stream.h: Declare io_stream::registerProvider. | |
3391 | * io_stream_cygfile.cc: Create a Provider class to register with | |
3392 | io_stream.cc. | |
3393 | * io_stream_file.cc: Ditto. | |
3394 | * archive.cc: Remove unneeded includes. | |
3395 | * archive_tar.cc: Remove unneeded includes. | |
3396 | * archive_tar.h: Add required include. | |
3397 | * archive_tar_file.cc: Remove unneded includes. | |
3398 | * choose.cc: Remove unneeded includes: | |
3399 | ||
bf4ffcd9 RC |
3400 | 2002-05-04 Robert Collins <rbtcollins@hotmail.com> |
3401 | ||
3402 | * io_stream.cc: Use the new log interface thruout. | |
3403 | ||
9f4a0c62 RC |
3404 | 2002-05-04 Robert Collins <rbtcollins@hotmail.com> |
3405 | ||
3406 | * log.cc (log): Reimplement via LogSingleton. | |
3407 | (log_save): Remove. | |
3408 | (exit_setup): Remove. | |
3409 | * log.h (log_save): Remove. | |
3410 | (exit_setup): Remove. | |
3411 | * LogSingleton.cc: New file. | |
3412 | * LogSingleton.h: New file. | |
3413 | * LogFile.cc: New file. | |
3414 | * LogFile.h: New file. | |
3415 | * Makefile.am (inilint_SOURCES): Add the new log interface. | |
3416 | (setup_SOURCES): Add the new log interface and the concrete File | |
3417 | implementation. | |
3418 | * Makefile.in: Regenerate. | |
3419 | * archive.cc: Use the new log interface thruout. | |
3420 | * archive_tar.cc: Ditto. | |
3421 | * main.cc: Ditto. | |
3422 | * dialog.cc (fatal): Use the new log interface. | |
3423 | * ini.cc (do_ini_thread): Use the log interface to exit. | |
3424 | * isntall.cc (do_install_thread): Ditto. | |
3425 | * netio.cc (auth_cmd): Ditto. | |
3426 | * msg.cc (fatal): Ditto. | |
3427 | * localdir.cc (save_local_dir): Save to different files depending on | |
3428 | the mode, and if a root dir exists. | |
3429 | ||
076654e7 RC |
3430 | 2002-05-04 Robert Collins <rbtcollins@hotmail.com> |
3431 | ||
3432 | * IniDBBuilder.cc: New file. | |
3433 | * IniDBBuilder.h: New file. | |
3434 | * IniDBBuilderPackage.cc: New file. | |
3435 | * IniDBBuilderPackage.h: New file. | |
3436 | * PackageTrust.h: New file. | |
3437 | * IniState.h: Remove, wasn't thought out well enough. | |
3438 | * Makefile.am (inilint_SOURCES): Add more requirements. | |
3439 | (setup_SOURCES): Add new Builder base and concrete classes. | |
3440 | * Makefile.in: Regenerate. | |
3441 | * String++.cc (String::String): Implement int contructor. | |
3442 | * String++.h (String): Declare int constructor. | |
3443 | * archive_tar.cc (archive_tar::next_file_name): Return String() when | |
3444 | no filename exists. | |
3445 | * archive_tar.h (archive_tar_file): Remove get_next_filename method, | |
3446 | it's not needed. | |
3447 | * ini.cc: Replace IniState wuth IniDBBuilderPacakge. | |
3448 | (find_routine): Use new IniDBBuilder to configure the parser. | |
3449 | (do_local_ini): Ditto. | |
3450 | (do_remote_ini): Ditto. | |
3451 | * ini.h: Use IniDBBuilder to initialise parsing. | |
3452 | * inilex.l (MD5): Parse the MD5 string correctly, we had the nibbles | |
3453 | swapped. | |
3454 | (ini_init): Use an IniDBBuilder rather than static variables. | |
3455 | * iniparse.y: Hand off all the object creation to a builder, rather | |
3456 | than hardcoding the behaviour. This allows run-time configured | |
3457 | behaviour. | |
3458 | * io_stream_cygfile.h (io_stream_cygfile): Remove get_next_filename | |
3459 | method, it's not needed. | |
3460 | * io_stream_file.h (io_stream_file): Ditto. | |
3461 | * mount.cc (cygpath): Return String() for missing mounts. | |
3462 | * package_meta.cc (packagemeta::SDesc): Return String() for blank | |
3463 | descriptions. | |
3464 | * package_meta.h (trusts): Remove - replaced by PackageTrust.h. | |
3465 | (packagemeta::packagemeta): Fix incorrect syntax in String constructor | |
3466 | usage. | |
3467 | * cygpackage.cc (cygpackage::cygpackage): Fix incorrect syntax in | |
3468 | String constructor usage. | |
3469 | * site.h (site_list_type): Ditto. | |
3470 | ||
6391823e RC |
3471 | 2002-05-03 Robert Collins <rbtcollins@hotmail.com> |
3472 | ||
3473 | * String++.h: Declare a << operator that accepts String objects. | |
3474 | * String++.cc: We need iostream for.. | |
3475 | (operator <<): this. Provide a << operator that accepts String objects. | |
3476 | * ini.cc (yyerror): Remove the "C" classifier - it's not needed. | |
3477 | Change from vargs to a String parameter. | |
3478 | * inilintmail.cc: Remove the gui related headers. | |
3479 | (yyerror): Implement this for parsing. | |
3480 | * iniparse.y: Use the new yyerror syntax. | |
3481 | ||
b92028a4 RC |
3482 | 2002-05-03 Robert Collins <rbtcollins@hotmail.com> |
3483 | ||
3484 | * Makefile.am: Add IniState.h. | |
3485 | * Makefile.in: Regenerate. | |
3486 | * IniState.h: New file. | |
3487 | * choose.cc: Don't include ini.h - it's not needed. | |
3488 | * configure: Regenerate. | |
3489 | * desktop.cc: Don't include ini.h - it's not needed. | |
3490 | * download.cc: Ditto. | |
3491 | * fromcwd.cc: Ditto. | |
3492 | * ini.cc: Use IniState.h to track each parsing calling. | |
3493 | (find_routine): Ditto. | |
3494 | (do_remote_ini): Ditto. | |
3495 | (do_ini_thread): Ditto. | |
3496 | * ini.h (ini_init): Adjust parameters to include state object. | |
3497 | * inilex.l: Declare parser state variable. | |
3498 | (ini_init): Adjust parameters to include state object. | |
3499 | * iniparse.y: Remove obsolete setup_timestamp and setup_version | |
3500 | declarations. | |
3501 | (setup_header): Use new state variable to track time and version. | |
3502 | (add_correct_version): Ditto. | |
3503 | * install.cc: Don't include ini.h - it's not needed. | |
3504 | ||
e0a4db64 RC |
3505 | 2002-05-03 Robert Collins <rbtcollins@hotmail.com> |
3506 | ||
3507 | * nio-files.cc (NetIO): Use io_stream syntax for get_file_size. | |
3508 | * io_stream_file.cc: Don't include filemanip.h. | |
3509 | (io_stream_file::get_size): Implement here to remove filemanip | |
3510 | dependency. | |
3511 | * io_stream_cygfile.cc: Don't include filemanip.h. | |
3512 | (io_stream_cygfile::get_size): Implement here to remove filemanip | |
3513 | dependency. | |
3514 | Implement a stat based version for when win32 is not available. | |
3515 | * filemanip.h (get_file_size): Return size_t - it's more appropriate. | |
3516 | * filemanip.cc: Don't include win32.h - be platform independent. | |
3517 | Include strings.h and io_stream.h as part of that. | |
3518 | (get_file_size): Leverage io_streams and remove win32 implementation. | |
3519 | * download.cc (check_for_cached): Use io_stream syntax for | |
3520 | get_file_size. | |
3521 | (download_one): Ditto. | |
3522 | ||
3523 | 2002-05-02 Robert Collins <rbtcollins@hotmail.com> | |
ac65f5c5 RC |
3524 | |
3525 | * configure.in: Correct a typo in last change. | |
3526 | * configure: Regenerate. | |
3527 | * Makefile.in: Regenerate. | |
3528 | ||
e0a4db64 | 3529 | 2002-05-02 Robert Collins <rbtcollins@hotmail.com> |
e06ded88 RC |
3530 | |
3531 | * configure.in: Check for string.h and string. | |
3532 | * configure: Regenerate. | |
3533 | * Makefile.in: Regenerate. | |
3534 | ||
1fd0694a RC |
3535 | 2002-05-01 Robert Collins <rbtcollins@hotmail.com> |
3536 | ||
3537 | * res.rc (IDD_SPLASH): Remove white box. | |
3538 | ||
89ca06c0 RC |
3539 | 2002-05-01 Robert Collins <rbtcollins@hotmail.com> |
3540 | ||
3541 | Oops! forgot to list these in the last checkin. | |
3542 | * inilintmain.cc: New file. | |
3543 | * md5.h: New file - imported md5 source, BSD style licence. | |
3544 | * md5.cc: New file - imported md5 source, BSD style licence. | |
3545 | * Exception.cc: New file. | |
3546 | * Exception.h: New file. | |
3547 | * MD5++.cc: New file. | |
3548 | * MD5++.h: New file. | |
3549 | ||
58ee6135 RC |
3550 | 2002-05-01 Robert Collins <rbtcollins@hotmail.com> |
3551 | ||
3552 | * Makefile.am (AM_CFLAGS): Remove -mwindows, it's a linker flag. | |
3553 | Remove -fno-rtti, we need it for exceptions. | |
3554 | (AM_CXXFLAGS): Ditto. | |
3555 | (WARNONLY_CFLAGS): Ditto. | |
3556 | (EXTRA_PROGRAMS): Add with initial linter sources - not functional yet. | |
3557 | (setup_LDFLAGS): Add and set to -mwindows. | |
3558 | (setup_SOURCES): Add new sources. | |
3559 | * Makefile.in: Regenerate. | |
3560 | * README: Update TODO. | |
3561 | * choose.cc (scan_downloaded_files): Use ini information if it's | |
3562 | available. | |
3563 | * configure: Regenerate. | |
3564 | * download.cc (check_for_cached): Make reusable from elsewhere. | |
3565 | Throw exceptions on errors (as opposed to failures). | |
3566 | Check MD5 sum when it's known. | |
3567 | (download_one): Never force a download. | |
3568 | Handle corrupt package exceptions. | |
3569 | * ini.cc (find_routine): Reverse escape the URL to correctly identify | |
3570 | the site URL. | |
3571 | * inilex.l (MD5): Provide a parsing rule (note: lowercase is required). | |
3572 | * iniparse.y: Allow calculation of MD5 sums, and allow src only | |
3573 | packages. | |
3574 | (process_src): New helper function. | |
3575 | * isntall.cc (install_one_source): Check MD5 sums when possible. | |
3576 | Throw exceptions on errors. | |
3577 | (do_install_thread): Handle exceptions for installation calls. | |
3578 | * package_source.h: Store MD5 information. | |
3579 | * propsheet.cc (PropSheet::Create): Add a useful comment. | |
3580 | * res.rc (IDS_INSTALL_ERROR): Define. | |
3581 | (IDS_CORRUPT_PACKAGE): Define. | |
3582 | * resource.h (IDS_INSTALL_ERROR): Define. | |
3583 | (IDS_CORRUPT_PACKAGE): Define. | |
3584 | * rfc1738.cc (rfc1738_unescape_part): Implement. | |
3585 | * rfc1738.h (rfc1738_unescape_part): Declare. | |
3586 | ||
45e01f23 RC |
3587 | 2002-04-29 Robert Collins <rbtcollins@hotmail.com> |
3588 | ||
3589 | * Makefile.am: Remove dependecy rules that automake emits. | |
3590 | Correct badly copied dependency info for manually compiled files. | |
58b12a06 | 3591 | (setup_SOURCES): Add all used headers. |
45e01f23 RC |
3592 | (EXTRA_DIST): Include non compilate but required sources. |
3593 | (setup_LDADD): Remove mingw32, it is autodetected. | |
3594 | * Makefile.in: Regenerate. | |
3595 | * String++.h: sys/types is a system header. | |
3596 | * choose.cc (do_choose_thread): Make into a Win32 thread routine. | |
3597 | Use ExitThread. | |
3598 | (ChooserPage::OnMessageApp): Use Win32 threads. (_beginthread is not | |
3599 | portable). | |
3600 | * configure: Regenerate. | |
3601 | * configure.in: Check for mingw32/cygwin specific headers and libraries. | |
3602 | * cygpackage.h: Include the win32.h header to get correct macro | |
3603 | definitions in all situations. | |
3604 | * download.cc (do_download_reflector): Make into a Win32 thread routine. | |
3605 | Use ExitThread. | |
3606 | (do_download): Use Win32 threads. | |
3607 | * ini.cc: Ditto. | |
3608 | * install.cc: Ditto. | |
3609 | * (WinMain): Adjust to build valid command line using application | |
3610 | under both mingw32 and cygwin. | |
3611 | * mount.cc (set)cygdrive_flags): Create new system flags if the | |
3612 | user requests system and the value does not exist. | |
3613 | * nio-http.cc: Define a _strnicmp for cygwin. | |
3614 | * package_db.cc: Include <errno.h> if it exists. | |
3615 | * site.cc (do_download_site_info_thread): Make into a Win32 thread | |
3616 | routine. | |
3617 | Use ExitThread. | |
3618 | (do_download_site-Info): Use Win32 threads. | |
3619 | * state.cc: Explicity declare variables to avoid header conflicts | |
3620 | caused by '#define extern" on cygwin. | |
3621 | * win32.h: Include <alloca.h> if it exists. | |
3622 | (_MAX_PATH): Define as MAX_PATH when not defined by windows.h. | |
3623 | (_access): Define as access if not defined by windows.h. | |
3624 | ||
8bb9dad9 RC |
3625 | 2002-04-27 Robert Collins <rbtcollins@hotmail.com> |
3626 | ||
3627 | * compress_gz.cc (compress_gz::error): EOF is not an error condition. | |
3628 | ||
6908b7d7 RC |
3629 | 2002-04-27 Robert Collins <rbtcollins@hotmail.com> |
3630 | ||
3631 | * Makefile.am: Add libgetopt++ to the subdirs list. | |
3632 | Search the libgetopt++ header directory. | |
3633 | Link against libgetopt++.la. | |
3634 | (setup_SOURCES): Remove GetOption.cc and getopt.c and Option.cc. | |
3635 | (setup_LDADD): Explicitly include res.o. | |
3636 | * Makefile.in: Regenerate. | |
3637 | * aclocal.m4: Regenerate. | |
3638 | * bootstrap.sh: Call libtoolize. | |
3639 | * configure: Regenerate. | |
3640 | * configure.in: Add libtool support and configure libgetopt++. | |
3641 | * desktop.cc (NoShortcutsOption): Turn into a BoolOption. | |
3642 | (DesktopSetupPage::OnInit): Use the simpler syntax. | |
3643 | * desktop.h: Remove dependency on Option.h, and remove NoShortcustOption | |
3644 | declaration. | |
3645 | * main.cc: Include getopt++/GetOption.h. | |
3646 | (main): Use simpler syntax. | |
3647 | * cdefs.h: Remove. | |
3648 | * getopt.h: Remove. | |
3649 | * getopt.c: Remove. | |
3650 | * GetOption.h: Remove. | |
3651 | * GetOption.cc: Remove. | |
3652 | * Option.h: Remove. | |
3653 | * Option.cc: Remove. | |
3654 | ||
9063358a RC |
3655 | 2002-04-26 Robert Collins <rbtcollins@hotmail.com> |
3656 | ||
3657 | * Makefile.am: Add zlib and bz2lib to SUBDIRS. | |
3658 | ||
f6100b6f RC |
3659 | 2002-04-26 Robert Collins <rbtcollins@hotmail.com> |
3660 | ||
3661 | * aclocal.m4: New file, cached macros. | |
3662 | * bootstrap.sh: New file, calls required autotools in appropriate | |
3663 | order. | |
3664 | * Makefile.am: New file, input Makefile for automake. | |
3665 | * Makefile,in: Now a generated file - regenerate. | |
3666 | * configure: Regenerate. | |
3667 | * configure.in: Add automake support. | |
3668 | * inilex.l: Change VERSION to PACKAGEVERSION to avoid a collision with | |
3669 | automake's VERSION define. | |
3670 | * iniparse.y: Ditto. | |
3671 | ||
db04fc41 RC |
3672 | 2002-04-26 Robert Collins <rbtcollins@hotmail.com> |
3673 | ||
3674 | * cdefs.h: New file, imported to allow getopt.c to build without | |
3675 | cygwin headers. | |
3676 | * getopt.h: New file, imported to allow building without cygwin headers. | |
3677 | * getopt.c: Ditto. | |
3678 | * bz2lib: New directory, contains copy of bz2lib. | |
3679 | * cfgaux: New directory, contains autotool helper scripts. | |
3680 | * Makefile,in: Adjust library and target definitions for building | |
3681 | outside the sourceware tree. | |
3682 | * compress_bz.h: Use new bz2lib header location. | |
3683 | * mount.cc: Import key defines and enums to be independent of cygwin | |
3684 | headers. | |
3685 | * configure.in: Update to autoconf 2.53, and to be sourceware | |
3686 | independent. | |
3687 | * configure: Regenerate. | |
3688 | ||
931f2755 RC |
3689 | 2002-04-12 Robert Collins <rbtcollins@hotmail.com> |
3690 | ||
3691 | * mklink2.cc (make_link_2): Tweak to work with current w32api | |
3692 | headers. | |
3693 | ||
3694 | 2002-04-10 Pavel Tsekov <ptsekov@gmx.net> | |
3695 | ||
3696 | * version.cc (canonicalize_version): Fix a call delete[] | |
3697 | to delete the allocated address. | |
3698 | ||
3699 | 2002-03-29 Robert Collins <rbtcollins@hotmail.com> | |
3700 | ||
3701 | * PickView.cc (PickView::set_headers): Set last_col correctly. Thanks | |
3702 | to Ton van Overbeek for locating the bug area. | |
3703 | ||
49cf3899 RC |
3704 | 2003-03-27 Robert Collins <rbtcollins@hotmail.com> |
3705 | ||
3706 | * PickView.cc (PickView::insert_pkg): Be more generic with | |
3707 | object use. | |
3708 | (PickView::insert_category): Ditto. | |
3709 | (PickView::~PickView): Create. | |
3710 | * PickView.h (PickView::~PickView): Declare. | |
3711 | ||
1be8f8fd RC |
3712 | 2003-03-27 Robert Collins <rbtcollins@hotmail.com> |
3713 | ||
3714 | * Makefile.in (OBJS): Add new commandline objects. | |
3715 | * desktop.cc (NoShortCutsOption): New option code. | |
3716 | (DesktopSetupPage::OnInit): Check whether to skip shortcuts. | |
3717 | * desktop.h (NoShortCutsOption): New concrete command line option class. | |
3718 | * main.cc (WinMain): Process command line options. | |
3719 | * GetOption.h: New file, singleton command line class. | |
3720 | * GetOption.cc: New file, implementation of the above. | |
3721 | * Option.h : New file, abstract option for GetOption. | |
3722 | * Option.cc: New file, implement constructor and destructor. | |
3723 | ||
f2e49cf8 RC |
3724 | 2002-03-26 Pavel Tsekov <ptsekov@gmx.net> |
3725 | ||
58b12a06 | 3726 | * mkdir.cc (mkdir_p): Stop processing if the path is exhausted. |
f2e49cf8 RC |
3727 | |
3728 | 2002-03-26 Ton van Overbeek <tvoverbe@cistron.nl> | |
3729 | ||
58b12a06 MB |
3730 | * PickPackageLine.cc (PickPackageline::paint): Adjust clipping rectangle |
3731 | to textheight, so large fonts work. | |
f2e49cf8 RC |
3732 | |
3733 | 2003-03-26 Robert Collins <rbtcollins@hotmail.com> | |
3734 | ||
58b12a06 MB |
3735 | * io_stream_cygfile.cc (io_stream_cygfile::mklink): Don't translate |
3736 | symlinks. | |
f2e49cf8 RC |
3737 | |
3738 | 2003-03-26 Robert Collins <rbtcollins@hotmail.com> | |
3739 | ||
58b12a06 MB |
3740 | * io_stream_cygfile.cc (cwd): New static for cwd storage. |
3741 | (io_stream_cygfile::normalise): New method. | |
3742 | (io_stream_cygfile::io_stream_cygfile): Use it. | |
3743 | (io_stream_cygfile::exists): Ditto. | |
3744 | (io_stream_cygfile::remove): Ditto. | |
3745 | (io_stream_cygfile::mklink): And again. | |
3746 | (cygmkdir_p): Yes, again. | |
3747 | (io_stream_cygfile::move): And once more. | |
3748 | * io_stream_cygfile.h (io_stream_cygfile::normalise): Declare. | |
3749 | (io_stream_cygfile::cwd): Ditto. | |
f2e49cf8 | 3750 | |
51ebb760 RC |
3751 | 2003-03-26 Robert Collins <rbtcollins@hotmail.com> |
3752 | ||
3753 | * package_meta.cc (package_meta::~package_meta): Remove duplicate. | |
3754 | (CategoryPackage::~CategoryPackage): Ditto. (Thanks to Ton van | |
3755 | Overbeek for the report). | |
3756 | * mklink2.cc: Moved from mklink2.c to avoid 'not a prototype error'. | |
3757 | Make g++ compatible. | |
3758 | * mklink2.c: Remove. | |
3759 | * site.cc (site_list_type::init): Delete the correct memory addres. | |
3760 | Thanks to Pavel Tsekov for tracking this down. | |
3761 | ||
e7d67c03 RC |
3762 | 2002-03-20 Robert Collins <rbtcollins@hotmail.com> |
3763 | ||
3764 | * win32.h: Only define alloca if it's not already. | |
3765 | ||
2fa7c5a4 RC |
3766 | 2002-03-20 Robert Collins <rbtcollins@hotmail.com> |
3767 | ||
58b12a06 MB |
3768 | * package_meta.h (packamgemeta::trustp): Make 'test' choice leave |
3769 | installed packages alone. | |
2fa7c5a4 RC |
3770 | * README: Update with latest requests. |
3771 | * Various: MTC fixes from setup200202 branch. | |
3772 | ||
7bf13fc9 CF |
3773 | 2002-03-19 Christopher Faylor <cgf@redhat.com> |
3774 | ||
3775 | * Makefile.in (setup_version.c): Add back magic which allows detection | |
3776 | of setup.exe version number. | |
3777 | ||
2fa7c5a4 RC |
3778 | 2002-03-17 Robert Collins <rbtcollins@hotmail.com> |
3779 | ||
58b12a06 | 3780 | * PickPackageLine.cc (PickPackageLine::paint): Fix incorrect clip region |
2fa7c5a4 RC |
3781 | calculation on win9x systems. |
3782 | ||
3783 | 2002-03-16 Robert Collins <rbtcollins@hotmail.com> | |
3784 | ||
58b12a06 MB |
3785 | * install.cc (install_one_source): Write the correct length of a string |
3786 | to the lst file (Thanks to Pavel Tsekov for reporting the bug). | |
2fa7c5a4 RC |
3787 | |
3788 | 2002-03-15 Robert Collins <rbtcollins@hotmail.com> | |
3789 | ||
3790 | * choose.cc (list_click): Always refresh the entire chooser, as our | |
58b12a06 MB |
3791 | package state change mechanism is broken with the new improved list |
3792 | classes. | |
2fa7c5a4 RC |
3793 | |
3794 | 2002-03-15 Robert Collins <rbtcollins@hotmail.com> | |
3795 | ||
58b12a06 MB |
3796 | * desktop.cc (make_passwd_group): Check for .lnk suffix on /etc/passwd |
3797 | and /etc/group. | |
2fa7c5a4 RC |
3798 | |
3799 | 2002-03-15 Robert Collins <rbtcollins@hotmail.com> | |
3800 | ||
58b12a06 MB |
3801 | * PickPackageLine.cc (PickPackageLine::DrawCheck): New method factored |
3802 | out from paint(). | |
3803 | (PickPackageLine::paint): Use DrawCheck to draw the src tick box, and | |
3804 | the new bin tickbox. | |
2fa7c5a4 RC |
3805 | (PickPackageLine::click): Handle the new bin tickbox. |
3806 | * PickPackageLine.h (PickPackageLine::DrawCheck): Declare this. | |
3807 | * PickView.cc (pkg_headers): Add a Bin? column. | |
3808 | (cat_headers): Ditto. | |
3809 | (PickView::set_headers): Ditto. | |
3810 | (PickView::init_headers): Ditto. | |
3811 | * PickView.h (PickView): Ditto. | |
58b12a06 MB |
3812 | * choose.cc (list_click): Use the new name for src_col to set the clip |
3813 | rectangle. | |
2fa7c5a4 RC |
3814 | |
3815 | 2002-02-24 Michael A Chase <mchase@ix.netcom.com> | |
3816 | ||
3817 | * io_stream_cygfile.cc (io_stream_cygfile::mklink): Fix up Robert's | |
3818 | fixup. | |
3819 | ||
3820 | 2002-02-24 Michael A Chase <mchase@ix.netcom.com> | |
3821 | ||
3822 | * desktop.cc (make_link): Add "file://" prefix to io_stream::mkpath_p() | |
3823 | call. | |
3824 | (make_passwd_group): Ditto. | |
3825 | * localdir.cc (save_local_dir): Ditto. | |
3826 | * io_stream_cygfile.cc (io_stream_cygfile::mklink): Wrap long lines. | |
3827 | Add "cygfile://" prefix to io_stream::open() calls. | |
3828 | ||
204315f9 RC |
3829 | 2002-02-24 Robert Collins <rbtcollins@hotmail.com> |
3830 | ||
3831 | * log.cc (log_save): Fix creating /var/log. | |
3832 | * packate_meta.cc (standard_dirs): Remove duplicate '/''s. | |
3833 | ||
58db1046 RC |
3834 | 2002-02-24 Gary R. Van Sickle <g.r.vansickle@worldnet.att.net> |
3835 | ||
3836 | * res.rc (STRINGTABLE): Add IDS_CYGWIN_SETUP and | |
3837 | IDS_CYGWIN_SETUP_WITH_PROGRESS strings. | |
3838 | * resource.h: Add IDS_CYGWIN_SETUP and | |
3839 | IDS_CYGWIN_SETUP_WITH_PROGRESS IDs. | |
3840 | ||
3841 | * splash.cc (OnInit): Qualify SetWindowText() call with global scope | |
3842 | operator (::SetWindowText()). | |
3843 | ||
3844 | * threebar.cc: Run indent. | |
3845 | (cistring.h): Add include. | |
3846 | (SetText1, SetText2, SetText3): Qualify SetWindowText() call with | |
3847 | global scope operator. | |
3848 | (SetBar2): Add logic for writing percent complete into window title. | |
3849 | ||
3850 | * window.h: Run indent. | |
3851 | (SetWindowText): New function. | |
3852 | (String): Add forward declaration. | |
3853 | * window.cc: Run indent. | |
3854 | (String++.h): Add include. | |
3855 | (SetWindowText): New function. | |
3856 | ||
490717ef RC |
3857 | 2002-02-24 Robert Collins <rbtcollins@hotmail.com> |
3858 | ||
3859 | * README: Update TODO list. | |
3860 | * install.cc (install_one): Fix src package location. | |
3861 | (do_install_thread): Fix creating directories. | |
3862 | ||
7c6ef2c3 RC |
3863 | 2002-02-19 Robert Collins <rbtcollins@hotmail.com> |
3864 | ||
3865 | * choose.cc: Include cygpackage.h for scan2 use. | |
3866 | (set_existence): Ignore setup.ini mirrors when installing from cwd. | |
3867 | (scan2): Process any valid file. | |
58b12a06 MB |
3868 | Add cache entries when a file matching a setup.ini listed version is |
3869 | found. | |
7c6ef2c3 RC |
3870 | * filemanip.cc (parse_filename): Remove pkgtar - not used anywhere else. |
3871 | * filemanip.h (filemanip::pkgtar): Remove. | |
3872 | * package_meta.cc (CategoryPackage::~CategoryPackage): New method. | |
3873 | (packagemeta::~packagemeta): Move from package_meta.h | |
3874 | Remove and delete all version and category information. | |
3875 | * package_meta.h (CategoryPackage): Create a destructor. | |
3876 | (packagemeta::~packagemeta): Move to .cc file. | |
3877 | ||
3878 | 2002-02-19 Robert Collins <rbtcollins@hotmail.com> | |
3879 | ||
3880 | * install.cc (install_one_source): Make NULL cached package names cause | |
3881 | errors. | |
3882 | ||
bb087dce RC |
3883 | 2002-02-18 Michael A Chase <mchase@ix.netcom.com> |
3884 | ||
3885 | * desktop.cc (make_passwd_group): Don't create passwd-grp.bat | |
3886 | unnecessarily. | |
3887 | ||
3888 | 2002-02-18 Michael A Chase <mchase@ix.netcom.com> | |
3889 | ||
3890 | * log.cc (log_save): Put "\n" at end of log lines instead of "'". | |
3891 | ||
c90bc3df RC |
3892 | 2002-02-19 Robert Collins <rbtcollins@hotmail.com> |
3893 | ||
3894 | * mount.cc (create_mount): Avoid a const char*->char* warning. | |
3895 | (read_mounts): Ditto. | |
3896 | ||
3bab9a49 RC |
3897 | 2002-02-05 Jason Tishler <jason@tishler.net> |
3898 | ||
58b12a06 | 3899 | * download.cc (do_download_thread): Fix off-by-one error. |
3bab9a49 | 3900 | |
1ac649ed RC |
3901 | 2002-02-19 Robert Collins <rbtcollins@hotmail.com> |
3902 | ||
3903 | * configure.in (CXXFLAGS): Substitute at configure time, not runtime. | |
3904 | * configure (CXXFLAGS): Regenerate. | |
3905 | * Makefile.in (iniparse.o): Build via default rules - no errors now. | |
3906 | * README: TODO list updates. | |
3907 | ||
3908 | 2002-02-19 Michael A Chase <mchase@ix.netcom.com> | |
3909 | ||
3910 | * String++.cc (String::concat):: Remove. | |
3911 | (String::vconcat):: Ditto. | |
3912 | * String++.h (String::concat):: Remove. | |
3913 | (String::vconcat):: Ditto. | |
3914 | * archive_tar.cc: Don't include concat.h. | |
3915 | * archive_tar_file.cc: Don't include concat.h. | |
3916 | * compress_bz.cc (compress_bz::peek): Don't log unneeded messages. | |
3917 | (compress_bz::seek): Ditto. | |
3918 | (compress_bz::~compress_bz): Ditto. | |
3919 | * compress_gz.cc (compress_gz::peek): Ditto. | |
3920 | (compress_gz::error): Ditto. | |
3921 | (compress_gz::~compress_gz): Ditto. | |
3922 | * concat.cc (vconcat): Remove. | |
3923 | (concat): Ditto. | |
3924 | * concat.h (vconcat): Remove. | |
3925 | (concat): Ditto. | |
3926 | * desktop.cc (desktop_icon): Use new cygpath. | |
3927 | (make_etc_profile): Ditto. | |
3928 | (uexists): Ditto. | |
3929 | (make_passwd_group): Ditto. | |
3930 | (save_icon): Ditto. | |
3931 | (check_desktop): Remove concat use. | |
3932 | (check_start_menu): Ditto. | |
3933 | * download.cc (download_one): Use new mkpath_p correctly. | |
3934 | Use LOG_PLAIN. | |
3935 | * fromcwd.cc: Don't include concat.h. | |
3936 | * geturl.cc (get_url_to_membuf): Use String log() call. | |
3937 | (get_url_to_file): Ditto. | |
3938 | * install.cc: Don't include concat.h. | |
3939 | (uninstall_one): Use LOG_PLAIN. | |
3940 | (replace_one): Ditto. | |
3941 | (install_one_source): Ditto. | |
3942 | (install_one): More char to String conversion. | |
3943 | (do_install_thread): Use new cygpath. | |
3944 | Use new create_mount. | |
3945 | * io_stream.cc (io_stream::move): Use new log(). | |
58b12a06 MB |
3946 | * io_stream_cygfile (io_stream_cygfile::io_stream_cygfile): Use new |
3947 | cygpath. | |
1ac649ed RC |
3948 | (io_stream_cygfile::exists): Ditto. |
3949 | (io_stream_cygfile::remove): Ditto. | |
3950 | (io_stream_cygfile::mklink): Ditto. | |
3951 | (io_stream_cygfile::write): Ditto. | |
3952 | (cygmkdir_p): Ditto. | |
3953 | (io_stream_cygfile::move): Ditto. | |
3954 | * io_stream_file.cc: Don't include log.h. | |
3955 | (io_stream_file::write): Don't log unneeded messages. | |
3956 | * localdir.cc: Don't include concat.h. | |
3957 | (LocalDirPage::OnNext): Use LOG_PLAIN. | |
3958 | * log.cc: Don't include log.h. | |
3959 | (exit_setup): Use new cygpath. | |
3960 | * log.h (log_level): Add new level LOG_PLAIN. | |
3961 | * main.cc (WinMain): Use new log(). | |
3962 | * mount.cc (SLASH_P): New macro from concat.h. | |
3963 | (cygpath): Make String version globally visible. | |
3964 | Remove varargs version. | |
3965 | * mount,h: Ditto. | |
3966 | * msg.cc (mbox): Use LOG_PLAIN. | |
3967 | * net.cc (NetPage::OnNext): Ditto. | |
3968 | * nio-ftp.cc (ftp_line): Use new log(). | |
3969 | * nio-http.cc: Don't include log.h. | |
3970 | (retry_get): Use alternative url variable. | |
3971 | * package_db.cc: Don't include concat.h. | |
3972 | (packagedb::flush): Don't use concat. | |
3973 | * package_meta.cc: Don't include concat.h. | |
3974 | (packagemeta::uninstall): Use new cygpath. | |
3975 | * postinstall.cc (do_postinstall): Ditto. | |
3976 | * root.cc (RootPage::OnNext): Use LOG_PLAIN. | |
3977 | * script.cc: Don't include concat.h. | |
3978 | (init_run_script): Use new cygpath. | |
3979 | (run_script): More char * to String conversion. | |
3980 | (try_run_script): Ditto. | |
3981 | * site.cc: Don't include concat.h. | |
3982 | (SitePage::OnNext): Use LOG_PLAIN. | |
3983 | (SitePage::OnMessageCmd): Use new log(). | |
3984 | * source.cc (SourcePage::OnDeactivate): Use LOG_PLAIN. | |
3985 | ||
3c054baf RC |
3986 | 2002-02-19 Robert Collins <rbtcollins@hotmail.com> |
3987 | ||
3988 | * Makefile.in (OBJS): Add new object. | |
58b12a06 MB |
3989 | * PickCategoryLine.cc (PickCategoryLine::paint): Print a "+" before the |
3990 | name. | |
3c054baf RC |
3991 | * PickCategoryLine.h (PickCategoryLine::bucket): Use the String class. |
3992 | * PickLine.h (Pickline::key): Change to a String to help plug leaks. | |
3993 | (PickLine::Pickline): Accept a String for the key. | |
58b12a06 MB |
3994 | * PickPackageLine.cc (PickPackageLine::paint): Convert all char use to |
3995 | Strings. | |
3996 | * PickPackageLine.h (PickPackageLine::PickPackageLine): The key is | |
3997 | automatically initialised now. | |
3c054baf | 3998 | * PickView.cc (PickView::note_width): Convert all char * use to Strings. |
58b12a06 MB |
3999 | (PickView::init_header): Move category length checking out of the inner |
4000 | loop for efficiency. | |
3c054baf RC |
4001 | Convert all char use to Strings. |
4002 | * PickView.h: Include the String++ header. | |
4003 | (PickView::note_width): Update the prototype. | |
4004 | * String++.cc: New file, implements a reference counting string class. | |
4005 | * String++.h: New file, declares a reference counting string class. | |
4006 | * archive.cc: Include String++ instead of concat. | |
4007 | (archive::extract_file): Convert char * usage to Strings. | |
4008 | * archive.h: Inlude the String++ header. | |
4009 | (archive::extract_file): Update prototype. | |
4010 | (archive::next_file_name): Convert to a String. | |
4011 | (archive::linktarget): Ditto. | |
4012 | * archive_tar.cc (archive_tar::next_file_name): Convert to String usage. | |
4013 | (archive_tar::linktarget): Ditto. | |
4014 | * arhive_tar.h: Update the copyright. | |
4015 | Explicitly include the relevant headers. | |
4016 | (tar_map_result_type): Convert to String usage. | |
4017 | (archive_tar::next_file_name): Update prototype. | |
4018 | (archive_tar::linktarget): Ditto. | |
4019 | * category.cc (Category::Category): Update initialisers. | |
4020 | Convert to String usage. | |
4021 | (Categorycmp): Update to String usage. | |
4022 | * category.h: Include the String++ header. | |
4023 | (Category::Category): Update to String usage. | |
4024 | (Category::name): Ditto. | |
4025 | (Category::key): Ditto. | |
4026 | * choose.cc: Remove concat.h, it's not needed. | |
4027 | (scan2): Update to String usage. | |
4028 | (do_choose): Ditto. | |
4029 | * cygpackage.cc: Update includes for use of String class. | |
4030 | (cygpackage::cygpackage): Update for String usage. | |
4031 | (cygpackage::set_canonical_version): Ditto. | |
4032 | (cygpackage::destroy): Ditto. | |
4033 | (cygpackage::getfirstfile): Ditto. | |
4034 | (cygpackage::getnextfile): Ditto. | |
4035 | (cygpackage::Name): Ditto. | |
4036 | (cygpackage::Vendor_version): Ditto. | |
4037 | (cygpackage::Package_version): Ditto. | |
4038 | (cygpackage::Canonical_version): Ditto. | |
4039 | (cygpackage::set_sdesc): Ditto. | |
4040 | (cygpackage::set_ldesc): Ditto. | |
4041 | * cygpackage.h: Include String++.h for parsing this file. | |
4042 | (cygpackage::cygpackage): Update for String usage. | |
4043 | (cygpackage::set_canonical_version): Ditto. | |
4044 | (cygpackage::destroy): Ditto. | |
4045 | (cygpackage::getfirstfile): Ditto. | |
4046 | (cygpackage::getnextfile): Ditto. | |
4047 | (cygpackage::Name): Ditto. | |
4048 | (cygpackage::Vendor_version): Ditto. | |
4049 | (cygpackage::Package_version): Ditto. | |
4050 | (cygpackage::Canonical_version): Ditto. | |
4051 | (cygpackage::set_sdesc): Ditto. | |
4052 | (cygpackage::set_ldesc): Ditto. | |
4053 | (cygpackage::name): Ditto. | |
4054 | (cygpackage::vendor): Ditto. | |
4055 | (cygpackage::packagev): Ditto. | |
4056 | (cygpackage::canonical): Ditto. | |
4057 | (cygpackage::fn): Ditto. | |
4058 | (cygpackage::sdesc): Ditto. | |
4059 | (cygpackage::ldesc): Ditto. | |
4060 | * desktop.cc: Update includes for use of String class. | |
4061 | (batname): Update for String usage. | |
4062 | (iconname): Ditto. | |
4063 | (make_link): Ditto. | |
4064 | (start)menu): Ditto. | |
4065 | (desktop_icon): Ditto. | |
4066 | (make_cygwin_bat): Ditto. | |
4067 | (make_etc_profile): Ditto. | |
4068 | (uexists): Ditto. | |
4069 | (make_passwd_group): Ditto. | |
4070 | (save_icon): Ditto. | |
4071 | (check_desktop): Ditto. | |
4072 | (check_startmenu): Ditto. | |
4073 | * dialog.cc (eget): Update for String usage. | |
4074 | (egetString): New function. | |
4075 | (eset): New variant for Strings. | |
4076 | * dialog.h: Include String++.h for parsing this file. | |
4077 | (egetString): New function. | |
4078 | (eset): New variant for Strings. | |
4079 | * diskfull.cc (diskfull): Update for String usage. | |
4080 | * diskfull.h: Include String++.h for parsing this file. | |
4081 | (diskfull): Update for String usage. | |
4082 | * download.cc: Update includes for use of String class. | |
4083 | (check_for_cached): Update for String usage. | |
4084 | (download_one): Ditto. | |
4085 | * filemanip.cc (get_file_size): Ditto. | |
4086 | (base): Ditto. | |
4087 | (parse_filename): Ditto. | |
4088 | (backslash): Ditto. | |
4089 | * filemanip.h: Include String++.h for parsing this file. | |
4090 | (fileparse): Update for String usage. | |
4091 | (base): Ditto. | |
4092 | (parse_filename): Ditto. | |
4093 | Don't consider '_' to be a separator. | |
4094 | (backslash): Ditto. | |
4095 | * find.cc: Update includes for use of String class. | |
4096 | (find_sub): Make more flexible. | |
4097 | (find): Update for String usage. | |
4098 | * find.h (find): Use Strings. | |
4099 | * fromcwd.cc (found_file): Update for String usage. | |
4100 | * geturl.cc: Ditto. | |
4101 | (init_dialog): Ditto. | |
4102 | (get_url_to_membuf): Ditto. | |
4103 | (get_url_to_string): Ditto. | |
4104 | (get_url_to_file): Ditto. | |
4105 | * geturl.h: Ditto. | |
4106 | (get_url_to_membuf): Ditto. | |
4107 | (get_url_to_string): Ditto. | |
4108 | (get_url_to_file): Ditto. | |
4109 | * hash.h: Ditto. | |
4110 | (add_subdirs): Ditto. | |
4111 | * ini.cc: Update includes for String usage. | |
4112 | (find_routine): Update for String usage. | |
4113 | (do_remote_ini): Ditto. | |
4114 | (do_ini_thread): Ditto. | |
4115 | * ini.h (ini_init): Ditto. | |
4116 | * inilex.l: Update includes for String usage. | |
4117 | (ini_init): Update for String usage. | |
4118 | * iniparse.y: Ditto. | |
4119 | (add_correct_version): Ditto. | |
4120 | * install.cc: Update includes for String usage. | |
4121 | (install_one_source): Update for String usage. | |
4122 | (uninstall_one): Ditto. | |
4123 | (replace_one): Ditto. | |
4124 | (install_one_source): Ditto. | |
4125 | (do_install_thread): Ditto. | |
4126 | * io_stream.cc: Update includes for String usage. | |
4127 | (io_stream::open): Update for String usage. | |
4128 | (io_stream::mkpath_p): Ditto. | |
4129 | (io_stream::remove): Ditto. | |
4130 | (io_stream::mklink): Ditto. | |
4131 | (io_stream::move_copy): Ditto. | |
4132 | (io_stream::move): Ditto. | |
4133 | (io_stream::exists): Ditto. | |
4134 | * io_stream.h: Update includes to allow correct parsing. | |
4135 | (io_stream::open): Update for String usage. | |
4136 | (io_stream::mkpath_p): Ditto. | |
4137 | (io_stream::remove): Ditto. | |
4138 | (io_stream::mklink): Ditto. | |
4139 | (io_stream::move_copy): Ditto. | |
4140 | (io_stream::move): Ditto. | |
4141 | (io_stream::exists): Ditto. | |
4142 | * io_stream_cygfile.cc: Update includes for String usage. | |
4143 | (get_root_dir_now): Update for String usage. | |
4144 | (io_stream_cygfile::io_stream_cygfile): Ditto. | |
4145 | (io_stream_cygfile::~io_stream_cygfile): Ditto. | |
4146 | (io_stream_cygfile::exists): Ditto. | |
4147 | (io_stream_cygfile::remove): Ditto. | |
4148 | (io_stream_cygfile::mklink): Ditto. | |
4149 | (cygmkdir_p): Ditto. | |
4150 | (io_stream_cygfile::set_mtime): Ditto. | |
4151 | (io_stream_cygfile::move): Ditto. | |
4152 | (io_stream_cygfile::get_size): Ditto. | |
4153 | * io_stream_cygfile.h: Update includes for String usage. | |
4154 | (io_stream_cygfile::io_stream_cygfile): Update for String usage. | |
4155 | (io_stream_cygfile::~io_stream_cygfile): Ditto. | |
4156 | (io_stream_cygfile::exists): Ditto. | |
4157 | (io_stream_cygfile::remove): Ditto. | |
4158 | (io_stream_cygfile::mklink): Ditto. | |
4159 | (cygmkdir_p): Ditto. | |
4160 | (io_stream_cygfile::set_mtime): Ditto. | |
4161 | (io_stream_cygfile::move): Ditto. | |
4162 | (io_stream_cygfile::get_size): Ditto. | |
4163 | (io_stream_cygfile::fname): Ditto. | |
4164 | (io_stream_cygfile::lmode): Ditto. | |
4165 | * io_stream_file.cc: Update includes for String usage. | |
4166 | (io_stream_file::io_stream_file): Update for String usage. | |
4167 | (io_stream_file::~io_stream_file): Ditto. | |
4168 | (io_stream_file::exists): Ditto. | |
4169 | (io_stream_file::remove): Ditto. | |
4170 | (io_stream_file::mklink): Ditto. | |
4171 | (io_stream_file::set_mtime): Ditto. | |
4172 | (io_stream_file::move): Ditto. | |
4173 | (io_stream_file::get_size): Ditto. | |
4174 | * io_stream_file.h: Update includes for String usage. | |
4175 | * io_stream_file.cc: Update includes for String usage. | |
4176 | (io_stream_file::io_stream_file): Update for String usage. | |
4177 | (io_stream_file::~io_stream_file): Ditto. | |
4178 | (io_stream_file::exists): Ditto. | |
4179 | (io_stream_file::remove): Ditto. | |
4180 | (io_stream_file::mklink): Ditto. | |
4181 | (io_stream_file::set_mtime): Ditto. | |
4182 | (io_stream_file::move): Ditto. | |
4183 | (io_stream_file::get_size): Ditto. | |
4184 | (io_stream_file::fname): Ditto. | |
4185 | (io_stream_file::lmode): Ditto. | |
4186 | * localdir.cc: Update includes for String usage. | |
4187 | (save_local_dir): Update for String usage. | |
4188 | (check_if_enable_next): Ditto. | |
4189 | (load_dialog): Ditto. | |
4190 | (browse_cb): Ditto. | |
4191 | (LocalDirPage::OnInit): Ditto. | |
4192 | (LocalDirPage::OnNext): Ditto. | |
4193 | * log.cc: Update includes for String usage. | |
4194 | (struct LogEnt): Update for String usage. | |
4195 | (log): Ditto. | |
4196 | (log_save): Ditto. | |
4197 | (exit_setup): Ditto. | |
4198 | * log.h: Update includes for String usage. | |
4199 | (log_level): Update for String usage. | |
4200 | (log): Ditto. | |
4201 | (log_save): Ditto. | |
4202 | * main.cc (WinMain): Update for String usage. | |
4203 | * mklink2.c (make_link_2): Update for String usage. | |
4204 | * mklink2.h (make_link_2): Update for String usage. | |
4205 | * mount.cc: Update includes for String usage. | |
4206 | (mount_table): Update for String usage. | |
4207 | (find2): Ditto. | |
4208 | (create_mount): Ditto. | |
4209 | (remove1): Ditto. | |
4210 | (remove_mount): Ditto. | |
4211 | (read_mounts): Ditto. | |
4212 | (set_root_dir): Ditto. | |
4213 | (get_root_dir): Ditto. | |
4214 | (path_prefix_p): Ditto. | |
4215 | (cygpath): Ditto. | |
4216 | * mount.h: Update includes for String usage. | |
4217 | (create_mount): Update for String usage. | |
4218 | (remove_mount): Ditto. | |
4219 | (cygpath): Ditto. | |
4220 | (set_root_dir): Ditto. | |
4221 | (get_root_dir): Ditto. | |
4222 | * msg.cc (mbox): Ditto. | |
4223 | * net.cc (NetPage::OnNext): Ditto. | |
4224 | * package_db.cc (packagedb::flush): Ditto. | |
4225 | (packagedb::packages): Ditto. | |
4226 | (packagedb::categories): Ditto. | |
4227 | * package_db.h: Update includes for String usage. | |
4228 | (packagedb::packages): Update for String usage. | |
4229 | (packagedb::categories): Ditto. | |
4230 | * package_meta.cc: Update includes for String usage. | |
4231 | (hash::add_subdirs): Update for String usage. | |
4232 | (packagemeta::uninstall): Ditto. | |
4233 | (packagemeta::SDesc): Ditto. | |
4234 | (packagemeta::action_caption): Ditto. | |
4235 | * package_meta.h: Update includes for String usage. | |
4236 | (packagemeta::packagemeta): Update for String usage. | |
4237 | (packagemeta::~packagemeta): Ditto. | |
4238 | (packagemeta::uninstall): Ditto. | |
4239 | (packagemeta::SDesc): Ditto. | |
4240 | (packagemeta::action_caption): Ditto. | |
4241 | (package_source.cc site::site): Ditto. | |
4242 | (packagesource::set_canonical): Ditto. | |
4243 | (packagesource::set_cached): Ditto. | |
4244 | * package_source.h: Update includes for String usage. | |
4245 | (site::site): Update for String usage. | |
4246 | (packagesource::set_canonical): Ditto. | |
4247 | (packagesource::set_cached): Ditto. | |
4248 | (packagesource::packagesource): Ditto. | |
4249 | (packagesource::sites): Ditto. | |
4250 | (packagesource::cached): Ditto. | |
4251 | * package_version.h: Update includes for String usage. | |
4252 | (Dependency): Update for String usage. | |
4253 | (packageversion): Ditto. | |
4254 | * postinstall.cc: Update includes for String usage. | |
4255 | (do_postinstall): Update for String usage. | |
4256 | * res.rc (IDD_LOCAL_DIR): Fix typo again! | |
4257 | * rfc1738.cc (rfc1738_escape_part): Update for String usage. | |
4258 | * rfc1738.h: Update includes for String usage. | |
4259 | (rfc1738_escape_part): Update for String usage. | |
4260 | * root.cc: Update includes for String usage. | |
4261 | (check_if_enable_next): Update for String usage. | |
4262 | (save_dialog): Ditto. | |
4263 | (browse_cb): Ditto. | |
4264 | (directory_is_absolute): Ditto. | |
4265 | (directory_is_rootdir): Ditto. | |
4266 | (directory_has_spaces): Ditto. | |
4267 | (RootPage::OnInit): Ditto. | |
4268 | (RootPage::OnNext): Ditto. | |
4269 | * script.cc: Update includes for String usage. | |
4270 | (init_run_script): Update for String usage. | |
4271 | (run): Ditto. | |
4272 | (run_script): Ditto. | |
4273 | (try_run_script): Ditto. | |
4274 | * script.h: Update includes for String usage. | |
4275 | (run_script): Update for String usage. | |
4276 | (try_run_script): Ditto. | |
4277 | * site.cc site_list): Ditto. | |
4278 | (all_site_list): Ditto. | |
4279 | (other_url): Eliminate. | |
4280 | (site_list_type::init): Update for String usage. | |
4281 | (site_list_type::site_list_type): Ditto. | |
4282 | (get_site_list): Ditto. | |
4283 | (get_saved_sites): Ditto. | |
4284 | (do_download_site_info_thread): Ditto. | |
4285 | (SitePage::OnNext): Ditto. | |
4286 | (SitePage::OnActivate): Ditto. | |
4287 | (SitePage::PopulateListBox): Ditto. | |
4288 | (SitePage::OnMessageCmd): Handle empty url's. | |
4289 | * site.h: Update includes for String usage. | |
4290 | (site_list_type::site_list_type): Update for String usage. | |
4291 | (site_list_type::init): Ditto. | |
4292 | (site_list_type::~site_list_type): Ditto. | |
4293 | (site_list_type::url): Ditto. | |
4294 | (site_list_type::displayed_url): Ditto. | |
4295 | (site_list_type::key): Ditto. | |
4296 | * source.cc (SourcePage::OnDeactivate): Ditto. | |
4297 | * state.h: Update includes for String usage. | |
4298 | (local_dir): Update for String usage. | |
4299 | (trust_level): Remove. | |
4300 | * version.cc: Update includes for String usage. | |
4301 | (canonicalize_version): Update for String usage. | |
4302 | * version.h: Update includes for String usage. | |
4303 | (canonicalize_version): Update for String usage. | |
4304 | ||
08233ec7 CF |
4305 | 2002-02-15 Christopher Faylor <cgf@redhat.com> |
4306 | ||
4307 | * filemanip.c (parse_filename): Revert previous change. | |
4308 | ||
94dffbdd CF |
4309 | 2002-02-14 Christopher Faylor <cgf@redhat.com> |
4310 | ||
4311 | * filemanip.c (parse_filename): Don't treat '_' as a version number | |
4312 | introducer. | |
4313 | ||
cef493d7 CF |
4314 | 2002-01-29 Christopher Faylor <cgf@redhat.com> |
4315 | ||
4316 | * configure: Regenerate. | |
4317 | ||
57219197 RC |
4318 | 2002-01-27 Robert Collins <rbtcollins@hotmail.com> |
4319 | ||
94dffbdd CF |
4320 | * res.rc (IDD_LOCAL_DIR): Fix typo reported by Rene |
4321 | <Hoeck@extern.lrz-muenchen.de> | |
57219197 | 4322 | |
cc7493c3 RC |
4323 | 2002-01-27 Robert Collins <rbtcollins@hotmail.com> |
4324 | ||
4325 | * README: Update Todo's. | |
4326 | * list.h: Run indent. | |
4327 | (list): New methods checksize and insert to reduce code duplication. | |
4328 | (list::registerbykey): Use them. | |
4329 | (list::registerbyobject): Ditto. | |
94dffbdd CF |
4330 | (list::removebyindex): Copy each object individually - safe for non |
4331 | trivial objects. | |
cc7493c3 RC |
4332 | (list::checksize): Implement. |
4333 | (list::insert): Implement. | |
4334 | ||
a900d1fa RC |
4335 | 2002-01-27 Robert Collins <rbtcollins@hotmail.com> |
4336 | ||
4337 | * Makefile.in: Remove the dlmalloc object by default. | |
94dffbdd CF |
4338 | * install.cc (do_install_thread): Remove the mallinfo call for 'working |
4339 | around' the crashing issue. | |
a900d1fa | 4340 | * package_db.h: Include <string.h> - it's needed to parse this. |
94dffbdd | 4341 | * package_source.cc (site::site): Move here from the header file. |
a900d1fa RC |
4342 | * package_source.h (site): Stop the constructor being inlinable. |
4343 | ||
9835fb4a RC |
4344 | 2002-01-26 Robert Collins <rbtcollins@hotmail.com> |
4345 | ||
4346 | * filemanip.cc (find_tar_ext): Add a descriptive comment. | |
4347 | ||
4348 | 2002-01-25 Michael A Chase <mchase@ix.netcom.com> | |
4349 | ||
4350 | * filemanip.cc (find_tar_ext): Clean up tests for .tar.gz and .tar. | |
4351 | * fromcwd.cc (do_fromcwd): Expand FIXME comment in source file check. | |
94dffbdd CF |
4352 | * install.cc (install_one_source): Add space between words in log() |
4353 | call. | |
cef493d7 | 4354 | |
77ba23d8 RC |
4355 | 2002-01-22 Robert Collins <rbtcollins@hotmail.com> |
4356 | ||
94dffbdd CF |
4357 | * log.cc (exit_setup): When saving to the download dir, explicity |
4358 | specify the path. | |
77ba23d8 | 4359 | |
6dc75764 RC |
4360 | 2002-01-22 Robert Collins <rbtcollins@hotmail.com> |
4361 | ||
94dffbdd CF |
4362 | * archive.cc (extract_file): Separate out the prefix and the URL |
4363 | scheme. | |
6dc75764 | 4364 | * archive.h (archive::extract_file): Ditto. |
94dffbdd CF |
4365 | * install.cc (install_one_source): Ditto. Use the new |
4366 | archive::extract_file syntax. | |
6dc75764 RC |
4367 | (replace_one): Use the new syntax. |
4368 | (io_stream.cc): Add some log info for links. | |
4369 | ||
7e8fc33c RC |
4370 | 2002-01-22 Robert Collins <rbtcollins@hotmail.com> |
4371 | ||
4372 | * PickCategoryLine.cc (PickCategoryLine::actiontext): Remove. | |
4373 | (PickCategoryLine::paint): Use the new action method. | |
4374 | (PickCategoryLine::click): Set the action for all children. | |
4375 | (PickCategoryLine::set_action): New method. | |
4376 | * PickCategoryLine.h (PickCategoryLine::-actions): Remove. | |
4377 | (PickCategoryLine::current_default): Use packagemeta _actions class. | |
94dffbdd CF |
4378 | * PickLine.h (PickLine::set_action): New abstract method that requires |
4379 | including package_meta.h. | |
7e8fc33c RC |
4380 | * PickPackageLine.cc (PickPackageLine::set_action): New method. |
4381 | * PickPackageLine.h (PickPackageLine::set_action): Declare this. | |
4382 | * list.h (getbykey): A const correctness fix. | |
4383 | * package_meta.cc: Run indent. | |
4384 | (packagemeta::Default_action): New const. | |
4385 | (packagemeta::Install_action): Ditto. | |
4386 | (packagemeta::Reinstall_action): Ditto. | |
4387 | (packagemeta::Uninstall_action): Ditto. | |
4388 | (packagemeta::_actions::caption): New method. | |
4389 | (packagemeta::_actions::operator++): Ditto. | |
4390 | (packagemeta::set_action): New overload. | |
4391 | * package_meta.h (packagemeta::_actions): New class. | |
4392 | (packagemeta::set_action): Declare this. | |
4393 | ||
2c9254b6 RC |
4394 | 2002-01-22 Robert Collins <rbtcollins@hotmail.com> |
4395 | ||
4396 | * Makefile.in (OBJS): Remove supp.o - it appears accidental. | |
4397 | * choose.cc: Don't define alloca anymore, it's done in win32.h | |
4398 | ||
97647369 RC |
4399 | 2002-01-22 Robert Collins <rbtcollins@hotmail.com> |
4400 | ||
4401 | * PickPackageLine.cc: New file. | |
4402 | * PickPackageLine.h: New file. | |
4403 | * PickLine.cc: New file. | |
4404 | * PickLine.h: New file. | |
4405 | * PickCategoryLine.cc: New file. | |
4406 | * PickCategoryLine.h: New file. | |
4407 | * PickView.cc: New file. | |
4408 | * PickView.h: New file. | |
4409 | * Makefile.in: Add new objects to setup.exe. | |
4410 | Backout -fno-exceptions option. | |
4411 | * choose.cc: Include PickView.h. | |
4412 | Remove view related defines and static variables. | |
4413 | (_pkg_headers): Moved to PickView.cc. | |
4414 | (_cat_headers): Ditto. | |
4415 | (view::views::Unknown): Ditto. | |
4416 | (view::views::PackageFull): | |
4417 | (view::views::Package): | |
4418 | (view::views::Category): | |
4419 | (pkgtrustp): Moved to package_meta.cc. | |
4420 | (add_required): Moved to package_meta.cc. | |
4421 | (pick_category_line::empty): Moved to PickCategoryLine.cc | |
4422 | (paint): Adjust for moved static variables. | |
4423 | (view::scroll): Moved to PickView.cc. | |
4424 | (list_vscroll): Adjust for moved static variables. | |
4425 | (list_hscroll): Ditto. | |
4426 | (list_click): Ditto. | |
4427 | (note_width): Moved to PickView.cc. | |
4428 | (view::view): Ditto. | |
4429 | (view::set_view_mode): Ditto. | |
4430 | (view::mode_caption): Ditto. | |
4431 | (view::views::caption): Ditto. | |
4432 | (view::set_headers): Ditto. | |
4433 | (DoInsertItem): Ditto. | |
4434 | (view::init_headers): Ditto. | |
4435 | (view::insert_pkg): Ditto. | |
4436 | (view::insert_category): Ditto. | |
4437 | (view::clear_view): Ditto. | |
4438 | (view::views::operator++): Ditto. | |
4439 | (view::click): Ditto. | |
4440 | (default_trust): Adjust for moved statics. | |
4441 | (pick_pkg_line::paint): Moved to PickPackageLine.cc. | |
4442 | (pick_pkg_line::click): Ditto. | |
4443 | (pick_category_line::actiontext): Moved to PickCategoryLine.cc | |
4444 | (pick_category_line::paint): Ditto. | |
4445 | (pick_category_line::click): Ditto. | |
4446 | (set_view_mode): Adjust for moved statics. | |
4447 | (create_listview): Ditto. | |
58b12a06 MB |
4448 | * choose.h: Remove Category and packagemeta forward defines - |
4449 | not needed. | |
97647369 RC |
4450 | Don't include unneeded headers list and package_meta. |
4451 | (_header): Move to PickView.h. | |
4452 | (pick_line): Move to PickLine.h. | |
4453 | (pick_pkg_line): Move to PickPackageLine.h. | |
4454 | (pick_category_line): Move to PickCategoryLine.h. | |
4455 | (view): Move to PickView.h. | |
4456 | * ini.h (trusts): Move to package_meta.h. | |
4457 | * package_meta.h (trusts): New enum. | |
4458 | (packagemeta::set_requirements): New helper method. | |
4459 | (packagemeta::trustp): Ditto. | |
4460 | ||
b566778e CF |
4461 | 2002-01-21 Christopher Faylor <cgf@redhat.com> |
4462 | ||
4463 | * choose.h (view): Move forward declaration of views into public area | |
4464 | or g++ v3 will complain. | |
4465 | ||
f71e9756 CF |
4466 | 2002-01-21 Christopher Faylor <cgf@redhat.com> |
4467 | ||
4468 | * Makefile.in (CXXFLAGS): Add -fno-exceptions. | |
4469 | * win32.h (alloca): Define as __builtin_alloca. | |
4470 | * io_stream_memory.cc: Add include file. | |
4471 | ||
e9440f0f RC |
4472 | 2002-01-21 Robert Collins <rbtcollins@hotmail.com> |
4473 | ||
58b12a06 MB |
4474 | * archive_tar.cc (archive_tar::~archive_tar): Mark the stream as |
4475 | destroyed. | |
e9440f0f RC |
4476 | * archive_tar_file.cc (archive_tar_file::~archive_tar_file): Ditto. |
4477 | * compress.cc (compress::~compress): Be less verbose. | |
4478 | * compress_bz.cc (compress_bz::~compress_bz): Ditto. | |
4479 | Mark the stream as destroyed. | |
58b12a06 MB |
4480 | * compress_gz.cc (compress_gz::~compress_gz): Mark the stream as |
4481 | destroyed. | |
4482 | * io_stream.cc (io_stream::~io_stream): Only warn when the stream is not | |
4483 | marked as destroyed. | |
cef493d7 | 4484 | * io_stream_cygfile.cc (io_stream_cygfile::~io_stream_cygfile): Mark the |
e9440f0f RC |
4485 | stream as destroyed. |
4486 | * io_stream_file.cc (io_stream_file::~io_stream_file): Ditto. | |
4487 | * io_stream_memory.cc (io_stream_memory::~io_stream_memory): Ditto. | |
cef493d7 | 4488 | |
5e0464a1 RC |
4489 | 2002-01-21 Robert Collins <rbtcollins@hotmail.com> |
4490 | ||
4491 | * Makefile.in (CFLAGS): Allow customisable malloc debug flags. | |
4492 | (OBJS): Link in malloc objects. | |
4493 | * category.cc (category): Use new char, not strdup. | |
4494 | * choose.cc (pick_pkg_line::paint): Allow for the regionsize to shrink. | |
4495 | (do_choose): Use new char, not malloc. | |
4496 | * concat.cc (vconcat): Ditto. | |
4497 | * cygpackage.cc (cygpackage): Use new char, not strdup. | |
4498 | (set_canonical_version): Ditto. | |
4499 | (cygpackage::destroy): Use delete[], not free. | |
4500 | * desktop.cc (uexists): Ditto. | |
4501 | * dialog.cc (egest): Use new char, not strdup. | |
4502 | * dlmalloc.c: New file - Doug Lea's malloc 2.7.0 | |
4503 | * hash.cc (hash::hash): Use delete instead of free. | |
4504 | (hash::add): Use new char, not strdup. | |
4505 | * ini.cc (do_remote_ini): Use delete[] not free. | |
4506 | * inilex.l: Use new char, not strdup. | |
4507 | (ini_init): Ditto. | |
4508 | * iniparse.y: Ditto. | |
4509 | Use a local package_db rather than a static one. | |
4510 | * install.cc (struct mallinfo): Workaround an apparent dlmalloc bug. | |
4511 | (do_install_thread): Call mallinfo to force a consistency check. Appears | |
4512 | to fix a 'inuse' error in -DDEBUG builds. | |
4513 | Use delete[] for strings. | |
58b12a06 MB |
4514 | * io_stream_cygfile.cc (io_stream_cygfile::io_stream_cygfile): Use new |
4515 | char, not strdup. | |
5e0464a1 RC |
4516 | (io_stream_cygfile::~io_stream_cygfile): Use delete[], not free. |
4517 | (io_stream_cygfile::remove): Use new char, not strdup. | |
58b12a06 MB |
4518 | * io_stream_file.cc (io_stream_file::io_stream_file): Use new char, not |
4519 | strdup. | |
5e0464a1 RC |
4520 | (io_stream_file::io_stream_file): Use delete[], not free. |
4521 | (io_stream_file::remove): Use new char, not strdup. | |
4522 | * io_stream_memory.cc (memblock::~memblock): Use delete[], not free. | |
4523 | * io_stream_memory.h (memblock): Use new char, not malloc. | |
4524 | * localdir.cc (LocalDirPage::OnInit): Use new char, not strdup. | |
4525 | * main.cc (WinMain): Use new char, not strdup. | |
4526 | * mount.cc (find2): Use new char, not malloc. | |
4527 | (read_mounts): Ditto. | |
4528 | (cygpath): Use new char, not strdup. | |
4529 | * netio.cc (NetIO::~NetIO): Use delete[], not free. | |
4530 | (NetIO::set_url): Use new char, not strdup. | |
4531 | (NetIO::get_ftp_auth): Use delete[], not free. | |
4532 | * nio-ftp.cc (NetIO_FTP::NetIO_FTP): Ditto. | |
4533 | Use new char instead of strdup. | |
4534 | * nio-http.cc (base64_encode): Use new char, not malloc. | |
4535 | * package_meta.cc (hash::add_subdirs): Use new char instead of strdup. | |
4536 | * package_source.h (~ packagesource): Use delete[] instead of delete. | |
4537 | * port.h (strdup): Deprecate the use of strdup. | |
4538 | * rfc1738.cc (rfc1738_do_escape): Use new char, not calloc. | |
4539 | * script.cc (init_run_script): Us delete[], not free. | |
4540 | (run_script): Ditto. | |
4541 | * simpsock.cc (SimpleSocket::fill): Use new char, not malloc. | |
4542 | (SimpleSocket::invalidate): Use delete[], not free. | |
4543 | * site.cc (site_list_type::init): Use new char instead of strdup. | |
4544 | * site.h (~site_list_type): Use delete[], not free. | |
4545 | ||
ad3c7385 RC |
4546 | 2002-01-20 Robert Collins <rbtcollins@hotmail.com> |
4547 | ||
4548 | * Makefile.in (OBJS): Add win32.o - win32 support functions. | |
4549 | * README: Update todos. | |
58b12a06 MB |
4550 | * archive.cc (extract_file): Support a suffix for appending to extracted |
4551 | files. | |
ad3c7385 RC |
4552 | * archive.h: Ditto. |
4553 | * choose.cc (set_view_mode): Use the new view::views class. | |
4554 | (view::views::Unknown): New static for defaulting view::views variables. | |
4555 | (view::views::PackageFull): New static for the current view. | |
4556 | (view::views::Package): Ditto. | |
4557 | (view::views::Category): Ditto. | |
4558 | (topbucket::paint): Remove. | |
4559 | (topbucket::empty): Rename to pick_category_line::empty. | |
4560 | (topbucket::~topbucket): Remove. | |
4561 | (paint): Use the new view::views class. | |
4562 | Don't paint 'all' as a category when showing package categoies. | |
4563 | (pick_category_line::actiontext): New method. | |
58b12a06 MB |
4564 | (pick_category_line::paint): Make showing the category optional, and |
4565 | show the 'category action'. | |
ad3c7385 | 4566 | (pick_category_line::click): Make showing the category optional, and |
58b12a06 MB |
4567 | differentiate between the name being clicked, and the action |
4568 | description. | |
ad3c7385 RC |
4569 | (view::view): Use the new view::views class. |
4570 | (view::set_view_mode): Ditto. | |
4571 | (view::mode_caption): Ditto. | |
4572 | (view::views::caption): New method. | |
4573 | (view::set_headers): Use the new view::views class. | |
4574 | (view::clear_view): Ditto. | |
cef493d7 | 4575 | (viewsplusplus): Replaced by |
ad3c7385 RC |
4576 | (view::views::operator++): New operator. |
4577 | (set_view_mode): Use the new view::views class. | |
4578 | (create_listview): Ditto. | |
4579 | (dialog_cmd): Ditto. | |
4580 | * choose.h (actions): Remove. | |
4581 | (views): Remove. | |
4582 | (pick_line): Add a new convenience constructor. | |
4583 | (top_bucket): Remove. | |
4584 | (pick_category_line): Reparent under pick_line, and adsorb top_bucket. | |
4585 | (view::views): New class. | |
4586 | * ini.h: Don't include choose.h | |
4587 | (is_download_action): Remove. | |
4588 | (is_upgrade_action): Remove. | |
4589 | (is_uninstall_action): Remove. | |
4590 | (is_full_action): Remove. | |
4591 | * install.cc (num_replacements): New static. | |
4592 | (rebootneeded): Ditto. | |
4593 | (replace_one): Handle upgrades separate from removal or new installs. | |
4594 | (install_one_source): Handle in use files. | |
4595 | (install_one): Don't repeat upgrades. | |
4596 | (do_install_thread): Initialize new statics. | |
4597 | Order actions as uninstall, replace, install. | |
4598 | Warn about rebooting if needed. | |
4599 | * res.rc (IDS_REBOOT_REQUIRED): New string. | |
4600 | * resource.h (IDS_REBOOT_REQUIRED): Give value. | |
4601 | * win32.h: Declare class Win32, and update copyright and intent message. | |
4602 | * win32.cc: New file. | |
4603 | ||
edef4f57 CV |
4604 | 2002-01-15 Corinna Vinschen <corinna@vinschen.de> |
4605 | ||
4606 | * io_stream.cc (io_stream::gets): Eliminate trailing new line chars. | |
4607 | * package_meta.cc (packagemeta::uninstall): Check for additional | |
4608 | Windows shortcut. Unset R/O file attribute before trying to delete | |
4609 | file. | |
4610 | ||
21f325d7 RC |
4611 | 2002-01-09 Robert Collins <rbtcollins@hotmail.com> |
4612 | ||
58b12a06 MB |
4613 | * choose.cc (pkgtrustp): Fall back to installed if a package is not |
4614 | present in the current trust level. For prev, fall back via curr. | |
21f325d7 RC |
4615 | (set_existence): Allow sources with no sites, but cached files to be |
4616 | kept. | |
4617 | (pick_category_line::paint): Start drawing clickable categories. | |
4618 | * fromcwd.cc (found_file): Reinstate local file scanning. | |
4619 | ||
858f100d RC |
4620 | 2002-01-07 Gary R. Van Sickle <g.r.vansickle@worldnet.att.net> |
4621 | ||
cef493d7 | 4622 | * fromcwd.cc: Run indent. |
858f100d RC |
4623 | (do_fromcwd): Reverse sense of comment. Set next_dialog |
4624 | to IDD_CHOOSER instead of IDD_CHOOSE. | |
4625 | * ini.cc (find_routine): Remove "/" from "/setup.ini". | |
cef493d7 | 4626 | |
d343da15 RC |
4627 | 2001-01-07 Robert Collins <rbtcollins@hotmail.com> |
4628 | ||
4629 | * category.cc (Categorycmp): Add a const safe version. | |
4630 | * category.h (Categorycmp): Add a const safe version. | |
4631 | (Category): Add operator ==. | |
4632 | * choose.cc (fill_missing_category): Add every package to "All". | |
58b12a06 MB |
4633 | (pick_category_line::paint): Add support for hidden labels, and a tree |
4634 | depth. | |
d343da15 RC |
4635 | (pick_category_line::click): Ditto. |
4636 | (view::view): Pass in a top level category to use. | |
4637 | (view::insert_pkg): Special case - skip category "All". | |
4638 | (view::insert_category): Ditto. | |
4639 | (view::clear_view): Set the contents label state. | |
4640 | (create_listview): Pass in a top level category to view(). | |
4641 | * choose.h (topbucket): Make bucket available to derived classes. | |
4642 | (pick_category_line): Add support for hidden labels, and a tree depth. | |
4643 | Remove our second copy of bucket. | |
4644 | (view): Pass in a top level category to the constructor. | |
4645 | Use pick_category_line to allow three level display. | |
4646 | ||
bcf20115 RC |
4647 | 2001-01-06 Robert Collins <rbtcollins@hotmail.com> |
4648 | ||
4649 | * cygpackage.h (cygpackage): Make set_[s|l]desc virtual. | |
4650 | * iniparse.y (add_correct_version): Copy descriptions across. | |
58b12a06 MB |
4651 | * package_meta.cc (SDesc): Iterate through versions, return the first |
4652 | with a description. | |
bcf20115 RC |
4653 | * package_version.h (packageversion): Add new virtuals set_[l|s]desc. |
4654 | ||
bc78a6d5 RC |
4655 | 2001-01-04 Robert Collins <rbtcollins@hotmail.com> |
4656 | ||
4657 | * script.cc (run_script): Change cygpath:// to cygfile://. | |
4658 | * install.cc (do_install_thread): Fix off-by-one errors. | |
4659 | ||
4f4e55c2 RC |
4660 | 2001-01-04 Robert Collins <rbtcollins@hotmail.com> |
4661 | ||
4662 | * package_db.cc (packagedb::flush): Fix an off-by-one error. | |
4663 | ||
8e9aa511 RC |
4664 | 2002-01-04 Jan Nieuwenhuizen <janneke@gnu.org> |
4665 | ||
4666 | * Makefile.in (realclean): more clean. | |
4667 | (OBJS): Add script.o. | |
4668 | * postinstall.cc (run_script_in_etc_postinstall): New function. | |
4669 | (do_postinstall): Split off new funtion init_run_script (). | |
4670 | (init_run_script): | |
4671 | (run): | |
4672 | (run_script): Move to script.cc. Replace some deprecated remove | |
4673 | and move calls. | |
4674 | * script.h: | |
4675 | * script.cc: New file. | |
4676 | * Forward port cygwin-20010707.jcn3.patch. | |
4677 | * package_meta.cc (uninstall): Run pre- and postremove scripts. | |
4678 | * install.cc: Typo fix. | |
4679 | (do_install): Run script initialisation. | |
cef493d7 | 4680 | |
b7301c43 RC |
4681 | 2001-01-04 Gary R. Van Sickle <g.r.vansickle@worldnet.att.net> |
4682 | ||
4683 | * cistring.cc: Run d2u. | |
4684 | * cistring.h: Run d2u. | |
4685 | ||
4686 | * desktop.cc (etc_profile): Remove "test -f ./.bashrc && . ./.bashrc" | |
4687 | from the generated /etc/profile. Bash will source this file | |
4688 | automatically, and having this here merely results in .bashrc being | |
4689 | executed twice. Run d2u. | |
4690 | * desktop.h: Run d2u. | |
4691 | ||
4692 | * propsheet.cc: Run d2u. | |
4693 | (PropSheetProc): New function. Add minimize box here instead of in | |
4694 | PropertyPage::DialogProc. | |
4695 | (PropSheet::Create): Change to use creation callback PropSheetProc. | |
4696 | (DLGTEMPLATEEX): Add 'hidden' Windows struct definition. | |
4697 | ||
4698 | * propsheet.h: Run indent, d2u. | |
4699 | * proppage.h: Run indent, d2u. | |
4700 | ||
4701 | * proppage.cc: Run d2u. | |
4702 | (PropertyPage::DialogProc): Remove minimize-box-adding | |
4703 | functionality. Remove commented-out "PropSheet_SetWizButtons" calls. | |
4704 | Add support for calling virtual OnMessageCmd. Add setting of fonts in | |
4705 | WM_INITDIALOG handler. | |
4706 | (resource.h): New include for resource IDs. | |
4707 | ||
4708 | * res.rc: Resize and rearrange property page dialog templates | |
4709 | to bring them in line with "Microsoft's Backward Compatible Wizard 97" | |
4710 | specification. Run d2u. | |
4711 | (IDD_SITE): Add an edit control and an "Add" button in order to | |
4712 | combine the IDD_SITE and IDD_OTHER_URL functionality onto one page. | |
4713 | (IDD_OTHER_URL): Remove dialog template. | |
4714 | (IDD_DLSTATUS): Remove dialog template. | |
4715 | ||
4716 | * site.cc: Run d2u. | |
4717 | (SitePage::OnBack): Remove NEXT() macro invocation. | |
4718 | (SitePage::OnActivate): New member function. | |
4719 | (load_dialog): Remove. Functionality subsumed into | |
4720 | SitePage::OnActivate. | |
4721 | (save_dialog): Change to support both list and user URLs. Remove | |
4722 | OTHER_IDX and mirror_idx logic. | |
4723 | (SitePage::PopulateListBox): New member function. | |
4724 | (SitePage::CheckControlsAndDisableAccordingly): New member function. | |
4725 | (SitePage::OnMessageCmd): New override. | |
4726 | (check_if_enable_next): Remove. | |
4727 | (dialog_cmd): Remove. | |
4728 | (do_download_site_info_thread): Remove calls to NEXT() macro. | |
4729 | (SitePage::Create): Call the single-param PropertyPage::Create | |
4730 | overload. | |
4731 | (other_url): New static taken from other.cc. | |
4732 | (SitePage::OnNext): Remove mirror_idx logic. | |
4733 | (SitePage::OnInit): Remove "Other URL" entry from list box. Remove | |
4734 | list box populating code, now handled in SitePage::PopulateListBox. | |
4735 | (mirror_idx, NO_IDX, OTHER_IDX): Remove. | |
4736 | (save_site_url): Fix potential buffer overflow problem. Switched to | |
4737 | TCHAR in grossly premature preparation for multilingual support. | |
4738 | * site.h: Run d2u. | |
4739 | (SitePage::OnActivate): New member function. | |
4740 | (SitePage::CheckControlsAndDisableAccordingly) New member. | |
4741 | (SitePage::OnMessageCmd): New override. | |
4742 | (do_download_site_info_thread): Add MessageBox call on failure to | |
4743 | download site list. | |
4744 | ||
4745 | * splash.cc: Run d2u. | |
4746 | (SplashPage::OnInit): Set the font for the title. | |
4747 | * splash.h: Run d2u. | |
4748 | ||
4749 | * threebar.cc: Run d2u. | |
4750 | * threebar.h: Run d2u. | |
4751 | ||
4752 | * window.h: Run d2u. | |
4753 | (Window::IsButtonChecked): New member function declaration. | |
4754 | (Window::OnMessageCmd): New member function. | |
4755 | (Window::SetDlgItemFont): New member function declaration. | |
4756 | (Window::MAXFONTS, Window::Fonts, Window::FontCounter): New data | |
4757 | members. | |
4758 | * window.cc: Run d2u. | |
4759 | (Window::IsButtonChecked): New member function definition. | |
4760 | (Window::SetDlgItemFont): New member function definition. | |
4761 | (Window::Window): Add initialization for FontCounter. | |
4762 | (Window::~Window): Delete any fonts we created. | |
4763 | ||
4764 | * geturl.cc: Run d2u. | |
4765 | (progress): Remove the "3" field width from the "%3d" | |
4766 | percent-complete format indicator. Causes line to not start at | |
4767 | beginning of text box, and does little to help with "jumping", since | |
4768 | the "bytes downloaded so far" field is variable-width anyway. Change | |
4769 | kb/s format field to "%03.1" to 0-pad the kb/s number in the event of | |
4770 | painfully slow connections, or temporary slowdowns in faster | |
4771 | connections should such more-instantaneous functionality become | |
4772 | available. | |
4773 | ||
4774 | * net.h: Run d2u. | |
4775 | (NetPage::OnMessageCmd): New member function declaration. | |
4776 | (NetPage::CheckIfEnableNext): New member function declaration. | |
4777 | * net.cc: Run d2u. | |
4778 | (NetPage::OnMessageCmd): New member function definition. | |
4779 | (dialog_cmd): Remove, subsumed into NetPage::OnMessageCmd. | |
4780 | (check_if_enable_next): Remove. | |
4781 | (NetPage::CheckIfEnableNext): New member function, subsumes | |
4782 | check_if_enable_next. | |
4783 | (propsheet.h): Add include. | |
4784 | (NetPage::Init): Add call to CheckIfEnableNext. | |
4785 | (load_dialog): Remove call to check_if_enable_next. | |
4786 | (NetPage::Create): Call single-template-ID-parameter overload of | |
4787 | PropertyPage::Create instead of three-parameter one. | |
4788 | ||
4789 | * Makefile.in (OBJS): Remove other.o. | |
4790 | * other.cc: Remove file. | |
4791 | ||
df62e023 RC |
4792 | 2002-01-01 Robert Collins <rbtcollins@hotmail.com> |
4793 | ||
4794 | * README: Update TODO's. | |
4795 | * choose.cc (set_existence): Delete non installed packages with no | |
4796 | mirrors. | |
4797 | (fill_missing_category): Fix an off-by-one error. | |
cef493d7 | 4798 | (default_trust): Ditto. Also delete any unused categories. |
df62e023 RC |
4799 | (view::init_headers): Fix an off-by-one error. |
4800 | (set_view_mode): Ditto. | |
4801 | (set_view_mode): Ditto. | |
4802 | (create_listview): Ditto. | |
4803 | (dialog_cmd): Ditto. | |
4804 | (do_choose): Ditto. | |
4805 | * io_stream.cc: Indent. | |
4806 | * io_stream.h: Ditto. | |
4807 | * package_db.cc: Ditto. | |
4808 | * package_meta.h: Const correctness for SDesc (); | |
4809 | * proppage.cc: Run d2u and indent. | |
4810 | * propsheet.cc: Run d2u and indent. | |
4811 | * window.cc: Run d2u and indent. | |
4812 | * window.h: Run d2u and indent. | |
4813 | ||
cec57ee1 CF |
4814 | 2001-12-28 Christopher Faylor <cgf@redhat.com> |
4815 | ||
e98c531e | 4816 | * Makefile.in (iniparse.o): Accommodate newer bisons. |
cec57ee1 | 4817 | |
ab57ceaa RC |
4818 | 2001-12-23 Gary R. Van Sickle <g.r.vansickle@worldnet.att.net> |
4819 | ||
4820 | * window.h (Window): New file, new class. | |
4821 | * window.cc (Window): New file, new class. | |
4822 | ||
4823 | * threebar.h (ThreeBarProgressPage): New file, new class. | |
4824 | * threebar.cc (ThreeBarProgressPage): New file, new class. | |
4825 | ||
4826 | * splash.h (SplashPage): New file, new class. | |
4827 | * splash.cc (SplashPage): Replace file with implementation of new | |
4828 | class. | |
4829 | ||
4830 | * source.h (SourcePage): New file, new class. | |
4831 | * source.cc: Run indent. | |
4832 | (SourcePage): Add class implementation to this file. | |
4833 | (do_source): Remove, functionality subsumed by SourcePage::Create() | |
4834 | and SourcePage::OnDeactivate(). | |
cef493d7 | 4835 | (dialog_proc): Remove, functionality subsumed by |
ab57ceaa RC |
4836 | SourcePage::OnActivate(). |
4837 | ||
4838 | * site.h: Run indent. | |
4839 | (SitePage): Add class declaration. | |
4840 | * site.cc: Run indent. | |
4841 | (SitePage): Add class implementation. | |
4842 | (do_download_site_info_thread): New function. | |
4843 | (context): New var. Context info for do_download_site_info_thread(). | |
4844 | (do_download_site_info): New function. | |
4845 | (SitePage::Create, SitePage::OnInit SitePage::OnNext) | |
4846 | (SitePage::OnBack): SitePage class implementation.. | |
4847 | (dialog_cmd): Remove IDOK, ID_BACK, and IDCANCEL handlers, now handled | |
4848 | by SitePage members. | |
4849 | (dialog_proc): Remove, now handled by SitePage::OnInit and base class | |
4850 | functionality. | |
4851 | (do_site): Remove, now handled by do_download_site_info_thread() and | |
4852 | SitePage::OnNext functionality. | |
4853 | (get_site_list): Remove dismiss_url_status_dialog() call. | |
4854 | ||
4855 | * root.h (RootPage): New file, new class. | |
4856 | * root.cc: Run indent. | |
4857 | (dialog_cmd): Pass parent HWND parameter to note(), yesno(). | |
4858 | (dialog_proc): Remove. | |
4859 | (do_root): Remove | |
4860 | (dialog_cmd): Remove IDOK, ID_BACK, and IDCANCEL clauses from switch. | |
4861 | (RootPage::OnInit): New member function. Move get_root_dir() logic to | |
4862 | here from do_root(). | |
4863 | (RootPage::Create): New member function. | |
cef493d7 | 4864 | (RootPage::OnNext): New member function. Move IDOK logic from |
ab57ceaa RC |
4865 | dialog_cmd() to here. |
4866 | (RootPage::OnBack): New member function. | |
4867 | ||
4868 | * propsheet.h (PropSheet): New file, new class. | |
4869 | * propsheet.cc (PropSheet): New file, new class. | |
4870 | ||
4871 | * proppage.h (PropertyPage): New file, new class. | |
4872 | * proppage.cc (PropertyPage): New file, new class. | |
4873 | ||
4874 | * postinstall.cc (do_postinstall): Add owner parameter. | |
4875 | ||
4876 | * other.cc (do_other): Add owner parameter. | |
4877 | ||
4878 | * nio-file.cc (NetIO::Purl): Pass NULL parent param to note(). | |
cef493d7 | 4879 | * nio-ftp.cc (NetIO_FTP::NetIO_FTP): Pass NULL parent param to |
ab57ceaa | 4880 | get_ftp_auth(). |
cef493d7 | 4881 | * nio-http.cc (retry_get): Pass NULL parent param to get_auth(), |
ab57ceaa RC |
4882 | get_proxy_auth(), |
4883 | and get_ftp_auth(). | |
cef493d7 | 4884 | * nio-ie5.cc (NetIO::_url): Pass NULL parent param to note(), |
ab57ceaa RC |
4885 | get_auth(), get_proxy_auth(). |
4886 | ||
4887 | * netio.h (get_auth, get_proxy_auth, get_ftp_auth): Add owner param. | |
cef493d7 | 4888 | * netio.cc (auth_common, NetIO::get_auth, NetIO::get_proxy_auth, |
ab57ceaa RC |
4889 | NetIO::get_ftp_auth) |
4890 | (auth_common): Add owner param. Pass owner param to DialogBox. | |
cef493d7 | 4891 | (NetIO::get_auth, NetIO::get_proxy_auth, NetIO::get_ftp_auth): Pass |
ab57ceaa RC |
4892 | owner param to auth_common(). |
4893 | ||
4894 | * net.h (NetPage): New file, new class. | |
4895 | * net.cc: Run indent. | |
4896 | (net.h, threebar.h): Add includes. | |
4897 | (Progress): Add extern. | |
4898 | (dialog_cmd): Remove IDOK, IDC_BACK, and IDCANCEL cases, now handled by | |
4899 | property sheet logic. Saved temporarily for reference. | |
cef493d7 | 4900 | (NetPage::Create, NetPage::OnInit, NetPage::OnDeactivate, |
ab57ceaa RC |
4901 | NetPage::OnNext, NetPage::OnBack): |
4902 | New implementation of NetPage class members. | |
4903 | (do_net): Remove. | |
4904 | (dialog_proc): Remove. | |
4905 | ||
4906 | * msg.h (fatal, note, yesno): Add owner param. | |
4907 | * msg.c (fatal, note, yesno, mbox): Add owner param. | |
4908 | (mbox): Remove MB_TOPMOST from MessageBox call. Unnecessary and wrong | |
4909 | now that we have a parent. | |
4910 | ||
4911 | * main.cc: Run indent. | |
cef493d7 | 4912 | (commctrl.h, proppage.h, propsheet.h, splash.h, source.h) |
ab57ceaa RC |
4913 | (localdir.h, net.h, site.h, choose.h, threebar.h, desktop.h): Include |
4914 | headers. | |
4915 | (root_dialog_proc): extern into this file. | |
4916 | (Progress): Progress dialog defined here, used in several other files. | |
4917 | (WinMain): Instantiate and create Splash, Source, Root, LocalDir, Net, | |
4918 | Site, Chooser, Desktop pages and MainWindow sheet. Call | |
4919 | InitCommonControls() to make sure Windows is set up for our use of | |
4920 | property sheets. Add pages to sheet. | |
4921 | Call MainWindow.Create() to "DoModal". Remove main loop, that logic is | |
4922 | now handled by the PropSheet class. | |
4923 | (root.h): Add include. | |
4924 | ||
4925 | * log.cc (log_save): Pass NULL parent to fatal(). | |
4926 | (exit_setup): Pass NULL parent to note(). | |
4927 | ||
4928 | * localdir.h (LocalDirPage): New file, new class. | |
4929 | * localdir.cc: Run indent. | |
4930 | (localdir.h): New include. | |
4931 | (threebar.h): New include. | |
4932 | (Progress): extern into this file. | |
4933 | (LocalDirPage::Create, LocalDirPage::OnInit, LocalDirPage::OnActivate) | |
cef493d7 | 4934 | (LocalDirPage::OnNext, LocalDirPage::OnBack): Implementation of |
ab57ceaa RC |
4935 | LocalDirPage. |
4936 | (LocalDirPage::OnNext): Move log() call from do_local_dir() to here. | |
4937 | (dialog_cmd): Remove IDOK, ID_BACK, and IDCANCEL handlers. | |
4938 | (do_local_dir): Remove. | |
4939 | (dialog_proc): Remove. | |
4940 | (cwd): Remove, not used by anything. | |
4941 | ||
4942 | * install.cc: Run indent. | |
4943 | (process.h, threebar.h): New includes. | |
4944 | (Progress): extern into this file. | |
4945 | (ins_dialog, ins_action, ins_pkgname, ins_filename, ins_pprogress) | |
4946 | (ins_iprogress, ins_diskfull, init_event): Remove, now handled by | |
4947 | ThreeBarProgressPage. | |
cef493d7 | 4948 | (dialog_cmd, dialog_proc, dialog): Removed, handled in |
ab57ceaa | 4949 | ThreeBarProgressPage. |
cef493d7 CF |
4950 | (init_dialog): Remove all mention of the above ins_* handles. Now |
4951 | handled in ThreeBarProgressPage. Altered SetWindowText()s to call | |
ab57ceaa RC |
4952 | ThreeBarProgressPage instance Progress directly. |
4953 | (progress): Alter bar update logic to call ThreeBarProgressPage | |
4954 | instance Progress directly. | |
4955 | (uninstall_one): Alter SetWindowText()s to call ThreeBarProgressPage | |
4956 | instance Progress directly. | |
cef493d7 | 4957 | (install_one_source): Alter SetWindowText()s to call |
ab57ceaa RC |
4958 | ThreeBarProgressPage |
4959 | instance Progress directly. Pass NULL parent to note(). | |
cef493d7 | 4960 | (do_install_thread): Rename from do_install(), added owner param. |
ab57ceaa RC |
4961 | Alter SetWindowText()s to call ThreeBarProgressPage instance Progress |
4962 | directly. | |
4963 | Remove dismiss_url_status_dialog() call, no longer necessary. Remove | |
cef493d7 | 4964 | ShowWindow(<hide>) call, also unnecessary now. Pass owner handle to |
ab57ceaa RC |
4965 | fatal(). |
4966 | (do_install_reflector): New function. | |
4967 | (do_install): New function. | |
4968 | ||
4969 | * ini.cc (process.h, threebar.h): New includes. | |
4970 | (Progress): externed into this file. | |
4971 | (find_routine): Pass NULL parent to note(). | |
4972 | (do_local_ini): Add owner param. | |
cef493d7 | 4973 | (do_remote_ini): Add owner param. Pass owner to get_url_to_membuf() |
ab57ceaa RC |
4974 | and note(). Remove call to dismiss_url_status_dialog(). |
4975 | (do_ini_thread): Rename from do_ini(). Add owner param. Pass owner to | |
cef493d7 | 4976 | do_local_ini(), do_remote_ini(), yesno(), and note(). Set next_dialog |
ab57ceaa RC |
4977 | to IDD_CHOOSER on exit. |
4978 | (do_ini_thread_reflector): New function. | |
4979 | (context): New var. Context for do_ini_thread. | |
4980 | (do_ini): New function. | |
4981 | ||
4982 | * geturl.h (get_url_to_membuf, get_url_to_string, get_url_to_file): Add | |
4983 | owner param. | |
cef493d7 | 4984 | * geturl.cc (gw_dialog, gw_url, gw_rate, gw_progress, gw_pprogress, |
ab57ceaa | 4985 | gw_iprogress) |
cef493d7 | 4986 | (gw_progress_text, gw_pprogress_text, gw_iprogress_text, init_event): |
ab57ceaa RC |
4987 | Removed. |
4988 | (threebar.h): New include. | |
4989 | (Progress): externed into this file. | |
cef493d7 | 4990 | (dialog_cmd, dialog_proc, dialog): Removed, handled by |
ab57ceaa | 4991 | ThreeBarProgressPage now. |
cef493d7 | 4992 | (init_dialog): Remove "if (gw_dialog == 0)" clause. Alter |
ab57ceaa | 4993 | SetWindowText()s |
cef493d7 | 4994 | and bar setting SendMessage()s to call ThreeBarProgressPage instance |
ab57ceaa RC |
4995 | Progress directly. Remove "one bar only" logic, this is now handled |
4996 | explicitly in the ThreeBarProgressPage class. | |
cef493d7 | 4997 | (progress): Altered bar and text update logic to call |
ab57ceaa RC |
4998 | ThreeBarProgressPage instance Progress directly. Changed kbps |
4999 | calculation to floating point and now print out a single decimal | |
5000 | place. | |
5001 | (get_url_to_membuf): Add owner param. Pass it to init_dialog. | |
5002 | (get_url_to_string): Add owner param. Pass it to get_url_to_membuf. | |
cef493d7 | 5003 | (get_url_to_file): Add owner param. Pass it to init_dialog. Alter bar |
ab57ceaa RC |
5004 | update logic to call ThreeBarProgressPage instance Progress directly. |
5005 | (dismiss_url_status_dialog): Remove. | |
5006 | ||
5007 | * fromcwd.cc (do_fromcwd): Add owner param. Initialize found_ini to | |
5008 | false, was true. | |
5009 | ||
5010 | * download.cc: Run indent. | |
5011 | (process.h, threebar.h): New includes. | |
5012 | (Progress): externed into this file. | |
5013 | (download_one): Add owner param. Pass it to get_url_to_file(). | |
5014 | (do_download_thread): Renamed from do_download. Add owner param. When | |
5015 | calculating total_download_bytes, take binpicked and srcpicked into | |
5016 | account. Remove call to dismiss_url_status_dialog(), no longer needed. | |
5017 | Pass owner handle to download_one() and yesno(). | |
5018 | (do_download_reflector, do_download): New functions. | |
5019 | (context): New var. Context for do_download_thread(). | |
5020 | ||
5021 | * dialog.h (D(x)): Add owner param. | |
5022 | ||
5023 | * desktop.h (DesktopSetupPage): New file, new class. | |
5024 | * desktop.cc: Run indent. | |
5025 | (desktop.h): Add include. | |
cef493d7 | 5026 | (dialog_proc, do_desktop): Remove, now handled in |
ab57ceaa RC |
5027 | DesktopSetupPage::OnInit(). |
5028 | (dialog_cmd): Remove IDOK, IDC_BACK, and IDCANCEL cases, handled in | |
5029 | DesktopSetupPage::OnFinish(), DesktopSetupPage::OnBack(), and PropSheet | |
5030 | resp. | |
5031 | (DesktopSetupPage::Create, DesktopSetupPage::OnInit) | |
5032 | (DesktopSetupPage::OnBack, DesktopSetupPage::OnFinish): Implementation | |
5033 | of DesktopSetupPage. | |
5034 | ||
5035 | * cistring.h: New file, new class. | |
5036 | * cistring.cc: New file, new class. | |
5037 | ||
5038 | * choose.h: Run indent. | |
5039 | (Chooser): New class declaration. | |
5040 | * choose.cc: Run indent. | |
cef493d7 | 5041 | (do_choose): Add owner param. Pass it to DialogBox() and |
ab57ceaa RC |
5042 | fatal(). |
5043 | (Chooser): New class implementation. | |
5044 | ||
5045 | * res.rc (IDS_VERSION_INFO): New string. | |
5046 | (IDD_SOURCE, IDD_LOCAL_DIR, IDD_ROOT, IDD_SITE, IDD_OTHER_URL) | |
5047 | (IDD_DLSTATUS, IDD_INSTATUS, IDD_SPLASH, IDD_CHOOSE, IDD_DESKTOP): | |
5048 | Change WS_POPUP to WS_CHILD. Numerous positioning/size changes | |
5049 | throughout. | |
5050 | (IDD_CHOOSE): Give template the WS_EX_CONTROLPARENT style to enable | |
5051 | TAB control navigation etc. Give the controls a reasonable tab order. | |
5052 | Grouped radio buttons. Something's still not right, can't tab away | |
5053 | from back/next/cancel group reliably. | |
5054 | * resource.h (IDD_CHOOSER): New dialog ID. | |
5055 | ||
5056 | * Makefile.in (OBJS): Add cistring.o, proppage.o, propsheet.o, | |
5057 | threebar.o, and window.o. | |
5058 | ||
cc41a057 RC |
5059 | 2001-12-21 Robert Collins <rbtcollins@hotmail.com> |
5060 | ||
58b12a06 MB |
5061 | * choose.cc (listview_proc): Update the scrollbar when the headers are |
5062 | dragged. | |
cc41a057 RC |
5063 | (pick_pkg_line::paint): Clip columns to prevent overlap. |
5064 | ||
cbfc4215 RC |
5065 | 2001-12-20 Robert Collins <rbtcollins@hotmail.com> |
5066 | ||
5067 | * Makefile.in: Add libcomctl32.a for setup.exe. | |
5068 | * archive.h (archive): Prevent non-child direct creation of the class. | |
58b12a06 MB |
5069 | * archive_tar.h (archive_tar): Prevent inaccurate synthetic copy and |
5070 | assignment. | |
cbfc4215 RC |
5071 | * choose.cc: Include commctrl for the choose header. |
5072 | (NEW_COL_SIZE_SLOP): Define without magic numbers. | |
5073 | (pkgtrustp): Convert to function. | |
5074 | (set_action): Remove. | |
cef493d7 | 5075 | (add_required, fill_missing_category,default_trust): Use list syntax for |
cbfc4215 RC |
5076 | package list. |
5077 | Use new set_action. | |
5078 | (choose_caption): Remove. | |
5079 | (topbucket::paint): New method. | |
5080 | (topbucket::empty): Ditto. | |
5081 | (topbucket::click): Ditto. | |
5082 | (topbucket::~topbucket): Ditto. | |
5083 | (paint): Remove i,ii and p as they are obsolete. | |
5084 | Remove header drawing code. | |
5085 | Use new chooser method to paint the chooser. | |
5086 | Use new chooser itemcount method. | |
5087 | (scroll_common): Rename to view::scroll. | |
5088 | Scroll the header window separately. | |
58b12a06 MB |
5089 | (list_vscroll, list_hscroll, list_click): Update for new chooser |
5090 | methods. | |
cbfc4215 RC |
5091 | (listview_proc): Look for header messages. |
5092 | (note_width): Accept stringless calls. | |
5093 | (pick_line::set_line): Remove. | |
5094 | (pick_line::paint): Remove. | |
58b12a06 MB |
5095 | (pick_pkg_line::paint): Paint this one line, using the header column |
5096 | widths. | |
5097 | (pick_category_line::paint): Paint this category, and anything in the | |
5098 | bucket. | |
cbfc4215 RC |
5099 | (pick_line::click): Remove. |
5100 | (pick_pkg_line::click): Handle a click. | |
5101 | (pick_category_line::click): Handle a click. | |
5102 | (_view): Rename all to view. | |
5103 | (view::view): Initialise the control contents. | |
5104 | (view::set_headers): Work with the header control. | |
5105 | (view::init_headers): Use list syntax for package list. | |
5106 | Rearrange the width logic a little. | |
5107 | (view::insert_pkg): Update to use the hierarchy. | |
5108 | (view::insert_category): Ditto. | |
5109 | (view::insert_at, view::insert_under): Remove. | |
5110 | (view::clear_view): Update to use the hierarchy. | |
5111 | (view::click): Update to use the hierarchy. | |
5112 | (set_view_mode): Use list syntax for package list. | |
5113 | Update for new chooser methods. | |
5114 | (DoInsertItem): New helper function. (Needs a home somewhere). | |
58b12a06 MB |
5115 | (create_listview): Remove choose control code and use the constructor |
5116 | instead. | |
cbfc4215 RC |
5117 | (dialog_cmd,scan2,do_choose): Use list syntax for package list. |
5118 | * choose.h: Include newly required headers list and package_meta. | |
5119 | (_voew): Rename to view. | |
5120 | (pick_line): Convert to an ABC. | |
5121 | (pick_pkg_line): New class. | |
5122 | (pick_catgory_line): New class. | |
5123 | (topbucket): New class. | |
5124 | (view::scroll): New method created from listview_scroll function. | |
5125 | * desktop.cc (make_passwd_group): Use list syntax for package list. | |
5126 | * download.cc (do_download): Use list syntax for package list. | |
5127 | * fromcwd.cc (found_file): Use list syntax for package list. | |
5128 | * iniparse.y (pacakges): Use list syntax for package list. | |
5129 | * install.cc (uninstall_one): Use list syntax for package list. | |
5130 | (do_install): Use list syntax for package list. | |
58b12a06 MB |
5131 | * io_stream.h (io_stream): Prevent non-child direct creation of the |
5132 | class. | |
cbfc4215 RC |
5133 | Prevent inaccurate synthetic copy and assignment. |
5134 | * list.h: Include required header stdlib. | |
5135 | Work on const correctness. | |
5136 | * package_db.cc (packagedb::getpackagebyname): Remove. | |
5137 | (packagedb::packagedb): Remove custom list code, and make db a local. | |
5138 | (packagedb::getfirstpackage): Remove. | |
5139 | (packagedb::getnextpackage): Remove. | |
5140 | (packagedb::addpackage): Remove. | |
5141 | (flush): Remove custom list code. | |
5142 | (packagedb::registerpackage): Remove. | |
5143 | (packagedb::packages): New static member. | |
5144 | (packagedb::task): New static member. | |
5145 | * package_db.h (PackageDBActions): New enum. | |
5146 | (packagedb): Remove getfirstpackage, getnextpackage, getpackagebyname, | |
5147 | addpackage, registerpackage, packages, packagecount, curr_package, db. | |
5148 | Add packages, task. | |
5149 | * pacakge_meta.cc: Include package_db.h. | |
5150 | (packagemeta::action_caption): New method. | |
5151 | (packagemeta::set_action): New method. | |
5152 | * package_meta.h (CategoryPackage): Initialise key. | |
5153 | (packagemeta): Initialise key. | |
5154 | Add set_action and action_caption methods. | |
5155 | Prevent inaccurate synthetic copy and assignment. | |
5156 | * resource.h (IDC_CHOOSE_LISTHEADER): New ID. | |
5157 | * source.cc: Include package_db for db manipulation. | |
5158 | (save_dialog): Set the db task. | |
58b12a06 MB |
5159 | * win32.h: Tell the w32 include headers what IE version to |
5160 | expect/require. | |
cbfc4215 | 5161 | |
cd8e5750 RC |
5162 | 2001-12-06 Robert Collins <rbtcollins@hotmail.com> |
5163 | ||
5164 | * README: Wishlist updates. | |
5165 | ||
5519d243 RC |
5166 | 2001-12-04 Robert Collins <rbtcollins@hotmail.com> |
5167 | ||
5168 | * package_db.cc (getnextpackage): Don't overrun the array. | |
5169 | ||
de6a1a64 RC |
5170 | 2001-12-04 Robert Collins <rbtcollins@hotmail.com> |
5171 | ||
5172 | * Makefile.in (OBJS): Add setup_version.o. | |
5173 | (version.c): Rename to setup_version. | |
5174 | * choose.cc (set_action): Prevent NULL pointer dereference. | |
5175 | (package_sort): Remove. | |
5176 | * fromcwd.cc (canonicalize_version): Moved to version.cc. | |
58b12a06 MB |
5177 | (check_ini): New function for use with find to see if there is a cached |
5178 | setup.ini. | |
de6a1a64 RC |
5179 | (do_fromcwd): Check for a cached setup.ini from any mirror site. |
5180 | * ini.cc (find_routine): New function, for finding cached setup.ini's. | |
5181 | (do_local_ini): New function, drives parsing of local ini's. | |
58b12a06 MB |
5182 | (do_remote_ini): New function, drives parsing and caching of remote |
5183 | ini's. | |
de6a1a64 RC |
5184 | (do_ini): Move guts to do_remote_ini and do_local_ini. |
5185 | * list.h (removebyindex): New method. | |
5186 | * other.cc (save_dialog): Use new site_list and all_site_list to add the | |
5187 | new site to the site picklist. | |
5188 | (dialog_cmd): Only save the dialog when exiting the dialog. | |
5189 | * res.rc (IDD_SITE): Make IDC_URL_LIST a multiple-selection control. | |
5190 | * site.cc (site_list_type): Move to site.h | |
5191 | (site_list): New global, sites chosen by the user. | |
5192 | (all_site_list): New global, all potential sites. | |
58b12a06 MB |
5193 | (site_list_type::init): New method, parses a mirror.lst URL string into |
5194 | a site_list_type object. | |
de6a1a64 RC |
5195 | (site_list_type::site_list_type): New method. |
5196 | (check_if_enable_next): Examine the control, not a local variable. | |
5197 | (load_dialog): Select all the user chosen sites by default. | |
cef493d7 | 5198 | (save_dialog): Adjust for multiple selection semantics. |
de6a1a64 | 5199 | (save_site_url): Save all user chosen sites. |
58b12a06 MB |
5200 | (dialog_cmd): Don't save the dialog when the listbox recieves a message |
5201 | - thats not needed. | |
de6a1a64 RC |
5202 | Remove obsolete other_url reference. |
5203 | (dialog_proc): Use all_site_list instead of site_list. | |
5204 | (site_sort): Remove. | |
5205 | (get_site_list): Remove malloc use - use list template instead. | |
5206 | Move site_list_type initialisation to site_list_type::init(). | |
5207 | (get_initial_list_idx): Renamed to ... | |
5208 | (get_saved_sites): this. Also read in multiple sites to the site_list. | |
5209 | (do_site): Use all_site_list not site_list. | |
5210 | Log all chosen sites. | |
5211 | * site.h: New file, defines site related class, functions and variables. | |
5212 | * state.h: Add comment about use of state.h | |
5213 | (mirror_site): Remove. | |
5214 | (other_url): Remove. | |
5215 | (MIRROR_SITE): Remove. | |
5216 | * version.cc: New file, for version-handling and related functions. | |
5217 | ||
341988b9 RC |
5218 | 2001-12-02 Robert Collins <rbtcollins@hotmail.com> |
5219 | ||
5220 | * Makefile.in: Add filemanip.o to setup. | |
5221 | * archive.cc (archive::extract_file): Use new io_stream method 'copy'. | |
5222 | * archive_tar.h (archive_tar_file): Implement get_size virtual. | |
5223 | (archive_tar): Ditto. | |
58b12a06 MB |
5224 | * choose.cc (set_action): Use [] operator instead of getnth - its more |
5225 | readable. | |
341988b9 RC |
5226 | (paint): Ditto. |
5227 | (_view::init_headers): Ditto. | |
5228 | (_view::insert_pkg): Ditto. | |
5229 | (set_view_mode): Ditto. | |
5230 | (scan2): Ditto. | |
5231 | (do_choose): Ditto. | |
5232 | (base): Moved to filemanip.cc. | |
5233 | (find_tar_ext): Ditto. | |
5234 | (parse_filename): Ditto. | |
5235 | (_Info::_Info): Remove. | |
5236 | * compress_bz.h (compress_bz): Implement get_size virtual. | |
5237 | * compress_gz.h (compress_gz): Implement get_size virtual. | |
58b12a06 MB |
5238 | * cygpackage.cc (cygpackage::destroy): Use array delete for char * |
5239 | objects. | |
341988b9 | 5240 | * download.cc (get_file_size): Move to filemanip.cc. |
58b12a06 MB |
5241 | (check_for_cached): Use [] operator instead of getnth - its more |
5242 | readable. | |
341988b9 RC |
5243 | (download_one): Ditto. |
5244 | * filemanip.cc: New file. | |
58b12a06 MB |
5245 | * geturl.cc (init_dialog): Make url a pointer to const as it is not |
5246 | modified. | |
5247 | (get_url_to_membuf): New function - contains get_url_to_string worker | |
5248 | code. | |
341988b9 RC |
5249 | (get_url_to_string): Becomes a trivial wrapper to get_url_to_membuf. |
5250 | * geturl.h: Declare new prototype. | |
5251 | * ini.cc (do_ini): Use get_url_to_membuf and pass ini_init an io_stream. | |
5252 | Tidy up the error code a little. | |
5253 | * ini.h: Remove __cplusplus protection for ini_init. | |
5254 | (_Info): Remove. | |
5255 | * inilex.l: Remove old globals. | |
5256 | (ini_init): Use an io_stream for getting the characters. | |
5257 | (ini_getchar): Ditto. | |
5258 | * iniparse.y: Declare yylex as a C++ function. | |
58b12a06 MB |
5259 | (add_correct_version): Use [] operator instead of getnth - its more |
5260 | readable. | |
341988b9 RC |
5261 | * io_stream.cc (io_stream::move_copy): Use the copy method. |
5262 | (io_stream::copy): New method to simply copy from one stream to another. | |
58b12a06 MB |
5263 | * io_stream.h (io_stream): New static method copy, and virtual method |
5264 | get_size. | |
341988b9 RC |
5265 | * io_stream_cygfile.cc (io_stream_cygfile::get_size): Implement this. |
5266 | * io_stream_cygfile.h (io_stream_cygfile::get_size): Declare this. | |
5267 | * io_stream_file.cc (io_stream_file::get_size): Implement this. | |
5268 | * io_stream_file.h (io_stream_file::get_size): Declare this. | |
5269 | * io_stream_memory.h: Include errno as it's neded to parse the header. | |
5270 | (io_stream_memory::get_size): Implement this. | |
5271 | (io_stream_memory::st_size): Delete this. | |
5272 | * list.h: Change getnth into the [] operator. | |
58b12a06 MB |
5273 | * netio.cc (NetIO::NetIO): Change prototype to reflect Purl not being |
5274 | modified. | |
341988b9 RC |
5275 | (NetIO::set_url): Ditto. |
5276 | (NetIO::open): Ditto. | |
5277 | * netio.h: As for netio.cc. | |
58b12a06 MB |
5278 | * nio-file.cc (NetIO_File::NetIO_File): Change prototype to reflect |
5279 | Purl not being modified. | |
341988b9 RC |
5280 | * nio-file.h: Ditto. |
5281 | * nio-ftp.cc (NetIO_FTP::NetIO_FTP): Ditto. | |
5282 | * nio-ftp.h (NetIO_FTP::NetIO_FTP): Ditto. | |
5283 | * nio-http.cc (NetIO_HTTP::NetIO_HTTP): Ditto. | |
5284 | * nio-http.h (NetIO_HTTP::NetIO_HTTP): Ditto. | |
5285 | * nio-i5.cc (NetIO_IE5::NetIO_IE5): Ditto. | |
5286 | * nio-i5.h (NetIO_IE5::NetIO_IE5): Ditto. | |
5287 | * package_meta.cc (packagemeta::~packagemeta): Bugfix: use array delete. | |
5288 | * package_source.cc (packagesource::set_canonical): Ditto. | |
5289 | (packagesource::set_cached): Ditto. | |
5290 | * package_source.h (site::~site): Ditto. | |
58b12a06 MB |
5291 | * site.cc: Change site_list_type to a class, and search and replace |
5292 | sort_key to key globally. | |
341988b9 | 5293 | |
071c1c54 RC |
5294 | 2001-12-01 Robert Collins <rbtcollins@hotmail.com> |
5295 | ||
58b12a06 MB |
5296 | * package_source.cc (packagesource::set_canonical): Filename was out by |
5297 | one. | |
071c1c54 | 5298 | |
4fe323f9 RC |
5299 | 2001-11-30 Robert Collins <rbtcollins@hotmail.com> |
5300 | ||
5301 | * Makefile.in (OBJS): Remove category_list - it's not needed. | |
5302 | * README: More wishlist updates. | |
5303 | * category.cc (Category::Category): Initialise new members. | |
5304 | (Categorycmp): New function. | |
5305 | * category.h (Category): New member key for template use. | |
5306 | * category_list.cc: Remove. | |
5307 | * category_list.h: Remove. | |
5308 | (Categorycmp): New function prototype. | |
5309 | * choose.cc: Remove category_list - not needed. | |
cef493d7 | 5310 | (set_action): Only show the 'source' option when the source is actually |
4fe323f9 RC |
5311 | available. |
5312 | (add_required): Fix recursion limiter to 5. | |
5313 | (fill_missing_category): Use list access. | |
5314 | (default_trust): Ditto. | |
5315 | (pick_line::paint): Ditto. | |
5316 | (_view::init_headers): Ditto. | |
5317 | (_view::insert_pkg): Ditto. | |
5318 | (_view::insert_category): Ditto. | |
5319 | (_view::click): Ditto. | |
5320 | (set_view_mode): Ditto. | |
5321 | (do_choose): Ditto. | |
5322 | * cygpackage.h: Remove category_list - not needed. | |
5323 | * geturl.cc (get_url_to_string): Fix null byte insertion. | |
5324 | * inipatse.y: Remove category_list - not needed. | |
5325 | (categories): Use list access. | |
5326 | * package_db.cc: Ditto. | |
5327 | * package_db.h: Remove category_list - not needed. | |
5328 | (packagedb): Use the list template for categories. | |
5329 | * package_meta.cc (add_category): Ditto. | |
5330 | * package_meta.h (CategoryPackage): Link to the category as well. | |
cef493d7 | 5331 | (packagemeta): Use a list of CategoryPackages instead of Categories |
4fe323f9 RC |
5332 | for more memory efficient cross-referencing. |
5333 | ||
7d66d192 RC |
5334 | 2001-11-30 Robert Collins <rbtcollins@hotmail.com> |
5335 | ||
58b12a06 MB |
5336 | * package_db.cc (packagedb::flush): Write a canonical version for all |
5337 | packages irrespective of the media they were installed from. | |
7d66d192 | 5338 | |
bb849dbd RC |
5339 | 2001-11-29 Robert Collins <rbtcollins@hotmail.com> |
5340 | ||
5341 | * Makefile.in (OBJS): Add package_source and rfc1738. | |
5342 | * README: Wishlist update. | |
5343 | * category_list.cc (register_category): Use references. | |
5344 | * category_list.h (CategoryList): Ditto. | |
5345 | * choose.cc (isinstalled): Remove. | |
5346 | (pkgtrustp): New macro. | |
5347 | (set_action): Use packagemeta. | |
5348 | (add_required): Ditto. | |
58b12a06 MB |
5349 | (choose_caption): Example package to choose caption, rather than state |
5350 | flags. | |
bb849dbd RC |
5351 | (check_existence): Remove. |
5352 | (set_existence): Remove old code. | |
5353 | (fill_missing_category): Use packagemeta. | |
5354 | (keep_or_skip): Remove. | |
5355 | (default_trust): Use packagemeta and set trust values directly. | |
5356 | (pick_line::set_line): Use packagemeta. | |
5357 | (_view::insert_pkg): Ditto. | |
5358 | (_view::insert_category): Ditto. | |
5359 | (_view::click): Ditto. | |
5360 | (set_view_mode): Ditto. Also remove "exclude" code. | |
5361 | (create_listview): Use packagemeta. | |
5362 | (dialog_cmd): Ditto. | |
5363 | (getpkgbyname): Remove | |
5364 | (scan2): Use packagemeta. Temporarily comment out the holefinding code. | |
5365 | (read_installed_db): Remove. | |
5366 | (package_sort): Use packagemeta. | |
58b12a06 MB |
5367 | (do_choose): Use packagemeta. Don't sort the packages - the db does |
5368 | that. | |
bb849dbd RC |
5369 | * choose.h: Use packagemeta. |
5370 | * cygpackage.cc (cygpackage::cygpackage): Initialise all variables. | |
5371 | (cygpackage::cygpackage): Ditto. | |
5372 | (cygpackage::set_canonical_version): Copy the passed string. | |
5373 | (cygpackage::~cygpackage): Move cleanup code to destroy(). | |
5374 | (cygpackage::destroy): New function. | |
5375 | (cygpackage::getfirstfile): Use a separate buffer. | |
5376 | (cygpackage::getnextfile): Ditto. | |
5377 | (cygpackage::Canonical_version): New function. | |
5378 | (cygpackage::set_sdesc): Ditto. | |
5379 | (cygpackage::set_ldesc): Ditto. | |
5380 | * cygpackage.h (cygpackage::Canonical_version): New method. | |
5381 | (cygpackage::set_sdesc): New method. | |
5382 | (cygpackage::set_ldesc): New method. | |
5383 | (cygpackage::SDesc): New method. | |
5384 | (cygpackage::LDesc): New method. | |
5385 | (cygpackage::set_canonical_version): New method. | |
5386 | * desktop.cc: Include packagedb headers. | |
5387 | (make_password_group): Use packagemeta. | |
5388 | * download.cc: Include packagedb headers. | |
58b12a06 MB |
5389 | (check_for_cached): New method to find any cached file and fill out the |
5390 | database info. | |
bb849dbd RC |
5391 | (download_one): Take a packagesource, support multiple mirrors. |
5392 | (do_download): Use packagemeta. | |
5393 | * from cwd.cc: Include packagedb headers. | |
5394 | (found_file): Use packagemeta. | |
5395 | * ini.cc (do_ini): Beginning of multiple-mirror support. | |
5396 | * ini.h (CategoryPackage): Remove. | |
5397 | (Dependency): Remove. | |
5398 | (Package): Remove. | |
58b12a06 MB |
5399 | (new_package,getpkgbyname,getpackagecategorybyname,add_category): |
5400 | Remove. | |
bb849dbd RC |
5401 | * inilex.l: Support multiple mirrors. |
5402 | * iniparse.y: Include packagedb headers. | |
5403 | (parser): Use packagemeta. | |
5404 | (new_package): Remove. | |
5405 | (add_correct_version): New function. | |
5406 | (new_requirement): Remove. | |
5407 | (add_category): Remove. | |
5408 | * install.cc (uninstall_one): Use packagemeta. | |
5409 | (install_one_source): New function. | |
5410 | (install_one): Use packagemeta. | |
5411 | (do_install): Use packagemeta. | |
5412 | * io_stream.cc (io_stream::move): Bugfix on move/copy case. | |
58b12a06 MB |
5413 | * io_stream_cygfile.cc (io-stream_cygfile::set_mtime): Do not reopen the |
5414 | file after setting the mtime, it makes no sense, and results in 0 length | |
5415 | files. | |
bb849dbd RC |
5416 | * io_stream_file.cc (io-stream_file::set_mtime): Ditto. |
5417 | * list.h: New file, template class for a form of list. | |
5418 | * package_db.cc (packagedb::registerpackage): New function. | |
5419 | * package_db.h (packagedb::npackages ()): New method. | |
5420 | * package_meta.cc (packagemeta::add_version): Use list template. | |
5421 | (packagemeta::set_installed): Ditto. | |
5422 | (packagemeta::add_category): New method. | |
5423 | * package_meta.h: Include necessary headers to parse the class. | |
5424 | (CategoryPackage): New class. | |
5425 | (packagemeta): Initialise all members. | |
5426 | (packagemeta::SDesc): New method. | |
5427 | (packagemeta::Categories): New method. | |
5428 | (packagemeta::add_category): Ditto. | |
5429 | (packagemeta::versions): Change to be a list instance. | |
5430 | * package_source.cc (packagesource::set_canonical): New method. | |
5431 | (packagesource::set_cached): New method. | |
5432 | * package_source.h: Include necessary headers to parse the class. | |
5433 | (site): New class. | |
5434 | (packagesource::packagesource): Initialize all members. | |
5435 | (packagesource): Make this class non-abstract. | |
5436 | * package_version.cc (packageversion::packageversion): New method. | |
5437 | * package_version.h (Dependency): New class. | |
5438 | (packageversion::Canonical_vesion): New method. | |
5439 | (packageversion::SDesc): New method. | |
5440 | (packageversion::LDesc): New method. | |
5441 | (packageversion::new_requirement): Ditto. | |
5442 | (packageversion::srcpicked, binpicked): What to install. | |
5443 | (packageversion::src, bin): Installation source data. | |
5444 | * rfc1738.cc: New file. Escapes special characters in URL's. | |
5445 | * rfc1738.h: Ditto. | |
5446 | ||
90d14922 RC |
5447 | 2001-11-26 Gary R. Van Sickle <g.r.vansickle@worldnet.att.net> |
5448 | ||
5449 | * nio-http.cc (NetIO_HTTP::NetIO_HTTP): Stop header parsing when | |
5450 | SimpleSocket::gets() returns a zero-length string, so that we | |
5451 | don't end up eating the entire stream thinking it's all header info. | |
5452 | ||
7c7034e8 RC |
5453 | 2001-11-23 Robert Collins <rbtcollins@hotmail.com> |
5454 | ||
5455 | * install.cc (badrename): Remove. | |
58b12a06 MB |
5456 | (do_install): Use packagedb flush method to write |
5457 | /etc/setup/installed.db. | |
7c7034e8 RC |
5458 | * io_stream.cc (io_stream::move_copy): New method. |
5459 | (io_stream::move): New method. | |
5460 | * io_stream.h (io_stream): New methods move and move_copy. | |
5461 | * io_stream_cygfile.cc (io_stream_cygfile::move): New method. | |
5462 | * io_stream_cygfile.h (io_stream_cygfile): New method move. | |
5463 | * io_stream_file.cc (io_stream_file::move): New method. | |
5464 | * io_stream_file.h (io_stream_file): New method move. | |
5465 | * package_db.cc (packagedb::flush): New method. | |
5466 | * package_db.h (packagedb): New method flush. | |
5467 | ||
fa0c0d10 RC |
5468 | 2001-11-23 Robert Collins <rbtcollins@hotmail.com> |
5469 | ||
5470 | * Makefile.in (OBJS): Add package_version. | |
5471 | * ategory.cc (Category::Category): Update constructors. | |
5472 | * category_list.cc (CategoryList::register_category): Insert correctly. | |
5473 | * choose.cc: Include package_version.h, not package.h. | |
5474 | * cygpackage.cc: Ditto. | |
5475 | (cygpackage::uninstall): New method. | |
5476 | * cygpackage.h (cygpackage): Rename genericpackage to packageversion. | |
5477 | New method uninstall. | |
5478 | * hash.cc (add, has, enumerate): Change prototype to be accurate. | |
5479 | * hash.h (hash): Change prototypes to be accurate. | |
5480 | * ini.h (_Info): New parameterless constructor. | |
5481 | (CategoryPackage): New constructor. | |
5482 | (Package): Ditto. | |
5483 | * install.cc: Don't include unneeded headers. | |
5484 | Include package database headers. | |
5485 | (hash::add_subdirs): Remove. | |
58b12a06 MB |
5486 | (uninstall_one): Use packagemeta->uninstall to perform the |
5487 | uninstallation. Don't uninstall source packages. | |
5488 | (do_install): Just can uninstall_one once as we ignore source packages | |
5489 | now. Don't copy the installed.old database accross, instead iterate | |
5490 | through the packagedb packages list and write the installed packages | |
5491 | out. | |
fa0c0d10 RC |
5492 | * package_db.cc: Include package_version.h, not package.h. |
5493 | (packagedb::packagedb): Never let db be undefined. | |
5494 | Record the installation filename, so we can reconstruct installed.db. | |
5495 | (packagedb::addpackage): Insert packages in alpha sorted order. | |
5496 | (packagedb::categories): Initialise correctly. | |
5497 | * package_meta.cc: Include win32 and mount headers as a workaround to | |
5498 | current io_stream limitations. Include a TODO about that. | |
5499 | (standard_dirs): New, from install.cc. | |
5500 | (hash::add_subdirs): New, from install.cc. | |
5501 | (packagemeta::set_installed): Rename genericpackage to packageversion. | |
5502 | (packagemeta::uninstall): New method. | |
5503 | * package_meta.h: Rename genericpackage to packageversion. | |
5504 | (packagemeta): Update constructor. | |
5505 | (add_version, set_installed): Rename genericpackage to packageversion. | |
5506 | (uninstall): New method. | |
5507 | (installed_from): New member. | |
5508 | * package_source.cc: New file. | |
5509 | * package_source.h: New file. | |
5510 | * package_version.cc: New file. | |
5511 | * package_version.h: New file. | |
5512 | * package.cc: Removed. | |
5513 | * package.h: Removed. | |
cef493d7 | 5514 | |
7b606ae5 RC |
5515 | 2001-11-21 Robert Collins <rbtcollins@hotmail.com> |
5516 | ||
5517 | * Makefile.in (OBJS): Add category.o and category_list.o. | |
5518 | * category.h: New file. | |
5519 | * category.cc: New file. | |
5520 | * category_list.h: New file. | |
5521 | * category_list.cc: New file. | |
5522 | * choose.cc: Include category headers. | |
5523 | (fill_missing_category): Use package_db to access global categories. | |
5524 | (_view::insert_pkg): Ditto. | |
5525 | (_view::insert_category): Ditto. | |
5526 | (set_view_mode): Ditto. | |
5527 | (getcategorybyname): Remove. | |
5528 | * cygpackage.h: Include category_list.h to parse this correctly. | |
5529 | (cygpackage): New virtual &Categories. | |
5530 | * ini.h (_CategoryPackage): More C to C++ conversion. | |
5531 | (Category): Remove. | |
5532 | (getcategorybyname): Remove. | |
5533 | (register_category): Remove. | |
5534 | * iniparse.y: Include package db and category headers. | |
5535 | (categories): Use package_db to access global categories. | |
5536 | (category): Remove. | |
5537 | (ncategories): Remove. | |
5538 | (register_category): Remove. | |
5539 | * package.h: New virtual &Categories. | |
58b12a06 MB |
5540 | * package_db.cc (packagedb::packagedb): Don't read the installed db |
5541 | twice. | |
7b606ae5 | 5542 | (packagedb::categories): Declare. |
58b12a06 MB |
5543 | * package_db.h (packagedb): New member categories for global categories |
5544 | list. | |
7b606ae5 | 5545 | |
d0fa1c4e RC |
5546 | 2001-11-21 Robert Collins <rbtcollins@hotmail.com> |
5547 | ||
5548 | * choose.h: Don't include ini.h | |
5549 | * ini.h: Allow pure c++ in the header file. | |
5550 | ||
24cbae7f RC |
5551 | 2001-11-21 Robert Collins <rbtcollins@hotmail.com> |
5552 | ||
5553 | * install.cc (do_install): Write a version 2 installed.db file. | |
58b12a06 MB |
5554 | * package_db.cc (packagedb::packagedb): Read version 1 and 2 |
5555 | installed.db files. | |
24cbae7f | 5556 | |
7939f6d1 RC |
5557 | 2001-11-21 Robert Collins <rbtcollins@hotmail.com> |
5558 | ||
5559 | * Makefile.in (OBJS): Add package abstraction objects. | |
5560 | * choose.cc: Include package abstraction headers. | |
5561 | (read_installed_db): Use packagedb class and ignore installed sources. | |
5562 | * cygpackage.cc: New file. | |
5563 | * cygpackage.h: New file. | |
5564 | * filemanip.h (get_file_size): Use unixy types. | |
5565 | * package.h: New file. | |
5566 | * package.cc: New file. | |
5567 | * package_db.cc: New file. | |
5568 | * package_db.h: New file. | |
5569 | * package_meta.cc: New file. | |
5570 | * package_meta.h: New file. | |
5571 | ||
33bc0053 RC |
5572 | 2001-11-21 Robert Collins <rbtcollins@hotmail.com> |
5573 | ||
5574 | * REAME: Updates to wishlist. | |
5575 | ||
12ccadc0 RC |
5576 | 2001-11-16 Robert Collins <rbtcollins@hotmail.com> |
5577 | ||
5578 | * README: Updated and added my list of wishlist and todo items. | |
5579 | ||
ca9506cc RC |
5580 | 2001-11-14 Robert Collins <rbtcollins@hotmail.com> |
5581 | ||
5582 | * Makefile.in (OBJS): Include io_stream_memory in setup.exe. | |
5583 | * archive_tar.cc (archive_tar::write): New prototype. | |
5584 | (archive_tar::seek): New method. | |
5585 | * archive.h (archive_tar_file): Update write() and add seek(). | |
5586 | (archive_tar): Ditto. | |
5587 | * archive_tar_file.cc (archive_tar_file::write): New prototype. | |
5588 | (archive_tar_file::seek): New method. | |
5589 | * compress_bz.cc (compress_bz::write): New prototype. | |
5590 | (compress_bz::seek): New function. | |
5591 | * compress_bz.h (compress_bz): Update write() and add seek(). | |
5592 | * compress_gz.cc (compress_gz::write): New prototype. | |
5593 | (compress_gz::seek): New function. | |
5594 | * compress_gz.h (compress_gz): Update write() and add seek(). | |
5595 | * geturl.cc: Include io_stream headers. | |
5596 | (GUBuf): Remove. | |
5597 | (get_url_to_string): Use a io_stream_memory buffer instead of GUBuf. | |
5598 | * io_stream.h (io_stream_seek_t): New enum. | |
5599 | (io_stream): Update write() and add seek(). | |
5600 | * io_stream_cygfile.cc (io_stream_cygfile::write): New prototype. | |
5601 | (io_stream_cygfile::seek): New function. | |
58b12a06 MB |
5602 | * io_stream_cygfile.h (io_stream_cygfile): Update write() and add |
5603 | seek(). | |
ca9506cc RC |
5604 | * io_stream_file.cc (io_stream_file::write): New prototype. |
5605 | (io_stream_file::seek): New function. | |
5606 | * io_stream_file.h (io_stream_file): Update write() and add seek(). | |
5607 | ||
2db33f10 RC |
5608 | 2001-11-13 Brian Keener <bkeener@thesoftwaresource.com> |
5609 | ||
5610 | * localdir.cc: Add headers unistd.h and port.h. | |
cef493d7 | 5611 | (save_local_dir): Expand search logic to include local directory for |
2db33f10 RC |
5612 | location of file last-cache. |
5613 | (dialog_cmd): Skip IDD_ROOT when downloading and use Back button. | |
cef493d7 | 5614 | (do_local_dir): Expand search logic to include local directory for file |
2db33f10 RC |
5615 | last-cache. |
5616 | * res.rc (IDD_CHOOSE_DIALOG): Add hotkey to View button. | |
cef493d7 | 5617 | * Source.cc (dialog_cmd): Skip IDD_ROOT if select Download from |
2db33f10 | 5618 | Internet. |
cef493d7 | 5619 | (do_source): Default to Install from Internet on first entry or |
2db33f10 RC |
5620 | previous selection if backing up from IDD_ROOT or IDD_LOCAL_DIR. |
5621 | ||
03a6c5b1 RC |
5622 | 2001-11-13 Robert Collins <rbtcollins@hotmail.com> |
5623 | ||
5624 | * choose.cc (find_tar_ext): Only match at the end of the string. | |
5625 | (getpkgbyname): Prevent NULL pointer dereference. | |
5626 | ||
b24c88b3 RC |
5627 | 2001-11-13 Robert Collins <rbtcollins@hotmail.com> |
5628 | ||
5629 | * Makefile.in (CFLAGS): Add warnings and -Werr. | |
58b12a06 MB |
5630 | (WARNONLY_FLAGS): For sources that produce (harmless) errors no matter |
5631 | what. | |
b24c88b3 RC |
5632 | (OBJS): Add io_stream class' objects. |
5633 | (autoload.o): Use WARNONLY_FLAGS. | |
5634 | (inilex.o): Ditto. | |
5635 | (iniparse.o): Ditto. | |
5636 | * archive.cc: New file. | |
5637 | * archive.h: New file. | |
5638 | * archive_tar.cc: New file. | |
5639 | * archive_tar.h: New file. | |
5640 | * archive_tar_file.cc: New file. | |
5641 | * autoload.c: Fix compiler warnings (unused, deprecated conversion). | |
5642 | * choose.cc: Use io_stream.h, not mount.h. | |
5643 | Run indent. | |
58b12a06 MB |
5644 | (find_tar_ext): Rewritten to use strstr, and to accept .tar as an |
5645 | extension. | |
b24c88b3 RC |
5646 | (read_installed_db): Use io_streams. |
5647 | * choose.h: Run indent. | |
5648 | * compress.cc: New file. | |
5649 | * compress.h: New file. | |
5650 | * compress_bz.cc: New file. | |
5651 | * compress_bz.h: New file. | |
5652 | * compress_gz.cc: New file. | |
5653 | * compress_gz.h: New file. | |
5654 | * concat.cc: Run indent. | |
5655 | (cvsid): Fix compiler warnings (unused, deprecated conversion). | |
5656 | * concat.h: Run indent. | |
5657 | * desktop.cc: Run indent. | |
5658 | Include mklink2.h rather than redefining by hand. | |
5659 | (cvsid): Fix compiler warnings (unused, deprecated conversion). | |
5660 | (etc_profile): Fix compiler warning (deprecated conversion). | |
5661 | (make_link): Fix compiler warning (deprecated conversion). | |
5662 | Tidy up use of args variable - consolidate into argbuf. | |
5663 | (start_menu): Fix compiler warning (deprecated conversion). | |
5664 | (desktop_icon): Fix compiler warning (deprecated conversion). | |
5665 | (make_etc_profile): Fix compiler warning (deprecated conversion). | |
5666 | (uexists): Fix compiler warning (deprecated conversion). | |
5667 | (check_desktop): Fix compiler warning (deprecated conversion). | |
5668 | (check_startmenu): Fix compiler warning (deprecated conversion). | |
5669 | * dialog.cc: Run indent. | |
5670 | (cvsid): Fix compiler warnings (unused, deprecated conversion). | |
5671 | (fatal): Fix compiler warning (deprecated conversion). | |
5672 | * dialog.h: Run indent. | |
5673 | * diskfull.cc: Run indent. | |
5674 | (cvsid): Fix compiler warnings (unused, deprecated conversion). | |
5675 | * download.cc: Run indent. | |
5676 | (cvsid): Fix compiler warnings (unused, deprecated conversion). | |
5677 | (download_one): Fix compiler warning (signed vs unsigned comparison). | |
5678 | * filemanip.h: Run indent. | |
5679 | * find.cc: Run indent. | |
5680 | (cvsid): Fix compiler warnings (unused, deprecated conversion). | |
5681 | (find): Fix compiler warning (deprecated conversion). | |
5682 | * find.h: Run indent. | |
5683 | * fromcwd.cc: Run indent. | |
5684 | * geturl.cc: Run indent. | |
5685 | (cvsid): Fix compiler warnings (unused, deprecated conversion). | |
5686 | (dialog_cmd): Return a value. | |
5687 | (dialog_proc): Remove unused variables. | |
5688 | Return a value. | |
5689 | (get_url_to_file): Fix compiler warning (deprecated conversion). | |
5690 | * geturl.h: Run indent. | |
5691 | * hash.cc: Run indent. | |
5692 | (cvsid): Fix compiler warnings (unused, deprecated conversion). | |
5693 | * hash.h: Run indent. | |
5694 | * ini.cc: Run indent. | |
5695 | Use io_streams. | |
5696 | (cvsid): Fix compiler warnings (unused, deprecated conversion). | |
5697 | (do_ini): Use io_streams for local io. | |
5698 | * ini.h: Run indent. | |
5699 | * inilex.l (ignore_line): Fix compiler warning (is not a prototype). | |
5700 | Fix compiler warning (brackets for truth assignment). | |
5701 | * install.cc: Run indent. | |
5702 | Fix compiler warning (/* in comment). | |
5703 | Use io_streams. | |
5704 | (cvsid): Fix compiler warnings (unused, deprecated conversion). | |
5705 | (dialog_cmd): Return a value. | |
5706 | (dialog_proc): Return a value. | |
5707 | (start_tics): Deleted - was unused. | |
5708 | (badrename): Fix compiler warnings (unused, deprecated conversion). | |
5709 | (standard_dirs): Fix compiler warning (deprecated conversion). | |
5710 | (exists): Remove. | |
5711 | (uninstall_one): Convert to io_streams. | |
5712 | (install_one): Convert to io_streams. | |
5713 | (do_install): Convert to io_streans. | |
5714 | Fix compiler warning (deprecated conversion). | |
5715 | * io_stream.cc: New file. | |
5716 | * io_stream.h: New file. | |
5717 | * io_stream_cygfile.cc: New file. | |
5718 | * io_stream_cygfile.h: New file. | |
5719 | * io_stream_file.cc: New file. | |
5720 | * io_stream_file.h: New file. | |
5721 | * localdir.cc: Run indent. | |
5722 | Use io_streams. | |
5723 | (cvsid): Fix compiler warnings (unused, deprecated conversion). | |
5724 | (get_root_dir_now): Remove. | |
5725 | (save_local_dir): Convert to io_streams. | |
5726 | (dialog_cmd): Return a value. | |
5727 | (do_local_dir): Convert to io_streams. | |
5728 | (log.cc): Run indent. | |
5729 | (cvsid): Fix compiler warnings (unused, deprecated conversion). | |
5730 | (log): Fix compiler warning (deprecated conversion). | |
5731 | (log_save): Fix compiler warning (deprecated conversion). | |
5732 | * log.h: Run indent. | |
5733 | (log): Fix compiler warning (deprecated conversion). | |
5734 | (log_save): Fix compiler warning (deprecated conversion). | |
5735 | * main.cc: Run indent. | |
5736 | Don't include "netio.h". | |
5737 | (cvsid): Fix compiler warnings (unused, deprecated conversion). | |
5738 | (netio_test): Remove. | |
5739 | (sid_auth): Fix compiler warning (partially bracketed initialiser). | |
5740 | (WinMain): Return a value. | |
5741 | * mkdir.cc: Run indent. | |
5742 | (cvsid): Fix compiler warnings (unused, deprecated conversion). | |
5743 | * mklink2.c: Run indent. | |
5744 | (cvsid): Fix compiler warnings (unused, deprecated conversion). | |
5745 | (mkcygsymlink): New function. | |
5746 | * mklink2.h: New file. | |
5747 | * mount.cc: Run indent. | |
5748 | (cvsid): Fix compiler warnings (unused, deprecated conversion). | |
5749 | (create_mount): Remove unused variables. | |
5750 | (cygpath): Fix compiler warning (signed vs unsigned comparison). | |
5751 | * mount.h: Run indent. | |
5752 | * msg.cc: Run indent. | |
5753 | (cvsid): Fix compiler warnings (unused, deprecated conversion). | |
5754 | (msg): Fix compiler warning (deprecated conversion). | |
5755 | (mbox): Fix compiler warning (deprecated conversion). | |
5756 | * msg.h: Run indent. | |
5757 | (msg): Fix compiler warning (deprecated conversion). | |
5758 | * net.cc: Run indent. | |
5759 | (cvsid): Fix compiler warnings (unused, deprecated conversion). | |
5760 | (dialog_cmd): Return a value. | |
5761 | * netio.cc: Run indent. | |
5762 | (cvsid): Fix compiler warnings (unused, deprecated conversion). | |
5763 | (auth_cmd): Return a value. | |
5764 | * netio.h: Run indent. | |
5765 | * nio-file.cc: Run indent. | |
5766 | (cvsid): Fix compiler warnings (unused, deprecated conversion). | |
5767 | (NetIO_File::NetIO_File): Fix compiler warning (deprecated conversion). | |
5768 | * nio-file.h: Run indent. | |
5769 | * nio-ftp.cc: Run indent. | |
5770 | (cvsid): Fix compiler warnings (unused, deprecated conversion). | |
5771 | * nio-ftp.h: Run indent. | |
5772 | * nio-http.cc: Run indent. | |
5773 | (cvsid): Fix compiler warnings (unused, deprecated conversion). | |
5774 | * nio-http.h: Run indent. | |
5775 | * nio-ie5.cc: Run indent. | |
5776 | (cvsid): Fix compiler warnings (unused, deprecated conversion). | |
5777 | * nio-ie5.h: Run indent. | |
5778 | * other.cc: Run indent. | |
5779 | (cvsid): Fix compiler warnings (unused, deprecated conversion). | |
5780 | (dialog_cmd): Return a value. | |
5781 | * port.h: Run indent. | |
5782 | * postinstall.cc: Run indent. | |
5783 | (cvsid): Fix compiler warnings (unused, deprecated conversion). | |
5784 | (cmd): Fix compiler warning (deprecated conversion). | |
5785 | (eun): Fix compiler warning (deprecated conversion). | |
5786 | * root.cc: Run indent. | |
5787 | (cvsid): Fix compiler warnings (unused, deprecated conversion). | |
5788 | * simpsock.cc: Run indent. | |
5789 | (cvsid): Fix compiler warnings (unused, deprecated conversion). | |
5790 | * simpsock.h: Run indent. | |
5791 | * site.cc: Run indent. | |
5792 | Use io_streams. | |
5793 | (cvsid): Fix compiler warnings (unused, deprecated conversion). | |
5794 | (get_root_dir_now): Remove. | |
5795 | (save_site_url): Convert to io_streams. | |
5796 | (dialog_cmd): Return 0. | |
5797 | (get_initial_list_idx): Convert to io_streans. | |
5798 | * source.cc: Run indent. | |
5799 | (cvsid): Fix compiler warnings (unused, deprecated conversion). | |
5800 | (check_if_enable_next): Remove. | |
5801 | (load_dialog): Remove unused variables. | |
5802 | (save_dialog): Ditto. | |
5803 | (dialog_cmd): Return a value. | |
5804 | * splash.cc: Return a value. | |
5805 | (cvsid): Fix compiler warnings (unused, deprecated conversion). | |
5806 | (dialog_cmd): Return a value. | |
5807 | * state.cc: Run indent. | |
5808 | (cvsid): Fix compiler warnings (unused, deprecated conversion). | |
5809 | * state.h: Run indent. | |
5810 | * tar.h: Remove. | |
5811 | * tar.cc: Remove. | |
5812 | ||
398dd7b2 CF |
5813 | 2001-11-12 Christopher Faylor <cgf@redhat.com> |
5814 | ||
5815 | * desktop.cc (start_menu): Change start menu name to "Cygwin". | |
5816 | (check_startmenu): Ditto. | |
5817 | ||
c29ee141 CF |
5818 | 2001-11-11 Christopher Faylor <cgf@redhat.com> |
5819 | ||
5820 | * choose.cc (parse_filename): Finish reorganization by correctly | |
5821 | decrementing p in memmove. | |
5822 | ||
3a8276de CF |
5823 | 2001-11-11 Christopher Faylor <cgf@redhat.com> |
5824 | ||
5825 | * choose.cc (parse_filename): Reorganize code to work around gcc | |
5826 | optimization problem. | |
5827 | ||
6eea52fb RC |
5828 | 2001-11-09 Gareth Pearce <tilps@hotmail.com> |
5829 | ||
5830 | * choose.cc (set_action): Allow skip as an option for installed | |
5831 | packages that have version number not listed in setup.ini. | |
5832 | ||
cf99b153 RC |
5833 | 2001-11-10 Robert Collins <rbtcollins@hotmail.com> |
5834 | ||
5835 | * choose.cc (set_cation): Backout last change. | |
5836 | (choose_caption): Ditto. | |
5837 | ||
55e204f6 RC |
5838 | 2001-11-10 Robert Collins <rbtcollins@hotmail.com> |
5839 | ||
5840 | * ini.h (actions): Remove - transferred to choose.h. | |
5841 | (views): Ditto. | |
5842 | * choose.h: Protect class's from "C" compilers. | |
5843 | (actions): New enum, from ini.h. This may not be the 'right' place | |
5844 | but that place doesn't exist yet. | |
5845 | (_views): New enum, from ini.h. | |
58b12a06 MB |
5846 | * choose.cc (set_action): Handle installed packages with a version not |
5847 | in setup.ini. | |
55e204f6 RC |
5848 | (choose_caption): Ditto. |
5849 | * iniparse.y: Rearrange header order to handle new ini.h. | |
5850 | ||
5851 | 2001-11-10 Robert Collins <rbtcollins@hotmail.com> | |
5852 | ||
5853 | * ini.h (_Info): Fix compiler warnings (signed vs unsigned comparison). | |
5854 | (registry_category): Fix compiler warning (deprecated conversion). | |
5855 | * iniparse.y (registry_category): Ditto. | |
58b12a06 MB |
5856 | * choose.cc (cvsid): Fix compiler warnings (unused, deprecated |
5857 | conversion). | |
55e204f6 RC |
5858 | (add_requried): Remove unused variable. |
5859 | (choose_caption): Handle all enumeration values via a default. | |
5860 | (paint): Fix compiler warnings (unused, deprecated conversion). | |
58b12a06 MB |
5861 | (scroll_common): Fix compiler warnings (unused, signed vs unsigned |
5862 | comparison). | |
55e204f6 RC |
5863 | (list_clicK): Fix compiler warnings (signed vs unsigned comparison). |
5864 | (note_width): Fix compiler warnings (deprecated conversion). | |
5865 | (keep_or_skip): Fix compiler warnings (unused). | |
5866 | (_view::mode_caption): Fix compiler warnings (deprecated conversion). | |
5867 | (set_view_mode): Fix compiler warnings (unused). | |
58b12a06 MB |
5868 | (create_listview): Fix compiler warnings (unused, incorrect format, |
5869 | reaches end of function). | |
55e204f6 | 5870 | (dialog_proc): Fix compiler warnings (unused). |
58b12a06 MB |
5871 | (read_installed_db): Fix compiler warnings (unused, deprecated |
5872 | conversion). | |
55e204f6 RC |
5873 | * choose.h (_header): Fix compiler warnings (deprecated conversion). |
5874 | (_view): Ditto. | |
5875 | ||
67a55ad9 | 5876 | 2001-11-08 Pavel Tsekov <ptsekov@syntrex.com> |
cef493d7 | 5877 | |
67a55ad9 RC |
5878 | * simpsock.h (SimpleSocket::invalidate): Declare new method. |
5879 | * simpsock.cc (SimpleSocket::invalidate): Implement new method. | |
5880 | (SimpleSocket::SimpleSocket): Initialize buf to zero. Do not allocate | |
5881 | memory for buf in the constructor. | |
5882 | (SimpleSocket::~SimpleSocket): Use SimpleSocket::invalidate(). | |
5883 | (SimpleSocket::printf): Use SimpleSocket::write() instead of send(). | |
5884 | (SimpleSocket::write): Check object consistency - return -1 on error. | |
5885 | invalidate() the object on socket write error. | |
5886 | (SimpleSocket::fill): Check object consistency - return -1 on error. | |
5887 | invalidate() the object if socket read error is encountered and there | |
5888 | is no more data available in the internal read buffer. | |
5889 | Allocate memory for the internal read buffer. | |
5890 | (SimpleSocket::gets): Return zero (NULL pointer) if error is encountered | |
5891 | during fill() and no more data is available in the internal read buffer. | |
5892 | (SimpleSocket::read): Check object consistency - return -1 on error. | |
5893 | invalidate() the object if socket read error is encountered. | |
5894 | * nio-ftp.cc (NetIO_FTP:NetIO_FTP): Allow 125 as valid response code to | |
5895 | the RETR command (fix for MS IIS ftp server 5 - possibly others too). | |
5896 | (NetIO_FTP::ok): Check if the SimpleSocket object is ok(). | |
5897 | (NetIO_FTP::read): Use NetIO_FTP::ok(). | |
5898 | * nio-http.cc: Check for valid return value of SimpleSocket::gets(). | |
5899 | (NetIO_HTTP::ok): Check if the SimpleSocket object is ok(). | |
5900 | ||
5898e300 RC |
5901 | 2001-11-09 Robert Collins <rbtcollins@hotmail.com> |
5902 | ||
58b12a06 MB |
5903 | * simpsock.cc (cvsid): Avoid compiler warnings (not used, deprecated |
5904 | conversion). | |
5905 | (SimpleSocket::SimpleSocket): Avoid compiler warnings (deprecated | |
5906 | conversion). | |
5898e300 RC |
5907 | (SimpleSocket::printf): Ditto. |
5908 | (SimpleSocket::write): Ditto. | |
5909 | * simpsock.h (SimpleSocket): Avoid compiler warnings for constructor, | |
5910 | printf and write. | |
58b12a06 MB |
5911 | * nio-ftp.cc (cvsid): Avoid compiler warnings (not used, deprecated |
5912 | conversion). | |
5898e300 | 5913 | (NetIO_FTP::NetIO_FTP): Remove unused variable done. |
58b12a06 MB |
5914 | * nio-http.cc (cvsid): Avoid compiler warnings (not used, deprecated |
5915 | conversion). | |
5898e300 | 5916 | |
8e58f8fd RC |
5917 | 2001-11-07 Charles Wilson <cwilson@ece.gatech.edu> |
5918 | ||
5919 | * geturl.cc (get_url_to_string): clean up memory leak | |
5920 | (get_url_to_file): ditto | |
cef493d7 | 5921 | |
4b4002ab RC |
5922 | 2001-11-06 Robert Collins <rbtcollins@hotmail.com> |
5923 | ||
5924 | * localdir.cc (dialog_cmd): Go back to IDD_ROOT in every case. | |
5925 | * source.cc (dialog_cmd): Go forward to IDD_ROOT in every case. | |
5926 | ||
94525fd9 RC |
5927 | 2001-11-06 Pavel Tsekov <ptsekov@syntrex.com> |
5928 | ||
5929 | * fromcwd.cc (found_file): Free() memory containing the version and | |
58b12a06 MB |
5930 | filepath information for a given package, before replacing the pointers |
5931 | which reference this memory. | |
94525fd9 RC |
5932 | |
5933 | 2001-11-06 Robert Collins <rbtcollins@hotmail.com> | |
ca83c665 RC |
5934 | |
5935 | * fromcwd: Fix compiler warnings for cvsid. | |
5936 | (canonicalize_version): Fix compilter warnings. | |
5937 | (do_fromcwd): Ditto. | |
5938 | * version.h: Fix compiler warnings for canonicalize_version. | |
5939 | ||
ce1f9ec2 RC |
5940 | 2001-11-03 Robert Collins <rbtcollins@hotmail.com> |
5941 | ||
5942 | * res.rc (IDD_CHOOSE): Move the view caption to the right hand side. | |
5943 | ||
89d82ec7 RC |
5944 | 2001-11-02 Robert Collins <rbtcollins@hotmail.com> |
5945 | ||
5946 | * res.rc (IDD_CHOOSE): Tweak for use on a 640x480 screen. | |
5947 | ||
c8fea72a RC |
5948 | 2001-11-02 Robert Collins <rbtcollins@hotmail.com> |
5949 | ||
58b12a06 MB |
5950 | * choose.cc (set_action): Correctly allow skip for any uninstalled |
5951 | package. | |
8114d309 RC |
5952 | |
5953 | 2001-11-02 Robert Collins <rbtcollins@hotmail.com> | |
5954 | ||
58b12a06 MB |
5955 | * choose.cc (default_trust): Change the "Required" forced install |
5956 | category to "Base". | |
c8fea72a | 5957 | |
f557695e RC |
5958 | 2001-11-02 Robert Collins <rbtcollins@hotmail.com> |
5959 | ||
5960 | * choose.cc: Ran indent. | |
58b12a06 MB |
5961 | (set_action): When the requested trust level is missing and the level |
5962 | was not user requested, set the action to ACTION_SAME_CURR. | |
f557695e | 5963 | |
9a60dafc CF |
5964 | 2001-11-01 Christopher Faylor <cgf@redhat.com> |
5965 | ||
cef493d7 | 5966 | * Makefile.in (mingw_getopt.o): Fix typo in non-verbose compilation. |
f557695e RC |
5967 | |
5968 | 2001-11-02 Robert Collins <rbtcollins@hotmail.com> | |
5969 | ||
5970 | * choose.cc (_view::init_headers): Resync with the paint logic. | |
9a60dafc | 5971 | |
878faffd RC |
5972 | 2001-11-02 Robert Collins <rbtcollins@hotmail.com> |
5973 | ||
58b12a06 MB |
5974 | * choose.cc (add_required): Allow SKIP and SRC_ONLY for currently |
5975 | installed packages. | |
878faffd | 5976 | |
05bfdf26 RC |
5977 | 2001-11-02 Robert Collins <rbtcollins@hotmail.com> |
5978 | ||
58b12a06 MB |
5979 | * choose.cc (default_trust): Autoset currently installed packages per |
5980 | the user's selection of prev/curr/exp. | |
05bfdf26 | 5981 | |
0b9af00c RC |
5982 | 2001-11-02 Robert Collins <rbtcollins@hotmail.com> |
5983 | ||
5984 | * splash.cc (dialog_proc): Return TRUE as specified in the WIN32 API. | |
5985 | ||
7cefe128 RC |
5986 | 2001-11-02 Pavel Tsekov <ptsekov@syntrex.com> |
5987 | ||
5988 | * geturl.cc (is_showing): Remove. | |
5989 | (is_local_install): New static variable. Controls whether the | |
5990 | progress dialog and the supporting thread will be created. | |
58b12a06 MB |
5991 | (dialog_proc): Return TRUE to WM_INITDIALOG as specified by the WIN32 |
5992 | API. | |
7cefe128 | 5993 | (init_dialog): Remove usage of SetForegroundWindow and is_showing. |
cef493d7 | 5994 | This prevents the progress dialog to gain control over the |
7cefe128 RC |
5995 | application and fixes the "setup.exe going to background" problem. |
5996 | (progress): Use is_local_install. | |
5997 | (get_url_to_string): Set is_local_install. | |
5998 | (dismiss_url_status_dialog): Use is_local_install. | |
5999 | * install.cc (dialog_proc): Return TRUE as specified in WIN32 API. | |
6000 | (init_dialog): Remove usage of SetForegroundWindow. | |
cef493d7 | 6001 | This prevents the progress dialog to gain control over the |
7cefe128 RC |
6002 | application and fixes the "setup.exe going to background" problem. |
6003 | ||
42a99ed1 RC |
6004 | 2001-11-02 Robert Collins <rbtcollins@hotmail.com> |
6005 | ||
6006 | * choose.cc (list_click): Change r to row for clarity. | |
6007 | When we shrink the list below 1 page, scroll to the top of the list. | |
6008 | (_view::click): Return the actual change for contractions. | |
58b12a06 MB |
6009 | (dialog_proc): Return TRUE to WM_INITDIALOG as specified by the Win32 |
6010 | API. | |
42a99ed1 | 6011 | |
45c2d7d3 RC |
6012 | 2001-11-02 Robert Collins <rbtcollins@hotmail.com> |
6013 | ||
58b12a06 MB |
6014 | * choose.cc (dialog_cmd): Swap cygwin root selection and local dir |
6015 | selection order. | |
45c2d7d3 RC |
6016 | * localdir.cc: Ran indent. |
6017 | (get_root_dir_now): New function. | |
6018 | (save_local_dir): New function. | |
58b12a06 MB |
6019 | (dialog_cmd): Use it and swap cygwin root selection and local dir |
6020 | selection order. | |
45c2d7d3 | 6021 | (do_local_dir): If there is a saved local dir, read it in. |
58b12a06 MB |
6022 | * net.cc (dialog_cmd): Swap cygwin root selection and local dir |
6023 | selection order. | |
45c2d7d3 RC |
6024 | * root.cc (dialog_cmd): Ditto. |
6025 | * source.cc (dialog_cmd): Ditto. | |
6026 | ||
2399c54d RC |
6027 | 2001-11-01 Robert Collins <rbtcollins@hotmail.com> |
6028 | ||
6029 | * choose.cc(list_vscroll): Return 0 as required by win32. | |
6030 | (list_hscroll): Ditto. | |
6031 | (list_click): Ditto. | |
6032 | ||
8e4402a9 RC |
6033 | 2001-11-01 Robert Collins <rbtcollins@hotmail.com> |
6034 | ||
6035 | * argv.cc: Remove. | |
6036 | * argv.h: Remove. | |
6037 | * main.cc(WinMain): Use __argv to retrieve command line parameters. | |
6038 | * Makefile,in: Remove argv.o. | |
6039 | ||
c168185f RC |
6040 | 2001-11-01 Matt Hargett <matt@use.net> |
6041 | ||
cef493d7 CF |
6042 | * geturl.cc (progress): Change int to unsigned int to eliminate |
6043 | lint warnings. | |
6044 | * (get_url_to_string): Check for NULL pointer. | |
6045 | * mount.cc (find2): Use free instead of delete for malloc'd | |
6046 | memory. | |
6047 | * nio-http.cc (NetIO_HTTP::NetIO_HTTP): Fix memory leak. | |
c168185f | 6048 | |
f97a1ece RC |
6049 | 2001-10-31 Robert Collins <rbtcollins@hotmail.com> |
6050 | ||
58b12a06 MB |
6051 | * choose.cc(_view::insert_under): Handle linen > nlines and lines[linen] |
6052 | with neither a package nor a category. The lines[linen] bug was reported | |
6053 | by Matt (matt@usa.net). | |
6054 | (read_installed_db): Bugfix for testing whether a package has a source | |
6055 | tarball. Reported by Matt (matt@usa.net). | |
6056 | * geturl.cc(dialog): Rename gw_dialog to local_gw_dialog to avoid | |
6057 | programmer confusion and lint errors. Reported by Matt (matt@usa.net). | |
f97a1ece | 6058 | |
d52ed64b RC |
6059 | 2001-10-31 Robert Collins <rbtcollins@hotmail.com> |
6060 | ||
58b12a06 MB |
6061 | * argv.cc: New file, converts arguments for -mwindows |
6062 | programs. (Simplified derivation from dcrt0.cc.) | |
d52ed64b RC |
6063 | * argv.h: New file. |
6064 | * Makefile,in: Add argv.o and mingw_getopt.o to setup.exe object list. | |
6065 | Add mingw_getopt.o build rule. | |
6066 | * main.cc(WinMain): Initialise argv and argc for use by getopt. | |
6067 | ||
392ba1ba CF |
6068 | 2001-10-27 Christopher Faylor <cgf@redhat.com> |
6069 | ||
6070 | * res.rc: Rearrange info on top line slightly. | |
6071 | ||
31324d15 CF |
6072 | 2001-10-27 Christopher Faylor <cgf@redhat.com> |
6073 | ||
6074 | * desktop.cc (make_passwd_group): Move file creation earlier in the | |
6075 | process to ensure that passwd-grp.bat reflects desired operation. | |
6076 | ||
6077 | 2001-27-10 Trevor Forbes <t4bs@hotmail.com> | |
6078 | ||
6079 | * postinstall.cc (each): Remove "*.done" file else rename will fail. | |
6080 | ||
ee411d77 CF |
6081 | 2001-10-16 Christopher Faylor <cgf@redhat.com> |
6082 | ||
6083 | * res.rc: Oops. Take 640x480 screen size into account. | |
6084 | ||
e74944da CF |
6085 | 2001-10-16 Christopher Faylor <cgf@redhat.com> |
6086 | ||
6087 | * res.rc: Enlarge chooser screen. | |
6088 | ||
e368cfb9 CF |
6089 | 2001-10-12 Christopher Faylor <cgf@redhat.com> |
6090 | ||
6091 | * Makefile.in: Accomodate changes to w32api_include macro. | |
6092 | ||
a6ba3670 CF |
6093 | 2001-10-12 Christopher Faylor <cgf@redhat.com> |
6094 | ||
6095 | * Makefile.in: Use correct flags for windres. | |
6096 | ||
683e96f6 CF |
6097 | 2001-10-12 Christopher Faylor <cgf@redhat.com> |
6098 | ||
6099 | * Makefile.in (CFLAGS): Remove -nostdinc from CFLAGS. | |
6100 | ||
2c18c00b CF |
6101 | 2001-10-12 Christopher Faylor <cgf@redhat.com> |
6102 | ||
6103 | * choose.cc (pick_line::paint): Reorganize after botched patch. | |
6104 | ||
0f61a05a CF |
6105 | 2001-10-12 Christopher Faylor <cgf@redhat.com> |
6106 | ||
6107 | * choose.cc (pick_line::paint): Add missing declaration. | |
6108 | ||
308d6f3e CF |
6109 | 2001-10-10 Ralf Habacker <Ralf.Habacker@freenet.de> |
6110 | ||
6111 | * choose.cc (pick_line::paint): Add package name to sdesc for display. | |
6112 | ||
3bcf85be RC |
6113 | Wed Sep 26 21:39:00 Robert Collins rbtcollins@hotmail.com |
6114 | ||
6115 | * choose.cc (_view::insert_pkg): Correctly exit loop. | |
6116 | * iniparse.y (register_category): Always insert new categories. | |
6117 | ||
fb2cd8f6 CF |
6118 | Fri Sep 21 13:56:32 2001 Christopher Faylor <cgf@cygnus.com> |
6119 | ||
6120 | * inilex.l (yylex): For comments, eat all characters up to, but not | |
6121 | including newline. | |
6122 | ||
127b32e1 CF |
6123 | Sun Aug 26 12:50:01 2001 John Marshall <jmarshall@acm.org> |
6124 | ||
6125 | * fromcwd.cc (found_file): Use correct package name when adding an | |
6126 | unknown package rather than random stack garbage. | |
6127 | ||
2cd555aa CF |
6128 | Sun Aug 12 14:25:21 2001 Christopher Faylor <cgf@cygnus.com> |
6129 | ||
6130 | * desktop.cc (make_passwd_group): .bat files need \r\n endings. | |
6131 | ||
4254cc64 CF |
6132 | Wed Aug 8 13:53:47 2001 Christopher Faylor <cgf@cygnus.com> |
6133 | ||
6134 | * desktop.cc (etc_profile): Leave environment variables untouched. | |
6135 | ||
acbae401 CV |
6136 | 2001-08-07 Corinna Vinschen <corinna@vinschen.de> |
6137 | ||
6138 | * autoload.c: Add dynamic load statements for NT/W2K | |
6139 | advapi32 functions not available in 9x/ME. | |
6140 | * main.cc (set_default_dacl): New function. | |
6141 | (WinMain): Call `set_default_dacl' if running on NT/W2K. | |
6142 | ||
969a294c CF |
6143 | Sat Aug 4 21:35:53 2001 Christopher Faylor <cgf@cygnus.com> |
6144 | ||
6145 | * ini.h (_CategoryPackage): Change pkg field to pkgname for | |
6146 | consistency. | |
6147 | * choose.cc: Use pkgname field when referencing _CategoryPackage | |
6148 | throughout. | |
6149 | (fill_missing_category): Don't add excluded packages. | |
6150 | (default_trust): Ditto. | |
6151 | (_view::insert_pkg): Ditto. | |
6152 | * iniparse.y (register_category): Use consistent variable name. | |
6153 | ||
9eeb0e83 ED |
6154 | 2001-07-09 Egor Duda <deo@logos-m.ru> |
6155 | ||
6156 | * choose.cc: Use system foreground color for text output. | |
6157 | ||
06560feb CF |
6158 | Sat Jul 7 00:40:28 2001 Christopher Faylor <cgf@cygnus.com> |
6159 | ||
6160 | * choose.cc (set_action): Use default trust for determining reinstall | |
6161 | and source only. | |
6162 | (default_trust): Set default trust. | |
6163 | (pick_line::paint): Allow source selection when reinstalling or | |
6164 | retrieving. | |
6165 | ||
1fb09149 CF |
6166 | Fri Jul 6 18:08:49 2001 Christopher Faylor <cgf@cygnus.com> |
6167 | ||
6168 | * choose.cc (isinstalled): Modify to properly accomodate special case | |
6169 | of "download only". | |
6170 | (set_action): Check downloaded components, not installed components if | |
6171 | "download only". | |
6172 | (set_existence): Always include full list of files when "download | |
6173 | only". | |
6174 | ||
14cfffa5 CF |
6175 | Fri Jul 6 00:37:05 2001 Christopher Faylor <cgf@cygnus.com> |
6176 | ||
6177 | * choose.cc (pick_line::paint): Properly display "na" field when no | |
6178 | source exists. | |
6179 | ||
f54385f6 CF |
6180 | Thu Jul 5 00:34:23 2001 Christopher Faylor <cgf@cygnus.com> |
6181 | ||
6182 | * choose.cc (scan2): Ensure that older versions do not show up in | |
6183 | "Test" slot. | |
6184 | ||
85b1fb54 CF |
6185 | Mon Jul 2 15:47:59 2001 Christopher Faylor <cgf@cygnus.com> |
6186 | ||
6187 | * choose.cc (set_action): Allow "Skip" action if trust != installed. | |
6188 | * res.rc: Fix copyright. | |
6189 | ||
2dada532 CF |
6190 | Sat Jun 30 14:05:21 2001 Michael A Chase <mchase@ix.netcom.com> |
6191 | ||
6192 | * res.rc (IDD_LOCAL_DIR): Change caption to match the other dialog | |
6193 | boxes. | |
06c6d195 | 6194 | (IDD_CHOOSE): Adjust horizontal size so package names are visible. |
2dada532 CF |
6195 | |
6196 | * choose.cc: Restore some more changes from 2001-06-25, throughout. | |
6197 | (paint): Wrap some excessively long lines. | |
6198 | (pick_line::paint): Ditto. Move the arrow in the "Current" column | |
6199 | right to where it belongs. Move the source checkbox slightly to the | |
6200 | right. | |
6201 | (do_choose): List categories and required packages in setup.log.full. | |
6202 | ||
6203 | Sat Jun 30 23:04:59 2001 Christopher Faylor <cgf@cygnus.com> | |
6204 | ||
58b12a06 MB |
6205 | * choose.cc (scan2): Restore source scanning eliminated by previous |
6206 | checkin. | |
2dada532 | 6207 | |
1b13eeec CF |
6208 | Sat Jun 30 15:18:33 2001 Christopher Faylor <cgf@cygnus.com> |
6209 | ||
6210 | * ini.h (struct _Info): Add "derived" element. | |
6211 | * choose.cc (scan2): Try to place unknown tar files into proper slot | |
6212 | when package exists in setup.ini but tar file does not. | |
6213 | ||
9307254d RC |
6214 | Sat Jun 30 13:39:00 2001 Robert Collins <rbtcollins@hotmail.com> |
6215 | ||
6216 | * choose.cc (create_listview): Call set_view_mode with VIEW_CATEGORY. | |
6217 | (do_choose): Log the first category name. | |
6218 | ||
3467d79f CF |
6219 | Fri Jun 29 23:07:44 2001 Christopher Faylor <cgf@cygnus.com> |
6220 | ||
6221 | *ini.h: Reapply 2001-06-25 changes. | |
6222 | * choose.cc (add_required): Ditto. Default to "Keep" state if | |
6223 | UNINSTALL and product is installed. Default to curr state if SKIP, | |
6224 | etc. | |
6225 | (keep_or_skip): New function. Returns skip or keep state depending on | |
6226 | installed state of package. | |
6227 | (default_trust): Use keep_or_skip to set state. | |
6228 | (_view::insert_pkg): Use calloc to allocate lines. | |
6229 | (set_view_mode): Adapt 2001-06-25 change to set_full_list here. | |
6230 | ||
8f53e82a RC |
6231 | Sat Jun 30 11:01:00 2001 Robert Collins <rbtcollins@hotmail.com> |
6232 | ||
1fb09149 | 6233 | * choose.cc: Remove globals full_list, headers, package_indexes and |
8f53e82a RC |
6234 | nindexes. |
6235 | Add globals cat_headers, pkg_headers and chooser. | |
6236 | (add_required): New function. | |
6237 | (paint): Use the chooser for header details. | |
6238 | Call into the chooser to paint each line. | |
1fb09149 | 6239 | (list_click): Use new global variables. |
8f53e82a RC |
6240 | Call into the chooser to handle the click. |
6241 | Repaint the entire view if packages have been added or removed. | |
6242 | (note_width): Get passed a headers struct rather than using a global | |
6243 | variable. | |
6244 | (fill_missing_category): New function. | |
6245 | (default_trust): Skip non-"Required" or "Misc" packages. | |
6246 | (pick_line::set_line (Package *)): New function. | |
6247 | (pick_line::set_line (Category *)): New function. | |
6248 | (pick_line::paint): New function. | |
6249 | (pick_line::click): New function. | |
6250 | (_view::_view): New function. | |
6251 | (_view::set_view_mode): New function. | |
6252 | (_view::mode_caption): New function. | |
6253 | (_view::set_headers): New function. | |
6254 | (_view::init_header): New function. | |
6255 | (_view::insert_pkg): New function. | |
6256 | (_view::insert_category): New function. | |
6257 | (_view::insert_at): New function. | |
6258 | (_view::insert_under): New function. | |
6259 | (_view::clear_view): New function. | |
6260 | (viewsplusplus): New function. | |
6261 | (_view::client): New function. | |
6262 | (set_view_mode): Use new chooser functionality. | |
6263 | (set_full_list): Use new global variables. | |
6264 | (create_listview): Instantiate chooser. | |
6265 | Remove all hardcoded headers[] code. | |
6266 | (dialog_cmd): On trust changes, check dependencies. | |
6267 | (getcategorybyname): New function. | |
6268 | (getpackagecategorybyname): New function. | |
6269 | (scan2): Use case-insensitive package comparison. | |
6270 | (do_choose): Use fill_missing_category (). | |
6271 | Show some category data. | |
6272 | * ini.h: Protect against multiple inclusion. | |
6273 | (views) New enum. | |
6274 | (_CategoryPackage): New struct. | |
6275 | (_Category): New struct. | |
6276 | (_Package): Change category to Category * from char *. | |
6277 | (extern Category category): New global variable. | |
6278 | (extern in ncategories): Ditto. | |
6279 | (getcategorybyname): New prototype. | |
6280 | (catpackagecategorybyname): New prototype. | |
6281 | (register_category): New prototype. | |
6282 | (add_category): New prototype. | |
6283 | * iniparse.y: Parse multiple categories per package. | |
2dada532 CF |
6284 | (category): New global variable. |
6285 | (ncategories): New global variable. | |
8f53e82a RC |
6286 | (new_package): Compare package against NULL, not 0. |
6287 | (new_requirement): Source formatting fix. | |
6288 | (register_category): New function. | |
6289 | (add_category): New function. | |
6290 | * res.rc: Change IDC_CHOOSE_FULLPART to IDC_CHOOSE_VIEW. | |
6291 | IDC_CHOOSE_VIEWCAPTION: New control. | |
6292 | * resource.h: Change IDC_CHOOSE_FULLPART to IDC_CHOOSE_VIEW. | |
6293 | IDC_CHOOSE_VIEWCAPTION: New control. | |
6294 | Increment _APS_NEXT_CONTROL_VALUE. | |
6295 | ||
26a27c14 CF |
6296 | Mon Jun 25 00:56:37 2001 Michael A Chase <mchase@ix.netcom.com> |
6297 | ||
e19ad6a3 | 6298 | * choose.cc (paint): Wrap excessively long lines. |
26a27c14 CF |
6299 | (list_click): Ditto. |
6300 | (create_listview): Ditto. | |
6301 | (do_choose): Ditto. Replace TABs and remove CRs in lines written to | |
6302 | setup.log.full. Allow "Yes" for source exists in setup.log.full when | |
6303 | installing from local directories. | |
6304 | ||
97312777 CF |
6305 | Mon Jun 25 00:56:37 2001 Christopher Faylor <cgf@cygnus.com> |
6306 | ||
5f9f0d8d CF |
6307 | * choose.cc (set_action): Only clear srcpicked when moving to next |
6308 | state. Allow source installation if it exists in the current "trust" | |
6309 | state. Don't move to skip state when package is installed. | |
97312777 CF |
6310 | (list_click): Don't allow source clicking when no source is available. |
6311 | (set_full_list): Display package when not is_full_action. | |
6312 | * ini.h (is_full_action): Define. | |
6313 | ||
72fd1d1e CF |
6314 | Sun Jun 17 12:06:14 2001 Christopher Faylor <cgf@cygnus.com> |
6315 | ||
6316 | * install.cc (check_for_old_cygwin): New function. First stab at | |
6317 | checking for old cygwin versions. | |
6318 | (do_install): Call check_for_old_cygwin if there were no errors during | |
6319 | the install. | |
6320 | ||
41ac91b5 | 6321 | Sat Jun 16 11:33:51 2001 Michael A Chase <mchase@ix.netcom.com> |
86202506 CF |
6322 | |
6323 | * choose.cc (_Info::_Info): Test _source paramenter for non-NULL rather | |
6324 | than zeroed "source" element. | |
6325 | ||
80429b97 CF |
6326 | Fri Jun 15 20:54:43 2001 Christopher Faylor <cgf@cygnus.com> |
6327 | ||
6328 | * choose.cc (scan2): Insert unknown tar archives, found on disk, into | |
6329 | the highest available "hole" in the trust array. | |
6330 | ||
654ea642 CF |
6331 | Fri Jun 15 00:20:48 2001 Christopher Faylor <cgf@cygnus.com> |
6332 | ||
6333 | * choose.cc (set_existence): Use pointer method for indexing in trust | |
6334 | array. | |
6335 | (create_listview): Ditto. | |
6336 | (scan2): Ditto. Also, use consistent variable name for indexing into | |
6337 | trust array. | |
6338 | * ini.h (Package): Reorganize info array for easier scanning. | |
6339 | ||
e98d90bd CF |
6340 | Fri Jun 15 00:01:51 2001 Christopher Faylor <cgf@cygnus.com> |
6341 | ||
6342 | * choose.cc (isinstalled): Eliminate special download only test. | |
6343 | (set_action): Don't move to next state if in ACTION_SAME range and not | |
6344 | incrementing. | |
6345 | (choose_caption): Display "Retrieve" rather than "Reinstall" when just | |
6346 | downloading. | |
6347 | (do_choose): Sort packages after all packages have been read. | |
6348 | Accomodate the fact that first element in trust array is empty so that | |
6349 | log files don't report the wrong trust value. | |
6350 | * iniparse.y (new_package): Malloc space for package name or suffer | |
6351 | memory corruption. | |
6352 | ||
38c97581 CF |
6353 | Thu Jun 14 22:43:59 2001 Robert Collins <rbtcollins@hotmail.com> |
6354 | ||
6355 | * ini.h (Dependency): New structure. Declare new function. | |
58b12a06 MB |
6356 | * inilex.l (yylex): Detect new setup.ini options - category and |
6357 | requires. | |
38c97581 CF |
6358 | * iniparse.y: Declare new setup.ini token values. |
6359 | (yyparse): Parse new token values. | |
6360 | (new_requirement): New function. | |
6361 | ||
6362 | Thu Jun 14 22:43:26 2001 Christopher Faylor <cgf@cygnus.com> | |
6363 | ||
6364 | * choose.cc (read_installed_db): Eliminate obsolete code. | |
6365 | ||
3ae6c15c CF |
6366 | Thu Jun 14 22:11:53 2001 Christopher Faylor <cgf@cygnus.com> |
6367 | ||
6368 | * choose.cc (set_action): Set trust on "redo". | |
6369 | (_Info::_Info): New constructor. | |
6370 | (read_installed_db): Use new constructor. Use trusts type for | |
6371 | iterator. | |
6372 | * ini.h (struct _Info): Label struct, add constructor. | |
6373 | (Package): Make installed_ix a type 'trusts.' | |
6374 | * install.cc (uninstall_one): Unset any installed info for current | |
6375 | package. | |
6376 | (install_one): Allocate new Info struct for installed reflecting new | |
6377 | installed info. | |
6378 | (do_install): Don't output line to installed.db if package is being | |
6379 | uninstalled. | |
6380 | ||
9c0a9876 CF |
6381 | Thu Jun 14 20:33:01 2001 Robert Collins <rbtcollins@hotmail.com> |
6382 | ||
6383 | * choose.cc (getpkgbyname): Use consistent method for scanning package | |
6384 | array. | |
6385 | ||
68b27c12 CF |
6386 | Wed Jun 13 23:33:08 2001 Christopher Faylor <cgf@cygnus.com> |
6387 | ||
6388 | * choose.cc: Add some comments. | |
6389 | (getpkgbyname): Use strcasecmp for comparisons. | |
6390 | ||
07108cc2 CF |
6391 | Wed Jun 13 16:07:00 2001 Christopher Faylor <cgf@cygnus.com> |
6392 | ||
f0984dcb | 6393 | * install.cc (do_install): Avoid checking for download action if |
07108cc2 CF |
6394 | package wasn't currently retrieved. |
6395 | ||
c46a33a9 CF |
6396 | Wed Jun 13 11:27:22 2001 Christopher Faylor <cgf@cygnus.com> |
6397 | ||
6398 | * choose.cc: Eliminate extra array throughout. Use element in package | |
6399 | structure instead. Use pointers rather than array indexes where | |
6400 | appropriate. | |
6401 | (set_action): New function to set next action based on current. | |
6402 | (choose_caption): New function. Returns display caption. | |
6403 | (check_existence): Change arguments. Use pointer to 'info' structure. | |
6404 | (set_existence): Use pointer rather than array index. | |
6405 | (default_trust): Use trusts enum for second argument. | |
6406 | (set_full_list): Honor exclude element in package structure. | |
6407 | (build_labels): Eliminate. | |
6408 | (base): Make global. Use const char * argument. | |
6409 | (get_package_version): Eliminate. | |
6410 | (getpkgbyname): New function. | |
6411 | (read_installed_db): Use parse_filename to get version info. | |
6412 | * desktop.cc (make_passwd_group): Use getpkgbyname function. | |
6413 | * download.cc (get_file_size): const argument. | |
6414 | (do_download): Use is_download_action to determine when something | |
6415 | should be downloaded. | |
6416 | * filemanip.h: Add some functions. | |
6417 | * ini.cc (do_ini): Use NULL rather than 0 for pointer assignment. | |
6418 | * ini.h: Use enums for actions and trusts. | |
6419 | (is_download_action): New macro. | |
6420 | (is_upgrade_action): Ditto. | |
6421 | (is_uninstall_action): Ditto. | |
6422 | (struct Package): Add new fields. | |
6423 | * inilex.l (yylex): Detect new setup.ini options. | |
6424 | * iniparse.y: Declare new tokens. | |
6425 | (yyparse): Detect exclude keyword. Fill out version field even if | |
6426 | version == 0. | |
6427 | (new_package): Use greater granularity when allocating package array to | |
6428 | avoid repeated calls to realloc. | |
6429 | * install.cc (exists): const argument. | |
6430 | (uninstall_one): Take pkg argument. | |
6431 | (install_one): Ditto. Eliminate unneeded arguments which can be | |
6432 | derived from package info. | |
6433 | (do_install): Iterate over package array using a pointer. Use | |
6434 | is_download_action to control when package should be downloaded. | |
6435 | * tar.cc (tar_open): const argument. | |
6436 | * tar.h: Refloect const argument. | |
6437 | ||
7cc06fd3 CF |
6438 | 2001-05-31 Michael Chase mchase@ix.netcom.com |
6439 | ||
6440 | * main.cc (WinMain): Add setup version to starting setup.log entry | |
6441 | ||
9522028b CF |
6442 | Tue May 29 21:37:58 2001 Yukihiko Sohda <sohda@is.titech.ac.jp> |
6443 | ||
6444 | * inilex.l: Add + to list of valid string characters. | |
6445 | ||
e9b1aaa7 CF |
6446 | Mon May 28 20:54:50 2001 Christopher Faylor <cgf@cygnus.com> |
6447 | ||
6448 | * Makefile.in: Remove more stuff in the clean target. | |
6449 | ||
8e1299fa CF |
6450 | Mon May 28 18:24:59 2001 Christopher Faylor <cgf@cygnus.com> |
6451 | ||
6452 | * Makefile.in: Correctly generate iniparse.h. | |
6453 | ||
85553593 CV |
6454 | Tue Mar 6 19:14:00 2001 Corinna Vinschen <corinna@vinschen.de> |
6455 | ||
6456 | * geturl.cc (get_url_to_file): Add parameter `allow_ftp_auth'. | |
6457 | * geturl.h: Change declaration of `get_url_to_file' accordingly. | |
6458 | * netio.cc (NetIO::NetIO): Add parameter `allow_ftp_auth'. | |
6459 | Set member `ftp_auth'. | |
6460 | (NetIO::open): Add parameter `allow_ftp_auth'. Use it in calls | |
6461 | to constructors of derived classes. | |
6462 | (NetIO::get_ftp_auth): New method. | |
6463 | * netio.h: Change class definition accordingly. | |
6464 | * nio-ftp.cc (NetIO_FTP::NetIO_FTP): Add parameter `allow_ftp_auth'. | |
6465 | Take global variables `net_ftp_user' and `net_ftp_passwd' into account. | |
6466 | Add code for ftp authentication retry. | |
6467 | * nio-ftp.h: Change class definition accordingly. | |
6468 | * nio-http.cc (NetIO_HTTP::NetIO_HTTP): Add parameter `allow_ftp_auth'. | |
6469 | Add code for ftp authentication retry in case of proxy connection. | |
6470 | * nio-http.h: Change class definition accordingly. | |
6471 | * res.rc: Add FTP authentication dialog. | |
6472 | * resource.h: Add new constants used in res.rc. | |
6473 | * state.h: Add variables `net_ftp_user' and `net_ftp_passwd'. | |
6474 | ||
c4174b9c CF |
6475 | Sun May 27 17:12:23 2001 Christopher Faylor <cgf@cygnus.com> |
6476 | ||
6477 | * res.rc (IDD_SPLASH): Add a copyright year. | |
6478 | ||
0af2d779 CF |
6479 | Sun May 27 15:42:18 2001 Christopher Faylor <cgf@cygnus.com> |
6480 | ||
6481 | * Makefile.in: Make iniparse.y produce a c++ file. | |
6482 | * choose.cc (set_existence): Revert 2001-05-27 change. | |
6483 | * ini.cc: Remove "C" from declaration of yyparse. | |
6484 | * iniparse.y (yyparse): Fill out version field by default when a binary | |
6485 | install is detected and no version has been set yet. | |
6486 | * install.cc (do_install): Mount things earlier so that we can use | |
6487 | proper mount table settings. Don't remove mounts since they are now | |
6488 | honored. | |
6489 | * mount.cc (create_mount): Reread the mount table after establishing a | |
6490 | new mount. | |
6491 | (read_mounts): Explicitly clear root_here to allow multiple uses of | |
6492 | this function. Ensure that there is no garbage in the table when we've | |
6493 | exhausted all of the mounts in the registry. | |
6494 | (cygpath): Accomodate ./ in path. | |
6495 | ||
85b43844 CF |
6496 | Sun May 27 02:59:07 2001 Christopher Faylor <cgf@cygnus.com> |
6497 | ||
0af2d779 CF |
6498 | Use parse_filename method to parse filenames throughout. Use |
6499 | get_root_dir to retrieve the current root directory throughout. Set | |
6500 | const in argument list, where appropriate, throughout. | |
6501 | * choose.cc (set_existence): Detect case of uninstalled package with no | |
6502 | version. | |
85b43844 CF |
6503 | (parse_filename): New function. |
6504 | * filemanip.h (fileparse): New structure. | |
6505 | * mount.cc (read_mounts): Remember where we found the root mount. | |
6506 | (set_root_dir): New function. | |
6507 | (get_root_dir): Ditto. | |
6508 | * mount.h: Declare new functions. | |
6509 | * site.cc (get_root_dir_now): Renamed from get_root_dir. | |
6510 | (save_site_url): Use new function name. | |
6511 | (get_initial_list_idx): Ditto. | |
6512 | ||
08f8c762 CF |
6513 | Sat May 26 21:23:59 2001 Christopher Faylor <cgf@cygnus.com> |
6514 | ||
6515 | * choose.cc: Use a constant throughout to deal with chooser icon | |
6516 | length. | |
6517 | * res.rc (IDD_CHOOSE): Increase size of chooser box. | |
6518 | ||
47f8d8b3 CF |
6519 | 2001-05-07 Brian Keener <bkeener@thesoftwaresource.com> |
6520 | ||
6521 | * choose.cc (do_choose): Fix incorrect assignment of trust setting to | |
6522 | use when Redownload or Sources Only selected. | |
6523 | ||
6a748750 CF |
6524 | Thu May 10 22:35:59 2001 Christopher Faylor <cgf@cygnus.com> |
6525 | ||
6526 | Reformat file after botched patch formatting. | |
6527 | * choose.cc (which_trust): Eliminate variable. | |
6528 | (default_trust): Don't set which_trust. | |
6529 | (do_choose): Use selected trust when reinstalling or installing source. | |
6530 | ||
a351e48c CF |
6531 | Thu May 10 21:04:18 2001 Christopher Faylor <cgf@cygnus.com> |
6532 | ||
6533 | Change concat to cygpath throughout. | |
6534 | Change map_filename to cygpath throughout. | |
6535 | * concat.cc (vconcat): New function. | |
6536 | (concat): Use vconcat. | |
6537 | * concat.h: Reflect above. | |
6538 | * install.cc (map_filename): Eliminate. | |
6539 | (install_one): Free dest_file. | |
6540 | * mount.cc (find2): Expect input key to be pointing to mount record. | |
6541 | (in_table): New function. | |
6542 | (is_admin): Move from root.cc. | |
6543 | (read_mounts): New function. | |
6544 | (path_prefix_p): New function. | |
6545 | (cygpath): New function. | |
6546 | * mount.h: Define new functions and structure. | |
6547 | * root.cc (in_table): Move to mount.cc. | |
6548 | (do_root): Call read_mounts to initialize root stuff and mount table. | |
6549 | * site.cc (get_root_dir): Ditto. | |
6550 | ||
e227ee24 CF |
6551 | 2001-05-09 Matt Hargett <matt@use.net> |
6552 | ||
6553 | * Makefile.in: Remove *.rc from clean. | |
6554 | ||
25fd2965 CF |
6555 | Tue May 8 23:33:38 2001 Christopher Faylor <cgf@cygnus.com> |
6556 | ||
6557 | * choose.cc (scan2): Fix incorrect setting of TRUST_CURR rather than | |
6558 | TRUST_PREV which produced "0" versions. | |
6559 | ||
42bf5b92 CF |
6560 | 2001-05-07 Brian Keener <bkeener@thesoftwaresource.com> |
6561 | ||
6562 | * resource.h: Add new field IDC_CHOOSE_INST_TEXT. Modify | |
6563 | _APS_NEXT_CONTROL_VALUE to account for addition of | |
6564 | IDC_CHOOSE_INST_TEXT. | |
6565 | * res.rc (IDD_CHOOSE): Modify choose dialog to use new field | |
6566 | IDC_CHOOSE_INST_TEXT for screen text. Modify choose Dialog to allow | |
6567 | hot keys to select Prev, Curr, Exp. | |
6568 | * ini.h: Add new actions for ACTION_REDO and ACTION_SRC_ONLY. Modify | |
6569 | define for LOOP_PACKAGES to include new actions ACTION_REDO and | |
6570 | ACTION_SRC_ONLY. | |
6571 | * choose.cc: Add new Trusts for TRUST_REDO and TRUST_SRC_ONLY. | |
6572 | (paint): Modify to check TRUST_SRC_ONLY when determining Bitmap for | |
6573 | source Checkbox to use. | |
6574 | (build_labels): Add logic to allow for selection of Source only | |
6575 | Download/ReDownload/Install/Reinstall and also to Redownload/Reinstall | |
6576 | current version binary. | |
6577 | (dialog_proc): Add conditional display for file selection prompt based | |
6578 | on download vs install using IDC_CHOOSE_INST_TEXT. | |
6579 | (do_choose): Add new logic for TRUST_REDO and TRUST_SRC_ONLY selection | |
6580 | and modify logic for TRUST_UNINSTALL, TRUST_KEEP, and TRUST_NONE to | |
6581 | handle the instance where Source Download/Install was selected. Modify | |
6582 | log file to store appropriate information regarding Action selected and | |
6583 | the new actions that were added (I.E.: ACTION_REDO and | |
6584 | ACTION_SRC_ONLY). | |
6585 | * download.cc: Add include for <unistd.h> and "port.h". | |
6586 | (download_one): Modify parameter list to include the selected action | |
6587 | for the file to be downloaded. Modify size check against expected size | |
6588 | to include check for ACTION_REDO and ACTION_SRC_ONLY. Modify rename of | |
6589 | .tmp file to also remove the destination file if exists due to ability | |
6590 | to redownload source and binary now. | |
6591 | (do_download): Modify to also use ACTION_REDO and ACTION_SRC_ONLY in | |
6592 | calculation of Download Bytes. Modify to also use ACTION_REDO and | |
6593 | ACTION_SRC_ONLY in determining files selected for download. | |
6594 | * install.cc (uninstall_one): Add check to treat a Reinstall like an | |
6595 | upgrade so current version will be uninstalled prior to reinstall. | |
6596 | (do_install): Add logic to handle ACTION_REDO and ACTION_SRC_ONLY for | |
6597 | uninstalling and installing binary and source packages. | |
6598 | * desktop.cc (make_passwd_group): Modify logic to account for a Source | |
6599 | only cygwin install when checking for cygwin to determine need for | |
6600 | mkpasswd and mkgroup. | |
6601 | ||
6602 | Mon May 7 23:33:30 2001 Matt Hargett <matt@use.net> | |
8a09aa99 CF |
6603 | |
6604 | * winsup/cinstall/res.rc: Added accelerators and improved focus order. | |
6605 | Removed WS_DISABLED from "OK" buttons to accomodate default focus | |
6606 | changes in net.cc and source.cc. | |
6607 | * winsup/cinstall/net.cc (dialog_proc): If no radio button is selected, | |
6608 | a default is selected. | |
6609 | * winsup/cinstall/source.cc (dialog_proc): Ditto. | |
6610 | (check_if_enable_next): Removed. No longer needed since a radio button | |
6611 | will always be selected. | |
6612 | (load_dialog): Removed call to check_if_enable_next. | |
6613 | (dialog_cmd): Ditto. Also added default to switch. | |
6614 | ||
87bdba0c CF |
6615 | Tue Apr 24 23:42:02 2001 Christopher Faylor <cgf@cygnus.com> |
6616 | ||
6617 | * res.rc: Resize affected text. | |
6618 | ||
8293fc16 CF |
6619 | Tue Apr 24 23:35:31 2001 Christopher Faylor <cgf@cygnus.com> |
6620 | ||
6621 | * net.cc (do_net): Default to direct download. | |
87bdba0c | 6622 | * res.rc: Move default selections to the top. |
8293fc16 | 6623 | |
ed96c6da EB |
6624 | 2001-04-18 Earnie Boyd <earnie@users.sourceforge.net> |
6625 | ||
6626 | * win32.h: Remove the definitions for _UNION_NAME and _STRUCT_NAME. | |
6627 | Must now include <windows.h> and not the pieces. | |
6628 | * choose.cc (create_listview): Clean up type mismatch problems. | |
6629 | * dialog.h (NEXT(id)): Ditto. | |
6630 | * geturl.cc (dialog): Ditto. | |
6631 | * install.cc (dialog): Ditto. | |
6632 | * splash.cc (load_dialog): Ditto. | |
6633 | ||
fe94cc29 CF |
6634 | Wed Apr 18 18:59:21 2001 Christopher Faylor <cgf@cygnus.com> |
6635 | ||
6636 | * tar.cc (class gzbz): Define dummy virtual functions. | |
6637 | ||
fb087b80 CF |
6638 | Wed Apr 18 16:01:21 2001 Christopher Faylor <cgf@cygnus.com> |
6639 | ||
6640 | * Makefile.in: Add bz2 include/library support. | |
6641 | * filemanip.h: New file. | |
fe94cc29 CF |
6642 | * choose.cc (find_tar_ext): New function. Returns TRUE if .tar.gz or |
6643 | .tar.bz2 found. | |
fb087b80 CF |
6644 | (scan2): Reorganize to use find_tar_ext, accomodating .bz2 extension. |
6645 | (read_installed_db): Ditto. | |
6646 | (do_choose): Ditto. | |
6647 | * fromcwd.cc (found_file): Ditto. | |
6648 | (do_fromcwd): Ditto. | |
6649 | * tar.cc (class gzbz): New super class for uncompression support. | |
6650 | (gz): New class for gzip support. | |
6651 | (bz): New class for bzip2 support. | |
6652 | (tar_open): Use gzbz class to control file opening. | |
6653 | (tar_ftell): Ditto for returning position in file. | |
6654 | (skip_file): Ditto for reading file. | |
6655 | (tar_next_file): Ditto. | |
6656 | (tar_read_file): Ditto. | |
6657 | (tar_close): Ditto for close. | |
6658 | ||
6659 | * zlib/configure.in: Force NM substitution. | |
6660 | ||
6661 | * source.cc (do_source): Default to "Install from Internet". | |
6662 | ||
88bcaf07 CF |
6663 | 2001-03-16 Brian Keener <bkeener@thesoftwaresource.com> |
6664 | ||
6665 | * nio-file.cc (NetIO_File::NetIO_File): Use `get_file_size' instead of | |
6666 | `stat'. | |
6667 | * choose.cc (list_click): Correct inability to select source code for | |
6668 | download. | |
6669 | (scan2): Modify to skip source tarballs when scanning disk for | |
6670 | installable packages. | |
6671 | ||
ef45c299 CV |
6672 | 2001-03-10 Chris Abbey <chris_abbey@yahoo.com> |
6673 | ||
6674 | * install.cc: install sources into /usr/src instead | |
6675 | of /, also include the sizes of source tarballs | |
6676 | in total_bytes. | |
6677 | * download.cc: include sizes of source tarballs in | |
6678 | total_download_bytes. | |
6679 | ||
9fe1181b CV |
6680 | Tue Mar 6 19:31:00 2000 Corinna Vinschen <corinna@vinschen.com> |
6681 | ||
6682 | * download.cc (get_file_size): Remove `static'. | |
6683 | ||
2bfdb848 CV |
6684 | Tue Mar 6 19:11:00 2000 Corinna Vinschen <corinna@vinschen.com> |
6685 | ||
6686 | * tar.cc (tar_open): Use `get_file_size' instead of `stat'. | |
6687 | ||
60c632b3 CV |
6688 | 2001-03-06 Brian Keener <bkeener@thesoftwaresource.com> |
6689 | ||
6690 | * choose.cc (paint): Modify message for nothing to download vs | |
6691 | nothing to install/update based on installation method. | |
6692 | (list_click): Modify to skip versions in selection process if | |
88bcaf07 | 6693 | installing from local directory and installation file does not exist. |
60c632b3 CV |
6694 | Also leaves Source Action set to N/A if the source file does not exist |
6695 | and installing from local directory. | |
6696 | (check_existence): New method to check current existence of installation | |
6697 | files based on selected installation method. | |
6698 | (set_existence): New method to set the current existence of installation | |
6699 | files based on selected installation method. | |
6700 | (best_trust): Modify decision process for best trust to base decision on | |
6701 | current trust selected (IE: Prev, Curr, or Test), existence of file and | |
6702 | installation method selected. | |
6703 | (default_trust): Add logic to capture the current trust level and the | |
6704 | trust selected for the given package. | |
88bcaf07 | 6705 | (set_full_list): Expand decision criteria for displaying a package in |
60c632b3 CV |
6706 | the selection list to include file existence/non-existence and selected |
6707 | installation method. | |
6708 | (build_labels): Modify criteria for label addition to include | |
6709 | installation method and file existence/non-existence. | |
88bcaf07 | 6710 | (create_listview): Modify to establish package trust level for each |
60c632b3 CV |
6711 | package before setting up the display list. Also modification to set |
6712 | current trust button as the default. | |
88bcaf07 | 6713 | (dialog_cmd): Set response for Prev, Curr, Test button push to perform |
60c632b3 CV |
6714 | a reset of the selection list in addition to setting the default trust. |
6715 | (get_package_version): New method to provide reusable code for | |
6716 | determining the package version from the file name for a specified | |
6717 | trust. | |
6718 | (scan2): Modify to use new method get_package_version and | |
6719 | also enhance handling of the build for the structures package and | |
6720 | extra. | |
6721 | (read_installed_db): Modify to use the new method | |
6722 | get_package_version and also enhance handling of the build for the | |
6723 | structures package and extra. | |
88bcaf07 | 6724 | (do_choose): Add additional initialization of package and extra |
60c632b3 CV |
6725 | structures. Modify to use read_installed_db all the time despite |
6726 | install method. Modify output to setup.log.full log file to increase | |
6727 | readability by adding additional spacing, expanded code and available | |
6728 | versions. | |
6729 | * ini.h: Add new fields install_exists, source_exists and | |
88bcaf07 | 6730 | partial_list_display to the structure definition for package. |
60c632b3 CV |
6731 | * res.rc (IDD_CHOOSE): Modify choose dialog Prev, Curr, and Test |
6732 | pushbuttons by replacing with Radio Buttons thus allowing the | |
6733 | operator to better determine which is selected. | |
6734 | ||
2f9645a1 CV |
6735 | 2001-02-20 Brian Keener <bkeener@thesoftwaresource.com> |
6736 | ||
88bcaf07 | 6737 | * download.cc (do_download): Add new variables total_download_bytes and |
2f9645a1 CV |
6738 | total_download_bytes_sofar for download progress meter. Add loop |
6739 | to accumulate the total bytes to download from the selected packages. | |
6740 | * geturl.cc: Add state.h and diskfull.h to include list. Add new | |
6741 | variables gw_iprogress, gw_pprogress, gw_progress_text, | |
6742 | gw_pprogress_text, and gw_iprogress_text to allow for addition of | |
6743 | total packages download progress meter and disk full percent | |
6744 | progress meter. Add variables total_download_bytes and | |
6745 | total_download_bytes_sofar for use by progress meters. | |
88bcaf07 CF |
6746 | (dialog_proc): Add new variables gw_iprogress, gw_pprogress, |
6747 | gw_progress_text, gw_pprogress_text, and gw_iprogress_text to | |
6748 | allow for addition of total packages download progress meter and disk | |
6749 | full percent progress meter. | |
2f9645a1 CV |
6750 | (init_dialog): Ditto. |
6751 | (progress): Ditto. | |
6752 | (get_url_to_file): Ditto. | |
6753 | * geturl.h: Add external definition for total_download_bytes and | |
6754 | total_download_bytes_sofar. | |
88bcaf07 | 6755 | * res.rc: Add two additional progress meters (IDC_DLS_IPROGRESS) |
2f9645a1 CV |
6756 | and (IDC_DLS_PPROGRESS) and three text objects (IDC_DLS_PROGRESS_TEXT) |
6757 | and (IDC_DLS_IPROGRESS_TEXT, IDC_DLS_PPROGRESS_TEXT) for use in the | |
6758 | download meters. | |
88bcaf07 | 6759 | * resource.h: Add new fields for progress meters and text and update |
2f9645a1 CV |
6760 | _APS_NEXT_CONTROL_VALUE. |
6761 | ||
b41962a3 CV |
6762 | Wed Feb 21 13:05:00 2000 Corinna Vinschen <vinschen@redhat.com> |
6763 | ||
6764 | * download.cc (get_file_size): Check for INVALID_HANDLE_VALUE instead | |
6765 | for NULL. | |
6766 | ||
6767 | Wed Feb 21 11:21:00 2000 Corinna Vinschen <vinschen@redhat.com> | |
01954c34 CV |
6768 | |
6769 | * download.cc (download_one): Add missing parenthesis. | |
6770 | ||
88a77116 CV |
6771 | Mon Feb 19 18:59:00 2000 Corinna Vinschen <vinschen@redhat.com> |
6772 | ||
6773 | * download.cc (get_file_size): New function. Eliminates the need | |
6774 | to call `stat'. | |
6775 | (download_one): Call `get_file_size' instead of `stat'. This | |
6776 | workarounds a problem with mingw's `stat' call. | |
6777 | ||
577f35ed EB |
6778 | 2001-02-07 Earnie Boyd <earnie@users.sourceforge.net> |
6779 | ||
6780 | * Makefile.in: (%.o: %.rc): Specify --include-dir $(w32api_include). | |
6781 | This is to allow cinstall to build with 2.95.2-7 and to make the | |
6782 | use of headers consistent. | |
6783 | ||
38f5563e DD |
6784 | 2000-12-26 Earnie Boyd <earnie_boyd@yahoo.com> |
6785 | ||
6786 | * Makefile.in (autoload.o): Add target to specify -fno-inline-functions | |
6787 | ||
c0a7e0f2 DD |
6788 | Tue Dec 26 03:46:00 2000 Matt Hargett <matt@use.net> |
6789 | ||
6790 | * winsup/cinstall/res.rc: Added accelerators and improved focus | |
6791 | order. | |
6792 | ||
72826a5b CF |
6793 | 2000-12-10 Egor Duda <deo@logos-m.ru> |
6794 | ||
6795 | * choose.cc (paint): Use system background color for text output. | |
6796 | ||
6797 | Sun Dec 10 19:05:25 2000 Christopher Faylor <cgf@cygnus.com> | |
6798 | ||
6799 | * Makefile.in: Use CXX for linking and for compiling .cc files. | |
6800 | * configure.in: Find correct c++ compiler. | |
6801 | * configure: Regenerate. | |
6802 | ||
67bebcb5 DD |
6803 | 2000-11-17 DJ Delorie <dj@redhat.com> |
6804 | ||
6805 | * splash.cc (load_dialog): Make message more obvious. | |
6806 | * res.rc: Ditto. | |
6807 | ||
25fb9139 CF |
6808 | Fri Nov 17 17:15:21 2000 Christopher Faylor <cgf@cygnus.com> |
6809 | ||
6810 | * Makefile.in: Use g++ to link so that libstdc++.a gets used. This is | |
6811 | necessary for newer compilers. | |
6812 | ||
ef2007fd CV |
6813 | Wed Nov 9 2:19:00 2000 Corinna Vinschen <vinschen@redhat.com> |
6814 | ||
6815 | * desktop.cc: Include "ini.h" and "version.h". | |
6816 | (make_passwd_group): Skip the function on 9x/ME boxes when an | |
6817 | older version of Cygwin has been installed which doesn't | |
6818 | support mkpasswd/mkgroup on 9x/ME. | |
6819 | * install.cc: Move the `LOOP_PACKAGES' and `pi' macros to... | |
6820 | * ini.h: ...here. | |
6821 | ||
277b4d56 CV |
6822 | Wed Nov 8 17:10:00 2000 Corinna Vinschen <vinschen@redhat.com> |
6823 | ||
6824 | * desktop.cc (make_passwd_group): Don't exit when started | |
6825 | on 9x/ME since mkpasswd/mkgroup are usable on 9x/ME now. | |
6826 | ||
f8a6415f DD |
6827 | Sun Nov 5 12:51:42 2000 Jason Tishler <jt@dothill.com> |
6828 | ||
6829 | * install.cc (do_install): Add call to set_cygdrive_flags to sync | |
6830 | the mount modes. | |
6831 | * mount.cc (set_cygdrive_flags): New function. | |
6832 | (get_cygdrive_flags): Ditto. | |
6833 | (default_cygdrive): Ditto. | |
6834 | (set_cygdrive_flags): Ditto. | |
6835 | * mount.h: Add prototype for set_cygdrive_flags. | |
6836 | ||
3b9077d4 DD |
6837 | 2000-10-23 DJ Delorie <dj@redhat.com> |
6838 | ||
6839 | * ini.h: add source actions | |
6840 | * fromcwd.cc: check for available sources | |
6841 | * res.rc: add checkbox bitmaps | |
6842 | * resource.h: ditto | |
6843 | * check-*.bmp: new | |
6844 | * choose.cc: add source column | |
6845 | * download.cc: download sources if called for | |
6846 | * install.cc: [un]install sources too | |
6847 | ||
1b1b33ac DD |
6848 | 2000-10-22 DJ Delorie <dj@redhat.com> |
6849 | ||
6850 | * choose.cc (build_labels): Don't skip TRUST_PREV completely; only | |
6851 | ignore it wrt full_list if there's already a version installed. | |
6852 | (do_choose): Sort the list. | |
6853 | (package_sort): New. | |
6854 | ||
2a1a01e0 DD |
6855 | 2000-10-12 DJ Delorie <dj@redhat.com> |
6856 | ||
6857 | * res.rc: Add more error strings. | |
6858 | * resource.h: Ditto. | |
6859 | * iniparse.y (new_package): re-initialize if needed. | |
6860 | * download.cc (do_download): Keep track of errors; notify and | |
6861 | allow retry. | |
6862 | * install.cc (do_install): Ditto. | |
6863 | ||
1a9886fe DD |
6864 | 2000-10-05 DJ Delorie <dj@redhat.com> |
6865 | ||
6866 | * Makefile.in: fix %.cc rule | |
6867 | ||
40aef45e DD |
6868 | 2000-10-04 DJ Delorie <dj@redhat.com> |
6869 | ||
6870 | * desktop.cc: quote HOME and USER, don't . ./.profile | |
6871 | ||
6872 | * choose.cc (build_labels): don't include in partial list just | |
6873 | because there's a *previous* version available. | |
6874 | ||
6875 | * install.cc (do_install): if installing from local directory with | |
6876 | setup.ini and the file isn't found, look in "." also. Note errors. | |
6877 | ||
dd3f7f9b DD |
6878 | 2000-10-02 DJ Delorie <dj@redhat.com> |
6879 | ||
6880 | * ini.cc (do_ini): save setup.ini locally | |
6881 | ||
6882 | 2000-10-02 Chris Abbey <cabbey@bresnanlink.net> | |
6883 | ||
6884 | * desktop.cc: quote escapes in prompt | |
6885 | ||
fee2a8d0 DD |
6886 | 2000-10-02 Jason Tishler <jt@dothill.com> |
6887 | ||
6888 | * root.cc (is_admin): New function. | |
6889 | (read_mount_table): Check for administrative priviledges and set | |
6890 | installation scope as appropriate. | |
6891 | ||
a03db251 DD |
6892 | 2000-09-28 DJ Delorie <dj@redhat.com> |
6893 | ||
6894 | * nio-ftp.cc (ftp_line): handle continuations more robustly | |
6895 | ||
b151e01e | 6896 | 2000-09-14 Brian Keener <bkeener@thesoftwaresource.com> |
0b758d4c DD |
6897 | |
6898 | * res.rc: increased the size of the site dialog (IDD_SITE) & the | |
6899 | corresponding list box to provide for more URL's to be listed. | |
6900 | Modified the position of the Back, Next and Cancel buttons to | |
6901 | correspond to the new size of the dialog. | |
6902 | ||
d07591a3 DD |
6903 | 2000-09-13 DJ Delorie <dj@redhat.com> |
6904 | ||
6905 | * install.cc (do_install): update disk fullness once per package | |
6906 | to improve performance | |
6907 | ||
6908 | * choose.cc (create_listview): call ReleaseDC | |
6909 | ||
89725f30 DD |
6910 | Mon Sep 11 22:40 2000 Harold L Hunt II <harold@compasstechnologies.com> |
6911 | ||
6912 | * mkdir.cc: Create directories when ERROR_FILE_NOT_FOUND is | |
6913 | returned, as it seems Samba 2.0.6+ returns this instead of | |
6914 | ERROR_PATH_NOT_FOUND | |
88bcaf07 | 6915 | |
6fbc690d CF |
6916 | Mon Sep 11 19:35:24 2000 Christopher Faylor <cgf@cygnus.com> |
6917 | ||
6918 | * site.cc (get_initial_list_idx): Don't default to saved URL if it | |
6919 | refers to sources. | |
6920 | ||
13d27274 DD |
6921 | 2000-09-07 DJ Delorie <dj@redhat.com> |
6922 | ||
6923 | * splash.cc: use version.h, not local decl | |
6924 | * res.rc: add "old version" message | |
6925 | * resource.h: ditto | |
6926 | * version.h: new | |
6927 | * fromcwd.cc (canonicalize_version): make global | |
89725f30 DD |
6928 | * iniparse.y: add setup-version support, fix bug in blank line |
6929 | handling | |
6930 | ||
13d27274 DD |
6931 | * inilex.l: add [exp] as alias for [test], add setup-version |
6932 | * Makefile.in (version.c): add setup-version tag | |
6933 | ||
6934 | * desktop.cc (do_desktop): remove 1.1 version number | |
6935 | (do_desktop_setup): ditto | |
6936 | ||
6937 | * ini.cc (do_ini): zero out package list just in case we redo it. | |
6938 | ||
8cfbc487 DD |
6939 | 2000-09-07 Jeffrey Juliano <juliano@cs.unc.edu> |
6940 | ||
6941 | * choose.cc (list_click): Check for nindexes==0; if so, return. | |
6942 | ||
c92e1307 DD |
6943 | 2000-09-06 Andrej Borsenkow <Andrej.Borsenkow@mow.siemens.ru> |
6944 | ||
6945 | * localdir.cc: new, local package directory selection dialog; cd | |
6946 | into selected directory | |
6947 | * Makefile.in (OBJS): add localdir.o | |
6948 | * dialog.h: add prototype for do_local_dir | |
6949 | * main.cc (WinMain): initialize local_dir to cwd; add call to | |
6950 | do_local_dir | |
6951 | * net.cc (dialog_cmd): make DO_LOCAL_DIR next dialog | |
6952 | * source.cc (dialog_cmd): ditto | |
6953 | * res.rc: add DO_LOCAL_DIR dialog; remove "current directory" from | |
6954 | presented choices in IDD_SOURCE; add IDS_ERR_CHDIR error string | |
6955 | * resource.h: defines for DO_LOCAL_DIR dialog; define IDS_ERR_CHDIR | |
6956 | * root.cc (dialog_cmd): make DO_LOCAL_DIR previous dialog | |
6957 | * state.h: add local_dir variable | |
6958 | ||
6959 | 2000-09-06 Brian Keener <bkeener@thesoftwaresource.com> | |
50225eae DD |
6960 | |
6961 | * desktop.cc: added logic to handle to the new dialog and to | |
6962 | default the setting for the new checkboxes based on whether the | |
6963 | desktop icon or start menu link already exist. | |
6964 | (desktop_icon): correction to desktop directories for desktop icon | |
6965 | creation. Additional logic added for Win95 which does not appear | |
6966 | to have Common Directories so if Common selected and null uses | |
6967 | normal directory. | |
6968 | (start_menu): Additional logic added for Win95 which does not | |
6969 | appear to have Common Directories so if Common selected and null | |
6970 | uses normal directory. | |
6971 | (do_desktop_setup): moved the saving of the icon, creation of the | |
6972 | bat file, profile, passwd, Start Menu link and desktop shortcut to | |
6973 | this method from do_desktop. Made the creation of the desktop | |
6974 | icon and start menu link conditional on settings of new dialog | |
6975 | created for desktop. | |
6976 | * install.cc (do_install): changed next from IDD_S_DESKTOP to | |
6977 | IDD_DESKTOP. | |
6978 | * main.cc (WinMain): changed case IDD_S_DESKTOP to IDD_DESKTOP. | |
6979 | * res.rc: added new resource to create a desktop dialog with 2 | |
6980 | checkboxes for creating the desktop icon and start menu link. | |
6981 | * resource.h: changed IDD_S_DESKTOP to IDD_DESKTOP and added two | |
6982 | new controls: IDC_ROOT_MENU and IDC_ROOT_DESKTOP for new dialog. | |
6983 | * state.h: added root_menu and root_desktop for use in dialog. | |
6984 | ||
4a83b7b0 DD |
6985 | 2000-08-29 DJ Delorie <dj@redhat.com> |
6986 | ||
6987 | * choose.cc (scan_downloaded_files): scan for existing files, so | |
6988 | that the user only sees new downloads. | |
6989 | ||
6990 | * nio-ie5.cc (NetIO_IE5): pre-check for wininet.dll, enable dial-up | |
6991 | * site.cc (do_site): if we can't download the mirror list, go back | |
6992 | to the net setup box to choose another transport. | |
6993 | * autoload.c: add more functions | |
6994 | * Makefile.in (ALL_DEP_LDLIBS): remove wininet.a | |
6995 | * resource.h: add WININET message | |
6996 | ||
6997 | * net.cc (do_net): no longer default to IE5 | |
6998 | * simpsock.h (class SimpleSocket): new, simplify socket operations | |
6999 | * simpsock.cc: ditto | |
7000 | * nio-http.h: new, for direct http protocol | |
7001 | * nio-http.cc: ditto | |
7002 | * nio-ftp.h: new, for direct http protocol | |
7003 | * nio-ftp.cc: ditto | |
7004 | * netio.cc (set_url): move initialization here to handle redirections | |
7005 | (open): add direct http/ftp | |
7006 | * netio.h (NetIO::set_url): new | |
7007 | ||
7008 | * log.cc (log_save): create directory for log if needed | |
7009 | ||
7010 | * hash.cc, hash.h: new | |
7011 | * Makefile: add hash.o | |
7012 | * choose.cc: enable "uninstall" option | |
7013 | * download.cc: invert action test to accomodate uninstalling | |
7014 | * ini.h: add ACTION_UNINSTALL | |
7015 | * install.cc: add uninstall functionality | |
7016 | * res.rc: make install tag changeable | |
7017 | * resource.h: add uninstall resources | |
7018 | ||
7019 | * res.rc: update mirror list URL | |
88bcaf07 | 7020 | |
50f64a4b DD |
7021 | 2000-08-24 DJ Delorie <dj@redhat.com> |
7022 | ||
89b1a15b DD |
7023 | * log.cc, log.h: new files |
7024 | * Makefile.in (OBJS): add log.o | |
7025 | * tar.cc: use exit_setup instead of exit | |
7026 | * dialog.cc (fatal): use exit_setup instead of ExitProcess | |
7027 | * msg.cc (fatal): ditto | |
7028 | * install.cc (dialog_cmd): ditto | |
7029 | * ini.cc (do_ini): ditto | |
7030 | * main.cc (main): add logging | |
7031 | * source.cc (do_source): ditto | |
7032 | * root.cc (do_source): ditto | |
7033 | * site.cc (do_site): ditto | |
7034 | * other.cc (do_other): ditto | |
7035 | * net.cc (do_net): ditto | |
7036 | * choose.cc (do_choose): ditto | |
7037 | * download.cc (do_download): ditto | |
7038 | * install.cc (do_install): ditto | |
7039 | * msg.cc (fatal): ditto | |
7040 | ||
7041 | * res.rc: mark password boxes as *being* password boxes. | |
7042 | ||
58b12a06 MB |
7043 | * fromcwd.cc (canonicalize_version): use multiple buffers so that |
7044 | multiple calls won't use the same buffer. | |
50f64a4b DD |
7045 | * choose.cc (create_listview): don't default to full list if no changes |
7046 | (base): return computed value, not temporary :-( | |
7047 | (do_choose): don't use installed.db if we're only downloading. | |
7048 | ||
348860fa DD |
7049 | 2000-08-23 DJ Delorie <dj@redhat.com> |
7050 | ||
7051 | * nio-ie5.cc (NetIO_IE5): Fix authentication logic | |
7052 | * nio-ie5.h (flush_io): new | |
7053 | * netio.cc (load_dialog): note when we're initializing the dialog | |
7054 | box, and ignore changes to the edit fields then. | |
7055 | ||
5f48f258 DD |
7056 | 2000-08-21 DJ Delorie <dj@redhat.com> |
7057 | ||
7058 | * README: Update | |
7059 | ||
7060 | * fromcwd.cc (found_file): don't remember the canonicalized version | |
7061 | ||
7062 | * choose.cc (paint): print "nothing to do" message when list is empty. | |
7063 | (build_labels): Use version "0.0" if no version is available. | |
7064 | (create_listview): default to full list if nothing to install/update. | |
7065 | (base): new, returns basename of file | |
7066 | (read_installed_db): compare base names, not full paths | |
7067 | ||
713bbe5f DD |
7068 | 2000-08-11 DJ Delorie <dj@redhat.com> |
7069 | ||
7070 | * choose.cc: add new chooser dialog | |
7071 | * fromcwd.cc: use IDD_CHOOSE | |
7072 | * ini.cc: use IDD_CHOOSE | |
7073 | * main.cc: use IDD_CHOOSE | |
7074 | * ini.h: cosmetic changes | |
7075 | * res.rc: add choose dialog, bitmaps | |
7076 | * choose-spin.bmp: new | |
7077 | * choose-rtarrow.bmp: new | |
7078 | * resource.h: add choose dialog controls | |
7079 | ||
7080 | * mount.cc: remove debug statement | |
88bcaf07 | 7081 | |
2e9cbac5 DD |
7082 | 2000-08-08 DJ Delorie <dj@redhat.com> |
7083 | ||
7084 | * Makefile.in (version.c): make version checking more robust | |
7085 | * splash.cc (load_dialog): handle case where there's no version | |
7086 | ||
8507f105 DD |
7087 | 2000-08-07 DJ Delorie <dj@redhat.com> |
7088 | ||
7089 | * (all): add cvsid tags | |
7090 | * Makefile.in: generate version.c from ChangeLog, add splash.o | |
7091 | * splash.o: new | |
7092 | * res.rc: add splash screen | |
88bcaf07 | 7093 | |
f5d0464b DD |
7094 | 2000-08-02 DJ Delorie <dj@redhat.com> |
7095 | ||
4e8ff53f DD |
7096 | * net.cc: remove proxy password code |
7097 | * res.rc: remove proxy user/pass from net, add auth dialogs | |
7098 | * netio.cc,h: add sys/proxy auth methods | |
7099 | * nio-ie5: use them, check for http status codes | |
7100 | * state.h: add system authorization | |
7101 | ||
f5d0464b DD |
7102 | * concat.cc (concat): canonicalize x:// to x:/ (exception to :// |
7103 | meaning an url) | |
7104 | ||
76cbfa85 DD |
7105 | 2000-08-02 Norman Vine <nhv@yahoo,com> |
7106 | ||
7107 | * msg.cc (mbox): added MB_TOPMOST to MessageBox type flags | |
7108 | ||
e92c4436 DD |
7109 | 2000-08-01 DJ Delorie <dj@redhat.com> |
7110 | ||
bf74c544 DD |
7111 | * postinstall.cc (each): don't rename files we ignore |
7112 | (do_postinstall): set CYGWINROOT to root_dir, chdir there | |
7113 | ||
e92c4436 DD |
7114 | * desktop.cc: have /etc/profile call ~/.profile and ~/.bashrc |
7115 | ||
a6100861 DD |
7116 | 2000-07-31 DJ Delorie <dj@redhat.com> |
7117 | ||
7118 | * desktop.cc: reverse PATH so /usr/bin precedes /bin | |
7119 | ||
b11b49f3 DD |
7120 | 2000-07-18 DJ Delorie <dj@redhat.com> |
7121 | ||
a99bdfd8 DD |
7122 | * autoload.c: new, autoload dlls that might not be available. |
7123 | * Makefile.in (OBJS): add autoload.o | |
7124 | ||
7125 | * res.rc: rewrite root options (text/binary, system/user) to be | |
7126 | more obvious. | |
7127 | ||
b5b282c4 DD |
7128 | * site.cc (get_site_list): trim displayed URL, sort by domain |
7129 | ||
7130 | * net.cc (do_net): make IE5 default to checked, for now | |
7131 | ||
b11b49f3 DD |
7132 | * choose.cc (do_choose): sort packages correctly |
7133 | * ini.cc (do_ini): handle parse errors more gracefully | |
7134 | (yyerror): ditto | |
7135 | (fprintf): line buffer output | |
b5b282c4 | 7136 | (do_ini): if we can't load setup.ini, go back to the site list. |
b11b49f3 DD |
7137 | * ini.h: add "unknown" trust level |
7138 | * inilex.l: absorb unknown trust levels and key/value pairs, | |
7139 | add line number logic | |
7140 | * iniparse.y: handle parse errors more gracefully. | |
7141 | * install.cc: skip packages with no valid install entry | |
7142 | ||
1fd6d0a2 DD |
7143 | 2000-07-17 DJ Delorie <dj@cygnus.com> |
7144 | ||
7145 | * coding standards fixups, many files | |
7146 | * mkdir.cc: warn about deletions *before* deleting them | |
7147 | ||
ed3e8b9b DD |
7148 | 2000-07-17 Jeff Juliano <juliano@cs.unc.edu> |
7149 | ||
7150 | * res.rc (IDD_OTHER_URL): reorder to give default focus to entry | |
7151 | ||
7152 | * other.cc (dialog_cmd): save download site URL | |
7153 | * site.cc (get_root_dir): new | |
7154 | (save_mirror_site): new | |
7155 | (dialog_cmd): save download site URL | |
7156 | (get_site_list): make list big enough to add prev site | |
7157 | (get_initial_list_idx): new, read last-used URL from file and | |
7158 | append it to site_list | |
7159 | (do_site): call get_initial_list_idx | |
7160 | ||
7161 | * concat.cc (concat): avoid segfault when first parm is null | |
88bcaf07 | 7162 | |
f57c332f DD |
7163 | 2000-07-13 DJ Delorie <dj@cygnus.com> |
7164 | ||
7165 | * postinstall.cc: new | |
7166 | * Makefile.in: add postinstall.o | |
7167 | * concat.h: add backslash () | |
7168 | * concat.cc: ditto | |
7169 | * desktop.cc (etc_profile): don't do postinstall | |
7170 | (backslash): moved to concat.cc | |
7171 | (uexists): new | |
7172 | (make_postinstall_script): run directly | |
7173 | (do_desktop): chain to do_postinstall | |
7174 | * dialog.h: add exit_msg, do_postinstall | |
7175 | * download.cc: use exit_msg | |
7176 | * install.cc: ditto | |
7177 | * main.cc: add postinstall, exit_msg | |
7178 | * resource.h: add postinstall | |
d6cda811 | 7179 | * README: add more to-do items |
f57c332f | 7180 | |
3a8e3956 DD |
7181 | 2000-07-12 DJ Delorie <dj@cygnus.com> |
7182 | ||
7183 | * desktop.cc: add /etc/postinstall/ support | |
1a18aed7 | 7184 | * install.cc: add more "standard" directories |
3a8e3956 | 7185 | |
e0c3d906 DD |
7186 | 2000-07-11 DJ Delorie <dj@cygnus.com> |
7187 | ||
7188 | * desktop.cc: create /etc/profile | |
ad09bcd9 DD |
7189 | * desktop.cc: fix include syntax |
7190 | * Makefile.in: add auto-dependencies | |
24e259bb DD |
7191 | * root.cc: support system vs user |
7192 | * desktop.cc: ditto | |
7193 | * mount.h: ditto | |
7194 | * mount.cc: ditto | |
7195 | * install.cc: ditto | |
7196 | * res.rc: ditto | |
7197 | * resource.h: ditto | |
7198 | * state.h: ditto | |
84d58d4c | 7199 | * desktop.cc: make sure we use backslashes, not slashes. |
bf1d5889 DD |
7200 | * desktop.cc: don't set PATH in cygwin.bat, create /etc/passwd |
7201 | * geturl.cc: change math for percentage to avoid overflow | |
7202 | * install.cc: ditto | |
7203 | * download.cc: post "download complete" message. | |
7204 | * root.cc: pre-fill in defaults if needed, don't start | |
7205 | browse at root_dir unless it's set. | |
a3f48e18 | 7206 | * desktop.cc: quote $PATH in case it has spaces in it |
88bcaf07 | 7207 | |
904d24fe DD |
7208 | 2000-07-10 DJ Delorie <dj@cygnus.com> |
7209 | ||
7210 | * Makefile.in: add desktop.o and mklink2.o | |
7211 | * dialog.h: add do_desktop | |
7212 | * install.cc: create standard directories, call do_desktop | |
7213 | * res.rc: add cygwin.ico as a file also | |
7214 | * desktop.cc: new, do shortcuts, batch files, and icons | |
7215 | * mklink2.c: new, for COM | |
1ab805b8 | 7216 | * README: update to-do list |
904d24fe | 7217 | |
04d6e06b DD |
7218 | 2000-07-10 DJ Delorie <dj@cygnus.com> |
7219 | ||
7220 | * ini.cc (do_ini): don't worry about timestamps if we're not | |
88bcaf07 | 7221 | actually installing. |
04d6e06b | 7222 | |
5601a13d DD |
7223 | 2000-07-09 DJ Delorie <dj@cygnus.com> |
7224 | ||
7225 | * Makefile.in: add -I$(srcdir) for ini.h | |
7226 | ||
23c9e63c DD |
7227 | 2000-07-06 DJ Delorie <dj@cygnus.com> |
7228 | ||
7229 | * Replace everything with a new GUI version | |
7230 | * zlib/gzio.c: add gzctell() for progress displays | |
7231 | ||
7232 | 2000-06-22 DJ Delorie <dj@cygnus.com> | |
7233 | ||
7234 | * setup.c (tarx): re-add call to write_pkg() | |
7235 | ||
aa32874b DD |
7236 | 2000-06-07 DJ Delorie <dj@cygnus.com> |
7237 | ||
7238 | * cygcalls.c: new, call cygwin1.dll functions directly | |
7239 | * cygcalls.h: header for same | |
7240 | * Makefile.in: add cygcalls.[ch], remove mount/cygpath/umount | |
7241 | exes, fix cinstall.rc dependencies. | |
7242 | * path.c: remove unneeded code | |
7243 | * setup.c: use cygcalls instead of xcreate_process. | |
7244 | uncompress embedded files with zlib | |
7245 | add "-d" for "download only" | |
7246 | add "-h" for help | |
7247 | postpone mount changes until very end | |
7248 | add download progress indicators | |
7249 | pack multi-column listings more | |
7250 | auto-delete temp files | |
7251 | customize banner message according to options | |
7252 | prompt user for text/binary mounts | |
7253 | add warnings about empty setup directory, root installs, etc | |
7254 | ||
99d1bf2d DD |
7255 | 2000-05-24 DJ Delorie <dj@cygnus.com> |
7256 | ||
7257 | * tar.c: New file; built-in tar using zlib. | |
7258 | * tar.h: New file; header for same. | |
7259 | * ctar.c: New file; test program for same. | |
7260 | * Makefile.in: add built-in tar, remove tar.exe and gzip.exe | |
58b12a06 MB |
7261 | * path.c (pathcat): convert slashes and canonicalize, instead of |
7262 | aborting | |
99d1bf2d DD |
7263 | * setup.c (tarx): add support for built-in tar |
7264 | (main): accept unix-style slashes, check root dir for drive letters, | |
58b12a06 MB |
7265 | warn about installing in /, make sure cwd is empty for internet |
7266 | installs, defer mounts to end of install, support built-in tar. | |
99d1bf2d | 7267 | |
55650749 CF |
7268 | Fri May 19 23:44:37 2000 Christopher Faylor <cgf@cygnus.com> |
7269 | ||
7270 | Fix compiler warnings throughout. | |
7271 | * pkg.c (init_pkgs): Make static 'stuff' global_pkgstuff for use in | |
7272 | get_pkg_stuff. | |
7273 | * setup.c: Make 'root' global. | |
7274 | (istargz): Return pointer to "stem" of matched .tar.gz file. | |
7275 | (tarx): Special case cygwin-20000301 to == cygwin-1.1.0.tar.gz. Remove | |
7276 | bogus check_for_installed check. | |
7277 | (recurse_dirs): Add preliminary support for .bat file execution. | |
7278 | (create_uninstall): Eliminate unneeded parameter. | |
7279 | (do_start_menu): Ditto. | |
7280 | (mkmount): Ditto. | |
7281 | (get_pkg_stuff): Ditto. Check for currently installed cygwin by | |
7282 | scanning for the version number. Eliminate unneeded argument to | |
7283 | create_uninstall. | |
7284 | (getdownloadsource): Add 'name' to list of names rather than url. | |
7285 | (main): Eliminate unneeded argument in get_pkg_stuff. Eliminate | |
7286 | unneeded argument in mkmount and do_start_menu. | |
7287 | ||
f4dda8f0 DD |
7288 | 2000-05-18 DJ Delorie <dj@cygnus.com> |
7289 | ||
7290 | * setup.c (optionprompt): allow multi-column, clean up message | |
7291 | about more options, be more robust about user input. | |
7292 | (getdownloadsource): make the mirror URL a macro. | |
7293 | (main): do mounts after done prompting user. | |
7294 | ||
62844d84 CF |
7295 | Tue May 2 00:56:41 2000 Christopher Faylor <cgf@cygnus.com> |
7296 | ||
7297 | * setup.c (cleanup): Inverse order of deletion stands a better chance | |
7298 | of deleting cygpath.exe. Still seems to suffer from occasional races, | |
7299 | though. | |
7300 | (cleanup_on_signal): Perform convoluted dance to accomodate win95 and | |
7301 | w2k. | |
7302 | (output_file): Defend against an unlikely handle leak. | |
7303 | (main): Don't set up signal handling until we have something special to | |
7304 | do. | |
7305 | ||
ad6749c8 CF |
7306 | Mon May 1 17:56:32 2000 Christopher Faylor <cgf@cygnus.com> |
7307 | ||
7308 | * path.c (kill_cygpath): Delete function. | |
7309 | (exit_cygpath): Make more defensive so that it can be called at any | |
7310 | time. | |
7311 | (cygpath_pipe): Don't set up signal here. Do it in main(). | |
7312 | * setup.c (istargz): New function. | |
7313 | (recurse_dirs): Look for *.gz pattern rather than *tar.gz since *tar.gz | |
7314 | inexplicably fails on samba mounted partitions. Use istargz to match | |
7315 | tar.gz tail. | |
7316 | (processdirlisting) Use istargz to match tar.gz tail. | |
7317 | (cleanup): Renamed from filedel. | |
7318 | (cleanup_on_signal): New function. Called on CTRL-C. | |
7319 | (main): Record handle of main thread so that it can be suspended when | |
7320 | CTRL-C occurs. Set up cleanup_on_signal signal handler. | |
7321 | ||
460cf7b6 CF |
7322 | Mon May 1 11:05:07 2000 Christopher Faylor <cgf@cygnus.com> |
7323 | ||
7324 | * setup.c (do_start_menu): Don't concatenate paths to already built | |
7325 | paths. | |
7326 | ||
9e76799c CF |
7327 | Sun Apr 30 22:37:34 2000 Christopher Faylor <cgf@cygnus.com> |
7328 | ||
7329 | * path.c (exit_cygpath): Wait for subprocess to exit before returning. | |
7330 | (cygpath_pipe): Don't call exit_cygpath. Let main atexit routine do | |
7331 | that. | |
7332 | * pkg.c (init_pkgs): Accept root argument. Make registry key "cygwin | |
7333 | root"-specific. | |
7334 | * setup.c (filedel): Call exit_cygpath here so that we can be assured | |
7335 | that cygpath subprocess has died. This allows us to delete cygpath.exe | |
7336 | and cygwin1.dll. | |
7337 | (optionprompt): Initialize response to -1 so that second screen of | |
7338 | mirrors will appear. | |
7339 | (get_pkg_stuff): Don't attempt to use HKCLU. Pass root to init_pkgs. | |
7340 | * setup.h: Reflect init_pkgs prototype change. | |
7341 | ||
2cf65e6e CF |
7342 | Sat Apr 29 23:53:30 2000 Christopher Faylor <cgf@cygnus.com> |
7343 | ||
7344 | * pkg.c (init_pkgs): Accept an argument to control what root registry | |
7345 | key should be used. | |
7346 | * setup.c (get_pkg_stuff): Use HKCLU registry key if default fails. | |
7347 | * setup.h: Reflect init_pkgs prototype change. | |
7348 | ||
7349 | Sat Apr 29 23:27:14 2000 Christopher Faylor <cgf@cygnus.com> | |
7350 | ||
7351 | * error.c (winerror): Respond to gcc warning. | |
7352 | * path.c (cygpath_pipe): Ditto. | |
7353 | * setup.c (filedel): Call sa_cleanup on deleteme. | |
7354 | (create_shortcut): Coerce argument to eliminate compiler warning. | |
7355 | (tarx): Use installed version of cygwin1.dll, overriding tar file name. | |
7356 | (refmatches): New function. Tests if ref is contained in a list of | |
7357 | packages to install. | |
7358 | (filematches): New function. Tests if filename matches one of a list | |
7359 | of packages to install. | |
7360 | (recurse_dirs): Accept list of packages to install. Generalize tar.gz | |
7361 | test to accomodate _tar.gz. | |
7362 | (prompt): Ensure that stdout is flushed prior to asking for input. | |
7363 | (findhref): Initialize variables to quiet a compiler warning. | |
7364 | (processdirlisting): Accept list of packages to install. Special case | |
7365 | cygwin tar file version number. | |
7366 | (downloaddir): Accept list of packages to install. | |
7367 | (downloadfrom): Ditto. | |
7368 | (create_uninstall): Eliminate unneeded variables. Quote arguments to | |
7369 | regtool. | |
7370 | (do_start_menu): Don't create uninstall bat file if updating or user | |
7371 | specified a list of packages. | |
7372 | (mkmount): Eliminate unneeded variables. | |
7373 | (get_pkg_stuff): New function. Checks for previous unversioned | |
7374 | installation. | |
7375 | (main): Accept -u and -f options and package names on the command line. | |
7376 | Use get_pkg_stuff to initialize package information. Umount /etc. | |
7377 | Call recurse_dirs and downloadfrom with list of package to install. | |
7378 | Ensure that all /usr/local directories are created. Output | |
7379 | installation time to setup.log. | |
7380 | * setup.h: Add some prototypes. | |
7381 | * xsystem.c (xcreate_process): Eliminate unneeded variable. | |
7382 | ||
4cf88dd9 CF |
7383 | Sat Apr 29 12:43:08 2000 Christopher Faylor <cgf@cygnus.com> |
7384 | ||
7385 | * setup.c (optionprompt): Don't overlap display of already seen options | |
7386 | on next page. | |
7387 | (geturl): Print name of site which we're connecting to rather than "ftp | |
7388 | site". | |
7389 | (processdirlisting): Avoid URLs that contain a /. or ./ . Is this | |
7390 | test too simplistic? | |
7391 | (do_start_menu): Use pathcat to build path to <root>\bin to avoid | |
7392 | problems when user chooses x:\ as their root. | |
7393 | (main): For now, default to "non-update" mode. Allow -u option to | |
7394 | signify an update. | |
7395 | ||
36591a07 CF |
7396 | Sat Apr 29 00:26:06 2000 Christopher Faylor <cgf@cygnus.com> |
7397 | ||
7398 | * pkg.c: New file. | |
7399 | * setup.c (tarx): Skip already installed or older packages. Report | |
7400 | when a package has been updated. | |
7401 | (processdirlisting): Skip already installed or older packages. | |
7402 | (main): Detect -f option for forced installation. Initialize pkg stuff | |
7403 | if appropriate. | |
7404 | * setup.h: Add pkg definitions. | |
7405 | ||
c298ea4a CF |
7406 | Thu Apr 27 14:21:30 2000 Christopher Faylor <cgf@cygnus.com> |
7407 | ||
7408 | * setup.c (findhref): Return NULL on empty string. Eat any trailing | |
7409 | ";something". | |
7410 | (processdirlisting): Attempt to limit recursively processing the same | |
7411 | directory. | |
7412 | ||
f4cafa7e CF |
7413 | Thu Apr 27 11:42:23 2000 Christopher Faylor <cgf@cygnus.com> |
7414 | ||
7415 | * setup.c (filedel): New function. | |
7416 | (output_file): Keep track of files extracted from setup.exe for | |
7417 | subsequent deletion. | |
7418 | (tarx): Close process handle of child tar process or suffer handle | |
7419 | leak. | |
7420 | (getdownloadsource): Close mirror file so that it can be unlinked. | |
7421 | (processdirlisting): Return total number of files extracted. | |
7422 | (main): Initialize array of files to delete. Ensure that files are | |
7423 | closed on exit. Make the directory that setup.exe is started from == | |
7424 | the directory where temporary files are placed. Issue an error if no | |
7425 | files were found to download. | |
7426 | * xsystem.c (xcreate_process): Close the thread handle. Close the | |
7427 | process handle if we waited for it to exit. | |
7428 | ||
cd475210 CF |
7429 | Thu Apr 27 09:54:19 2000 Christopher Faylor <cgf@cygnus.com> |
7430 | ||
7431 | * setup.c (main): Change version number output. | |
7432 | ||
7dff5e71 CF |
7433 | Thu Apr 27 09:23:17 2000 Christopher Faylor <cgf@cygnus.com> |
7434 | ||
7435 | * setup.c (tarx): Use full path name to tar executable. | |
7436 | (main): Build full pathname to tar executable. Create /usr/local/etc | |
7437 | by default. | |
7438 | ||
99437fdb CF |
7439 | Wed Apr 26 22:16:57 2000 Christopher Faylor <cgf@cygnus.com> |
7440 | ||
7441 | * setup.c (findhref): Change method for scanning for href= to choose | |
7442 | the last one on the line. This is still not foolproof and probably | |
7443 | will need to be changed eventually. Don't abort if no "size" field is | |
7444 | evident. | |
7445 | (processdirlisting): Fix boolean algebra. | |
7446 | ||
0f562d55 CF |
7447 | Wed Apr 26 01:10:39 2000 Christopher Faylor <cgf@cygnus.com> |
7448 | ||
7449 | * main.c (tarx): Add some code for future task of unmounting | |
7450 | directories encountered in tar file. | |
7451 | ||
4356382d CF |
7452 | Sat Apr 22 16:37:03 2000 Christopher Faylor <cgf@cygnus.com> |
7453 | ||
7454 | * setup.c (findhref): Decode file size, when appropriate. | |
7455 | (needfile): New function. Returns 1 when file should be | |
7456 | downloaded. | |
7457 | (processdirlisting): Always download if file size does not | |
7458 | match. Prompt when download fails for some reason. | |
7459 | (getdownloadsource): Accomodate findhref argument changes. | |
7460 | ||
6ab1ce6c CF |
7461 | Sat Apr 22 15:13:42 2000 Christopher Faylor <cgf@cygnus.com> |
7462 | ||
7463 | Throughout, use global session handle rather than reinitializing for | |
7464 | each connect. Don't pass session as an argument to setup.c functions. | |
7465 | * setup.c (geturl): Only issue "Connecting to.." message when using | |
7466 | http or first time for ftp since subsequent connections will be fast. | |
7467 | (processdirlisting): Allocate space for "N" when user has specified | |
7468 | "N"ever option so that it can be subsequently freed. | |
7469 | (main): Abort if we can't get the list of mirrors. | |
7470 | ||
37ee316b CF |
7471 | Thu Apr 20 16:41:42 2000 Christopher Faylor <cgf@cygnus.com> |
7472 | ||
7473 | * setup.c (main): Umount /bin and /lib. | |
7474 | ||
a59fb4fa CF |
7475 | Wed Apr 19 13:34:44 2000 Christopher Faylor <cgf@cygnus.com> |
7476 | ||
7477 | * setup.c (main): Create an empty /var/run/utmp. | |
7478 | ||
75f4b861 CF |
7479 | Tue Apr 18 19:16:56 2000 Christopher Faylor <cgf@cygnus.com> |
7480 | ||
7481 | * Makefile.in: Add umount to list of files to include in setup.exe. | |
7482 | * setup.c (xumount): New function for unmounting directories. | |
7483 | (main): Unmount /usr. | |
7484 | (mkmount): Unmount "unix directory" before trying to figure out where | |
7485 | to create the directory. | |
7486 | ||
d4a66789 CF |
7487 | Tue Apr 18 17:28:55 2000 Christopher Faylor <cgf@cygnus.com> |
7488 | ||
7489 | * setup.c (mkmount): Use xcreate_process to start mount process, | |
7490 | avoiding the shell. | |
7491 | (main): Don't do buffering on stdout or prompts won't be displayed | |
7492 | correctly if running in a cygwin shell with CYGWIN=tty. | |
7493 | ||
a6c3982d CF |
7494 | Tue Apr 18 15:35:19 2000 Christopher Faylor <cgf@cygnus.com> |
7495 | ||
7496 | * setup.c (main): Remove the CYGWIN environment variable before | |
7497 | starting any cygwin programs. | |
7498 | ||
0ffd5e3b CF |
7499 | Mon Apr 17 19:20:52 2000 Vadim Egorov <egorovv@mailandnews.com> |
7500 | ||
7501 | * setup.c (geturl): Use alternative method for finding filename part of | |
7502 | a URL. | |
7503 | (processdirlisting): Accomodate strange output from non-MS ftp proxy. | |
7504 | (downloaddir): Unlink file containing dir listing. | |
7505 | (downloadfrom): Ditto. | |
7506 | ||
3e54bcf9 CF |
7507 | Mon Apr 17 00:00:49 2000 Christopher Faylor <cgf@cygnus.com> |
7508 | ||
7509 | * setup.c (main): Disallow running setup.exe from the "root". | |
7510 | ||
005b73c4 CF |
7511 | Sun Apr 16 18:50:58 2000 Christopher Faylor <cgf@cygnus.com> |
7512 | ||
2cf65e6e | 7513 | Use "warning" function, where appropriate, to output warnings. |
005b73c4 CF |
7514 | * setup.c (warning): New function -- outputs warning to console and log |
7515 | file. | |
7516 | (tarx): Fix index used to reset file protection. | |
7517 | (main): Open the log file earlier so that more stuff can be sent to it. | |
7518 | ||
36dc5fc8 CF |
7519 | Sat Apr 15 20:05:33 2000 Christopher Faylor <cgf@cygnus.com> |
7520 | ||
7521 | * setup.c (processdirlisting): Make "N" option a little less aggressive. | |
7522 | ||
c73320de CF |
7523 | Fri Apr 14 11:11:29 2000 Christopher Faylor <cgf@cygnus.com> |
7524 | ||
7525 | * setup.c (tarx): Wait to after tar has completed to reset protections | |
7526 | or suffer races with tar process. | |
7527 | ||
68cdfc92 CF |
7528 | Thu Apr 13 12:51:19 2000 Christopher Faylor <cgf@cygnus.com> |
7529 | ||
7530 | * Makefile.in: Eliminate duplicate -nostdinc from CFLAGS. | |
7531 | * setup.c (create_uninstall): Create the uninstall .bat file in the | |
7532 | "root" so that we can remove the /bin directory. Add bin\cygwin.bat to | |
7533 | list of files to be deleted. Fix directory detection for determining | |
7534 | when to use 'rmdir'. | |
7535 | (do_start_menu): Add /usr/local/bin to the path. | |
7536 | (main): Add slop to files.array allocation so that we don't have to | |
7537 | worry about reallocating the array when it grows too large when doing | |
7538 | some trivial "pushes". Add /tmp and /usr/local/{bin,lib} to list of | |
7539 | files. | |
7540 | ||
35d18861 CF |
7541 | Thu Apr 13 01:59:44 2000 Christopher Faylor <cgf@cygnus.com> |
7542 | ||
7543 | * setup.c (processdirlisting): Fix handling of "A" for "A"lways | |
7544 | download. | |
7545 | ||
20904de1 CF |
7546 | Thu Apr 13 01:11:45 2000 Christopher Faylor <cgf@cygnus.com> |
7547 | ||
7548 | * path.c (kill_cygpath): New cleanup function. | |
7549 | (exit_cygpath): New cleanup function. | |
7550 | (cygpath_pipe): New function. Sets up cygpath in the background for | |
7551 | translating filenames. | |
7552 | (pathcvt): Use background cygpath for file translation. | |
7553 | * setup.c (tarx): New function. Called to extract tar files, capture | |
7554 | logging output, and translate it to Windows format. | |
7555 | (recurse_dirs): Use 'tarx' function to extract files. | |
7556 | (create_uninstall): Use file list built up by tarx rather than reading | |
7557 | the log file. | |
7558 | (mkmount): Add ability to mount root. | |
7559 | (main): Track elapsed install time. Mount root. | |
7560 | * starry.h: Add index field to strarry for tracking of tarx's usage of | |
7561 | this structure. | |
7562 | * xsystem.c (xcreate_process): Return proces handle when not waiting. | |
7563 | ||
c1246750 CF |
7564 | Mon Apr 10 22:44:56 2000 Christopher Faylor <cgf@cygnus.com> |
7565 | ||
7566 | * path.c: New file. | |
7567 | (pathfp): New function. Preliminary work for new -f cygpath | |
7568 | functionality. | |
7569 | * Makefile.in: Add new file. | |
7570 | (pathcvt): Move to new file. | |
7571 | (dtoupath): Ditto. | |
7572 | (utodpath): Ditto. | |
7573 | (pathcat): Ditto. | |
7574 | * setup.c (processdirlisting): Always open file in text mode. | |
7575 | (create_uninstall): Ditto. | |
7576 | (getdownloadsource): Ditto. | |
7577 | (main): Ditto. | |
7578 | ||
4b40edd0 CF |
7579 | Mon Apr 10 20:33:40 2000 Christopher Faylor <cgf@cygnus.com> |
7580 | ||
7581 | * xsystem.c: New file. | |
7582 | * Makefile.in: Accomodate new file. | |
7583 | * setup.c (xsystem): Move to new file. | |
7584 | (recurse_dirs): Accept handle to output log file. Don't use ">" | |
7585 | redirection to trap tar output. Use supplied handle instead. | |
7586 | (create_uninstall): Accept FILE pointer to opened log file. Don't | |
7587 | unlink log file here. | |
7588 | (do_start_menu): Accept FILE pointer to pass to create_uninstall. | |
7589 | (main): Open log file here and pass it to various functions. Unlink | |
7590 | when done. | |
7591 | ||
6f8e3b45 CF |
7592 | Mon Apr 10 17:15:52 2000 Christopher Faylor <cgf@cygnus.com> |
7593 | ||
7594 | Change occurrences of .usr.bin to .bin throughout. | |
7595 | * setup.c (geturl): Increase number of retries to 20. Let user know | |
7596 | what's going on during long connects. | |
7597 | (processdirlisting): Accept "A"lways and "N"ever as update options. | |
7598 | (create_uninstall): Load cygwin1.dll from the current directory rather | |
7599 | than \bin. | |
7600 | (main): Add some expository text. | |
7601 | ||
2a907b70 CF |
7602 | Sun Apr 9 20:59:15 2000 Christopher Faylor <cgf@cygnus.com> |
7603 | ||
7604 | * Makefile.in: Change method for compressing cygwin1.dll to avoid | |
7605 | creating a cygwin1.dll in the current directory. Ensure the addition | |
7606 | of -nostdinc to MINGW_CFLAGS. | |
7607 | ||
c4285a3c CF |
7608 | Sun Apr 9 02:15:47 2000 Christopher Faylor <cgf@cygnus.com> |
7609 | ||
7610 | * Makefile.in: Augment clean target. | |
7611 | ||
ea615d51 RP |
7612 | Fri Apr 7 17:04:02 Ron Parker <rdparker@sourceware.cygnus.com> |
7613 | ||
7614 | * README: Added info about non-working mingw implementation | |
c1246750 | 7615 | * gzip.exe.gz: Replace with a version from the same build as the other |
ea615d51 | 7616 | tools. |
c1246750 | 7617 | * tar.exe.gz: Replace with a version from the same build as the other |
ea615d51 | 7618 | tools. |
c1246750 | 7619 | * mount.exe.gz: Add to repository until, mingw can build setup. |
ea615d51 RP |
7620 | * cygpath.exe.gz: ditto |
7621 | * cygwin1.dll.gz: ditto | |
c1246750 CF |
7622 | * setup.c: Overwrite /bin and /lib mounts. Generate working shortcut |
7623 | for Win9x. Display only a screenfull of options at a time. Call all | |
7624 | tools with an absolute path. | |
7625 | * setup.dsp: Restore the carriage returns, MS Developer Studio needs | |
7626 | them. | |
ea615d51 RP |
7627 | * setup.dsw: ditto |
7628 | * zlib.dsw: ditto | |
7629 | ||
51954e74 CF |
7630 | Thu Apr 6 19:15:27 2000 Christopher Faylor <cgf@cygnus.com> |
7631 | ||
c1246750 CF |
7632 | * Makefile.in: Add "-nostdinc" to regular CFLAGS. Add target to grab |
7633 | cygwin1.dll from ../cygwin subdirectory. | |
51954e74 CF |
7634 | * gzip.exe.gz: Update. |
7635 | * tar.exe.gz: Update. | |
7636 | ||
7b777418 CF |
7637 | Wed Apr 5 10:52:08 2000 Christopher Faylor <cgf@cygnus.com> |
7638 | ||
7639 | * Makefile.in: Use ZLIB variable as a target. | |
7640 | ||
4306b490 CF |
7641 | Sat Apr 1 22:49:09 2000 Christopher Faylor <cgf@cygnus.com> |
7642 | ||
5e7eb909 CF |
7643 | * Makefile.in: Eliminate traces of cygwinisms. Don't link with |
7644 | libmsvcrt.a. It's unneeded. Build .rc file on the fly from various | |
7645 | sources. | |
4306b490 CF |
7646 | * configure.in: Locate correct objcopy. |
7647 | * configure: Regenerate. | |
7648 | ||
739457f4 CF |
7649 | Sat Apr 1 20:48:09 2000 Christopher Faylor <cgf@cygnus.com> |
7650 | ||
7651 | * Makefile.in: New file. | |
7652 | * configure.in: New file. | |
7653 | * configure: New file. | |
7654 | * zlib/Makefile.am: New file. | |
7655 | * zlib/configure.in: New file. | |
7656 | * zlib/aclocal.m4: New file. | |
7657 | * zlib/acinclude.m4: New file. | |
7658 | * zlib/configure: Regenerate from configure.in. | |
7659 | * zlib/Makefile.in: Regenerate from Makefile.am | |
8507f105 DD |
7660 | |
7661 | %%% $Id$ | |
7662 | $Revision$ |