]>
Commit | Line | Data |
---|---|---|
1f673500 CV |
1 | 2010-08-08 Corinna Vinschen <corinna@vinschen.de> |
2 | ||
3 | * prereq.cc (PrereqChecker::getUnmetString): Improve dependency list | |
4 | output. | |
5 | ||
c7c6e034 AK |
6 | 2010-08-07 Andy Koppe <andy.koppe@gmail.com> |
7 | ||
8 | * prereq.cc (PrereqChecker::isMet): Find unmet indirect | |
9 | dependencies too. | |
10 | ||
9dc2b7e9 AK |
11 | 2010-08-06 Andy Koppe <andy.koppe@gmail.com> |
12 | ||
13 | * res.rc (IDS_VIEWBUTTON_TOOLTIP): Rename "Partial" view | |
14 | to "Pending" (again). | |
15 | ||
8399bd2d AK |
16 | 2010-08-05 Andy Koppe <andy.koppe@gmail.com> |
17 | ||
18 | * res.rc (IDD_PREREQ DIALOG): Tweak wording on dependency page. | |
19 | ||
d57da7e1 DK |
20 | 2010-07-31 Dave Korn <dave.korn.cygwin@gmail.com> |
21 | ||
22 | * install.cc (Installer::installOne): Also record zero-sized | |
23 | tarballs as successfully installed. | |
24 | ||
3a71ab77 JT |
25 | 2010-07-30 Jon TURNEY <jon.turney@dronecode.org.uk> |
26 | ||
a127a91e | 27 | * postinstall.cc (do_postinstall_reflector): Fix typo. |
3a71ab77 | 28 | |
b06628c5 CF |
29 | 2010-07-30 Christopher Faylor <me+cygwin@cgf.cx> |
30 | ||
31 | * inilex.ll: Allow "~" in a string. | |
32 | ||
7d3de3ed JT |
33 | 2010-07-29 Jon TURNEY <jon.turney@dronecode.org.uk> |
34 | ||
a127a91e CF |
35 | * resource.h (IDD_POSTINSTALL, IDC_POSTINSTALL_EDIT): Add resource |
36 | identifiers for postinstall results page. | |
37 | * res.rc (IDD_POSTINSTALL): Add dialog resource for postinstall results | |
38 | page. | |
39 | * postinstallresults.h: New file. | |
40 | * postinstallresults.cc: New file. | |
41 | * main.cc (main_display): Add a PostInstallResultsPage to the wizard. | |
42 | * Makefile.am (setup_SOURCES): Add new files. | |
43 | * threebar.cc (OnMessageApp): Allow WM_APP_POSTINSTALL_THREAD_COMPLETE | |
44 | to select the next page shown. | |
45 | * postinstall.cc (do_postinstall_thread) | |
46 | (do_postinstall_reflector): Collect results of running scripts and | |
47 | compose a reporting message which we pass to the postinstall results | |
48 | page. Select postinstall results page next if there are results to | |
49 | show, otherwise desktop setup page as before. | |
50 | * script.cc (run): Don't rename as .done scripts which didn't run | |
51 | successfully. | |
7d3de3ed | 52 | |
5a2eaf00 AK |
53 | 2010-07-26 Andy Koppe <andy.koppe@gmail.com> |
54 | ||
a127a91e | 55 | * PickView.cc (PickView::views::caption): Rename "Partial" view |
5a2eaf00 AK |
56 | to "Pending". |
57 | * res.rc (IDS_VIEWBUTTON_TOOLTIP): Ditto. | |
58 | ||
59 | 2010-07-22 Andy Koppe <andy.koppe@gmail.com> | |
2c4487b3 CV |
60 | |
61 | * PickPackageLine.cc (PickPackageLine::{click,set_action}): | |
62 | Don't trigger automatic package selection when clicking on | |
63 | packages or categories on chooser screen. | |
64 | * PickCategoryLine.cc (PickCategoryLine::click): No more need to | |
65 | prepare for automatic package selection with markUnVisited(). | |
66 | * res.rc: Drop "Warning!" from caption of Resolve Dependencies | |
67 | screen. | |
68 | ||
65fa35d4 DK |
69 | 2010-04-17 Dave Korn <dave.korn.cygwin@gmail.com> |
70 | ||
71 | * root.cc (RootPage::OnNext): Don't construct a packagedb here nor | |
72 | do deferred initialisation of static packagedb::task. | |
73 | * source.cc (save_dialog): Don't construct a packagedb here, and | |
74 | set static packagedb::task directly instead of chosen_db_task. | |
75 | * package_meta.cc (packagemeta::action_caption): Don't bother to | |
76 | construct a packagedb here, just access packagedb::task directly. | |
77 | * package_db.cc: Move 'static members' comment near static members. | |
78 | (chosen_db_task): Delete. | |
79 | * package_db.h (chosen_db_task): Don't declare extern. | |
80 | (packagedb): Extend comments on class. | |
81 | ||
8baf5374 DK |
82 | 2010-04-14 Dave Korn <dave.korn.cygwin@gmail.com> |
83 | ||
84 | * PickView.cc (PickView::WindowProc): Delete inadvertently-committed | |
85 | debug logging. | |
86 | ||
325bb73a DK |
87 | 2010-04-13 Dave Korn <dave.korn.cygwin@gmail.com> |
88 | ||
89 | * PickView.h (PickView::set_vscroll_info): Add prototype. | |
90 | (PickView::hasClientRect): Rename from this ... | |
91 | (PickView::hasWindowRect): ... to this ... | |
92 | (PickView::lastClientRect): ... and from this ... | |
93 | (PickView::lastWindowRect): ... to this. | |
94 | * PickView.cc (PickView::PickView): Adjust member init to match. | |
95 | (PickView::set_vscroll_info): Abstract code to set vertical scroll | |
96 | bar proportions from ... | |
97 | (PickView::list_click): ... here. Call it. Fix comment typo. | |
98 | (PickView::WindowProc): Update all renamed variables in WM_SIZE | |
99 | case, and check also for a y delta, calling set_vscroll_info if so. | |
100 | ||
67ce5bee DK |
101 | 2010-04-13 Dave Korn <dave.korn.cygwin@gmail.com> |
102 | ||
103 | * window.cc (Window::Window): Initialise BusyCount and BusyCursor. | |
104 | (Window::SetBusy): Set hourglass cursor, counting nested activations. | |
105 | (Window::ClearBusy): Cancel one call to SetBusy and restore original | |
106 | cursor if no longer busy. | |
107 | * window.h (Window::BusyCount): New data member. | |
108 | (Window::OldCursor): Likewise. | |
109 | (Window::BusyCursor): Likewise. | |
110 | (Window::SetBusy): Prototype. | |
111 | (Window::ClearBusy): Likewise. | |
112 | * choose.cc (ChooserPage::createListview): Invoke busy cursor | |
113 | around long-running operation. | |
114 | (ChooserPage::OnInit): Likewise. | |
115 | (ChooserPage::changeTrust): Likewise. | |
116 | * PickCategoryLine.cc (PickCategoryLine::set_action): Likewise. | |
117 | ||
644ca185 CF |
118 | 2010-04-08 Christopher Faylor <me+cygwin@cgf.cx> |
119 | ||
120 | * bootstrap.sh: Always reconfigure in libgetopt++. | |
121 | ||
122 | * Makefile.am: Remove old code for direct copying to sourceware. Add | |
123 | -src to source tarball. | |
124 | ||
d7406b7d CV |
125 | 2010-04-07 Matthias Andree <matthias.andree@gmx.de> |
126 | ||
127 | * README (HOW TO BUILD): Mention mingw-lib{gcrypt,lzma}-devel. | |
128 | ||
129 | * res.rc (IDD_DESKTOP): Move Installation Status line, | |
130 | IDC_STATUS_HEADER and IDC_STATUS up 20 units, make IDC_STATUS text | |
131 | 20 units taller and 40 units wider so that IDS_REBOOT_REQUIRED | |
132 | message fits the screen. | |
133 | * res.rc (IDD_SPLASH): Bump copyright years in IDC_SLASH_COPYR to | |
134 | "2000-2010". | |
135 | ||
2b411596 CV |
136 | 2010-04-07 Corinna Vinschen <corinna@vinschen.de> |
137 | ||
138 | * install.cc (create_allow_protected_renames): New function to | |
139 | create AllowProtectedRenames registry entry. | |
140 | (Installer::installOne): Call create_allow_protected_renames if former | |
141 | call to MoveFileEx was successful. | |
142 | ||
1e0f90f9 CW |
143 | 2010-03-18 Charles Wilson <cygwin@cwilson.fastmail.fm> |
144 | ||
145 | Use external crypto libraries | |
146 | * Makefile.am: Remove local libgcrypt and libgpg-error | |
147 | source directories from AM_CPPFLAGS. | |
148 | * configure.ac: Remove libgcrypt and libgpg-error subdirs | |
149 | from AC_CONFIG_SUBDIRS. Remove now-unnecessary cruft. | |
150 | * doconfigure: Specify gcc-3 and g++-3. Set PATH when $build | |
151 | is cygwin, so that correct (mingw) libgcrypt and libgpg-error | |
152 | config scripts can be used. | |
153 | ||
154 | Remove libgpg-error. | |
155 | * libgpg-error/tests/Makefile.am, libgpg-error/tests/Makefile.in, | |
156 | libgpg-error/tests/t-strerror.c, libgpg-error/tests/t-syserror.c, | |
157 | libgpg-error/po/ChangeLog, libgpg-error/po/LINGUAS, | |
158 | libgpg-error/po/Makefile.in.in, libgpg-error/po/Makevars, | |
159 | libgpg-error/po/POTFILES.in, libgpg-error/po/Rules-quot, | |
160 | libgpg-error/po/boldquot.sed, libgpg-error/po/de.gmo, | |
161 | libgpg-error/po/de.po, libgpg-error/po/en@boldquot.header, | |
162 | libgpg-error/po/en@quot.header, libgpg-error/po/fr.gmo, | |
163 | libgpg-error/po/fr.po libgpg-error/po/insert-header.sin, | |
164 | libgpg-error/po/libgpg-error.pot, libgpg-error/po/pl.gmo, | |
165 | libgpg-error/po/pl.po, libgpg-error/po/quot.sed, | |
166 | libgpg-error/po/remove-potcdate.sin, libgpg-error/po/ro.gmo, | |
167 | libgpg-error/po/ro.po libgpg-error/po/stamp-po, | |
168 | libgpg-error/po/sv.po, libgpg-error/po/vi.gmo, | |
169 | libgpg-error/po/vi.po, libgpg-error/po/sv.gmo, | |
170 | libgpg-error/m4/ChangeLog, libgpg-error/m4/Makefile.am, | |
171 | libgpg-error/m4/ac_prog_cc_for_build.m4, libgpg-error/m4/autobuild.m4, | |
172 | libgpg-error/m4/codeset.m4, libgpg-error/m4/gettext.m4, | |
173 | libgpg-error/m4/glibc2.m4, libgpg-error/m4/glibc21.m4, | |
174 | libgpg-error/m4/iconv.m4, libgpg-error/m4/intdiv0.m4, | |
175 | libgpg-error/m4/intmax.m4, libgpg-error/m4/inttypes-h.m4, | |
176 | libgpg-error/m4/inttypes-pri.m4, libgpg-error/m4/inttypes.m4, | |
177 | libgpg-error/m4/inttypes_h.m4, libgpg-error/m4/isc-posix.m4, | |
178 | libgpg-error/m4/lcmessage.m4, libgpg-error/m4/lib-ld.m4, | |
179 | libgpg-error/m4/lib-link.m4, libgpg-error/m4/lib-prefix.m4, | |
180 | libgpg-error/m4/libtool.m4, libgpg-error/m4/lock.m4, | |
181 | libgpg-error/m4/longdouble.m4, libgpg-error/m4/longlong.m4, | |
182 | libgpg-error/m4/nls.m4, libgpg-error/m4/po.m4, | |
183 | libgpg-error/m4/printf-posix.m4, libgpg-error/m4/progtest.m4, | |
184 | libgpg-error/m4/signed.m4, libgpg-error/m4/size_max.m4, | |
185 | libgpg-error/m4/stdint_h.m4, libgpg-error/m4/uintmax_t.m4, | |
186 | libgpg-error/m4/ulonglong.m4, libgpg-error/m4/visibility.m4, | |
187 | libgpg-error/m4/wchar_t.m4, libgpg-error/m4/wint_t.m4, | |
188 | libgpg-error/m4/xsize.m4, libgpg-error/m4/Makefile.in, | |
189 | libgpg-error/lang/Makefile.am, libgpg-error/lang/README, | |
190 | libgpg-error/lang/Makefile.in, libgpg-error/lang/cl/Makefile.am, | |
191 | libgpg-error/lang/cl/README, libgpg-error/lang/cl/gpg-error-package.lisp, | |
192 | libgpg-error/lang/cl/gpg-error.asd, libgpg-error/lang/cl/gpg-error.asd.in, | |
193 | libgpg-error/lang/cl/gpg-error.lisp, libgpg-error/lang/cl/mkerrcodes.awk, | |
194 | libgpg-error/lang/cl/Makefile.in, libgpg-error/src/Makefile.am, | |
195 | libgpg-error/src/README, libgpg-error/src/code-from-errno.c, | |
196 | libgpg-error/src/code-to-errno.c, libgpg-error/src/err-codes.h, | |
197 | libgpg-error/src/err-codes.h.in, libgpg-error/src/err-sources.h, | |
198 | libgpg-error/src/err-sources.h.in, libgpg-error/src/errnos.in, | |
199 | libgpg-error/src/gettext.h, libgpg-error/src/gpg-error-config.in, | |
200 | libgpg-error/src/gpg-error.c, libgpg-error/src/gpg-error.def, | |
201 | libgpg-error/src/gpg-error.h, libgpg-error/src/gpg-error.h.in, | |
202 | libgpg-error/src/gpg-error.m4, libgpg-error/src/init.c, | |
203 | libgpg-error/src/mkerrcodes.awk, libgpg-error/src/mkerrcodes.c, | |
204 | libgpg-error/src/mkerrcodes1.awk, libgpg-error/src/mkerrcodes2.awk, | |
205 | libgpg-error/src/mkerrnos.awk, libgpg-error/src/mkheader.awk, | |
206 | libgpg-error/src/mkstrtable.awk, libgpg-error/src/strerror-sym.c, | |
207 | libgpg-error/src/strerror.c, libgpg-error/src/strsource-sym.c, | |
208 | libgpg-error/src/strsource.c, libgpg-error/src/versioninfo.rc.in, | |
209 | libgpg-error/src/w32-gettext.c, libgpg-error/src/w32-gettext.h, | |
210 | libgpg-error/src/Makefile.in, libgpg-error/ABOUT-NLS, | |
211 | libgpg-error/AUTHORS, libgpg-error/COPYING, libgpg-error/COPYING.LIB, | |
212 | libgpg-error/ChangeLog, libgpg-error/INSTALL, libgpg-error/Makefile.am, | |
213 | libgpg-error/NEWS, libgpg-error/README, libgpg-error/THANKS, | |
214 | libgpg-error/VERSION, libgpg-error/autogen.sh, libgpg-error/compile, | |
215 | libgpg-error/config.guess, libgpg-error/config.rpath, | |
216 | libgpg-error/config.sub, libgpg-error/configure.ac, libgpg-error/depcomp, | |
217 | libgpg-error/install-sh, libgpg-error/libgpg-error.spec, | |
218 | libgpg-error/libgpg-error.spec.in, libgpg-error/ltmain.sh, | |
219 | libgpg-error/missing, libgpg-error/mkinstalldirs, | |
220 | libgpg-error/aclocal.m4, libgpg-error/configure, | |
221 | libgpg-error/config.h.in, libgpg-error/Makefile.in: Remove. | |
222 | ||
223 | Remove libgcrypt. | |
224 | * libgcrypt/tests/ChangeLog, libgcrypt/tests/Makefile.am, | |
225 | libgcrypt/tests/ac-data.c, libgcrypt/tests/ac-schemes.c, | |
226 | libgcrypt/tests/ac.c, libgcrypt/tests/basic.c, | |
227 | libgcrypt/tests/benchmark.c, libgcrypt/tests/hmac.c, | |
228 | libgcrypt/tests/keygen.c, libgcrypt/tests/keygrip.c, | |
229 | libgcrypt/tests/mpitests.c, libgcrypt/tests/pkbench.c, | |
230 | libgcrypt/tests/prime.c, libgcrypt/tests/pubkey.c, | |
231 | libgcrypt/tests/random.c, libgcrypt/tests/register.c, | |
232 | libgcrypt/tests/t-mpi-bit.c, libgcrypt/tests/testapi.c, | |
233 | libgcrypt/tests/tsexp.c, libgcrypt/tests/version.c, | |
234 | libgcrypt/tests/Makefile.in, libgcrypt/src/ChangeLog | |
235 | libgcrypt/src/Makefile.am, libgcrypt/src/Manifest, libgcrypt/src/ath.c, | |
236 | libgcrypt/src/ath.h, libgcrypt/src/cipher.h, libgcrypt/src/dumpsexp.c, | |
237 | libgcrypt/src/g10lib.h, libgcrypt/src/gcrypt-module.h, | |
238 | libgcrypt/src/gcrypt.h, libgcrypt/src/gcrypt.h.in, | |
239 | libgcrypt/src/gcryptrnd.c, libgcrypt/src/getrandom.c, | |
240 | libgcrypt/src/global.c, libgcrypt/src/hwfeatures.c, | |
241 | libgcrypt/src/libgcrypt-config.in, libgcrypt/src/libgcrypt.def, | |
242 | libgcrypt/src/libgcrypt.m4, libgcrypt/src/libgcrypt.vers, | |
243 | libgcrypt/src/misc.c, libgcrypt/src/missing-string.c, | |
244 | libgcrypt/src/module.c, libgcrypt/src/mpi.h, libgcrypt/src/secmem.h, | |
245 | libgcrypt/src/sexp.c, libgcrypt/src/stdmem.c, libgcrypt/src/stdmem.h, | |
246 | libgcrypt/src/types.h, libgcrypt/src/versioninfo.rc.in, | |
247 | libgcrypt/src/visibility.c, libgcrypt/src/visibility.h, | |
248 | libgcrypt/src/Makefile.in, libgcrypt/src/secmem.c, | |
249 | libgcrypt/m4/ChangeLog, libgcrypt/m4/Makefile.am, | |
250 | libgcrypt/m4/libtool.m4, libgcrypt/m4/noexecstack.m4, | |
251 | libgcrypt/m4/onceonly.m4, libgcrypt/m4/socklen.m4, | |
252 | libgcrypt/m4/sys_socket_h.m4, libgcrypt/m4/Makefile.in, | |
253 | libgcrypt/doc/ChangeLog, libgcrypt/doc/HACKING, | |
254 | libgcrypt/doc/Makefile.am, libgcrypt/doc/README.apichanges, | |
255 | libgcrypt/doc/gcrypt.texi, libgcrypt/doc/gpl.texi, | |
256 | libgcrypt/doc/lgpl.texi, libgcrypt/doc/mdate-sh, | |
257 | libgcrypt/doc/texinfo.tex, libgcrypt/doc/stamp-vti, | |
258 | libgcrypt/doc/version.texi, libgcrypt/doc/gcrypt.info, | |
259 | libgcrypt/doc/Makefile.in, libgcrypt/cipher/ChangeLog, | |
260 | libgcrypt/cipher/Makefile.am, libgcrypt/cipher/Manifest, | |
261 | libgcrypt/cipher/ac.c, libgcrypt/cipher/arcfour.c, | |
262 | libgcrypt/cipher/bithelp.h, libgcrypt/cipher/blowfish.c, | |
263 | libgcrypt/cipher/camellia-glue.c, libgcrypt/cipher/camellia.c, | |
264 | libgcrypt/cipher/camellia.h, libgcrypt/cipher/cast5.c, | |
265 | libgcrypt/cipher/cipher.c, libgcrypt/cipher/crc.c, | |
266 | libgcrypt/cipher/des.c, libgcrypt/cipher/dsa.c, libgcrypt/cipher/ecc.c, | |
267 | libgcrypt/cipher/elgamal.c, libgcrypt/cipher/md.c, | |
268 | libgcrypt/cipher/md4.c, libgcrypt/cipher/md5.c, | |
269 | libgcrypt/cipher/primegen.c, libgcrypt/cipher/pubkey.c, | |
270 | libgcrypt/cipher/rand-internal.h, libgcrypt/cipher/random-daemon.c, | |
271 | libgcrypt/cipher/random.c, libgcrypt/cipher/random.h, | |
272 | libgcrypt/cipher/rfc2268.c, libgcrypt/cipher/rijndael-tables.h, | |
273 | libgcrypt/cipher/rijndael.c, libgcrypt/cipher/rmd.h, | |
274 | libgcrypt/cipher/rmd160.c, libgcrypt/cipher/rndegd.c, | |
275 | libgcrypt/cipher/rndhw.c, libgcrypt/cipher/rndlinux.c, | |
276 | libgcrypt/cipher/rndunix.c, libgcrypt/cipher/rndw32.c, | |
277 | libgcrypt/cipher/rsa.c, libgcrypt/cipher/seed.c, | |
278 | libgcrypt/cipher/serpent.c, libgcrypt/cipher/sha1.c, | |
279 | libgcrypt/cipher/sha256.c, libgcrypt/cipher/sha512.c, | |
280 | libgcrypt/cipher/tiger.c, libgcrypt/cipher/twofish.c, | |
281 | libgcrypt/cipher/whirlpool.c, libgcrypt/cipher/Makefile.in, | |
282 | libgcrypt/AUTHORS, libgcrypt/BUGS, libgcrypt/COPYING, | |
283 | libgcrypt/COPYING.LIB, libgcrypt/ChangeLog, libgcrypt/INSTALL, | |
284 | libgcrypt/Makefile.am, libgcrypt/NEWS, libgcrypt/README, | |
285 | libgcrypt/README.SVN, libgcrypt/THANKS, libgcrypt/TODO, libgcrypt/VERSION, | |
286 | libgcrypt/acinclude.m4, libgcrypt/autogen.sh, libgcrypt/compile, | |
287 | libgcrypt/config.guess, libgcrypt/config.sub, libgcrypt/configure.ac, | |
288 | libgcrypt/depcomp, libgcrypt/install-sh, libgcrypt/ltmain.sh, | |
289 | libgcrypt/missing, libgcrypt/mkinstalldirs, , libgcrypt/aclocal.m4, | |
290 | libgcrypt/configure, libgcrypt/config.h.in, libgcrypt/Makefile.in, | |
291 | libgcrypt/mpi/ChangeLog, libgcrypt/mpi/Makefile.am, | |
292 | libgcrypt/mpi/Manifest, libgcrypt/mpi/config.links, libgcrypt/mpi/ec.c, | |
293 | libgcrypt/mpi/longlong.h, libgcrypt/mpi/mpi-add.c, | |
294 | libgcrypt/mpi/mpi-bit.c, libgcrypt/mpi/mpi-cmp.c, | |
295 | libgcrypt/mpi/mpi-div.c, libgcrypt/mpi/mpi-gcd.c, | |
296 | libgcrypt/mpi/mpi-inline.c, libgcrypt/mpi/mpi-inline.h, | |
297 | libgcrypt/mpi/mpi-internal.h, libgcrypt/mpi/mpi-inv.c, | |
298 | libgcrypt/mpi/mpi-mod.c, libgcrypt/mpi/mpi-mpow.c, | |
299 | libgcrypt/mpi/mpi-mul.c, libgcrypt/mpi/mpi-pow.c, | |
300 | libgcrypt/mpi/mpi-scan.c, libgcrypt/mpi/mpicoder.c, | |
301 | libgcrypt/mpi/mpih-div.c, libgcrypt/mpi/mpih-mul.c, | |
302 | libgcrypt/mpi/mpiutil.c, libgcrypt/mpi/Makefile.in, | |
303 | libgcrypt/mpi/alpha/README, libgcrypt/mpi/alpha/distfiles, | |
304 | libgcrypt/mpi/alpha/mpih-add1.S, libgcrypt/mpi/alpha/mpih-lshift.S, | |
305 | libgcrypt/mpi/alpha/mpih-mul1.S, libgcrypt/mpi/alpha/mpih-mul2.S, | |
306 | libgcrypt/mpi/alpha/mpih-mul3.S, libgcrypt/mpi/alpha/mpih-rshift.S, | |
307 | libgcrypt/mpi/alpha/mpih-sub1.S, libgcrypt/mpi/alpha/udiv-qrnnd.S, | |
308 | libgcrypt/mpi/amd64/distfiles, libgcrypt/mpi/amd64/mpih-add1.S, | |
309 | libgcrypt/mpi/amd64/mpih-lshift.S, libgcrypt/mpi/amd64/mpih-mul1.S, | |
310 | libgcrypt/mpi/amd64/mpih-mul2.S, libgcrypt/mpi/amd64/mpih-mul3.S, | |
311 | libgcrypt/mpi/amd64/mpih-rshift.S, libgcrypt/mpi/amd64/mpih-sub1.S, | |
312 | libgcrypt/mpi/generic/Manifest, libgcrypt/mpi/generic/distfiles, | |
313 | libgcrypt/mpi/generic/mpi-asm-defs.h, libgcrypt/mpi/generic/mpih-add1.c, | |
314 | libgcrypt/mpi/generic/mpih-lshift.c, libgcrypt/mpi/generic/mpih-mul1.c, | |
315 | libgcrypt/mpi/generic/mpih-mul2.c, libgcrypt/mpi/generic/mpih-mul3.c, | |
316 | libgcrypt/mpi/generic/mpih-rshift.c, libgcrypt/mpi/generic/mpih-sub1.c, | |
317 | libgcrypt/mpi/generic/udiv-w-sdiv.c, libgcrypt/mpi/hppa/README, | |
318 | libgcrypt/mpi/hppa/distfiles, libgcrypt/mpi/hppa/mpih-add1.S, | |
319 | libgcrypt/mpi/hppa/mpih-lshift.S, libgcrypt/mpi/hppa/mpih-rshift.S, | |
320 | libgcrypt/mpi/hppa/mpih-sub1.S, libgcrypt/mpi/hppa/udiv-qrnnd.S, | |
321 | libgcrypt/mpi/hppa1.1/distfiles, libgcrypt/mpi/hppa1.1/mpih-mul1.S, | |
322 | libgcrypt/mpi/hppa1.1/mpih-mul2.S, libgcrypt/mpi/hppa1.1/mpih-mul3.S, | |
323 | libgcrypt/mpi/hppa1.1/udiv-qrnnd.S, libgcrypt/mpi/i386/Manifest, | |
324 | libgcrypt/mpi/i386/distfiles, libgcrypt/mpi/i386/mpih-add1.S, | |
325 | libgcrypt/mpi/i386/mpih-lshift.S, libgcrypt/mpi/i386/mpih-mul1.S, | |
326 | libgcrypt/mpi/i386/mpih-mul2.S, libgcrypt/mpi/i386/mpih-mul3.S, | |
327 | libgcrypt/mpi/i386/mpih-rshift.S, libgcrypt/mpi/i386/mpih-sub1.S, | |
328 | libgcrypt/mpi/i386/syntax.h, libgcrypt/mpi/i586/Manifest, | |
329 | libgcrypt/mpi/i586/README, libgcrypt/mpi/i586/distfiles, | |
330 | libgcrypt/mpi/i586/mpih-add1.S, libgcrypt/mpi/i586/mpih-lshift.S, | |
331 | libgcrypt/mpi/i586/mpih-mul1.S, libgcrypt/mpi/i586/mpih-mul2.S, | |
332 | libgcrypt/mpi/i586/mpih-mul3.S, libgcrypt/mpi/i586/mpih-rshift.S, | |
333 | libgcrypt/mpi/i586/mpih-sub1.S, libgcrypt/mpi/m68k/Manifest, | |
334 | libgcrypt/mpi/m68k/distfiles, libgcrypt/mpi/m68k/mpih-add1.S, | |
335 | libgcrypt/mpi/m68k/mpih-lshift.S, libgcrypt/mpi/m68k/mpih-rshift.S, | |
336 | libgcrypt/mpi/m68k/mpih-sub1.S, libgcrypt/mpi/m68k/syntax.h, | |
337 | libgcrypt/mpi/mips3/Manifest, libgcrypt/mpi/mips3/README, | |
338 | libgcrypt/mpi/mips3/distfiles, libgcrypt/mpi/mips3/mpi-asm-defs.h, | |
339 | libgcrypt/mpi/mips3/mpih-add1.S, libgcrypt/mpi/mips3/mpih-lshift.S, | |
340 | libgcrypt/mpi/mips3/mpih-mul1.S, libgcrypt/mpi/mips3/mpih-mul2.S, | |
341 | libgcrypt/mpi/mips3/mpih-mul3.S, libgcrypt/mpi/mips3/mpih-rshift.S, | |
342 | libgcrypt/mpi/mips3/mpih-sub1.S, libgcrypt/mpi/pa7100/Manifest, | |
343 | libgcrypt/mpi/pa7100/distfiles, libgcrypt/mpi/pa7100/mpih-lshift.S, | |
344 | libgcrypt/mpi/pa7100/mpih-rshift.S, libgcrypt/mpi/pentium4/README, | |
345 | libgcrypt/mpi/pentium4/distfiles, libgcrypt/mpi/power/Manifest, | |
346 | libgcrypt/mpi/power/distfiles, libgcrypt/mpi/power/mpih-add1.S, | |
347 | libgcrypt/mpi/power/mpih-lshift.S, libgcrypt/mpi/power/mpih-mul1.S, | |
348 | libgcrypt/mpi/power/mpih-mul2.S, libgcrypt/mpi/power/mpih-mul3.S, | |
349 | libgcrypt/mpi/power/mpih-rshift.S, libgcrypt/mpi/power/mpih-sub1.S, | |
350 | libgcrypt/mpi/powerpc32/Manifest, libgcrypt/mpi/powerpc32/distfiles, | |
351 | libgcrypt/mpi/powerpc32/mpih-add1.S, | |
352 | libgcrypt/mpi/powerpc32/mpih-lshift.S, | |
353 | libgcrypt/mpi/powerpc32/mpih-mul1.S, | |
354 | libgcrypt/mpi/powerpc32/mpih-mul2.S, | |
355 | libgcrypt/mpi/powerpc32/mpih-mul3.S, | |
356 | libgcrypt/mpi/powerpc32/mpih-rshift.S, | |
357 | libgcrypt/mpi/powerpc32/mpih-sub1.S, libgcrypt/mpi/powerpc32/syntax.h, | |
358 | libgcrypt/mpi/powerpc64/distfiles, libgcrypt/mpi/sparc32/Manifest, | |
359 | libgcrypt/mpi/sparc32/distfiles, libgcrypt/mpi/sparc32/mpih-add1.S, | |
360 | libgcrypt/mpi/sparc32/mpih-lshift.S, | |
361 | libgcrypt/mpi/sparc32/mpih-rshift.S, libgcrypt/mpi/sparc32/udiv.S, | |
362 | libgcrypt/mpi/sparc32v8/Manifest, libgcrypt/mpi/sparc32v8/distfiles, | |
363 | libgcrypt/mpi/sparc32v8/mpih-mul1.S, | |
364 | libgcrypt/mpi/sparc32v8/mpih-mul2.S, | |
365 | libgcrypt/mpi/sparc32v8/mpih-mul3.S, libgcrypt/mpi/supersparc/Manifest, | |
366 | libgcrypt/mpi/supersparc/distfiles, | |
367 | libgcrypt/mpi/supersparc/udiv.S, libgcrypt/mpi/m68k/mc68020/distfiles | |
368 | libgcrypt/mpi/m68k/mc68020/Manifest, | |
369 | libgcrypt/mpi/m68k/mc68020/mpih-mul1.S, | |
370 | libgcrypt/mpi/m68k/mc68020/mpih-mul2.S, | |
371 | libgcrypt/mpi/m68k/mc68020/mpih-mul3.S, | |
372 | libgcrypt/mpi/pentium4/mmx/distfiles, | |
373 | libgcrypt/mpi/pentium4/mmx/mpih-lshift.S, | |
374 | libgcrypt/mpi/pentium4/mmx/mpih-rshift.S, | |
375 | libgcrypt/mpi/pentium4/sse2/distfiles, | |
376 | libgcrypt/mpi/pentium4/sse2/mpih-add1.S, | |
377 | libgcrypt/mpi/pentium4/sse2/mpih-mul1.S, | |
378 | libgcrypt/mpi/pentium4/sse2/mpih-mul2.S, | |
379 | libgcrypt/mpi/pentium4/sse2/mpih-mul3.S, | |
380 | libgcrypt/mpi/pentium4/sse2/mpih-sub1.S: Remove. | |
381 | ||
d9129990 CV |
382 | 2010-03-17 Corinna Vinschen <corinna@vinschen.de> |
383 | ||
384 | * autoload.cc (Auto): Create autoload code in an executable section | |
385 | called .autoload_text to avoid problems with DEP. | |
386 | ||
a3cc7986 CF |
387 | 2010-03-14 Christopher Faylor <me+cygwin@cgf.cx> |
388 | ||
0a4e9289 | 389 | * Makefile.am: Add a setup-src target. |
a3cc7986 | 390 | |
671140f9 CW |
391 | 2010-03-14 Charles Wilson <cygwin@cwilson.fastmail.fm> |
392 | ||
393 | Support xz and lzma decompression via liblzma | |
394 | * Makefile.am: Add -DLZMA_API_STATIC to AM_CPPFLAGS, | |
395 | -lzma to setup_LDADD, and -static-libtool-libs to | |
396 | setup_LDFLAGS. Update setup_SOURCES. | |
397 | * compress.cc: Update includes. | |
398 | (compress::decompress): Use compress_xz rather than | |
399 | compress_lzma; compress_xz supports both xz and lzma | |
400 | decompression. | |
401 | * compress_xz.h: New. | |
402 | * compress_xz.cc: New. | |
403 | * compress_lzma.h: Removed. | |
404 | * compress_lzma.cc: Removed. | |
405 | * lzma-sdk/LzmaDec.c: Removed. | |
406 | * lzma-sdk/LzmaDec.h: Removed. | |
407 | * lzma-sdk/Types.h: Removed. | |
408 | ||
f1c131f2 CV |
409 | 2010-03-13 DJ Delorie <dj@redhat.com> |
410 | ||
411 | * nio-ftp.c (read): Read RETR status code on EOF to avoid | |
412 | deadlock with PASV. | |
413 | ||
08267187 CV |
414 | 2010-03-01 Corinna Vinschen <corinna@vinschen.de> |
415 | ||
416 | * filemanip.cc (mklongpath): Skip "." and ".." path components to | |
417 | avoid error messages. | |
418 | ||
26c8444e CV |
419 | 2010-02-15 Corinna Vinschen <corinna@vinschen.de> |
420 | ||
421 | * filemanip.cc (mklongpath): Simplify backslash folding. | |
422 | ||
6e2c72d0 CV |
423 | 2010-02-15 Corinna Vinschen <corinna@vinschen.de> |
424 | ||
425 | * filemanip.cc (transform_chars): Drop function. | |
426 | (mklongpath): Call mbrtowc in a loop rather than just mbstowcs. | |
427 | Transform characters on the fly. Fold multiple backslashes into one. | |
428 | Drop trailing backslash. | |
429 | ||
7a4e611a DK |
430 | 2010-02-15 Dave Korn <dave.korn.cygwin@gmail.com> |
431 | ||
432 | * choose.cc (ChooserPage::PlaceDialog): Only skip resizing window | |
433 | in fully-unattended mode, not chooser-only mode. | |
434 | (ChooserPage::OnUnattended): Return appropriate status to run page | |
435 | or not according to kind of unattended mode. | |
436 | * choose.h (ChooserPage::OnUnattended): Remove inline implementation | |
437 | and retain prototype only. | |
438 | * main.cc (PackageManagerOption): New boolean option. | |
439 | (main): Take it into account when setting unattended_mode. | |
440 | * proppage.cc (PropertyPage::DialogProc): Use new enum type when | |
441 | setting unattended_mode. | |
442 | * state.cc (unattended_mode): Change from bool to enum attend_mode. | |
443 | * state.h (enum attend_mode): Declare new enum type. | |
444 | (unattended_mode): Update extern declaration to use it. | |
445 | ||
2801c09c CV |
446 | 2010-02-04 Corinna Vinschen <corinna@vinschen.de> |
447 | ||
448 | * win32.cc (NTSecurity::GetPosixPerms): Return NULL security descriptor | |
449 | if is_legacy is set. | |
450 | (NTSecurity::SetPosixPerms): Remove. | |
451 | * win32.h (NTSecurity::GetPosixPerms): Remove declaration. | |
452 | ||
d2a5fdfb CV |
453 | 2010-02-02 Corinna Vinschen <corinna@vinschen.de> |
454 | ||
455 | * desktop.cc (make_link): Use 0 default permissions when creating files | |
456 | and directories. | |
457 | * download.cc (download_one): Ditto. | |
458 | * ini.cc (do_remote_ini): Ditto. | |
459 | * localdir.cc (offer_to_create): Ditto. | |
460 | * filemanip.cc (nt_wfopen): Use Windows default permissions if perms | |
461 | is set to 0. | |
462 | * mkdir.cc (mkdir_p): Ditto if mode is set to 0. | |
463 | ||
b67a5ea0 CF |
464 | 2010-01-29 Christopher Faylor <me+cygwin@cgf.cx> |
465 | ||
466 | * mount.cc (read_mounts_9x): Preserve old way of doing things when | |
467 | is_legacy. | |
468 | ||
558484cc CF |
469 | 2010-01-28 Christopher Faylor <me+cygwin@cgf.cx> |
470 | ||
471 | * desktop.cc (make_link): Preserve old way of doing things when | |
472 | is_legacy. | |
473 | (make_cygwin_bat): Ditto. | |
474 | (save_icon): Ditto. | |
475 | * mount.cc (read_mounts): Ditto. | |
476 | (set_root_dir): Ditto. | |
477 | * root.cc (load_dialog): Ditto. | |
478 | (save_dialog): Ditto. | |
479 | * install.cc (Installer::installOne): Don't install anything if there | |
480 | is no canonical file associated with source. | |
481 | (do_install_thread): Set up old-style registry entries if is_legacy | |
482 | rather than just keying on whether this is Windows NT. | |
483 | * io_stream_file.cc (io_stream_file::exists): Redefine "exists" to mean | |
484 | "it's a file". | |
485 | ||
d0c6ddb9 CF |
486 | 2010-01-16 Christopher Faylor <me+cygwin@cgf.cx> |
487 | ||
488 | * archive_tar.c (archive_tar_file::read): Always set read_something | |
489 | even for zero-length files. | |
490 | ||
bb000e11 CF |
491 | 2010-01-16 Christopher Faylor <me+cygwin@cgf.cx> |
492 | ||
493 | * archive_tar.h (archive_tar_file::read_something): New member. | |
494 | * archive_tar_file.cc (archive_tar_file::archive_tar_file): Don't reset | |
495 | state unless we've actually read something. | |
496 | (archive_tar_file::read): Set read_something variable here to indicate | |
497 | that we've read something from the tar file. | |
498 | ||
7c907c13 CF |
499 | 2010-01-13 Christopher Faylor <me+cygwin@cgf.cx> |
500 | ||
501 | * localdir.cc (LocalDirPage::OnNext): Strip trailing slashes. | |
502 | ||
89216328 CF |
503 | 2009-12-27 Christopher Faylor <me+cygwin@cgf.cx> |
504 | ||
505 | * main.cc (dyn_AttachConsole): Make static. | |
506 | (dyn_GetLongPathName): New variable. | |
507 | (set_dynaddr): New function. | |
508 | (set_cout): Don't set dyn_AttachConsole here. | |
509 | (set_legacy): Don't attempt to call function which does not exist in | |
510 | older versions of NT. | |
511 | (main): Call set_dynaddr to set dynamic load addresses. | |
512 | ||
4ea94dbb CF |
513 | 2009-12-22 Christopher Faylor <me+cygwin@cgf.cx> |
514 | ||
515 | * ini.h: Use is_legacy to control setup.ini names. | |
516 | * main.cc (set_legacy): New function. | |
517 | (main): Call set_legacy with program name to determine if this is | |
518 | supposed to be an installation of the legacy version of cygwin. Issue | |
519 | a warning on attempt to install legacy on Windows NT class system. | |
520 | ||
84b04515 CF |
521 | 2009-12-22 Christopher Faylor <me+cygwin@cgf.cx> |
522 | ||
523 | * package_message (packagemessage::display): Avoid displaying a message | |
524 | when in unattended mode. | |
525 | ||
4d10ec8c CV |
526 | 2009-12-22 Corinna Vinschen <corinna@vinschen.de> |
527 | ||
528 | * win32.h (isdirsep): Define to replace local isslash definitions. | |
529 | * UserSettings.cc (UserSettings::open_settings): Remove isslash. | |
530 | Use isdirsep instead of isslash. | |
531 | * filemanip.cc (mklongpath): Ditto. | |
532 | * root.cc (directory_is_rootdir): Ditto. | |
533 | * localdir.cc (LocalDirSetting::save): Avoid consecutive backslashes | |
534 | in setup log file paths. | |
535 | * main.cc (main): Ditto. | |
536 | ||
e305f965 CF |
537 | 2009-12-21 Christopher Faylor <me+cygwin@cgf.cx> |
538 | ||
539 | * choose.cc (ChooserPage::PlaceDialog): Put *correct* size in | |
540 | WINDOWPLACEMENT length field. | |
541 | ||
26922cd2 CV |
542 | 2009-12-18 Corinna Vinschen <corinna@vinschen.de> |
543 | ||
544 | Throughout, revert prototypes and methods set_mtime_and_mode to | |
545 | set_mtime and only care for the file timestamp. | |
546 | ||
547 | Throughout, accommodate additional mode_t parameter in call to | |
548 | io_stream::open. | |
549 | ||
550 | * IOStreamProvider.h (IOStreamProvider::open): Add mode_t parameter. | |
551 | * archive.cc (archive::extract_file): Reorder creation of in and tmp | |
552 | to get the file mode from the tar archive earlier. Call io_stream::open | |
553 | with additional mode from tar archive. Accommodate reversion to | |
554 | set_mtime. | |
555 | * filemanip.cc (nt_wfopen): Remove retry loop. Instead initialize | |
556 | OBJECT_ATTRIBUTES with matching POSIX perms according to incoming | |
557 | perms to create correct ACL on file creation. Remove subsequent call | |
558 | to nt_sec.SetPosixPerms. | |
559 | * io_stream.cc (io_stream::open): Take additional mode_t parameter | |
560 | and connect through to IOStreamProvider's open. | |
561 | * io_stream.h (io_stream::open): Add mode_t parameter. | |
562 | * io_stream_cygfile.cc (CygFileProvider::open): Ditto. | |
563 | (io_stream_cygfile::io_stream_cygfile): Ditto. Call nt_wfopen with | |
564 | incoming mode_t parameter. Make sure .exe and .dll files always | |
565 | have execute permissions set. | |
566 | (io_stream_cygfile::set_mtime): Remove retry loop and open file with | |
567 | just GENERIC_WRITE access. | |
568 | * io_stream_cygfile.h (io_stream_cygfile::io_stream_cygfile): Add mode_t | |
569 | parameter. | |
570 | * io_stream_file.cc (FileProvider::open): Ditto. | |
571 | (io_stream_file::io_stream_file): Ditto. Call nt_wfopen with incoming | |
572 | mode_t parameter. | |
573 | * io_stream_file.h (io_stream_file::io_stream_file): Add mode_t | |
574 | parameter. | |
575 | * io_stream_memory.h (class io_stream_memory): Remove mode member. | |
576 | Just return 0 from get_mode. | |
577 | * mkdir.cc (mkdir_p): Remove retry loop. Instead initialize | |
578 | OBJECT_ATTRIBUTES with matching POSIX perms according to incoming | |
579 | perms to create correct ACL on file creation. Remove subsequent call | |
580 | to nt_sec.SetPosixPerms. | |
581 | * mklink2.cc (mkcygsymlink_nt): Remove retry loop. Instead initialize | |
582 | SECURITY_ATTRIBUTES with matching POSIX perms to create correct ACL on | |
583 | file creation. | |
584 | * win32.cc (NTSecurity::GetPosixPerms): New function to generate | |
585 | POSIX ACL. Default to current owner and current primary group for | |
586 | owner/group permissions. | |
587 | (NTSecurity::SetPosixPerms): Let GetPosixPerms create the DACL. | |
588 | (NTSecurity::setAdminGroup): Set groupSID to admins SID if successful. | |
589 | (NTSecurity::setDefaultSecurity): Store user SID in ownerSID member. | |
590 | Default groupSID to original primary group. | |
591 | * win32.h (struct acl_t): Define here. | |
592 | (class NTSecurity): Rename ownerSID and groupSID to cr_ownerSID and | |
593 | cr_groupSID. Change throughout. Add members ownerSID and groupSID. | |
594 | Declare new method GetPosixPerms. | |
595 | ||
7a332fb8 CV |
596 | 2009-12-17 Corinna Vinschen <corinna@vinschen.de> |
597 | ||
598 | * filemanip.cc (nt_wfopen): Only call nt_sec.SetPosixPerms if we have | |
599 | WRITE_DAC access. | |
600 | * mkdir.cc (mkdir_p): Ditto. | |
601 | ||
21aa9a8b CV |
602 | 2009-12-17 Corinna Vinschen <corinna@vinschen.de> |
603 | ||
604 | * filemanip.cc (nt_wfopen): Fix requested access rights. Retry | |
605 | without WRITE_DAC access on access denied. Add comment. | |
606 | * io_stream_cygfile.cc (io_stream_cygfile::set_mtime_and_mode): Ditto. | |
607 | * mkdir.cc (mkdir_p): Ditto. | |
608 | * mklink2.cc (mkcygsymlink_nt): Ditto. | |
609 | ||
c459d893 CV |
610 | 2009-12-17 Corinna Vinschen <corinna@vinschen.de> |
611 | ||
612 | * localdir.cc (LocalDirSetting::save): Call mkdir_p with isadir set | |
613 | since /var/log is a dir. | |
614 | ||
32049a60 CV |
615 | 2009-12-16 Corinna Vinschen <corinna@vinschen.de> |
616 | ||
617 | * UserSettings.cc (UserSettings::open_settings): Never add more than | |
618 | one slash. | |
619 | * filemanip.cc (tfx_chars): Align to Cygwin's transformation table. | |
620 | * localdir.cc (LocalDirSetting::save): Call mkdir_p with DOS path. | |
621 | ||
ab9a95fc CF |
622 | 2009-12-16 Christopher Faylor <me+cygwin@cgf.cx> |
623 | ||
624 | * package_message.h: New file. | |
625 | ||
f38044ff CF |
626 | 2009-12-13 Christopher Faylor <me+cygwin@cgf.cx> |
627 | ||
628 | * IniDBBuilder.h (buildMessage): Define for base class. | |
629 | * IniDBBuilderPackage.cc (IniDBBuilderPackage::buildMessage): Define. | |
630 | * IniDBBuilderPackage.h (IniDBBuilderPackage::buildMessage): Declare. | |
631 | * PickPackageLine.cc: Pass pointer to package to "pick" throughout, | |
632 | where appropriate. | |
633 | * PickView.cc: Ditto. | |
634 | * install.cc: Ditto. | |
635 | * package_meta.cc: Ditto. | |
636 | * prereq.cc: Ditto. | |
637 | * package_version.cc: Ditto. | |
638 | (packageversion::pick): Add pkg pointer as second argument. Display | |
639 | message where appropriate. | |
640 | * package_version.h (packageversion::pick): Add pkg pointer as second | |
641 | argument. | |
642 | * package_meta.h (packagemeta::mesage): Define. | |
643 | (packagemeta::set_message): Define. | |
644 | * inilex.ll: Properly return MESSAGE token. | |
645 | * iniparse.yy: Handle message: keyword. | |
646 | ||
cc7a5bf5 DK |
647 | 2009-12-08 Dave Korn <dave.korn.cygwin@gmail.com> |
648 | ||
649 | * localdir.cc (offer_to_create): New function. | |
650 | (browse_cb): Handle selection changed and validate failed | |
651 | callbacks, and call offer_to_create where appropriate. | |
652 | (browse): Set new dialog style flags in browser info. | |
653 | (LocalDirPage::OnNext): Replace call to mkdir_p with offer to | |
654 | create or error message dialog display, allow proceeding to | |
655 | chooser even if local dir does not exist in unattend mode or | |
656 | if user insists, and fix small memory leak. | |
657 | ||
658 | * res.rc (IDS_MAYBE_MKDIR, IDS_CANT_MKDIR, IDS_NO_CWD): Define new | |
659 | string resources. | |
660 | * resource.h (IDS_MAYBE_MKDIR, IDS_CANT_MKDIR, IDS_NO_CWD): Define | |
661 | corresponding resource ID numbers. | |
662 | ||
a5405502 CV |
663 | 2009-12-03 Corinna Vinschen <corinna@vinschen.de> |
664 | ||
665 | * main.cc (WinMain): Disable running on Windows 9x. Show message box | |
666 | instead and exit. | |
667 | ||
98756d2f DK |
668 | 2009-12-03 Dave Korn <dave.korn.cygwin@gmail.com> |
669 | ||
670 | (ChooserPage::createListview): When nothing is found in the "All" | |
671 | category, pass an empty static dummy category object to the PickView | |
672 | constructor, instead of trying to dereference not-found iterator. | |
673 | ||
f72d5840 CV |
674 | 2009-11-23 Corinna Vinschen <corinna@vinschen.de> |
675 | ||
676 | * io_stream_cygfile.cc (io_stream_cygfile::get_size): Don't try to | |
677 | close invalid handle. | |
678 | * io_stream_file.cc (io_stream_file::get_size): Ditto | |
679 | ||
e1751ab2 DK |
680 | 2009-11-22 Dave Korn <dave.korn.cygwin@gmail.com> |
681 | ||
682 | * threebar.cc (ThreeBarProgressPage::OnMessageApp): Don't loop forever | |
683 | retrying ini file download/parse if it errors in unattended mode. | |
684 | ||
513f7781 DK |
685 | 2009-11-22 Dave Korn <dave.korn.cygwin@gmail.com> |
686 | ||
687 | * package_meta.cc (CategoryOption): New StringOption for '-C'. | |
688 | (parseNames): New helper subroutine abstracts string parsing from ... | |
689 | (packagemeta::isManuallyWanted): Use it, and check for category names | |
690 | from CategoryOption as well as individual package names. | |
691 | * package_db.cc (packagedb::fillMissingCategory): Don't check for | |
692 | manually-wanted packages until after initialising all the categories. | |
693 | ||
2b94fe1e DK |
694 | 2009-11-04 Dave Korn <dave.korn.cygwin@gmail.com> |
695 | ||
696 | * localdir.cc (LocalDirSetting::LocalDirSetting): Restore -l option. | |
697 | ||
da434346 DK |
698 | 2009-11-04 Dave Korn <dave.korn.cygwin@gmail.com> |
699 | ||
700 | * site.cc: Add #include of BoolOption header from libgetopt. | |
701 | (OnlySiteOption): New BoolOption for command-line -O option. | |
702 | (get_site_list): Respect BoolOption by not downloading mirror | |
703 | list, nor using nor updating cached mirrors. | |
704 | ||
c7c7a4e0 DK |
705 | 2009-11-04 Dave Korn <dave.korn.cygwin@gmail.com> |
706 | ||
707 | * download.cc (do_download_thread): Only retry an incomplete download | |
708 | a limited number of times in unattended mode. | |
709 | ||
9e11837b DK |
710 | 2009-11-04 Dave Korn <dave.korn.cygwin@gmail.com> |
711 | ||
712 | * main.cc (main_display): Use apartment-, not multi- threading model | |
713 | when initialiseing COM. | |
714 | ||
64cf790e CV |
715 | 2009-11-04 Corinna Vinschen <corinna@vinschen.de> |
716 | ||
717 | * localdir.cc (browse): Make title text depend on what we do. | |
718 | (LocalDirPage::OnNext): If we plan to download, try to create directory | |
719 | before cd'ing into it. | |
720 | ||
89cc2408 CV |
721 | 2009-11-03 Corinna Vinschen <corinna@vinschen.de> |
722 | ||
723 | * mkdir.cc: Include sys/stat.h unconditionally. | |
724 | (mkdir_p): Add S_IFDIR flag in call to nt_sec.SetPosixPerms. | |
725 | * win32.cc: Include sys/stat.h. | |
726 | (NTSecurity::SetPosixPerms): Add CREATOR OWNER, CREATOR GROUP, and | |
727 | Everyone inheritance-only entries when setting a directory DACL. | |
728 | (NTSecurity::initialiseWellKnownSIDs): Create SIDs for CREATOR OWNER and | |
729 | CREATOR GROUP. | |
730 | * win32.h (class NTSecurity): Add members ownerSID and groupSID. | |
731 | ||
3e805913 CV |
732 | 2009-10-03 Andy Koppe <andy.koppe@gmail.com> |
733 | ||
734 | * main.cc (main): Make sure C runtime uses same codepage as GUI. | |
735 | ||
0188fce5 CF |
736 | 2009-09-20 Christopher Faylor <me+cygwin@cgf.cx> |
737 | ||
738 | * main (set_cout): Really do attach to a console if stdout is "bad". | |
739 | ||
8bc8a102 CF |
740 | 2009-09-18 Andy Koppe <andy.koppe@gmail.com> |
741 | ||
742 | * root.cc (string orig_root_dir): New variable. | |
743 | (check_if_enable_next): Show warning against installing Cygwin into | |
744 | disk root only if the root directory has actually been changed. | |
745 | * res.rc: Make the root dir warning a bit more meaningful, and refrain | |
746 | from using uppercase. | |
747 | ||
748 | 2009-09-18 Christopher Faylor <me+cygwin@cgf.cx> | |
749 | ||
750 | * choose.cc (ChooserPage::OnBack): Revert to non-maximized when | |
751 | returning to mirror from package selection. | |
752 | ||
ca09f44c DK |
753 | 2009-09-18 Dave Korn <dave.korn.cygwin@gmail.com> |
754 | ||
755 | * site.cc (get_site_list): Use empty string if user settings | |
756 | return NULL pointer for cached mirrors list. | |
757 | (SiteSetting::getSavedSites): Do nothing if user settings return | |
758 | NULL pointer for last mirror URL. | |
759 | ||
83ab685b CF |
760 | 2009-08-21 Christopher Faylor <me+cygwin@cgf.cx> |
761 | ||
762 | * site.cc (SiteSetting::registerSavedSite): Fix comment. | |
763 | ||
0cbac692 CF |
764 | 2009-07-03 Christopher Faylor <me+cygwin@cgf.cx> |
765 | ||
766 | * main.cc (set_cout): Don't reset stdout if we already have a stdout. | |
767 | ||
7411af0f CF |
768 | 2009-07-03 Christopher Faylor <me+cygwin@cgf.cx> |
769 | ||
770 | * choose.cc (ChooserPage::ChooserPage): Use more specific name for | |
771 | saving window settings. | |
772 | (ChooserPage::~ChooserPage): Ditto. | |
773 | ||
0baffe9a DK |
774 | 2009-07-01 Dave Korn <dave.korn.cygwin@gmail.com> |
775 | ||
776 | * PickView.h (PickView::total_delta_x): New int member. | |
777 | (PickView::set_header_column_order): Add prototype. | |
778 | * PickView.cc (PickView::set_header_column_order): New function, | |
779 | broken out from ... | |
780 | (PickView::set_headers): ... here. Call it. | |
781 | (PickView::init_headers): Apply total_delta_x to last_col width. | |
782 | (PickView::PickView): Initialise new total_delta_x member to zero. | |
783 | (PickView::WindowProc): Use set_header_column_order to find and | |
784 | adjust final column for both sets of headers. | |
785 | ||
ca2b7505 CF |
786 | 2009-06-29 Christopher Faylor <me+cygwin@cgf.cx> |
787 | ||
788 | * SourceSetting.cc (SourceSetting::SourceSetting): Restore proper | |
789 | remembrane of last source setting. | |
790 | * choose.cc (ChooserPage::ChooserPage): Potentially retrieve dialog | |
791 | placement info. | |
792 | (ChooserPage::~ChooserPage): Save geometry settings if the user moved | |
793 | or resized the page. | |
794 | (ChooserPage::PlaceDialog): Rename from MaximizeDialog. Accommodate | |
795 | changed user placement settings. | |
796 | (ChooserPage::OnActivate): MaximizeDialog -> PlaceDialog. | |
797 | (ChooserPage::OnNext): Ditto. | |
798 | * choose.h (ChooserPage::~ChooserPage): Define. | |
799 | (ChooserPage::cmd_show): Delete. | |
800 | (ChooserPage::saved_geom): New field. | |
801 | (ChooserPage::window_placement): Ditto. | |
802 | (ChooserPage::pre_chooser_placement): Ditto. | |
803 | (ChooserPage::PlaceDialog): Rename from MaximizeDialog. | |
804 | ||
7c863922 CF |
805 | 2009-06-28 Christopher Faylor <me+cygwin@cgf.cx> |
806 | ||
807 | * ConnectionSetting.cc (ConnectionSetting::ConnectionSetting): Remove | |
808 | old code which no longer makes sense when run from a constructor. | |
809 | * SourceSetting.cc (SourceSetting::SourceSetting): Ditto. | |
810 | * localdir.cc (LocalDirSetting::LocalDirSetting): Ditto. Fix typo | |
811 | which caused saved settings to be ignored. | |
812 | ||
127febea CF |
813 | 2009-06-28 Christopher Faylor <me+cygwin@cgf.cx> |
814 | ||
815 | * UserSettings.cc (UserSettings::UserSettings): settings.rc -> setup.rc. | |
816 | ||
e36b0f1e CV |
817 | 2009-06-28 Corinna Vinschen <corinna@vinschen.de> |
818 | ||
819 | * desktop.cc (DesktopSetupPage::OnInit): Drop CoInitialize call here. | |
820 | * main.cc (main_display): Use InitCommonControlsEx rather than | |
821 | InitCommonControls per MSDN. Call CoInitializeEx and create IShellLink | |
822 | instance here to workaround a problem on Windows 7. Release IShellLink | |
823 | instance and call CoUninitialize on exit. | |
824 | * mklink.cc (sl): Change to global variable. Drop call to | |
825 | CoCreateInstance here. Check if sl is valid before using it. | |
826 | ||
f26f525f CF |
827 | 2009-06-27 Christopher Faylor <me+cygwin@cgf.cx> |
828 | ||
829 | Preliminary option handling revamp. | |
830 | Throughout, change load/save methods to constructors/destructors which | |
831 | use new UserSettings methods. Do not inherit from UserSetting class. | |
832 | * KeysSetting.cc (ExtraKeysSetting *ExtraKeysSetting::global): Define. | |
833 | (ExtraKeysSetting::ExtraKeysSetting): Initialize some class members use | |
834 | new UserSettings methods. | |
835 | (ExtraKeysSetting::~ExtraKeysSetting): Use new UserSettings method. | |
836 | * Makefile.am (setup_SOURCES): Eliminate UserSetting.h and | |
837 | UserSetting.cc. | |
838 | * UserSettings.cc: Complete rewrite. Implements new UserSettings | |
839 | class methods. | |
840 | * UserSettings.h: Complete rewrite. Defines new UserSettings class | |
841 | methods. | |
842 | * crypto.cc (ExtraKeys): Delete. | |
843 | (add_key_from_sexpr): Use ExtraKeysSetting::instance rather than | |
844 | ExtraKeys. | |
845 | (verify_ini_file_sig): Ditto. | |
846 | * io_stream.h (io_stream): Define virtual << operators. | |
847 | * localdir.cc (localDir): Delete. | |
848 | * main.cc: Include headers which declar new dynamically invoked | |
849 | classes. | |
850 | (main_display): New function. Controls order of option setting and | |
851 | property page setup. Add new class invocations to force option setting | |
852 | initializtion. | |
853 | (main): Invoke new UserSettings class constructor to populate new | |
854 | settings class. Call main_display() to do most of the setup work. | |
855 | Call Settings.save () to save all settings. | |
856 | * net.cc (theSetting): Delete. | |
857 | * site.cc (SiteSetting::save): Record whether we've saved the | |
858 | information already. | |
859 | (get_site_list): Just use value returned from new UserSettings method | |
860 | rather than parsing a file. | |
861 | (SiteSetting::getSavedSites): Ditto. | |
862 | (write_cache_list): Use UserSettings operator to store mirror cache. | |
863 | (save_cache_file): Ditto. | |
864 | * source.cc (theSetting): Delete. | |
865 | ||
866 | * win32.h: gcc-4 accommodation. | |
867 | ||
9d0a3d8a DK |
868 | 2009-06-26 Dave Korn <dave.korn.cygwin@gmail.com> |
869 | ||
870 | * res.rc (SETUP_STANDARD_DIALOG_W, SETUP_STANDARD_DIALOG_H, | |
871 | SETUP_SMALL_DIALOG_W, SETUP_SMALL_DIALOG_H): Add constant defines | |
872 | for dialog sizes. | |
873 | (SETUP_STANDARD_DIALOG_DIMS, SETUP_SMALL_DIALOG_DIMS): Add helper | |
874 | macros for (W,H) pairs of dimensions. | |
875 | (SETUP_HEADICON_X): New global constant define. | |
876 | (IDD_SOURCE, IDD_VIRUS, IDD_LOCAL, IDD_ROOT, IDD_SITE, IDD_NET, | |
877 | IDD_INSTATUS, IDD_PROXY_AUTH, IDD_NET_AUTH, IDD_DESKTOP, | |
878 | IDD_FTP_AUTH DIALOG, IDD_DROPPED): Use the above for dialog sizes, | |
879 | horizontal rules and icon positioning. | |
880 | (SETUP_KPCE_W): New define for radio-button size. | |
881 | (SETUP_VIEWCAP_W, SETUP_VIEWCAP_X, SETUP_VIEW_W, SETUP_VIEW_X, | |
882 | SETUP_EXP_X, SETUP_CURR_X, SETUP_PREV_X, SETUP_KEEP_X): Add defines | |
883 | for right-aligned controls. | |
884 | (SETUP_SEARCH_X, SETUP_SEARCH_W, SETUP_SEARCHTEXT_X, | |
885 | SETUP_SEARCHTEXT_W, SETUP_CLEAR_X, SETUP_CLEAR_W): Likewise defines | |
886 | for left-aligned controls. | |
887 | (IDD_CHOOSE): Use all the above, and reformat with whitespace | |
888 | between args for clarity. | |
889 | ||
1789ef54 CV |
890 | 2009-06-26 Corinna Vinschen <corinna@vinschen.de> |
891 | ||
892 | * Makefile.am (setup_LDADD): Add -lshlwapi. | |
893 | * PickView.cc: Include shlwapi.h. | |
894 | (PickView::setViewMode): Compare package name with search string | |
895 | case-insensitive. | |
896 | (PickView::insert_category): Ditto. | |
897 | ||
557b4e65 CV |
898 | 2009-06-26 Corinna Vinschen <corinna@vinschen.de> |
899 | ||
900 | * script.cc (init_run_script): Don't set $HOME to /tmp. It breaks | |
901 | mkpasswd -c. | |
902 | ||
46cf12cd CV |
903 | 2009-06-25 Corinna Vinschen <corinna@vinschen.de> |
904 | ||
905 | * script.cc (init_run_script): Reinstantiate accidentally removed | |
906 | setting of sh. | |
907 | ||
b56d411d CF |
908 | 2009-06-22 Christopher Faylor <me+cygwin@cgf.cx> |
909 | ||
910 | * script.cc (init_run_script): Revert to initializing cmd based on OS | |
911 | type. | |
912 | ||
c14feb84 CV |
913 | 2009-06-22 Corinna Vinschen <corinna@vinschen.de> |
914 | ||
915 | * script.cc (Script::run): Start bash without -c option. | |
916 | ||
00fa5f6c CF |
917 | 2009-06-20 Christopher Faylor <me+cygwin@cgf.cx> |
918 | ||
919 | * threebar.cc (ThreeBarProgressPage::ins_dialog): Move variable to more | |
920 | appropriate class. | |
921 | (ThreeBarProgressPage::MaximizeDialog): Move function to more | |
922 | appropriate class. | |
923 | (ThreeBarProgressPage::OnMessageApp): Remove MaximizeDialog calls. | |
924 | * threebar.h: Remove maximize handling. | |
925 | * choose.cc (ChooserPage::ins_dialog): New variable. | |
926 | (ChooserPage::MaximizeDialog): New function. | |
927 | (ChooserPage::ChooserPage): Remove unneeded handling of nCmdShow. | |
928 | (ChooserPage::OnActivate): Maximize chooser page via MaximizeDialog. | |
929 | (ChooserPage::OnNext): Revert chooser page to normal before returning. | |
930 | * main.cc (main): Don't pass cmd_show to ChooserPage. | |
931 | * propsheet.cc (PropSheetProc): Accommodate change in class for | |
932 | SetHwndDialog. | |
933 | ||
5a85457b CF |
934 | 2009-06-20 Christopher Faylor <me+cygwin@cgf.cx> |
935 | ||
936 | * script.cc (shells): Delete. | |
937 | (cmd): Just assign to "cmd.exe" since we're always running on NT now. | |
938 | (sanitize_PATH ): New function. | |
939 | (init_run_script): Ensure that we're only called once. Strip | |
940 | environment of non-pertinent stuff. Call sanitize_PATH to remove | |
941 | non-standard stuff from the PATH. Set up a few standard environment | |
942 | variables. | |
943 | ||
b0bb51b4 CV |
944 | 2009-06-16 Corinna Vinschen <corinna@vinschen.de> |
945 | ||
946 | * mount.cc (create_install_root): Don't load mount table again. | |
947 | (read_mounts_nt): Don't break loop, rather continue when not being | |
948 | able to open "Cygwin" registry key. | |
949 | ||
ed1f007a CF |
950 | 2009-06-03 Ralph Hempel <rhempel@bmts.com> |
951 | ||
952 | * source.cc: Add support for both -D and -L on the command line. | |
953 | ||
7cb7c06e CV |
954 | 2009-06-03 Corinna Vinschen <corinna@vinschen.de> |
955 | ||
956 | * filemanip.cc (unlink): Rename from DeleteFileW. Take additional | |
957 | parameter to indicate file type to unlink. Use in flags given to | |
958 | NtCreateFile. | |
959 | (DeleteFileW): Just call unlink from here with FILE_NON_DIRECTORY_FILE | |
960 | flag. | |
961 | (RemoveDirectoryW): Ditto with FILE_DIRECTORY_FILE flag. | |
962 | ||
1eb4caec CW |
963 | 2009-05-30 Charles Wilson <cygwin@cwilson.fastmail.fm> |
964 | ||
965 | * script.cc (Script::run): Really start bash with --norc | |
966 | --noprofile options. | |
967 | ||
b7940eb5 CV |
968 | 2009-05-13 Corinna Vinschen <corinna@vinschen.de> |
969 | ||
970 | * script.cc (Script::run): Start bash with --norc --noprofile options. | |
971 | ||
94f52d39 CV |
972 | 2009-05-13 Corinna Vinschen <corinna@vinschen.de> |
973 | ||
974 | * filemanip.cc (struct _FILE_RENAME_INFORMATION): Remove definition. | |
975 | * io_stream_cygfile.cc (io_stream_cygfile::io_stream_cygfile): Set | |
976 | default permission for .exe files to 0755. | |
977 | (io_stream_cygfile::mklink): Try to create real hardlink first. Add | |
978 | comment. | |
979 | * mklink2.cc (mkcyghardlink): New function to create real hardlink. | |
980 | * mklink2.h (mkcyghardlink): Declare. | |
981 | * mount.cc (from_fstab_line): Set got_usr_bin and got_usr_lib flags | |
982 | if /usr/bin and /usr/lib mount points exist in /etc/fstab. | |
983 | (add_usr_mnts): Only create mounts if corresponding got_usr_bin and | |
984 | got_usr_lib flags are not set. | |
985 | (read_mounts_nt): Initialize got_usr_bin and got_usr_lib to false. | |
986 | Always call add_usr_mnts, even if from_fstab succeeded. | |
987 | * ntdll.h: Include ddk/ntifs.h. | |
988 | ||
b4473ece CV |
989 | 2009-05-12 Corinna Vinschen <corinna@vinschen.de> |
990 | ||
991 | * filemanip.cc (GetFileAttributesW): Add accidentally omited | |
992 | OBJ_CASE_INSENSITIVE when creating OBJECT_ATTRIBUTES. | |
993 | (SetFileAttributesW): Ditto. | |
994 | (MoveFileW): Ditto. | |
995 | (DeleteFileW): Ditto. | |
996 | (RemoveDirectoryW): Ditto. | |
997 | (nt_wfopen): Ditto. | |
998 | ||
e0fd9bd3 CF |
999 | 2009-05-11 Bryan Thrall <bryan.thrall@flightsafety.com> |
1000 | ||
1001 | * localdir.cc (load_dialog): Choose description string based on install | |
1002 | type. | |
1003 | * res.rc (IDD_LOCAL_DIR): Replace static description text with | |
1004 | IDC_LOCAL_DIR_DESC. | |
1005 | * resource.h (IDS_LOCAL_DIR_DOWNLOAD): New string resource id. | |
1006 | (IDS_LOCAL_DIR_INSTALL): Likewise. | |
1007 | (IDC_LOCAL_DIR_DESC): New text control resource id. | |
1008 | ||
1009 | 2009-05-11 Christopher Faylor <me+cygwin@cgf.cx> | |
1010 | ||
1011 | * main.cc (set_cout): Simplify code a little. | |
1012 | ||
18d74072 CV |
1013 | 2009-05-11 Bryan Thrall <bryan.thrall@flightsafety.com> |
1014 | ||
1015 | * choose.cc (ChooserPage::OnMessageCmd): Clear search filter when | |
1016 | clear button clicked. | |
1017 | * res.rc (IDD_CHOOSE_DIALOG): Add IDC_CHOOSE_CLEAR_SEARCH button. | |
1018 | * resource.h (IDC_CHOOSE_CLEAR_SEARCH): New button resource ID. | |
1019 | ||
6dcfeb7d CV |
1020 | 2009-05-11 Corinna Vinschen <corinna@vinschen.de> |
1021 | ||
1022 | * UserSettings.cc (UserSettings::settingFileForLoad): Fix local load | |
1023 | path strings. | |
1024 | (UserSettings::settingFileForSave): Never store in cwd. | |
1025 | * autoload.c (ntdll): Autoload ntdll.dll functions here. | |
1026 | * desktop.cc (make_cygwin_bat): Use GetFileAttributesW rather than | |
1027 | _waccess. Use nt_wfopen instead of _wfopen. | |
1028 | (save_icon): Ditto. | |
1029 | * filemanip.cc (get_file_size): Call io_stream::open with empty mode | |
1030 | string to avoid opening file twice. | |
1031 | (GetFileAttributesW): New function to replace Win32 function with | |
1032 | equivalent function opening files with backup intent. | |
1033 | (SetFileAttributesW): Ditto. | |
1034 | (MoveFileW): Ditto. | |
1035 | (DeleteFileW): Ditto. | |
1036 | (RemoveDirectoryW): Ditto. | |
1037 | (nt_wfopen): New function to replace _wfopen with equivalent function | |
1038 | opening files with backup intent. | |
1039 | * filemanip.h (nt_wfopen): Declare. | |
1040 | * io_stream_cygfile.cc (io_stream_cygfile::io_stream_cygfile): Initalize | |
1041 | lasterr to 0. Allow empty mode and don't open file, if so. Call | |
1042 | nt_wfopen rather than _wfopen. | |
1043 | (io_stream_cygfile::exists): Use GetFileAttributesW rather than | |
1044 | _waccess. | |
1045 | (io_stream_cygfile::get_size): Use CreateFileW/GetFileSize to get | |
1046 | file size on NT. | |
1047 | * io_stream_file.cc (io_stream_file::io_stream_file): Initalize lasterr | |
1048 | to 0. Allow empty mode and don't open file, if so. Call nt_wfopen | |
1049 | rather than _wfopen. | |
1050 | (io_stream_file::exists): Use GetFileAttributesW rather than _waccess. | |
1051 | (io_stream_file::remove): Don't try to remove non-existant file. | |
1052 | (io_stream_file::get_size): Use CreateFileW/GetFileSize to get | |
1053 | file size on NT. Add comment to keep track of 2GB border. | |
1054 | * mkdir.cc: Remove function pointers for ntdll functions. | |
1055 | (init_ntfuncs): Remove function. | |
1056 | (mkdir_p): Drop call to init_ntfuncs. Call ntdll functions directly | |
1057 | rather than over local function pointers. | |
1058 | * ntdll.h: New file. | |
1059 | * postinstall.cc (do_postinstall_reflector): Switch to admins group | |
ca2b7505 | 1060 | as primary group after postinstall scripts have been written. |
6dcfeb7d CV |
1061 | Explain why. |
1062 | (do_postinstall): Add comment. | |
1063 | * res.rc: Bump copyright date. | |
1064 | * win32.h (class TokenGroupCollection): Remove. | |
1065 | * win32.cc (TokenGroupCollection::populate): Remove. | |
1066 | (TokenGroupCollection::find): Remove. | |
1067 | (NTSecurity::setDefaultSecurity): Drop reading token groups. Just | |
1068 | try to switch to admins group as primary group. | |
1069 | ||
4b47445f CV |
1070 | 2009-05-07 Corinna Vinschen <corinna@vinschen.de> |
1071 | ||
1072 | * package_db.cc (ConnectedLoopFinder::doIt): Revert patch from | |
1073 | 2008-08-29. Add dumb hardcoded algorithm to make sure base-cygwin | |
1074 | and base-passwd are always the first packages in the postinstall | |
1075 | executable order. | |
1076 | ||
8752dea2 CV |
1077 | 2009-05-06 Corinna Vinschen <corinna@vinschen.de> |
1078 | ||
1079 | * install.cc (Installer::StandardDirs): Add /home with 1777 perms. | |
1080 | * main.cc (main): Drop setting $CYGWIN to nontsec. | |
1081 | ||
059906b3 DK |
1082 | 2009-04-24 Andrew Punch <andrew@magneticbooks.com.au> |
1083 | ||
1084 | * PickView.h: Add #include <string>. | |
1085 | (PickView::SetPackageFilter): Add new function. | |
1086 | (PickView::packageFilterString): Add new string data member. | |
1087 | * PickView.cc (PickView::setViewMode): Use it to filter names. | |
1088 | (PickView::insert_category): Likewise. | |
1089 | (PickView::PickView): Initialise packageFilterString to blank. | |
1090 | * res.rc (IDD_CHOOSE): Add IDC_CHOOSE_SEARCH_EDIT and | |
1091 | IDC_CHOOSE_SEARCH_LABEL controls. | |
1092 | (IDS_SEARCH_TOOLTIP): Add new string resource. | |
1093 | * resource.h (IDS_SEARCH_TOOLTIP): New string resource ID. | |
1094 | (IDC_CHOOSE_SEARCH_EDIT): New edit control ID. | |
1095 | (IDC_CHOOSE_SEARCH_LABEL): Mew static text control ID. | |
1096 | * choose.cc (ChooserControlsInfo[]): Add IDC_CHOOSE_SEARCH_LABEL | |
1097 | and IDC_CHOOSE_SEARCH_EDIT controls to auto-resize list. | |
1098 | (ChooserPage::OnInit): Add tooltip to search edit box. | |
1099 | (ChooserPage::OnMessageCmd): Handle EN_CHANGE event from | |
1100 | IDC_CHOOSE_SEARCH_EDIT. | |
1101 | ||
6bfd5236 DK |
1102 | 2009-04-24 Dave Korn <dave.korn.cygwin@gmail.com> |
1103 | ||
1104 | * propsheet.cc (PropSheetWndProc): Re-enable hasMinRect. | |
1105 | ||
d29a864d CV |
1106 | 2009-04-23 Corinna Vinschen <corinna@vinschen.de> |
1107 | ||
1108 | * win32.h (NTSecurity::primaryGroupSID): Convert to a structure for | |
1109 | direct usage in GetTokenInformation. | |
1110 | (NTSecurity::osid): Remove. | |
1111 | (NTSecurity::setAdminGroup): Declare. | |
1112 | * win32.cc (NTSecurity::resetPrimaryGroup): Accommodate change to | |
1113 | primaryGroupSID. Add log output. | |
1114 | (NTSecurity::setAdminGroup): New method. | |
1115 | (NTSecurity::setDefaultSecurity): Use local structures for getting | |
1116 | TOKEN_USER and setting TOKEN_OWNER information. Accommodate change to | |
1117 | primaryGroupSID. Slightly enhance log output. | |
1118 | Only set primary group to Administrators group when installing for | |
1119 | all users. Call setAdminGroup to do it. | |
1120 | ||
770e3aed CV |
1121 | 2009-04-22 Corinna Vinschen <corinna@vinschen.de> |
1122 | ||
1123 | * mklink2.cc (mkcygsymlink_nt): Allow 4K chars in symlink. Use strncat | |
1124 | rather than strcat. | |
1125 | * postinstall.cc (do_postinstall): Reset user token to original | |
1126 | primary group. | |
d29a864d | 1127 | * win32.cc (NTSecurity::resetPrimaryGroup): New method. |
770e3aed CV |
1128 | (NTSecurity::setDefaultSecurity): Store original primary group in |
1129 | new NTSecurity member primaryGroupSID. Set primary group in user token | |
1130 | to Administrators group for admin users. Align comment. | |
1131 | * win32.h (class NTSecurity): Add member primaryGroupSID. | |
1132 | (NTSecurity::resetPrimaryGroup): Declare. | |
1133 | ||
a03b43ad CF |
1134 | 2009-04-09 Christopher Faylor <me+cygwin@cgf.cx> |
1135 | ||
1136 | * main.cc (set_cout): Load AttachConsole dynamically to avoid using it | |
1137 | on older Windows which don't support it. | |
1138 | ||
c8356810 CF |
1139 | 2009-03-21 Christopher Faylor <me+cygwin@cgf.cx> |
1140 | ||
1141 | * LogFile.cc (LogFile::endEntry): Output messages to stdout. | |
1142 | * main.cc (set_cout): New function. Sets stdout to console if one | |
1143 | exists. | |
1144 | (main): Redirect stdout to console if unattended_mode or help option is | |
1145 | specified and no stdout is available. | |
1146 | ||
1147 | 2009-03-21 Terry Fleming <terrynfleming@gmail.com> | |
1148 | Christopher Faylor <me+cygwin@cgf.cx> | |
1149 | ||
1150 | * propsheet.cc (PropSheetWndProc): Detect a Window closing event and | |
1151 | issue an "Are you sure" message. | |
1152 | ||
a2488a3c CV |
1153 | 2008-08-29 Corinna Vinschen <corinna@vinschen.de> |
1154 | ||
1155 | * package_db.cc (ConnectedLoopFinder::doIt): Add code to get a basic | |
1156 | order into the dependency list. Add comment to explain why. | |
1157 | ||
ef3be327 BD |
1158 | 2008-08-22 Brian Dessent <brian@dessent.net> |
1159 | ||
1160 | * KeysSetting.cc: Include string.h for memcpy et al. | |
1161 | * filemanip.cc: Include stdlib.h for for mbstowcs. | |
1162 | * io_stream_cygfile.h: Update cygmkdir_p prototype for mode_t. | |
1163 | * mount.cc (conv_fstab_spaces): Silence gcc 4.3 warning ("parentheses | |
1164 | around assignment used as truth value"). | |
1165 | ||
e0a4fb63 CV |
1166 | 2008-08-20 Corinna Vinschen <corinna@vinschen.de> |
1167 | ||
1168 | * install.cc (Installer::StandardDirs): Additionally create /var/log | |
1169 | dir. Set mode of /var/log and /var/run to 01777. | |
1170 | * localdir.cc (LocalDirSetting::save): Create /var/log with 01777 | |
1171 | permissions before creating setup.log files. | |
1172 | ||
be617b59 CV |
1173 | 2008-08-20 Corinna Vinschen <corinna@vinschen.de> |
1174 | ||
1175 | * io_stream_cygfile.cc (io_stream_cygfile::set_mtime_and_mode): | |
1176 | Accommodate SetPosixPerms being method of nt_sec. | |
1177 | * mkdir.cc (mkdir_p): Ditto. | |
1178 | * mklink2.cc (mkcygsymlink_nt): Ditto. | |
1179 | * win32.cc: Slightly rearrange. | |
1180 | (NTSecurity::SetPosixPerms): Make SetPosixPerms method of NTSecurity | |
1181 | rather than stand-alone function. Remove dynamic allocation for | |
1182 | security descriptors in favor of static allocation. Drop out | |
1183 | preliminary if well-known SIDs are not initialized. Slightly change | |
1184 | and rearrange comments. Add creating NULL SID ACE for special | |
1185 | permissions. | |
1186 | (NTSecurity::initialiseWellKnownSIDs): New function, replacing | |
1187 | NTSecurity::initialiseEveryOneSID. Initialize all well-known SIDs | |
1188 | here. Set wellKnownSIDsinitialized to true on success. | |
1189 | (NTSecurity::setDefaultDACL): Don't call initialiseEveryOneSID. Change | |
1190 | comment. Drop setting failed. Don't open process token here. | |
1191 | (NTSecurity::setBackupPrivileges): New function. | |
1192 | (NTSecurity::setDefaultSecurity): Call initialiseWellKnownSIDs. | |
1193 | Open process token here. Disable setting primary group. Add comment | |
1194 | to explain why. | |
1195 | * win32.h (SetPosixPerms): Move to NTSecurity. | |
1196 | (class NTSecurity): Add SetPosixPerms method. Make all SIDs private | |
1197 | again. Make NoteFailedAPI private. Add setBackupPrivileges method. | |
1198 | Rename usid to UsersSID. Remove failed method and _failed member. | |
1199 | Add wellKnownSIDsinitialized accessors and _wellKnownSIDsinitialized | |
1200 | member. | |
1201 | ||
b41c2908 CV |
1202 | 2008-08-19 Corinna Vinschen <corinna@vinschen.de> |
1203 | ||
1204 | * install.cc (struct std_dirs_t): New type. | |
1205 | (class Installer): Change type of StandardDirs to std_dirs_t. | |
1206 | (Installer::StandardDirs): Store filename and mode. | |
1207 | (do_install_thread): Call io_stream::mkpath_p with name and mode from | |
1208 | Installer::StandardDirs. | |
1209 | * main.cc (main): Call setDefaultSecurity on global nt_sec. | |
1210 | * IOStreamProvider.h (IOStreamProvider::mkdir_p): Add mode parameter. | |
1211 | * LogFile.cc (LogFile::log_save): Call io_stream::mkpath_p with 0755 | |
1212 | mode. | |
1213 | * UserSettings.cc (UserSettings::settingFileForSave): Ditto. | |
1214 | * desktop.cc (make_link): Ditto. | |
1215 | * download.cc (download_one): Ditto. | |
1216 | * ini.cc (do_remote_ini): Ditto. | |
1217 | (do_ini_thread): Ditto. | |
1218 | * package_db.cc (packagedb::flush): Ditto. | |
1219 | * archive.cc (archive::extract_file): Ditto. Call set_mtime_and_mode | |
1220 | with mode from archive. Add code to handle directory permissions as | |
1221 | well. | |
1222 | * archive_tar.cc (archive_tar::get_mtime): Return time_t. Reformat. | |
1223 | (archive_tar::get_mode): New method. | |
1224 | * archive_tar.h (class archive_tar_file): Fix prototypes. Replace | |
1225 | prototype for set_mtime with prototype for set_mtime_and_mode. | |
1226 | (class archive_tar): Ditto. | |
1227 | * archive_tar_file.cc (archive_tar_file::get_mtime): Return time_t. | |
1228 | (archive_tar_file::get_mode): New method returning mode from tar header. | |
1229 | * compress_bz.cc (compress_bz::set_mtime_and_mode): Replace set_mtime. | |
1230 | (compress_bz::get_mtime): Return time_t. | |
1231 | (compress_bz::get_mode): New function. | |
1232 | * compress_gz.cc: Ditto. | |
1233 | * compress_lzma.cc: Ditto. | |
1234 | * io_stream.cc (io_stream::mkpath_p): Take additional file mode. | |
1235 | Call mkdir_p with additional file mode. | |
1236 | * io_stream_cygfile.cc (CygFileProvider::mkdir_p): Take additional file | |
1237 | mode. | |
1238 | (cygmkdir_p): Ditto. Call mkdir_p with additional file mode. | |
1239 | (io_stream_cygfile::set_mtime_and_mode): Replace set_mtime. Call | |
1240 | SetPosixPerms. | |
1241 | * io_stream_file.cc (FileProvider::mkdir_p): Take additional file mode. | |
1242 | (io_stream_file::set_mtime_and_mode): Replace set_mtime. | |
1243 | * mkdir.cc (init_ntfuncs): New function to initialize function pointers | |
1244 | from ntdll.dll. | |
1245 | (mkdir_p): Take additional file mode. On NT, use NT functions to create | |
1246 | directory. Call SetPosixPerms. | |
1247 | * compress_bz.h: Change prototypes accordingly. | |
1248 | * compress_gz.h: Ditto. | |
1249 | * compress_lzma.h: Ditto. | |
1250 | * io_stream.h: Ditto. | |
1251 | * io_stream_cygfile.h: Ditto. | |
1252 | * io_stream_file.h: Ditto. | |
1253 | * io_stream_memory.h: Ditto. | |
1254 | * mkdir.h: Ditto. | |
1255 | * mklink2.cc (mkcygsymlink_nt): Open file with STANDARD_RIGHTS_ALL | |
1256 | access and FILE_FLAG_BACKUP_SEMANTICS flag. Call SetPosixPerms. | |
1257 | * mount.cc (from_fstab): Open file with FILE_FLAG_BACKUP_SEMANTICS. | |
1258 | * script.cc (OutputLog::OutputLog): Call io_stream::mkpath_p with 0755 | |
1259 | mode. Open file with FILE_FLAG_BACKUP_SEMANTICS. | |
1260 | * win32.cc (SetPosixPerms): New function to set POSIX-like permissions. | |
1261 | (nt_sec): New global NTSecurity variable. | |
1262 | (NTSecurity::setDefaultDACL): Open token with TOKEN_ADJUST_PRIVILEGES. | |
1263 | (NTSecurity::setDefaultSecurity): Enable SE_BACKUP_NAME and | |
1264 | SE_RESTORE_NAME privileges if available. | |
1265 | * win32.h (SetPosixPerms): Add prototype. | |
1266 | (class NTSecurity): Make everyOneSID and administratorsSID public. | |
1267 | (nt_sec): Declare. | |
1268 | ||
65288dc7 CV |
1269 | 2008-08-14 Corinna Vinschen <corinna@vinschen.de> |
1270 | ||
1271 | * mount.cc (unconvert_slashes): New inline function. | |
1272 | (skip_ws): New inline function. | |
1273 | (find_ws): New inline function. | |
1274 | (conv_fstab_spaces): New inline function. | |
1275 | (from_fstab_line): New function to read single line from fstab file. | |
1276 | (from_fstab): New function to read /etc/fstab file and fill mount | |
1277 | table. | |
1278 | (read_mounts_nt): Call from_fstab after getting setup/rootdir from | |
1279 | registry. Only call add_usr_mnts if no fstab file found. | |
1280 | ||
1ae1adf7 CV |
1281 | 2008-08-13 Corinna Vinschen <corinna@vinschen.de> |
1282 | ||
1283 | * install.cc (Installer::installOne): Skip 46 bytes type tar package | |
1284 | silently. | |
1285 | ||
53d33c5d CV |
1286 | 2008-08-13 Corinna Vinschen <corinna@vinschen.de> |
1287 | ||
1288 | * install.cc (Installer::installOne): Use MoveFileExW on NT. Special | |
1289 | case for bug in Windows 2000. | |
1290 | * package_meta.cc (packagemeta::uninstall): Use wide char file functions | |
1291 | on NT. | |
1292 | * win32.h (VersionInfo::major): New method. | |
1293 | (VersionInfo::minor): New method. | |
1294 | (OSMajorVersion): Define. | |
1295 | (OSMinorVersion): Define. | |
1296 | ||
2f0315ad CV |
1297 | 2008-08-12 Corinna Vinschen <corinna@vinschen.de> |
1298 | ||
1299 | Revamp for Cygwin 1.7. | |
1300 | * desktop.cc (make_cygwin_bat): Use wide char file functions on NT. | |
1301 | (save_icon): Ditto. | |
1302 | * filemanip.cc (tfx_chars): New char table for wide char transformation | |
1303 | of reserved FS chars to UNICODE private use area. | |
1304 | (transform_chars): New static function. | |
1305 | (mklongpath): New function to convert multibyte path to wide char | |
1306 | path with long path prefix. | |
1307 | * filemanip.h (mklongpath): Declare. | |
1308 | * ini.h (SETUP_INI_FILENAME): Use setup.ini filenames as defined in | |
1309 | real life (setup-2.ini/setup.ini). | |
1310 | (SETUP_BZ2_FILENAME): Ditto. | |
1311 | * install.cc (do_install_thread): Don't create registry mount points | |
1312 | on NT, rather create setup/rootdir entry. | |
1313 | * io_stream_cygfile.cc: Throughout use wide char file functions on NT. | |
1314 | (io_stream_cygfile::w_str): New method to create wide char path. | |
1315 | * io_stream_cygfile.h (class io_stream_cygfile): Remove lmode member. | |
1316 | Add wname member and w_str method. | |
1317 | * io_stream_file.cc: Throughout use wide char file functions on NT. | |
1318 | (io_stream_file::w_str): New method to create wide char path. | |
1319 | * io_stream_file.h (class io_stream_file): Remove lmode member. | |
1320 | Add wname member and w_str method. | |
1321 | * mkdir.cc (mkdir_p): Use wide char file functions on NT. | |
1322 | * mklink2.cc (mkcygsymlink_9x): Rename from mkcygsymlink. Make static. | |
1323 | (mkcygsymlink_nt): New static function. | |
1324 | (mkcygsymlink): Just call mkcygsymlink_9x or mkcygsymlink_nt dependent | |
1325 | on OS. | |
1326 | * mount.cc (CYGWIN_INFO_CYGWIN_SETUP_REGISTRY_NAME): Define. | |
1327 | (remove1): Move to earlier point in file to avoid declaration. | |
1328 | (remove_mount): Ditto. Make static. | |
1329 | (create_install_root): New function to create setup/rootdir registry | |
1330 | value on NT. | |
1331 | (read_mounts_9x): Rename from read_mounts. Make static. Conditionalize | |
1332 | for OS. | |
1333 | (add_usr_mnts): New static function. | |
1334 | (read_mounts_nt): Ditto, to read mounts on NT. | |
1335 | (read_mounts): Just call read_mounts_nt or read_mounts_9x dependent on | |
1336 | OS. | |
1337 | (set_root_dir): On NT, call read_mounts. | |
1338 | (cygpath): Only add slash for non-root mount to avoid multiple slashes | |
1339 | in resulting path (invalid in long path names). | |
1340 | * mount.h (find_mount): Drop declaration. | |
1341 | (remove_mount): Ditto. | |
1342 | (create_install_root): Add declaration. | |
1343 | (read_mounts): Accommodate new parameter. | |
1344 | * package_db.cc (chosen_db_task): New global variable. | |
1345 | * package_db.h (chosen_db_task): Declare. | |
1346 | * root.cc (check_if_enable_next): Don't use get_root_dir here to | |
1347 | avoid having to call save_dialog in RootPage::OnMessageCmd. | |
1348 | (GetDlgItemRect): New static inline function. | |
1349 | (SetDlgItemRect): Ditto. | |
1350 | (load_dialog): On NT, stretch "Install For" block to full dialog width | |
1351 | and hide "Default Text File Type" block. | |
1352 | (save_dialog): On NT set root_text always to IDC_ROOT_BINARY. | |
1353 | (RootPage::OnMessageCmd): Remove call to save_dialog. | |
1354 | (RootPage::OnNext): Initialize packagedb here the first time, to | |
1355 | avoid fetching wrong data from different previous installation. | |
1356 | * source.cc (save_dialog): Don't initialize packagedb here, rather | |
1357 | just memorize setting in chosen_db_task for the deferred initialization | |
1358 | in RootPage::OnNext. | |
1359 | ||
0407753c DK |
1360 | 2008-08-07 Dave Korn <dave.korn.cygwin@gmail.com> |
1361 | ||
1362 | Implement command-line selection of packages to install and make | |
1363 | unattended mode deal with any dialogs that might arise. A joint | |
1364 | effort synthesized from contributions by: | |
1365 | ||
1366 | Dr. Frank Lee <rl201@cam.ac.uk> | |
1367 | Bryan Thrall <bryan.thrall@flightsafety.com> | |
1368 | Kohsuke Kawaguchi <kk@kohsuke.org> | |
1369 | Dave Korn <dave.korn.cygwin@gmail.com> | |
1370 | ||
1371 | * install.cc (rebootneeded): Don't define statically here. | |
1372 | (do_install_thread): Let exit_msg reflect rebootneeded. | |
1373 | * main.cc (main): If rebootneeded, log it when exiting. | |
1374 | * msg.cc (mbox): In unattended_mode, choose and log default answer. | |
1375 | * package_db.cc (packagedb::fillMissingCategory): Iterate over all | |
1376 | packages adding those selected by packagemeta::isManuallyWanted to | |
1377 | base category so that command-line selections are installed. | |
1378 | * package_meta.cc (PackageOption): Add new StringOption to allow | |
1379 | command-line selection of packages to add to base install. | |
1380 | (packagemeta::isManuallyWanted): New function tests if package was | |
1381 | selected on command-line. | |
ca2b7505 | 1382 | (packagemeta::addToCategoryBase): New function adds package to |
0407753c DK |
1383 | "base" category. |
1384 | * state.cc (rebootneeded): Define here non-static. | |
1385 | * state.h (rebootneeded): Declare here with extern linkage. | |
1386 | * threebar.cc (ThreeBarProgressPage::MaximizeDialog): Don't change | |
1387 | size when running in unattended mode. | |
1388 | ||
da60e4b2 CF |
1389 | 2008-08-05 Christopher Faylor <me+cygwin@cgf.cx> |
1390 | ||
1391 | * UserSettings.cc (UserSettings::settingFileForLoad): Look locally for | |
1392 | settings before looking outside of current directory. | |
1393 | * choose.cc (ChooserPage::ChooserPage): Record the property sheet's | |
1394 | current show state via new passed in parameter. | |
1395 | * choose.h (ChooserPage::ChooserPage): Reflect change in argument list. | |
1396 | (ChooserPage::nCmdShow): Define new element. | |
1397 | * main.cc (main): Send current show state to Chooser. | |
1398 | * package_version.cc (packageversion::set_requirements): Increase | |
1399 | recursion check from 5 to 30. | |
1400 | * propsheet.cc (PropSheetWndProc): Register hwndDlg with | |
1401 | ThreeBarProgressPage. | |
1402 | * threebar.cc (ControlAdjuster::ControlInfo): Initialize cmd_show_set. | |
1403 | (ThreeBarProgressPage::MaximizeDialog): New function. | |
1404 | (ThreeBarProgressPage::OnMessageApp): Call MaximizeDialog to maximize | |
1405 | package selection screen and restore when done. | |
1406 | * threebar.h (ThreeBarProgressPage::MaximizeDialog): Declare function. | |
1407 | (ThreeBarProgressPage::cmd_show_set): Declare variable. | |
1408 | (ThreeBarProgressPage::cmd_show): Declare variable. | |
1409 | (ThreeBarProgressPage::ins_dialog): Declare variable. | |
1410 | (ThreeBarProgressPage::SetHwndDialog): Define function. | |
1411 | ||
5bb88929 CW |
1412 | 2008-07-22 Charles Wilson <cygwin@cwilson.fastmail.fm> |
1413 | ||
1414 | Add support for .tar.lzma files (decompress only). | |
1415 | ||
1416 | * Makefile.am: Add new files. | |
1417 | * compress.cc (compress::decompress): add support | |
1418 | for compress_lzma. | |
1419 | * compress_lzma.h: new file. | |
1420 | * compress_lzma.cc: new file. | |
1421 | * filemanip.cc (find_tar_ext): add support for | |
1422 | .tar.lzma files. | |
1423 | * install.cc (Installer::installOne): update comments. | |
1424 | * lzma-sdk/LzmaDec.h: new file. | |
1425 | * lzma-sdk/LzmaDec.c: new file. | |
1426 | * lzma-sdk/Types.h: new file. | |
1427 | ||
5bc84ff1 CW |
1428 | 2008-07-08 Charles Wilson <cygwin@cwilson.fastmail.fm> |
1429 | ||
1430 | * compress.cc (compress::decompress): clean up concrete | |
1431 | decompressor objects on failure -- but in that case, do | |
1432 | NOT destroy original io_stream. | |
1433 | * compress_bz.h (compress_bz::release_original): new method. | |
1434 | (owns_original): new member variable. | |
1435 | * compress_bz.cc (compress_bz::release_original): new method. | |
1436 | (compress_bz::compress_bz): take ownership of parent by default. | |
ca2b7505 | 1437 | (compress_bz::~compress_bz): only delete original if |
5bc84ff1 CW |
1438 | owns_original is true. |
1439 | * compress_gz.h (compress_gz::release_original): new method. | |
1440 | (owns_original): new member variable. | |
1441 | * compress_gz.cc (compress_gz::release_original): new method. | |
1442 | (compress_gz::construct): take ownership of parent by default. | |
ca2b7505 | 1443 | (compress_gz::~compress_gz): only delete original if |
5bc84ff1 CW |
1444 | owns_original is true. |
1445 | ||
fe25359c DK |
1446 | 2008-06-25 Dave Korn <dave.korn.cygwin@gmail.com> |
1447 | ||
1448 | * configure.in, gpg-error-config-fake: Revert previous removal. | |
1449 | ||
586f2b08 DK |
1450 | 2008-06-25 Dave Korn <dave.korn.cygwin@gmail.com> |
1451 | ||
1452 | * net.cc: Correct stray CRLF. | |
1453 | ||
8f016701 DK |
1454 | 2008-06-25 Dave Korn <dave.korn.cygwin@gmail.com> |
1455 | ||
1456 | * configure.in (ac_cv_path_GPG_ERROR_CONFIG): Remove nasty hack. | |
1457 | * gpg-error-config-fake: Delete file obsoleted by de-hackification. | |
1458 | ||
1cc1fad4 CF |
1459 | 2008-06-24 Christopher Faylor <me+cygwin@cgf.cx> |
1460 | ||
1461 | * configure.in: Disable shared library builds. | |
1462 | ||
be6622c0 CF |
1463 | 2008-06-24 Christopher Faylor <me+cygwin@cgf.cx> |
1464 | ||
1465 | * Makefile.am: Make and install libraries into common location and use | |
1466 | them from there. | |
1467 | * configure.in: Find gpg-error-config in the libgpg-error/src | |
1468 | subdirectory rather than using the host system's version. Set the | |
1469 | prefix and exec_prefix to a common location for the subdirs so that | |
1470 | useful files will be installed in a common location. | |
1471 | ||
dbfe3c19 DK |
1472 | 2008-06-22 Dave Korn <dave.korn.cygwin@gmail.com> |
1473 | ||
be6622c0 CF |
1474 | Merged across diffs between setup_crypto_branch_branchpoint and |
1475 | setup_crypto_branch_mergepoint2 from setup_crypto_branch. | |
dbfe3c19 DK |
1476 | |
1477 | * crypto.cc, crypto.h, gpg-packet.cc, gpg-packet.h, KeysSetting.cc, | |
1478 | KeysSetting.h, gpg-error-config-fake, cygwin.pub, cyg-pubkey.h, | |
be6622c0 | 1479 | gpg-key-to-s-expr.sh: New files. |
dbfe3c19 | 1480 | * ini.cc, ini.h, resource.h, res.rc, netio.cc, Makefile.am, |
be6622c0 | 1481 | configure.ac, libgetopt++/src/OptionSet.cc: Modified files. |
dbfe3c19 | 1482 | |
a127a91e | 1483 | 2008-06-21 Dave Korn <dave.korn.cygwin@gmail.com> |
dbfe3c19 | 1484 | |
ca2b7505 | 1485 | * ini.cc (do_remote_ini): Revert misbegotten removal of |
dbfe3c19 DK |
1486 | not-always-superfluous-after-all added slash in URLs. |
1487 | ||
a127a91e | 1488 | 2008-06-18 Dave Korn <dave.korn.cygwin@gmail.com> |
dbfe3c19 DK |
1489 | |
1490 | * gpg-packet.h (GPG_KEY_SEXPR_BUF_SIZE): Move from here ... | |
1491 | * crypto.h (GPG_KEY_SEXPR_BUF_SIZE): ... to here. | |
1492 | (GPG_KEY_MAX_COEFF_SIZE): Add related definition. | |
1493 | ||
a127a91e | 1494 | 2008-06-18 Dave Korn <dave.korn.cygwin@gmail.com> |
dbfe3c19 DK |
1495 | |
1496 | * gpg-packet.cc (walk_packets_1): Check packet length field is | |
1497 | valid sane and possible to avoid malicious manipulation. | |
1498 | * ChangeLog: Corrected date on previous commit. | |
1499 | ||
a127a91e | 1500 | 2008-06-18 Dave Korn <dave.korn.cygwin@gmail.com> |
dbfe3c19 | 1501 | |
ca2b7505 | 1502 | * crypto.cc (add_key_from_sexpr): Use real buffer size, not debug |
dbfe3c19 DK |
1503 | constant size. |
1504 | ||
a127a91e | 1505 | 2008-06-16 Dave Korn <dave.korn.cygwin@gmail.com> |
dbfe3c19 DK |
1506 | |
1507 | * crypto.cc (verify_ini_file_sig): Actually set init-once flag! | |
1508 | ||
a127a91e | 1509 | 2008-06-16 Dave Korn <dave.korn.cygwin@gmail.com> |
dbfe3c19 DK |
1510 | |
1511 | * crypto.cc (KeepUntrustedKeysOption): Fix helpstring punctuation. | |
1512 | ||
a127a91e | 1513 | 2008-06-16 Dave Korn <dave.korn.cygwin@gmail.com> |
dbfe3c19 DK |
1514 | |
1515 | * crypto.cc (verify_ini_file_sig): Fix two minor logic errors. | |
1516 | ||
a127a91e | 1517 | 2008-06-16 Dave Korn <dave.korn.cygwin@gmail.com> |
dbfe3c19 DK |
1518 | |
1519 | * ini.h (current_ini_sig_name): Declare extern. | |
1520 | * ini.cc (current_ini_sig_name): New variable. | |
1521 | (NoVerifyOption): New boolean option. | |
1522 | (do_remote_ini): If sig verification not disabled, attempt to | |
1523 | download the matching sig file for any setup.bz2 or setup.ini | |
1524 | and use it to verify or discard the download. | |
1525 | ||
a127a91e | 1526 | 2008-06-16 Dave Korn <dave.korn.cygwin@gmail.com> |
dbfe3c19 DK |
1527 | |
1528 | * resource.h (IDS_SIG_INVALID, IDS_CRYPTO_ERROR): Reserve IDs for | |
1529 | two new message strings. | |
1530 | * res.rc (IDS_SIG_INVALID, IDS_CRYPTO_ERROR): Define the text. | |
1531 | ||
a127a91e | 1532 | 2008-06-16 Dave Korn <dave.korn.cygwin@gmail.com> |
dbfe3c19 DK |
1533 | |
1534 | * Makefile.am (setup_SOURCES): Add new files crypto.cc, crypto.h, | |
1535 | cyg-pubkey.h, gpg-packet.cc, gpg-packet.h. KeysSetting.cc and | |
1536 | KeysSetting.h to the build. | |
1537 | * crypto.cc, crypto.h, gpg-packet.cc, gpg-packet.h, KeysSetting.cc, | |
1538 | KeysSetting.h: New files. Adds gpg sig verification support. | |
1539 | ||
a127a91e | 1540 | 2008-06-16 Dave Korn <dave.korn.cygwin@gmail.com> |
dbfe3c19 DK |
1541 | |
1542 | * Makefile.am (DIST_SUBDIRS, SUBDIRS): Add libgpg-error and | |
1543 | libgcrypt subdirs. | |
1544 | (AM_CPPFLAGS): Add -I paths to generated headers in both and to | |
1545 | shipped headers in libgcrypt. | |
1546 | (setup_LDADD): Add libgpg-error.a and libgcrypt.a to final link. | |
1547 | ||
1548 | * configure.in (ac_cv_path_GPG_ERROR_CONFIG): Preload into cache | |
1549 | to fake out libgcrypt configure process. | |
1550 | (AC_CONFIG_SUBDIRS): Add libgpg-error/ and libgcrypt/ | |
1551 | ||
1552 | * gpg-error-config-fake: New shell script to redirect libgcrypt | |
1553 | sub-configure into looking for newly-built libgpg-error. | |
1554 | ||
a127a91e | 1555 | 2008-06-16 Dave Korn <dave.korn.cygwin@gmail.com> |
dbfe3c19 DK |
1556 | |
1557 | * setup/libgpg-error/: Fresh import of upstream sources of | |
1558 | libgpg-error-1.6.tar.bz2 from http://www.gnupg.org/ | |
1559 | * setup/libgcrypt/: Fresh import of upstream sources of | |
1560 | libgcrypt-1.4.1.tar.bz2 from http://www.gnupg.org/ | |
1561 | ||
a127a91e | 1562 | 2008-06-16 Dave Korn <dave.korn.cygwin@gmail.com> |
dbfe3c19 DK |
1563 | |
1564 | * netio.cc (NetIO::set_url): Avoid double-free bug on delete | |
1565 | by setting path to a strdup of url rather than using the same | |
1566 | pointer value twice. | |
1567 | ||
a127a91e | 1568 | 2008-06-16 Dave Korn <dave.korn.cygwin@gmail.com> |
dbfe3c19 DK |
1569 | |
1570 | * cygwin.pub: Add reference copy of Cygwin setup signing key. | |
1571 | * gpg-key-to-s-expr.sh: New bash script. Outputs textual | |
1572 | representation of public key in s-expr format. | |
1573 | * cyg-pubkey.h: New header generated by the above from Cygwin | |
1574 | setup signing key. Currently needs manual regeneration if key | |
1575 | ever updated. | |
1576 | ||
2cae901b BD |
1577 | 2008-04-16 Brian Dessent <brian@dessent.net> |
1578 | ||
1579 | * mount.cc: Include malloc.h. | |
1580 | (is_admin): Use alloca instead of a VLA in case | |
1581 | GetTokenInformation is sensitive to alignment. | |
1582 | ||
784414bf BD |
1583 | 2008-04-15 Brian Dessent <brian@dessent.net> |
1584 | ||
1585 | * mount.cc (is_admin): Get explicit size of required buffer by | |
1586 | calling GetTokenInformation first with NULL. | |
1587 | ||
9d44d4f7 BD |
1588 | 2008-04-10 Brian Dessent <brian@dessent.net> |
1589 | ||
1590 | * Makefile.am (setup_LDFLAGS): Make sure static libbz2 and zlib | |
1591 | are used. | |
1592 | ||
1db74bf0 BD |
1593 | 2008-04-09 Brian Dessent <brian@dessent.net> |
1594 | ||
1595 | * README: flex and bison are required when building from CVS. | |
1596 | ||
09aa7d89 BD |
1597 | 2008-04-08 Brian Dessent <brian@dessent.net> |
1598 | ||
1599 | * Makefile.am (snapshot): Provide default value of ${cygwinsite} | |
1600 | if not set. | |
1601 | ||
60dfa7aa BD |
1602 | 2008-04-08 Brian Dessent <brian@dessent.net> |
1603 | ||
1604 | * Makefile.am (release): Use -f so that "make release" works | |
1605 | when existing binaries of the same name exist. | |
1606 | ||
33ef69a7 BD |
1607 | 2008-04-08 Brian Dessent <brian@dessent.net> |
1608 | ||
1609 | * res.rc (IDD_SPLASH): Update copyright years on splash page. | |
1610 | ||
51325df5 BD |
1611 | 2008-04-08 Brian Dessent <brian@dessent.net> |
1612 | ||
1613 | * CHANGES: Update. | |
1614 | * install.cc (Installer::installOne): Cope with compressed | |
1615 | 0-byte dummy packages. Fix progress bar update bug introduced | |
1616 | in earlier refactoring. | |
1617 | ||
2e0aaec9 BD |
1618 | 2008-04-08 Brian Dessent <brian@dessent.net> |
1619 | ||
1620 | * CHANGES: Update. | |
1621 | ||
1622 | 2008-04-08 Brian Dessent <brian@dessent.net> | |
1623 | ||
1624 | Various warning/header cleanups necessary for clean gcc 4.3 build. | |
1625 | * ConnectionSetting.cc: Include stdlib.h. | |
1626 | * LogFile.cc: Ditto. | |
1627 | * Makefile.am: Don't hardcode paths to MinGW libz and libbz2. | |
1628 | * PickView.cc: Include limits.h. | |
1629 | * String++.cc: Include string.h. | |
1630 | * archive_tar.cc (archive_tar::next_file_name): Silence nested-if | |
1631 | warning. | |
1632 | * autoload.c: Switch back to .text section before emiting | |
1633 | autoload_common. | |
1634 | * choose.cc: Include stdlib.h and algorithm. | |
1635 | * compress_gz.cc: Include memory.h and malloc.h. | |
1636 | * filemanip.cc: Include string.h. | |
1637 | (parse_filename): Silence nested-if warning. | |
1638 | * nio-ftp.cc (NetIO_FTP::NetIO_FTP): Silence warning. | |
1639 | * package_db.cc: Include algorithm. | |
1640 | * site.cc (get_site_list): Silence warning. | |
1641 | * win32.cc: Include memory. | |
1642 | * csu_util/MD5Sum.cc: Include string.h. | |
1643 | ||
d0355815 | 1644 | 2008-03-02 Dave Korn <dave.korn@artimi.com> |
4e6c8d9e | 1645 | |
d0355815 | 1646 | * install.cc (Installer::installOne): Accept new HWND argument |
4e6c8d9e DK |
1647 | from caller and pass it to MessageBox calls so that MB_TASKMODAL |
1648 | can work. | |
1649 | (check_for_old_cygwin): Likewise. | |
1650 | (do_install_thread): Pass owner's HWND (from thread context) when | |
1651 | calling them. | |
1652 | ||
84ea7bd6 DK |
1653 | 2008-02-23 Dave Korn <dave.korn@artimi.com> |
1654 | ||
1655 | * cygpackage.cc (cygpackage::getfirstfile): Guard against trying to | |
1656 | construct std::string from NULL returned by io_stream::gets when the | |
1657 | stream decompressor fails on a corrupt *.lst.gz file. | |
1658 | ||
22ade75c DK |
1659 | 2008-02-21 Dave Korn <dave.korn@artimi.com> |
1660 | ||
1661 | * geturl.cc (progress): Correct SI unit notation. | |
1662 | ||
b612bff1 DK |
1663 | 2008-02-01 Vincent Privat <vincent.privat@gmail.com> |
1664 | ||
1665 | * net.cc (OnInit): New StringOption (ProxyOption) | |
1666 | This new option (-p) allows to call setup.exe with a proxy | |
1667 | in its command-line arguments. | |
1668 | ||
a81fbc25 BD |
1669 | 2007-07-31 Brian Dessent <brian@dessent.net> |
1670 | ||
1671 | * ini.cc (do_remote_ini): Fix crash due to double free of ini_file. | |
1672 | ||
92ef6cf8 BD |
1673 | 2007-07-30 Brian Dessent <brian@dessent.net> |
1674 | ||
1675 | * CHANGES: Update. | |
1676 | * configure.in (AM_INIT_AUTOMAKE): Enable more automake warnings. | |
1677 | * Makefile.am (INCLUDES): Use AM_CPPFLAGS instead. | |
1678 | (CLEANFILES): Add. Minor portability tweaks. | |
1679 | * tests/Makefile.am (INCLUDES): Use AM_CPPFLAGS instead. | |
1680 | * archive.cc (archive::extract): Try to be more compatible when | |
1681 | opening tar files. | |
1682 | * compress_bz.cc: Fix whitespace throughout. | |
1683 | (compress_bz::~compress_bz): Ensure that underlying io_stream's dtor is | |
1684 | also run. | |
1685 | * install.cc (Installer::installOne): Refactor. | |
1686 | * package_db.cc (ConnectedLoopFinder::doIt): Move some log spewage into | |
1687 | setup.log.full from setup.log. | |
1688 | (packagedb::connectedBegin): Ditto. Consolidate log output to one line. | |
1689 | ||
0a0203db BD |
1690 | 2007-07-02 Brian Dessent <brian@dessent.net> |
1691 | ||
1692 | * CHANGES: Update. | |
1693 | ||
475ee6a3 BD |
1694 | 2007-06-26 Brian Dessent <brian@dessent.net> |
1695 | ||
1696 | * Makefile.am (release): Drop inconsistent use of $(EXEEXT). Leave an | |
1697 | untouched copy of setup.exe so that later make invocations don't | |
1698 | unnecessarily rebuild it. | |
1699 | (snapshot): Fix typo. | |
1700 | * install.cc (md5_one): Don't try to check packages whose | |
1701 | pkgsource.Cached () is NULL, as with those whose download failed. | |
1702 | ||
12dea33a BD |
1703 | 2007-06-26 Brian Dessent <brian@dessent.net> |
1704 | ||
1705 | * CHANGES: Update to reflect release branch. | |
1706 | ||
1707 | 2007-06-26 Brian Dessent <brian@dessent.net> | |
812cdd92 BD |
1708 | |
1709 | * CHANGES: Make current. | |
1710 | ||
feee2f2b BD |
1711 | 2007-05-30 Brian Dessent <brian@dessent.net> |
1712 | ||
1713 | * find.h (class Find): Make _start_dir non-const. | |
1714 | * find.cc (Find::Find): Append a trailing slash to _start_dir only if | |
1715 | it does not already contain one. | |
1716 | (Find::accept): Use the previously stored value of _start_dir rather | |
1717 | than unconditionally appending a slash. | |
1718 | ||
b941c8be BD |
1719 | 2007-05-29 Brian Dessent <brian@dessent.net> |
1720 | ||
1721 | * Makefile.am: No need to specify the default value of --preprocessor | |
1722 | to windres. Rework the automatic version extraction rules so that the | |
1723 | source tarball is generated with the proper name and directory instead | |
1724 | of setup-0. Update snapshot rule to also upload a copy of the binary | |
1725 | with debugging symbols still present. | |
1726 | ||
dacb1ebd BD |
1727 | 2007-05-29 Brian Dessent <brian@dessent.net> |
1728 | ||
1729 | This is a general tidying up/modernization of the build infrastructure. | |
1730 | Renaming the lexer and parser to .ll and .yy allows using automake's | |
1731 | builtin support for flex and bison with C++ sources, and libinilex is a | |
1732 | slightly cleaner way of omitting -Werror. | |
1733 | ||
1734 | * Makefile.am (AUTOMAKE_OPTIONS): Move to AM_INIT_AUTOMAKE. | |
1735 | (AM_YFLAGS): Define. | |
1736 | (AM_LFLAGS): Define. | |
1737 | (INCLUDES): Remove redundant mingw directory. | |
1738 | (EXTRA_DIST): Adjust for newly named lexer/parser. | |
1739 | (BUILT_SOURCES): Ditto. | |
1740 | (inilint_LDADD): Ditto. | |
1741 | (inilint_SOURCES): Ditto. | |
1742 | (setup_LDADD): Ditto. | |
1743 | (setup_SOURCES): Ditto. | |
1744 | (iniparse.cc): Remove custom rules. | |
1745 | (inilex.cc): Ditto. | |
1746 | * configure.in: Update quoting and use modern form of AC_INIT and | |
1747 | AM_INIT_AUTOMAKE. | |
1748 | * inilex.l: Rename from this ... | |
1749 | * inilex.ll: ... to this. | |
1750 | * iniparse.y: Rename from this ... | |
1751 | * iniparse.yy: ... to this. | |
1752 | ||
eb20d728 BD |
1753 | 2007-05-29 Brian Dessent <brian@dessent.net> |
1754 | ||
1755 | * IniParseFindVisitor.cc (IniParseFindVisitor::IniParseFindVisitor): | |
1756 | Remove error_buf and error_count initializers. | |
1757 | (IniParseFindVisitor::visitFile): Store filename in current_ini_name. | |
1758 | Use yyerror_count and yyerror_messages in place of removed error_count | |
1759 | and error_buf members. | |
1760 | * IniParseFindVisitor.h (class IniParseFindVisitor): Remove error_buf | |
1761 | and error_count members. | |
1762 | * ini.cc: Include io_stream_memory.h. Remove file static variables | |
1763 | error_buf, error_count, and ini_filename. | |
1764 | (GuiParseFeedback::progress): Remove some verbose log spam. | |
1765 | (do_remote_ini): Recode .ini-fetching logic to properly display parse | |
1766 | errors, and to account for corrupt bzip2 files. | |
1767 | (yyerror): Moved elsewhere. | |
1768 | (fprintf): Delete unused function. | |
1769 | * ini.h: Remove useless __cplusplus guard. Declare extern variables | |
1770 | current_ini_name, yyerror_messages, and yyerror_count. | |
1771 | * inilex.l: Add current_ini_name, yyerror_messages, and | |
1772 | yyerror_count. | |
1773 | (ini_init): Initialize new variables. | |
1774 | (yybol): Delete. | |
1775 | (yyerror): Reimplement using std::string and relocate from ini.cc. | |
1776 | * io_stream.cc (io_stream::copy): Add clarifying comment. | |
1777 | ||
6c8daadf IP |
1778 | 2007-05-04 Igor Peshansky <pechtcha@cs.nyu.edu> |
1779 | ||
1780 | * resource.h (IDC_STATIC_HEADER): New control id. | |
1781 | * res.rc (IDD_SPLASH): Adjust the copyright. | |
1782 | (IDD_DESKTOP): Make header text accessible as a separate control. | |
1783 | * desktop.cc (set_status): Use eset() instead of SetWindowText(). | |
1784 | (load_dialog): Disable checkboxes and change dialog text in | |
1785 | download-only mode. | |
1786 | (DesktopSetupPage::OnInit): Disable checkboxes in download-only | |
1787 | mode. | |
1788 | * threebar.cc (ThreeBarProgressPage::OnMessageApp): Deprecate the | |
1789 | default fallthrough. | |
1790 | * download.cc (do_download_thread): Explicitly return the next | |
1791 | dialog. | |
1792 | ||
f8dcce01 MB |
1793 | 2007-04-19 Max Bowsher <maxb1@ukf.net> |
1794 | ||
1795 | * configure.in: Turn inilint default build off again, since I cannot | |
1796 | get it to work. | |
1797 | ||
6b457e67 MB |
1798 | 2007-04-19 Max Bowsher <maxb1@ukf.net> |
1799 | ||
54ac354e MB |
1800 | * configure.in: Make inilint built by default. |
1801 | ||
1802 | 2007-04-19 Max Bowsher <maxb1@ukf.net> | |
1803 | ||
1804 | * inilintmain.cc: Fix multiple compile errors. | |
6b457e67 | 1805 | |
86e53214 MB |
1806 | 2007-04-19 Max Bowsher <maxb1@ukf.net> |
1807 | ||
1808 | * Makefile.am: Make inilint use same warnonly-inilex workaround that | |
1809 | setup already does. | |
1810 | ||
7b21a88e IP |
1811 | 2007-03-29 Igor Peshansky <pechtcha@cs.nyu.edu> |
1812 | ||
1813 | * LogFile.cc (LogFile::exit): Write exit_msg directly to log, without | |
1814 | the message box. | |
1815 | * resource.h (IDC_DESKTOP_SEPARATOR,IDC_STATUS_HEADER,IDC_STATUS): New | |
1816 | control ids. | |
1817 | * res.rc (IDD_DESKTOP): Change the caption. Add status information. | |
1818 | * desktop.h (DesktopSetupPage::DesktopSetupPage): Define constructor | |
1819 | in the implementation. | |
1820 | * desktop.cc (DesktopControlsInfo): Position specifiers for status | |
1821 | information items. | |
1822 | (DesktopSetupPage::DesktopSetupPage): Register position specifiers. | |
1823 | (set_status): New static method. | |
1824 | (load_dialog): Set status information, if available. | |
1825 | (DesktopSetupPage::OnInit): Set status header font. | |
1826 | ||
909f5cf9 BD |
1827 | 2007-03-01 Brian Dessent <brian@dessent.net> |
1828 | ||
1829 | * ini.h (SETUP_INI_FILENAME): Rename setup_9x.ini to setup_legacy.ini. | |
1830 | (SETUP_BZ2_FILENAME): Likewise. | |
1831 | ||
5072c0bb BD |
1832 | 2007-02-27 Brian Dessent <brian@dessent.net> |
1833 | ||
1834 | * ini.h (SETUP_INI_FILENAME): Add define. | |
1835 | (SETUP_BZ2_FILENAME): Add define. | |
1836 | * IniParseFindVisitor.cc (IniParseFindVisitor::visitFile): Use | |
1837 | above macros to parameterize setup.ini filename. | |
1838 | * fromcwd.cc (SetupFindVisitor::visitFile): Ditto. | |
1839 | * ini.cc (do_remote_ini): Ditto. | |
1840 | * Makefile.am (setup_SOURCES): Add win32.cc. | |
1841 | * autoload.c: Include windows.h directly instead of win32.h so that | |
1842 | win32.h can contain C++. | |
1843 | * desktop.cc (verinfo): Delete. | |
1844 | (make_link): Use IsWindowsNT to check for NT instead of verinfo. | |
1845 | (DesktopSetupPage::OnInit): Likewise. | |
1846 | * mount.cc (is_admin): Likewise. | |
1847 | * script.cc (init_run_script): Likewise. | |
1848 | * main.cc (class SIDWrapper, SIDWrapper::SIDWrapper, | |
1849 | SIDWrapper::~SIDWrapper, SIDWrapper::theSID, class HANDLEWrapper, | |
1850 | HANDLEWrapper::HANDLEWrapper, HANDLEWrapper::~HANDLEWrapper, | |
1851 | HANDLEWrapper::theHANDLE, class TokenGroupCollection, | |
1852 | TokenGroupCollection::TokenGroupCollection, | |
1853 | TokenGroupCollection::~TokenGroupCollection, | |
1854 | TokenGroupCollection::populate, TokenGroupCollection::find, | |
1855 | class NTSecurity, set_default_sec, NTSecurity::NoteFailedAPI, | |
1856 | NTSecurity::NTSecurity, NTSecurity::failed, | |
1857 | NTSecurity::initialiseEveryOneSID, NTSecurity::setDefaultDACL, | |
1858 | NTSecurity::setDefaultSecurity): Remove implementation of these | |
1859 | classes from this file and into new file win32.cc and existing win32.h. | |
1860 | (main): Fix whitespace and formatting per GNU coding standards. | |
1861 | * res.rc (IDS_SETUPINI_MISSING): Parameterize filename with %s. | |
1862 | * win32.cc: New file containing methods removed from main.cc as well | |
1863 | as new class VersionInfo methods. | |
1864 | * win32.h: Include <string> for std::string. | |
1865 | (class SIDWrapper, class HANDLEWrapper, class TokenGroupCollection, | |
1866 | class NTSecurity): Add classes removed from main.cc. | |
1867 | (class VersionInfo): Add new class. | |
1868 | (GetVer): Declare. | |
1869 | (IsWindowsNT): Define. | |
1870 | ||
5cc32375 BD |
1871 | 2007-02-20 Brian Dessent <brian@dessent.net> |
1872 | ||
1873 | * README: Modernize list of required packages, and mention doconfigure. | |
1874 | ||
5ef77c46 BD |
1875 | 2007-02-17 Cesar Strauss <cstrauss@cea.inpe.br> |
1876 | ||
3c1254b9 MB |
1877 | * IniDBBuilderPackage.cc (IniDBBuilderPackage::buildPackageSource): |
1878 | Initialize the version and operator fields of the newly created | |
1879 | PackageSpecification object, so setup can pick the correct source | |
1880 | version later on. | |
5ef77c46 | 1881 | |
a875b471 BD |
1882 | 2007-02-17 Brian Dessent <brian@dessent.net> |
1883 | ||
1884 | * script.cc (Script::run): Check for existance of script file and | |
1885 | return without doing anything if it does not exist. | |
1886 | ||
3a694862 MB |
1887 | 2006-12-26 Max Bowsher <maxb1@ukf.net> |
1888 | ||
1889 | * IniDBBuilder.h (IniDBBuilder): Make this class abstract. | |
1890 | * IniDBBuilder.cc: Delete file. | |
1891 | * Makefile.am (inilint_SOURCES, setup_SOURCES): Remove IniDBBuilder.cc. | |
1892 | ||
be8736e4 MB |
1893 | 2006-12-26 Max Bowsher <maxb1@ukf.net> |
1894 | ||
1895 | Add a shell script that documents/centralizes the standard configure | |
1896 | command line. | |
1897 | ||
1898 | * doconfigure: New file. | |
1899 | * Makefile.am (EXTRA_DIST): Add doconfigure. | |
1900 | ||
cafda414 IP |
1901 | 2006-11-28 Igor Peshansky <pechtcha@cs.nyu.edu> |
1902 | ||
1903 | * install.cc (Installer::installOne): If file is in use, ask the user | |
1904 | to stop processes and retry. | |
1905 | (MB_RETRYCONTINUE, IDCONTINUE): New macros. | |
1906 | (hMsgBoxHook): New static field. | |
1907 | (CBTProc): New window hook function. | |
1908 | (_custom_MessageBox): New function. | |
1909 | * CHANGES: Update with the above. | |
1910 | ||
effce34d IP |
1911 | 2006-10-12 Igor Peshansky <pechtcha@cs.nyu.edu> |
1912 | ||
1913 | * desktop.cc (make_cygwin_bat,save_icon): Capitalize filename. | |
1914 | ||
7dc7a0a4 BD |
1915 | 2006-08-06 Igor Peshansky <pechtcha@cs.nyu.edu> |
1916 | ||
1917 | * package_version.cc (packageversion::scan): Catch and handle | |
1918 | validation exception. | |
1919 | ||
0ec7cbc9 BD |
1920 | 2006-08-06 Igor Peshansky <pechtcha@cs.nyu.edu> |
1921 | ||
1922 | * cygpackage.h (filesize): Remove unused field. | |
1923 | (cygpackage::createInstance): Ditto. | |
1924 | * cygpackage.cc (cygpackage::createInstance): Ditto. | |
1925 | * package_db.cc (packagedb::packagedb): Remove unused variables. | |
1926 | Simplify parsing of installed.db. | |
1927 | ||
c861f482 BD |
1928 | 2006-08-06 Igor Peshansky <pechtcha@cs.nyu.edu> |
1929 | ||
1930 | * desktop.cc (DesktopSetupPage::OnInit): Remove stray MessageBox. | |
1931 | ||
3d4c5ebb IP |
1932 | 2006-05-24 Igor Peshansky <pechtcha@cs.nyu.edu> |
1933 | ||
1934 | * PickPackageLine.h (PickPackageLine::DrawIcon): Move to PickView. | |
1935 | * PickView.h (PickView::DrawIcon): Move from PickPackageLine. | |
1936 | (PickView::icon_dc,PickView::bm_icon): New instance field. | |
1937 | (PickView::rect_icon,PickView::bg_fg_brush): Ditto. | |
1938 | * PickCategoryLine.cc (PickCategoryLine::paint): Use | |
1939 | PickView::DrawIcon() instead of BitBlt(). | |
1940 | * PickPackageLine.cc (PickPackageLine::DrawIcon): Move to PickView. | |
1941 | (PickPackageLine::paint): Use PickView::DrawIcon(). | |
1942 | * PickView.cc (PickView::~PickView): Delete GDI objects. | |
1943 | (PickView::init): Create icon drawing context. | |
1944 | (PickView::DrawIcon): New function. Use system default colors to | |
1945 | draw bitmaps. | |
1946 | (PickView::paint): Set background color instead of using transparent | |
1947 | mode. Create system-colored brush. | |
1948 | ||
ba2559db BD |
1949 | 2006-04-25 Brian Dessent <brian@dessent.net> |
1950 | ||
1951 | * COPYING: New file (GPL). | |
1952 | * Makfile.am (EXTRA_DIST): Add COPYING. | |
1953 | ||
5f9ac473 MB |
1954 | 2006-04-17 Max Bowsher <maxb1@ukf.net> |
1955 | ||
1956 | * String++.cc, String++.h: Finally, it's time for the long-awaited | |
1957 | departure of 'class String' from this world. setup.exe can now | |
1958 | happily claim to follow the sane path of using just one general | |
1959 | purpose string class throughout :-) | |
1960 | ||
02d06553 MB |
1961 | 2006-04-17 Max Bowsher <maxb1@ukf.net> |
1962 | ||
1963 | * cygpackage.cc, cygpackage.h, package_version.cc, package_version.h: | |
1964 | Do some String to std::string migration. | |
1965 | ||
1eb2461a MB |
1966 | 2006-04-17 Max Bowsher <maxb1@ukf.net> |
1967 | ||
1968 | * package_meta.cc, package_meta.h, package_source.cc, | |
1969 | package_source.h: Do some String to std::string migration. | |
1970 | * package_db.cc: Small tweak to assist with the above. | |
1971 | ||
d19f12fd MB |
1972 | 2006-04-17 Max Bowsher <maxb1@ukf.net> |
1973 | ||
1974 | * PickView.cc, PickView.h, package_db.cc, package_db.h: | |
1975 | Do some String to std::string migration. | |
1976 | * package_meta.h: Change a couple of types to assist with the above. | |
1977 | ||
9b0876b3 MB |
1978 | 2006-04-17 Max Bowsher <maxb1@ukf.net> |
1979 | ||
1980 | * IniDBBuilder.cc, IniDBBuilder.h, IniDBBuilderPackage.cc, | |
1981 | IniDBBuilderPackage.h, PickLine.h, PickPackageLine.cc: | |
1982 | Do some String to std::string migration. | |
1983 | ||
fd93eff9 MB |
1984 | 2006-04-16 Max Bowsher <maxb1@ukf.net> |
1985 | ||
1986 | * FindVisitor.cc, FindVisitor.h, IniParseFindVisitor.cc, | |
1987 | IniParseFindVisitor.h, ScanFindVisitor.cc, ScanFindVisitor.h, find.cc, | |
1988 | find.h, fromcwd.cc, ini.cc, ini.h, iniparse.y, postinstall.cc: | |
1989 | Do some String to std::string migration. | |
1990 | ||
a3a02820 MB |
1991 | 2006-04-16 Max Bowsher <maxb1@ukf.net> |
1992 | ||
1993 | * IOStreamProvider.h, archive.cc, archive.h, archive_tar.cc, | |
1994 | archive_tar.h, io_stream.cc, io_stream.h, io_stream_cygfile.cc, | |
1995 | io_stream_cygfile.h, io_stream_file.cc, io_stream_file.h: | |
1996 | Do some String to std::string migration. | |
1997 | ||
2bba98e8 MB |
1998 | 2006-04-16 Max Bowsher <maxb1@ukf.net> |
1999 | ||
2000 | * desktop.cc, download.cc, install.cc, mount.cc, mount.h, script.cc, | |
2001 | script.h: Do some String to std::string migration. | |
2002 | ||
ee4ad3a7 MB |
2003 | 2006-04-16 Max Bowsher <maxb1@ukf.net> |
2004 | ||
2005 | * category.cc: Remove source file that contained no code! | |
2006 | * category.h: Delete, moving the single useful line to... | |
2007 | * package_meta.h: ...here. Remove category.h include. | |
2008 | * choose.cc, package_db.h, package_meta.cc: Remove category.h include. | |
2009 | * Makefile.am: Remove references to removed files. | |
2010 | ||
08678720 MB |
2011 | 2006-04-15 Max Bowsher <maxb1@ukf.net> |
2012 | ||
2013 | * ConnectionSetting.cc, ConnectionSetting.h, Exception.cc, | |
2014 | Exception.h, IniParseFeedback.cc, IniParseFeedback.h, LogFile.cc, | |
2015 | LogFile.h, LogSingleton.h, PackageSpecification.cc, | |
2016 | PackageSpecification.h, SourceSetting.cc, SourceSetting.h, | |
2017 | UserSettings.cc, UserSettings.h, dialog.cc, dialog.h, diskfull.cc, | |
2018 | diskfull.h, filemanip.cc, filemanip.h, inilintmain.cc, localdir.cc, | |
2019 | main.cc, nio-file.cc, nio-http.cc, prereq.cc, prereq.h, proppage.cc, | |
2020 | proppage.h, site.cc, site.h, splash.cc, state.cc, state.h, window.cc, | |
2021 | window.h: Do some String to std::string migration. | |
2022 | ||
cb026227 MB |
2023 | 2006-04-15 Max Bowsher <maxb1@ukf.net> |
2024 | ||
2025 | * String++.cc, String++.h | |
2026 | (new_cstr_char_array, format_1000s): Migrate String to std::string. | |
ca2b7505 | 2027 | (casecompare_lt_op, std::string operator+): New. |
cb026227 | 2028 | |
470f4928 MB |
2029 | 2006-04-06 Max Bowsher <maxb1@ukf.net> |
2030 | ||
2031 | * String++.h, String++.cc | |
2032 | (String::replace): Remove - usused. | |
2033 | (String::find): Remove - semantics do not match std::string. | |
2034 | ||
2035 | * root.cc (directory_is_rootdir): Switch to std::string.find(). | |
2036 | * script.cc (Script::baseName): Rewrite use of String.find(). | |
2037 | ||
2b791966 MB |
2038 | 2006-03-30 Max Bowsher <maxb1@ukf.net> |
2039 | ||
2040 | * String++.cc (replace): New function to take the place of one form | |
2041 | of String::replace method. | |
2042 | * String++.h (replace): Declare. | |
2043 | (String::replace): Make private. | |
2044 | ||
2045 | * desktop.cc (make_cygwin_bat): Use new function. | |
2046 | * filemanip.cc (backslash): Use simple loop in place of | |
2047 | String::replace. | |
2048 | * filemanip.h (backslash): Change signature to use std::string in | |
2049 | place of String. | |
2050 | ||
afa76033 MB |
2051 | 2006-03-30 Max Bowsher <maxb1@ukf.net> |
2052 | ||
2053 | * String++.cc, String++.h (casecompare): New function replacing | |
2054 | String.casecompare to increase parity with std::string. | |
2055 | (String::casecompare): Make private. | |
2056 | ||
2057 | * ConnectionSetting.cc, IniDBBuilderPackage.cc, | |
2058 | IniParseFindVisitor.cc, LogFile.cc, PackageSpecification.cc, | |
2059 | PickView.cc, SourceSetting.cc, String++.cc, String++.h, fromcwd.cc, | |
2060 | io_stream.cc, mount.cc, package_db.cc, package_source.h, | |
2061 | package_version.cc, prereq.h, script.cc: | |
2062 | Use casecompare in place of String::casecompare. | |
2063 | ||
8300be9c MB |
2064 | 2006-03-30 Max Bowsher <maxb1@ukf.net> |
2065 | ||
2066 | * String++.cc, String++.h: Remove String(int) constructor, which | |
2067 | was causing dangerously bizarre implicit conversions, and was a point | |
2068 | of disparity between String and std::string. | |
2069 | (stringify): New function to replace functionality removed above. | |
2070 | ||
2071 | * PickView.cc (PickView::init_headers), | |
2072 | archive_tar.cc (archive_tar::next_file_name), | |
2073 | cygpackage.cc (cygpackage::setCanonicalVersion): | |
2074 | Make explicit and call out with a FIXME some bizarre behaviour. | |
2075 | ||
2076 | * ScanFindVisitor.cc (ScanFindVisitor::visitFile), | |
2077 | filemanip.cc (base), iniparse.y, | |
2078 | threebar.cc (ThreeBarProgressPage::SetBar2): | |
2079 | Make simple adaptations to the changed API. | |
2080 | ||
7c593196 IP |
2081 | 2006-03-14 Igor Peshansky <pechtcha@cs.nyu.edu> |
2082 | ||
2083 | * PickView.cc (PickView::setViewMode): Auto-expand category if | |
2084 | its name starts with a dot. | |
2085 | ||
3dbb54fc DK |
2086 | 2006-03-14 Dave Korn <dave.korn@artimi.com> |
2087 | ||
2088 | * String++.cc (new_cstr_char_array): Handle null input correctly. | |
2089 | ||
e5e2eba8 CF |
2090 | 2006-03-10 Christopher Faylor <cgf@timesys.com> |
2091 | ||
2092 | * res.rc: Update copyright. | |
2093 | (IDS_MIRROR_LST): Use cygwin.com for mirror list, not | |
2094 | sources.redhat.com. | |
e5e2eba8 | 2095 | * site.cc (NOSAVE1): Use preferred name of sourceware site. |
4f41c01c | 2096 | (NOSAVE2): sourceware.cygnus.com -> sources.redhat.com. |
e5e2eba8 CF |
2097 | (NOSAVE1_LEN): Use just-defined name to determine length. |
2098 | (NOSAVE2_LEN): Ditto. | |
2099 | (NOSAVE3_LEN): Ditto. | |
2100 | ||
2101 | 2006-03-10 Bas van Gompel <patch-cygsup.buzz@bavag.tmfweb.nl> | |
2102 | ||
2103 | * res.rc (IDD_DROPPED): New dialog. | |
2104 | * resource.h (IDD_DROPPED): New dialog-id. | |
2105 | (IDC_DROP_MIRRORS, IDC_DROP_NOWARN): New control-ids. | |
2106 | * site.cc: Add enum for response on dropped mirrors. | |
2107 | (cache_is_usable, cache_needs_writing): New bools. | |
2108 | (cache_warn_urls): New string. | |
2109 | (cached_site-list, dropped_site_list): New SiteLists. | |
2110 | (site_list_type::init, site_list_type::site_list_type): Change to four | |
2111 | parameter form. | |
2112 | (site_list_type::site_list_type, site_list_type::operator=) Copy | |
2113 | servername, area and location. | |
2114 | (load_site_list): New function, broken out of get_site_list. Support | |
2115 | four-parameter site_list_type. | |
2116 | (get_site_list): Break out load_site_list. Move reading cache earlier. | |
2117 | Don't write new cache. Set flags to record cache state. Load both | |
2118 | all_site_list and cached_site_list. | |
2119 | (SiteSetting::registerSavedSite): Use four-parameter site_list_type. | |
2120 | (drop_proc, check_dropped_mirrors, write_cache_list, save_cache_file): | |
2121 | New functions. | |
2122 | (SitePage::OnNext): Check for dropped mirrors and save cache as | |
2123 | appropriate. | |
2124 | (SitePage::OnMessageCmd): Use four-parameter site_list_type. | |
2125 | * site.h | |
2126 | (site_list_type::init, site_list_type::site_list_type): Change to four | |
2127 | parameter form. | |
2128 | (site_list_type): Add servername, area and location members. | |
2129 | ||
b2b35a6e IP |
2130 | 2006-03-09 Igor Peshansky <pechtcha@cs.nyu.edu> |
2131 | ||
2132 | * script.cc (Script::run): Fix inverted test for abnormal exit. | |
2133 | ||
966a9815 MB |
2134 | 2006-03-09 Bas van Gompel <patch-cygsup.buzz@bavag.tmfweb.nl> |
2135 | Max Bowsher <maxb1@ukf.net> | |
2136 | ||
2137 | Provide indication of site that a file is being downloaded from. | |
2138 | ||
2139 | * geturl.cc: Use std::string instead of String throughout. | |
2140 | (init_dialog): Put more information into GUI. | |
2141 | Remove unused 'owner' parameter and change all callers. | |
2142 | (progress): Remove spurious \n characters from GUI. | |
2143 | * geturl.h: Use std::string instead of String throughout. | |
2144 | * res.rc (IDD_INSTATUS): Use SS_ENDELLIPSIS. | |
2145 | ||
8e91c2fb MB |
2146 | 2006-03-09 Max Bowsher <maxb1@ukf.net> |
2147 | ||
2148 | * Makefile.am (EXTRA_DIST): Add tree-minus.bmp and tree-plus.bmp. | |
2149 | ||
bb810dd8 DK |
2150 | 2006-01-20 Bryan Thrall <bryan.thrall@flightsafety.com> |
2151 | ||
2152 | * source.cc (SourcePage::OnActivate): Command line takes precedence | |
2153 | over last user selection. | |
2154 | ||
253585ba MB |
2155 | 2005-11-30 Max Bowsher <maxb1@ukf.net> |
2156 | ||
2157 | * res.rc (IDD_ROOT, IDD_LOCAL_DIR): Rearrange some controls a little, | |
2158 | in response to suggestion from Carl Karsten. | |
2159 | ||
d60832c6 MB |
2160 | 2005-11-30 Max Bowsher <maxb1@ukf.net> |
2161 | ||
2162 | * site.h, site.cc: Use std::string in preference to String. | |
2163 | (site_list_type::init): Convert some painful raw C string work to | |
2164 | STL std::string work. Stop totally ignoring the result of this | |
2165 | calculation, implementing the (somewhat weird) sort order for sites | |
2166 | that was apparently indented for ages. | |
2167 | ||
3d3c6047 IP |
2168 | 2005-10-14 Igor Pechtchanski <pechtcha@cs.nyu.edu> |
2169 | ||
2170 | * io_stream.cc (url_scheme_not_registered): New macro. | |
2171 | (io_stream::open): Better log message on error. | |
2172 | (io_stream::mkpath_p,io_stream::remove,io_stream::mklink): Ditto. | |
2173 | (io_stream::move,io_stream::exists): Ditto. | |
2174 | ||
b059e20b IP |
2175 | 2005-10-13 Igor Pechtchanski <pechtcha@cs.nyu.edu> |
2176 | ||
2177 | * site.cc (get_site_list): Default to empty mirror list if | |
2178 | server unavailable and none cached, to allow using preferred | |
2179 | mirrors anyway. | |
2180 | ||
82573872 IP |
2181 | 2005-09-29 Igor Pechtchanski <pechtcha@cs.nyu.edu> |
2182 | ||
2183 | * package_db.cc (packagedb::packagedb): Remember missing package | |
2184 | database file. | |
2185 | ||
9237e1bb IP |
2186 | 2005-09-29 Igor Pechtchanski <pechtcha@cs.nyu.edu> |
2187 | ||
2188 | * site.cc (get_site_list): Store mirror list locally. | |
2189 | Use local copy if unable to download. | |
2190 | ||
a8be3f13 IP |
2191 | 2005-09-27 Igor Pechtchanski <pechtcha@cs.nyu.edu> |
2192 | ||
2193 | * io_stream_cygfile.cc (io_stream_cygfile::io_stream_cygfile): | |
2194 | Better log message on error. | |
2195 | ||
2a8125be IP |
2196 | 2005-09-27 Igor Pechtchanski <pechtcha@cs.nyu.edu> |
2197 | ||
bd3a38c7 | 2198 | * script.cc (Script::isAScript): Fix string comparison. |
2a8125be | 2199 | |
01b9378a IP |
2200 | 2005-09-27 Igor Pechtchanski <pechtcha@cs.nyu.edu> |
2201 | ||
2202 | * nio-ftp.cc (NetIO_FTP::NetIO_FTP): Reconnect on FTP timeout. | |
2203 | ||
65ce9baf BD |
2204 | 2005-09-11 Masayuki FUJII <boochang@m4.kcn.ne.jp> |
2205 | ||
2206 | * package_meta.cc (packagemeta::ScanDownloadedFiles): Don't use an | |
2207 | invalid iterator. Fix whitespace. | |
2208 | ||
3f6926b1 BD |
2209 | 2005-09-09 Brian Dessent <brian@dessent.net> |
2210 | ||
2211 | * CHANGES: Document recent updates. | |
2212 | * choose.cc (ChooserPage::OnInit): Add new tooltip. | |
2213 | * res.rc (IDD_CHOOSE): Remove 'administrative' from description. | |
2214 | (IDS_HIDEOBS_TOOLTIP): Add new string for tooltip. | |
2215 | * resource.h (IDS_HIDEOBS_TOOLTIP): Define. | |
2216 | * window.cc (Window::ActivateTooltips): Fix whitespace. Set tooltip | |
2217 | delay to 30 seconds. | |
2218 | ||
9dda7744 BD |
2219 | 2005-09-09 Igor Pechtchanski <pechtcha@cs.nyu.edu> |
2220 | ||
2221 | * PickView.cc (PickView::paint): Set background mode to transparent. | |
2222 | * PickCategoryLine.cc (PickCategoryLine::paint): Use bitwise AND to | |
2223 | blit bitmaps. | |
2224 | * PickPackageLine.cc (PickPackageLine::paint): Ditto. | |
2225 | ||
534c25cc BD |
2226 | 2005-09-01 Brian Dessent <brian@dessent.net> |
2227 | ||
2228 | * package_meta.cc (packagemeta::uninstall): Remove support for | |
2229 | undocumented and dangerous postremove script. | |
2230 | ||
2231 | 2005-09-01 Igor Pechtchanski <pechtcha@cs.nyu.edu> | |
2232 | ||
2233 | * script.cc (run): Change to return the exit code or negative error. | |
2234 | (Script::run): Ditto. | |
2235 | (try_run_script): Receive both filename and extension and run only | |
2236 | one script. Also return the exit code. | |
2237 | * script.h (try_run_script): Change signature. | |
2238 | (Script::run): Ditto. | |
2239 | * postinstall.cc (RunScript::operator()): Change to return the exit | |
2240 | code or negative error. | |
2241 | * install.cc (Installer::preremoveOne): Pass extension to | |
2242 | try_run_script(). | |
2243 | ||
2244 | 2005-09-01 Eric Blake <ebb9@byu.net> | |
2245 | ||
2246 | * script.cc (shells): Use /bin/bash, not sh, to allow upgrades to | |
2247 | /bin/sh. | |
2248 | ||
0ac305ec BD |
2249 | 2005-09-01 Igor Pechtchanski <pechtcha@cs.nyu.edu> |
2250 | ||
2251 | * PickView.h (PickView::size_col): New instance variable. | |
2252 | * PickView.cc (pkg_headers, cat_headers): Add size column. | |
2253 | (PickView::set_headers): Initialize size_col. | |
2254 | (PickView::init_headers): Include width of size column. | |
2255 | * PickPackageLine.cc (PickPackageLine::paint): Handle size_col. | |
2256 | * String++.cc (format_1000s): New function. | |
2257 | * String++.h (format_1000s): Declare new function. | |
2258 | ||
aa62e0f3 BD |
2259 | 2005-09-01 Brian Dessent <brian@dessent.net> |
2260 | ||
2261 | * Makefile.am (BASECXXFLAGS): Add -Wno-uninitialized to work around | |
2262 | spurious warnings with gcc 3.4.4. | |
2263 | ||
687dd890 BD |
2264 | 2005-05-22 Brian Dessent <brian@dessent.net> |
2265 | ||
2266 | * res.rc (IDD_CHOOSE): Change description to include administrative | |
2267 | packages in addition to obsolete. | |
2268 | ||
82306ac2 BD |
2269 | 2005-05-21 Brian Dessent <brian@dessent.net> |
2270 | ||
2271 | * prereq.cc: New file. | |
2272 | * prereq.h: Ditto. | |
2273 | * tree-minus.bmp: Ditto. | |
2274 | * tree-plus.bmp: Ditto. | |
2275 | * Makefile.am: Add prereq.cc and prereq.h to build. | |
2276 | * PickCategoryLine.cc (PickCategoryLine::paint): Add new parameter and | |
2277 | refactor. Use bitmap for '+' and '-' indicators. Draw package lines | |
2278 | column-wise for better drawing efficiency. | |
2279 | (PickCategoryLine::click): Use previously calculated x value. | |
2280 | * PickCategoryLine.h (PickCategoryLine::paint): Update prototype. Add | |
2281 | 'spin_x' member. | |
2282 | * PickLine.h (PickLine:paint): Update prototype. | |
2283 | * PickPackageLine.cc (PickPackageLine::DrawCheck): Remove. | |
2284 | (PickPackageLine::DrawIcon): New function. | |
2285 | (PickPackageLine::paint): Add parameter. Refactor completely for more | |
2286 | efficient painting. | |
2287 | * PickPackageLine.h (PickPackageLine::DrawIcon): Add prototype. | |
2288 | (PickPackageLine::paint): Update prototype. | |
2289 | (PickPackageLine::DrawCheck): Remove. | |
ca2b7505 | 2290 | * PickView.cc (pkg_headers): Remove unused 'slen' field, add new |
82306ac2 | 2291 | 'needs_clip' field to signify if clipping is necessary for this column. |
ca2b7505 | 2292 | (PickView::note_width): Fold long line. Refactor slightly for |
82306ac2 BD |
2293 | simplicity. |
2294 | (PickView::set_view_mode): Remove. | |
2295 | (PickView::cycleViewMode): New function. | |
2296 | (PickView::setViewMode): Refactor completely. Incorporate functionality | |
2297 | of clear_view() here instead. Simplify package selection into a single | |
2298 | 'for' loop rather than repeating code for each type. | |
2299 | (isObsolete): New function, with second overloaded version. | |
2300 | (PickView::setObsolete): New function. | |
2301 | (PickView::insert_pkg): Do not show obsolete packages. Move | |
2302 | declaration of 'db' lower. Fix whitespace. | |
2303 | (PickView::insert_category): Do not show obsolete packages. | |
ca2b7505 | 2304 | (PickView::clear_view): Remove. Moved logic into 'setViewMode'. |
82306ac2 BD |
2305 | (PickView::scroll): Add additional parameter 'howmany' with default |
2306 | value of 1. Scroll by 'howmany' lines for SB_LINEDOWN and SB_LINEUP. | |
2307 | (NUM_CATEGORY_COL_WIDTH): Define. | |
2308 | (PickView::init_headers): Fix whitespace. Add comments. Ignore | |
2309 | obsolete packages in width calculations. Add functionality to size | |
2310 | 'Category' column so that at least NUM_CATEGORY_COL_WIDTH categories | |
2311 | are displayed for every package. Ensure that 'new_col' takes into | |
2312 | account all possible labels. | |
2313 | (PickView::PickView): Initialize showObsolete to false. | |
2314 | (PickView::init): Remove unused bitmap bm_rtarrow. Add new bitmaps | |
2315 | bm_treeplus and bm_treeminus. Use a macro for better readability. | |
2316 | Fix whitespace formatting. Remove header computation from here, call | |
2317 | refresh() instead. | |
2318 | (PickView::registerWindowClass): Remove unnecessary background brush. | |
2319 | (PickView::WindowProc): Add support for WM_MOUSEWHEEL message | |
2320 | processing. Fix indentation. Reformat for readability. | |
2321 | (PickView::paint): Get the update region before calling BeginPaint. | |
2322 | Fill the update region with the default colors. Do not do clipping | |
2323 | here. Pass update region to the PickLine paint function instead. | |
2324 | Free the update region when finished. | |
2325 | (PickView::Create): Fix indentation. | |
2326 | (PickView::defaultTrust): Ditto. | |
2327 | (PickView::refresh): Add column recalculation logic here. | |
2328 | * PickView.h: Fix indentation. | |
2329 | (RTARROW_WIDTH): Remove unused define. | |
2330 | (NEW_COL_SIZE_SLOP): Ditto. | |
2331 | (TREE_INDENT): Define. | |
2332 | (PickView::get_view_mode): Remove. | |
2333 | (PickView::set_view_mode): Rename to setViewMode for consistency. | |
2334 | (PickView::cycleViewMode): Add new function. | |
2335 | (PickView::setObsolete): Ditto. | |
2336 | (PickView::clear_view): Remove. | |
2337 | (PickView::bm_treeplus): Define new member. | |
2338 | (PickView::bm_treeminus): Ditto. | |
2339 | (PickView::scroll): Add parameter. | |
2340 | (PickView::Header::slen): Remove unused member. | |
2341 | (PickView::Header::needs_clip): Define new member. | |
2342 | (PickView::showObsolete): Ditto. | |
2343 | (isObsolete): Add prototype, and for overloaded version as well. | |
2344 | * choose.cc: Add include. | |
2345 | (ChooserControlsInfo): Allow new checkbox to be resized. | |
2346 | (ChooserPage::OnInit): Start dialog with 'Hide obsolete' checked. | |
2347 | (ChooserPage::OnNext): Call the dependency checker, act accordingly. | |
2348 | (ChooserPage::changeTrust): Notify dependency checker of current trust | |
2349 | level when it changes. | |
2350 | (ChooserPage::OnMessageCmd): Just call cycleViewMode instead when | |
2351 | changing the view. Update the chooser when the user toggles the | |
2352 | 'hide obsolete' checkbox. | |
2353 | (ChooserPage::OnMouseWheel): New function. Pass mouse wheel message | |
2354 | on to chooser. | |
2355 | * choose.h (OnMouseWheel): Add prototype. | |
2356 | * main.cc: Add include. | |
2357 | (main): Define and initialize the PrereqPage object. Add it into | |
2358 | the property sheet list. | |
2359 | * PropPage.cc (PropertyPage::DialogProc): Add support for WM_MOUSEWHEEL | |
2360 | message processing in derived classes. | |
2361 | (PropertyPage::OnMouseWheel): New function. | |
2362 | * PropPage.h (PropertyPage::OnMouseWheel): Add prototype. | |
2363 | * res.rc (IDD_LOCAL_DIR): Shorten edit box so that pushbutton is not | |
2364 | crowded. | |
2365 | (IDD_SITE): Provide static text with an ID so that it can be resized | |
2366 | properly. Move pushbutton slightly to right so that it doesn't crowd | |
2367 | edit box. | |
2368 | (IDD_SPLASH): Change copyright displayed on spash screen to be generic | |
2369 | since the actual list of contributors is long. | |
2370 | (IDD_CHOOSE): Add checkbox. Resize other controls to accomodate. | |
2371 | (IDD_PREREQ): New dialog. | |
2372 | (SPIN): Delete duplicated bitmap resource. | |
2373 | (IDB_RTARROW): Remove unused bitmap resource. | |
2374 | (IDB_TREE_PLUS): Add. | |
2375 | (IDB_TREE_MINUS): Ditto. | |
2376 | (IDS_TRUSTPREV_TOOLTIP): Revise wording to be more concise. | |
2377 | (IDS_TRUSTCURR_TOOLTIP): Ditto. | |
2378 | (IDS_TRUSTEXP_TOOLTIP): Ditto. | |
2379 | (IDS_VIEWBUTTON_TOOLTIP): Ditto. | |
2380 | * resource.h (IDD_PREREQ): Define. | |
2381 | (IDB_RTARROW): Remove. | |
2382 | (IDB_TREE_PLUS): Add, and renumber. | |
2383 | (IDB_TREE_MINUS): Ditto. | |
2384 | (IDC_SITE_USERURL): Define. | |
2385 | (IDC_CHOOSE_HIDE): Ditto. | |
2386 | (IDC_PREREQ_TEXT): Ditto. | |
2387 | (IDC_PREREQ_EDIT): Ditto. | |
2388 | (IDC_PREREQ_CHECK): Ditto. | |
2389 | * site.cc (SiteControlsInfo): Ensure that 'User URL' static text is | |
2390 | properly resized. | |
2391 | ||
846e099d MB |
2392 | 2005-05-14 Max Bowsher <maxb@ukf.net> |
2393 | ||
2394 | "Type" field of packageversions was not even being filled in. Fix. | |
2395 | ||
2396 | * cygpackage.h, cygpackage.cc (cygpackage::createInstance): | |
2397 | Make "type" a mandatory parameter of the constructor. | |
2398 | * IniDBBuilderPackage.cc: Adjust callers. | |
2399 | ||
c1352375 MB |
2400 | 2005-05-14 Bas van Gompel <patch-cygsup.buzz@bavag.tmfweb.nl> |
2401 | ||
2402 | Fix behaviour of hardlinks in source packages. | |
2403 | ||
2404 | * archive.cc (archive::extract_file): | |
2405 | Use prefixPath for link target on hardlinks. | |
2406 | ||
403f1027 MB |
2407 | 2005-05-14 Max Bowsher <maxb@ukf.net> |
2408 | ||
2409 | Hopefully, solve the "preremove DLL dependency" bug, by running all | |
2410 | preremove scripts before actually removing any files. | |
2411 | ||
ca2b7505 | 2412 | * install.cc |
403f1027 MB |
2413 | (Installer::preremoveOne): New method. Run preremove scripts here. |
2414 | (Installer::replaceOne): Remove method. | |
2415 | (num_replacements): Remove variable. | |
2416 | (do_install_thread): Significantly rewrite. | |
2417 | * package_meta.cc (packagemeta::uninstall): | |
2418 | Do not run preremove script here. | |
2419 | ||
f916c374 MB |
2420 | 2005-05-14 Max Bowsher <maxb@ukf.net> |
2421 | ||
2422 | * download.cc (do_download_thread): | |
2423 | Do not use packageversion::changeRequested(). | |
2424 | * package_version.cc (packageversion::Type): | |
2425 | Implement declared but previously unimplemented method. | |
2426 | (packageversion::changeRequested, _packageversion::changeRequested): | |
2427 | Remove. | |
2428 | * package_version.h | |
2429 | (packageversion::changeRequested, _packageversion::changeRequested): | |
2430 | Remove. | |
2431 | * install.cc (Installer::replaceOne): Simplify, return void, not int. | |
2432 | (installOneSource): Rename to... | |
403f1027 | 2433 | (installOne): ...this. Change arguments and return type. Refactor. |
f916c374 MB |
2434 | (install_one): Remove. |
2435 | (do_install_thread): Tidying up. | |
2436 | ||
655310ed MB |
2437 | 2005-05-07 Max Bowsher <maxb@ukf.net> |
2438 | ||
2439 | * download.cc (validateCachedPackage): Remove all MD5 checking code. | |
2440 | It is not acceptable to check MD5 sums as part of simply answering | |
2441 | whether a package exists in the local cache or not. It is too slow. | |
2442 | MD5 sums always have been - and will continue to be - checked at | |
2443 | install time. | |
2444 | (NoMD5Option): Remove this option, as the code it controls has been | |
2445 | removed. | |
2446 | ||
61a9e487 MB |
2447 | 2005-05-07 Max Bowsher <maxb@ukf.net> |
2448 | ||
2449 | * install.cc (md5_one): Make the MD5 checking done at install time | |
2450 | display a progess GUI, as the MD5 checking done at other times does. | |
2451 | ||
4c90a532 MB |
2452 | 2005-05-07 Max Bowsher <maxb@ukf.net> |
2453 | ||
2454 | * resource.h, res.rc: Followup to recent de-MSVC-ification of | |
2455 | resource.h, by removing a lot from res.rc, and the last few bits | |
2456 | from resource.h. | |
2457 | ||
9a8a04fc BD |
2458 | 2005-05-05 Brian Dessent <brian@dessent.net> |
2459 | ||
37f49caf BD |
2460 | * choose.cc (ChooserPage::OnInit): Initialize tooltips for this |
2461 | dialog. | |
2462 | ||
2463 | * proppage.h (PropertyPage::makeClickable): Update prototype to | |
2464 | reflect same argument name as function. | |
2465 | ||
2466 | * proppage.cc (PropertyPage::DialogProc): Remove redundant 'break' | |
ca2b7505 | 2467 | statements that follow 'return's. Add missing braces to case |
37f49caf BD |
2468 | statements. Call handler for TTN_GETDISPINFO. |
2469 | ||
2470 | * res.rc (IDS_TRUSTKEEP_TOOLTIP): Add new STRINGTABLE entry for | |
2471 | tooltip text. | |
2472 | (IDS_TRUSTPREV_TOOLTIP): Ditto. | |
ca2b7505 | 2473 | (IDS_TRUSTCURR_TOOLTIP): Ditto. |
37f49caf BD |
2474 | (IDS_TRUSTEXP_TOOLTIP): Ditto. |
2475 | (IDS_TRUSTPREV_TOOLTIP): Ditto. | |
2476 | (IDS_VIEWBUTTON_TOOLTIP): Ditto. | |
2477 | ||
2478 | * resource.h: Likewise, add identifiers for tooltip resources. | |
2479 | ||
2480 | * window.h: Add includes. | |
2481 | (Window::TooltipHandle): Add new private data structure. | |
2482 | (Window::TooltipStrings): Ditto. | |
2483 | (Window::ActivateTooltips): Define new function to support tooltip | |
2484 | functionality. | |
2485 | (Window::SetTooltipState): Ditto. | |
2486 | (Window::AddTooltip): Ditto. | |
322281d3 | 2487 | (Window::TooltipNotificationHandler): Ditto. |
37f49caf BD |
2488 | |
2489 | * window.cc (Window::Window): Initialize handle to NULL. | |
2490 | (Window::~Window): Call DestroyWindow on tooltip control if it was | |
2491 | activated. | |
2492 | (Window::ActivateTooltips): New function to activate the tooltip | |
2493 | control. | |
2494 | (Window::SetTooltipState): New function to allow toggling of | |
2495 | tooltips. | |
2496 | (Window::AddTooltip): New function that adds a tooltip to a given | |
2497 | control in a given window. Also implement overloaded versions that | |
2498 | provide simpler interface and the ability to use a string resource. | |
2499 | (Window::TooltipNotificationHandler): New function to handle | |
2500 | TTN_GETDISPINFO notification messages. | |
2501 | ||
2502 | 2005-05-05 Brian Dessent <brian@dessent.net> | |
4c90a532 | 2503 | |
9a8a04fc BD |
2504 | * resource.h: Reorganize. Group by type, and give each its own |
2505 | range of IDs. Regenerate IDs accordingly. | |
2506 | (IDD_CHOOSER): Remove obsolete and unused symbol. | |
2507 | ||
9e6e3c68 BD |
2508 | 2005-05-05 Brian Dessent <brian@dessent.net> |
2509 | ||
2510 | * root.h (class RootPage): Add missing virtual to OnMessageCmd. | |
2511 | ||
746fff8d BD |
2512 | 2005-05-05 Brian Dessent <brian@dessent.net> |
2513 | ||
2514 | * root.cc (dialog_cmd): Remove. Use OnMessageCmd instead. | |
2515 | (RootPage::Create): Accomodate above change. | |
2516 | ||
2517 | * root.h (class RootPage): Add prototype for OnMessageCmd. | |
2518 | ||
2519 | * res.rc (IDD_ROOT): Fix broken button groups. Correct the order of | |
ca2b7505 | 2520 | the controls and use of WS_GROUP so that the radio buttons act |
746fff8d BD |
2521 | correctly. |
2522 | ||
d2a3615c MB |
2523 | 2005-05-05 Max Bowsher <maxb@ukf.net> |
2524 | ||
2525 | Bulk rename of String++ member cstr_oneuse () to c_str () for | |
2526 | similarity to std::string. | |
2527 | ||
2528 | * Exception.cc | |
2529 | * IniDBBuilderPackage.cc | |
2530 | * IniParseFindVisitor.cc | |
2531 | * LogFile.cc | |
2532 | * PickCategoryLine.cc | |
2533 | * PickPackageLine.cc | |
2534 | * PickView.cc | |
2535 | * String++.cc | |
2536 | * String++.h | |
2537 | * archive.cc | |
2538 | * cygpackage.cc | |
2539 | * desktop.cc | |
2540 | * dialog.cc | |
2541 | * diskfull.cc | |
2542 | * download.cc | |
2543 | * filemanip.cc | |
2544 | * find.cc | |
2545 | * geturl.cc | |
2546 | * ini.cc | |
2547 | * install.cc | |
2548 | * io_stream.cc | |
2549 | * io_stream_cygfile.cc | |
2550 | * io_stream_file.cc | |
2551 | * localdir.cc | |
2552 | * mount.cc | |
2553 | * nio-http.cc | |
2554 | * package_db.cc | |
2555 | * package_meta.cc | |
2556 | * package_source.h | |
2557 | * postinstall.cc | |
2558 | * proppage.cc | |
2559 | * root.cc | |
2560 | * script.cc | |
2561 | * site.cc | |
2562 | * splash.cc | |
2563 | * threebar.cc | |
2564 | * window.cc | |
2565 | ||
3a8630fd MB |
2566 | 2005-05-05 Max Bowsher <maxb@ukf.net> |
2567 | ||
2568 | Some String++ refactoring, setting out in the general direction of | |
2569 | eventually just using the STL std::string, not our own class. | |
2570 | ||
2571 | * String++.cc (String::cstr, String::cstr () const): Remove. | |
2572 | (new_cstr_char_array): New function. | |
2573 | * String++.h: Sync with above. | |
2574 | Remove irrelevant "class io_stream;" declaration. | |
2575 | ||
2576 | * cygpackage.h: Add "class io_stream;" declaration, now no longer | |
2577 | being supplied by side-effect. | |
2578 | ||
2579 | * filemanip.cc: Remove unneeded includes, add "using namespace std;". | |
2580 | (parse_filename): Exchange some awkward pointer manipulation for | |
2581 | std::string usage. Use new_cstr_char_array (). | |
2582 | * filemanip.h: Sync with above. | |
2583 | (fileparse): Improve style of declaration. | |
2584 | ||
2585 | * io_stream_cygfile.cc (io_stream_cygfile::normalise): | |
2586 | Use new_cstr_char_array (). | |
2587 | * site.cc (site_list_type::init, get_site_list): Ditto. | |
2588 | ||
daab12c7 BD |
2589 | 2005-05-05 Brian Dessent <brian@dessent.net> |
2590 | ||
03e84729 MB |
2591 | * ControlAdjuster.h (enum ControlPosition): Declare new resizing |
2592 | methods CP_STRETCH_LEFTHALF and CP_STRETCH_RIGHTHALF, and their | |
2593 | TOP/BOTTOM aliases. | |
daab12c7 | 2594 | |
03e84729 MB |
2595 | * ControlAdjuster.cc (ControlAdjuster::ControlInfo::adjust): |
2596 | Implement CP_STRETCH_LEFTHALF and CP_STRETCH_RIGHTHALF, which are | |
2597 | designed to resize elements in a two-column layout. | |
daab12c7 | 2598 | |
03e84729 MB |
2599 | * localdir.h (class LocalDirPage): Remove constructor implementation |
2600 | from here... | |
daab12c7 | 2601 | |
03e84729 MB |
2602 | * localdir.cc (LocalDirPage::LocalDirPage): ...to here, and call |
2603 | AddControlsInfo on initialization. | |
2604 | (static LocaldirControlsInfo): Add. Define sizing rules for dialog | |
daab12c7 BD |
2605 | elements. |
2606 | ||
03e84729 MB |
2607 | * proppage.h: Add includes. |
2608 | (PropertyPage::ClickableURL): | |
2609 | Declare new storage type for internal use by class. | |
2610 | (PropertyPage::urls): Likewise. | |
2611 | (PropertyPage::urlWinProc): Add declaration. | |
daab12c7 BD |
2612 | (PropertyPage::makeClickable): Likewise. |
2613 | ||
03e84729 MB |
2614 | * proppage.cc: Add includes. |
2615 | (PropertyPage::DialogProc): Implement handler for WM_CTLCOLORSTATIC | |
2616 | message. Supports static controls that have been turned into | |
2617 | clickable hyperlinks. | |
2618 | (static PropertyPage::urls): Declare. | |
2619 | (PropertyPage::makeClickable): Implement new member function that | |
2620 | provides user interface for making text into clickable URLs. | |
2621 | (PropertyPage::urlWinProc): Implement new private member function used | |
2622 | as a windowproc for subclassing a static control. | |
2623 | ||
2624 | * resource.h (IDC_SPLASH_URL, IDC_FILEMODES_LINK, IDC_ROOTDIR_GRP, | |
2625 | IDC_INSTALLFOR_GRP, IDC_ALLUSERS_TEXT, IDC_JUSTME_TEXT, IDC_MODE_GRP, | |
2626 | IDC_MODE_TEXT, IDC_MODE_BIN, IDC_LOCALDIR_GRP, IDC_SPLASH_TEXT, | |
2627 | IDC_SPLASH_ICON, IDC_SPLASH_COPYR): Add. Replaces anonymous | |
daab12c7 BD |
2628 | IDC_STATIC ids, so that controls can be referenced by the resizer. |
2629 | ||
03e84729 MB |
2630 | * res.rc (IDD_LOCAL_DIR): Rearrange controls to match top-down order |
2631 | in the dialog. Fold long lines. Replace anonymous IDC_STATIC ids. | |
2632 | (IDD_ROOT): Reorder in same manner. Replace anonymous IDC_STATIC ids. | |
2633 | Add descriptive text of each option, and hyperlink for more | |
2634 | information. Mark suggested choice as "(RECOMMENDED)". Swap order of | |
2635 | 'unix'/'dos' radio buttons so that recommended choice is first in both | |
2636 | columns. | |
2637 | (IDD_SPLASH): Reorder elements to match top-down order of dialog, fold | |
2638 | long lines. Add descriptive paragraph, remove anonymous ids. Update | |
2639 | copyright text, replace sources.redhat.com with cygwin.com. | |
daab12c7 | 2640 | |
03e84729 | 2641 | * root.h (class RootPage): Remove constructor implementation from |
daab12c7 BD |
2642 | here... |
2643 | ||
03e84729 MB |
2644 | * root.cc: ...to here, and call AddControlInfo. |
2645 | (static RootControlsInfo): Add. Populate with resizing data. | |
daab12c7 BD |
2646 | (RootPage::OnInit): Make text a clickable hyperlink. |
2647 | ||
03e84729 | 2648 | * splash.h (class SplashPage): Likewise, move constructor from |
daab12c7 BD |
2649 | here... |
2650 | ||
03e84729 MB |
2651 | * splash.cc: ...to here. Call AddControlInfo. |
2652 | (static SplashControlsInfo): Add and populate. | |
2653 | (SplashPage::Create): Make link on splash page a clickable hyperlink. | |
daab12c7 | 2654 | |
03e84729 MB |
2655 | * window.h: Add include. |
2656 | (class Window): Store allocated fonts with a vector instead of fixed | |
2657 | array. Change indentation of setParent to be consistent. | |
daab12c7 | 2658 | |
03e84729 MB |
2659 | * window.cc (Window::Window): Remove FontCounter. |
2660 | (Window::~Window): Likewise. Iterate over vector of fonts instead. | |
2661 | (Window::SetDlgItemFont): Use vector. | |
daab12c7 | 2662 | |
042d83f9 MB |
2663 | 2005-05-05 Max Bowsher <maxb@ukf.net> |
2664 | ||
2665 | * Makefile.am (EXTRA_DIST, inilint_SOURCES): | |
2666 | Sync with several recent changes. | |
2667 | ||
a38fde1a BD |
2668 | 2005-05-05 Brian Dessent <brian@dessent.net> |
2669 | ||
03e84729 | 2670 | * res.rc: (CREATEPROCESS_MANIFEST_RESOURCE_ID): Include section |
a38fde1a BD |
2671 | comment. |
2672 | ||
dd267526 BD |
2673 | 2005-05-05 Brian Dessent <brian@dessent.net> |
2674 | ||
2675 | * res.rc: (IDC_CHOOSE): Widen 'view' button by 6px horizontally and | |
2676 | 4px vertically. Adjust other controls to accomodate. | |
2677 | (CREATEPROCESS_MANIFEST_RESOURCE_ID): Define so that manifest is | |
2678 | included in the binary. | |
2679 | ||
2680 | * setup.exe.manifest: New file. Results in common controls with | |
2681 | themed appearance on modern versions of Windows. | |
2682 | ||
83524e5b MB |
2683 | 2005-05-05 Brian Dessent <brian@dessent.net> |
2684 | ||
03e84729 | 2685 | * main.cc (WinMain): Change conditional to avoid spurious error |
83524e5b | 2686 | message on success. Include reason for failure in log message. |
96f50f64 | 2687 | |
071f7af3 MB |
2688 | 2005-05-04 Max Bowsher <maxb@ukf.net> |
2689 | ||
2690 | * state.cc, state.h (net_method, net_proxy_host, net_proxy_port,) | |
2691 | (net_user, net_passwd, net_proxy_user, net_proxy_passwd,) | |
2692 | Inet_ftp_user, net_ftp_passwd): | |
2693 | Move these global variables to be static variables of the NetIO class. | |
2694 | ||
2695 | * netio.h, netio.cc (net_method, net_proxy_host, net_proxy_port,) | |
2696 | (net_user, net_passwd, net_proxy_user, net_proxy_passwd,) | |
2697 | net_ftp_user, net_ftp_passwd): | |
2698 | As above. | |
2699 | ||
2700 | * ConnectionSetting.cc, net.cc: | |
2701 | Change include, refer to variables in new location. | |
2702 | ||
0a49fe44 MB |
2703 | 2005-05-04 Max Bowsher <maxb@ukf.net> |
2704 | ||
2705 | * PickLine.cc: Remove file - redundant. | |
2706 | * Makefile.am (setup_SOURCES): Adjust. | |
2707 | ||
7f3324d2 MB |
2708 | 2005-05-04 Max Bowsher <maxb@ukf.net> |
2709 | ||
2710 | * package_version.h (packageversion::set_requirements): | |
2711 | Remove deftrust argument default value. | |
2712 | ||
2713 | 2005-05-04 Max Bowsher <maxb@ukf.net> | |
2ef95e81 MB |
2714 | |
2715 | * package_version.cc (DependencyProcessor): Remove trivial class. | |
2716 | (select, processOneDependency): Do not use DependencyProcessor, just | |
2717 | pass parameters normally. | |
2718 | ||
d20a2e29 MB |
2719 | 2005-05-04 Brian Dessent <brian@dessent.net> |
2720 | ||
2721 | Fix bug #820: Clicking Curr, etc., causes some dependencies to not | |
2722 | be installed. | |
2723 | ||
2724 | * choose.cc (ChooserPage::changeTrust): | |
2725 | Add a missing "packagedb.markUnVisited ()". | |
2726 | ||
9bd063e0 MB |
2727 | 2005-05-03 Max Bowsher <maxb@ukf.net> |
2728 | ||
2729 | * PickCategoryLine.cc (PickCategoryLine::click): | |
2730 | * PickPackageLine.cc (PickPackageLine::click): | |
2731 | Abandon use of trivial packagemeta::PrepareForVisit() wrapper. | |
2732 | ||
2733 | * package_meta.h (packagemeta::PrepareForVisit): Remove. | |
2734 | * package_meta.cc (packagemeta::PrepareForVisit): Remove. | |
2735 | ||
97b50ad7 MB |
2736 | 2005-05-03 Max Bowsher <maxb@ukf.net> |
2737 | ||
2738 | * choose.h (ChooserPage::ifChecked): Remove. | |
2739 | (ChooserPage::changeTrust): Convert from template to ordinary function. | |
2740 | * choose.cc (ChooserPage::changeTrust): As above, plus avoid the use | |
2741 | of custom class SetRequirement, when bind2nd(mem_fun(...),...) can | |
2742 | achieve the same effect. | |
2743 | * package_meta.h (SetRequirement): Remove, now unused. | |
2744 | ||
98b84622 MB |
2745 | 2005-05-03 Max Bowsher <maxb@ukf.net> |
2746 | ||
2747 | * package_meta.h (packagemeta::set_requirements): | |
2748 | Remove default argument which seems inappropriate. | |
2749 | * PickPackageLine.cc (PickPackageLine::click): | |
2750 | Make an argument explicit, and not that it seems like the wrong value. | |
2751 | ||
7c86285f MB |
2752 | 2005-05-03 Brian Dessent <brian@dessent.net> |
2753 | ||
2754 | Fix part of bug #853 - proxy port not remembered. | |
2755 | ||
2756 | * net.cc (doing_loading): New static boolean. | |
2757 | (load_dialog): Use the boolean to prevent save_dialog() from taking | |
2758 | action due to field changes due to initialization. | |
2759 | (save_dialog): Check the boolean and respond appropriately. | |
2760 | ||
9ad9a0b0 MB |
2761 | 2005-04-19 Max Bowsher <maxb@ukf.net> |
2762 | ||
2763 | * postinstall.cc (RunFindVisitor::visitFile): Fix crash on | |
2764 | encountering a postinstall script with a name of 4 characters or less. | |
2765 | Bug introduced on 2004-12-25. | |
2766 | ||
946198be MB |
2767 | 2005-04-05 Max Bowsher <maxb@ukf.net> |
2768 | ||
2769 | The Big Cleanup: Phase "rfc1738" | |
2770 | ||
2771 | * rfc1738.cc, rfc1738.h: Delete. | |
2772 | * csu_util/rfc1738.cc: Reimport latest version from upstream source. | |
2773 | Make thread-safe. Rewrite C++ wrapper in terms of std::string. | |
2774 | Document the divergences from the upstream source. | |
2775 | * csu_util/rfc1738.h: Recreate for the std::string version of the | |
2776 | C++ wrapper. | |
2777 | ||
2778 | * Makefile.am (setup_SOURCES): Sync with added/removed files. | |
2779 | * IniParseFindVisitor.cc: Modify #includes. | |
2780 | (IniParseFindVisitor::visitFile): Change function name, as the new | |
2781 | C++ wrapper does not contain an irregularity that the old one did. | |
2782 | * download.cc: Modify #includes. | |
2783 | * ini.cc: Modify #includes. | |
2784 | ||
e76de0f5 MB |
2785 | 2005-04-05 Max Bowsher <maxb@ukf.net> |
2786 | ||
2787 | Remove setup's internal compression libraries, instead relying on the | |
2788 | mingw-foo packages which have been part of the Cygwin net distribution | |
2789 | for some time now. At the same time, reorganize the README file to | |
2790 | inform about the change, and make some additional tidy-ups there whilst | |
2791 | working there. | |
2792 | ||
2793 | * GUIDELINES: Remove, contents transferred to README. | |
2794 | * README: Add build instructions. Delete unconfirmed and fixed bugs | |
2795 | sections. Incorporate the former contents of GUIDELINES. | |
2796 | ||
2797 | * bz2lib/: Remove. | |
2798 | * zlib/: Remove. | |
ca2b7505 | 2799 | * Makefile.am (DIST_SUBDIRS, SUBDIRS): |
e76de0f5 MB |
2800 | * configure.in: Remove AC_CONFIG_SUBDIRS for removed subdirs. |
2801 | * compress_bz.h: Remove complex _WIN32 preprocessor conditional. | |
2802 | * compress_gz.h: Fix #include file name. | |
2803 | * archive_tar_file.cc: Remove unused #include. | |
2804 | * install.cc: Remove unused #include. | |
2805 | ||
069a187a MB |
2806 | 2005-01-27 Max Bowsher <maxb@ukf.net> |
2807 | ||
2808 | Set CYGWIN=nontsec, for postinstall scripts. | |
2809 | ||
2810 | * main.cc (main): putenv("CYGWIN=nontsec"). | |
2811 | ||
b4cf6208 MB |
2812 | 2005-01-27 Bas van Gompel <patch-cygsup.buzz@bavag.tmfweb.nl> |
2813 | ||
2814 | Fix corrupt display of ini parse percentage in log file. | |
2815 | ||
2816 | * ini.cc (GuiParseFeedback): Use a sensible data type for lastpct. | |
2817 | ||
eff7a094 MB |
2818 | 2004-12-29 Max Bowsher <maxb@ukf.net> |
2819 | ||
2820 | * site.cc (get_site_list): Filter the incoming mirrors list to contain | |
2821 | only URL schemes that we can read. | |
2822 | ||
2c539780 MB |
2823 | 2004-12-28 Max Bowsher <maxb@ukf.net> |
2824 | ||
2825 | The Big Cleanup: Phase "hash" | |
2826 | ||
2827 | * hash.cc, hash.h: Delete. | |
2828 | * Makefile.am (setup_SOURCES): Sync with deleted files. | |
2829 | ||
2830 | * package_mets: Modify includes. | |
2831 | (standard_dirs): Remove. | |
2832 | (hash::add_subdirs): Remove. | |
2833 | (packagemeta::uninstall): Re-implement using STL set instead of | |
2834 | homebrew hash. | |
2835 | ||
4abaa9f9 MB |
2836 | 2004-12-28 Max Bowsher <maxb@ukf.net> |
2837 | ||
2838 | * String++.h (operator std::string): Take care to never do | |
2839 | std::string((char*)NULL) - it causes a hang! | |
2840 | ||
a77b6167 MB |
2841 | 2004-12-27 Max Bowsher <maxb@ukf.net> |
2842 | ||
2843 | The Big Cleanup: Phase "log" | |
2844 | ||
2845 | * log.cc, log.h: Delete old C-style compatibility wrapper around the | |
2846 | logging subsystem. | |
2847 | * Makefile.am (setup_SOURCES): Sync with deleted files. | |
2848 | ||
2849 | * AntiVirus.cc, archive_tar_file.cc, ini.cc, install.cc, | |
2850 | * io_stream_cygfile.cc, localdir.cc, msg.cc, net.cc, netio.cc, | |
2851 | * netio.h, nio-ftp.cc, nio-ftp.h, root.cc, source.cc: | |
2852 | Throughout, refine includes, and update code using the old | |
2853 | compatibility wrapper to C++ streams style code. | |
2854 | ||
b16e07fc MB |
2855 | 2004-12-27 Max Bowsher <maxb@ukf.net> |
2856 | ||
2857 | * compress.cc: Refine includes. Remove placeholder function | |
2858 | definitions. Make destructor an empty function. | |
2859 | * compress.h: Refine includes. Make placeholder functions pure | |
2860 | virtual. Add missing const on buffer argument to write function, | |
2861 | to match derived classes. | |
2862 | * compress_bz.cc, compress_gz.cc: Refine includes. Throw exception, | |
2863 | rather than logging and returning an error, when an unimplemented | |
2864 | function is called. | |
2865 | * compress_bz.h, compress_gz.h: Refine includes. | |
2866 | ||
2b734ec7 MB |
2867 | 2004-12-26 Max Bowsher <maxb@ukf.net> |
2868 | ||
2869 | The Big Cleanup: Phase "version" | |
2870 | ||
2871 | * String++.h (operator std::string): Add. | |
2872 | * desktop.cc, fromcwd.cc: Remove irrelevant include. | |
2873 | ||
2874 | * version.cc, version.h: Delete, replacing all functionality in new | |
2875 | files. | |
2876 | ||
2877 | * setup_version.h: Add, taking over declaration of generated version | |
2878 | symbol functionality. | |
2879 | ||
2880 | * Makefile.am (setup_SOURCES): Sync with new/deleted files. | |
2881 | (setup_version.c): Rename the symbol 'version' to 'setup_version'. | |
2882 | * main.cc: Modify includes. | |
2883 | (main): Adapt to setup_version rename. | |
2884 | * splash.cc: Modify includes. | |
2885 | (SplashPage::OnInit): Adapt to setup_version rename. | |
2886 | ||
2887 | * csu_util/version_compare.cc, csu_util/version_compare.h: Add, | |
2888 | containing a completely rewritten replacement for canonical_version(). | |
2889 | ||
2890 | * IniDBBuilderPackage.cc: Modify includes. | |
2891 | (IniDBBuilderPackage::buildVersion): Use new version_compare API. | |
2892 | * ini.cc: Modify includes. | |
2893 | (setup_version): Rename... | |
2894 | (ini_setup_version): ...to this. | |
2895 | (do_local_ini, do_remote_ini): Adapt to above change. | |
2896 | (do_ini_thread): Adapt to above change. Use new version_compare API. | |
2897 | ||
0f45aabe MB |
2898 | 2004-12-25 Max Bowsher <maxb@ukf.net> |
2899 | ||
2900 | * install.cc (Installer::installOneSource): Remove a stray "break;" | |
2901 | left over from the switch-case -> if-else conversion in the previous | |
2902 | change. | |
2903 | ||
4875ac88 MB |
2904 | 2004-12-25 Max Bowsher <maxb@ukf.net> |
2905 | ||
2906 | The Big Cleanup: Phase "win32" | |
2907 | ||
2908 | * win32.h: Major overhaul. Document why we use _WIN32_IE. Move out | |
2909 | fragment dealing with alloca() to the single file in which it is used. | |
2910 | Remove fragment dealing with _MAX_PATH, and convert all uses of it | |
2911 | elsewhere to MAX_PATH. Remove random include of <stdarg.h>. Remove | |
2912 | NOCOMATTRIBUTE, as setup contains no code which it affects. Remove | |
2913 | includes of <wininet.h> and <windowsx.h> - see later in this log. | |
2914 | (IsWindowsNT): New inline function, a much simpler implementation of | |
2915 | Win32::OS(). | |
2916 | ||
2917 | * win32.cc: Delete. | |
2918 | ||
2919 | * Makefile.am (setup_SOURCES): Remove "win32.cc". | |
2920 | ||
2921 | * AntiVirus.cc (detect), PickPackageLine.cc (PickPackageLine::paint), | |
2922 | * install.c (Installer::installOneSource): | |
2923 | Use IsWindowsNT(), not Win32::OS(). | |
2924 | * main.cc (main): Use IsWindowsNT(), not locally defined iswinnt. | |
2925 | ||
2926 | * PickView.cc (PickView::WindowProc), netio.cc (auth_proc), | |
2927 | * proppage.cc (PropertyPage::DialogProc): | |
2928 | Avoid using obfuscating macros from <windowsx.h>. | |
2929 | ||
2930 | * archive.cc: Include or #define alloca() in the only file in which | |
2931 | it is used. | |
2932 | ||
2933 | * nio-ie5.h: Include <wininet.h> here, where it is actually needed, | |
2934 | rather than in "win32.h" which is included almost everywhere. | |
2935 | ||
2936 | * archive_tar.cc, archive_tar.h, cygpackage.cc, cygpackage.h, | |
2937 | * desktop.cc, find.cc, install.cc, main.cc, mklink2.c, mount.cc, | |
2938 | * script.cc: Use MAX_PATH, not _MAX_PATH. | |
2939 | ||
f4a981ab MB |
2940 | 2004-12-25 Max Bowsher <maxb@ukf.net> |
2941 | ||
2942 | Remove some overcomplications. | |
2943 | ||
2944 | * Makefile.am (setup_SOURCES): Remove FilterVisitor.{cc,h}. | |
2945 | * FilterVisitor.cc, FilterVisitor.h: Delete. | |
2946 | * String++.cc (strmatch, String::matches): Remove. | |
2947 | * String++.h (String::matches): Remove. | |
2948 | * postinstall.cc: Do not include "FilterVisitor.h". | |
2949 | (RunFindVisitor): Exclude items with the extension ".done". | |
2950 | (do_postinstall_thread): Remove overcomplicated exclusion of items | |
2951 | with the extension ".done". | |
2952 | ||
768d880e MB |
2953 | 2004-12-24 Max Bowsher <maxb@ukf.net> |
2954 | ||
2955 | * String++.cc, String++.h: Remove unused and incomplete code. | |
2956 | * LogFile.cc (LogFile::log_save): Don't leak memory. | |
2957 | * filemanip.cc, geturl.cc, root.cc, version.cc: | |
2958 | Don't pointlessly create temporary copies strings. | |
2959 | ||
db165a9a MB |
2960 | 2004-12-23 Max Bowsher <maxb@ukf.net> |
2961 | ||
2962 | * choose.cc (ChooserPage::OnNext): Relegate some overly verbose | |
2963 | logging to an #ifdef DEBUG section. | |
2964 | * geturl.h (dismiss_url_status_dialog): Remove stale function | |
2965 | declaration, for which there is no definition. | |
2966 | * io_stream_cygfile.cc (io_stream_cygfile::io_stream_cygfile): | |
2967 | Motivated by the recent unexplained hang bug, add some extra logging. | |
2968 | ||
0229b1d7 MB |
2969 | 2004-11-22 Max Bowsher <maxb@ukf.net> |
2970 | ||
2971 | * MD5++.cc, MD5++.h: Remove this class. | |
2972 | * csu_util/MD5Sum.cc, csu_util/MD5Sum.h: New more complete MD5 class. | |
2973 | * Makefile.am (setup_SOURCES): Adjust to new files. | |
2974 | * download.cc (validateCachedPackage): Simplify, using the new class. | |
2975 | * install.cc (md5_one): Ditto. | |
2976 | * package_source.h (packagesource::md5): Change to be an object of the | |
2977 | new class. | |
2978 | ||
2c4261a8 MB |
2979 | 2004-11-22 Max Bowsher <maxb@ukf.net> |
2980 | ||
ba102d1c MB |
2981 | * main.cc (main): Fix bug in one of the 2004-11-19 commits. |
2982 | Avoid referring to the theLog pointer before it is set. | |
2c4261a8 | 2983 | |
9132ff16 MB |
2984 | 2004-11-20 Max Bowsher <maxb@ukf.net> |
2985 | ||
2986 | * res.rc (IDD_SOURCE): Clarify the radio-button option descriptions. | |
2987 | Re-layout the radio buttons. | |
2988 | ||
6beebaa3 MB |
2989 | 2004-11-20 Max Bowsher <maxb@ukf.net> |
2990 | ||
2991 | Repair the broken detection of wrongly-sized package files. | |
2992 | ||
2993 | * download.cc (validateCachedPackage): Make static, since not used | |
2994 | elsewhere. Improve logging. Migrate file-size tests to here, alongside | |
2995 | the MD5 tests. | |
2996 | (check_for_cached): Remove broken testing of file-size, now covered by | |
2997 | the above. Code cleanups. | |
2998 | ||
54ff37c8 MB |
2999 | 2004-11-19 Max Bowsher <maxb@ukf.net> |
3000 | ||
3001 | * package_version.cc (dumpAndList): Make dependencies much more | |
3002 | readable in full log output. | |
3003 | ||
4d7a6eeb MB |
3004 | 2004-11-19 Max Bowsher <maxb@ukf.net> |
3005 | ||
3006 | * proppage.cc (PropertyPage::DialogProc): Wrap in a TOPLEVEL_CATCH | |
3007 | block, since allowing exceptions to unwind into the guts of Windows is | |
3008 | quite disasterous. | |
3009 | ||
c66b9174 MB |
3010 | 2004-11-19 Max Bowsher <maxb@ukf.net> |
3011 | ||
3012 | * main.cc (main): Move option parsing code earlier - it must execute | |
3013 | before any significant object creations, which might test options in | |
3014 | their initialization. | |
3015 | ||
82b64f8a MB |
3016 | 2004-11-19 Max Bowsher <maxb@ukf.net> |
3017 | ||
3018 | * main.cc (main): Remove some junk code - either commented out, or | |
3019 | contained within unreachable preprocessor conditional sections. | |
3020 | ||
4fa49408 MB |
3021 | 2004-11-19 Max Bowsher <maxb@ukf.net> |
3022 | ||
3023 | * install.cc (Installer::installOneSource): Avoid leaking the open | |
3024 | file handles of every tarball that is installed. | |
3025 | ||
0e9a5c4f MB |
3026 | 2004-11-19 Max Bowsher <maxb@ukf.net> |
3027 | ||
3028 | * package_source.h (packagesource::Canonical, packagesource::Base) | |
3029 | (packagesource::Filename): Add "const" specification to accessor | |
3030 | methods. | |
3031 | ||
6b68e703 MB |
3032 | 2004-11-18 Max Bowsher <maxb@ukf.net> |
3033 | ||
3034 | * archive.h (archive::~archive): Define a pure virtual destructor to | |
3035 | enforce the abstract nature of this class. | |
3036 | * archive.cc (archive::~archive): Pure virtual destructors require an | |
3037 | implementation! Add one. | |
3038 | * io_stream.h (io_stream::destroyed): Remove this severely | |
3039 | brain-damaged implementation of a weakly-enforced abstract class. | |
3040 | The pure virtual destructor was strongly enforcing the abstract nature | |
3041 | anyway. | |
3042 | * io_stream.cc (io_stream::~io_stream): Empty out horribly pointless | |
3043 | code from the pure virtual destructor. | |
3044 | * archive_tar.cc (archive_tar::~archive_tar): Remove all | |
3045 | reference to the removed "destroyed" member. | |
3046 | * archive_tar_file.cc (archive_tar_file::~archive_tar_file): Ditto. | |
3047 | * compress_bz.cc (compress_bz::~compress_bz): Ditto. | |
3048 | * compress_gz.cc (compress_gz::~compress_gz): Ditto. | |
3049 | * io_stream_cygfile.cc (io_stream_cygfile::~io_stream_cygfile): Ditto. | |
3050 | * io_stream_file.cc (io_stream_file::~io_stream_file): Ditto. | |
3051 | * io_stream_memory.cc (io_stream_memory::~io_stream_memory): Ditto. | |
3052 | ||
51200ef2 MB |
3053 | 2004-11-17 Max Bowsher <maxb@ukf.net> |
3054 | ||
3055 | * mount.cc (create_mount): Fix operator precedence error introduced in | |
3056 | first 2004-11-11 commit - warned of by gcc 3.3.3 but not 3.4.1 ! | |
3057 | ||
f5d45c3b MB |
3058 | 2004-11-13 Max Bowsher <maxb@ukf.net> |
3059 | ||
3060 | Miscellaneous cleanup. | |
3061 | ||
3062 | * geturl.cc (getUrlToStream): Make static. | |
3063 | * geturl.h (getUrlToStream): Remove declaration. | |
3064 | ||
3065 | * geturl.cc, geturl.h, netio.cc, netio.h, nio-ftp.cc, nio-ftp.h, | |
3066 | nio-http.cc, nio-http.h: | |
3067 | Remove unused "allow_ftp_auth" flag throughout. | |
3068 | ||
f4d80c3f MB |
3069 | 2004-11-11 Max Bowsher <maxb@ukf.net> |
3070 | ||
3071 | * libmd5-rfc: New directory, to hold code imported from the libmd5-rfc | |
3072 | project in a clearly delineated fashion. | |
3073 | * libmd5-rfc/README: New file. | |
3074 | * md5.c, md5.h: Delete... | |
3075 | * libmd5-rfc/md5.c, libmd5-rfc/md5.h: ...and replace with pristine | |
3076 | versions from upstream (only change is restoration of upstream CVS | |
3077 | keyword expansions). | |
3078 | * libmd5-rfc/md5main.c: New file. | |
3079 | * Makefile.ami (setup_SOURCES): Edit file paths. | |
3080 | * download.cc, install.cc: Edit include paths. | |
3081 | ||
68d49419 MB |
3082 | 2004-11-11 Max Bowsher <maxb@ukf.net> |
3083 | ||
3084 | * dialog.cc (fatal): Make capable of handling a passed-in error code, | |
3085 | as an alternative to calling GetLastError(). | |
3086 | * dialog.h (fatal): Adjust prototype as above. | |
3087 | * mount.cc (create_mount): Use the above to correctly report errors. | |
3088 | ||
af111c7d MB |
3089 | 2004-10-28 Max Bowsher <maxb@ukf.net> |
3090 | ||
3091 | * LogFile.cc (LogFile::getFileName), splash.cc (SplashPage::Create), | |
3092 | threebar.cc (ThreeBarProgressPage::SetBar2): | |
3093 | Migrate from cistring and string resources | |
3094 | to String and string literals. | |
3095 | * localdir.cc: Remove unneeded #include of "cistring.h". | |
3096 | * cistring.cc, cistring.h: Remove this now-redundant class. | |
3097 | * Makefile.am: Remove mention of the above removed files. | |
3098 | * res.rc, resource.h: Remove obsolete strings and IDs, both those | |
3099 | obseleted by and obselete before the above changes. | |
3100 | * res.rc: Merge the 2 adjacent STRINGTABLEs. | |
3101 | ||
8a264069 MB |
3102 | 2004-10-27 Max Bowsher <maxb@ukf.net> |
3103 | ||
3104 | * Makefile.am (setup_SOURCES): Add "RECTWrapper.h". It was missing. | |
3105 | ||
b4b8ab8d MB |
3106 | 2004-10-25 Bas van Gompel <cygsup-patch.buzz@bavag.tmfweb.nl> |
3107 | ||
3108 | * package_source.cc (packagesource::set_canonical): | |
3109 | Fix one-off in 'base' when ini is in same dir as package. | |
3110 | ||
49560a44 MB |
3111 | 2004-10-25 Max Bowsher <maxb@ukf.net> |
3112 | ||
3113 | * main.cc (next_dialog): Remove this legacy global variable. | |
3114 | * download.cc (do_download_thread): Return a value instead of setting | |
3115 | a global variable, then returning void. | |
3116 | (do_download_reflector): Look for the next dialog code as a return | |
3117 | value instead of a global variable. | |
3118 | ||
99ff5a8b MB |
3119 | 2004-10-25 Max Bowsher <maxb@ukf.net> |
3120 | ||
3121 | * port.h: Remove this redundant file - all contained definitions are | |
3122 | duplicated in "win32.h". | |
3123 | * Makefile.am, UserSetting.cc, UserSettings.cc, archive.cc, | |
3124 | archive_tar.cc, archive_tar_file.cc, choose.cc, compress.cc, | |
3125 | compress_bz.cc, compress_gz.cc, desktop.cc, find.cc, fromcwd.cc, | |
3126 | iniparse.y, install.cc, io_stream_cygfile.cc, io_stream_file.cc, | |
3127 | main.cc, netio.cc, site.cc, version.cc: | |
3128 | Remove all references to "port.h". | |
3129 | ||
46d04e97 MB |
3130 | 2004-10-25 Max Bowsher <maxb@ukf.net> |
3131 | ||
3132 | Fix compilation with w32api 3.1 and later. | |
3133 | ||
3134 | * ControlAdjuster.h, RECTWrapper.h, cistring.h, propsheet.h, | |
3135 | window.cc, window.h: Include "win32.h" not <windows.h> directly. | |
3136 | * win32.h (WINBASEAPI): Define to empty string. | |
3137 | ||
5524909e IP |
3138 | 2004-09-13 Igor Pechtchanski <pechtcha@cs.nyu.edu> |
3139 | ||
3140 | * script.cc (run): Kill stdin when running scripts. | |
3141 | ||
84b9cc5e MB |
3142 | 2004-09-01 Max Bowsher <maxb@ukf.net> |
3143 | ||
3144 | * Makefile.am: Oops. Unwanted keyword expansion ate the code of the | |
3145 | previous commit. Restore the code, escaped to not look like a keyword. | |
3146 | ||
012374fe MB |
3147 | 2004-09-01 Max Bowsher <maxb@ukf.net> |
3148 | ||
3149 | * Makefile.am: Simplify the shell incantation for getting the revision | |
3150 | of ChangeLog from grep-and-sed to just sed. | |
3151 | ||
b4113ac0 MB |
3152 | 2004-08-31 Max Bowsher <maxb@ukf.net> |
3153 | ||
3154 | Attain GCC 3.4 compatibility. | |
3155 | ||
3156 | * PackageSpecification.h (PackageSpecification): Make the | |
3157 | unnecessarily private copy-constructor public. | |
3158 | ||
fc2ba841 MB |
3159 | 2004-08-30 Max Bowsher <maxb@ukf.net> |
3160 | ||
3161 | Rework the implementation of not including -Werror for specific files, | |
3162 | to a way that does not require hardcoding modified automake output back | |
3163 | into its input. | |
3164 | ||
3165 | * Makefile.am (AM_CXXFLAGS, BASECXXFLAGS): Seperate out -Werror. | |
3166 | (autoload.o): Drop this rule, -finline-functions is no longer required | |
3167 | and -Werror is acceptable here now we have __attribute__ ((used)). | |
3168 | (WARNONLY_CFLAGS, inilex.o): Drop these. | |
3169 | (EXTRA_PROGRAMS): Add a fake "warnonly" program. | |
3170 | (warnonly_CXXFLAGS): Set to the $(BASECXXFLAGS). | |
3171 | (warnonly_SOURCES): Set to "inilex.cc". | |
3172 | (EXTRA_setup_SOURCES): Set to $(warnonly_SOURCES). | |
3173 | (setup_SOURCES): Remove "inilex.cc". | |
3174 | (setup_LDADD): Add "warnonly-inilex.o". | |
3175 | ||
d3c2a043 MB |
3176 | 2004-08-30 Max Bowsher <maxb@ukf.net> |
3177 | ||
3178 | Move closer to GCC 3.4 compatibility. | |
3179 | ||
3180 | * IOStreamProvider.h, io_stream_cygfile.cc, io_stream_cygfile.h, | |
3181 | io_stream_file.cc: Do not incorrectly use "enum" after it has been | |
3182 | hidden inside a typedef. | |
3183 | * archive.h: In "virtual func() = 0;", the 0 is a language construct, | |
3184 | not some symbol that might evaluate to 0, and gcc 3.4 enforces this. | |
3185 | * autoload.c (DllInfo.name): Silence warning by making const. | |
3186 | (DLL, autoload_common): __attribute__ ((used)) is now required to | |
3187 | prevent gcc being over-eager in it's optimization, and removing these | |
3188 | seemingly-unused (used only from assembly) functions. | |
3189 | Silences some warnings, too. | |
3190 | * Makefile.am (AM_CXXFLAGS, AM_CFLAGS): The options | |
3191 | -Wstrict-prototypes -Wmissing-prototypes do not apply to C++ and | |
3192 | g++ 3.4 complains about them. | |
3193 | ||
072fb49a MB |
3194 | 2004-08-29 Max Bowsher <maxb@ukf.net> |
3195 | ||
ca2b7505 | 3196 | * Exception.h: Reformatting, #include more, remove incorrect and |
072fb49a MB |
3197 | less-than-useful comments. |
3198 | (TOPLEVEL_CATCH): New preprocessor macro. | |
3199 | ||
3200 | * LogFile.cc (LogFile::operator()): Throw an exception object, not a | |
3201 | char* string. | |
3202 | ||
3203 | Wrap the top-level of each thread (including the main thread) in a | |
3204 | try...catch block, in order to display a useful error message if an | |
3205 | exception is not caught. | |
3206 | * download.cc (do_download_reflector): Here ... | |
3207 | * ini.cc (do_ini_thread_reflector): ... and here ... | |
3208 | * install.cc (do_install_reflector: ... and here ... | |
3209 | * main.cc (main): ... and here ... | |
3210 | * postinstall.cc (do_postinstall_thread): ... and here ... | |
3211 | * site.cc (do_download_site_info_thread): ... and here! | |
3212 | ||
3213 | * msg.h: Include a missing header requirement. | |
3214 | * res.rc (IDS_UNCAUGHT_EXCEPTION, IDS_UNCAUGHT_EXCEPTION_WITH_ERRNO): | |
3215 | New strings. | |
3216 | * resource.h (IDS_UNCAUGHT_EXCEPTION) | |
3217 | (IDS_UNCAUGHT_EXCEPTION_WITH_ERRNO): New IDs. | |
3218 | ||
56c41dda MB |
3219 | 2004-08-28 Max Bowsher <maxb@ukf.net> |
3220 | ||
3221 | * res.rc (IDS_WINDOW_INIT_BADMSG): New string. | |
3222 | * resource.h (IDS_WINDOW_INIT_BADMSG): New string resource ID. | |
3223 | * window.cc (Window::FirstWindowProcReflector): Convert an abort() | |
3224 | into a descriptive error. | |
3225 | ||
abdd4b38 MB |
3226 | 2004-08-24 Max Bowsher <maxb@ukf.net> |
3227 | ||
3228 | The Doug Lee replacement malloc was no longer hooked up with the | |
3229 | buildsystem in any way. Pruning the remaining unused file. | |
3230 | ||
3231 | * dlmalloc.c: Removed. | |
3232 | ||
24649384 MB |
3233 | 2004-08-18 Max Bowsher <maxb@ukf.net> |
3234 | ||
ca2b7505 | 3235 | "librsync is not wire-compatible with rsync 2.x, and is not likely |
24649384 MB |
3236 | to be in the future." -- librsync.sourceforge.net |
3237 | ||
3238 | So, it is of no practical use to setup. Therefore, removing all | |
3239 | rsync related files and code from setup. | |
3240 | ||
3241 | * rsync: Directory removed. | |
3242 | * Makefile.am: Remove rsync support from the buildsystem. | |
3243 | * configure.in: Ditto. | |
3244 | * README: Since it seems vanishingly unlikely that it will ever happen, | |
3245 | remove rsync support from the wishlist. | |
3246 | * io_stream_rsync.cc: Remove. | |
3247 | * io_stream_rsync.h: Remove. | |
3248 | ||
2800a92a RC |
3249 | 2004-04-25 Robert Collins <rbtcollins@hotmail.com> |
3250 | ||
24649384 MB |
3251 | * package_meta.cc (packagemeta::set_requirements): fix problem with |
3252 | libpcre0 not being pulled in automatically. | |
2800a92a | 3253 | |
304e9816 RC |
3254 | 2004-04-25 Robert Collins <rbtcollins@hotmail.com> |
3255 | ||
24649384 MB |
3256 | * IniDBBuilderPackage.cc (dumpAndList): |
3257 | Move out to packageversion for reuse. | |
304e9816 | 3258 | * package_meta.cc (packagemeta::logAllVersions): log dependencies. |
24649384 MB |
3259 | * package_version.cc (packageversion::depends): |
3260 | provide a const accessor. | |
304e9816 RC |
3261 | (dumpAndList): Moved from INIDBBuilder.cc. |
3262 | * package_version.h: declare new method and function. | |
3263 | ||
5419ce48 RC |
3264 | 2003-12-21 Robert Collins <rbtcollins@hotmail.com> |
3265 | ||
3266 | * main.cc (main): Update to head libgetopt++ syntax. | |
3267 | ||
201741b7 RC |
3268 | 2003-11-2 Robert Collins <rbtcollins@hotmail.com> |
3269 | ||
3270 | * ControlAdjuster.h (ControlPosition::CP_MIDDLE): Rename to | |
3271 | CP_CENTERED. | |
3272 | * ControlAdjuster.cc: Ditto. | |
3273 | ||
081bf320 RC |
3274 | 2003-10-31 Frank Richter <frichter@gmx.li> |
3275 | ||
ca2b7505 CF |
3276 | * localdir.cc (OnNext): When SelectDirectoryA() fails, display a |
3277 | message with the error returned from the system instead of just | |
081bf320 RC |
3278 | 'could not change dir'. Also, offer the user to 'Retry', 'Ignore' the |
3279 | error or 'Abort' the directory change. | |
3280 | ||
4b6e5406 RC |
3281 | 2003-10-31 Frank Richter <frichter@gmx.li> |
3282 | ||
3283 | * propsheet.cc (PropSheetWndProc): Don't do child resizing if a the | |
3284 | window gets minimized. Otherwise some glitches (e.g. wrong child | |
3285 | sizes) occur. | |
3286 | Added support for WM_GETMINMAXINFO. Prevents the property sheet from | |
3287 | getting smaller than the original size. | |
3288 | ||
576a2b0b RC |
3289 | 2003-11-1 Robert Collins <rbtcollins@hotmail.com> |
3290 | ||
3291 | * ControlAdjuster.h (ControlDimension): Add. | |
3292 | (ControlAdjuster): Factor adjust functionality into ControlInfo. | |
3293 | * ControlAdjuster.cc (ControlAdjuster::adjust): Ditto. | |
3294 | (ControlAdjuster::ControlInfo::adjust): Ditto. | |
3295 | ||
a8d753b6 RC |
3296 | 2003-10-31 Igor Pechtchanski <pechtcha@cs.nyu.edu> |
3297 | ||
3298 | * ControlAdjuster.h (ControlPosition): New enum type. | |
3299 | (ControlInfo::horizontalPos, ControlInfo::verticalPos): New | |
3300 | instance variables. | |
3301 | (ControlInfo::anchorLeft, ControlInfo::anchorTop, | |
3302 | ControlInfo::anchorRight, ControlInfo::anchorBottom): Remove. | |
3303 | * ControlAdjuster.cc (ControlAdjuster::AdjustControls): Switch to | |
3304 | using position specifiers instead of anchors. | |
3305 | * choose.cc (ChooserControlsInfo): Ditto. | |
3306 | * proppage.cc (DefaultControlsInfo): Ditto. | |
3307 | * propsheet.cc (PropSheetControlsInfo): Ditto. | |
3308 | * site.cc (SiteControlsInfo): Position specifiers for site | |
3309 | selection dialog controls. | |
3310 | * threebar.cc (ThreeBarControlsInfo): Position specifiers for | |
3311 | progress dialog controls. | |
3312 | ||
c9feb168 RC |
3313 | 2003-10-27 Ralf Habacker <ralf.habacker@freenet.de> |
3314 | ||
3315 | * main.cc (HelpOption): New instance. | |
3316 | (main): Added help command line option handling. | |
3317 | * localdir.cc (LocalDirOption): New instance. | |
3318 | (LocalDirSetting::load): allow setting localdir from command line. | |
3319 | ||
ee91d9be RC |
3320 | 2003-10-16 Frank Richter <frichter@gmx.li> |
3321 | ||
ca2b7505 CF |
3322 | * ControlAdjuster.cc: New file, helper to move elements of a dialog |
3323 | along when the it's resized. | |
ee91d9be RC |
3324 | * ControlAdjuster.h: Ditto. |
3325 | * Makefile.am: Add new source files. | |
3326 | * proppage.cc (PropertyPage::DialogProc): Adjust some common | |
3327 | controls (Cygwin icon top right, separator below) when a page is | |
3328 | resized. | |
3329 | (PropertyPage::PropertyPage): Dito. | |
3330 | * propsheet.cc (IsDialog): New. Test whether a window is a dialog. | |
3331 | Used internally by resize logic. | |
3332 | (EnumPages): New. Used internally by resize logic: resizes the | |
3333 | property sheet's individual pages. | |
3334 | (PropSheetWndProc): New. Hook for the propery sheet window proc. | |
3335 | (PropSheetProc): More style tweaks, add maximize box and thick border | |
3336 | as well. Hook into the property sheet's window proc. | |
3337 | (PropSheet::AdjustPageSize): New. Adjust the metrics of a single page | |
3338 | to fit nicely into the property sheet. Part of resize logic. | |
3339 | * res.rc (All dialogs): The top-right Cygwin icon and top separator | |
ca2b7505 | 3340 | now have IDs distinct from IDC_STATIC, so their metrics can be |
ee91d9be RC |
3341 | adjusted upon a resize. Also, all those Cygwin icons are at the exact |
3342 | same spot now. | |
ca2b7505 | 3343 | * choose.cc (ChooserPage::ChooserPage): Now the controls on the |
ee91d9be RC |
3344 | chooser page move/size when the page size is changed. |
3345 | * choose.h: Dito. | |
3346 | ||
1622a084 RC |
3347 | 2003-10-23 Jerry D. Hedden <jerry@hedden.us> |
3348 | ||
3349 | * ConnectionSetting.cc (ConnectionSetting::load): Load proxysettings. | |
3350 | (ConnectionSetting::save): Save proxy settings. | |
3351 | ||
7f6de8c0 RC |
3352 | 2003-10-07 Robert Collins <rbtcollins@hotmail.com> |
3353 | ||
3354 | * proppage.h (PropertyPage::wantsActivation): const correctness fix. | |
3355 | ||
587a67fc MB |
3356 | 2003-08-19 Max Bowsher <maxb@ukf.net> |
3357 | ||
3358 | * win32.h: Define NOMINMAX only if not already defined - because | |
3359 | libstdc++-v3 3.3.1 defines NOMINMAX itself. | |
3360 | ||
58b12a06 MB |
3361 | 2003-08-03 Max Bowsher <maxb@ukf.net> |
3362 | ||
3363 | * ChangeLog: Fix broken line-wrapping throughout. Clarify that | |
3364 | "Ran automake" in 2003-07-26 entry was in bz2lib and zlib subdirs. | |
3365 | ||
56a7c49e MB |
3366 | 2003-08-03 Gary R. Van Sickle <g.r.vansickle@worldnet.att.net> |
3367 | ||
3368 | * propsheet.cc (Copyright): Update copyright dates. | |
3369 | (PropSheet::PropSheet): Remove NumPropPages initialization. | |
3370 | (PropSheet::CreatePages): Use PropertyPages.size() instead of | |
3371 | NumPropPages. | |
3372 | (PropSheet::Create): Ditto. | |
3373 | (PropSheet::AddPage): Change to use new PropertyPages std::vector<>. | |
3374 | * propsheet.h (Copyright): Update copyright dates. | |
3375 | (File Scope): Include <vector>. | |
3376 | (PropSheet::PropertyPages): Change from array to vector<>. | |
3377 | (PropSheet::NumPropPages): Remove. | |
3378 | ||
25130a4d MB |
3379 | 2003-08-02 Gary R. Van Sickle <g.r.vansickle@worldnet.att.net> |
3380 | ||
3381 | Changes modified by Max Bowsher <maxb@ukf.net> | |
3382 | * splash.cc (Copyright): Update copyright dates. | |
3383 | (SplashPage::OnInit): Remove call to SetDlgItemFont(). Now handled in | |
3384 | base class. | |
3385 | * proppage.h (PropertyPage::setTitleFont): Declare. | |
3386 | * proppage.cc (Copyright): Update copyright dates. | |
3387 | (PropertyPage::DialogProc WM_INITDIALOG): Move all font setting code, | |
3388 | including that from splash.cc into new function... | |
3389 | (PropertyPage::setTitleFont): Create, using moved code. Change font | |
3390 | "MS Sans Serif" to "MS Shell Dlg" in line with recent res.rc change. | |
3391 | Set font for IDC_STATIC_WELCOME_TITLE here, to allow easy re-use of | |
3392 | style for future "Finished" page. | |
3393 | ||
62489576 MB |
3394 | 2003-08-02 Gary R. Van Sickle <g.r.vansickle@worldnet.att.net> |
3395 | ||
3396 | * propsheet.cc: Include "resource.h". | |
3397 | (PropSheet::Create): Add the Cygwin icon in the left of the title bar. | |
3398 | ||
106d8160 MB |
3399 | 2003-08-01 Gary R. Van Sickle <g.r.vansickle@worldnet.att.net> |
3400 | ||
3401 | * proppage.cc (PropertyPage::FirstDialogProcReflector): Modify comment. | |
3402 | ||
5296fc07 MB |
3403 | 2003-08-01 Gary R. Van Sickle <g.r.vansickle@worldnet.att.net> |
3404 | ||
3405 | * proppage.h (Copyright): Update copyright dates. | |
3406 | (PropertyPage): Document OnNext and OnBack. | |
3407 | ||
5039f845 MB |
3408 | 2003-07-31 Gary R. Van Sickle <g.r.vansickle@worldnet.att.net> |
3409 | ||
3410 | * proppage.cc (PropertyPage::Create): Use more self-documenting | |
3411 | MAKEINTRESOURCE() instead of cast to LPCSTR. | |
3412 | ||
672d28ad RC |
3413 | 2003-07-31 Robert Collins <rbtcollins@hotmail.com> |
3414 | ||
3415 | * README: Mark completed items complete. | |
3416 | ||
c59b8da6 MB |
3417 | 2003-07-31 Pierre Humblet <pierre.humblet@ieee.org> |
3418 | ||
3419 | * main.cc (set_default_sec): Set token owner from token user. | |
3420 | Always try to set the token primary group to Users or Admins. | |
3421 | ||
25e21380 IP |
3422 | 2003-07-30 Igor Pechtchanski <pechtcha@cs.nyu.edu> |
3423 | ||
3424 | * String++.h (String::replace): New instance functions. | |
3425 | * String++.cc (String::replace): Implement. | |
3426 | * filemanip.cc (backslash): Change to use String::replace. | |
3427 | * desktop.cc (make_cygwin_bat): Escape '%' in path. | |
3428 | ||
346627e7 IP |
3429 | 2003-07-30 Igor Pechtchanski <pechtcha@cs.nyu.edu> |
3430 | ||
3431 | * String++.h (TOSTRING): New macro. | |
3432 | * UserSettings.cc (UserSettings::deRegisterSetting): Fix | |
3433 | erroneous __LINE__/__FILE__ usage. | |
3434 | * download.cc (validateCachedPackage, check_for_cached): Ditto. | |
3435 | * geturl.cc (getUrlToStream): Ditto. | |
3436 | * install.cc (md5_one): Ditto. | |
3437 | ||
d9f4a2ba MB |
3438 | 2003-07-30 Max Bowsher <maxb@ukf.net> |
3439 | ||
3440 | * ini.cc (do_ini_thread): Return bool. | |
3441 | (do_ini_thread_reflector): Put returned bool in lParam. | |
3442 | * threebar.cc (WM_APP_SETUP_INI_DOWNLOAD_COMPLETE): Rework for new | |
3443 | meaning of lParam. Replace erroneous use of do_fromcwd with | |
3444 | SetActivePageByID (IDD_SOURCE). | |
3445 | ||
39b42ff3 RC |
3446 | 2003-07-30 Robert Collins <rbtcollins@hotmail.com> |
3447 | ||
3448 | * ConnectionSetting.cc: New file, persist connection type selection. | |
3449 | * ConnectionSetting.h: Ditto. | |
3450 | * net.cc: Hold a ConnectionSetting instance to trigger the logic. | |
3451 | (NetPage::OnInit): Don't force net_method to any value. | |
3452 | * Makefile.am: Add new source files. | |
3453 | ||
6ff96351 RC |
3454 | 2003-07-30 Robert Collins <rbtcollins@hotmail.com> |
3455 | ||
3456 | * SourceSetting.cc: New file, persist source selection. | |
3457 | * SourceSetting.h: Ditto. | |
3458 | * source.cc: Hold a Source setting instance to trigger the logic. | |
3459 | * Makefile.am: Add new source files. | |
3460 | ||
f0fd8856 RC |
3461 | 2003-07-30 Robert Collins <rbtcollins@hotmail.com> |
3462 | ||
3463 | * UserSettings.h (UserSettings::settingFileForLoad): Extracted method | |
3464 | from LocalDirSetting::load(). | |
3465 | * UserSettings.cc (UserSettings::settingFileForLoad): Ditto. | |
3466 | * UserSettings.h (UserSettings::settingFileForSave): Extracted method | |
3467 | from LocalDirSetting::save(). | |
3468 | * UserSettings.cc (UserSettings::settingFileForSave): Ditto. | |
3469 | * localdir.cc (LocalDirSetting::load): Extract location logic to | |
3470 | UserSettings. | |
3471 | (LocalDirSetting::save): Extract location logic to UserSettings. | |
3472 | * site.cc (SiteSetting::getSavedSites): Use | |
3473 | UserSettings::settingFileForLoad. | |
3474 | (SiteSetting::save): Use UserSettings::settingFileForSave. | |
3475 | ||
bb8e2353 RC |
3476 | 2003-07-30 Robert Collins <rbtcollins@hotmail.com> |
3477 | ||
ca2b7505 | 3478 | * PickView.cc: Adjust ::GetClientRect(..) to the inherited one |
bb8e2353 RC |
3479 | throughout. |
3480 | ||
b28e9f01 MB |
3481 | 2003-07-29 Max Bowsher <maxb@ukf.net> |
3482 | ||
3483 | Based on a patch by Gary R. Van Sickle <g.r.vansickle@worldnet.att.net>. | |
3484 | * AntiVirus.cc (AntiVirusPage::wantsActivation): Define. | |
3485 | * AntiVirus.h (AntiVirusPage::wantsActivation): Declare. | |
3486 | * localdir.cc (LocalDirPage::OnBack): Remove logic subsumed by | |
3487 | RootPage::wantsActivation. | |
3488 | * proppage.cc (PropertyPage::DialogProc): Call wantsActivation(), | |
3489 | and skip to next page in sequence if activation is refused. | |
3490 | * proppage.h (PropertyPage::wantsActivation): Default implementation. | |
3491 | * root.cc (RootPage::wantsActivation): Define. | |
3492 | * root.h (RootPage::wantsActivation): Declare. | |
3493 | * source.cc: Don't include "AntiVirus.h". | |
3494 | (SourcePage::OnNext): Remove logic subsumed by | |
3495 | RootPage::wantsActivation. | |
3496 | (SourcePage::OnBack): Remove logic subsumed by | |
3497 | AntiVirusPage::wantsActivation. | |
3498 | * splash.cc: Don't include "AntiVirus.h" or "dialog.h". | |
3499 | (SplashPage::OnNext): Remove - subsumed by | |
3500 | AntiVirusPage::wantsActivation. | |
3501 | * splash.h (SplashPage::OnNext): Remove declaration. | |
3502 | ||
ec2dbbf0 RC |
3503 | 2003-07-29 Robert Collins <rbtcollins@hotmail.com> |
3504 | ||
3505 | * PickView.h (PickView::refresh): New method. | |
3506 | * PickView.cc (PickView::refresh): Extracted from various | |
3507 | ChooserPage callers. | |
3508 | * choose.cc: Use PickView::refresh wherever possible. | |
3509 | ||
bc16bb7d RC |
3510 | 2003-07-29 Robert Collins <rbtcollins@hotmail.com> |
3511 | ||
3512 | * choose.h (ChooserPage::createListView): Remove last parameter. | |
3513 | (ChooserPage::getDefaultListViewSize): Extracted method. | |
3514 | * choose.cc (ChooserPage::createListView): Remove last parameter. | |
3515 | (ChooserPage::getDefaultListViewSize): Extracted method. | |
3516 | ||
952ea3fe RC |
3517 | 2003-07-29 Robert Collins <rbtcollins@hotmail.com> |
3518 | ||
ca2b7505 | 3519 | * choose.cc (ChooserPage::createListView): Remove unneeded |
952ea3fe RC |
3520 | parameter. |
3521 | * choose.h: Ditto. | |
3522 | ||
55c6e691 MB |
3523 | 2003-07-29 Gary R. Van Sickle <g.r.vansickle@worldnet.att.net> |
3524 | ||
3525 | * dialog.h (do_fromcwd): Change function declaration. | |
3526 | * fromcwd.cc (do_fromcwd): Change return type to bool. Eliminate | |
3527 | use of next_dialog, return true or false instead. | |
3528 | * localdir.cc (LocalDirPage::OnNext): Use do_fromcwd()'s return | |
3529 | value instead of next_dialog. | |
3530 | ||
2f18f94d RC |
3531 | 2003-07-29 Robert Collins <rbtcollins@hotmail.com> |
3532 | ||
3533 | * package_db.h (packagedb::fillMissingCategory): Move from ChooserPage. | |
3534 | * choose.h (ChooserPage::fillMissingCategory): Delete. | |
3535 | * package_db.cc (packagedb::fillMissingCategory): Move from ChooserPage. | |
ca2b7505 | 3536 | * choose.cc (ChooserPage::fillMissingCategory): Delete and adjust |
2f18f94d RC |
3537 | callers. |
3538 | ||
525531ca RC |
3539 | 2003-07-29 Robert Collins <rbtcollins@hotmail.com> |
3540 | ||
3541 | * PickView.h (CATEGORY_EXPANDED): Move from choose.h | |
3542 | (CATEGORY_COLLAPSED): Move from choose.cc. | |
3543 | (PickView::setViewMode): Move from ChooserPage. | |
3544 | * choose.h (CATEGORY_EXPANDED): Delete. | |
3545 | (CATEGORY_COLLAPSED): Delete. | |
3546 | (ChooserPage::setViewMode): Delete. | |
3547 | * PickView.cc (PickView::setViewMode): Move from ChooserPage. | |
3548 | * chooser.cc (ChooserPage::setViewMode): Delete, and adjust callers | |
3549 | throughout. | |
3550 | ||
0f61a6a4 MB |
3551 | 2003-07-28 Gary R. Van Sickle <g.r.vansickle@worldnet.att.net> |
3552 | ||
3553 | * AntiVirus.cc (AntiVirusPage::OnNext): Do not explicitly specify the | |
3554 | page to display next, since it follows in the default page ordering | |
3555 | anyway. | |
3556 | ||
6d751ec8 MB |
3557 | 2003-07-28 Max Bowsher <maxb@ukf.net> |
3558 | ||
3559 | * dialog.h: (NEXT): Remove obsolete macro. | |
3560 | * site.cc (save_dialog): Remove use of NEXT(), and non-functional | |
3561 | unnecessary error handler. | |
3562 | ||
358712d8 RC |
3563 | 2003-07-28 Robert Collins <rbtcollins@hotmail.com> |
3564 | ||
3565 | * package_meta.h (packagemeta::addToCategoryAll): Declare. | |
ca2b7505 | 3566 | * package_meta.cc (packagemeta::addToCategoryAll): New method, |
358712d8 RC |
3567 | separated to allow clear iteration. |
3568 | * choose.cc (ChooserPage::fillMissingCategory): BUGFIX: "all" is | |
3569 | meant to be added unconditionally. | |
3570 | ||
31f0ccce RC |
3571 | 2003-07-27 Robert Collins <rbtcollins@hotmail.com> |
3572 | ||
3573 | * Generic.h: New file, home for generic programming tools. | |
3574 | (visit_if): Move here from package_meta.cc. | |
3575 | Adjust to be fully parameterised. | |
ca2b7505 | 3576 | * package_meta.h (packagemeta::hasNoCategories): Query for generic |
31f0ccce RC |
3577 | programming. |
3578 | (packagemeta::setDefaultCategories): set categories for packages | |
3579 | with none. | |
ca2b7505 | 3580 | * package_meta.cc: Move visit_if out. Adjust users for |
31f0ccce RC |
3581 | full paramterised operation. |
3582 | (packagemeta::hasNoCategories): Implement. | |
3583 | (packagemeta::setDefaultCategories): Implement. | |
3584 | * choose.cc (ChooserPage::fillMissingCategory): Use visit_if to | |
3585 | reduce duplicate code. | |
3586 | (ChooserPage::setExistence): Delete. | |
ca2b7505 | 3587 | * choose.h (ChooserPage::setExistence): Rename to |
31f0ccce RC |
3588 | packagedb::setExistence. |
3589 | * package_db.h (packagedb::setExistence): Declare. | |
3590 | * package_db.cc (packagedb::setExistence): Copy from choose.cc | |
3591 | ||
dbdc1d9d RC |
3592 | 2003-07-27 Robert Collins <rbtcollins@hotmail.com> |
3593 | ||
3594 | * localdir.h (LocalDirPage::OnInit): Remove. | |
3595 | * localdir.cc (LocalDirPage::OnInit): Move to LocalDirSetting | |
3596 | ::load(). | |
3597 | (LocalDirSetting::load): Copied from LocalDirPage::OnInit. | |
3598 | * site.h (SitePage::OnInit): Remove. | |
3599 | (SitePage::getSavedSites): New member, replaces get_saved_sites. | |
ca2b7505 | 3600 | (SitePage::registerSavedSite): New member, replaces |
dbdc1d9d RC |
3601 | register_saved_site. |
3602 | * site.cc (SitePage::OnInit): Move to SiteSetting::load(). | |
3603 | (SiteSetting::load): Copied from SitePage::OnInit. | |
3604 | (SitePage::getSavedSites): Renamed from get_saved_sites. | |
3605 | (SitePage::registerSavedSite): Renamed from register_saved_site. | |
3606 | (do_download_site_info_thread): Don't look at the list size for | |
3607 | determining if the download was successful. | |
3608 | ||
22120c90 RC |
3609 | 2003-07-27 Robert Collins <rbtcollins@hotmail.com> |
3610 | ||
ca2b7505 | 3611 | * choose.h (ChooserPage::setViewMode): Remove HWND from |
22120c90 RC |
3612 | signature. |
3613 | (ChooserPage::defaultTrust): Ditto. | |
3614 | Move to PickView. | |
ca2b7505 | 3615 | (ChooserPage::ifChecked): Use Window helper function |
22120c90 RC |
3616 | IsButtonChecked. |
3617 | * choose.cc (ChooserPage::setViewMode): Use chooser->GetHWND() | |
3618 | throughout. | |
3619 | Update all callers with new signature. | |
3620 | (ChooserPage::defaultTrust): Ditto. | |
3621 | Move to PickView. | |
3622 | * PickView.h (PickView::defaultTrust): Declare. | |
3623 | * PickView.cc (PickView::defaultTrust): Copy from chooser.cc. | |
3624 | ||
9c9cfce7 RC |
3625 | 2003-07-27 Robert Collins <rbtcollins@hotmail.com> |
3626 | ||
3627 | * PickView.h (PickView::lv): Eliminate. | |
3628 | * PickView.cc (PickView::init): Replace use of lv with | |
3629 | GetHWND(). | |
ca2b7505 | 3630 | (PickView::list_click): Ditto. |
9c9cfce7 RC |
3631 | * choose.h (ChooserPage::lv): Eliminate. |
3632 | * choose.cc: Replace lv with chooser->GetHWND() | |
3633 | throughout. | |
3634 | ||
d2be933d RC |
3635 | 2003-07-27 Robert Collins <rbtcollins@hotmail.com> |
3636 | ||
3637 | * PickView.h (PickView::chooser): Eliminate. | |
3638 | (PickView::list_vscroll): Make non-static. | |
3639 | (PickView::list_hscroll): Ditto. | |
3640 | (PickView::list_click): Ditto. | |
3641 | (PickView::paint): Ditto. | |
3642 | * PickView.cc (PickView::list_vscroll): Eliminate use | |
3643 | of PickView::chooser. | |
3644 | (PickView::list_hscroll): Ditto. | |
3645 | (PickView::list_click): Ditto. | |
3646 | (PickView::paint): Ditto. | |
3647 | * choose.cc (Chooser::createListView): Eliminate use | |
3648 | of PickView::chooser. | |
3649 | ||
693916f8 RC |
3650 | 2003-07-27 Robert Collins <rbtcollins@hotmail.com> |
3651 | ||
3652 | * PickView.h (PickView): Inherit from Window. | |
3653 | (PickView::RegisterWindows): Move from ChooserPage. | |
3654 | (PickView::listview_proc): Likewise. | |
3655 | (PickView::paint): Ditto. | |
3656 | (PickView::list_click): Ditto. | |
3657 | (PickView::list_hscroll): Ditto. | |
3658 | (PickView::list_vscroll): Ditto. | |
3659 | (PickView::lv): Ditto. | |
3660 | (PickView::chooser): Ditto. | |
3661 | (PickView::Create): Override Windows::Create as we migrate. | |
3662 | (PickView::registerWindowClass): Renamed RegisterWindows. | |
3663 | (PickView::WindowClassAtom): Prevent double registration. | |
3664 | (PickView::init): Declare. | |
3665 | * PickView.cc: Adjust for new inheritance. | |
3666 | (PickView::RegisterWindows): Move from ChooserPage. | |
3667 | (PickView::listview_proc): Likewise. | |
3668 | (PickView::paint): Ditto. | |
3669 | (PickView::list_click): Ditto. | |
3670 | (PickView::list_hscroll): Ditto. | |
3671 | (PickView::list_vscroll): Ditto. | |
3672 | (PickView::lv): Ditto. | |
3673 | (PickView::chooser): Ditto. | |
3674 | (PickView::Create): Introduce stub. | |
3675 | (PickView::RegisterWindows): Rename | |
3676 | (PickView::init): Extracted from constructor to allow | |
3677 | reordering. | |
ca2b7505 | 3678 | * chooser.h (ChooserPage::registerWindows): Rename to |
693916f8 RC |
3679 | PickView::RegisterWindows. |
3680 | (ChooserPage::listview_proc): Likewise. | |
3681 | (ChooserPage::paint): Ditto. | |
3682 | (ChooserPage::list_click): Ditto. | |
3683 | (ChooserPage::list_hscroll): Ditto. | |
3684 | (ChooserPage::list_vscroll): Ditto. | |
ca2b7505 | 3685 | (ChooserPage::lv): Duplicate into PickView, observe |
693916f8 RC |
3686 | as non-static. |
3687 | (ChooserPage::chooser): Ditto. | |
3688 | * chooser.cc (ChooserPage::registerWindows): Delete. | |
3689 | (ChooserPage::listview_proc): Ditto. | |
3690 | (ChooserPage::paint): Ditto. | |
3691 | (ChooserPage::list_click): Ditto. | |
3692 | (ChooserPage::list_hscroll): Ditto. | |
3693 | (ChooserPage::list_vscroll): Ditto. | |
3694 | (ChooserPage::createListView): Create() on PickView. | |
ca2b7505 | 3695 | * window.h (Window::RegisterWindowClass): Make virtual |
693916f8 RC |
3696 | to allow Create to become a Template Method, and rename |
3697 | to registerWindowClass as it's not static. | |
3698 | * window.cc (Window::registerWindowClass): Ditto. | |
3699 | (Window::FirstWindowProcReflector): BUGFIX: Set window | |
3700 | handle to prevent races with the window procedure. | |
3701 | ||
724c2956 RC |
3702 | 2003-07-27 Robert Collins <rbtcollins@hotmail.com> |
3703 | ||
3704 | * choose.cc (set_view_mode): Rename to ChooserPage::setViewMode. | |
3705 | (default_trust): Rename to ChooserPage::defaultTrust. | |
3706 | (fill_missing_category): Rename to ChooserPage::fillMissingCategory. | |
3707 | (set_existence): Rename to ChooserPage::setExistence. | |
3708 | (register_windows): Rename to ChooserPage::registerWindows. | |
3709 | (listview_proc): Rename to ChooserPage::listview_proc. | |
3710 | (paint): Rename to ChooserPage::paint. | |
3711 | (list_click): Rename to ChooserPage::list_click. | |
3712 | (list_hscroll): Rename to ChooserPage::list_hscroll. | |
3713 | (list_vscroll): Rename to ChooserPage::list_vscroll. | |
3714 | (lv): Rename to ChooserPage::lv. | |
3715 | (chooser): Rename to ChooserPage::chooser. | |
3716 | * choose.h (ChooserPage::setViewMode): Declare. | |
3717 | (ChooserPage::defaultTrust): Declare. | |
3718 | (ChooserPage::fillMissingCategory): Declare. | |
3719 | (ChooserPage::setExistence): Declare. | |
3720 | (ChooserPage::registerWindows): Declare. | |
3721 | (ChooserPage::listview_proc): Declare. | |
3722 | (ChooserPage::paint): Declare. | |
3723 | (ChooserPage::list_click): Declare. | |
3724 | (ChooserPage::list_hscroll): Declare. | |
3725 | (ChooserPage::list_vscroll): Declare. | |
3726 | (ChooserPage::lv): Declare. | |
3727 | (ChooserPage::chooser): Declare. | |
3728 | ||
d05ae76a RC |
3729 | 2003-07-27 Robert Collins <rbtcollins@hotmail.com> |
3730 | ||
ca2b7505 | 3731 | * choose.cc (create_listview): Use for_each instead of explicit |
d05ae76a RC |
3732 | iteration. |
3733 | (create_listview): Rename to ChooserPage::createListview. | |
3734 | * package_meta.h (packagemeta::set_requirements): Explicitly separate | |
3735 | the 1 and 2 parameter versions. | |
3736 | ||
3737 | 2003-07-27 Robert Collins <rbtcollins@hotmail.com> | |
69711722 RC |
3738 | |
3739 | * String++.h (String::operator !=): Declare for char * and String. | |
3740 | * String++.cc (String::operator !=): Implement. | |
3741 | * package_meta.cc(StringConcatenator): Move above all users. | |
3742 | (_visit_if): Predicate support for visitors. | |
ca2b7505 | 3743 | (packagemeta::getReadableCategoryList): Refactor to use |
69711722 RC |
3744 | StringConcatenator with a predicate. |
3745 | * choose.h: Remove unneeded c++ guards. | |
3746 | ||
cda26207 RC |
3747 | 2003-07-26 Robert Collins <rbtcollins@hotmail.com> |
3748 | ||
58b12a06 MB |
3749 | * choose.cc (scan_downloaded_files): Rename to |
3750 | packagemeta::ScanDownloadedFiles. | |
cda26207 RC |
3751 | (scanAVersion): Rename to packageversion::scan. |
3752 | (GetParentRect): Rename to ChooserPage::getParentRect. | |
3753 | * choose.h (ChooserPage::getParentRect): Declare. | |
3754 | * package_meta.h (packagemeta::ScanDownloadedFiles): Declare. | |
3755 | * package_version.h (packageversion::scan): Declare. | |
3756 | * package_version.cc (packageversion::scan): Move from choose.cc | |
58b12a06 MB |
3757 | * package_meta.cc (packagemeta::ScanDownloadedFiles): Move from |
3758 | choose.cc | |
cda26207 | 3759 | |
edc3c6fc RC |
3760 | 2003-07-26 Robert Collins <rbtcollins@hotmail.com> |
3761 | ||
3762 | * choose.cc (ChooserPage::OnNext): log before starting activity threads. | |
3763 | (ChooserPage::OnInit): Remove temporary variable frame. | |
3764 | (ChooserPage::setPrompt): Extract method from OnInit. | |
3765 | (choose_inst_text): Remove unused variable. | |
3766 | * choose.h(ChooserPage::setPrompt): Declare | |
3767 | * res.rc (IDD_CHOOSE): Bugfix: the chooser was setting a non-present | |
3768 | caption. | |
3769 | ||
d55e14fe RC |
3770 | 2003-07-26 Robert Collins <rbtcollins@hotmail.com> |
3771 | ||
3772 | Remove package specific code from choose.cc. | |
3773 | Update copyrights where appropriate. | |
3774 | * choose.cc(ChooserPage::OnNext): Extract logging to | |
3775 | packagemeta::logSelectionStatus. | |
3776 | * package_meta.cc(packagemeta::logSelectionStatus): Extract from | |
3777 | ChooserPage::OnNext. | |
3778 | (StringConcatenator): helper for logSelectionStatus. | |
3779 | (action_caption): Make const. | |
3780 | * package_meta.h(packagemeta): Declare logSelectionStatus. | |
3781 | (packagemeta::action_caption): Make const. | |
3782 | * package_version.cc(packageversion::sourcePackage): Make const. | |
3783 | * package_version.h(packageversion::sourcePackage): Make const. | |
3784 | ||
12f8ac69 RC |
3785 | 2003-07-26 Robert Collins <rbtcollins@hotmail.com> |
3786 | ||
3787 | * choose.cc: Update copyright. | |
3788 | (ChooserPage::keepClicked): Extracted from OnMessageCmd. | |
3789 | (ChooserPage::changeTrust): Ditto. | |
3790 | * choose.h (ChooserPage): Declare keepClicked and changeTrust. | |
3791 | (ChooserPage::ifChecked): Extracted from OnMessageCmd. | |
58b12a06 MB |
3792 | * package_meta.h (SetRequirement): Adapter for visiting package |
3793 | collections. | |
12f8ac69 | 3794 | |
93d7e783 MB |
3795 | 2003-07-26 Max Bowsher <maxb@ukf.net> |
3796 | ||
3797 | * tests/.cvsignore: New file, listing Makefile.in. | |
3798 | ||
dea6cc21 RC |
3799 | 2003-07-26 Robert Collins <rbtcollins@hotmail.com> |
3800 | ||
3801 | Save used local cache dir from initial run of setup, so the user doesn't | |
3802 | need to retype it. | |
58b12a06 MB |
3803 | * localdir.h (LocalDirSetting): UserSetting class for the local cache |
3804 | dir. | |
3805 | * localdir.cc (LocalDirSetting::save): Replace save_local_dir, and | |
3806 | update callers. | |
dea6cc21 | 3807 | |
0df9be37 RC |
3808 | 2003-07-26 Robert Collins <rbtcollins@hotmail.com> |
3809 | ||
ca2b7505 | 3810 | Save used site from initial run of setup, so the user doesn't need to |
0df9be37 RC |
3811 | retype it. |
3812 | * main.cc (main): Load and save all user settings. | |
3813 | * site.cc (SiteSetting::save): Migrate logic from save_site_url. | |
58b12a06 MB |
3814 | (SitePage::OnNext): Use ChosenSites.save() to remove uneeded |
3815 | save_site_url call. | |
0df9be37 RC |
3816 | (save_site_url): Delete. |
3817 | * site.h (save_site_url): Remove declaration. | |
3818 | * .cvsignore: Update autoconf generated files. | |
3819 | ||
bf137801 RC |
3820 | 2003-07-26 Robert Collins <rbtcollins@hotmail.com> |
3821 | ||
3822 | * tests/Makefile.am: Driver for test suite. | |
3823 | * tests/UserSettingTest.cc: Test UserSetting interface. | |
3824 | * tests/UserSettingsTest.cc: Test UserSettings interface. | |
3825 | * Makefile.am: Add the tests dir to recurse into. | |
3826 | * configure.in: Ditto. | |
58b12a06 MB |
3827 | * UserSetting.h: Add load and save methods to allow global |
3828 | serialisation. | |
bf137801 RC |
3829 | Add explicit copy and assignment operators to prevent synthetics. |
3830 | Make the constructor protected to prevent direct instantiation. | |
3831 | * UserSettings.h (UserSettings::loadAllSettings): New method. | |
3832 | (UserSettings::savedAllSettings): New method. | |
3833 | * UserSettings.cc: Implement new methods. | |
3834 | * site.cc: Implement stubs for new required UserSetting methods. | |
3835 | * site.h (ChosenSite): Ditto. | |
58b12a06 MB |
3836 | * bz2lib/: Ran automake. |
3837 | * zlib/: Ran automake. | |
bf137801 | 3838 | |
3d5a4f16 MB |
3839 | 2003-07-23 Max Bowsher <maxb@ukf.net> |
3840 | ||
3841 | * desktop.cc (DesktopSetupPage::OnBack): Remove obsolete use of NEXT(). | |
3842 | * root.cc (RootPage::OnNext): Ditto. | |
3843 | (RootPage::OnBack): Ditto. | |
3844 | * install.cc (do_install_thread): Remove obsolete use of next_dialog. | |
3845 | * main.cc (main): Ditto. | |
3846 | * postinstall.cc (do_postinstall_thread): Ditto. | |
3847 | ||
7108d406 MB |
3848 | 2003-07-23 Max Bowsher <maxb@ukf.net> |
3849 | ||
3850 | * dialog.h (do_choose, do_desktop, do_local_dir, do_net, do_other) | |
3851 | (do_root, do_site, do_source, do_splash): Remove declarations, since | |
3852 | these functions no longer exist. | |
3853 | ||
b1c23913 MB |
3854 | 2003-07-23 Gary R. Van Sickle <g.r.vansickle@worldnet.att.net> |
3855 | ||
3856 | * choose.cc (initialized): Remove obsolete file scope variable. | |
3857 | ||
d52a6cc8 MB |
3858 | 2003-07-18 Max Bowsher <maxb@ukf.net> |
3859 | ||
3860 | * res.rc: Make caption of every dialog page begin with "Cygwin Setup". | |
3861 | This aids recognition when minimized. | |
3862 | Prompted by Gary R. Van Sickle <g.r.vansickle@worldnet.att.net>. | |
3863 | ||
9d53f045 MB |
3864 | 2003-07-10 Jeremy White <jwhite@codeweavers.com> |
3865 | ||
3866 | * mount.cc, root.cc, site.cc: Make StringOptions required, | |
3867 | thereby making --longopt <parm> behave as a newbie would expect. | |
3868 | ||
12e726c4 MB |
3869 | 2003-07-08 Max Bowsher <maxb@ukf.net> |
3870 | ||
3871 | * LogFile.h, cistring.h, dialog.h, diskfull.h, filemanip.h, geturl.h, | |
3872 | hash.h, log.h, mkdir.h, mklink2.h, mount.h, msg.h, netio.h, nio-file.h, | |
3873 | nio-ftp.h, nio-http.h, nio-ie5.h, port.h, simpsock.h, state.h, | |
3874 | version.h: Add inclusion guard. | |
3875 | * root.h: Standardize naming of inclusion guard. | |
3876 | ||
c93bc6d0 MB |
3877 | 2003-06-23 Max Bowsher <maxb@ukf.net> |
3878 | ||
3879 | * AntiVirus.h, Exception.h, FilterVisitor.h, FindVisitor.h, | |
3880 | IOStreamProvider.h, IniDBBuilder.h, IniDBBuilderPackage.h, | |
3881 | IniParseFeedback.h, IniParseFindVisitor.h, LogSingleton.h, MD5++.h, | |
3882 | PackageSpecification.h, PackageTrust.h, PickCategoryLine.h, PickLine.h, | |
3883 | PickPackageLine.h, PickView.h, RECTWrapper.h, ScanFindVisitor.h, | |
3884 | String++.h, UserSetting.h, UserSettings.h, archive.h, archive_tar.h, | |
3885 | category.h, choose.h, compress.h, compress_bz.h, compress_gz.h, | |
3886 | cygpackage.h, desktop.h, download.h, find.h, ini.h, io_stream.h, | |
3887 | io_stream_cygfile.h, io_stream_file.h, io_stream_memory.h, | |
3888 | io_stream_rsync.h, localdir.h, net.h, package_db.h, package_meta.h, | |
3889 | package_source.h, package_version.h, proppage.h, propsheet.h, script.h, | |
3890 | site.h, source.h, splash.h, threebar.h, win32.h, window.h: | |
3891 | Standardize naming and placement of inclusion guards. | |
3892 | ||
4a2af5fb MB |
3893 | 2003-06-22 Benjamin Riefenstahl <Benjamin.Riefenstahl@epost.de> |
3894 | ||
3895 | * res.rc (all dialogs): Change font from "MS Sans Serif" to | |
3896 | "MS Shell Dlg". | |
3897 | ||
8b726ef6 MB |
3898 | 2003-06-22 Max Bowsher <maxb@ukf.net> |
3899 | ||
3900 | * Makefile.am: Clarify comment. | |
3901 | Derive AM_CFLAGS from AM_CXXFLAGS, rather than the other way around. | |
3902 | (AM_CXXFLAGS): Remove -Wmissing-declarations - it is a C-only warning. | |
3903 | (AM_CFLAGS): Add -Winline, and -Wmissing-declarations. | |
3904 | ||
1e9ebf8a MB |
3905 | 2003-06-22 Max Bowsher <maxb@ukf.net> |
3906 | ||
3907 | * rfc1738.cc (rfc1738_do_escape): Eliminate redundant conditional. | |
3908 | ||
0a539fe4 MB |
3909 | 2003-06-05 Gary R. Van Sickle <g.r.vansickle@worldnet.att.net> |
3910 | ||
3911 | * window.h (SETUP_WINDOW_H): Rename multi-include guard. | |
3912 | (Copyright): Update. | |
3913 | (RECTWrapper): New forward declaration. | |
3914 | (Window::Create): Move. | |
3915 | (Window::MoveWindow): New overload declaration. | |
3916 | * window.cc: (RECTWrapper.h) Include. | |
3917 | (Copyright): Update. | |
3918 | (Window::FirstWindowProcReflector): Use reinterpret_cast<> instead | |
3919 | of C-style casts. | |
3920 | (Window::MoveWindow): New overload. | |
3921 | ||
3c0ca7aa MB |
3922 | 2003-05-31 Max Bowsher <maxb@ukf.net> |
3923 | ||
3924 | * res.rc: Resize title controls to fully fill available width. | |
3925 | ||
e0d021d0 MB |
3926 | 2003-05-07 Gary R. Van Sickle <g.r.vansickle@worldnet.att.net> |
3927 | ||
3928 | * RECTWrapper.h: New file. | |
3929 | ||
1e3b2ad4 RC |
3930 | 2003-04-12 Robert Collins <rbtcollins@hotmail.com> |
3931 | ||
3932 | * script.cc (Script::extension): Extract method from Script::run. | |
3933 | (Script::run): Extract extension generation to Script::extension. | |
3934 | * script.h (Script::extension): Declare. | |
3935 | ||
2533f348 RC |
3936 | 2003-04-12 Robert Collins <rbtcollins@hotmail.com> |
3937 | ||
3938 | * script.cc (run_script): Remove. | |
3939 | (try_run_script): Inline method run_script. | |
3940 | * script.h (run_script): Remove. | |
3941 | ||
34ea5b6d RC |
3942 | 2003-04-12 Robert Collins <rbtcollins@hotmail.com> |
3943 | ||
3944 | * postinstall.cc (RunScript::operator()): Use new run syntax. | |
3945 | * script.h (Script::run): Eliminate to_log parameter. | |
3946 | * script.cc (Script::run): Ditto. | |
3947 | (run_script): Use new run syntax. | |
3948 | ||
9f27ab95 RC |
3949 | 2003-04-12 Robert Collins <rbtcollins@hotmail.com> |
3950 | ||
3951 | * script.cc (Script::run): Eliminate temp variable 'f2'. | |
3952 | Rename temp variable 'f2' to 'windowsName' for increased clarity. | |
3953 | ||
783ed9c5 RC |
3954 | 2003-04-12 Robert Collins <rbtcollins@hotmail.com> |
3955 | ||
3956 | * script.cc (Script::run): Eliminate temp variable 'fname'. | |
3957 | ||
0900bd5b RC |
3958 | 2003-04-12 Robert Collins <rbtcollins@hotmail.com> |
3959 | ||
3960 | * script.cc (Script::run): Eliminate temp variable 'dir'. | |
3961 | ||
294e5067 RC |
3962 | 2003-04-12 Robert Collins <rbtcollins@hotmail.com> |
3963 | ||
3964 | * script.cc (run_script): Always pass TRUE to Script::run. | |
3965 | * script.h (run_script): Remove optional to_log parameter. | |
3966 | ||
a0e56f67 RC |
3967 | 2003-04-12 Robert Collins <rbtcollins@hotmail.com> |
3968 | ||
3969 | * script.cc (run_script): Move functionality into Script. | |
3970 | (Script::run): Absorb run_script. | |
3971 | ||
8c242540 RC |
3972 | 2003-04-12 Robert Collins <rbtcollins@hotmail.com> |
3973 | ||
3974 | * PickCategoryLine.cc (PickCategoryLine::click): Tell packagemeta we | |
3975 | are about to perform a visit. | |
3976 | * PickPackageLine.cc (PickPackageLine::click): Tell packagemeta we | |
3977 | are about to perform a visit. | |
ca2b7505 | 3978 | * package_db.cc (packagedb::markUnVisited): Convenience wrapper - |
8c242540 RC |
3979 | mark all packages as unvisited. |
3980 | * package_db.h (packagedb::markUnVisited): Declare. | |
3981 | * package_meta.cc (packagemeta::PrepareForVisit): New static method | |
3982 | to prepare for a loop-free visit. | |
3983 | (packagemeta::packagemeta): Adjust for new member. | |
3984 | (packagemeta::set_requirements): Only visit a node once. | |
3985 | (packagemeta::visited): Get and Set methods for new member visited_. | |
3986 | * package_meta.h (packagemeta::PrepareForVisit): Declare. | |
3987 | (packagemeta::visited): Declare. | |
3988 | (packagemeta::visited_): Declare. | |
3989 | ||
5f4b0e57 MB |
3990 | 2003-04-07 Max Bowsher <maxb@ukf.net> |
3991 | ||
3992 | * download.cc: Add command line option to suppress MD5 checks. | |
3993 | (validateCachedPackage): Test option and possibly skip. | |
3994 | ||
e46e15bf RC |
3995 | 2003-04-02 Robert Collins <rbtcollins@hotmail.com> |
3996 | ||
3997 | Merge in setup-200303-troubleshooting fixes. | |
3998 | ||
3999 | 2003-04-02 Robert Collins <rbtcollins@hotmail.com> | |
4000 | ||
4001 | * main.cc (NTSecurity::setDefaultDACL): Reinstate commented code. | |
4002 | (NTSecurity::setDefaultSecurity): Ditto. | |
4003 | ||
4004 | 2003-04-02 Robert Collins <rbtcollins@hotmail.com> | |
4005 | ||
4006 | * main.cc (NTSecurity::setDefaultDACL): Use MS calculations for ACL | |
4007 | buffer sizing. | |
4008 | ||
4009 | 2003-04-02 Robert Collins <rbtcollins@hotmail.com> | |
4010 | ||
4011 | * main.cc (NTSecurity::setDefaultDACL): Sanity check memory allocation. | |
4012 | ||
4013 | 2003-04-02 Robert Collins <rbtcollins@hotmail.com> | |
4014 | ||
58b12a06 MB |
4015 | * main.cc (NTSecurity::setDefaultDACL): Adjust commented code for |
4016 | auto_ptr use. | |
e46e15bf RC |
4017 | |
4018 | 2003-04-02 Robert Collins <rbtcollins@hotmail.com> | |
4019 | ||
4020 | * main.cc (NTSecurity::NoteFailedAPI): Helper function. | |
4021 | Use throughout NTSecurity routines. | |
4022 | (NTSecurity::setDefaultDACL): Use dynamic memory for ACL storage. | |
4023 | ||
4024 | 2003-04-02 Robert Collins <rbtcollins@hotmail.com> | |
4025 | ||
58b12a06 MB |
4026 | * main.cc (NTSecurity::setDefaultDACL): Disable ~ 50% of remaining |
4027 | active code. | |
e46e15bf RC |
4028 | |
4029 | 2003-04-02 Robert Collins <rbtcollins@hotmail.com> | |
4030 | ||
4031 | * main.cc (NTSecurity::GroupInfo): Extract group query code. | |
4032 | (NTSecurity::setDefaultDACL): Disable ~ 50% of code. | |
4033 | ||
4034 | 2003-04-02 Robert Collins <rbtcollins@hotmail.com> | |
4035 | ||
58b12a06 MB |
4036 | * main.cc (NTSecurity::setDefaultSecurity): Disable ~ 50% of security |
4037 | code. | |
e46e15bf RC |
4038 | |
4039 | 2003-04-01 Robert Collins <rbtcollins@hotmail.com> | |
4040 | ||
58b12a06 MB |
4041 | * main.cc (NTSecurity::setDefaultSecurity): Remove double declaration of |
4042 | sz. User TokenGroupCollection to abstract token searching logic, | |
4043 | eliminate isadmin and isuser temporary variables. | |
e46e15bf RC |
4044 | (TokenGroupCollection): New class for querying token group information. |
4045 | ||
4046 | 2003-04-01 Robert Collins <rbtcollins@hotmail.com> | |
4047 | ||
4048 | * main.cc (NTSecurity::setDefaultSecurity): Extract esid initialisation. | |
4049 | Move local variables to just before first use. | |
4050 | SetTokenInformationFailures where being handled inconsistently. | |
4051 | Remove assignments from if statements. | |
4052 | (NTSecurity::esid): Rename to everyOneSID. | |
4053 | (NTSecurity::initialiseEveryOneSID): new method. | |
4054 | (NTSecurity::setDefaultDACL): Extract method for default DACL logic. | |
4055 | ||
4056 | 2003-04-01 Robert Collins <rbtcollins@hotmail.com> | |
4057 | ||
4058 | * main.cc (SIDWrapper): Manage SID memory. | |
4059 | (HANDLEWrapper): Likewise for HANDLES. | |
4060 | (NTSecurity): Worker class for set_default_sec(). | |
4061 | (set_default_sec): Move body into NTSecurity::setDefaultSecurity(). | |
58b12a06 MB |
4062 | (NTSecurity::setDefaultSecurity): Eliminate goto out: via memory |
4063 | managing objects. | |
e46e15bf | 4064 | |
da0b54f3 MB |
4065 | 2003-04-01 Gary R. Van Sickle <g.r.vansickle@worldnet.att.net> |
4066 | ||
4067 | * cygwin.ico: Added two new resolutions, 64x64 and 72x72. | |
4068 | ||
3baca7c9 RC |
4069 | 2003-03-29 Robert Collins <rbtcollins@hotmail.com> |
4070 | ||
4071 | * GUIDELINES: New file documenting code guidelines. | |
4072 | ||
11e37aca MB |
4073 | 2003-03-26 Max Bowsher <maxb@ukf.net> |
4074 | ||
4075 | * .cvsignore: Add cfgaux. | |
4076 | ||
18a3405d RC |
4077 | 2003-03-26 Robert Collins <rbtcollins@hotmail.com> |
4078 | ||
11e37aca MB |
4079 | * package_version.cc (_defaultversion::accessible): Override and make |
4080 | always false. | |
4081 | (_packageversion::accessible): Fix a couple of logic bugs resulting in | |
4082 | incorrect trues. | |
18a3405d RC |
4083 | * package_version.h (_packageversion::accessible): Make virtual. |
4084 | ||
39ba3555 MB |
4085 | 2003-03-25 Igor Pechtchanski <pechtcha@cs.nyu.edu> |
4086 | ||
4087 | * threebar.h (WM_APP_START_POSTINSTALL): New message. | |
4088 | (WM_APP_POSTINSTALL_THREAD_COMPLETE): New message. | |
4089 | * threebar.cc (ThreeBarProgressPage::OnMessageApp): | |
4090 | Add handling for WM_APP_START_POSTINSTALL and | |
4091 | WM_APP_POSTINSTALL_THREAD_COMPLETE. | |
4092 | * install.cc (do_install_thread): Set next_dialog to | |
4093 | IDD_S_POSTINSTALL. | |
4094 | * desktop.cc (DesktopSetupPage::OnFinish): Move the | |
4095 | do_postinstall call to ThreeBarProgressPage::OnMessageApp. | |
4096 | * script.h (Script::fullName): New member function. | |
4097 | (Script::run): New member function. | |
4098 | (Script::ETCPostinstall): New static member constant. | |
4099 | * script.cc (Script::fullName): Implement. | |
4100 | (Script::run): Implement. | |
4101 | (Script::ETCPostinstall): Define. | |
4102 | (Script::isAScript): Use ETCPostinstall instead of a | |
4103 | hardcoded string constant. | |
4104 | (run): Enable "#if 0"'d code. | |
4105 | * postinstall.cc (Progress): New extern variable. | |
4106 | (RunFindVisitor::visitFile): Add script to vector | |
4107 | instead of running. | |
4108 | (RunFindVisitor::_scripts): New member variable. | |
4109 | (RunScript): New helper class for use in for_each. | |
4110 | (do_postinstall_thread): Rename do_postinstall to. Add | |
4111 | Progress bar and text setting. Add package count. | |
4112 | (do_postinstall_reflector): New static function. | |
4113 | (do_postinstall): Rename to do_postinstall_thread. | |
4114 | Create a thread instead. | |
4115 | ||
1069407c MB |
4116 | 2003-03-18 Igor Pechtchanski <pechtcha@cs.nyu.edu> |
4117 | ||
4118 | * script.cc (run): Add file_out parameter. | |
4119 | Redirect output of subprocess to file, creating the | |
4120 | path if necessary. Minimize the script window. | |
4121 | (run_script): Add optional to_log boolean parameter. | |
4122 | If to_log, redirect output to temporary file and then | |
4123 | import it into LOG_BABBLE. | |
4124 | (OutputLog): New helper class. | |
4125 | (operator<<): New operation on OutputLog. | |
4126 | * script.h (run_script): Add optional to_log parameter. | |
4127 | * postinstall.cc (RunFindVisitor::visitFile): Instruct | |
4128 | run_script() to log script output. | |
4129 | (do_postinstall): Ditto. | |
4130 | ||
84fd41a9 RC |
4131 | 2003-03-20 Robert Collins <rbtcollins@hotmail.com> |
4132 | ||
ca2b7505 | 4133 | * package_meta.cc (packagemeta::set_action): The logic |
84fd41a9 RC |
4134 | test for the default action was reversed. |
4135 | ||
864a5ec1 MB |
4136 | 2003-03-18 Igor Pechtchanski <pechtcha@cs.nyu.edu> |
4137 | ||
4138 | * postinstall.cc (do_postinstall): Filter out '*.done'. | |
4139 | * FilterVisitor.h: New header file. Declare the | |
4140 | FilterVisitor, Filter, and ExcludeNameFilter classes. | |
4141 | * FilterVisitor.cc: New file. Implement FilterVisitor, | |
4142 | Filter, and ExcludeNameFilter. | |
4143 | * String++.h (String::matches): New instance function. | |
4144 | * String++.cc (String::matches): Implement. | |
4145 | (strmatch) Import and adapt for <buf,len> strings. | |
4146 | * Makefile.am (setup_SOURCES): Add FilterVisitor.cc and | |
4147 | FilterVisitor.h to value. | |
4148 | ||
560ac5e2 MB |
4149 | 2002-03-18 Max Bowsher <maxb@ukf.net> |
4150 | ||
4151 | * LogFile.cc (LogFile::exit): Use CRT exit() instead of ExitProcess(). | |
4152 | Use passed exit_code even if been_here. | |
4153 | Remove incorrect _CYGWIN_ preprocessor conditional. | |
4154 | ||
ad646f43 RC |
4155 | 2003-03-16 Robert Collins <rbtcollins@hotmail.com> |
4156 | ||
e0312c44 RC |
4157 | * package_db.h (PackageDBConnectedIterator): Typedef |
4158 | for connected loop detection collection iterator. | |
ca2b7505 CF |
4159 | * package_db.cc (ConnectedLoopDetector): An |
4160 | implementation of R.E. Tarjans strongly connected | |
e0312c44 RC |
4161 | set visitor algorithm. |
4162 | * postinstall.cc (do_postinstall): Use the new iterator | |
4163 | for visiting postinstall scripts. | |
ad646f43 RC |
4164 | |
4165 | 2003-03-16 Robert Collins <rbtcollins@hotmail.com> | |
4166 | ||
4167 | * install.cc: Introduce Installer class. | |
4168 | (init_dialog): Rename to Installer::initDialog. | |
4169 | (progress): Rename to Installer::progress. | |
4170 | (standard_dirs): Rename to Installer::StandardDirs. | |
4171 | (uninstall_one): Rename to Installer::uninstallOne. | |
4172 | (replace_one): Rename to Installer::replaceOne. | |
ca2b7505 | 4173 | (log_ror_failure): Rename to |
e0312c44 | 4174 | Installer::replaceOnRebootFailed. |
ca2b7505 | 4175 | (log_ror_success): Rename to |
e0312c44 | 4176 | Installer::replaceOnRebootSucceeded. |
ad646f43 RC |
4177 | (install_one_source): Rename to Installer::installOneSource. |
4178 | Note script files as they are installed. | |
4179 | * package_version.cc (packageversion::addScript): Implement. | |
4180 | (packageversion::scripts): Implement. | |
ca2b7505 | 4181 | * package_version.h (packageversion::addScript): Record the |
e0312c44 | 4182 | presence of a script. |
ad646f43 | 4183 | * script.h (Script): New class to track scripts. |
e0312c44 RC |
4184 | * postinstall.cc (do_postinstall): Iterate through the |
4185 | package listed scripts before searching for scripts. | |
ca2b7505 | 4186 | * String++.cc (String::substr): Second argument needed to |
e0312c44 | 4187 | be signed. |
ca2b7505 | 4188 | * String++.h (String::substr): Second argument needed to |
e0312c44 | 4189 | be signed. |
ad646f43 | 4190 | |
c0a46d04 MB |
4191 | 2003-03-16 Max Bowsher <maxb@ukf.net> |
4192 | ||
4193 | * .cvsignore: Create, to ignore configure, aclocal.m4, Makefile.in and | |
4194 | autom4te.cache. | |
4195 | ||
3d7ae5a2 MB |
4196 | 2003-03-16 Max Bowsher <maxb@ukf.net> |
4197 | ||
4198 | * UserSettings.cc (UserSettings::Instance): Remove premature return. | |
4199 | ||
92f9402a RC |
4200 | 2003-03-15 Robert Collins <rbtcollins@hotmail.com> |
4201 | ||
4202 | * script.cc (run): Rename variable b to createSucceeded. | |
4203 | ||
4204 | 2003-03-15 Igor Pechtchanski <pechtcha@cs.nyu.edu> | |
4205 | ||
4206 | * script.cc (run): Close unneeded handles. | |
4207 | ||
b49f570f RC |
4208 | 2003-03-15 Robert Collins <rbtcollins@hotmail.com> |
4209 | ||
4210 | * configure: Remove. | |
4211 | * aclocal.m4: Remove. | |
4212 | * Makefile.in: Remove. | |
4213 | * cfgaux: Remove. | |
4214 | * cfgaux/compile: Remove. | |
4215 | * cfgaux/config.guess: Remove. | |
4216 | * cfgaux/config.sub: Remove. | |
4217 | * cfgaux/depcomp: Remove. | |
4218 | * cfgaux/install-sh: Remove. | |
4219 | * cfgaux/ltmain.sh: Remove. | |
4220 | * cfgaux/missing: Remove. | |
4221 | * cfgaux/mkinstalldirs: Remove. | |
4222 | ||
b6001c0d MB |
4223 | 2003-03-14 Igor Pechtchanski <pechtcha@cs.nyu.edu> |
4224 | ||
4225 | * install.cc (replace_one): Clear Text3. | |
4226 | ||
46ccc05f MB |
4227 | 2003-03-14 Igor Pechtchanski <pechtcha@cs.nyu.edu> |
4228 | ||
4229 | * install.cc (install_one_source): Add logging for successful | |
4230 | replace-on-reboot scheduling. Factor out duplicate code. | |
4231 | Set rebootneeded on Win9x. | |
4232 | (log_ror_failure): New static function. | |
4233 | (log_ror_success): New static function. | |
4234 | ||
c27b09ba RC |
4235 | 2003-03-14 Robert Collins <rbtcollins@hotmail.com> |
4236 | ||
ca2b7505 | 4237 | * choose.cc (ChooserPage::OnNext): Fix iterator bug. Reported by |
c27b09ba RC |
4238 | Igor Pechtchanski <pechtcha@cs.nyu.edu>. |
4239 | ||
a081d4ff MB |
4240 | 2003-03-13 Max Bowsher <maxb@ukf.net> |
4241 | ||
4242 | * Update included zlib to 1.1.4. | |
4243 | ||
f430003c RC |
4244 | 2003-03-13 Robert Collins <rbtcollins@hotmail.com> |
4245 | ||
46ccc05f MB |
4246 | * install.cc (do_install_thread): Use a query method rather than temp |
4247 | variable do_skip. | |
f430003c | 4248 | |
46ccc05f | 4249 | 2003-03-09 Pavel Tsekov <ptsekov@gmx.net> |
f430003c | 4250 | |
ca2b7505 | 4251 | * install.cc (do_install_thread): Use IDS_SKIP_PACKAGE |
f430003c RC |
4252 | instead of IDS_CORRUPT_PACKAGE when asking the user to take |
4253 | action if the hash verification check fails for a source package. | |
4254 | Do not increase the value of 'total_bytes' variable if the | |
4255 | user chooses to skip over a package, which failed the hash | |
4256 | verification. | |
4257 | ||
48c7d667 MB |
4258 | 2003-03-10 Max Bowsher <maxb@ukf.net> |
4259 | ||
4260 | * Makefile.am: Add foreign to AUTOMAKE_OPTIONS. | |
4261 | ||
aaeee283 RC |
4262 | 2003-03-10 Robert Collins <rbtcollins@hotmail.com> |
4263 | ||
4264 | * UserSettings.cc (UserSettings::init): Really initialize all members. | |
4265 | ||
ead15931 RC |
4266 | 2003-03-10 Robert Collins <rbtcollins@hotmail.com> |
4267 | ||
4268 | * Exception.h: Add a logic error exception id. | |
4269 | * Makefile.am: Add new sources. | |
4270 | * UserSettings.cc: New file. | |
4271 | * UserSettings.h: New file. | |
4272 | * UserSetting.cc: New file. | |
4273 | * UserSetting.h: New file. | |
4274 | * site.h: Add a SiteSetting as example of a UserSetting. | |
46ccc05f MB |
4275 | * site.cc (ChosenSites): Add a instance of SiteSetting to trigger |
4276 | registration. | |
ead15931 | 4277 | |
c1754473 RC |
4278 | 2003-03-10 Robert Collins <rbtcollins@hotmail.com> |
4279 | ||
46ccc05f MB |
4280 | * compress_bz.cc (compress_bz::read): Adjust incorrect assignment of |
4281 | lasterr. | |
c1754473 RC |
4282 | (compress_bz::error): Return lasterr which will indicate any error. |
4283 | ||
52620058 RC |
4284 | 2003-03-10 Robert Collins <rbtcollins@hotmail.com> |
4285 | ||
4286 | * choose.h (ChooserPage): Override OnActivate. | |
46ccc05f MB |
4287 | * choose.cc (ChooserPage::OnActivate): Refresh the current view when |
4288 | activating the dialog. | |
52620058 | 4289 | |
6e754226 RC |
4290 | 2003-03-09 Robert Collins <rbtcollins@hotmail.com> |
4291 | ||
46ccc05f MB |
4292 | * package_version.cc (_defaultversion::pick(bool)): Override this and |
4293 | do nothing. | |
4294 | (packageversion::pick(bool): Use a mutator function rather than direct | |
4295 | member access. | |
4296 | * package_version.h (_packageversion::pick(bool)): Move method from | |
4297 | _packageversion. | |
6e754226 | 4298 | |
970149e8 RC |
4299 | 2003-02-16 Pavel Tsekov <ptsekov@gmx.net> |
4300 | ||
ca2b7505 | 4301 | * install.cc (install_one_source): Remove the MD5 verification |
970149e8 RC |
4302 | code. |
4303 | Delay the creation of the package listing file. | |
ca2b7505 | 4304 | (do_install_thread): Check the hashes for packages which need |
970149e8 RC |
4305 | to be installed before the uninstall step. Allow the user to |
4306 | skip over packages, which fail the hash verification. | |
4307 | (md5_one): Define new function. | |
4308 | * res.rc (IDS_SKIP_PACKAGE): New string resource. | |
4309 | * resource.h (IDS_SKIP_PACKAGE): New macro definition. | |
4310 | ||
f37b36a3 RC |
4311 | 2003-02-16 Pavel Tsekov <ptsekov@gmx.net> |
4312 | ||
4313 | * Exception.h: Declare new constructor. | |
4314 | (Exception::_message): Change the type from 'const char *' to | |
4315 | 'class String'. | |
4316 | (Exception::~Exception): Implement destructor (make gcc shut up). | |
4317 | * Exception.cc: Implement new constructor. | |
4318 | (Exception::what): Use String::cstr_oneuse (). | |
4319 | * download.cc (validateCachedPackage): Use the constructor, which | |
4320 | takes String& as its second argument, when throwing objects | |
4321 | of type Exception. | |
4322 | (check_for_cached): Ditto. | |
4323 | * install.cc (install_one_source): Ditto. | |
4324 | ||
eef9ea26 RC |
4325 | 2003-02-01 Igor Pechtchanski <pechtcha@cs.nyu.edu> |
4326 | ||
4327 | * res.rc (IDS_INSTALL_INCOMPLETE): Change hard-coded | |
4328 | log filename to %s. | |
4329 | (IDS_MISSING_LOG): New string resource. | |
4330 | * resource.h (IDS_MISSING_LOG): New resource. | |
4331 | * LogFile.cc (LogFile::exit): Pass log filename for | |
4332 | LOG_BABBLE to note(). | |
4333 | (LogFile::getFileName): New function. | |
4334 | * LogFile.h (LogFile::getFileName): New function. | |
4335 | ||
514b100e RC |
4336 | 2003-02-01 Igor Pechtchanski <pechtcha@cs.nyu.edu> |
4337 | ||
4338 | * String++.cc: Don't include concat.h. | |
4339 | * Makefile.am: Remove concat.cc and concat.h references. | |
4340 | * concat.h: Remove. | |
4341 | * concat.cc: Remove. | |
4342 | ||
56c60dcc MB |
4343 | 2003-03-09 Max Bowsher <maxb@ukf.net> |
4344 | ||
4345 | * bootstrap.sh: Add sanity check of current directory. | |
4346 | Recurse into libgetopt++ if needed. | |
4347 | ||
4f4b9def RC |
4348 | 2003-03-09 Robert Collins <rbtcollins@hotmail.com> |
4349 | ||
4350 | * Update readme of bugs and wishes. | |
4351 | ||
ed6137e5 MB |
4352 | 2003-03-05 Max Bowsher <maxb@ukf.net> |
4353 | ||
4354 | * netio.cc (save_dialog): Allocate an empty string if the password is | |
4355 | null, so that an empty password is accepted elsewhere in setup. | |
4356 | (check_if_enable_ok): An empty password is OK. | |
4357 | ||
e0aec95e MB |
4358 | 2003-03-05 Brian Keener <bkeener@thesoftwaresource.com> |
4359 | ||
ed6137e5 | 4360 | * PickView.cc (PickView::views): Add two new views for Skipped |
e0aec95e MB |
4361 | packages and Installed Packages not requiring update. |
4362 | (PickView::set_headers () ): Ditto. | |
4363 | (PickView::clear_view (void) ): Ditto. | |
4364 | (PickView::views::caption () ): Add two new captions for the new | |
4365 | views added for Skipped and Installed Packages. | |
4366 | (PickView::scroll () ): Modify Scroll Bar property to Disable | |
ed6137e5 | 4367 | instead of disappearing when there is nothing to Scroll. |
e0aec95e MB |
4368 | * PickView.h: Add two new views for Skipped packages and Installed |
4369 | packages to public class view. | |
4370 | * choose.cc (list_click () ): Modify Scroll Bar property to Disable | |
ed6137e5 | 4371 | instead of disappearing when there is nothing to Scroll. |
e0aec95e MB |
4372 | (listview_proc () ): Ditto. |
4373 | (set_view_mode): Add two new views for Skipped Packages and Installed | |
4374 | Packages not requiring update. Modify Scroll Bar property to Disable | |
4375 | instead of disappearing when there is nothing to scroll. | |
4376 | * res.rc (IDD_CHOOSE): Reposition Radio Buttons, View Selection | |
4377 | Button and View Button Caption to make room for longer captions. | |
4378 | ||
c7fb2f36 MB |
4379 | 2003-03-04 Max Bowsher <maxb@ukf.net> |
4380 | ||
4381 | * compress_gz.cc (compress_gz::construct): | |
4382 | Fix broken checkin dated 2002-07-03. | |
4383 | ||
d5be1d23 MB |
4384 | 2003-02-28 Max Bowsher <maxb@ukf.net> |
4385 | ||
4386 | * main.cc (set_default_sec): Add logging. | |
4387 | ||
adaa168a MB |
4388 | 2003-02-28 Pierre Humblet <pierre.humblet@ieee.org> |
4389 | ||
4390 | * main.cc (set_default_dacl): Replace with set_default_sec. | |
4391 | (set_default_sec): Attempt to change the default group to | |
4392 | Users or Administrators if it is None, in addition to setting | |
4393 | Everyone in the default DACL. | |
4394 | (main): Call set_default_sec instead of set_default_dacl. | |
4395 | ||
3a8d1127 MB |
4396 | 2003-01-31 Max Bowsher <maxb@ukf.net> |
4397 | ||
4398 | * install.cc (install_one_source): Fix spacing in log message. | |
4399 | ||
c7230a28 MB |
4400 | 2003-01-19 Max Bowsher <maxb@ukf.net> |
4401 | ||
4402 | * resource.h (IDC_CHOOSE_KEEP): Define. | |
4403 | * res.rc (IDD_CHOOSE): Add radio button IDC_CHOOSE_KEEP. | |
4404 | * choose.cc (create_listview): Add IDC_CHOOSE_KEEP to ta[]. | |
4405 | (ChooserPage::OnMessageCmd): Handle new IDC_CHOOSE_KEEP button. | |
4406 | ||
ac949c48 MB |
4407 | 2003-01-15 Max Bowsher <maxb@ukf.net> |
4408 | ||
4409 | * mkdir.cc [_CYGWIN_]: Implement what was pseudocode. | |
4410 | * io_stream.h [__CYGWIN__]: Don't typedef ssize_t. | |
4411 | * proppage.h: Include "win32.h" instead of <windows.h>. | |
4412 | ||
4f618d88 MB |
4413 | 2003-01-15 Max Bowsher <maxb@ukf.net> |
4414 | ||
4415 | * mount.cc [MAINTAINER_FEATURES]: Add --override-registry-name option. | |
4416 | ||
1606c4e9 MB |
4417 | 2002-12-11 Abraham Backus <abraham@backus.com> |
4418 | ||
4419 | * nio-http.cc (NetIO_HTTP::NetIO_HTTP): Leave port out of Host header, | |
4420 | unless non-default. | |
4421 | ||
c4e25cde MB |
4422 | 2002-12-11 Max Bowsher <maxb@ukf.net> |
4423 | ||
4424 | * package_meta.cc: Change 'endl' to 'endLog' as appropriate. | |
4425 | * package_version.cc: Ditto. | |
4426 | ||
bfdf6ac2 MB |
4427 | 2002-09-22 Max Bowsher <maxb@ukf.net> |
4428 | ||
4429 | * PickView.cc (pkg_headers): Rename column 'Category' to 'Categories'. | |
4430 | * package_meta.h (packagemeta::getReadableCategoryList): Declare. | |
4431 | * package_meta.cc (packagemeta::getReadableCategoryList): Implement. | |
4432 | * PickPackageLine.cc (PickPackageLine::paint): Change to use | |
4433 | getReadableCategoryList. | |
4434 | Fix x2 argument to IntersectClipRect. | |
4435 | ||
63c82708 RC |
4436 | 2002-11-25 Gary R. Van Sickle <g.r.vansickle@worldnet.att.net> |
4437 | ||
4438 | * window.h (Window::GetWindowRect): New method declaration. | |
4439 | (Window::GetClientRect): Ditto. | |
4440 | (Window::MoveWindow): Ditto. | |
4441 | (Window::ScreenToClient): Ditto. | |
4442 | * window.cc (REFLECTION_INFO): Remove. | |
4443 | (ReflectionInfo): Remove. | |
4444 | (Window::FirstWindowProcReflector): Use the WM_NCCREATE message instead | |
4445 | of the horrid REFLECTION_INFO hack to hook the Window instance to the | |
4446 | HWND instance. | |
4447 | (Window::WindowProcReflector): Use GetWindowLongPtr() now that it's | |
4448 | available. | |
4449 | (Window::Create): Change to use new WM_NCCREATE reflection procedure | |
4450 | above. | |
4451 | (Window::GetWindowRect): New method. | |
4452 | (Window::GetClientRect): New method. | |
4453 | (Window::MoveWindow): New method. | |
4454 | (Window::CenterWindow): Use new methods, also specify "::" for some non- | |
4455 | member functions with the same names. | |
4456 | (Window::ScreenToClient): New method. | |
4457 | ||
58983805 RC |
4458 | 2002-11-26 Robert Collins <rbtcollins@hotmail.com> |
4459 | ||
4460 | * AntiVirus.cc: Change the short option again! It's now 'A'. | |
4461 | * desktop.cc (etc_profile): Remove. | |
4462 | (make_etc_profile): Remove. | |
4463 | (uexists): Remove. | |
4464 | (make_passwd_group): Remove. | |
4465 | (do_desktop_setup): Don't call removed functions. | |
4466 | ||
b2028692 RC |
4467 | 2002-11-26 Robert Collins <rbtcollins@hotmail.com> |
4468 | ||
4469 | * nio-ftp.cc (NetIO_FTP::NetIO_FTP): Fix my botched application of | |
4470 | Marcel's patch. | |
4471 | ||
2d8e4784 RC |
4472 | 2002-07-08 Marcel Telka <marcel@telka.sk> |
4473 | ||
b2028692 | 4474 | * nio-ftp.cc (NetIO_FTP::NetIO_FTP): Fixed decoding of the FTP |
2d8e4784 RC |
4475 | reply (code 227) to the PASV command. |
4476 | ||
3a87705e RC |
4477 | 2002-11-26 Robert Collins <rbtcollins@hotmail.com> |
4478 | ||
4479 | * IniDBBuilderPackage.cc (IniDBBuilderPackage::~IniDBBuilderPackage): | |
4480 | Sort the packages db once all the new packages have been added. | |
4481 | * IniDBBuilderPackage.h (IniDBBuilderPackage::~IniDBBuilderPackage): | |
4482 | Declare this. | |
4483 | ||
bd4e91a7 RC |
4484 | 2002-11-26 Robert Collins <rbtcollins@hotmail.com> |
4485 | ||
4486 | * choose.cc (ChooserPage::OnNext): Remove extracted comment. | |
4487 | * package_version.cc (processOneDependency): Return once selecting | |
4488 | a package (bugfix to prevous rework). | |
4489 | Log if the default trust fails the package specification. | |
4490 | ||
f416a2b6 RC |
4491 | 2002-11-26 Robert Collins <rbtcollins@hotmail.com> |
4492 | ||
4493 | * package_meta.h (packagemeta::logAllVersions): Declare. | |
4494 | (packagemeta::trustLabel): Ditto. | |
ca2b7505 | 4495 | * choose.cc (ChooserPage::OnNext): Get each package to log all it's |
f416a2b6 RC |
4496 | versions. |
4497 | * package_meta.cc (packagemeta::logAllVersions): Implement. | |
4498 | (packagemeta::trustLabel): Ditto. | |
4499 | ||
14485ab2 RC |
4500 | 2002-11-25 Robert Collins <rbtcollins@hotmail.com> |
4501 | ||
4502 | * AntiVirus.cc: Change 'd' to 'D' to fix command line conflict. | |
4503 | ||
f9e903a3 RC |
4504 | 2002-11-25 Robert Collins <rbtcollins@hotmail.com> |
4505 | ||
4506 | * AntiVirus.cc: New file. | |
4507 | * AntiVirus.h: Ditto. | |
4508 | * LogFile.cc: Include AntiVirus.h for class definition. | |
4509 | (LogFile::exit): Trigger AntiVirus::AtExit(). | |
4510 | * MakeFile.am(setup_SOURCES): Add AntiVirus files. | |
4511 | * autoload.c: Declare Service Control Manager related API's. | |
4512 | * main.cc: Include AntiVirus.h for class definition. | |
4513 | (main): Add the AntiVirus page in. | |
4514 | * res.rc: Define IDD_VIRUS. | |
4515 | * resource.h: Define IDD_VIRUS related control ID's. | |
4516 | * splash.h: Override OnNext. | |
4517 | * splash.cc: Only show AntiVirus page when one has been detected. | |
4518 | * source.cc: Ditto. | |
4519 | ||
05c5b8a6 RC |
4520 | 2002-11-25 Robert Collins <rbtcollins@hotmail.com> |
4521 | ||
4522 | * package_version.cc (DependencyProcessor): Create convenience class. | |
4523 | (select): Extract version selection method. | |
4524 | (processOneDependency): Check for a satisfactory trusted version | |
4525 | first. | |
4526 | ||
4527 | 2002-11-10 Robert Collins <rbtcollins@hotmail.com> | |
15004270 RC |
4528 | |
4529 | * main.cc (main): Use the factory for LogFile. | |
4530 | * String++.cc: Update to use sstream. | |
58b12a06 | 4531 | (String::String): Use a ostringstream for libC++ 3.2. |
15004270 RC |
4532 | * LogFile.h (LogFile): Make createLogFile static. |
4533 | ||
05c5b8a6 | 4534 | 2002-11-10 Robert Collins <rbtcollins@hotmail.com> |
51629951 RC |
4535 | |
4536 | * main.cc (main): Oops, pass LogSingleton a reference, not a pointer. | |
4537 | ||
666bf37d RC |
4538 | 2002-11-04 Max Bowsher <maxb@ukf.net> |
4539 | ||
4540 | * Exception.h (Exception::what): Add throw() specification, | |
4541 | to agree with libstdc++-v3. | |
4542 | * Exception.cc (Exception::what): Ditto. | |
4543 | * IniDBBuilderPackage.h: Add 'std::' where needed. | |
4544 | * PickCategoryLine.h: Ditto. | |
4545 | * category.h: Ditto. | |
4546 | * package_db.h: Ditto. | |
4547 | * package_meta.h: Ditto. | |
4548 | * package_source.h: Ditto. | |
4549 | * package_version.h: Ditto. | |
4550 | * site.h: Ditto. | |
4551 | * win32.h: Define NOMINMAX before including <windows.h>. | |
4552 | * package_meta.cc: Add 'using namespace std;'. | |
4553 | (packagemeta::set_requirements): Remove default parameter values | |
4554 | from definition (gcc3 likes them only in declaration). | |
4555 | * package_version.cc: Add 'using namespace std;'. | |
4556 | (packageversion::set_requirements): Remove default parameter | |
4557 | values from definition (gcc3 likes them only in declaration). | |
4558 | ||
37decc22 RC |
4559 | 2002-11-10 Robert Collins <rbtcollins@hotmail.com> |
4560 | ||
4561 | * compress_bz.cc: Don't include bzlib.h directly, the compress_bz.h | |
4562 | header includes it. | |
4563 | ||
4564 | 2002-11-04 Max Bowsher <maxb@ukf.net> | |
4565 | ||
ca2b7505 CF |
4566 | * compress_bz.h: #undef small before including bzlib.h - if we are |
4567 | going to hide the fact that we are _WIN32 from bzlib, then we need | |
37decc22 RC |
4568 | to #undef small for it as well (bad windows.h clash). |
4569 | ||
a55c8f45 RC |
4570 | 2002-11-10 Robert Collins <rbtcollins@hotmail.com> |
4571 | ||
4572 | * localdir.cc: Update the extern LogFile to be a pointer. | |
4573 | (save_local_dir): Change . to -> for the above. | |
4574 | * main.cc (theFile): Change from an instance to a pointer. | |
4575 | (main): Change . to -> for the above. | |
4576 | ||
c83c52d8 RC |
4577 | 2002-11-10 Robert Collins <rbtcollins@hotmail.com> |
4578 | ||
4579 | * LogFile.cc: use 'std::' where needed throughout. | |
4580 | (LogFile::createLogFile): Implement a factory for LogFile. | |
4581 | (LogFile::LogFile): Update for use with the factory, and to | |
4582 | handle the latest g++ library changes. | |
4583 | (LogFile::operator()): Ditto. | |
4584 | (LogFile::endEntry()): Ditto. | |
4585 | * LogFile.h: Ditto. | |
4586 | * LogSingleton.cc: Ditto. | |
4587 | * LogSingleton.h: Ditto. | |
4588 | ||
318af134 RC |
4589 | 2002-11-04 Max Bowsher <maxb@ukf.net> |
4590 | ||
4591 | * String++.h: Add 'std::' where needed. | |
4592 | ||
6625e635 RC |
4593 | 2002-11-04 Max Bowsher <maxb@ukf.net> |
4594 | ||
4595 | * IniDBBuilderPackage.cc: Add 'using namespace std;'. | |
4596 | * IniParseFindVisitor.cc: Ditto. | |
4597 | * LogFile.cc: Ditto. | |
4598 | * LogSingleton.cc: Ditto. | |
4599 | * PickView.cc: Ditto. | |
4600 | * String++.cc: Ditto. | |
4601 | * choose.cc: Ditto. | |
4602 | * download.cc: Ditto. | |
4603 | * find.cc: Ditto. | |
4604 | * install.cc: Ditto. | |
4605 | * io_stream.cc: Ditto. | |
4606 | * io_stream_file.cc: Ditto. | |
4607 | * package_db.cc: Ditto. | |
4608 | * root.cc: Ditto. | |
4609 | * site.cc: Ditto. | |
4610 | ||
955bf437 RC |
4611 | 2002-11-04 Max Bowsher <maxb@ukf.net> |
4612 | ||
4613 | * LogSingleton.h: Add 'std::' where needed. | |
4614 | ||
b34fb59f RC |
4615 | 2002-11-04 Max Bowsher <maxb@ukf.net> |
4616 | ||
4617 | * archive_tar_file.cc: Include <algorithm>. | |
4618 | Change min(a,b) to std::min(a,b) | |
4619 | * compress_bz.cc: Ditto. | |
4620 | * compress_gz.cc: Ditto. | |
4621 | ||
326fbcb8 RC |
4622 | 2002-11-04 Max Bowsher <maxb@ukf.net> |
4623 | ||
4624 | * res.rc: Change a #-comment (invalid) to a //-comment. | |
4625 | ||
4361306f RC |
4626 | 2002-11-04 Max Bowsher <maxb@ukf.net> |
4627 | ||
4628 | * Makefile.am (%.o: %.rc): Make windres use $(CC) not hardcoded gcc. | |
58b12a06 MB |
4629 | (inilint_LDADD): Remove -lstd++. |
4630 | (setup_LDADD): Ditto. | |
4361306f | 4631 | |
05d7b7f2 RC |
4632 | 2002-09-22 Max Bowsher <maxb@ukf.net> |
4633 | ||
4634 | * IniDBBuilderPackage.cc: Update DEBUG code to current class | |
4635 | layout. | |
4636 | ||
f2ff9838 RC |
4637 | 2002-09-21 Robert Collins <rbtcollins@hotmail.com> |
4638 | ||
4639 | * choose.h: Add OnUnattended method. | |
4640 | * desktop.cc (DesktopSetupPage::OnInit): Allow fine grained | |
4641 | control via command line options. | |
4642 | (DesktopSetupPage::OnUnattended): Implement. | |
4643 | (DesktopSetupPage::OnMessageApp): Implement. | |
4644 | * desktop.h (DesktopSetupPage::OnUnattended): declare. | |
4645 | (DesktopSetupPage::OnMessageApp): Ditto. | |
4646 | * download.cc (do_download_thread): Support unattended mode. | |
4647 | * install.cc (do_install_thread): Ditto. | |
4648 | * localdir.h: Ditto. | |
4649 | * main.cc (main): Ditto. | |
4650 | * net.cc (NetPage::OnUnattended): Ditto. | |
4651 | * net.h (NetPage::OnUnattended): Declare. | |
4652 | * proppage.cc (PropertyPage::DialogProc): Support unattended mode. | |
4653 | * proppage.h (PropertyPage::OnUnattended): Declare. | |
4654 | * root.cc (RootPage::OnInit): Support unattended mode. | |
4655 | (RootPage::OnUnattended): Implement. | |
4656 | * root.h (RootPage::OnUnattended): Declare. | |
4657 | * site.cc (register_saved_site): Extract Method from get_saved_sites. | |
4658 | (get_saved_sites): Remove common code for adding a site. | |
4659 | (SitePage::OnInit): Support unattended mode. | |
4660 | (SitePage::OnUnattended): Implement. | |
4661 | * site.h (SitePage::OnUnattended): Declare. | |
4662 | * source.cc (SourcePage::OnActivate): Support unattended mode. | |
4663 | (SourcePage::OnUnattended): Implement. | |
4664 | * source.h (SourcePage::OnUnattended): Declare. | |
4665 | * splash.h (SplashPage::OnUnattended): Declare. | |
4666 | * state.cc (unattended_mode): Declare. | |
4667 | * state.h (unattended_mode): Declare. | |
4668 | * threebar.h (ThreeBarProgressPage::OnUnattended): New method. | |
4669 | ||
707f3d66 RC |
4670 | 2002-09-21 Robert Collins <rbtcollins@hotmail.com> |
4671 | ||
4672 | * res.rc: Commit Harry Johnston's dialog caption patch. From July. | |
4673 | ||
ec13f13c RC |
4674 | 2002-07-15 Robert Collins <rbtcollins@hotmail.com> |
4675 | ||
4676 | * package_version.cc (packageversion::sources): Implement this. | |
4677 | * download.cc (do_download_thread): Support multiple files per package. | |
4678 | ||
e5662e0a RC |
4679 | 2002-07-15 Robert Collins <rbtcollins@hotmail.com> |
4680 | ||
4681 | * package_version.h (packageversion::sources): Support multiple files in | |
4682 | a single package version. | |
4683 | * package_version.cc (_packageversion::accessible): Ditto. | |
4684 | (packageversion::source): Ditto. | |
4685 | ||
60daae94 RC |
4686 | 2002-07-15 Robert Collins <rbtcollins@hotmail.com> |
4687 | ||
4688 | * iniparse.y: Implement support for multiple source files for a source | |
4689 | package. | |
4690 | * IniDBBuilder.h (IniDBBuilder::buildSourceFile): Ditto. | |
4691 | * IniDBBuilderPackage.h (IniDBBuilder::buildSourceFile): Ditto. | |
4692 | * IniDBBuilder.cc (IniDBBuilder::buildSourceFile): Ditto. | |
ca2b7505 | 4693 | * IniDBBuilderPackage.cc (IniDBBuilder::buildSourceFile): Implement a |
60daae94 RC |
4694 | stub as preparation. |
4695 | ||
4f591f9d RC |
4696 | 2002-07-13 Robert Collins <rbtcollins@hotmail.com> |
4697 | ||
ca2b7505 | 4698 | * PickPackageLine.cc (PickPackageLine::click): Set requirements for |
4f591f9d RC |
4699 | packages under all circumstances - slightly higher overheader, simpler |
4700 | code. | |
ca2b7505 | 4701 | * download.cc (do_download_thread): Correctly download source |
4f591f9d RC |
4702 | packages. |
4703 | * package_meta.cc (checkForInstalled): Remove. | |
4704 | (checkForUpgradeable): Ditto. | |
4705 | (checkForSatisfiable): Ditto. | |
4706 | (processOneDependency): Ditto. | |
4707 | (packagemeta::set_requirements): Move guts to packageversion. | |
4708 | * package_version.cc (checkForInstalled): Copied from package_meta.cc. | |
4709 | (checkForUpgradeable): Ditto. | |
4710 | (checkForSatisfiable): Ditto. | |
4711 | (processOneDependency): Ditto. | |
4712 | (packageversion::set_requirements): Ditto. | |
4713 | * package_version.h (packageversion::set_requirements): Declare. | |
4714 | ||
b1ff53ed RC |
4715 | 2002-07-13 Robert Collins <rbtcollins@hotmail.com> |
4716 | ||
4717 | * IniDBBuilder.cc (IniDBBuilder::buildBeginBuildDepends): Implement. | |
4718 | (IniDBBuilder::buildBeginBinary): Implement. | |
4719 | * IniDBBuilder.h (IniDBBuilder::buildBeginBuildDepends): Declare. | |
4720 | (IniDBBuilder::buildBeginBinary): Ditto. | |
4721 | * IniDBBuilderPackage.cc (IniDBBuilderPackage::buildBeginBuildDepends): | |
4722 | Implement. | |
4723 | (IniDBBuilderPackage::buildBeginBinary): Ditto. | |
4724 | * IniDBBuilderPackage.h (IniDBBuilderPackage::buildBeginBuildDepends): | |
4725 | Declare. | |
4726 | (IniDBBuilderPackage::buildBeginBinary): Ditto. | |
4727 | * inilex.l: Recognise Build-Depends-Indep, [,], >, < and remove | |
4728 | T_UNKNOWN. | |
4729 | * iniparse.y: Full support for parsing a debian Sources file in-line in | |
4730 | setup.ini. | |
4731 | * package_version.cc (packageversion::binaries): Implement. | |
4732 | * package_version.h (packageversion::binaries): Declare list of what | |
4733 | packages are created from a given source package. | |
4734 | (_packageversion::binaries): Ditto. | |
4735 | ||
233a3e17 RC |
4736 | 2002-07-10 Robert Collins <rbtcollins@hotmail.com> |
4737 | ||
4738 | * iniparse.y: Add basis for support for parsing a debian Sources file. | |
4739 | * inilex.l: Ditto. | |
4740 | ||
cfae3b8d RC |
4741 | 2002-07-09 Robert Collins <rbtcollins@hotmail.com> |
4742 | ||
4743 | Change custom container code for packagedb::packages to STL containers | |
4744 | throughout. | |
4745 | * IniDBBuilderPackage.cc: Ditto. | |
4746 | * PickView.cc: Ditto. | |
4747 | * choose.cc: Ditto. | |
4748 | * desktop.cc: Ditto. | |
4749 | * download.cc: Ditto. | |
4750 | * install.cc: Ditto. | |
4751 | * package_db.cc: Ditto. | |
4752 | * package_db.h: Ditto. | |
4753 | * Makefile.am: Remove list.h references. | |
4754 | * list.h: Remove. | |
4755 | ||
09130e58 RC |
4756 | 2002-07-08 Max Bowsher <maxb@ukf.net> |
4757 | ||
4758 | * PickView.cc (PickView::PickView): Set font of package list header to | |
4759 | the same as used in the rest of the package list. | |
4760 | ||
a75ed5ce RC |
4761 | 2002-07-08 Robert Collins <rbtcollins@hotmail.com> |
4762 | ||
4763 | * install.cc (NoReplaceOnReboot): New command line option to prevent | |
4764 | replacing in use files. | |
4765 | (install_one_source): Check the option and use it. | |
4766 | * README: Update TODO lists. | |
4767 | ||
0cf68afd RC |
4768 | 2002-07-08 Robert Collins <rbtcollins@hotmail.com> |
4769 | ||
ca2b7505 | 4770 | * PickCategoryLine.cc: Change bucket to use STL container syntax |
0cf68afd RC |
4771 | throughout. |
4772 | (PickCategoryLine::paint): Use new Category type syntax. | |
ca2b7505 | 4773 | * PickCategoryLine.h: Use STL vectors rather than custom containers |
0cf68afd RC |
4774 | throughout. |
4775 | * IniDBBuilderPackage.cc (IniDBBuilderPackage::buildPackageCategory): | |
4776 | Use new add_category syntax. | |
4777 | * PickView.cc (PickView::insert_pkg): Use new Category type syntax. | |
4778 | (PickView::insert_category): Ditto. | |
4779 | (PickView::init_headers): Ditto. | |
4780 | * category.cc: Trim obsolete code. | |
ca2b7505 | 4781 | * category.h: Replace interconnecting class with a typedef to |
0cf68afd RC |
4782 | facilitate leveraging STL maps. |
4783 | * choose.cc (fill_missing_category): Use updated pkg.add_category | |
4784 | syntax. | |
4785 | (default_trust): Use new Category type syntax. | |
4786 | (set_view_mode): Ditto. | |
4787 | (create_listview): Ditto. | |
4788 | * package_db.cc (categories): Ditto. | |
4789 | * package_db.h: Update headers list to include needed headers. | |
4790 | (packagedb::categories): Replace custom list with STL map. | |
4791 | * package_meta.cc: Use new Category type syntax throughout. | |
4792 | (packagemeta::add_category): Implement new syntax. | |
4793 | * package_meta.h: Remove commented out source. | |
4794 | (packagemeta::add_category): Update syntax to decouple interface from | |
4795 | packagedb. | |
4796 | ||
89374d4a CF |
4797 | 2002-07-06 Christopher Faylor <cgf@redhat.com> |
4798 | ||
4799 | * site.cc (do_download_site_info_thread): Correct spelling error. | |
4800 | ||
405d7186 RC |
4801 | 2002-07-06 Robert Collins <rbtcollins@hotmail.com> |
4802 | ||
4803 | * PickCategoryLine.h: Include required header list.h. | |
4804 | * PickPackageLine.cc (PickPackageLine::paint): Adjust to use STL | |
4805 | containers for listing of packages per category and vice verca. | |
4806 | * PickView.cc (PickView::insert_pkg): Ditto. | |
4807 | (PickView::insert_category): Ditto. | |
4808 | * String++.h (String::caseless): STL helper to allow trivial containers | |
4809 | of Strings with case insensitive comparisons. | |
4810 | * category.h: Adjust to use STL containers for listing of packages per | |
4811 | category and vice verca. | |
4812 | * choose.cc (fill_missing_category): Ditto. | |
4813 | (default_trust): Ditto. | |
4814 | (ChooserPage::OnNext): Ditto. | |
4815 | * package_meta.cc (CategoryPackage::~CategoryPackage): Remove. | |
4816 | (packagemeta::packagemeta): Adjust for new category list name. | |
4817 | (packagemeta::~packagemeta): Adjust to use STL containers for listing | |
4818 | of packages per category and vice verca. | |
4819 | (packagemeta::set_action): Ditto. | |
4820 | * package_meta.h (CategoryPackage): Remove. | |
4821 | (packagemeta): Adjust to use STL containers for listing of packages per | |
4822 | category and vice verca. | |
4823 | ||
080bec6e RC |
4824 | 2002-07-05 Robert Collins <rbtcollins@hotmail.com> |
4825 | ||
4826 | * io_stream.cc: Use STL containers rather than custom ones. | |
4827 | (io_stream::registerProvider): Ditto. | |
4828 | (findProvider): Ditto. | |
4829 | ||
3f34f364 RC |
4830 | 2002-07-05 Robert Collins <rbtcollins@hotmail.com> |
4831 | ||
4832 | * IniDBBuilderPackage.cc (IniDBBuilderPackage::buildPackageSource): | |
4833 | Use STL collections for download site collections. | |
4834 | (IniDBBuilderPackage::add_correct_version): Ditto. | |
4835 | (IniDBBuilderPackage::process_src): Ditto. | |
4836 | * PickPackageLine.cc (PickPackageLine::click): Use the packageversion | |
4837 | accessible() call to abstract package availability. | |
ca2b7505 | 4838 | * choose.cc (scanAVersion): Use STL collections for download site |
3f34f364 RC |
4839 | collections. |
4840 | * download.cc (check_for_cached): Ditto. | |
4841 | (download_one): Ditto. | |
4842 | * package_meta.cc (packagemeta::set_action): Use the packageversion | |
4843 | accessible() call to abstract package availability. | |
4844 | * package_source.h: Use STL containers rather than custom containers. | |
4845 | (site): Create a == operator to allow STL container use. | |
4846 | (packagesource::sites): Use STL containers rather than custom | |
4847 | containers. | |
4848 | * package_version.cc (_packageversion::accessible): Use STL containers | |
4849 | for download site containers. | |
4850 | ||
e2cdf72c RC |
4851 | 2002-07-05 Robert Collins <rbtcollins@hotmail.com> |
4852 | ||
4853 | * LogFile.cc: Use STL containers rather than custom containers. | |
4854 | (filedef): Create == and < operators for STL use. | |
4855 | (files): Convert to an STL set. | |
4856 | (LogFile::setFile): Use STL operations on files. | |
4857 | (LogFile::exit): Ditto. | |
4858 | ||
3bac26a1 RC |
4859 | 2002-07-05 Robert Collins <rbtcollins@hotmail.com> |
4860 | ||
4861 | * ini.cc (do_remote_ini): Use STL collection for site collection. | |
4862 | * site.cc: Include site.h first to ensure it's parsable standalone. | |
4863 | Use STL algorithms. | |
4864 | (site_list): Convert to an STL container. | |
4865 | (all_site_list): Ditto. | |
4866 | (site_list_type::site_list_type): Implement copy constructor. | |
4867 | (site_list_type::operator=): Implement assignment operator. | |
4868 | (site_list_type::operator ==): Implement. | |
4869 | (site_list_type::operator <): Ditto. | |
4870 | (save_dialog): Use STL collection calls for site collection. | |
4871 | (save_site_url): Ditto. | |
4872 | (get_site_list): Ditto. | |
4873 | (get_saved_sites): Ditto. | |
4874 | (do_download_site_info_thread): Ditto. | |
4875 | (SitePage::OnNext): Ditto. | |
4876 | (SitePage::PopulateListBox): Ditto. | |
4877 | (SitePage::OnMessageCmd): Ditto. | |
4878 | * site.h: Use STL vectors instead of custom code. | |
4879 | (site_list_type::site_list_type): Declare. | |
4880 | (site_list_type::operator=): Ditto. | |
4881 | (site_list_type::operator ==): Ditto. | |
4882 | (site_list_type::operator !=): Ditto. | |
4883 | (site_list_type::operator <): Ditto. | |
4884 | (site_list_type::operator <=): Ditto. | |
4885 | (site_list_type::operator >): Ditto. | |
4886 | (site_list_type::operator >=): Ditto. | |
4887 | (site_list): Convert to an STL container. | |
4888 | (all_site_list): Ditto. | |
4889 | ||
528a8edb RC |
4890 | 2002-07-05 Robert Collins <rbtcollins@hotmail.com> |
4891 | ||
4892 | * choose.cc (default_trust): Check package accessibility before | |
4893 | triggering an install. (Suggested by Pavel). | |
4894 | ||
4895 | 2002-07-03 Pavel Tsekov <ptsekov@gmx.net> | |
4896 | ||
4897 | * compress_gz.cc (compress_gz::construct): Always initialize key members | |
4898 | to ensure the destructor does the right thing. | |
4899 | ||
4e868a01 RC |
4900 | 2002-07-03 Pavel Tsekov <ptsekov@gmx.net> |
4901 | ||
4902 | * filemanip.cc (parse_filename): Do not try to parse empty | |
4903 | strings (filenames). | |
4904 | * package_db.cc (packagedb::packagedb): For each line check if sscanf() | |
4905 | extracted good package name and filename. | |
4906 | ||
7f2b9277 RC |
4907 | 2002-07-03 Robert Collins <rbtcollins@hotmail.com> |
4908 | ||
4909 | * package_meta.cc (packagemeta::set_requirements): Automatically select | |
ca2b7505 | 4910 | version of dependent packages that satisfies the requirements. |
7f2b9277 RC |
4911 | Use processOneDependency to trigger the install of those packages. |
4912 | (checkForInstalled): Check that the package remains installed. | |
4913 | (processOneDependency): Helper function for dependent packages. | |
4914 | * IniDBBuilderPackage.cc (IniDBBuilderPackage::buildPackage): Add more | |
4915 | debug information. | |
4916 | Clear out all current state on new packages. | |
ca2b7505 | 4917 | (IniDBBuilderPackage::add_correct_version): Copy the dependency list |
7f2b9277 RC |
4918 | across. |
4919 | ||
84c4f5d1 RC |
4920 | 2002-07-02 Robert Collins <rbtcollins@hotmail.com> |
4921 | ||
4922 | * Makefile.am (inilint_SOURCES): Add PackageSpecification sources. | |
4923 | nb: inilint is still incomplete, as the packageversion code is not | |
4924 | ready for database-less linking. | |
4925 | * site.cc (get_site_list): When the same site is reentered by the user | |
4926 | replace the old one. (Suggested by John Marshall). | |
4927 | ||
64cd7f94 RC |
4928 | 2002-07-02 Robert Collins <rbtcollins@hotmail.com> |
4929 | ||
4930 | * IniDBBuilderPackage.cc (IniDBBuilderPackage::buildPackageSource): | |
4931 | Clear out package selections when generating implicit source packages. | |
4932 | * PackageSpecification.cc (PackageSpecification::satisfies): Implement. | |
4933 | (PackageSpecification::_operators::satisfies): Implement. | |
4934 | * PackageSpecification.h (PackageSpecification::_operators::satisfies): | |
4935 | Worker function for testing versions. | |
4936 | ||
3c196821 RC |
4937 | 2002-07-01 Robert Collins <rbtcollins@hotmail.com> |
4938 | ||
4939 | * IniDBBuilder.cc (IniDBBuilder::buildPackageRequirement): Remove. | |
4940 | * IniDBBuilder.h (IniDBBuilder::buildPackageRequirement): Ditto. | |
4941 | * IniDBBuilderPackage.cc: Use the STL algorithms. | |
4942 | Change cpv to cbpv throughout. Adjust -> to ., and use the new accessor | |
4943 | functions for the same variable throughout. | |
4944 | (IniDBBuilderPackage::IniDBBuilderPackage): Initialise new members. | |
4945 | (IniDBBuilderPackage::buildPackage): Use new cygpackage syntax, | |
4946 | and set an empty source package. | |
4947 | (IniDBBuilderPackage::buildPackageInstall): Use the new source member | |
4948 | to record an install package. | |
4949 | (IniDBBuilderPackage::buildPackageSource): Move source package logic | |
4950 | out from process_src, as it now occurs at separate times. | |
4951 | (IniDBBuilderPackage::buildPackageRequirement): Remove. | |
ca2b7505 | 4952 | (IniDBBuilderPackage::buildSourceName): Use renamed package |
3c196821 RC |
4953 | specifiation accessor for clarity. |
4954 | (IniDBBuilderPackage::buildSourceNameVersion): Ditto. | |
4955 | (IniDBBuilderPackage::add_correct_version): Use STL iterators rather | |
4956 | than custom code. | |
4957 | Remove source package references. | |
4958 | (IniDBBuilderPackage::process_src): Remove source package code as it's | |
4959 | now handled separately. | |
4960 | Set Path information before merging versions, to prevent dangling | |
4961 | pointers. | |
4962 | * IniDBBuilderPackage.h (IniDBBuilderPackage::buildPackageRequirement): | |
4963 | Remove. | |
4964 | (IniDBBuilderPackage::cpv): Remove. | |
4965 | (IniDBBuilderPackage::cbpv): New generic binary working variable. | |
4966 | (IniDBBuilderPackage::cspv): Ditto, but for source packages. | |
4967 | (IniDBBuilderPackage::csp): Source package variable for disjoint | |
4968 | source packages. | |
4969 | * Makefile.am (AM_CFLAGS): Remove -Winline to allow stl set code | |
4970 | to compile. If it compiles cleanly in gcc 3.1, then reinstate. | |
4971 | * PickPackageLine.cc: Adjust packageversion accessors to the new | |
4972 | reference calls. (i.e. -> to .) throughout. | |
4973 | (PickPackageLine::paint): Use accessible() for clarity. | |
4974 | Use new split out source package logic. | |
4975 | (PickPackageLine::click): Ditto. | |
4976 | * PickView.cc (PickView::init_headers): Adjust packageversion accessors | |
4977 | to the new reference calls. (i.e. -> to .) throughout. | |
4978 | Use new split out source package logic. | |
4979 | * choose.cc: Don't depend on a specific package type. | |
ca2b7505 | 4980 | Adjust packageversion accessors to the new reference calls. (i.e. -> to |
3c196821 RC |
4981 | .) throughout. |
4982 | (set_existence): Use accessible () for clarity. | |
4983 | (default_trust): Simplify a little. | |
ca2b7505 | 4984 | (scanAVersion): Factored out code from scan_downloaded_files for |
3c196821 RC |
4985 | clarity. |
4986 | (scan_downloaded_files): Factor out inner loop for clarity. | |
4987 | (ChooserPage::OnNext): Don't dump the dependency list, | |
ca2b7505 | 4988 | it's parsing is robust now!. |
3c196821 RC |
4989 | * cygpackage.cc (createInstance): Use a factory method to create new |
4990 | objects. | |
4991 | (cygpackage::cygpackage): Make this private for use by the factory. | |
4992 | (cygpackage::setCanonicalVersion): Renamed from set_canonical_version. | |
4993 | Remove key usage as it's obsolete. | |
4994 | * cygpackage.h (cygpackage): Inherit from _packageversion, not | |
4995 | packageversion. | |
4996 | (cygpackage::createInstance): New factory. | |
4997 | (cygpackage::cygpackage): Make private. | |
4998 | * desktop.cc (make_passwd_group): Use new packageversion reference. | |
4999 | * download.cc (do_download_thread): Use changeRequested() for clarity. | |
5000 | Use new packageversion reference calls. | |
5001 | * iniparse.y (REQUIRES): Reuse the packageList code and dump the one-off | |
5002 | requires code. | |
5003 | * install.cc: Adjust -> to ., and use the new accessor functions for | |
5004 | packageversion throughout. | |
5005 | * package_db.cc: Adjust -> to ., and use the new accessor functions for | |
5006 | packageversion throughout. | |
5007 | (packagedb::packagedb): Use the new cygpackage factory. | |
5008 | (packagedb::flush): Leverage String to remove buffer overflow chance in | |
5009 | sprintf. | |
5010 | (packagedb::findBinary): Find a binary meta package that has a version | |
5011 | matching a given specification. | |
5012 | (packagedb::findSource): Ditto, but for source. | |
5013 | * package_db.h (packagedb::findBinary): Declare. | |
5014 | (packagedb::findSource): Ditto. | |
5015 | * package_meta.cc: Adjust packageversion accessors to the new | |
5016 | reference calls. (i.e. -> to .) throughout. | |
5017 | Include the package_meta header first to ensure it parses standalone. | |
5018 | Use the STL algorithms. | |
5019 | (packagemeta::packagemeta): Create a copy constructor to allowing | |
5020 | cloning binary package metadata to source package metadata. | |
ca2b7505 | 5021 | (packagemeta::~packagemeta): Use the STL coleltion code rather than |
3c196821 RC |
5022 | custom collection code. |
5023 | (packagemeta::add_version): Ditto. | |
5024 | (packagemeta::set_installed): Ditto. | |
5025 | (packagemeta::SDesc): Ditto. | |
5026 | (hasSDesc): Helper function for find_if. | |
5027 | (checkForInstalled): Ditto. | |
5028 | (checkForUpgradeable): Ditto. | |
5029 | (checkForSatisfiable): Ditto. | |
5030 | (packagemeta::action_caption): Update for split out source packages. | |
5031 | (packagemeta::set_action): Ditto. | |
5032 | (packagemeta::set_requirements): Support multi-valued dependency | |
5033 | lists - a|b & c|d - with versioned package specifications. | |
5034 | (packagemeta::accessible): Helper member to improve abstraction. | |
5035 | (packagemeta::sourceAccessible): Ditto. | |
5036 | * package_meta.h: Adjust packageversion accessors to the new | |
5037 | reference calls. (i.e. "->" to "." and"*" to "" ) throughout. | |
58b12a06 | 5038 | (packagemeta::packagemeta): Declare copy constructor. |
3c196821 RC |
5039 | Remove self initialising members. |
5040 | (packagemeta::set_action): Update parameters for new packageversion. | |
5041 | (packagemeta::trustp): Ditto. | |
5042 | (packagemeta::versions): Becomes an STL set. | |
5043 | * package_source.h (packagesource::Cached): Const correctness change. | |
5044 | * package_version.cc: Rewrite the packageversion interface to remove | |
5045 | the cygpackage nonvirtual members, and provide a copy by value, | |
5046 | pointer semantics reference counting wrapper class to ease use and | |
5047 | comparison of packageversions. | |
5048 | Change existing packageversion class to _packageversion throughout. | |
5049 | (_defaultversion): A trivial concrete class to prevent specialcasing | |
5050 | the default constructor for packageversion; | |
5051 | (packageversion::packageversion): Implement. | |
5052 | (packageversion::~packageversion): Ditto. | |
5053 | (packageversion::operator=): Ditto. | |
5054 | (packageversion::operator !): Ditto. | |
5055 | (packageversion::operator bool): Ditto. | |
5056 | (packageversion::operator ==): Ditto. | |
5057 | (packageversion::operator !=): Ditto. | |
5058 | (packageversion::operator <): Ditto. | |
5059 | (packageversion::Name): Ditto. | |
5060 | (packageversion::Canonical_version): Ditto. | |
5061 | (packageversion::setCanonicalVersion): Ditto. | |
5062 | (packageversion::getfirstfile): Ditto. | |
5063 | (packageversion::getnextfile): Ditto. | |
5064 | (packageversion::SDesc): Ditto. | |
5065 | (packageversion::set_sdesc): Ditto. | |
5066 | (packageversion::LDesc): Ditto. | |
5067 | (packageversion::set_ldesc): Ditto. | |
5068 | (packageversion::sourcePackage): Ditto. | |
5069 | (packageversion::sourcePackageSpecification): Ditto. | |
5070 | (packageversion::setSourcePackageSpecification): Ditto. | |
5071 | (packageversion::depends): Ditto. | |
5072 | (packageversion::predepends): Ditto. | |
5073 | (packageversion::recommends): Ditto. | |
5074 | (packageversion::suggests): Ditto. | |
5075 | (packageversion::replaces): Ditto. | |
5076 | (packageversion::conflicts): Ditto. | |
5077 | (packageversion::provides): Ditto. | |
5078 | (packageversion::picked): Ditto. | |
5079 | (packageversion::pick): Ditto. | |
5080 | (packageversion::changeRequested): Ditto. | |
5081 | (packageversion::uninstall): Ditto. | |
5082 | (packageversion::source): Ditto. | |
5083 | (packageversion::accessible): Ditto. | |
5084 | (_packageversion::sourcePackage): Ditto. | |
5085 | (_packageversion::accessible): Ditto. | |
5086 | (_packageversion::changeRequested): Ditto. | |
5087 | * package_version.h: Rewrite the packageversion interface to remove | |
5088 | the cygpackage nonvirtual members, and provide a copy by value, | |
5089 | pointer semantics reference counting wrapper class to ease use and | |
5090 | comparison of packageversions. | |
5091 | Change existing packageversion class to _packageversion throughout. | |
5092 | (Dependency): Remove. | |
5093 | (packageversion): New wrapper class. | |
5094 | (_packageversion): Renamed from packageversion. | |
5095 | (_packageversion::setCanonicalVersion): New method. | |
5096 | (_packageversion::sourcePackage): Ditto. | |
5097 | (_packageversion::sourcePackageSpecification): Ditto. | |
5098 | (_packageversion::setSourcePackageSpecification): Ditto. | |
5099 | (_packageversion::changeRequested): Ditto. | |
5100 | (_packageversion::bin): Rename to source. | |
5101 | (_packageversion::src): Remove. | |
5102 | (_packageversion::accessible): New method. | |
5103 | (_packageversion::references): Allow reference counting. | |
ca2b7505 | 5104 | (_packageversion::sourceVersion): Cached the best-match source |
3c196821 RC |
5105 | package version. |
5106 | ||
387cb501 RC |
5107 | 2002-06-27 Robert Collins <rbtcollins@hotmail.com> |
5108 | ||
5109 | * compress_bz.h (compress_bz::position): Track how much has been read. | |
5110 | * compress_bz.cc (compress_bz::compress_bz): And initialise it. | |
5111 | (compress_bz::read): Track amount read by the client. | |
5112 | (compress_bz::tell): And report it when asked. | |
5113 | ||
7d702af3 RC |
5114 | 2002-06-27 Robert Collins <rbtcollins@hotmail.com> |
5115 | ||
5116 | * Makefile.am (snapshot): Automate snapshot creation some more. | |
5117 | ||
08cd08c3 RC |
5118 | 2002-06-27 Robert Collins <rbtcollins@hotmail.com> |
5119 | ||
5120 | * msg.cc (msg): Use vsnprintf to avoid buffer overflows. | |
5121 | (mbox): Ditto. | |
5122 | * ini.cc (fprintf): Ditto. | |
5123 | * log.cc (log): Ditto. | |
5124 | * package_db.cc (packagedb::sourcePackages): Split out source packages | |
5125 | from binary packages. | |
5126 | * package_db.h: Ditto. | |
5127 | ||
aa1e3b4d RC |
5128 | 2002-06-27 Robert Collins <rbtcollins@hotmail.com> |
5129 | ||
5130 | * PackageSpecification.h: New file. Abstracts the ability to refer | |
5131 | to another package, by name, or name and version. | |
5132 | * PackageSpecification.cc: Ditto. | |
5133 | * IniDBBuilder.cc (IniDBBuilder::buildPackageInstall): Simplify. | |
5134 | (IniDBBuilder::buildPackageSource): Ditto. | |
5135 | (IniDBBuilder::buildBeginDepends): New method for versioned | |
5136 | dependencies. | |
5137 | (IniDBBuilder::buildBeginPreDepends): Likewise, for dependencies to be | |
5138 | satisfied before pre-install. | |
5139 | (IniDBBuilder::buildPriority): New method, for getting the package | |
5140 | Priority. | |
5141 | (IniDBBuilder::buildInstalledSize): How much disk space does it need? | |
5142 | (IniDBBuilder::buildMaintainer): Who maintains the package? | |
5143 | (IniDBBuilder::buildArchitecture): What platform is it for? | |
5144 | (IniDBBuilder::buildInstallSize): How big is the binary download? | |
5145 | (IniDBBuilder::buildInstallMD5): Whats the MD5 on the binary? | |
5146 | (IniDBBuilder::buildSourceMD5): Whats the MD5 on the source package? | |
5147 | (IniDBBuilder::buildBeginRecommends): What other packages are | |
5148 | recommended with this one? | |
5149 | (IniDBBuilder::buildBeginSuggests): And suggested? | |
5150 | (IniDBBuilder::buildBeginReplaces): What packages does this replace? | |
5151 | (IniDBBuilder::buildBeginConflicts): And collide with? | |
5152 | (IniDBBuilder::buildBeginProvides): What virtual packages (or obsolete | |
5153 | package names) does this provide? | |
5154 | (IniDBBuilder::buildDescription): Grab a multi line description one | |
5155 | line at a time. | |
5156 | (IniDBBuilder::buildSourceName): What source package should be used to | |
5157 | install the source for this binary package? | |
5158 | (IniDBBuilder::buildSourceNameVersion): Is a specific version needed? | |
ca2b7505 | 5159 | (IniDBBuilder::buildPackageListAndNode): Add another AND clause to a |
aa1e3b4d RC |
5160 | list of package specifications. |
5161 | (IniDBBuilder::buildPackageListOrNode): Add another OR clause. | |
5162 | (IniDBBuilder::buildPackageListOperator): Add a versioning operator | |
5163 | to the current specification. | |
5164 | (IniDBBuilder::buildPackageListOperatorVersion): What version does the | |
5165 | operator act on? | |
5166 | * IniDBBuilder.h: Declare all the IniDBBuilder.cc changes. | |
5167 | * IniDBBuilderPackage.cc: As for IniDBBuilder.cc. | |
5168 | (IniDBBuilderPackage::IniDBBuilderPackage): Iniitialize new members. | |
ca2b7505 | 5169 | (IniDBBuilderPackage::process_src): Streamline and split out |
aa1e3b4d RC |
5170 | functionality. |
5171 | (IniDBBuilderPackage::setSourceSize): From process_src. | |
5172 | * IniDBBuilderPackage.h: Declare the IniDBBuilderPackage.cc changes. | |
5173 | (IniDBBuilderPackage::currentSpec): Track the in-progress specifiation. | |
5174 | (IniDBBuilderPackage::currentOrList): Track the current Or list. | |
5175 | (IniDBBuilderPackage::currentAndList): Track the current And list. | |
5176 | * IniParseFeedback.cc (IniParseFeedback::progress): Provide completion | |
349bd18c | 5177 | progress on parsing. |
aa1e3b4d RC |
5178 | (IniParseFeedback::iniName): Tell what ini filename we are currently |
5179 | processing. | |
5180 | * IniParseFeedback.h: Declare IniParseFeedback.cc changes. | |
ca2b7505 | 5181 | * IniParseFindVisitor.cc (IniParseFindVisitor::IniParseFindVisitor): |
aa1e3b4d RC |
5182 | Make the feedback object non-const to allow mutating methods which are |
5183 | needed when the object has state. | |
5184 | (IniParseFindVisitor::visitFile): Tell the caller the name of each | |
5185 | .ini found. | |
5186 | Initialise the parser with the feedback object to allow it to tell of | |
5187 | progress. | |
5188 | * IniParseFindVisitor.h: Declare IniParseFindVisitor.cc changes. | |
5189 | * Makefile.am (inilinst_SOURCES): Add more requisite classes. | |
5190 | (setup_SOURCES): Add the new PackageSpecification sources. | |
5191 | * ScanFindVisitor.cc (ScanFindVisitor::visitFile): Use the new | |
5192 | builder syntax to setup binary package details. | |
5193 | * choose.cc: Use the LogSingleton calls throughout. | |
5194 | * configure.in: Create the INILINT substitution correctly for recent | |
5195 | autotool configurations. | |
5196 | * cygpackage.cc (cygpackage::getfirstfile): Return an empty String | |
5197 | rather than a string built from an int. Thanks to Pavel Tsekov for | |
5198 | identifying the bug. | |
5199 | (cygpackage::getnextfile): Ditto. | |
5200 | * download.cc: Use LogSIngletion calls throughout. | |
ca2b7505 | 5201 | (validateCachedPackage): A refactoring of the |
aa1e3b4d RC |
5202 | check_for_cached code to eliminate duplciation. |
5203 | (check_for_cached): Use validateCachedPackage to check packages. | |
ca2b7505 | 5204 | * ini.cc (GuiParseFeedback): Provide gui feedback on ini name and |
aa1e3b4d RC |
5205 | parsing progress. |
5206 | (do_remote_ini): Ditto. | |
5207 | * ini.h (ini_init): Pass a IniParseFeedback to the parser, to allow | |
5208 | progress reporting. | |
5209 | * inilex.l: Identify new symbols - operators, and multi line plain text. | |
5210 | Releases files. | |
5211 | * inilintmain.cc (show_help): Provide basic infomation on inilint. | |
5212 | * iniparse.y: Adjust for the new builder syntax, and process debian | |
5213 | Release files. | |
5214 | * io_stream_file.cc: Always include mkdir.h. | |
5215 | * list.h: Factor index location into a private routine. | |
5216 | (list::findindex): Implement this. | |
ca2b7505 | 5217 | * mkdir.cc (mkdir_p): Make the use of WIN32 code conditional on mingw |
aa1e3b4d RC |
5218 | builds. NB: This breaks cygwin build functionality still. |
5219 | * package_meta.cc: Use the LogSingleton calls throughout. | |
5220 | (packagemeta::set_requirements): Adjust for object changes in | |
5221 | dependencies. | |
5222 | * package_meta.h (packagemeta::packagemeta): Initialise new members. | |
ca2b7505 | 5223 | (packagemeta::architecture): What platform does this package run on? |
aa1e3b4d | 5224 | This may need to move in the future to a per packagefile object. |
58b12a06 | 5225 | (packagemeta::priority): What priority does this package have? |
aa1e3b4d RC |
5226 | * package_source.h (packagesource::packagesource): Initialise new |
5227 | members. | |
5228 | (packagesource::installedSize): How much space does the package need? | |
5229 | (packagesource::setInstalledSize): Tell the amount. | |
5230 | (packagesource::_installedSize): And store it. | |
ca2b7505 | 5231 | * package_version.cc (packageversion::sourcePackage): return the |
aa1e3b4d RC |
5232 | source package. |
5233 | (packageversion::setSourcePackage): And set it. | |
5234 | * package_version.h: Declare the package_version.cc changes. | |
5235 | (packageversion::depends): New package specification AND list. | |
5236 | (packageversion::predepends): Ditto. | |
5237 | (packageversion::recommends): Ditto. | |
5238 | (packageversion::suggests): Ditto. | |
5239 | (packageversion::replaces): Ditto. | |
5240 | (packageversion::conflicts): Ditto. | |
5241 | (packageversion::provides): Ditto. | |
5242 | (packageversion::sourcePackage): What source package is needed? | |
5243 | * threebar.cc (ThreeBarProgressPage::SetText4): Set the label beside | |
5244 | the bottom bar. | |
5245 | * threebar.h: Declare the threebar.cc change. | |
5246 | ||
5247 | 2002-06-27 John Marshall <johnm@falch.net> | |
5248 | ||
5249 | * res.rc (SETUPINI_MISSING): Make trailing spaces visible. | |
5250 | * site.cc (SitePage::OnMessageCmd): Ditto | |
5251 | ||
2a994e0b RC |
5252 | 2002-06-15 Robert Collins <rbtcollins@hotmail.com> |
5253 | ||
5254 | * nio-ie5.cc (NetIO_IE5::NetIO_IE): Allow cached data. | |
5255 | ||
ceff7035 RC |
5256 | 2002-06-15 Robert Collins <rbtcollins@hotmail.com> |
5257 | ||
5258 | * package_meta.cc (packagemeta::set_action): When installing packages | |
5259 | with no binaries, choose the source package. | |
5260 | ||
9bd27040 RC |
5261 | 2002-06-10 Robert Collins <rbtcollins@hotmail.com> |
5262 | ||
5263 | * IniParseFindVisitor (IniParseFindVisitor::visitFile): Apply Max | |
ca2b7505 | 5264 | Bowshers fix for the crash with a root level setup.ini. |
9bd27040 RC |
5265 | * README: Update todos. |
5266 | ||
1dcff4a0 RC |
5267 | 2002-05-26 Ralf Habacker <ralf.habacker@freenet.de> |
5268 | ||
5269 | * archive_tar.cc (archive_tar::next_file_name()): fixed broken | |
5270 | GNU long name extension support. | |
349bd18c | 5271 | |
0773e4f2 RC |
5272 | 2002-05-27 Robert Collins <rbtcollins@hotmail.com> |
5273 | ||
ca2b7505 | 5274 | * IniParseFindVisitor.cc (IniParseFindVisitor::visitFile): Don't |
0773e4f2 RC |
5275 | unescape 0 length strings. |
5276 | ||
a828d772 RC |
5277 | 2002-05-20 Robert Collins <rbtcollins@hotmail.com> |
5278 | ||
5279 | * package_meta.cc (packagemeta::set_action): Don't allow reinstall | |
5280 | when local with no cached file, and install the default source if the | |
5281 | default version has no binary. | |
5282 | ||
67829ce0 RC |
5283 | 2002-05-19 Robert Collins <rbtcollins@hotmail.com> |
5284 | ||
5285 | * IniDBBuilderPackage.cc (IniDBBuilderPackage::IniDBBuilderPackage): New | |
349bd18c | 5286 | method. |
ca2b7505 | 5287 | (IniDBBuilderPackage::buildVersion): Provide a warning when a newer |
67829ce0 RC |
5288 | setup version created the ini file. |
5289 | * IniDBBuilderPackage.h (IniDBBuilderPackage::IniDBBuilderPackage): New | |
5290 | method. | |
5291 | * IniParseFindVisitor.cc (IniParseFindVisitor::visitFile): Use the new | |
5292 | feedback strategy. | |
5293 | * IniParseFindVisitor.h (IniParseFindVisitor::IniParseFindVisitor): | |
5294 | Require a feedback strategy. | |
5295 | * Makefile.am (setup_SOURCES): Add IniParseFeedback sources. | |
5296 | * Makefile.in: Regenerate. | |
5297 | ||
4849e2fc RC |
5298 | 2002-05-19 Robert Collins <rbtcollins@hotmail.com> |
5299 | ||
5300 | * io_stream_file.cc (io_stream_file::remove): Use the SetFileAttributes | |
5301 | trick to delete read only files. | |
ca2b7505 | 5302 | * io_stream_cygfile.cc (io_stream_cygfile::remove): Use file:// to |
4849e2fc RC |
5303 | remove files. |
5304 | * Makefile.am (release): Tweak to be more helpful. | |
5305 | * Makefile.in: Regenerate. | |
5306 | ||
7cb35117 RC |
5307 | 2002-05-19 Robert Collins <rbtcollins@hotmail.com> |
5308 | ||
5309 | * Makefile.am (release): Tweak to be more helpful. | |
5310 | * Makefile.in: Regenerate. | |
7cb35117 | 5311 | |
5090e3ce RC |
5312 | 2002-05-19 Robert Collins <rbtcollins@hotmail.com> |
5313 | ||
5314 | * Makefile.am (release): Tweak to be more helpful. | |
5315 | * Makefile.in: Regenerate. | |
5316 | ||
9e9b881a RC |
5317 | 2002-05-19 Robert Collins <rbtcollins@hotmail.com> |
5318 | ||
ca2b7505 | 5319 | * choose.cc (scan_downloaded_files): When a non-installed version |
9e9b881a RC |
5320 | has neither bin nor src cached files for local installs, |
5321 | remove the version from availability. | |
5322 | ||
ea36e064 RC |
5323 | 2002-05-19 Robert Collins <rbtcollins@hotmail.com> |
5324 | ||
5325 | * ini.cc (do_remote_ini): Save uncompressed ini's correctly. | |
5326 | ||
b401ef47 RC |
5327 | 2002-05-19 Robert Collins <rbtcollins@hotmail.com> |
5328 | ||
5329 | * rsync: New support library, contains librsync. This is not (yet) | |
349bd18c | 5330 | rsync interoperable. |
b401ef47 RC |
5331 | * configure.in: --with-rsync to enable rsync support. (Not complete). |
5332 | * Makefile.am: Enable building with rsync. | |
5333 | * Makefile.in: Regenerate. | |
5334 | * configure: Ditto. | |
5335 | * IniDBBuilder.cc (IniDBBuilder::buildPackageInstall): Pass the md5 as | |
5336 | an array. | |
5337 | (IniDBBuilder::buildPackageSource): Ditto. | |
5338 | * IniDBBuilder.h: Ditto. | |
5339 | * IniDBBuilderPackage.cc: Ditto. | |
5340 | * IniDBBuilderPackage.h: Ditto. | |
5341 | * FindVisitor.cc: New file. | |
5342 | * FindVisitor.h: New file, interface for visiting a file system | |
5343 | aggregate. | |
5344 | * IniParseFindVisitor.cc: New file. | |
ca2b7505 | 5345 | * IniParseFindVisitor.h: New file, concrete FindVisitor that parses |
b401ef47 RC |
5346 | found setup.ini's. |
5347 | * README: Update TODO's. | |
5348 | * String++.cc (String::String): New constructor for <string> inter- | |
5349 | operability. | |
5350 | (String::substr): New method. | |
5351 | * String++.h: Ditto. | |
5352 | * choose.cc (scan2): Remove. | |
5353 | (scan_downloaded_files): Simplify. | |
5354 | * dialog.h: Include parsing pre-requirements. | |
5355 | * download.cc (check_for_cached): Fullname was used incorrectly - fix. | |
5356 | * filemanip.cc (parse_filename): -src packages where incorrectly parsed. | |
5357 | * find.cc: Rewrite. Now uses a Visitor pattern and is re-entrant. | |
5358 | * find.h: Ditto. | |
5359 | * fromcwd.cc: Remove unneeded includes. | |
5360 | (is_test_version): Remove. | |
5361 | (found_file): Remove. | |
5362 | (SetupFindVisitor): Trivial visitor to detect setup.ini's. | |
5363 | (found_ini): Remove. | |
5364 | (do_fromcwd): Remove commented code that has be replaced elsewhere. | |
5365 | * ini.cc (local_ini): Remove. | |
5366 | (findBuilder): Remove. | |
5367 | (find_routine): Remove. | |
5368 | (do_local_ini): Use new IniParseFindVisitor. | |
5369 | * iniparse.y: Typecase MD5 arrays, as we know they are allocated as | |
5370 | unsigned char. | |
5371 | * postinstall.cc: Remove non-core includes. | |
5372 | (run_script_in_postinstall): Remove. | |
5373 | (RunFindVisitor): Trivial Visitor, runs each found script. | |
5374 | (do_postinstall): Use new find syntax. | |
5375 | ||
0d4e0aad CF |
5376 | 2002-05-14 Christopher Faylor <cgf@redhat.com> |
5377 | ||
5378 | * ini.cc (find_routine): Don't clear buffer it it's NULL. | |
5379 | ||
5380 | 2002-05-14 Christopher Faylor <cgf@redhat.com> | |
5381 | ||
5382 | * filemanip.h (trail): Declare. | |
5383 | * filemanip.cc (trail): New function. | |
5384 | (find_tar_ext): Use trail() instead of strstr(). | |
5385 | * fromcwd.cc (check_ini): Ditto. | |
5386 | * ini.cc (find_routine): Ditto. Don't tack local_dir to path since it | |
5387 | should now be fully qualified. Set ini_filename. Reset error_buf and | |
5388 | error_count for any subsequent ini file parsing. | |
5389 | (ini_filename): New static variable for parse error reporting. | |
5390 | (yyerror): Use full path of setup.ini in error message. Subtract one | |
5391 | from line number if at bol. | |
5392 | * find.cc (found_part): Eliminate. | |
5393 | (find_sub): Call for_each with full path found rather than just file | |
5394 | component. | |
5395 | (find): Don't calculate found_part. | |
5396 | * inilex.l (ini_init): Flush input buffer and reset line number. | |
5397 | (yybol): New function. Exports YY_AT_BOL. | |
5398 | * iniparse.y: Increase stack depth to allow more tokens to be processed. | |
5399 | (yyparse): Remove newline from error condition to allow subsequent | |
5400 | per-line error processing to proceed normally. | |
5401 | ||
5402 | 2002-05-14 Christopher Faylor <cgf@redhat.com> | |
5403 | ||
5404 | * find.cc (find_sub): Be more defensive in preserving trailing parts of | |
5405 | components when doing recursive directory searches or calling user | |
5406 | supplied for_each(). | |
5407 | * ini.cc (find_routine): Don't assume that any path name with | |
5408 | "setup.ini" in it is actually a setup.ini file. Only honor trailing | |
5409 | components. Copy path argument to temporary storage when unescaping | |
5410 | to prevent nuking of argument. | |
5411 | ||
874c569a RC |
5412 | 2002-05-12 Robert Collins <rbtcollins@hotmail.com> |
5413 | ||
5414 | * CONTRIBUTORS: New file. | |
5415 | ||
f6a81f69 RC |
5416 | 2002-04-02 Gary R. Van Sickle <g.r.vansickle@worldnet.att.net> |
5417 | ||
5418 | * choose.cc: Run indent. | |
5419 | (nextbutton): Remove static variable. | |
5420 | (default_trust): Remove use of nextbutton. | |
5421 | (set_view_mode): Ditto. | |
5422 | (create_listview): Add IDC_CHOOSE_PREV and IDC_CHOOSE_NEXT to ta[] so | |
5423 | rbset() sets the prev/next/curr radio buttons properly. | |
5424 | (dialog_cmd): Delete function. | |
5425 | (dialog_proc): Delete function. Move WM_INITDIALOG functionality to | |
5426 | ChooserPage::OnInit. | |
5427 | (do_choose): Delete function. Move pre-DialogBox() code to | |
5428 | ChooserPage::OnInit(), post-DialogBox() code to ChooserPage::OnNext. | |
5429 | (WM_APP_START_CHOOSE): Remove define. | |
5430 | (WM_APP_CHOOSE_IS_FINISHED): Remove define. | |
5431 | (do_choose_thread): Delete function. | |
5432 | (ChooserPage::OnActivate): Delete method. | |
5433 | (ChooserPage::OnMessageApp): Delete method. | |
5434 | (ChooserPage::OnInit): New method. | |
5435 | (ChooserPage::OnNext): New method. | |
5436 | (ChooserPage::OnBack): New method. | |
5437 | (ChooserPage::OnMessageCmd): New method. | |
5438 | * choose.h: Run indent. | |
5439 | (ChooserPage::OnMessageApp): Delete declaration. | |
5440 | (ChooserPage::OnActivate): Ditto. | |
5441 | (ChooserPage::OnMessageCmd): New declaration. | |
5442 | (ChooserPage::OnInit): Ditto. | |
5443 | (ChooserPage::OnNext): Ditto. | |
5444 | (ChooserPage::OnBack): Ditto. | |
5445 | * desktop.cc (DesktopSetupPage::OnBack): Replace use of IDD_CHOOSER | |
5446 | with IDD_CHOOSE. | |
5447 | * fromcwd.cc (do_fromcwd): Replace use of IDD_CHOOSER with IDD_CHOOSE. | |
5448 | * ini.cc (do_ini_thread): Replace use of IDD_CHOOSER with IDD_CHOOSE. | |
5449 | * res.rc (IDD_CHOOSE): Remove dialog template. | |
5450 | (IDD_CHOOSER): Alter dialog template to fit wizard size and format. | |
5451 | ||
74617327 RC |
5452 | 2002-05-12 Robert Collins <rbtcollins@hotmail.com> |
5453 | ||
5454 | * LogFile.cc (endLog): Work around an apparent libg++-3 bug causing | |
5455 | corrupt log file entries. | |
5456 | * geturl.cc: Convert to the new LogSingleton logging. | |
5457 | ||
3272d625 RC |
5458 | 2002-05-12 Robert Collins <rbtcollins@hotmail.com> |
5459 | ||
5460 | * ini.cc (do_remote_ini): Use setup.bz2 if it exists in preference to | |
5461 | setup.ini. | |
5462 | ||
fc687221 RC |
5463 | 2002-05-12 Robert Collins <rbtcollins@hotmail.com> |
5464 | ||
5465 | * geturl.h: Declare getUrlToStream. | |
5466 | * geturl.cc (getUrlToStream): New function. | |
5467 | (get_url_to_membuf): Refactor to use getUrlToStream. | |
5468 | ||
902c8a3f RC |
5469 | 2002-05-11 Robert Collins <rbtcollins@hotmail.com> |
5470 | ||
5471 | * Makefile.am: Add a release target to automate some of the routine | |
5472 | work. | |
5473 | * Makefile.in: Regenerate. | |
5474 | ||
2ab26cdb RC |
5475 | 2002-05-11 Robert Collins <rbtcollins@hotmail.com> |
5476 | ||
5477 | * choose.cc (scan_downloaded_files): On local installs remove all | |
5478 | mirror sites if no cached copy of a package is found. | |
5479 | ||
94852d65 RC |
5480 | 2002-05-10 Robert Collins <rbtcollins@hotmail.com> |
5481 | ||
5482 | * Makefile.in: Regenerate. | |
58b12a06 | 5483 | * iniparse.y: Use left recursion, not right in the lines rule to |
94852d65 RC |
5484 | avoid stack overflows. |
5485 | * README: Update TODO's. | |
5486 | * io_stream_file.cc: Native builds need to include sys/stat.h | |
5487 | ||
3548fbc3 RC |
5488 | 2002-05-06 John Marshall <jmarshall@acm.org> |
5489 | ||
5490 | * site.cc (SitePage::OnMessageCmd): recalculate navigation | |
5491 | button activation when "Add" is pressed. | |
5492 | (SitePage::CheckControlsAndDisableAccordingly): tweak comment. | |
5493 | ||
5494 | 2002-05-07 Robert Collins <rbtcollins@hotmail.com> | |
2b48ecd0 RC |
5495 | |
5496 | * Makefile.am (inlint_SOURCES): Add conditional objects to inilint | |
5497 | depending on platform. | |
5498 | Add file:// support. | |
5499 | * configure.in: Set conditional MINGWTARGET if compiling against mingw | |
5500 | libraries. | |
5501 | * Makefile.in: Regenerate. | |
5502 | * configure: Ditto. | |
5503 | * io_stream_file.cc: Only use win32 calls when building for mingw. | |
5504 | ||
19911586 RC |
5505 | 2002-05-05 Robert Collins <rbtcollins@hotmail.com> |
5506 | ||
5507 | * Makefile.am (noinst_PROGRAMS): Make inilint configurable. | |
5508 | * configure.in: Ditto. | |
5509 | Fix incorrect header checking syntax. | |
5510 | * aclocal.m4: Regenerate. | |
5511 | * configure: Regenerate. | |
5512 | * Makefile.in: Regenerate. | |
5513 | * io_stream.cc: Remove platform specific and provider specific code. | |
5514 | (io_stream::registerProvider): New method, registers a Url provider with | |
5515 | the io_stream code. | |
5516 | Make all methods consistently throw invalid_argument exceptions when | |
5517 | a provider that is requested is not present. | |
5518 | (findProvider): New private function, finds a provider. | |
5519 | * io_stream.h: Declare io_stream::registerProvider. | |
5520 | * io_stream_cygfile.cc: Create a Provider class to register with | |
5521 | io_stream.cc. | |
5522 | * io_stream_file.cc: Ditto. | |
5523 | * archive.cc: Remove unneeded includes. | |
5524 | * archive_tar.cc: Remove unneeded includes. | |
5525 | * archive_tar.h: Add required include. | |
5526 | * archive_tar_file.cc: Remove unneded includes. | |
5527 | * choose.cc: Remove unneeded includes: | |
5528 | ||
bf4ffcd9 RC |
5529 | 2002-05-04 Robert Collins <rbtcollins@hotmail.com> |
5530 | ||
5531 | * io_stream.cc: Use the new log interface thruout. | |
5532 | ||
9f4a0c62 RC |
5533 | 2002-05-04 Robert Collins <rbtcollins@hotmail.com> |
5534 | ||
5535 | * log.cc (log): Reimplement via LogSingleton. | |
5536 | (log_save): Remove. | |
5537 | (exit_setup): Remove. | |
5538 | * log.h (log_save): Remove. | |
5539 | (exit_setup): Remove. | |
5540 | * LogSingleton.cc: New file. | |
5541 | * LogSingleton.h: New file. | |
5542 | * LogFile.cc: New file. | |
5543 | * LogFile.h: New file. | |
5544 | * Makefile.am (inilint_SOURCES): Add the new log interface. | |
5545 | (setup_SOURCES): Add the new log interface and the concrete File | |
5546 | implementation. | |
5547 | * Makefile.in: Regenerate. | |
5548 | * archive.cc: Use the new log interface thruout. | |
5549 | * archive_tar.cc: Ditto. | |
5550 | * main.cc: Ditto. | |
5551 | * dialog.cc (fatal): Use the new log interface. | |
5552 | * ini.cc (do_ini_thread): Use the log interface to exit. | |
5553 | * isntall.cc (do_install_thread): Ditto. | |
5554 | * netio.cc (auth_cmd): Ditto. | |
5555 | * msg.cc (fatal): Ditto. | |
5556 | * localdir.cc (save_local_dir): Save to different files depending on | |
5557 | the mode, and if a root dir exists. | |
5558 | ||
076654e7 RC |
5559 | 2002-05-04 Robert Collins <rbtcollins@hotmail.com> |
5560 | ||
5561 | * IniDBBuilder.cc: New file. | |
5562 | * IniDBBuilder.h: New file. | |
5563 | * IniDBBuilderPackage.cc: New file. | |
5564 | * IniDBBuilderPackage.h: New file. | |
5565 | * PackageTrust.h: New file. | |
5566 | * IniState.h: Remove, wasn't thought out well enough. | |
5567 | * Makefile.am (inilint_SOURCES): Add more requirements. | |
5568 | (setup_SOURCES): Add new Builder base and concrete classes. | |
5569 | * Makefile.in: Regenerate. | |
5570 | * String++.cc (String::String): Implement int contructor. | |
5571 | * String++.h (String): Declare int constructor. | |
5572 | * archive_tar.cc (archive_tar::next_file_name): Return String() when | |
5573 | no filename exists. | |
5574 | * archive_tar.h (archive_tar_file): Remove get_next_filename method, | |
5575 | it's not needed. | |
5576 | * ini.cc: Replace IniState wuth IniDBBuilderPacakge. | |
5577 | (find_routine): Use new IniDBBuilder to configure the parser. | |
5578 | (do_local_ini): Ditto. | |
5579 | (do_remote_ini): Ditto. | |
5580 | * ini.h: Use IniDBBuilder to initialise parsing. | |
ca2b7505 | 5581 | * inilex.l (MD5): Parse the MD5 string correctly, we had the nibbles |
076654e7 RC |
5582 | swapped. |
5583 | (ini_init): Use an IniDBBuilder rather than static variables. | |
5584 | * iniparse.y: Hand off all the object creation to a builder, rather | |
ca2b7505 | 5585 | than hardcoding the behaviour. This allows run-time configured |
076654e7 | 5586 | behaviour. |
ca2b7505 | 5587 | * io_stream_cygfile.h (io_stream_cygfile): Remove get_next_filename |
076654e7 RC |
5588 | method, it's not needed. |
5589 | * io_stream_file.h (io_stream_file): Ditto. | |
5590 | * mount.cc (cygpath): Return String() for missing mounts. | |
5591 | * package_meta.cc (packagemeta::SDesc): Return String() for blank | |
5592 | descriptions. | |
5593 | * package_meta.h (trusts): Remove - replaced by PackageTrust.h. | |
5594 | (packagemeta::packagemeta): Fix incorrect syntax in String constructor | |
5595 | usage. | |
ca2b7505 | 5596 | * cygpackage.cc (cygpackage::cygpackage): Fix incorrect syntax in |
076654e7 RC |
5597 | String constructor usage. |
5598 | * site.h (site_list_type): Ditto. | |
5599 | ||
6391823e RC |
5600 | 2002-05-03 Robert Collins <rbtcollins@hotmail.com> |
5601 | ||
5602 | * String++.h: Declare a << operator that accepts String objects. | |
5603 | * String++.cc: We need iostream for.. | |
5604 | (operator <<): this. Provide a << operator that accepts String objects. | |
5605 | * ini.cc (yyerror): Remove the "C" classifier - it's not needed. | |
5606 | Change from vargs to a String parameter. | |
5607 | * inilintmail.cc: Remove the gui related headers. | |
5608 | (yyerror): Implement this for parsing. | |
5609 | * iniparse.y: Use the new yyerror syntax. | |
5610 | ||
b92028a4 RC |
5611 | 2002-05-03 Robert Collins <rbtcollins@hotmail.com> |
5612 | ||
5613 | * Makefile.am: Add IniState.h. | |
5614 | * Makefile.in: Regenerate. | |
5615 | * IniState.h: New file. | |
5616 | * choose.cc: Don't include ini.h - it's not needed. | |
5617 | * configure: Regenerate. | |
5618 | * desktop.cc: Don't include ini.h - it's not needed. | |
5619 | * download.cc: Ditto. | |
5620 | * fromcwd.cc: Ditto. | |
5621 | * ini.cc: Use IniState.h to track each parsing calling. | |
5622 | (find_routine): Ditto. | |
5623 | (do_remote_ini): Ditto. | |
5624 | (do_ini_thread): Ditto. | |
5625 | * ini.h (ini_init): Adjust parameters to include state object. | |
5626 | * inilex.l: Declare parser state variable. | |
5627 | (ini_init): Adjust parameters to include state object. | |
ca2b7505 | 5628 | * iniparse.y: Remove obsolete setup_timestamp and setup_version |
b92028a4 RC |
5629 | declarations. |
5630 | (setup_header): Use new state variable to track time and version. | |
5631 | (add_correct_version): Ditto. | |
5632 | * install.cc: Don't include ini.h - it's not needed. | |
5633 | ||
e0a4db64 RC |
5634 | 2002-05-03 Robert Collins <rbtcollins@hotmail.com> |
5635 | ||
5636 | * nio-files.cc (NetIO): Use io_stream syntax for get_file_size. | |
5637 | * io_stream_file.cc: Don't include filemanip.h. | |
5638 | (io_stream_file::get_size): Implement here to remove filemanip | |
5639 | dependency. | |
5640 | * io_stream_cygfile.cc: Don't include filemanip.h. | |
5641 | (io_stream_cygfile::get_size): Implement here to remove filemanip | |
5642 | dependency. | |
5643 | Implement a stat based version for when win32 is not available. | |
5644 | * filemanip.h (get_file_size): Return size_t - it's more appropriate. | |
5645 | * filemanip.cc: Don't include win32.h - be platform independent. | |
5646 | Include strings.h and io_stream.h as part of that. | |
5647 | (get_file_size): Leverage io_streams and remove win32 implementation. | |
5648 | * download.cc (check_for_cached): Use io_stream syntax for | |
5649 | get_file_size. | |
5650 | (download_one): Ditto. | |
5651 | ||
5652 | 2002-05-02 Robert Collins <rbtcollins@hotmail.com> | |
ac65f5c5 RC |
5653 | |
5654 | * configure.in: Correct a typo in last change. | |
5655 | * configure: Regenerate. | |
5656 | * Makefile.in: Regenerate. | |
5657 | ||
e0a4db64 | 5658 | 2002-05-02 Robert Collins <rbtcollins@hotmail.com> |
e06ded88 RC |
5659 | |
5660 | * configure.in: Check for string.h and string. | |
5661 | * configure: Regenerate. | |
5662 | * Makefile.in: Regenerate. | |
5663 | ||
1fd0694a RC |
5664 | 2002-05-01 Robert Collins <rbtcollins@hotmail.com> |
5665 | ||
5666 | * res.rc (IDD_SPLASH): Remove white box. | |
5667 | ||
89ca06c0 RC |
5668 | 2002-05-01 Robert Collins <rbtcollins@hotmail.com> |
5669 | ||
5670 | Oops! forgot to list these in the last checkin. | |
5671 | * inilintmain.cc: New file. | |
5672 | * md5.h: New file - imported md5 source, BSD style licence. | |
5673 | * md5.cc: New file - imported md5 source, BSD style licence. | |
5674 | * Exception.cc: New file. | |
5675 | * Exception.h: New file. | |
5676 | * MD5++.cc: New file. | |
5677 | * MD5++.h: New file. | |
5678 | ||
58ee6135 RC |
5679 | 2002-05-01 Robert Collins <rbtcollins@hotmail.com> |
5680 | ||
ca2b7505 | 5681 | * Makefile.am (AM_CFLAGS): Remove -mwindows, it's a linker flag. |
58ee6135 RC |
5682 | Remove -fno-rtti, we need it for exceptions. |
5683 | (AM_CXXFLAGS): Ditto. | |
5684 | (WARNONLY_CFLAGS): Ditto. | |
5685 | (EXTRA_PROGRAMS): Add with initial linter sources - not functional yet. | |
5686 | (setup_LDFLAGS): Add and set to -mwindows. | |
5687 | (setup_SOURCES): Add new sources. | |
5688 | * Makefile.in: Regenerate. | |
5689 | * README: Update TODO. | |
5690 | * choose.cc (scan_downloaded_files): Use ini information if it's | |
5691 | available. | |
5692 | * configure: Regenerate. | |
5693 | * download.cc (check_for_cached): Make reusable from elsewhere. | |
5694 | Throw exceptions on errors (as opposed to failures). | |
5695 | Check MD5 sum when it's known. | |
5696 | (download_one): Never force a download. | |
5697 | Handle corrupt package exceptions. | |
5698 | * ini.cc (find_routine): Reverse escape the URL to correctly identify | |
5699 | the site URL. | |
5700 | * inilex.l (MD5): Provide a parsing rule (note: lowercase is required). | |
ca2b7505 | 5701 | * iniparse.y: Allow calculation of MD5 sums, and allow src only |
58ee6135 RC |
5702 | packages. |
5703 | (process_src): New helper function. | |
5704 | * isntall.cc (install_one_source): Check MD5 sums when possible. | |
5705 | Throw exceptions on errors. | |
5706 | (do_install_thread): Handle exceptions for installation calls. | |
5707 | * package_source.h: Store MD5 information. | |
5708 | * propsheet.cc (PropSheet::Create): Add a useful comment. | |
5709 | * res.rc (IDS_INSTALL_ERROR): Define. | |
5710 | (IDS_CORRUPT_PACKAGE): Define. | |
5711 | * resource.h (IDS_INSTALL_ERROR): Define. | |
5712 | (IDS_CORRUPT_PACKAGE): Define. | |
5713 | * rfc1738.cc (rfc1738_unescape_part): Implement. | |
5714 | * rfc1738.h (rfc1738_unescape_part): Declare. | |
5715 | ||
45e01f23 RC |
5716 | 2002-04-29 Robert Collins <rbtcollins@hotmail.com> |
5717 | ||
5718 | * Makefile.am: Remove dependecy rules that automake emits. | |
5719 | Correct badly copied dependency info for manually compiled files. | |
58b12a06 | 5720 | (setup_SOURCES): Add all used headers. |
45e01f23 RC |
5721 | (EXTRA_DIST): Include non compilate but required sources. |
5722 | (setup_LDADD): Remove mingw32, it is autodetected. | |
5723 | * Makefile.in: Regenerate. | |
5724 | * String++.h: sys/types is a system header. | |
5725 | * choose.cc (do_choose_thread): Make into a Win32 thread routine. | |
5726 | Use ExitThread. | |
5727 | (ChooserPage::OnMessageApp): Use Win32 threads. (_beginthread is not | |
5728 | portable). | |
5729 | * configure: Regenerate. | |
5730 | * configure.in: Check for mingw32/cygwin specific headers and libraries. | |
ca2b7505 | 5731 | * cygpackage.h: Include the win32.h header to get correct macro |
45e01f23 RC |
5732 | definitions in all situations. |
5733 | * download.cc (do_download_reflector): Make into a Win32 thread routine. | |
5734 | Use ExitThread. | |
5735 | (do_download): Use Win32 threads. | |
5736 | * ini.cc: Ditto. | |
5737 | * install.cc: Ditto. | |
ca2b7505 | 5738 | * (WinMain): Adjust to build valid command line using application |
45e01f23 | 5739 | under both mingw32 and cygwin. |
ca2b7505 | 5740 | * mount.cc (set)cygdrive_flags): Create new system flags if the |
45e01f23 RC |
5741 | user requests system and the value does not exist. |
5742 | * nio-http.cc: Define a _strnicmp for cygwin. | |
5743 | * package_db.cc: Include <errno.h> if it exists. | |
ca2b7505 | 5744 | * site.cc (do_download_site_info_thread): Make into a Win32 thread |
45e01f23 RC |
5745 | routine. |
5746 | Use ExitThread. | |
5747 | (do_download_site-Info): Use Win32 threads. | |
ca2b7505 | 5748 | * state.cc: Explicity declare variables to avoid header conflicts |
45e01f23 RC |
5749 | caused by '#define extern" on cygwin. |
5750 | * win32.h: Include <alloca.h> if it exists. | |
5751 | (_MAX_PATH): Define as MAX_PATH when not defined by windows.h. | |
5752 | (_access): Define as access if not defined by windows.h. | |
5753 | ||
8bb9dad9 RC |
5754 | 2002-04-27 Robert Collins <rbtcollins@hotmail.com> |
5755 | ||
5756 | * compress_gz.cc (compress_gz::error): EOF is not an error condition. | |
5757 | ||
6908b7d7 RC |
5758 | 2002-04-27 Robert Collins <rbtcollins@hotmail.com> |
5759 | ||
5760 | * Makefile.am: Add libgetopt++ to the subdirs list. | |
5761 | Search the libgetopt++ header directory. | |
5762 | Link against libgetopt++.la. | |
5763 | (setup_SOURCES): Remove GetOption.cc and getopt.c and Option.cc. | |
5764 | (setup_LDADD): Explicitly include res.o. | |
5765 | * Makefile.in: Regenerate. | |
5766 | * aclocal.m4: Regenerate. | |
5767 | * bootstrap.sh: Call libtoolize. | |
5768 | * configure: Regenerate. | |
5769 | * configure.in: Add libtool support and configure libgetopt++. | |
5770 | * desktop.cc (NoShortcutsOption): Turn into a BoolOption. | |
5771 | (DesktopSetupPage::OnInit): Use the simpler syntax. | |
5772 | * desktop.h: Remove dependency on Option.h, and remove NoShortcustOption | |
5773 | declaration. | |
5774 | * main.cc: Include getopt++/GetOption.h. | |
5775 | (main): Use simpler syntax. | |
5776 | * cdefs.h: Remove. | |
5777 | * getopt.h: Remove. | |
5778 | * getopt.c: Remove. | |
5779 | * GetOption.h: Remove. | |
5780 | * GetOption.cc: Remove. | |
5781 | * Option.h: Remove. | |
5782 | * Option.cc: Remove. | |
5783 | ||
9063358a RC |
5784 | 2002-04-26 Robert Collins <rbtcollins@hotmail.com> |
5785 | ||
5786 | * Makefile.am: Add zlib and bz2lib to SUBDIRS. | |
5787 | ||
f6100b6f RC |
5788 | 2002-04-26 Robert Collins <rbtcollins@hotmail.com> |
5789 | ||
5790 | * aclocal.m4: New file, cached macros. | |
ca2b7505 | 5791 | * bootstrap.sh: New file, calls required autotools in appropriate |
f6100b6f RC |
5792 | order. |
5793 | * Makefile.am: New file, input Makefile for automake. | |
5794 | * Makefile,in: Now a generated file - regenerate. | |
5795 | * configure: Regenerate. | |
5796 | * configure.in: Add automake support. | |
5797 | * inilex.l: Change VERSION to PACKAGEVERSION to avoid a collision with | |
5798 | automake's VERSION define. | |
5799 | * iniparse.y: Ditto. | |
5800 | ||
db04fc41 RC |
5801 | 2002-04-26 Robert Collins <rbtcollins@hotmail.com> |
5802 | ||
5803 | * cdefs.h: New file, imported to allow getopt.c to build without | |
5804 | cygwin headers. | |
5805 | * getopt.h: New file, imported to allow building without cygwin headers. | |
5806 | * getopt.c: Ditto. | |
5807 | * bz2lib: New directory, contains copy of bz2lib. | |
5808 | * cfgaux: New directory, contains autotool helper scripts. | |
ca2b7505 | 5809 | * Makefile,in: Adjust library and target definitions for building |
db04fc41 RC |
5810 | outside the sourceware tree. |
5811 | * compress_bz.h: Use new bz2lib header location. | |
5812 | * mount.cc: Import key defines and enums to be independent of cygwin | |
5813 | headers. | |
ca2b7505 | 5814 | * configure.in: Update to autoconf 2.53, and to be sourceware |
db04fc41 RC |
5815 | independent. |
5816 | * configure: Regenerate. | |
5817 | ||
931f2755 RC |
5818 | 2002-04-12 Robert Collins <rbtcollins@hotmail.com> |
5819 | ||
5820 | * mklink2.cc (make_link_2): Tweak to work with current w32api | |
5821 | headers. | |
5822 | ||
5823 | 2002-04-10 Pavel Tsekov <ptsekov@gmx.net> | |
5824 | ||
5825 | * version.cc (canonicalize_version): Fix a call delete[] | |
5826 | to delete the allocated address. | |
5827 | ||
5828 | 2002-03-29 Robert Collins <rbtcollins@hotmail.com> | |
5829 | ||
5830 | * PickView.cc (PickView::set_headers): Set last_col correctly. Thanks | |
5831 | to Ton van Overbeek for locating the bug area. | |
5832 | ||
49cf3899 RC |
5833 | 2003-03-27 Robert Collins <rbtcollins@hotmail.com> |
5834 | ||
5835 | * PickView.cc (PickView::insert_pkg): Be more generic with | |
5836 | object use. | |
5837 | (PickView::insert_category): Ditto. | |
5838 | (PickView::~PickView): Create. | |
5839 | * PickView.h (PickView::~PickView): Declare. | |
5840 | ||
1be8f8fd RC |
5841 | 2003-03-27 Robert Collins <rbtcollins@hotmail.com> |
5842 | ||
5843 | * Makefile.in (OBJS): Add new commandline objects. | |
5844 | * desktop.cc (NoShortCutsOption): New option code. | |
5845 | (DesktopSetupPage::OnInit): Check whether to skip shortcuts. | |
5846 | * desktop.h (NoShortCutsOption): New concrete command line option class. | |
5847 | * main.cc (WinMain): Process command line options. | |
5848 | * GetOption.h: New file, singleton command line class. | |
5849 | * GetOption.cc: New file, implementation of the above. | |
5850 | * Option.h : New file, abstract option for GetOption. | |
5851 | * Option.cc: New file, implement constructor and destructor. | |
5852 | ||
f2e49cf8 RC |
5853 | 2002-03-26 Pavel Tsekov <ptsekov@gmx.net> |
5854 | ||
58b12a06 | 5855 | * mkdir.cc (mkdir_p): Stop processing if the path is exhausted. |
f2e49cf8 RC |
5856 | |
5857 | 2002-03-26 Ton van Overbeek <tvoverbe@cistron.nl> | |
5858 | ||
58b12a06 MB |
5859 | * PickPackageLine.cc (PickPackageline::paint): Adjust clipping rectangle |
5860 | to textheight, so large fonts work. | |
f2e49cf8 RC |
5861 | |
5862 | 2003-03-26 Robert Collins <rbtcollins@hotmail.com> | |
5863 | ||
58b12a06 MB |
5864 | * io_stream_cygfile.cc (io_stream_cygfile::mklink): Don't translate |
5865 | symlinks. | |
f2e49cf8 RC |
5866 | |
5867 | 2003-03-26 Robert Collins <rbtcollins@hotmail.com> | |
5868 | ||
58b12a06 MB |
5869 | * io_stream_cygfile.cc (cwd): New static for cwd storage. |
5870 | (io_stream_cygfile::normalise): New method. | |
5871 | (io_stream_cygfile::io_stream_cygfile): Use it. | |
5872 | (io_stream_cygfile::exists): Ditto. | |
5873 | (io_stream_cygfile::remove): Ditto. | |
5874 | (io_stream_cygfile::mklink): And again. | |
5875 | (cygmkdir_p): Yes, again. | |
5876 | (io_stream_cygfile::move): And once more. | |
5877 | * io_stream_cygfile.h (io_stream_cygfile::normalise): Declare. | |
5878 | (io_stream_cygfile::cwd): Ditto. | |
f2e49cf8 | 5879 | |
51ebb760 RC |
5880 | 2003-03-26 Robert Collins <rbtcollins@hotmail.com> |
5881 | ||
5882 | * package_meta.cc (package_meta::~package_meta): Remove duplicate. | |
ca2b7505 | 5883 | (CategoryPackage::~CategoryPackage): Ditto. (Thanks to Ton van |
51ebb760 RC |
5884 | Overbeek for the report). |
5885 | * mklink2.cc: Moved from mklink2.c to avoid 'not a prototype error'. | |
5886 | Make g++ compatible. | |
5887 | * mklink2.c: Remove. | |
5888 | * site.cc (site_list_type::init): Delete the correct memory addres. | |
5889 | Thanks to Pavel Tsekov for tracking this down. | |
5890 | ||
e7d67c03 RC |
5891 | 2002-03-20 Robert Collins <rbtcollins@hotmail.com> |
5892 | ||
5893 | * win32.h: Only define alloca if it's not already. | |
5894 | ||
2fa7c5a4 RC |
5895 | 2002-03-20 Robert Collins <rbtcollins@hotmail.com> |
5896 | ||
58b12a06 MB |
5897 | * package_meta.h (packamgemeta::trustp): Make 'test' choice leave |
5898 | installed packages alone. | |
2fa7c5a4 RC |
5899 | * README: Update with latest requests. |
5900 | * Various: MTC fixes from setup200202 branch. | |
5901 | ||
7bf13fc9 CF |
5902 | 2002-03-19 Christopher Faylor <cgf@redhat.com> |
5903 | ||
5904 | * Makefile.in (setup_version.c): Add back magic which allows detection | |
5905 | of setup.exe version number. | |
5906 | ||
2fa7c5a4 RC |
5907 | 2002-03-17 Robert Collins <rbtcollins@hotmail.com> |
5908 | ||
58b12a06 | 5909 | * PickPackageLine.cc (PickPackageLine::paint): Fix incorrect clip region |
2fa7c5a4 RC |
5910 | calculation on win9x systems. |
5911 | ||
5912 | 2002-03-16 Robert Collins <rbtcollins@hotmail.com> | |
5913 | ||
58b12a06 MB |
5914 | * install.cc (install_one_source): Write the correct length of a string |
5915 | to the lst file (Thanks to Pavel Tsekov for reporting the bug). | |
2fa7c5a4 RC |
5916 | |
5917 | 2002-03-15 Robert Collins <rbtcollins@hotmail.com> | |
5918 | ||
5919 | * choose.cc (list_click): Always refresh the entire chooser, as our | |
58b12a06 MB |
5920 | package state change mechanism is broken with the new improved list |
5921 | classes. | |
2fa7c5a4 RC |
5922 | |
5923 | 2002-03-15 Robert Collins <rbtcollins@hotmail.com> | |
5924 | ||
58b12a06 MB |
5925 | * desktop.cc (make_passwd_group): Check for .lnk suffix on /etc/passwd |
5926 | and /etc/group. | |
2fa7c5a4 RC |
5927 | |
5928 | 2002-03-15 Robert Collins <rbtcollins@hotmail.com> | |
5929 | ||
58b12a06 MB |
5930 | * PickPackageLine.cc (PickPackageLine::DrawCheck): New method factored |
5931 | out from paint(). | |
5932 | (PickPackageLine::paint): Use DrawCheck to draw the src tick box, and | |
5933 | the new bin tickbox. | |
2fa7c5a4 RC |
5934 | (PickPackageLine::click): Handle the new bin tickbox. |
5935 | * PickPackageLine.h (PickPackageLine::DrawCheck): Declare this. | |
5936 | * PickView.cc (pkg_headers): Add a Bin? column. | |
5937 | (cat_headers): Ditto. | |
5938 | (PickView::set_headers): Ditto. | |
5939 | (PickView::init_headers): Ditto. | |
5940 | * PickView.h (PickView): Ditto. | |
58b12a06 MB |
5941 | * choose.cc (list_click): Use the new name for src_col to set the clip |
5942 | rectangle. | |
2fa7c5a4 RC |
5943 | |
5944 | 2002-02-24 Michael A Chase <mchase@ix.netcom.com> | |
5945 | ||
5946 | * io_stream_cygfile.cc (io_stream_cygfile::mklink): Fix up Robert's | |
5947 | fixup. | |
5948 | ||
5949 | 2002-02-24 Michael A Chase <mchase@ix.netcom.com> | |
5950 | ||
5951 | * desktop.cc (make_link): Add "file://" prefix to io_stream::mkpath_p() | |
5952 | call. | |
5953 | (make_passwd_group): Ditto. | |
5954 | * localdir.cc (save_local_dir): Ditto. | |
5955 | * io_stream_cygfile.cc (io_stream_cygfile::mklink): Wrap long lines. | |
5956 | Add "cygfile://" prefix to io_stream::open() calls. | |
5957 | ||
204315f9 RC |
5958 | 2002-02-24 Robert Collins <rbtcollins@hotmail.com> |
5959 | ||
5960 | * log.cc (log_save): Fix creating /var/log. | |
5961 | * packate_meta.cc (standard_dirs): Remove duplicate '/''s. | |
5962 | ||
58db1046 RC |
5963 | 2002-02-24 Gary R. Van Sickle <g.r.vansickle@worldnet.att.net> |
5964 | ||
5965 | * res.rc (STRINGTABLE): Add IDS_CYGWIN_SETUP and | |
5966 | IDS_CYGWIN_SETUP_WITH_PROGRESS strings. | |
5967 | * resource.h: Add IDS_CYGWIN_SETUP and | |
5968 | IDS_CYGWIN_SETUP_WITH_PROGRESS IDs. | |
5969 | ||
5970 | * splash.cc (OnInit): Qualify SetWindowText() call with global scope | |
5971 | operator (::SetWindowText()). | |
5972 | ||
5973 | * threebar.cc: Run indent. | |
5974 | (cistring.h): Add include. | |
5975 | (SetText1, SetText2, SetText3): Qualify SetWindowText() call with | |
5976 | global scope operator. | |
5977 | (SetBar2): Add logic for writing percent complete into window title. | |
5978 | ||
5979 | * window.h: Run indent. | |
5980 | (SetWindowText): New function. | |
5981 | (String): Add forward declaration. | |
5982 | * window.cc: Run indent. | |
5983 | (String++.h): Add include. | |
5984 | (SetWindowText): New function. | |
5985 | ||
490717ef RC |
5986 | 2002-02-24 Robert Collins <rbtcollins@hotmail.com> |
5987 | ||
5988 | * README: Update TODO list. | |
5989 | * install.cc (install_one): Fix src package location. | |
5990 | (do_install_thread): Fix creating directories. | |
5991 | ||
7c6ef2c3 RC |
5992 | 2002-02-19 Robert Collins <rbtcollins@hotmail.com> |
5993 | ||
5994 | * choose.cc: Include cygpackage.h for scan2 use. | |
5995 | (set_existence): Ignore setup.ini mirrors when installing from cwd. | |
5996 | (scan2): Process any valid file. | |
58b12a06 MB |
5997 | Add cache entries when a file matching a setup.ini listed version is |
5998 | found. | |
7c6ef2c3 RC |
5999 | * filemanip.cc (parse_filename): Remove pkgtar - not used anywhere else. |
6000 | * filemanip.h (filemanip::pkgtar): Remove. | |
6001 | * package_meta.cc (CategoryPackage::~CategoryPackage): New method. | |
6002 | (packagemeta::~packagemeta): Move from package_meta.h | |
6003 | Remove and delete all version and category information. | |
6004 | * package_meta.h (CategoryPackage): Create a destructor. | |
6005 | (packagemeta::~packagemeta): Move to .cc file. | |
6006 | ||
6007 | 2002-02-19 Robert Collins <rbtcollins@hotmail.com> | |
6008 | ||
6009 | * install.cc (install_one_source): Make NULL cached package names cause | |
6010 | errors. | |
6011 | ||
bb087dce RC |
6012 | 2002-02-18 Michael A Chase <mchase@ix.netcom.com> |
6013 | ||
6014 | * desktop.cc (make_passwd_group): Don't create passwd-grp.bat | |
6015 | unnecessarily. | |
6016 | ||
6017 | 2002-02-18 Michael A Chase <mchase@ix.netcom.com> | |
6018 | ||
6019 | * log.cc (log_save): Put "\n" at end of log lines instead of "'". | |
6020 | ||
c90bc3df RC |
6021 | 2002-02-19 Robert Collins <rbtcollins@hotmail.com> |
6022 | ||
6023 | * mount.cc (create_mount): Avoid a const char*->char* warning. | |
6024 | (read_mounts): Ditto. | |
6025 | ||
3bab9a49 RC |
6026 | 2002-02-05 Jason Tishler <jason@tishler.net> |
6027 | ||
58b12a06 | 6028 | * download.cc (do_download_thread): Fix off-by-one error. |
3bab9a49 | 6029 | |
1ac649ed RC |
6030 | 2002-02-19 Robert Collins <rbtcollins@hotmail.com> |
6031 | ||
6032 | * configure.in (CXXFLAGS): Substitute at configure time, not runtime. | |
6033 | * configure (CXXFLAGS): Regenerate. | |
6034 | * Makefile.in (iniparse.o): Build via default rules - no errors now. | |
6035 | * README: TODO list updates. | |
6036 | ||
6037 | 2002-02-19 Michael A Chase <mchase@ix.netcom.com> | |
6038 | ||
6039 | * String++.cc (String::concat):: Remove. | |
6040 | (String::vconcat):: Ditto. | |
6041 | * String++.h (String::concat):: Remove. | |
6042 | (String::vconcat):: Ditto. | |
6043 | * archive_tar.cc: Don't include concat.h. | |
6044 | * archive_tar_file.cc: Don't include concat.h. | |
6045 | * compress_bz.cc (compress_bz::peek): Don't log unneeded messages. | |
6046 | (compress_bz::seek): Ditto. | |
6047 | (compress_bz::~compress_bz): Ditto. | |
6048 | * compress_gz.cc (compress_gz::peek): Ditto. | |
6049 | (compress_gz::error): Ditto. | |
6050 | (compress_gz::~compress_gz): Ditto. | |
6051 | * concat.cc (vconcat): Remove. | |
6052 | (concat): Ditto. | |
6053 | * concat.h (vconcat): Remove. | |
6054 | (concat): Ditto. | |
6055 | * desktop.cc (desktop_icon): Use new cygpath. | |
6056 | (make_etc_profile): Ditto. | |
6057 | (uexists): Ditto. | |
6058 | (make_passwd_group): Ditto. | |
6059 | (save_icon): Ditto. | |
6060 | (check_desktop): Remove concat use. | |
6061 | (check_start_menu): Ditto. | |
6062 | * download.cc (download_one): Use new mkpath_p correctly. | |
6063 | Use LOG_PLAIN. | |
6064 | * fromcwd.cc: Don't include concat.h. | |
6065 | * geturl.cc (get_url_to_membuf): Use String log() call. | |
6066 | (get_url_to_file): Ditto. | |
6067 | * install.cc: Don't include concat.h. | |
6068 | (uninstall_one): Use LOG_PLAIN. | |
6069 | (replace_one): Ditto. | |
6070 | (install_one_source): Ditto. | |
6071 | (install_one): More char to String conversion. | |
6072 | (do_install_thread): Use new cygpath. | |
6073 | Use new create_mount. | |
6074 | * io_stream.cc (io_stream::move): Use new log(). | |
58b12a06 MB |
6075 | * io_stream_cygfile (io_stream_cygfile::io_stream_cygfile): Use new |
6076 | cygpath. | |
1ac649ed RC |
6077 | (io_stream_cygfile::exists): Ditto. |
6078 | (io_stream_cygfile::remove): Ditto. | |
6079 | (io_stream_cygfile::mklink): Ditto. | |
6080 | (io_stream_cygfile::write): Ditto. | |
6081 | (cygmkdir_p): Ditto. | |
6082 | (io_stream_cygfile::move): Ditto. | |
6083 | * io_stream_file.cc: Don't include log.h. | |
6084 | (io_stream_file::write): Don't log unneeded messages. | |
6085 | * localdir.cc: Don't include concat.h. | |
6086 | (LocalDirPage::OnNext): Use LOG_PLAIN. | |
6087 | * log.cc: Don't include log.h. | |
6088 | (exit_setup): Use new cygpath. | |
6089 | * log.h (log_level): Add new level LOG_PLAIN. | |
6090 | * main.cc (WinMain): Use new log(). | |
6091 | * mount.cc (SLASH_P): New macro from concat.h. | |
6092 | (cygpath): Make String version globally visible. | |
6093 | Remove varargs version. | |
6094 | * mount,h: Ditto. | |
6095 | * msg.cc (mbox): Use LOG_PLAIN. | |
6096 | * net.cc (NetPage::OnNext): Ditto. | |
6097 | * nio-ftp.cc (ftp_line): Use new log(). | |
6098 | * nio-http.cc: Don't include log.h. | |
6099 | (retry_get): Use alternative url variable. | |
6100 | * package_db.cc: Don't include concat.h. | |
6101 | (packagedb::flush): Don't use concat. | |
6102 | * package_meta.cc: Don't include concat.h. | |
6103 | (packagemeta::uninstall): Use new cygpath. | |
6104 | * postinstall.cc (do_postinstall): Ditto. | |
6105 | * root.cc (RootPage::OnNext): Use LOG_PLAIN. | |
6106 | * script.cc: Don't include concat.h. | |
6107 | (init_run_script): Use new cygpath. | |
6108 | (run_script): More char * to String conversion. | |
6109 | (try_run_script): Ditto. | |
6110 | * site.cc: Don't include concat.h. | |
6111 | (SitePage::OnNext): Use LOG_PLAIN. | |
6112 | (SitePage::OnMessageCmd): Use new log(). | |
6113 | * source.cc (SourcePage::OnDeactivate): Use LOG_PLAIN. | |
6114 | ||
3c054baf RC |
6115 | 2002-02-19 Robert Collins <rbtcollins@hotmail.com> |
6116 | ||
6117 | * Makefile.in (OBJS): Add new object. | |
58b12a06 MB |
6118 | * PickCategoryLine.cc (PickCategoryLine::paint): Print a "+" before the |
6119 | name. | |
3c054baf RC |
6120 | * PickCategoryLine.h (PickCategoryLine::bucket): Use the String class. |
6121 | * PickLine.h (Pickline::key): Change to a String to help plug leaks. | |
6122 | (PickLine::Pickline): Accept a String for the key. | |
58b12a06 MB |
6123 | * PickPackageLine.cc (PickPackageLine::paint): Convert all char use to |
6124 | Strings. | |
6125 | * PickPackageLine.h (PickPackageLine::PickPackageLine): The key is | |
6126 | automatically initialised now. | |
3c054baf | 6127 | * PickView.cc (PickView::note_width): Convert all char * use to Strings. |
58b12a06 MB |
6128 | (PickView::init_header): Move category length checking out of the inner |
6129 | loop for efficiency. | |
3c054baf RC |
6130 | Convert all char use to Strings. |
6131 | * PickView.h: Include the String++ header. | |
6132 | (PickView::note_width): Update the prototype. | |
6133 | * String++.cc: New file, implements a reference counting string class. | |
6134 | * String++.h: New file, declares a reference counting string class. | |
6135 | * archive.cc: Include String++ instead of concat. | |
6136 | (archive::extract_file): Convert char * usage to Strings. | |
6137 | * archive.h: Inlude the String++ header. | |
6138 | (archive::extract_file): Update prototype. | |
6139 | (archive::next_file_name): Convert to a String. | |
6140 | (archive::linktarget): Ditto. | |
6141 | * archive_tar.cc (archive_tar::next_file_name): Convert to String usage. | |
6142 | (archive_tar::linktarget): Ditto. | |
6143 | * arhive_tar.h: Update the copyright. | |
6144 | Explicitly include the relevant headers. | |
6145 | (tar_map_result_type): Convert to String usage. | |
6146 | (archive_tar::next_file_name): Update prototype. | |
6147 | (archive_tar::linktarget): Ditto. | |
6148 | * category.cc (Category::Category): Update initialisers. | |
6149 | Convert to String usage. | |
6150 | (Categorycmp): Update to String usage. | |
6151 | * category.h: Include the String++ header. | |
6152 | (Category::Category): Update to String usage. | |
6153 | (Category::name): Ditto. | |
6154 | (Category::key): Ditto. | |
6155 | * choose.cc: Remove concat.h, it's not needed. | |
6156 | (scan2): Update to String usage. | |
6157 | (do_choose): Ditto. | |
6158 | * cygpackage.cc: Update includes for use of String class. | |
6159 | (cygpackage::cygpackage): Update for String usage. | |
6160 | (cygpackage::set_canonical_version): Ditto. | |
6161 | (cygpackage::destroy): Ditto. | |
6162 | (cygpackage::getfirstfile): Ditto. | |
6163 | (cygpackage::getnextfile): Ditto. | |
6164 | (cygpackage::Name): Ditto. | |
6165 | (cygpackage::Vendor_version): Ditto. | |
6166 | (cygpackage::Package_version): Ditto. | |
6167 | (cygpackage::Canonical_version): Ditto. | |
6168 | (cygpackage::set_sdesc): Ditto. | |
6169 | (cygpackage::set_ldesc): Ditto. | |
6170 | * cygpackage.h: Include String++.h for parsing this file. | |
6171 | (cygpackage::cygpackage): Update for String usage. | |
6172 | (cygpackage::set_canonical_version): Ditto. | |
6173 | (cygpackage::destroy): Ditto. | |
6174 | (cygpackage::getfirstfile): Ditto. | |
6175 | (cygpackage::getnextfile): Ditto. | |
6176 | (cygpackage::Name): Ditto. | |
6177 | (cygpackage::Vendor_version): Ditto. | |
6178 | (cygpackage::Package_version): Ditto. | |
6179 | (cygpackage::Canonical_version): Ditto. | |
6180 | (cygpackage::set_sdesc): Ditto. | |
6181 | (cygpackage::set_ldesc): Ditto. | |
6182 | (cygpackage::name): Ditto. | |
6183 | (cygpackage::vendor): Ditto. | |
6184 | (cygpackage::packagev): Ditto. | |
6185 | (cygpackage::canonical): Ditto. | |
6186 | (cygpackage::fn): Ditto. | |
6187 | (cygpackage::sdesc): Ditto. | |
6188 | (cygpackage::ldesc): Ditto. | |
6189 | * desktop.cc: Update includes for use of String class. | |
6190 | (batname): Update for String usage. | |
6191 | (iconname): Ditto. | |
6192 | (make_link): Ditto. | |
6193 | (start)menu): Ditto. | |
6194 | (desktop_icon): Ditto. | |
6195 | (make_cygwin_bat): Ditto. | |
6196 | (make_etc_profile): Ditto. | |
6197 | (uexists): Ditto. | |
6198 | (make_passwd_group): Ditto. | |
6199 | (save_icon): Ditto. | |
6200 | (check_desktop): Ditto. | |
6201 | (check_startmenu): Ditto. | |
6202 | * dialog.cc (eget): Update for String usage. | |
6203 | (egetString): New function. | |
6204 | (eset): New variant for Strings. | |
6205 | * dialog.h: Include String++.h for parsing this file. | |
6206 | (egetString): New function. | |
6207 | (eset): New variant for Strings. | |
6208 | * diskfull.cc (diskfull): Update for String usage. | |
6209 | * diskfull.h: Include String++.h for parsing this file. | |
6210 | (diskfull): Update for String usage. | |
6211 | * download.cc: Update includes for use of String class. | |
6212 | (check_for_cached): Update for String usage. | |
6213 | (download_one): Ditto. | |
6214 | * filemanip.cc (get_file_size): Ditto. | |
6215 | (base): Ditto. | |
6216 | (parse_filename): Ditto. | |
6217 | (backslash): Ditto. | |
6218 | * filemanip.h: Include String++.h for parsing this file. | |
6219 | (fileparse): Update for String usage. | |
6220 | (base): Ditto. | |
6221 | (parse_filename): Ditto. | |
6222 | Don't consider '_' to be a separator. | |
6223 | (backslash): Ditto. | |
6224 | * find.cc: Update includes for use of String class. | |
6225 | (find_sub): Make more flexible. | |
6226 | (find): Update for String usage. | |
6227 | * find.h (find): Use Strings. | |
6228 | * fromcwd.cc (found_file): Update for String usage. | |
6229 | * geturl.cc: Ditto. | |
6230 | (init_dialog): Ditto. | |
6231 | (get_url_to_membuf): Ditto. | |
6232 | (get_url_to_string): Ditto. | |
6233 | (get_url_to_file): Ditto. | |
6234 | * geturl.h: Ditto. | |
6235 | (get_url_to_membuf): Ditto. | |
6236 | (get_url_to_string): Ditto. | |
6237 | (get_url_to_file): Ditto. | |
6238 | * hash.h: Ditto. | |
6239 | (add_subdirs): Ditto. | |
6240 | * ini.cc: Update includes for String usage. | |
6241 | (find_routine): Update for String usage. | |
6242 | (do_remote_ini): Ditto. | |
6243 | (do_ini_thread): Ditto. | |
6244 | * ini.h (ini_init): Ditto. | |
6245 | * inilex.l: Update includes for String usage. | |
6246 | (ini_init): Update for String usage. | |
6247 | * iniparse.y: Ditto. | |
6248 | (add_correct_version): Ditto. | |
6249 | * install.cc: Update includes for String usage. | |
6250 | (install_one_source): Update for String usage. | |
6251 | (uninstall_one): Ditto. | |
6252 | (replace_one): Ditto. | |
6253 | (install_one_source): Ditto. | |
6254 | (do_install_thread): Ditto. | |
6255 | * io_stream.cc: Update includes for String usage. | |
6256 | (io_stream::open): Update for String usage. | |
6257 | (io_stream::mkpath_p): Ditto. | |
6258 | (io_stream::remove): Ditto. | |
6259 | (io_stream::mklink): Ditto. | |
6260 | (io_stream::move_copy): Ditto. | |
6261 | (io_stream::move): Ditto. | |
6262 | (io_stream::exists): Ditto. | |
6263 | * io_stream.h: Update includes to allow correct parsing. | |
6264 | (io_stream::open): Update for String usage. | |
6265 | (io_stream::mkpath_p): Ditto. | |
6266 | (io_stream::remove): Ditto. | |
6267 | (io_stream::mklink): Ditto. | |
6268 | (io_stream::move_copy): Ditto. | |
6269 | (io_stream::move): Ditto. | |
6270 | (io_stream::exists): Ditto. | |
6271 | * io_stream_cygfile.cc: Update includes for String usage. | |
6272 | (get_root_dir_now): Update for String usage. | |
6273 | (io_stream_cygfile::io_stream_cygfile): Ditto. | |
6274 | (io_stream_cygfile::~io_stream_cygfile): Ditto. | |
6275 | (io_stream_cygfile::exists): Ditto. | |
6276 | (io_stream_cygfile::remove): Ditto. | |
6277 | (io_stream_cygfile::mklink): Ditto. | |
6278 | (cygmkdir_p): Ditto. | |
6279 | (io_stream_cygfile::set_mtime): Ditto. | |
6280 | (io_stream_cygfile::move): Ditto. | |
6281 | (io_stream_cygfile::get_size): Ditto. | |
6282 | * io_stream_cygfile.h: Update includes for String usage. | |
6283 | (io_stream_cygfile::io_stream_cygfile): Update for String usage. | |
6284 | (io_stream_cygfile::~io_stream_cygfile): Ditto. | |
6285 | (io_stream_cygfile::exists): Ditto. | |
6286 | (io_stream_cygfile::remove): Ditto. | |
6287 | (io_stream_cygfile::mklink): Ditto. | |
6288 | (cygmkdir_p): Ditto. | |
6289 | (io_stream_cygfile::set_mtime): Ditto. | |
6290 | (io_stream_cygfile::move): Ditto. | |
6291 | (io_stream_cygfile::get_size): Ditto. | |
6292 | (io_stream_cygfile::fname): Ditto. | |
6293 | (io_stream_cygfile::lmode): Ditto. | |
6294 | * io_stream_file.cc: Update includes for String usage. | |
6295 | (io_stream_file::io_stream_file): Update for String usage. | |
6296 | (io_stream_file::~io_stream_file): Ditto. | |
6297 | (io_stream_file::exists): Ditto. | |
6298 | (io_stream_file::remove): Ditto. | |
6299 | (io_stream_file::mklink): Ditto. | |
6300 | (io_stream_file::set_mtime): Ditto. | |
6301 | (io_stream_file::move): Ditto. | |
6302 | (io_stream_file::get_size): Ditto. | |
6303 | * io_stream_file.h: Update includes for String usage. | |
6304 | * io_stream_file.cc: Update includes for String usage. | |
6305 | (io_stream_file::io_stream_file): Update for String usage. | |
6306 | (io_stream_file::~io_stream_file): Ditto. | |
6307 | (io_stream_file::exists): Ditto. | |
6308 | (io_stream_file::remove): Ditto. | |
6309 | (io_stream_file::mklink): Ditto. | |
6310 | (io_stream_file::set_mtime): Ditto. | |
6311 | (io_stream_file::move): Ditto. | |
6312 | (io_stream_file::get_size): Ditto. | |
6313 | (io_stream_file::fname): Ditto. | |
6314 | (io_stream_file::lmode): Ditto. | |
6315 | * localdir.cc: Update includes for String usage. | |
6316 | (save_local_dir): Update for String usage. | |
6317 | (check_if_enable_next): Ditto. | |
6318 | (load_dialog): Ditto. | |
6319 | (browse_cb): Ditto. | |
6320 | (LocalDirPage::OnInit): Ditto. | |
6321 | (LocalDirPage::OnNext): Ditto. | |
6322 | * log.cc: Update includes for String usage. | |
6323 | (struct LogEnt): Update for String usage. | |
6324 | (log): Ditto. | |
6325 | (log_save): Ditto. | |
6326 | (exit_setup): Ditto. | |
6327 | * log.h: Update includes for String usage. | |
6328 | (log_level): Update for String usage. | |
6329 | (log): Ditto. | |
6330 | (log_save): Ditto. | |
6331 | * main.cc (WinMain): Update for String usage. | |
6332 | * mklink2.c (make_link_2): Update for String usage. | |
6333 | * mklink2.h (make_link_2): Update for String usage. | |
6334 | * mount.cc: Update includes for String usage. | |
6335 | (mount_table): Update for String usage. | |
6336 | (find2): Ditto. | |
6337 | (create_mount): Ditto. | |
6338 | (remove1): Ditto. | |
6339 | (remove_mount): Ditto. | |
6340 | (read_mounts): Ditto. | |
6341 | (set_root_dir): Ditto. | |
6342 | (get_root_dir): Ditto. | |
6343 | (path_prefix_p): Ditto. | |
6344 | (cygpath): Ditto. | |
6345 | * mount.h: Update includes for String usage. | |
6346 | (create_mount): Update for String usage. | |
6347 | (remove_mount): Ditto. | |
6348 | (cygpath): Ditto. | |
6349 | (set_root_dir): Ditto. | |
6350 | (get_root_dir): Ditto. | |
6351 | * msg.cc (mbox): Ditto. | |
6352 | * net.cc (NetPage::OnNext): Ditto. | |
6353 | * package_db.cc (packagedb::flush): Ditto. | |
6354 | (packagedb::packages): Ditto. | |
6355 | (packagedb::categories): Ditto. | |
6356 | * package_db.h: Update includes for String usage. | |
6357 | (packagedb::packages): Update for String usage. | |
6358 | (packagedb::categories): Ditto. | |
6359 | * package_meta.cc: Update includes for String usage. | |
6360 | (hash::add_subdirs): Update for String usage. | |
6361 | (packagemeta::uninstall): Ditto. | |
6362 | (packagemeta::SDesc): Ditto. | |
6363 | (packagemeta::action_caption): Ditto. | |
6364 | * package_meta.h: Update includes for String usage. | |
6365 | (packagemeta::packagemeta): Update for String usage. | |
6366 | (packagemeta::~packagemeta): Ditto. | |
6367 | (packagemeta::uninstall): Ditto. | |
6368 | (packagemeta::SDesc): Ditto. | |
6369 | (packagemeta::action_caption): Ditto. | |
6370 | (package_source.cc site::site): Ditto. | |
6371 | (packagesource::set_canonical): Ditto. | |
6372 | (packagesource::set_cached): Ditto. | |
6373 | * package_source.h: Update includes for String usage. | |
6374 | (site::site): Update for String usage. | |
6375 | (packagesource::set_canonical): Ditto. | |
6376 | (packagesource::set_cached): Ditto. | |
6377 | (packagesource::packagesource): Ditto. | |
6378 | (packagesource::sites): Ditto. | |
6379 | (packagesource::cached): Ditto. | |
6380 | * package_version.h: Update includes for String usage. | |
6381 | (Dependency): Update for String usage. | |
6382 | (packageversion): Ditto. | |
6383 | * postinstall.cc: Update includes for String usage. | |
6384 | (do_postinstall): Update for String usage. | |
6385 | * res.rc (IDD_LOCAL_DIR): Fix typo again! | |
6386 | * rfc1738.cc (rfc1738_escape_part): Update for String usage. | |
6387 | * rfc1738.h: Update includes for String usage. | |
6388 | (rfc1738_escape_part): Update for String usage. | |
6389 | * root.cc: Update includes for String usage. | |
6390 | (check_if_enable_next): Update for String usage. | |
6391 | (save_dialog): Ditto. | |
6392 | (browse_cb): Ditto. | |
6393 | (directory_is_absolute): Ditto. | |
6394 | (directory_is_rootdir): Ditto. | |
6395 | (directory_has_spaces): Ditto. | |
6396 | (RootPage::OnInit): Ditto. | |
6397 | (RootPage::OnNext): Ditto. | |
6398 | * script.cc: Update includes for String usage. | |
6399 | (init_run_script): Update for String usage. | |
6400 | (run): Ditto. | |
6401 | (run_script): Ditto. | |
6402 | (try_run_script): Ditto. | |
6403 | * script.h: Update includes for String usage. | |
6404 | (run_script): Update for String usage. | |
6405 | (try_run_script): Ditto. | |
6406 | * site.cc site_list): Ditto. | |
6407 | (all_site_list): Ditto. | |
6408 | (other_url): Eliminate. | |
6409 | (site_list_type::init): Update for String usage. | |
6410 | (site_list_type::site_list_type): Ditto. | |
6411 | (get_site_list): Ditto. | |
6412 | (get_saved_sites): Ditto. | |
6413 | (do_download_site_info_thread): Ditto. | |
6414 | (SitePage::OnNext): Ditto. | |
6415 | (SitePage::OnActivate): Ditto. | |
6416 | (SitePage::PopulateListBox): Ditto. | |
6417 | (SitePage::OnMessageCmd): Handle empty url's. | |
6418 | * site.h: Update includes for String usage. | |
6419 | (site_list_type::site_list_type): Update for String usage. | |
6420 | (site_list_type::init): Ditto. | |
6421 | (site_list_type::~site_list_type): Ditto. | |
6422 | (site_list_type::url): Ditto. | |
6423 | (site_list_type::displayed_url): Ditto. | |
6424 | (site_list_type::key): Ditto. | |
6425 | * source.cc (SourcePage::OnDeactivate): Ditto. | |
6426 | * state.h: Update includes for String usage. | |
6427 | (local_dir): Update for String usage. | |
6428 | (trust_level): Remove. | |
6429 | * version.cc: Update includes for String usage. | |
6430 | (canonicalize_version): Update for String usage. | |
6431 | * version.h: Update includes for String usage. | |
6432 | (canonicalize_version): Update for String usage. | |
6433 | ||
08233ec7 CF |
6434 | 2002-02-15 Christopher Faylor <cgf@redhat.com> |
6435 | ||
6436 | * filemanip.c (parse_filename): Revert previous change. | |
6437 | ||
94dffbdd CF |
6438 | 2002-02-14 Christopher Faylor <cgf@redhat.com> |
6439 | ||
6440 | * filemanip.c (parse_filename): Don't treat '_' as a version number | |
6441 | introducer. | |
6442 | ||
cef493d7 CF |
6443 | 2002-01-29 Christopher Faylor <cgf@redhat.com> |
6444 | ||
6445 | * configure: Regenerate. | |
6446 | ||
57219197 RC |
6447 | 2002-01-27 Robert Collins <rbtcollins@hotmail.com> |
6448 | ||
94dffbdd CF |
6449 | * res.rc (IDD_LOCAL_DIR): Fix typo reported by Rene |
6450 | <Hoeck@extern.lrz-muenchen.de> | |
57219197 | 6451 | |
cc7493c3 RC |
6452 | 2002-01-27 Robert Collins <rbtcollins@hotmail.com> |
6453 | ||
6454 | * README: Update Todo's. | |
6455 | * list.h: Run indent. | |
6456 | (list): New methods checksize and insert to reduce code duplication. | |
6457 | (list::registerbykey): Use them. | |
6458 | (list::registerbyobject): Ditto. | |
94dffbdd CF |
6459 | (list::removebyindex): Copy each object individually - safe for non |
6460 | trivial objects. | |
cc7493c3 RC |
6461 | (list::checksize): Implement. |
6462 | (list::insert): Implement. | |
6463 | ||
a900d1fa RC |
6464 | 2002-01-27 Robert Collins <rbtcollins@hotmail.com> |
6465 | ||
6466 | * Makefile.in: Remove the dlmalloc object by default. | |
94dffbdd CF |
6467 | * install.cc (do_install_thread): Remove the mallinfo call for 'working |
6468 | around' the crashing issue. | |
a900d1fa | 6469 | * package_db.h: Include <string.h> - it's needed to parse this. |
94dffbdd | 6470 | * package_source.cc (site::site): Move here from the header file. |
a900d1fa RC |
6471 | * package_source.h (site): Stop the constructor being inlinable. |
6472 | ||
9835fb4a RC |
6473 | 2002-01-26 Robert Collins <rbtcollins@hotmail.com> |
6474 | ||
6475 | * filemanip.cc (find_tar_ext): Add a descriptive comment. | |
6476 | ||
6477 | 2002-01-25 Michael A Chase <mchase@ix.netcom.com> | |
6478 | ||
6479 | * filemanip.cc (find_tar_ext): Clean up tests for .tar.gz and .tar. | |
6480 | * fromcwd.cc (do_fromcwd): Expand FIXME comment in source file check. | |
94dffbdd CF |
6481 | * install.cc (install_one_source): Add space between words in log() |
6482 | call. | |
cef493d7 | 6483 | |
77ba23d8 RC |
6484 | 2002-01-22 Robert Collins <rbtcollins@hotmail.com> |
6485 | ||
94dffbdd CF |
6486 | * log.cc (exit_setup): When saving to the download dir, explicity |
6487 | specify the path. | |
77ba23d8 | 6488 | |
6dc75764 RC |
6489 | 2002-01-22 Robert Collins <rbtcollins@hotmail.com> |
6490 | ||
94dffbdd CF |
6491 | * archive.cc (extract_file): Separate out the prefix and the URL |
6492 | scheme. | |
6dc75764 | 6493 | * archive.h (archive::extract_file): Ditto. |
94dffbdd CF |
6494 | * install.cc (install_one_source): Ditto. Use the new |
6495 | archive::extract_file syntax. | |
6dc75764 RC |
6496 | (replace_one): Use the new syntax. |
6497 | (io_stream.cc): Add some log info for links. | |
6498 | ||
7e8fc33c RC |
6499 | 2002-01-22 Robert Collins <rbtcollins@hotmail.com> |
6500 | ||
6501 | * PickCategoryLine.cc (PickCategoryLine::actiontext): Remove. | |
6502 | (PickCategoryLine::paint): Use the new action method. | |
6503 | (PickCategoryLine::click): Set the action for all children. | |
6504 | (PickCategoryLine::set_action): New method. | |
6505 | * PickCategoryLine.h (PickCategoryLine::-actions): Remove. | |
6506 | (PickCategoryLine::current_default): Use packagemeta _actions class. | |
94dffbdd CF |
6507 | * PickLine.h (PickLine::set_action): New abstract method that requires |
6508 | including package_meta.h. | |
7e8fc33c RC |
6509 | * PickPackageLine.cc (PickPackageLine::set_action): New method. |
6510 | * PickPackageLine.h (PickPackageLine::set_action): Declare this. | |
6511 | * list.h (getbykey): A const correctness fix. | |
6512 | * package_meta.cc: Run indent. | |
6513 | (packagemeta::Default_action): New const. | |
6514 | (packagemeta::Install_action): Ditto. | |
6515 | (packagemeta::Reinstall_action): Ditto. | |
6516 | (packagemeta::Uninstall_action): Ditto. | |
6517 | (packagemeta::_actions::caption): New method. | |
6518 | (packagemeta::_actions::operator++): Ditto. | |
6519 | (packagemeta::set_action): New overload. | |
6520 | * package_meta.h (packagemeta::_actions): New class. | |
6521 | (packagemeta::set_action): Declare this. | |
6522 | ||
2c9254b6 RC |
6523 | 2002-01-22 Robert Collins <rbtcollins@hotmail.com> |
6524 | ||
6525 | * Makefile.in (OBJS): Remove supp.o - it appears accidental. | |
6526 | * choose.cc: Don't define alloca anymore, it's done in win32.h | |
6527 | ||
97647369 RC |
6528 | 2002-01-22 Robert Collins <rbtcollins@hotmail.com> |
6529 | ||
6530 | * PickPackageLine.cc: New file. | |
6531 | * PickPackageLine.h: New file. | |
6532 | * PickLine.cc: New file. | |
6533 | * PickLine.h: New file. | |
6534 | * PickCategoryLine.cc: New file. | |
6535 | * PickCategoryLine.h: New file. | |
6536 | * PickView.cc: New file. | |
6537 | * PickView.h: New file. | |
6538 | * Makefile.in: Add new objects to setup.exe. | |
6539 | Backout -fno-exceptions option. | |
6540 | * choose.cc: Include PickView.h. | |
6541 | Remove view related defines and static variables. | |
6542 | (_pkg_headers): Moved to PickView.cc. | |
6543 | (_cat_headers): Ditto. | |
6544 | (view::views::Unknown): Ditto. | |
6545 | (view::views::PackageFull): | |
6546 | (view::views::Package): | |
6547 | (view::views::Category): | |
6548 | (pkgtrustp): Moved to package_meta.cc. | |
6549 | (add_required): Moved to package_meta.cc. | |
6550 | (pick_category_line::empty): Moved to PickCategoryLine.cc | |
6551 | (paint): Adjust for moved static variables. | |
6552 | (view::scroll): Moved to PickView.cc. | |
6553 | (list_vscroll): Adjust for moved static variables. | |
6554 | (list_hscroll): Ditto. | |
6555 | (list_click): Ditto. | |
6556 | (note_width): Moved to PickView.cc. | |
6557 | (view::view): Ditto. | |
6558 | (view::set_view_mode): Ditto. | |
6559 | (view::mode_caption): Ditto. | |
6560 | (view::views::caption): Ditto. | |
6561 | (view::set_headers): Ditto. | |
6562 | (DoInsertItem): Ditto. | |
6563 | (view::init_headers): Ditto. | |
6564 | (view::insert_pkg): Ditto. | |
6565 | (view::insert_category): Ditto. | |
6566 | (view::clear_view): Ditto. | |
6567 | (view::views::operator++): Ditto. | |
6568 | (view::click): Ditto. | |
6569 | (default_trust): Adjust for moved statics. | |
6570 | (pick_pkg_line::paint): Moved to PickPackageLine.cc. | |
6571 | (pick_pkg_line::click): Ditto. | |
6572 | (pick_category_line::actiontext): Moved to PickCategoryLine.cc | |
6573 | (pick_category_line::paint): Ditto. | |
6574 | (pick_category_line::click): Ditto. | |
6575 | (set_view_mode): Adjust for moved statics. | |
6576 | (create_listview): Ditto. | |
58b12a06 MB |
6577 | * choose.h: Remove Category and packagemeta forward defines - |
6578 | not needed. | |
97647369 RC |
6579 | Don't include unneeded headers list and package_meta. |
6580 | (_header): Move to PickView.h. | |
6581 | (pick_line): Move to PickLine.h. | |
6582 | (pick_pkg_line): Move to PickPackageLine.h. | |
6583 | (pick_category_line): Move to PickCategoryLine.h. | |
6584 | (view): Move to PickView.h. | |
6585 | * ini.h (trusts): Move to package_meta.h. | |
6586 | * package_meta.h (trusts): New enum. | |
6587 | (packagemeta::set_requirements): New helper method. | |
6588 | (packagemeta::trustp): Ditto. | |
6589 | ||
b566778e CF |
6590 | 2002-01-21 Christopher Faylor <cgf@redhat.com> |
6591 | ||
6592 | * choose.h (view): Move forward declaration of views into public area | |
6593 | or g++ v3 will complain. | |
6594 | ||
f71e9756 CF |
6595 | 2002-01-21 Christopher Faylor <cgf@redhat.com> |
6596 | ||
6597 | * Makefile.in (CXXFLAGS): Add -fno-exceptions. | |
6598 | * win32.h (alloca): Define as __builtin_alloca. | |
6599 | * io_stream_memory.cc: Add include file. | |
6600 | ||
e9440f0f RC |
6601 | 2002-01-21 Robert Collins <rbtcollins@hotmail.com> |
6602 | ||
58b12a06 MB |
6603 | * archive_tar.cc (archive_tar::~archive_tar): Mark the stream as |
6604 | destroyed. | |
e9440f0f RC |
6605 | * archive_tar_file.cc (archive_tar_file::~archive_tar_file): Ditto. |
6606 | * compress.cc (compress::~compress): Be less verbose. | |
6607 | * compress_bz.cc (compress_bz::~compress_bz): Ditto. | |
6608 | Mark the stream as destroyed. | |
58b12a06 MB |
6609 | * compress_gz.cc (compress_gz::~compress_gz): Mark the stream as |
6610 | destroyed. | |
6611 | * io_stream.cc (io_stream::~io_stream): Only warn when the stream is not | |
6612 | marked as destroyed. | |
cef493d7 | 6613 | * io_stream_cygfile.cc (io_stream_cygfile::~io_stream_cygfile): Mark the |
e9440f0f RC |
6614 | stream as destroyed. |
6615 | * io_stream_file.cc (io_stream_file::~io_stream_file): Ditto. | |
6616 | * io_stream_memory.cc (io_stream_memory::~io_stream_memory): Ditto. | |
cef493d7 | 6617 | |
5e0464a1 RC |
6618 | 2002-01-21 Robert Collins <rbtcollins@hotmail.com> |
6619 | ||
6620 | * Makefile.in (CFLAGS): Allow customisable malloc debug flags. | |
6621 | (OBJS): Link in malloc objects. | |
6622 | * category.cc (category): Use new char, not strdup. | |
6623 | * choose.cc (pick_pkg_line::paint): Allow for the regionsize to shrink. | |
6624 | (do_choose): Use new char, not malloc. | |
6625 | * concat.cc (vconcat): Ditto. | |
6626 | * cygpackage.cc (cygpackage): Use new char, not strdup. | |
6627 | (set_canonical_version): Ditto. | |
6628 | (cygpackage::destroy): Use delete[], not free. | |
6629 | * desktop.cc (uexists): Ditto. | |
6630 | * dialog.cc (egest): Use new char, not strdup. | |
6631 | * dlmalloc.c: New file - Doug Lea's malloc 2.7.0 | |
6632 | * hash.cc (hash::hash): Use delete instead of free. | |
6633 | (hash::add): Use new char, not strdup. | |
6634 | * ini.cc (do_remote_ini): Use delete[] not free. | |
6635 | * inilex.l: Use new char, not strdup. | |
6636 | (ini_init): Ditto. | |
6637 | * iniparse.y: Ditto. | |
6638 | Use a local package_db rather than a static one. | |
6639 | * install.cc (struct mallinfo): Workaround an apparent dlmalloc bug. | |
6640 | (do_install_thread): Call mallinfo to force a consistency check. Appears | |
6641 | to fix a 'inuse' error in -DDEBUG builds. | |
6642 | Use delete[] for strings. | |
58b12a06 MB |
6643 | * io_stream_cygfile.cc (io_stream_cygfile::io_stream_cygfile): Use new |
6644 | char, not strdup. | |
5e0464a1 RC |
6645 | (io_stream_cygfile::~io_stream_cygfile): Use delete[], not free. |
6646 | (io_stream_cygfile::remove): Use new char, not strdup. | |
58b12a06 MB |
6647 | * io_stream_file.cc (io_stream_file::io_stream_file): Use new char, not |
6648 | strdup. | |
5e0464a1 RC |
6649 | (io_stream_file::io_stream_file): Use delete[], not free. |
6650 | (io_stream_file::remove): Use new char, not strdup. | |
6651 | * io_stream_memory.cc (memblock::~memblock): Use delete[], not free. | |
6652 | * io_stream_memory.h (memblock): Use new char, not malloc. | |
6653 | * localdir.cc (LocalDirPage::OnInit): Use new char, not strdup. | |
6654 | * main.cc (WinMain): Use new char, not strdup. | |
6655 | * mount.cc (find2): Use new char, not malloc. | |
6656 | (read_mounts): Ditto. | |
6657 | (cygpath): Use new char, not strdup. | |
6658 | * netio.cc (NetIO::~NetIO): Use delete[], not free. | |
6659 | (NetIO::set_url): Use new char, not strdup. | |
6660 | (NetIO::get_ftp_auth): Use delete[], not free. | |
6661 | * nio-ftp.cc (NetIO_FTP::NetIO_FTP): Ditto. | |
6662 | Use new char instead of strdup. | |
6663 | * nio-http.cc (base64_encode): Use new char, not malloc. | |
6664 | * package_meta.cc (hash::add_subdirs): Use new char instead of strdup. | |
6665 | * package_source.h (~ packagesource): Use delete[] instead of delete. | |
6666 | * port.h (strdup): Deprecate the use of strdup. | |
6667 | * rfc1738.cc (rfc1738_do_escape): Use new char, not calloc. | |
6668 | * script.cc (init_run_script): Us delete[], not free. | |
6669 | (run_script): Ditto. | |
6670 | * simpsock.cc (SimpleSocket::fill): Use new char, not malloc. | |
6671 | (SimpleSocket::invalidate): Use delete[], not free. | |
6672 | * site.cc (site_list_type::init): Use new char instead of strdup. | |
6673 | * site.h (~site_list_type): Use delete[], not free. | |
6674 | ||
ad3c7385 RC |
6675 | 2002-01-20 Robert Collins <rbtcollins@hotmail.com> |
6676 | ||
6677 | * Makefile.in (OBJS): Add win32.o - win32 support functions. | |
6678 | * README: Update todos. | |
58b12a06 MB |
6679 | * archive.cc (extract_file): Support a suffix for appending to extracted |
6680 | files. | |
ad3c7385 RC |
6681 | * archive.h: Ditto. |
6682 | * choose.cc (set_view_mode): Use the new view::views class. | |
6683 | (view::views::Unknown): New static for defaulting view::views variables. | |
6684 | (view::views::PackageFull): New static for the current view. | |
6685 | (view::views::Package): Ditto. | |
6686 | (view::views::Category): Ditto. | |
6687 | (topbucket::paint): Remove. | |
6688 | (topbucket::empty): Rename to pick_category_line::empty. | |
6689 | (topbucket::~topbucket): Remove. | |
6690 | (paint): Use the new view::views class. | |
6691 | Don't paint 'all' as a category when showing package categoies. | |
6692 | (pick_category_line::actiontext): New method. | |
58b12a06 MB |
6693 | (pick_category_line::paint): Make showing the category optional, and |
6694 | show the 'category action'. | |
ad3c7385 | 6695 | (pick_category_line::click): Make showing the category optional, and |
58b12a06 MB |
6696 | differentiate between the name being clicked, and the action |
6697 | description. | |
ad3c7385 RC |
6698 | (view::view): Use the new view::views class. |
6699 | (view::set_view_mode): Ditto. | |
6700 | (view::mode_caption): Ditto. | |
6701 | (view::views::caption): New method. | |
6702 | (view::set_headers): Use the new view::views class. | |
6703 | (view::clear_view): Ditto. | |
cef493d7 | 6704 | (viewsplusplus): Replaced by |
ad3c7385 RC |
6705 | (view::views::operator++): New operator. |
6706 | (set_view_mode): Use the new view::views class. | |
6707 | (create_listview): Ditto. | |
6708 | (dialog_cmd): Ditto. | |
6709 | * choose.h (actions): Remove. | |
6710 | (views): Remove. | |
6711 | (pick_line): Add a new convenience constructor. | |
6712 | (top_bucket): Remove. | |
6713 | (pick_category_line): Reparent under pick_line, and adsorb top_bucket. | |
6714 | (view::views): New class. | |
6715 | * ini.h: Don't include choose.h | |
6716 | (is_download_action): Remove. | |
6717 | (is_upgrade_action): Remove. | |
6718 | (is_uninstall_action): Remove. | |
6719 | (is_full_action): Remove. | |
6720 | * install.cc (num_replacements): New static. | |
6721 | (rebootneeded): Ditto. | |
6722 | (replace_one): Handle upgrades separate from removal or new installs. | |
6723 | (install_one_source): Handle in use files. | |
6724 | (install_one): Don't repeat upgrades. | |
6725 | (do_install_thread): Initialize new statics. | |
6726 | Order actions as uninstall, replace, install. | |
6727 | Warn about rebooting if needed. | |
6728 | * res.rc (IDS_REBOOT_REQUIRED): New string. | |
6729 | * resource.h (IDS_REBOOT_REQUIRED): Give value. | |
6730 | * win32.h: Declare class Win32, and update copyright and intent message. | |
6731 | * win32.cc: New file. | |
6732 | ||
edef4f57 CV |
6733 | 2002-01-15 Corinna Vinschen <corinna@vinschen.de> |
6734 | ||
6735 | * io_stream.cc (io_stream::gets): Eliminate trailing new line chars. | |
6736 | * package_meta.cc (packagemeta::uninstall): Check for additional | |
6737 | Windows shortcut. Unset R/O file attribute before trying to delete | |
6738 | file. | |
6739 | ||
21f325d7 RC |
6740 | 2002-01-09 Robert Collins <rbtcollins@hotmail.com> |
6741 | ||
58b12a06 MB |
6742 | * choose.cc (pkgtrustp): Fall back to installed if a package is not |
6743 | present in the current trust level. For prev, fall back via curr. | |
21f325d7 RC |
6744 | (set_existence): Allow sources with no sites, but cached files to be |
6745 | kept. | |
6746 | (pick_category_line::paint): Start drawing clickable categories. | |
6747 | * fromcwd.cc (found_file): Reinstate local file scanning. | |
6748 | ||
858f100d RC |
6749 | 2002-01-07 Gary R. Van Sickle <g.r.vansickle@worldnet.att.net> |
6750 | ||
cef493d7 | 6751 | * fromcwd.cc: Run indent. |
858f100d RC |
6752 | (do_fromcwd): Reverse sense of comment. Set next_dialog |
6753 | to IDD_CHOOSER instead of IDD_CHOOSE. | |
6754 | * ini.cc (find_routine): Remove "/" from "/setup.ini". | |
cef493d7 | 6755 | |
d343da15 RC |
6756 | 2001-01-07 Robert Collins <rbtcollins@hotmail.com> |
6757 | ||
6758 | * category.cc (Categorycmp): Add a const safe version. | |
6759 | * category.h (Categorycmp): Add a const safe version. | |
6760 | (Category): Add operator ==. | |
6761 | * choose.cc (fill_missing_category): Add every package to "All". | |
58b12a06 MB |
6762 | (pick_category_line::paint): Add support for hidden labels, and a tree |
6763 | depth. | |
d343da15 RC |
6764 | (pick_category_line::click): Ditto. |
6765 | (view::view): Pass in a top level category to use. | |
6766 | (view::insert_pkg): Special case - skip category "All". | |
6767 | (view::insert_category): Ditto. | |
6768 | (view::clear_view): Set the contents label state. | |
6769 | (create_listview): Pass in a top level category to view(). | |
6770 | * choose.h (topbucket): Make bucket available to derived classes. | |
6771 | (pick_category_line): Add support for hidden labels, and a tree depth. | |
6772 | Remove our second copy of bucket. | |
6773 | (view): Pass in a top level category to the constructor. | |
6774 | Use pick_category_line to allow three level display. | |
6775 | ||
bcf20115 RC |
6776 | 2001-01-06 Robert Collins <rbtcollins@hotmail.com> |
6777 | ||
6778 | * cygpackage.h (cygpackage): Make set_[s|l]desc virtual. | |
6779 | * iniparse.y (add_correct_version): Copy descriptions across. | |
58b12a06 MB |
6780 | * package_meta.cc (SDesc): Iterate through versions, return the first |
6781 | with a description. | |
bcf20115 RC |
6782 | * package_version.h (packageversion): Add new virtuals set_[l|s]desc. |
6783 | ||
bc78a6d5 RC |
6784 | 2001-01-04 Robert Collins <rbtcollins@hotmail.com> |
6785 | ||
6786 | * script.cc (run_script): Change cygpath:// to cygfile://. | |
6787 | * install.cc (do_install_thread): Fix off-by-one errors. | |
6788 | ||
4f4e55c2 RC |
6789 | 2001-01-04 Robert Collins <rbtcollins@hotmail.com> |
6790 | ||
6791 | * package_db.cc (packagedb::flush): Fix an off-by-one error. | |
6792 | ||
8e9aa511 RC |
6793 | 2002-01-04 Jan Nieuwenhuizen <janneke@gnu.org> |
6794 | ||
6795 | * Makefile.in (realclean): more clean. | |
6796 | (OBJS): Add script.o. | |
6797 | * postinstall.cc (run_script_in_etc_postinstall): New function. | |
6798 | (do_postinstall): Split off new funtion init_run_script (). | |
6799 | (init_run_script): | |
6800 | (run): | |
6801 | (run_script): Move to script.cc. Replace some deprecated remove | |
6802 | and move calls. | |
6803 | * script.h: | |
6804 | * script.cc: New file. | |
6805 | * Forward port cygwin-20010707.jcn3.patch. | |
6806 | * package_meta.cc (uninstall): Run pre- and postremove scripts. | |
6807 | * install.cc: Typo fix. | |
6808 | (do_install): Run script initialisation. | |
cef493d7 | 6809 | |
b7301c43 RC |
6810 | 2001-01-04 Gary R. Van Sickle <g.r.vansickle@worldnet.att.net> |
6811 | ||
6812 | * cistring.cc: Run d2u. | |
6813 | * cistring.h: Run d2u. | |
6814 | ||
6815 | * desktop.cc (etc_profile): Remove "test -f ./.bashrc && . ./.bashrc" | |
6816 | from the generated /etc/profile. Bash will source this file | |
6817 | automatically, and having this here merely results in .bashrc being | |
6818 | executed twice. Run d2u. | |
6819 | * desktop.h: Run d2u. | |
6820 | ||
6821 | * propsheet.cc: Run d2u. | |
6822 | (PropSheetProc): New function. Add minimize box here instead of in | |
6823 | PropertyPage::DialogProc. | |
6824 | (PropSheet::Create): Change to use creation callback PropSheetProc. | |
6825 | (DLGTEMPLATEEX): Add 'hidden' Windows struct definition. | |
6826 | ||
6827 | * propsheet.h: Run indent, d2u. | |
6828 | * proppage.h: Run indent, d2u. | |
6829 | ||
6830 | * proppage.cc: Run d2u. | |
6831 | (PropertyPage::DialogProc): Remove minimize-box-adding | |
6832 | functionality. Remove commented-out "PropSheet_SetWizButtons" calls. | |
6833 | Add support for calling virtual OnMessageCmd. Add setting of fonts in | |
6834 | WM_INITDIALOG handler. | |
6835 | (resource.h): New include for resource IDs. | |
6836 | ||
6837 | * res.rc: Resize and rearrange property page dialog templates | |
6838 | to bring them in line with "Microsoft's Backward Compatible Wizard 97" | |
6839 | specification. Run d2u. | |
6840 | (IDD_SITE): Add an edit control and an "Add" button in order to | |
6841 | combine the IDD_SITE and IDD_OTHER_URL functionality onto one page. | |
6842 | (IDD_OTHER_URL): Remove dialog template. | |
6843 | (IDD_DLSTATUS): Remove dialog template. | |
6844 | ||
6845 | * site.cc: Run d2u. | |
6846 | (SitePage::OnBack): Remove NEXT() macro invocation. | |
6847 | (SitePage::OnActivate): New member function. | |
6848 | (load_dialog): Remove. Functionality subsumed into | |
6849 | SitePage::OnActivate. | |
6850 | (save_dialog): Change to support both list and user URLs. Remove | |
6851 | OTHER_IDX and mirror_idx logic. | |
6852 | (SitePage::PopulateListBox): New member function. | |
6853 | (SitePage::CheckControlsAndDisableAccordingly): New member function. | |
6854 | (SitePage::OnMessageCmd): New override. | |
6855 | (check_if_enable_next): Remove. | |
6856 | (dialog_cmd): Remove. | |
6857 | (do_download_site_info_thread): Remove calls to NEXT() macro. | |
6858 | (SitePage::Create): Call the single-param PropertyPage::Create | |
6859 | overload. | |
6860 | (other_url): New static taken from other.cc. | |
6861 | (SitePage::OnNext): Remove mirror_idx logic. | |
6862 | (SitePage::OnInit): Remove "Other URL" entry from list box. Remove | |
6863 | list box populating code, now handled in SitePage::PopulateListBox. | |
6864 | (mirror_idx, NO_IDX, OTHER_IDX): Remove. | |
6865 | (save_site_url): Fix potential buffer overflow problem. Switched to | |
6866 | TCHAR in grossly premature preparation for multilingual support. | |
6867 | * site.h: Run d2u. | |
6868 | (SitePage::OnActivate): New member function. | |
6869 | (SitePage::CheckControlsAndDisableAccordingly) New member. | |
6870 | (SitePage::OnMessageCmd): New override. | |
6871 | (do_download_site_info_thread): Add MessageBox call on failure to | |
6872 | download site list. | |
6873 | ||
6874 | * splash.cc: Run d2u. | |
6875 | (SplashPage::OnInit): Set the font for the title. | |
6876 | * splash.h: Run d2u. | |
6877 | ||
6878 | * threebar.cc: Run d2u. | |
6879 | * threebar.h: Run d2u. | |
6880 | ||
6881 | * window.h: Run d2u. | |
6882 | (Window::IsButtonChecked): New member function declaration. | |
6883 | (Window::OnMessageCmd): New member function. | |
6884 | (Window::SetDlgItemFont): New member function declaration. | |
6885 | (Window::MAXFONTS, Window::Fonts, Window::FontCounter): New data | |
6886 | members. | |
6887 | * window.cc: Run d2u. | |
6888 | (Window::IsButtonChecked): New member function definition. | |
6889 | (Window::SetDlgItemFont): New member function definition. | |
6890 | (Window::Window): Add initialization for FontCounter. | |
6891 | (Window::~Window): Delete any fonts we created. | |
6892 | ||
6893 | * geturl.cc: Run d2u. | |
6894 | (progress): Remove the "3" field width from the "%3d" | |
6895 | percent-complete format indicator. Causes line to not start at | |
6896 | beginning of text box, and does little to help with "jumping", since | |
6897 | the "bytes downloaded so far" field is variable-width anyway. Change | |
6898 | kb/s format field to "%03.1" to 0-pad the kb/s number in the event of | |
6899 | painfully slow connections, or temporary slowdowns in faster | |
6900 | connections should such more-instantaneous functionality become | |
6901 | available. | |
6902 | ||
6903 | * net.h: Run d2u. | |
6904 | (NetPage::OnMessageCmd): New member function declaration. | |
6905 | (NetPage::CheckIfEnableNext): New member function declaration. | |
6906 | * net.cc: Run d2u. | |
6907 | (NetPage::OnMessageCmd): New member function definition. | |
6908 | (dialog_cmd): Remove, subsumed into NetPage::OnMessageCmd. | |
6909 | (check_if_enable_next): Remove. | |
6910 | (NetPage::CheckIfEnableNext): New member function, subsumes | |
6911 | check_if_enable_next. | |
6912 | (propsheet.h): Add include. | |
6913 | (NetPage::Init): Add call to CheckIfEnableNext. | |
6914 | (load_dialog): Remove call to check_if_enable_next. | |
6915 | (NetPage::Create): Call single-template-ID-parameter overload of | |
6916 | PropertyPage::Create instead of three-parameter one. | |
6917 | ||
6918 | * Makefile.in (OBJS): Remove other.o. | |
6919 | * other.cc: Remove file. | |
6920 | ||
df62e023 RC |
6921 | 2002-01-01 Robert Collins <rbtcollins@hotmail.com> |
6922 | ||
6923 | * README: Update TODO's. | |
6924 | * choose.cc (set_existence): Delete non installed packages with no | |
6925 | mirrors. | |
6926 | (fill_missing_category): Fix an off-by-one error. | |
cef493d7 | 6927 | (default_trust): Ditto. Also delete any unused categories. |
df62e023 RC |
6928 | (view::init_headers): Fix an off-by-one error. |
6929 | (set_view_mode): Ditto. | |
6930 | (set_view_mode): Ditto. | |
6931 | (create_listview): Ditto. | |
6932 | (dialog_cmd): Ditto. | |
6933 | (do_choose): Ditto. | |
6934 | * io_stream.cc: Indent. | |
6935 | * io_stream.h: Ditto. | |
6936 | * package_db.cc: Ditto. | |
6937 | * package_meta.h: Const correctness for SDesc (); | |
6938 | * proppage.cc: Run d2u and indent. | |
6939 | * propsheet.cc: Run d2u and indent. | |
6940 | * window.cc: Run d2u and indent. | |
6941 | * window.h: Run d2u and indent. | |
6942 | ||
cec57ee1 CF |
6943 | 2001-12-28 Christopher Faylor <cgf@redhat.com> |
6944 | ||
e98c531e | 6945 | * Makefile.in (iniparse.o): Accommodate newer bisons. |
cec57ee1 | 6946 | |
ab57ceaa RC |
6947 | 2001-12-23 Gary R. Van Sickle <g.r.vansickle@worldnet.att.net> |
6948 | ||
6949 | * window.h (Window): New file, new class. | |
6950 | * window.cc (Window): New file, new class. | |
6951 | ||
6952 | * threebar.h (ThreeBarProgressPage): New file, new class. | |
6953 | * threebar.cc (ThreeBarProgressPage): New file, new class. | |
6954 | ||
6955 | * splash.h (SplashPage): New file, new class. | |
6956 | * splash.cc (SplashPage): Replace file with implementation of new | |
6957 | class. | |
6958 | ||
6959 | * source.h (SourcePage): New file, new class. | |
6960 | * source.cc: Run indent. | |
6961 | (SourcePage): Add class implementation to this file. | |
6962 | (do_source): Remove, functionality subsumed by SourcePage::Create() | |
6963 | and SourcePage::OnDeactivate(). | |
cef493d7 | 6964 | (dialog_proc): Remove, functionality subsumed by |
ab57ceaa RC |
6965 | SourcePage::OnActivate(). |
6966 | ||
6967 | * site.h: Run indent. | |
6968 | (SitePage): Add class declaration. | |
6969 | * site.cc: Run indent. | |
6970 | (SitePage): Add class implementation. | |
6971 | (do_download_site_info_thread): New function. | |
6972 | (context): New var. Context info for do_download_site_info_thread(). | |
6973 | (do_download_site_info): New function. | |
6974 | (SitePage::Create, SitePage::OnInit SitePage::OnNext) | |
6975 | (SitePage::OnBack): SitePage class implementation.. | |
6976 | (dialog_cmd): Remove IDOK, ID_BACK, and IDCANCEL handlers, now handled | |
6977 | by SitePage members. | |
6978 | (dialog_proc): Remove, now handled by SitePage::OnInit and base class | |
6979 | functionality. | |
6980 | (do_site): Remove, now handled by do_download_site_info_thread() and | |
6981 | SitePage::OnNext functionality. | |
6982 | (get_site_list): Remove dismiss_url_status_dialog() call. | |
6983 | ||
6984 | * root.h (RootPage): New file, new class. | |
6985 | * root.cc: Run indent. | |
6986 | (dialog_cmd): Pass parent HWND parameter to note(), yesno(). | |
6987 | (dialog_proc): Remove. | |
6988 | (do_root): Remove | |
6989 | (dialog_cmd): Remove IDOK, ID_BACK, and IDCANCEL clauses from switch. | |
6990 | (RootPage::OnInit): New member function. Move get_root_dir() logic to | |
6991 | here from do_root(). | |
6992 | (RootPage::Create): New member function. | |
cef493d7 | 6993 | (RootPage::OnNext): New member function. Move IDOK logic from |
ab57ceaa RC |
6994 | dialog_cmd() to here. |
6995 | (RootPage::OnBack): New member function. | |
6996 | ||
6997 | * propsheet.h (PropSheet): New file, new class. | |
6998 | * propsheet.cc (PropSheet): New file, new class. | |
6999 | ||
7000 | * proppage.h (PropertyPage): New file, new class. | |
7001 | * proppage.cc (PropertyPage): New file, new class. | |
7002 | ||
7003 | * postinstall.cc (do_postinstall): Add owner parameter. | |
7004 | ||
7005 | * other.cc (do_other): Add owner parameter. | |
7006 | ||
7007 | * nio-file.cc (NetIO::Purl): Pass NULL parent param to note(). | |
cef493d7 | 7008 | * nio-ftp.cc (NetIO_FTP::NetIO_FTP): Pass NULL parent param to |
ab57ceaa | 7009 | get_ftp_auth(). |
cef493d7 | 7010 | * nio-http.cc (retry_get): Pass NULL parent param to get_auth(), |
ab57ceaa RC |
7011 | get_proxy_auth(), |
7012 | and get_ftp_auth(). | |
cef493d7 | 7013 | * nio-ie5.cc (NetIO::_url): Pass NULL parent param to note(), |
ab57ceaa RC |
7014 | get_auth(), get_proxy_auth(). |
7015 | ||
7016 | * netio.h (get_auth, get_proxy_auth, get_ftp_auth): Add owner param. | |
cef493d7 | 7017 | * netio.cc (auth_common, NetIO::get_auth, NetIO::get_proxy_auth, |
ab57ceaa RC |
7018 | NetIO::get_ftp_auth) |
7019 | (auth_common): Add owner param. Pass owner param to DialogBox. | |
cef493d7 | 7020 | (NetIO::get_auth, NetIO::get_proxy_auth, NetIO::get_ftp_auth): Pass |
ab57ceaa RC |
7021 | owner param to auth_common(). |
7022 | ||
7023 | * net.h (NetPage): New file, new class. | |
7024 | * net.cc: Run indent. | |
7025 | (net.h, threebar.h): Add includes. | |
7026 | (Progress): Add extern. | |
7027 | (dialog_cmd): Remove IDOK, IDC_BACK, and IDCANCEL cases, now handled by | |
7028 | property sheet logic. Saved temporarily for reference. | |
cef493d7 | 7029 | (NetPage::Create, NetPage::OnInit, NetPage::OnDeactivate, |
ab57ceaa RC |
7030 | NetPage::OnNext, NetPage::OnBack): |
7031 | New implementation of NetPage class members. | |
7032 | (do_net): Remove. | |
7033 | (dialog_proc): Remove. | |
7034 | ||
7035 | * msg.h (fatal, note, yesno): Add owner param. | |
7036 | * msg.c (fatal, note, yesno, mbox): Add owner param. | |
7037 | (mbox): Remove MB_TOPMOST from MessageBox call. Unnecessary and wrong | |
7038 | now that we have a parent. | |
7039 | ||
7040 | * main.cc: Run indent. | |
cef493d7 | 7041 | (commctrl.h, proppage.h, propsheet.h, splash.h, source.h) |
ab57ceaa RC |
7042 | (localdir.h, net.h, site.h, choose.h, threebar.h, desktop.h): Include |
7043 | headers. | |
7044 | (root_dialog_proc): extern into this file. | |
7045 | (Progress): Progress dialog defined here, used in several other files. | |
7046 | (WinMain): Instantiate and create Splash, Source, Root, LocalDir, Net, | |
7047 | Site, Chooser, Desktop pages and MainWindow sheet. Call | |
7048 | InitCommonControls() to make sure Windows is set up for our use of | |
7049 | property sheets. Add pages to sheet. | |
7050 | Call MainWindow.Create() to "DoModal". Remove main loop, that logic is | |
7051 | now handled by the PropSheet class. | |
7052 | (root.h): Add include. | |
7053 | ||
7054 | * log.cc (log_save): Pass NULL parent to fatal(). | |
7055 | (exit_setup): Pass NULL parent to note(). | |
7056 | ||
7057 | * localdir.h (LocalDirPage): New file, new class. | |
7058 | * localdir.cc: Run indent. | |
7059 | (localdir.h): New include. | |
7060 | (threebar.h): New include. | |
7061 | (Progress): extern into this file. | |
7062 | (LocalDirPage::Create, LocalDirPage::OnInit, LocalDirPage::OnActivate) | |
cef493d7 | 7063 | (LocalDirPage::OnNext, LocalDirPage::OnBack): Implementation of |
ab57ceaa RC |
7064 | LocalDirPage. |
7065 | (LocalDirPage::OnNext): Move log() call from do_local_dir() to here. | |
7066 | (dialog_cmd): Remove IDOK, ID_BACK, and IDCANCEL handlers. | |
7067 | (do_local_dir): Remove. | |
7068 | (dialog_proc): Remove. | |
7069 | (cwd): Remove, not used by anything. | |
7070 | ||
7071 | * install.cc: Run indent. | |
7072 | (process.h, threebar.h): New includes. | |
7073 | (Progress): extern into this file. | |
7074 | (ins_dialog, ins_action, ins_pkgname, ins_filename, ins_pprogress) | |
7075 | (ins_iprogress, ins_diskfull, init_event): Remove, now handled by | |
7076 | ThreeBarProgressPage. | |
cef493d7 | 7077 | (dialog_cmd, dialog_proc, dialog): Removed, handled in |
ab57ceaa | 7078 | ThreeBarProgressPage. |
cef493d7 CF |
7079 | (init_dialog): Remove all mention of the above ins_* handles. Now |
7080 | handled in ThreeBarProgressPage. Altered SetWindowText()s to call | |
ab57ceaa RC |
7081 | ThreeBarProgressPage instance Progress directly. |
7082 | (progress): Alter bar update logic to call ThreeBarProgressPage | |
7083 | instance Progress directly. | |
7084 | (uninstall_one): Alter SetWindowText()s to call ThreeBarProgressPage | |
7085 | instance Progress directly. | |
cef493d7 | 7086 | (install_one_source): Alter SetWindowText()s to call |
ab57ceaa RC |
7087 | ThreeBarProgressPage |
7088 | instance Progress directly. Pass NULL parent to note(). | |
cef493d7 | 7089 | (do_install_thread): Rename from do_install(), added owner param. |
ab57ceaa RC |
7090 | Alter SetWindowText()s to call ThreeBarProgressPage instance Progress |
7091 | directly. | |
7092 | Remove dismiss_url_status_dialog() call, no longer necessary. Remove | |
cef493d7 | 7093 | ShowWindow(<hide>) call, also unnecessary now. Pass owner handle to |
ab57ceaa RC |
7094 | fatal(). |
7095 | (do_install_reflector): New function. | |
7096 | (do_install): New function. | |
7097 | ||
7098 | * ini.cc (process.h, threebar.h): New includes. | |
7099 | (Progress): externed into this file. | |
7100 | (find_routine): Pass NULL parent to note(). | |
7101 | (do_local_ini): Add owner param. | |
cef493d7 | 7102 | (do_remote_ini): Add owner param. Pass owner to get_url_to_membuf() |
ab57ceaa RC |
7103 | and note(). Remove call to dismiss_url_status_dialog(). |
7104 | (do_ini_thread): Rename from do_ini(). Add owner param. Pass owner to | |
cef493d7 | 7105 | do_local_ini(), do_remote_ini(), yesno(), and note(). Set next_dialog |
ab57ceaa RC |
7106 | to IDD_CHOOSER on exit. |
7107 | (do_ini_thread_reflector): New function. | |
7108 | (context): New var. Context for do_ini_thread. | |
7109 | (do_ini): New function. | |
7110 | ||
7111 | * geturl.h (get_url_to_membuf, get_url_to_string, get_url_to_file): Add | |
7112 | owner param. | |
cef493d7 | 7113 | * geturl.cc (gw_dialog, gw_url, gw_rate, gw_progress, gw_pprogress, |
ab57ceaa | 7114 | gw_iprogress) |
cef493d7 | 7115 | (gw_progress_text, gw_pprogress_text, gw_iprogress_text, init_event): |
ab57ceaa RC |
7116 | Removed. |
7117 | (threebar.h): New include. | |
7118 | (Progress): externed into this file. | |
cef493d7 | 7119 | (dialog_cmd, dialog_proc, dialog): Removed, handled by |
ab57ceaa | 7120 | ThreeBarProgressPage now. |
cef493d7 | 7121 | (init_dialog): Remove "if (gw_dialog == 0)" clause. Alter |
ab57ceaa | 7122 | SetWindowText()s |
cef493d7 | 7123 | and bar setting SendMessage()s to call ThreeBarProgressPage instance |
ab57ceaa RC |
7124 | Progress directly. Remove "one bar only" logic, this is now handled |
7125 | explicitly in the ThreeBarProgressPage class. | |
cef493d7 | 7126 | (progress): Altered bar and text update logic to call |
ab57ceaa RC |
7127 | ThreeBarProgressPage instance Progress directly. Changed kbps |
7128 | calculation to floating point and now print out a single decimal | |
7129 | place. | |
7130 | (get_url_to_membuf): Add owner param. Pass it to init_dialog. | |
7131 | (get_url_to_string): Add owner param. Pass it to get_url_to_membuf. | |
cef493d7 | 7132 | (get_url_to_file): Add owner param. Pass it to init_dialog. Alter bar |
ab57ceaa RC |
7133 | update logic to call ThreeBarProgressPage instance Progress directly. |
7134 | (dismiss_url_status_dialog): Remove. | |
7135 | ||
7136 | * fromcwd.cc (do_fromcwd): Add owner param. Initialize found_ini to | |
7137 | false, was true. | |
7138 | ||
7139 | * download.cc: Run indent. | |
7140 | (process.h, threebar.h): New includes. | |
7141 | (Progress): externed into this file. | |
7142 | (download_one): Add owner param. Pass it to get_url_to_file(). | |
7143 | (do_download_thread): Renamed from do_download. Add owner param. When | |
7144 | calculating total_download_bytes, take binpicked and srcpicked into | |
7145 | account. Remove call to dismiss_url_status_dialog(), no longer needed. | |
7146 | Pass owner handle to download_one() and yesno(). | |
7147 | (do_download_reflector, do_download): New functions. | |
7148 | (context): New var. Context for do_download_thread(). | |
7149 | ||
7150 | * dialog.h (D(x)): Add owner param. | |
7151 | ||
7152 | * desktop.h (DesktopSetupPage): New file, new class. | |
7153 | * desktop.cc: Run indent. | |
7154 | (desktop.h): Add include. | |
cef493d7 | 7155 | (dialog_proc, do_desktop): Remove, now handled in |
ab57ceaa RC |
7156 | DesktopSetupPage::OnInit(). |
7157 | (dialog_cmd): Remove IDOK, IDC_BACK, and IDCANCEL cases, handled in | |
7158 | DesktopSetupPage::OnFinish(), DesktopSetupPage::OnBack(), and PropSheet | |
7159 | resp. | |
7160 | (DesktopSetupPage::Create, DesktopSetupPage::OnInit) | |
7161 | (DesktopSetupPage::OnBack, DesktopSetupPage::OnFinish): Implementation | |
7162 | of DesktopSetupPage. | |
7163 | ||
7164 | * cistring.h: New file, new class. | |
7165 | * cistring.cc: New file, new class. | |
7166 | ||
7167 | * choose.h: Run indent. | |
7168 | (Chooser): New class declaration. | |
7169 | * choose.cc: Run indent. | |
cef493d7 | 7170 | (do_choose): Add owner param. Pass it to DialogBox() and |
ab57ceaa RC |
7171 | fatal(). |
7172 | (Chooser): New class implementation. | |
7173 | ||
7174 | * res.rc (IDS_VERSION_INFO): New string. | |
7175 | (IDD_SOURCE, IDD_LOCAL_DIR, IDD_ROOT, IDD_SITE, IDD_OTHER_URL) | |
7176 | (IDD_DLSTATUS, IDD_INSTATUS, IDD_SPLASH, IDD_CHOOSE, IDD_DESKTOP): | |
7177 | Change WS_POPUP to WS_CHILD. Numerous positioning/size changes | |
7178 | throughout. | |
7179 | (IDD_CHOOSE): Give template the WS_EX_CONTROLPARENT style to enable | |
7180 | TAB control navigation etc. Give the controls a reasonable tab order. | |
7181 | Grouped radio buttons. Something's still not right, can't tab away | |
7182 | from back/next/cancel group reliably. | |
7183 | * resource.h (IDD_CHOOSER): New dialog ID. | |
7184 | ||
7185 | * Makefile.in (OBJS): Add cistring.o, proppage.o, propsheet.o, | |
7186 | threebar.o, and window.o. | |
7187 | ||
cc41a057 RC |
7188 | 2001-12-21 Robert Collins <rbtcollins@hotmail.com> |
7189 | ||
58b12a06 MB |
7190 | * choose.cc (listview_proc): Update the scrollbar when the headers are |
7191 | dragged. | |
cc41a057 RC |
7192 | (pick_pkg_line::paint): Clip columns to prevent overlap. |
7193 | ||
cbfc4215 RC |
7194 | 2001-12-20 Robert Collins <rbtcollins@hotmail.com> |
7195 | ||
7196 | * Makefile.in: Add libcomctl32.a for setup.exe. | |
7197 | * archive.h (archive): Prevent non-child direct creation of the class. | |
58b12a06 MB |
7198 | * archive_tar.h (archive_tar): Prevent inaccurate synthetic copy and |
7199 | assignment. | |
cbfc4215 RC |
7200 | * choose.cc: Include commctrl for the choose header. |
7201 | (NEW_COL_SIZE_SLOP): Define without magic numbers. | |
7202 | (pkgtrustp): Convert to function. | |
7203 | (set_action): Remove. | |
cef493d7 | 7204 | (add_required, fill_missing_category,default_trust): Use list syntax for |
cbfc4215 RC |
7205 | package list. |
7206 | Use new set_action. | |
7207 | (choose_caption): Remove. | |
7208 | (topbucket::paint): New method. | |
7209 | (topbucket::empty): Ditto. | |
7210 | (topbucket::click): Ditto. | |
7211 | (topbucket::~topbucket): Ditto. | |
7212 | (paint): Remove i,ii and p as they are obsolete. | |
7213 | Remove header drawing code. | |
7214 | Use new chooser method to paint the chooser. | |
7215 | Use new chooser itemcount method. | |
7216 | (scroll_common): Rename to view::scroll. | |
7217 | Scroll the header window separately. | |
58b12a06 MB |
7218 | (list_vscroll, list_hscroll, list_click): Update for new chooser |
7219 | methods. | |
cbfc4215 RC |
7220 | (listview_proc): Look for header messages. |
7221 | (note_width): Accept stringless calls. | |
7222 | (pick_line::set_line): Remove. | |
7223 | (pick_line::paint): Remove. | |
58b12a06 MB |
7224 | (pick_pkg_line::paint): Paint this one line, using the header column |
7225 | widths. | |
7226 | (pick_category_line::paint): Paint this category, and anything in the | |
7227 | bucket. | |
cbfc4215 RC |
7228 | (pick_line::click): Remove. |
7229 | (pick_pkg_line::click): Handle a click. | |
7230 | (pick_category_line::click): Handle a click. | |
7231 | (_view): Rename all to view. | |
7232 | (view::view): Initialise the control contents. | |
7233 | (view::set_headers): Work with the header control. | |
7234 | (view::init_headers): Use list syntax for package list. | |
7235 | Rearrange the width logic a little. | |
7236 | (view::insert_pkg): Update to use the hierarchy. | |
7237 | (view::insert_category): Ditto. | |
7238 | (view::insert_at, view::insert_under): Remove. | |
7239 | (view::clear_view): Update to use the hierarchy. | |
7240 | (view::click): Update to use the hierarchy. | |
7241 | (set_view_mode): Use list syntax for package list. | |
7242 | Update for new chooser methods. | |
7243 | (DoInsertItem): New helper function. (Needs a home somewhere). | |
58b12a06 MB |
7244 | (create_listview): Remove choose control code and use the constructor |
7245 | instead. | |
cbfc4215 RC |
7246 | (dialog_cmd,scan2,do_choose): Use list syntax for package list. |
7247 | * choose.h: Include newly required headers list and package_meta. | |
7248 | (_voew): Rename to view. | |
7249 | (pick_line): Convert to an ABC. | |
7250 | (pick_pkg_line): New class. | |
7251 | (pick_catgory_line): New class. | |
7252 | (topbucket): New class. | |
7253 | (view::scroll): New method created from listview_scroll function. | |
7254 | * desktop.cc (make_passwd_group): Use list syntax for package list. | |
7255 | * download.cc (do_download): Use list syntax for package list. | |
7256 | * fromcwd.cc (found_file): Use list syntax for package list. | |
7257 | * iniparse.y (pacakges): Use list syntax for package list. | |
7258 | * install.cc (uninstall_one): Use list syntax for package list. | |
7259 | (do_install): Use list syntax for package list. | |
58b12a06 MB |
7260 | * io_stream.h (io_stream): Prevent non-child direct creation of the |
7261 | class. | |
cbfc4215 RC |
7262 | Prevent inaccurate synthetic copy and assignment. |
7263 | * list.h: Include required header stdlib. | |
7264 | Work on const correctness. | |
7265 | * package_db.cc (packagedb::getpackagebyname): Remove. | |
7266 | (packagedb::packagedb): Remove custom list code, and make db a local. | |
7267 | (packagedb::getfirstpackage): Remove. | |
7268 | (packagedb::getnextpackage): Remove. | |
7269 | (packagedb::addpackage): Remove. | |
7270 | (flush): Remove custom list code. | |
7271 | (packagedb::registerpackage): Remove. | |
7272 | (packagedb::packages): New static member. | |
7273 | (packagedb::task): New static member. | |
7274 | * package_db.h (PackageDBActions): New enum. | |
7275 | (packagedb): Remove getfirstpackage, getnextpackage, getpackagebyname, | |
7276 | addpackage, registerpackage, packages, packagecount, curr_package, db. | |
7277 | Add packages, task. | |
7278 | * pacakge_meta.cc: Include package_db.h. | |
7279 | (packagemeta::action_caption): New method. | |
7280 | (packagemeta::set_action): New method. | |
7281 | * package_meta.h (CategoryPackage): Initialise key. | |
7282 | (packagemeta): Initialise key. | |
7283 | Add set_action and action_caption methods. | |
7284 | Prevent inaccurate synthetic copy and assignment. | |
7285 | * resource.h (IDC_CHOOSE_LISTHEADER): New ID. | |
7286 | * source.cc: Include package_db for db manipulation. | |
7287 | (save_dialog): Set the db task. | |
58b12a06 MB |
7288 | * win32.h: Tell the w32 include headers what IE version to |
7289 | expect/require. | |
cbfc4215 | 7290 | |
cd8e5750 RC |
7291 | 2001-12-06 Robert Collins <rbtcollins@hotmail.com> |
7292 | ||
7293 | * README: Wishlist updates. | |
7294 | ||
5519d243 RC |
7295 | 2001-12-04 Robert Collins <rbtcollins@hotmail.com> |
7296 | ||
7297 | * package_db.cc (getnextpackage): Don't overrun the array. | |
7298 | ||
de6a1a64 RC |
7299 | 2001-12-04 Robert Collins <rbtcollins@hotmail.com> |
7300 | ||
7301 | * Makefile.in (OBJS): Add setup_version.o. | |
7302 | (version.c): Rename to setup_version. | |
7303 | * choose.cc (set_action): Prevent NULL pointer dereference. | |
7304 | (package_sort): Remove. | |
7305 | * fromcwd.cc (canonicalize_version): Moved to version.cc. | |
58b12a06 MB |
7306 | (check_ini): New function for use with find to see if there is a cached |
7307 | setup.ini. | |
de6a1a64 RC |
7308 | (do_fromcwd): Check for a cached setup.ini from any mirror site. |
7309 | * ini.cc (find_routine): New function, for finding cached setup.ini's. | |
7310 | (do_local_ini): New function, drives parsing of local ini's. | |
58b12a06 MB |
7311 | (do_remote_ini): New function, drives parsing and caching of remote |
7312 | ini's. | |
de6a1a64 RC |
7313 | (do_ini): Move guts to do_remote_ini and do_local_ini. |
7314 | * list.h (removebyindex): New method. | |
7315 | * other.cc (save_dialog): Use new site_list and all_site_list to add the | |
7316 | new site to the site picklist. | |
7317 | (dialog_cmd): Only save the dialog when exiting the dialog. | |
7318 | * res.rc (IDD_SITE): Make IDC_URL_LIST a multiple-selection control. | |
7319 | * site.cc (site_list_type): Move to site.h | |
7320 | (site_list): New global, sites chosen by the user. | |
7321 | (all_site_list): New global, all potential sites. | |
58b12a06 MB |
7322 | (site_list_type::init): New method, parses a mirror.lst URL string into |
7323 | a site_list_type object. | |
de6a1a64 RC |
7324 | (site_list_type::site_list_type): New method. |
7325 | (check_if_enable_next): Examine the control, not a local variable. | |
7326 | (load_dialog): Select all the user chosen sites by default. | |
cef493d7 | 7327 | (save_dialog): Adjust for multiple selection semantics. |
de6a1a64 | 7328 | (save_site_url): Save all user chosen sites. |
58b12a06 MB |
7329 | (dialog_cmd): Don't save the dialog when the listbox recieves a message |
7330 | - thats not needed. | |
de6a1a64 RC |
7331 | Remove obsolete other_url reference. |
7332 | (dialog_proc): Use all_site_list instead of site_list. | |
7333 | (site_sort): Remove. | |
7334 | (get_site_list): Remove malloc use - use list template instead. | |
7335 | Move site_list_type initialisation to site_list_type::init(). | |
7336 | (get_initial_list_idx): Renamed to ... | |
7337 | (get_saved_sites): this. Also read in multiple sites to the site_list. | |
7338 | (do_site): Use all_site_list not site_list. | |
7339 | Log all chosen sites. | |
7340 | * site.h: New file, defines site related class, functions and variables. | |
7341 | * state.h: Add comment about use of state.h | |
7342 | (mirror_site): Remove. | |
7343 | (other_url): Remove. | |
7344 | (MIRROR_SITE): Remove. | |
7345 | * version.cc: New file, for version-handling and related functions. | |
7346 | ||
341988b9 RC |
7347 | 2001-12-02 Robert Collins <rbtcollins@hotmail.com> |
7348 | ||
7349 | * Makefile.in: Add filemanip.o to setup. | |
7350 | * archive.cc (archive::extract_file): Use new io_stream method 'copy'. | |
7351 | * archive_tar.h (archive_tar_file): Implement get_size virtual. | |
7352 | (archive_tar): Ditto. | |
58b12a06 MB |
7353 | * choose.cc (set_action): Use [] operator instead of getnth - its more |
7354 | readable. | |
341988b9 RC |
7355 | (paint): Ditto. |
7356 | (_view::init_headers): Ditto. | |
7357 | (_view::insert_pkg): Ditto. | |
7358 | (set_view_mode): Ditto. | |
7359 | (scan2): Ditto. | |
7360 | (do_choose): Ditto. | |
7361 | (base): Moved to filemanip.cc. | |
7362 | (find_tar_ext): Ditto. | |
7363 | (parse_filename): Ditto. | |
7364 | (_Info::_Info): Remove. | |
7365 | * compress_bz.h (compress_bz): Implement get_size virtual. | |
7366 | * compress_gz.h (compress_gz): Implement get_size virtual. | |
58b12a06 MB |
7367 | * cygpackage.cc (cygpackage::destroy): Use array delete for char * |
7368 | objects. | |
341988b9 | 7369 | * download.cc (get_file_size): Move to filemanip.cc. |
58b12a06 MB |
7370 | (check_for_cached): Use [] operator instead of getnth - its more |
7371 | readable. | |
341988b9 RC |
7372 | (download_one): Ditto. |
7373 | * filemanip.cc: New file. | |
58b12a06 MB |
7374 | * geturl.cc (init_dialog): Make url a pointer to const as it is not |
7375 | modified. | |
7376 | (get_url_to_membuf): New function - contains get_url_to_string worker | |
7377 | code. | |
341988b9 RC |
7378 | (get_url_to_string): Becomes a trivial wrapper to get_url_to_membuf. |
7379 | * geturl.h: Declare new prototype. | |
7380 | * ini.cc (do_ini): Use get_url_to_membuf and pass ini_init an io_stream. | |
7381 | Tidy up the error code a little. | |
7382 | * ini.h: Remove __cplusplus protection for ini_init. | |
7383 | (_Info): Remove. | |
7384 | * inilex.l: Remove old globals. | |
7385 | (ini_init): Use an io_stream for getting the characters. | |
7386 | (ini_getchar): Ditto. | |
7387 | * iniparse.y: Declare yylex as a C++ function. | |
58b12a06 MB |
7388 | (add_correct_version): Use [] operator instead of getnth - its more |
7389 | readable. | |
341988b9 RC |
7390 | * io_stream.cc (io_stream::move_copy): Use the copy method. |
7391 | (io_stream::copy): New method to simply copy from one stream to another. | |
58b12a06 MB |
7392 | * io_stream.h (io_stream): New static method copy, and virtual method |
7393 | get_size. | |
341988b9 RC |
7394 | * io_stream_cygfile.cc (io_stream_cygfile::get_size): Implement this. |
7395 | * io_stream_cygfile.h (io_stream_cygfile::get_size): Declare this. | |
7396 | * io_stream_file.cc (io_stream_file::get_size): Implement this. | |
7397 | * io_stream_file.h (io_stream_file::get_size): Declare this. | |
7398 | * io_stream_memory.h: Include errno as it's neded to parse the header. | |
7399 | (io_stream_memory::get_size): Implement this. | |
7400 | (io_stream_memory::st_size): Delete this. | |
7401 | * list.h: Change getnth into the [] operator. | |
58b12a06 MB |
7402 | * netio.cc (NetIO::NetIO): Change prototype to reflect Purl not being |
7403 | modified. | |
341988b9 RC |
7404 | (NetIO::set_url): Ditto. |
7405 | (NetIO::open): Ditto. | |
7406 | * netio.h: As for netio.cc. | |
58b12a06 MB |
7407 | * nio-file.cc (NetIO_File::NetIO_File): Change prototype to reflect |
7408 | Purl not being modified. | |
341988b9 RC |
7409 | * nio-file.h: Ditto. |
7410 | * nio-ftp.cc (NetIO_FTP::NetIO_FTP): Ditto. | |
7411 | * nio-ftp.h (NetIO_FTP::NetIO_FTP): Ditto. | |
7412 | * nio-http.cc (NetIO_HTTP::NetIO_HTTP): Ditto. | |
7413 | * nio-http.h (NetIO_HTTP::NetIO_HTTP): Ditto. | |
7414 | * nio-i5.cc (NetIO_IE5::NetIO_IE5): Ditto. | |
7415 | * nio-i5.h (NetIO_IE5::NetIO_IE5): Ditto. | |
7416 | * package_meta.cc (packagemeta::~packagemeta): Bugfix: use array delete. | |
7417 | * package_source.cc (packagesource::set_canonical): Ditto. | |
7418 | (packagesource::set_cached): Ditto. | |
7419 | * package_source.h (site::~site): Ditto. | |
58b12a06 MB |
7420 | * site.cc: Change site_list_type to a class, and search and replace |
7421 | sort_key to key globally. | |
341988b9 | 7422 | |
071c1c54 RC |
7423 | 2001-12-01 Robert Collins <rbtcollins@hotmail.com> |
7424 | ||
58b12a06 MB |
7425 | * package_source.cc (packagesource::set_canonical): Filename was out by |
7426 | one. | |
071c1c54 | 7427 | |
4fe323f9 RC |
7428 | 2001-11-30 Robert Collins <rbtcollins@hotmail.com> |
7429 | ||
7430 | * Makefile.in (OBJS): Remove category_list - it's not needed. | |
7431 | * README: More wishlist updates. | |
7432 | * category.cc (Category::Category): Initialise new members. | |
7433 | (Categorycmp): New function. | |
7434 | * category.h (Category): New member key for template use. | |
7435 | * category_list.cc: Remove. | |
7436 | * category_list.h: Remove. | |
7437 | (Categorycmp): New function prototype. | |
7438 | * choose.cc: Remove category_list - not needed. | |
cef493d7 | 7439 | (set_action): Only show the 'source' option when the source is actually |
4fe323f9 RC |
7440 | available. |
7441 | (add_required): Fix recursion limiter to 5. | |
7442 | (fill_missing_category): Use list access. | |
7443 | (default_trust): Ditto. | |
7444 | (pick_line::paint): Ditto. | |
7445 | (_view::init_headers): Ditto. | |
7446 | (_view::insert_pkg): Ditto. | |
7447 | (_view::insert_category): Ditto. | |
7448 | (_view::click): Ditto. | |
7449 | (set_view_mode): Ditto. | |
7450 | (do_choose): Ditto. | |
7451 | * cygpackage.h: Remove category_list - not needed. | |
7452 | * geturl.cc (get_url_to_string): Fix null byte insertion. | |
7453 | * inipatse.y: Remove category_list - not needed. | |
7454 | (categories): Use list access. | |
7455 | * package_db.cc: Ditto. | |
7456 | * package_db.h: Remove category_list - not needed. | |
7457 | (packagedb): Use the list template for categories. | |
7458 | * package_meta.cc (add_category): Ditto. | |
7459 | * package_meta.h (CategoryPackage): Link to the category as well. | |
cef493d7 | 7460 | (packagemeta): Use a list of CategoryPackages instead of Categories |
4fe323f9 RC |
7461 | for more memory efficient cross-referencing. |
7462 | ||
7d66d192 RC |
7463 | 2001-11-30 Robert Collins <rbtcollins@hotmail.com> |
7464 | ||
58b12a06 MB |
7465 | * package_db.cc (packagedb::flush): Write a canonical version for all |
7466 | packages irrespective of the media they were installed from. | |
7d66d192 | 7467 | |
bb849dbd RC |
7468 | 2001-11-29 Robert Collins <rbtcollins@hotmail.com> |
7469 | ||
7470 | * Makefile.in (OBJS): Add package_source and rfc1738. | |
7471 | * README: Wishlist update. | |
7472 | * category_list.cc (register_category): Use references. | |
7473 | * category_list.h (CategoryList): Ditto. | |
7474 | * choose.cc (isinstalled): Remove. | |
7475 | (pkgtrustp): New macro. | |
7476 | (set_action): Use packagemeta. | |
7477 | (add_required): Ditto. | |
58b12a06 MB |
7478 | (choose_caption): Example package to choose caption, rather than state |
7479 | flags. | |
bb849dbd RC |
7480 | (check_existence): Remove. |
7481 | (set_existence): Remove old code. | |
7482 | (fill_missing_category): Use packagemeta. | |
7483 | (keep_or_skip): Remove. | |
7484 | (default_trust): Use packagemeta and set trust values directly. | |
7485 | (pick_line::set_line): Use packagemeta. | |
7486 | (_view::insert_pkg): Ditto. | |
7487 | (_view::insert_category): Ditto. | |
7488 | (_view::click): Ditto. | |
7489 | (set_view_mode): Ditto. Also remove "exclude" code. | |
7490 | (create_listview): Use packagemeta. | |
7491 | (dialog_cmd): Ditto. | |
7492 | (getpkgbyname): Remove | |
7493 | (scan2): Use packagemeta. Temporarily comment out the holefinding code. | |
7494 | (read_installed_db): Remove. | |
7495 | (package_sort): Use packagemeta. | |
58b12a06 MB |
7496 | (do_choose): Use packagemeta. Don't sort the packages - the db does |
7497 | that. | |
bb849dbd RC |
7498 | * choose.h: Use packagemeta. |
7499 | * cygpackage.cc (cygpackage::cygpackage): Initialise all variables. | |
7500 | (cygpackage::cygpackage): Ditto. | |
7501 | (cygpackage::set_canonical_version): Copy the passed string. | |
7502 | (cygpackage::~cygpackage): Move cleanup code to destroy(). | |
7503 | (cygpackage::destroy): New function. | |
7504 | (cygpackage::getfirstfile): Use a separate buffer. | |
7505 | (cygpackage::getnextfile): Ditto. | |
7506 | (cygpackage::Canonical_version): New function. | |
7507 | (cygpackage::set_sdesc): Ditto. | |
7508 | (cygpackage::set_ldesc): Ditto. | |
7509 | * cygpackage.h (cygpackage::Canonical_version): New method. | |
7510 | (cygpackage::set_sdesc): New method. | |
7511 | (cygpackage::set_ldesc): New method. | |
7512 | (cygpackage::SDesc): New method. | |
7513 | (cygpackage::LDesc): New method. | |
7514 | (cygpackage::set_canonical_version): New method. | |
7515 | * desktop.cc: Include packagedb headers. | |
7516 | (make_password_group): Use packagemeta. | |
7517 | * download.cc: Include packagedb headers. | |
58b12a06 MB |
7518 | (check_for_cached): New method to find any cached file and fill out the |
7519 | database info. | |
bb849dbd RC |
7520 | (download_one): Take a packagesource, support multiple mirrors. |
7521 | (do_download): Use packagemeta. | |
7522 | * from cwd.cc: Include packagedb headers. | |
7523 | (found_file): Use packagemeta. | |
7524 | * ini.cc (do_ini): Beginning of multiple-mirror support. | |
7525 | * ini.h (CategoryPackage): Remove. | |
7526 | (Dependency): Remove. | |
7527 | (Package): Remove. | |
58b12a06 MB |
7528 | (new_package,getpkgbyname,getpackagecategorybyname,add_category): |
7529 | Remove. | |
bb849dbd RC |
7530 | * inilex.l: Support multiple mirrors. |
7531 | * iniparse.y: Include packagedb headers. | |
7532 | (parser): Use packagemeta. | |
7533 | (new_package): Remove. | |
7534 | (add_correct_version): New function. | |
7535 | (new_requirement): Remove. | |
7536 | (add_category): Remove. | |
7537 | * install.cc (uninstall_one): Use packagemeta. | |
7538 | (install_one_source): New function. | |
7539 | (install_one): Use packagemeta. | |
7540 | (do_install): Use packagemeta. | |
7541 | * io_stream.cc (io_stream::move): Bugfix on move/copy case. | |
58b12a06 MB |
7542 | * io_stream_cygfile.cc (io-stream_cygfile::set_mtime): Do not reopen the |
7543 | file after setting the mtime, it makes no sense, and results in 0 length | |
7544 | files. | |
bb849dbd RC |
7545 | * io_stream_file.cc (io-stream_file::set_mtime): Ditto. |
7546 | * list.h: New file, template class for a form of list. | |
7547 | * package_db.cc (packagedb::registerpackage): New function. | |
7548 | * package_db.h (packagedb::npackages ()): New method. | |
7549 | * package_meta.cc (packagemeta::add_version): Use list template. | |
7550 | (packagemeta::set_installed): Ditto. | |
7551 | (packagemeta::add_category): New method. | |
7552 | * package_meta.h: Include necessary headers to parse the class. | |
7553 | (CategoryPackage): New class. | |
7554 | (packagemeta): Initialise all members. | |
7555 | (packagemeta::SDesc): New method. | |
7556 | (packagemeta::Categories): New method. | |
7557 | (packagemeta::add_category): Ditto. | |
7558 | (packagemeta::versions): Change to be a list instance. | |
7559 | * package_source.cc (packagesource::set_canonical): New method. | |
7560 | (packagesource::set_cached): New method. | |
7561 | * package_source.h: Include necessary headers to parse the class. | |
7562 | (site): New class. | |
7563 | (packagesource::packagesource): Initialize all members. | |
7564 | (packagesource): Make this class non-abstract. | |
7565 | * package_version.cc (packageversion::packageversion): New method. | |
7566 | * package_version.h (Dependency): New class. | |
7567 | (packageversion::Canonical_vesion): New method. | |
7568 | (packageversion::SDesc): New method. | |
7569 | (packageversion::LDesc): New method. | |
7570 | (packageversion::new_requirement): Ditto. | |
7571 | (packageversion::srcpicked, binpicked): What to install. | |
7572 | (packageversion::src, bin): Installation source data. | |
7573 | * rfc1738.cc: New file. Escapes special characters in URL's. | |
7574 | * rfc1738.h: Ditto. | |
7575 | ||
90d14922 RC |
7576 | 2001-11-26 Gary R. Van Sickle <g.r.vansickle@worldnet.att.net> |
7577 | ||
7578 | * nio-http.cc (NetIO_HTTP::NetIO_HTTP): Stop header parsing when | |
7579 | SimpleSocket::gets() returns a zero-length string, so that we | |
7580 | don't end up eating the entire stream thinking it's all header info. | |
7581 | ||
7c7034e8 RC |
7582 | 2001-11-23 Robert Collins <rbtcollins@hotmail.com> |
7583 | ||
7584 | * install.cc (badrename): Remove. | |
58b12a06 MB |
7585 | (do_install): Use packagedb flush method to write |
7586 | /etc/setup/installed.db. | |
7c7034e8 RC |
7587 | * io_stream.cc (io_stream::move_copy): New method. |
7588 | (io_stream::move): New method. | |
7589 | * io_stream.h (io_stream): New methods move and move_copy. | |
7590 | * io_stream_cygfile.cc (io_stream_cygfile::move): New method. | |
7591 | * io_stream_cygfile.h (io_stream_cygfile): New method move. | |
7592 | * io_stream_file.cc (io_stream_file::move): New method. | |
7593 | * io_stream_file.h (io_stream_file): New method move. | |
7594 | * package_db.cc (packagedb::flush): New method. | |
7595 | * package_db.h (packagedb): New method flush. | |
7596 | ||
fa0c0d10 RC |
7597 | 2001-11-23 Robert Collins <rbtcollins@hotmail.com> |
7598 | ||
7599 | * Makefile.in (OBJS): Add package_version. | |
7600 | * ategory.cc (Category::Category): Update constructors. | |
7601 | * category_list.cc (CategoryList::register_category): Insert correctly. | |
7602 | * choose.cc: Include package_version.h, not package.h. | |
7603 | * cygpackage.cc: Ditto. | |
7604 | (cygpackage::uninstall): New method. | |
7605 | * cygpackage.h (cygpackage): Rename genericpackage to packageversion. | |
7606 | New method uninstall. | |
7607 | * hash.cc (add, has, enumerate): Change prototype to be accurate. | |
7608 | * hash.h (hash): Change prototypes to be accurate. | |
7609 | * ini.h (_Info): New parameterless constructor. | |
7610 | (CategoryPackage): New constructor. | |
7611 | (Package): Ditto. | |
7612 | * install.cc: Don't include unneeded headers. | |
7613 | Include package database headers. | |
7614 | (hash::add_subdirs): Remove. | |
58b12a06 MB |
7615 | (uninstall_one): Use packagemeta->uninstall to perform the |
7616 | uninstallation. Don't uninstall source packages. | |
7617 | (do_install): Just can uninstall_one once as we ignore source packages | |
7618 | now. Don't copy the installed.old database accross, instead iterate | |
7619 | through the packagedb packages list and write the installed packages | |
7620 | out. | |
fa0c0d10 RC |
7621 | * package_db.cc: Include package_version.h, not package.h. |
7622 | (packagedb::packagedb): Never let db be undefined. | |
7623 | Record the installation filename, so we can reconstruct installed.db. | |
7624 | (packagedb::addpackage): Insert packages in alpha sorted order. | |
7625 | (packagedb::categories): Initialise correctly. | |
7626 | * package_meta.cc: Include win32 and mount headers as a workaround to | |
7627 | current io_stream limitations. Include a TODO about that. | |
7628 | (standard_dirs): New, from install.cc. | |
7629 | (hash::add_subdirs): New, from install.cc. | |
7630 | (packagemeta::set_installed): Rename genericpackage to packageversion. | |
7631 | (packagemeta::uninstall): New method. | |
7632 | * package_meta.h: Rename genericpackage to packageversion. | |
7633 | (packagemeta): Update constructor. | |
7634 | (add_version, set_installed): Rename genericpackage to packageversion. | |
7635 | (uninstall): New method. | |
7636 | (installed_from): New member. | |
7637 | * package_source.cc: New file. | |
7638 | * package_source.h: New file. | |
7639 | * package_version.cc: New file. | |
7640 | * package_version.h: New file. | |
7641 | * package.cc: Removed. | |
7642 | * package.h: Removed. | |
cef493d7 | 7643 | |
7b606ae5 RC |
7644 | 2001-11-21 Robert Collins <rbtcollins@hotmail.com> |
7645 | ||
7646 | * Makefile.in (OBJS): Add category.o and category_list.o. | |
7647 | * category.h: New file. | |
7648 | * category.cc: New file. | |
7649 | * category_list.h: New file. | |
7650 | * category_list.cc: New file. | |
7651 | * choose.cc: Include category headers. | |
7652 | (fill_missing_category): Use package_db to access global categories. | |
7653 | (_view::insert_pkg): Ditto. | |
7654 | (_view::insert_category): Ditto. | |
7655 | (set_view_mode): Ditto. | |
7656 | (getcategorybyname): Remove. | |
7657 | * cygpackage.h: Include category_list.h to parse this correctly. | |
7658 | (cygpackage): New virtual &Categories. | |
7659 | * ini.h (_CategoryPackage): More C to C++ conversion. | |
7660 | (Category): Remove. | |
7661 | (getcategorybyname): Remove. | |
7662 | (register_category): Remove. | |
7663 | * iniparse.y: Include package db and category headers. | |
7664 | (categories): Use package_db to access global categories. | |
7665 | (category): Remove. | |
7666 | (ncategories): Remove. | |
7667 | (register_category): Remove. | |
7668 | * package.h: New virtual &Categories. | |
58b12a06 MB |
7669 | * package_db.cc (packagedb::packagedb): Don't read the installed db |
7670 | twice. | |
7b606ae5 | 7671 | (packagedb::categories): Declare. |
58b12a06 MB |
7672 | * package_db.h (packagedb): New member categories for global categories |
7673 | list. | |
7b606ae5 | 7674 | |
d0fa1c4e RC |
7675 | 2001-11-21 Robert Collins <rbtcollins@hotmail.com> |
7676 | ||
7677 | * choose.h: Don't include ini.h | |
7678 | * ini.h: Allow pure c++ in the header file. | |
7679 | ||
24cbae7f RC |
7680 | 2001-11-21 Robert Collins <rbtcollins@hotmail.com> |
7681 | ||
7682 | * install.cc (do_install): Write a version 2 installed.db file. | |
58b12a06 MB |
7683 | * package_db.cc (packagedb::packagedb): Read version 1 and 2 |
7684 | installed.db files. | |
24cbae7f | 7685 | |
7939f6d1 RC |
7686 | 2001-11-21 Robert Collins <rbtcollins@hotmail.com> |
7687 | ||
7688 | * Makefile.in (OBJS): Add package abstraction objects. | |
7689 | * choose.cc: Include package abstraction headers. | |
7690 | (read_installed_db): Use packagedb class and ignore installed sources. | |
7691 | * cygpackage.cc: New file. | |
7692 | * cygpackage.h: New file. | |
7693 | * filemanip.h (get_file_size): Use unixy types. | |
7694 | * package.h: New file. | |
7695 | * package.cc: New file. | |
7696 | * package_db.cc: New file. | |
7697 | * package_db.h: New file. | |
7698 | * package_meta.cc: New file. | |
7699 | * package_meta.h: New file. | |
7700 | ||
33bc0053 RC |
7701 | 2001-11-21 Robert Collins <rbtcollins@hotmail.com> |
7702 | ||
7703 | * REAME: Updates to wishlist. | |
7704 | ||
12ccadc0 RC |
7705 | 2001-11-16 Robert Collins <rbtcollins@hotmail.com> |
7706 | ||
7707 | * README: Updated and added my list of wishlist and todo items. | |
7708 | ||
ca9506cc RC |
7709 | 2001-11-14 Robert Collins <rbtcollins@hotmail.com> |
7710 | ||
7711 | * Makefile.in (OBJS): Include io_stream_memory in setup.exe. | |
7712 | * archive_tar.cc (archive_tar::write): New prototype. | |
7713 | (archive_tar::seek): New method. | |
7714 | * archive.h (archive_tar_file): Update write() and add seek(). | |
7715 | (archive_tar): Ditto. | |
7716 | * archive_tar_file.cc (archive_tar_file::write): New prototype. | |
7717 | (archive_tar_file::seek): New method. | |
7718 | * compress_bz.cc (compress_bz::write): New prototype. | |
7719 | (compress_bz::seek): New function. | |
7720 | * compress_bz.h (compress_bz): Update write() and add seek(). | |
7721 | * compress_gz.cc (compress_gz::write): New prototype. | |
7722 | (compress_gz::seek): New function. | |
7723 | * compress_gz.h (compress_gz): Update write() and add seek(). | |
7724 | * geturl.cc: Include io_stream headers. | |
7725 | (GUBuf): Remove. | |
7726 | (get_url_to_string): Use a io_stream_memory buffer instead of GUBuf. | |
7727 | * io_stream.h (io_stream_seek_t): New enum. | |
7728 | (io_stream): Update write() and add seek(). | |
7729 | * io_stream_cygfile.cc (io_stream_cygfile::write): New prototype. | |
7730 | (io_stream_cygfile::seek): New function. | |
58b12a06 MB |
7731 | * io_stream_cygfile.h (io_stream_cygfile): Update write() and add |
7732 | seek(). | |
ca9506cc RC |
7733 | * io_stream_file.cc (io_stream_file::write): New prototype. |
7734 | (io_stream_file::seek): New function. | |
7735 | * io_stream_file.h (io_stream_file): Update write() and add seek(). | |
7736 | ||
2db33f10 RC |
7737 | 2001-11-13 Brian Keener <bkeener@thesoftwaresource.com> |
7738 | ||
7739 | * localdir.cc: Add headers unistd.h and port.h. | |
cef493d7 | 7740 | (save_local_dir): Expand search logic to include local directory for |
2db33f10 RC |
7741 | location of file last-cache. |
7742 | (dialog_cmd): Skip IDD_ROOT when downloading and use Back button. | |
cef493d7 | 7743 | (do_local_dir): Expand search logic to include local directory for file |
2db33f10 RC |
7744 | last-cache. |
7745 | * res.rc (IDD_CHOOSE_DIALOG): Add hotkey to View button. | |
cef493d7 | 7746 | * Source.cc (dialog_cmd): Skip IDD_ROOT if select Download from |
2db33f10 | 7747 | Internet. |
cef493d7 | 7748 | (do_source): Default to Install from Internet on first entry or |
2db33f10 RC |
7749 | previous selection if backing up from IDD_ROOT or IDD_LOCAL_DIR. |
7750 | ||
03a6c5b1 RC |
7751 | 2001-11-13 Robert Collins <rbtcollins@hotmail.com> |
7752 | ||
7753 | * choose.cc (find_tar_ext): Only match at the end of the string. | |
7754 | (getpkgbyname): Prevent NULL pointer dereference. | |
7755 | ||
b24c88b3 RC |
7756 | 2001-11-13 Robert Collins <rbtcollins@hotmail.com> |
7757 | ||
7758 | * Makefile.in (CFLAGS): Add warnings and -Werr. | |
58b12a06 MB |
7759 | (WARNONLY_FLAGS): For sources that produce (harmless) errors no matter |
7760 | what. | |
b24c88b3 RC |
7761 | (OBJS): Add io_stream class' objects. |
7762 | (autoload.o): Use WARNONLY_FLAGS. | |
7763 | (inilex.o): Ditto. | |
7764 | (iniparse.o): Ditto. | |
7765 | * archive.cc: New file. | |
7766 | * archive.h: New file. | |
7767 | * archive_tar.cc: New file. | |
7768 | * archive_tar.h: New file. | |
7769 | * archive_tar_file.cc: New file. | |
7770 | * autoload.c: Fix compiler warnings (unused, deprecated conversion). | |
7771 | * choose.cc: Use io_stream.h, not mount.h. | |
7772 | Run indent. | |
58b12a06 MB |
7773 | (find_tar_ext): Rewritten to use strstr, and to accept .tar as an |
7774 | extension. | |
b24c88b3 RC |
7775 | (read_installed_db): Use io_streams. |
7776 | * choose.h: Run indent. | |
7777 | * compress.cc: New file. | |
7778 | * compress.h: New file. | |
7779 | * compress_bz.cc: New file. | |
7780 | * compress_bz.h: New file. | |
7781 | * compress_gz.cc: New file. | |
7782 | * compress_gz.h: New file. | |
7783 | * concat.cc: Run indent. | |
7784 | (cvsid): Fix compiler warnings (unused, deprecated conversion). | |
7785 | * concat.h: Run indent. | |
7786 | * desktop.cc: Run indent. | |
7787 | Include mklink2.h rather than redefining by hand. | |
7788 | (cvsid): Fix compiler warnings (unused, deprecated conversion). | |
7789 | (etc_profile): Fix compiler warning (deprecated conversion). | |
7790 | (make_link): Fix compiler warning (deprecated conversion). | |
7791 | Tidy up use of args variable - consolidate into argbuf. | |
7792 | (start_menu): Fix compiler warning (deprecated conversion). | |
7793 | (desktop_icon): Fix compiler warning (deprecated conversion). | |
7794 | (make_etc_profile): Fix compiler warning (deprecated conversion). | |
7795 | (uexists): Fix compiler warning (deprecated conversion). | |
7796 | (check_desktop): Fix compiler warning (deprecated conversion). | |
7797 | (check_startmenu): Fix compiler warning (deprecated conversion). | |
7798 | * dialog.cc: Run indent. | |
7799 | (cvsid): Fix compiler warnings (unused, deprecated conversion). | |
7800 | (fatal): Fix compiler warning (deprecated conversion). | |
7801 | * dialog.h: Run indent. | |
7802 | * diskfull.cc: Run indent. | |
7803 | (cvsid): Fix compiler warnings (unused, deprecated conversion). | |
7804 | * download.cc: Run indent. | |
7805 | (cvsid): Fix compiler warnings (unused, deprecated conversion). | |
7806 | (download_one): Fix compiler warning (signed vs unsigned comparison). | |
7807 | * filemanip.h: Run indent. | |
7808 | * find.cc: Run indent. | |
7809 | (cvsid): Fix compiler warnings (unused, deprecated conversion). | |
7810 | (find): Fix compiler warning (deprecated conversion). | |
7811 | * find.h: Run indent. | |
7812 | * fromcwd.cc: Run indent. | |
7813 | * geturl.cc: Run indent. | |
7814 | (cvsid): Fix compiler warnings (unused, deprecated conversion). | |
7815 | (dialog_cmd): Return a value. | |
7816 | (dialog_proc): Remove unused variables. | |
7817 | Return a value. | |
7818 | (get_url_to_file): Fix compiler warning (deprecated conversion). | |
7819 | * geturl.h: Run indent. | |
7820 | * hash.cc: Run indent. | |
7821 | (cvsid): Fix compiler warnings (unused, deprecated conversion). | |
7822 | * hash.h: Run indent. | |
7823 | * ini.cc: Run indent. | |
7824 | Use io_streams. | |
7825 | (cvsid): Fix compiler warnings (unused, deprecated conversion). | |
7826 | (do_ini): Use io_streams for local io. | |
7827 | * ini.h: Run indent. | |
7828 | * inilex.l (ignore_line): Fix compiler warning (is not a prototype). | |
7829 | Fix compiler warning (brackets for truth assignment). | |
7830 | * install.cc: Run indent. | |
7831 | Fix compiler warning (/* in comment). | |
7832 | Use io_streams. | |
7833 | (cvsid): Fix compiler warnings (unused, deprecated conversion). | |
7834 | (dialog_cmd): Return a value. | |
7835 | (dialog_proc): Return a value. | |
7836 | (start_tics): Deleted - was unused. | |
7837 | (badrename): Fix compiler warnings (unused, deprecated conversion). | |
7838 | (standard_dirs): Fix compiler warning (deprecated conversion). | |
7839 | (exists): Remove. | |
7840 | (uninstall_one): Convert to io_streams. | |
7841 | (install_one): Convert to io_streams. | |
7842 | (do_install): Convert to io_streans. | |
7843 | Fix compiler warning (deprecated conversion). | |
7844 | * io_stream.cc: New file. | |
7845 | * io_stream.h: New file. | |
7846 | * io_stream_cygfile.cc: New file. | |
7847 | * io_stream_cygfile.h: New file. | |
7848 | * io_stream_file.cc: New file. | |
7849 | * io_stream_file.h: New file. | |
7850 | * localdir.cc: Run indent. | |
7851 | Use io_streams. | |
7852 | (cvsid): Fix compiler warnings (unused, deprecated conversion). | |
7853 | (get_root_dir_now): Remove. | |
7854 | (save_local_dir): Convert to io_streams. | |
7855 | (dialog_cmd): Return a value. | |
7856 | (do_local_dir): Convert to io_streams. | |
7857 | (log.cc): Run indent. | |
7858 | (cvsid): Fix compiler warnings (unused, deprecated conversion). | |
7859 | (log): Fix compiler warning (deprecated conversion). | |
7860 | (log_save): Fix compiler warning (deprecated conversion). | |
7861 | * log.h: Run indent. | |
7862 | (log): Fix compiler warning (deprecated conversion). | |
7863 | (log_save): Fix compiler warning (deprecated conversion). | |
7864 | * main.cc: Run indent. | |
7865 | Don't include "netio.h". | |
7866 | (cvsid): Fix compiler warnings (unused, deprecated conversion). | |
7867 | (netio_test): Remove. | |
7868 | (sid_auth): Fix compiler warning (partially bracketed initialiser). | |
7869 | (WinMain): Return a value. | |
7870 | * mkdir.cc: Run indent. | |
7871 | (cvsid): Fix compiler warnings (unused, deprecated conversion). | |
7872 | * mklink2.c: Run indent. | |
7873 | (cvsid): Fix compiler warnings (unused, deprecated conversion). | |
7874 | (mkcygsymlink): New function. | |
7875 | * mklink2.h: New file. | |
7876 | * mount.cc: Run indent. | |
7877 | (cvsid): Fix compiler warnings (unused, deprecated conversion). | |
7878 | (create_mount): Remove unused variables. | |
7879 | (cygpath): Fix compiler warning (signed vs unsigned comparison). | |
7880 | * mount.h: Run indent. | |
7881 | * msg.cc: Run indent. | |
7882 | (cvsid): Fix compiler warnings (unused, deprecated conversion). | |
7883 | (msg): Fix compiler warning (deprecated conversion). | |
7884 | (mbox): Fix compiler warning (deprecated conversion). | |
7885 | * msg.h: Run indent. | |
7886 | (msg): Fix compiler warning (deprecated conversion). | |
7887 | * net.cc: Run indent. | |
7888 | (cvsid): Fix compiler warnings (unused, deprecated conversion). | |
7889 | (dialog_cmd): Return a value. | |
7890 | * netio.cc: Run indent. | |
7891 | (cvsid): Fix compiler warnings (unused, deprecated conversion). | |
7892 | (auth_cmd): Return a value. | |
7893 | * netio.h: Run indent. | |
7894 | * nio-file.cc: Run indent. | |
7895 | (cvsid): Fix compiler warnings (unused, deprecated conversion). | |
7896 | (NetIO_File::NetIO_File): Fix compiler warning (deprecated conversion). | |
7897 | * nio-file.h: Run indent. | |
7898 | * nio-ftp.cc: Run indent. | |
7899 | (cvsid): Fix compiler warnings (unused, deprecated conversion). | |
7900 | * nio-ftp.h: Run indent. | |
7901 | * nio-http.cc: Run indent. | |
7902 | (cvsid): Fix compiler warnings (unused, deprecated conversion). | |
7903 | * nio-http.h: Run indent. | |
7904 | * nio-ie5.cc: Run indent. | |
7905 | (cvsid): Fix compiler warnings (unused, deprecated conversion). | |
7906 | * nio-ie5.h: Run indent. | |
7907 | * other.cc: Run indent. | |
7908 | (cvsid): Fix compiler warnings (unused, deprecated conversion). | |
7909 | (dialog_cmd): Return a value. | |
7910 | * port.h: Run indent. | |
7911 | * postinstall.cc: Run indent. | |
7912 | (cvsid): Fix compiler warnings (unused, deprecated conversion). | |
7913 | (cmd): Fix compiler warning (deprecated conversion). | |
7914 | (eun): Fix compiler warning (deprecated conversion). | |
7915 | * root.cc: Run indent. | |
7916 | (cvsid): Fix compiler warnings (unused, deprecated conversion). | |
7917 | * simpsock.cc: Run indent. | |
7918 | (cvsid): Fix compiler warnings (unused, deprecated conversion). | |
7919 | * simpsock.h: Run indent. | |
7920 | * site.cc: Run indent. | |
7921 | Use io_streams. | |
7922 | (cvsid): Fix compiler warnings (unused, deprecated conversion). | |
7923 | (get_root_dir_now): Remove. | |
7924 | (save_site_url): Convert to io_streams. | |
7925 | (dialog_cmd): Return 0. | |
7926 | (get_initial_list_idx): Convert to io_streans. | |
7927 | * source.cc: Run indent. | |
7928 | (cvsid): Fix compiler warnings (unused, deprecated conversion). | |
7929 | (check_if_enable_next): Remove. | |
7930 | (load_dialog): Remove unused variables. | |
7931 | (save_dialog): Ditto. | |
7932 | (dialog_cmd): Return a value. | |
7933 | * splash.cc: Return a value. | |
7934 | (cvsid): Fix compiler warnings (unused, deprecated conversion). | |
7935 | (dialog_cmd): Return a value. | |
7936 | * state.cc: Run indent. | |
7937 | (cvsid): Fix compiler warnings (unused, deprecated conversion). | |
7938 | * state.h: Run indent. | |
7939 | * tar.h: Remove. | |
7940 | * tar.cc: Remove. | |
7941 | ||
398dd7b2 CF |
7942 | 2001-11-12 Christopher Faylor <cgf@redhat.com> |
7943 | ||
7944 | * desktop.cc (start_menu): Change start menu name to "Cygwin". | |
7945 | (check_startmenu): Ditto. | |
7946 | ||
c29ee141 CF |
7947 | 2001-11-11 Christopher Faylor <cgf@redhat.com> |
7948 | ||
7949 | * choose.cc (parse_filename): Finish reorganization by correctly | |
7950 | decrementing p in memmove. | |
7951 | ||
3a8276de CF |
7952 | 2001-11-11 Christopher Faylor <cgf@redhat.com> |
7953 | ||
7954 | * choose.cc (parse_filename): Reorganize code to work around gcc | |
7955 | optimization problem. | |
7956 | ||
6eea52fb RC |
7957 | 2001-11-09 Gareth Pearce <tilps@hotmail.com> |
7958 | ||
7959 | * choose.cc (set_action): Allow skip as an option for installed | |
7960 | packages that have version number not listed in setup.ini. | |
7961 | ||
cf99b153 RC |
7962 | 2001-11-10 Robert Collins <rbtcollins@hotmail.com> |
7963 | ||
7964 | * choose.cc (set_cation): Backout last change. | |
7965 | (choose_caption): Ditto. | |
7966 | ||
55e204f6 RC |
7967 | 2001-11-10 Robert Collins <rbtcollins@hotmail.com> |
7968 | ||
7969 | * ini.h (actions): Remove - transferred to choose.h. | |
7970 | (views): Ditto. | |
7971 | * choose.h: Protect class's from "C" compilers. | |
7972 | (actions): New enum, from ini.h. This may not be the 'right' place | |
7973 | but that place doesn't exist yet. | |
7974 | (_views): New enum, from ini.h. | |
58b12a06 MB |
7975 | * choose.cc (set_action): Handle installed packages with a version not |
7976 | in setup.ini. | |
55e204f6 RC |
7977 | (choose_caption): Ditto. |
7978 | * iniparse.y: Rearrange header order to handle new ini.h. | |
7979 | ||
7980 | 2001-11-10 Robert Collins <rbtcollins@hotmail.com> | |
7981 | ||
7982 | * ini.h (_Info): Fix compiler warnings (signed vs unsigned comparison). | |
7983 | (registry_category): Fix compiler warning (deprecated conversion). | |
7984 | * iniparse.y (registry_category): Ditto. | |
58b12a06 MB |
7985 | * choose.cc (cvsid): Fix compiler warnings (unused, deprecated |
7986 | conversion). | |
55e204f6 RC |
7987 | (add_requried): Remove unused variable. |
7988 | (choose_caption): Handle all enumeration values via a default. | |
7989 | (paint): Fix compiler warnings (unused, deprecated conversion). | |
58b12a06 MB |
7990 | (scroll_common): Fix compiler warnings (unused, signed vs unsigned |
7991 | comparison). | |
55e204f6 RC |
7992 | (list_clicK): Fix compiler warnings (signed vs unsigned comparison). |
7993 | (note_width): Fix compiler warnings (deprecated conversion). | |
7994 | (keep_or_skip): Fix compiler warnings (unused). | |
7995 | (_view::mode_caption): Fix compiler warnings (deprecated conversion). | |
7996 | (set_view_mode): Fix compiler warnings (unused). | |
58b12a06 MB |
7997 | (create_listview): Fix compiler warnings (unused, incorrect format, |
7998 | reaches end of function). | |
55e204f6 | 7999 | (dialog_proc): Fix compiler warnings (unused). |
58b12a06 MB |
8000 | (read_installed_db): Fix compiler warnings (unused, deprecated |
8001 | conversion). | |
55e204f6 RC |
8002 | * choose.h (_header): Fix compiler warnings (deprecated conversion). |
8003 | (_view): Ditto. | |
8004 | ||
67a55ad9 | 8005 | 2001-11-08 Pavel Tsekov <ptsekov@syntrex.com> |
cef493d7 | 8006 | |
67a55ad9 RC |
8007 | * simpsock.h (SimpleSocket::invalidate): Declare new method. |
8008 | * simpsock.cc (SimpleSocket::invalidate): Implement new method. | |
8009 | (SimpleSocket::SimpleSocket): Initialize buf to zero. Do not allocate | |
8010 | memory for buf in the constructor. | |
8011 | (SimpleSocket::~SimpleSocket): Use SimpleSocket::invalidate(). | |
8012 | (SimpleSocket::printf): Use SimpleSocket::write() instead of send(). | |
8013 | (SimpleSocket::write): Check object consistency - return -1 on error. | |
8014 | invalidate() the object on socket write error. | |
8015 | (SimpleSocket::fill): Check object consistency - return -1 on error. | |
8016 | invalidate() the object if socket read error is encountered and there | |
8017 | is no more data available in the internal read buffer. | |
8018 | Allocate memory for the internal read buffer. | |
8019 | (SimpleSocket::gets): Return zero (NULL pointer) if error is encountered | |
8020 | during fill() and no more data is available in the internal read buffer. | |
8021 | (SimpleSocket::read): Check object consistency - return -1 on error. | |
8022 | invalidate() the object if socket read error is encountered. | |
8023 | * nio-ftp.cc (NetIO_FTP:NetIO_FTP): Allow 125 as valid response code to | |
8024 | the RETR command (fix for MS IIS ftp server 5 - possibly others too). | |
8025 | (NetIO_FTP::ok): Check if the SimpleSocket object is ok(). | |
8026 | (NetIO_FTP::read): Use NetIO_FTP::ok(). | |
8027 | * nio-http.cc: Check for valid return value of SimpleSocket::gets(). | |
8028 | (NetIO_HTTP::ok): Check if the SimpleSocket object is ok(). | |
8029 | ||
5898e300 RC |
8030 | 2001-11-09 Robert Collins <rbtcollins@hotmail.com> |
8031 | ||
58b12a06 MB |
8032 | * simpsock.cc (cvsid): Avoid compiler warnings (not used, deprecated |
8033 | conversion). | |
8034 | (SimpleSocket::SimpleSocket): Avoid compiler warnings (deprecated | |
8035 | conversion). | |
5898e300 RC |
8036 | (SimpleSocket::printf): Ditto. |
8037 | (SimpleSocket::write): Ditto. | |
8038 | * simpsock.h (SimpleSocket): Avoid compiler warnings for constructor, | |
8039 | printf and write. | |
58b12a06 MB |
8040 | * nio-ftp.cc (cvsid): Avoid compiler warnings (not used, deprecated |
8041 | conversion). | |
5898e300 | 8042 | (NetIO_FTP::NetIO_FTP): Remove unused variable done. |
58b12a06 MB |
8043 | * nio-http.cc (cvsid): Avoid compiler warnings (not used, deprecated |
8044 | conversion). | |
5898e300 | 8045 | |
8e58f8fd RC |
8046 | 2001-11-07 Charles Wilson <cwilson@ece.gatech.edu> |
8047 | ||
8048 | * geturl.cc (get_url_to_string): clean up memory leak | |
8049 | (get_url_to_file): ditto | |
cef493d7 | 8050 | |
4b4002ab RC |
8051 | 2001-11-06 Robert Collins <rbtcollins@hotmail.com> |
8052 | ||
8053 | * localdir.cc (dialog_cmd): Go back to IDD_ROOT in every case. | |
8054 | * source.cc (dialog_cmd): Go forward to IDD_ROOT in every case. | |
8055 | ||
94525fd9 RC |
8056 | 2001-11-06 Pavel Tsekov <ptsekov@syntrex.com> |
8057 | ||
8058 | * fromcwd.cc (found_file): Free() memory containing the version and | |
58b12a06 MB |
8059 | filepath information for a given package, before replacing the pointers |
8060 | which reference this memory. | |
94525fd9 RC |
8061 | |
8062 | 2001-11-06 Robert Collins <rbtcollins@hotmail.com> | |
ca83c665 RC |
8063 | |
8064 | * fromcwd: Fix compiler warnings for cvsid. | |
8065 | (canonicalize_version): Fix compilter warnings. | |
8066 | (do_fromcwd): Ditto. | |
8067 | * version.h: Fix compiler warnings for canonicalize_version. | |
8068 | ||
ce1f9ec2 RC |
8069 | 2001-11-03 Robert Collins <rbtcollins@hotmail.com> |
8070 | ||
8071 | * res.rc (IDD_CHOOSE): Move the view caption to the right hand side. | |
8072 | ||
89d82ec7 RC |
8073 | 2001-11-02 Robert Collins <rbtcollins@hotmail.com> |
8074 | ||
8075 | * res.rc (IDD_CHOOSE): Tweak for use on a 640x480 screen. | |
8076 | ||
c8fea72a RC |
8077 | 2001-11-02 Robert Collins <rbtcollins@hotmail.com> |
8078 | ||
58b12a06 MB |
8079 | * choose.cc (set_action): Correctly allow skip for any uninstalled |
8080 | package. | |
8114d309 RC |
8081 | |
8082 | 2001-11-02 Robert Collins <rbtcollins@hotmail.com> | |
8083 | ||
58b12a06 MB |
8084 | * choose.cc (default_trust): Change the "Required" forced install |
8085 | category to "Base". | |
c8fea72a | 8086 | |
f557695e RC |
8087 | 2001-11-02 Robert Collins <rbtcollins@hotmail.com> |
8088 | ||
8089 | * choose.cc: Ran indent. | |
58b12a06 MB |
8090 | (set_action): When the requested trust level is missing and the level |
8091 | was not user requested, set the action to ACTION_SAME_CURR. | |
f557695e | 8092 | |
9a60dafc CF |
8093 | 2001-11-01 Christopher Faylor <cgf@redhat.com> |
8094 | ||
cef493d7 | 8095 | * Makefile.in (mingw_getopt.o): Fix typo in non-verbose compilation. |
f557695e RC |
8096 | |
8097 | 2001-11-02 Robert Collins <rbtcollins@hotmail.com> | |
8098 | ||
8099 | * choose.cc (_view::init_headers): Resync with the paint logic. | |
9a60dafc | 8100 | |
878faffd RC |
8101 | 2001-11-02 Robert Collins <rbtcollins@hotmail.com> |
8102 | ||
58b12a06 MB |
8103 | * choose.cc (add_required): Allow SKIP and SRC_ONLY for currently |
8104 | installed packages. | |
878faffd | 8105 | |
05bfdf26 RC |
8106 | 2001-11-02 Robert Collins <rbtcollins@hotmail.com> |
8107 | ||
58b12a06 MB |
8108 | * choose.cc (default_trust): Autoset currently installed packages per |
8109 | the user's selection of prev/curr/exp. | |
05bfdf26 | 8110 | |
0b9af00c RC |
8111 | 2001-11-02 Robert Collins <rbtcollins@hotmail.com> |
8112 | ||
8113 | * splash.cc (dialog_proc): Return TRUE as specified in the WIN32 API. | |
8114 | ||
7cefe128 RC |
8115 | 2001-11-02 Pavel Tsekov <ptsekov@syntrex.com> |
8116 | ||
8117 | * geturl.cc (is_showing): Remove. | |
8118 | (is_local_install): New static variable. Controls whether the | |
8119 | progress dialog and the supporting thread will be created. | |
58b12a06 MB |
8120 | (dialog_proc): Return TRUE to WM_INITDIALOG as specified by the WIN32 |
8121 | API. | |
7cefe128 | 8122 | (init_dialog): Remove usage of SetForegroundWindow and is_showing. |
cef493d7 | 8123 | This prevents the progress dialog to gain control over the |
7cefe128 RC |
8124 | application and fixes the "setup.exe going to background" problem. |
8125 | (progress): Use is_local_install. | |
8126 | (get_url_to_string): Set is_local_install. | |
8127 | (dismiss_url_status_dialog): Use is_local_install. | |
8128 | * install.cc (dialog_proc): Return TRUE as specified in WIN32 API. | |
8129 | (init_dialog): Remove usage of SetForegroundWindow. | |
cef493d7 | 8130 | This prevents the progress dialog to gain control over the |
7cefe128 RC |
8131 | application and fixes the "setup.exe going to background" problem. |
8132 | ||
42a99ed1 RC |
8133 | 2001-11-02 Robert Collins <rbtcollins@hotmail.com> |
8134 | ||
8135 | * choose.cc (list_click): Change r to row for clarity. | |
8136 | When we shrink the list below 1 page, scroll to the top of the list. | |
8137 | (_view::click): Return the actual change for contractions. | |
58b12a06 MB |
8138 | (dialog_proc): Return TRUE to WM_INITDIALOG as specified by the Win32 |
8139 | API. | |
42a99ed1 | 8140 | |
45c2d7d3 RC |
8141 | 2001-11-02 Robert Collins <rbtcollins@hotmail.com> |
8142 | ||
58b12a06 MB |
8143 | * choose.cc (dialog_cmd): Swap cygwin root selection and local dir |
8144 | selection order. | |
45c2d7d3 RC |
8145 | * localdir.cc: Ran indent. |
8146 | (get_root_dir_now): New function. | |
8147 | (save_local_dir): New function. | |
58b12a06 MB |
8148 | (dialog_cmd): Use it and swap cygwin root selection and local dir |
8149 | selection order. | |
45c2d7d3 | 8150 | (do_local_dir): If there is a saved local dir, read it in. |
58b12a06 MB |
8151 | * net.cc (dialog_cmd): Swap cygwin root selection and local dir |
8152 | selection order. | |
45c2d7d3 RC |
8153 | * root.cc (dialog_cmd): Ditto. |
8154 | * source.cc (dialog_cmd): Ditto. | |
8155 | ||
2399c54d RC |
8156 | 2001-11-01 Robert Collins <rbtcollins@hotmail.com> |
8157 | ||
8158 | * choose.cc(list_vscroll): Return 0 as required by win32. | |
8159 | (list_hscroll): Ditto. | |
8160 | (list_click): Ditto. | |
8161 | ||
8e4402a9 RC |
8162 | 2001-11-01 Robert Collins <rbtcollins@hotmail.com> |
8163 | ||
8164 | * argv.cc: Remove. | |
8165 | * argv.h: Remove. | |
8166 | * main.cc(WinMain): Use __argv to retrieve command line parameters. | |
8167 | * Makefile,in: Remove argv.o. | |
8168 | ||
c168185f RC |
8169 | 2001-11-01 Matt Hargett <matt@use.net> |
8170 | ||
cef493d7 CF |
8171 | * geturl.cc (progress): Change int to unsigned int to eliminate |
8172 | lint warnings. | |
8173 | * (get_url_to_string): Check for NULL pointer. | |
8174 | * mount.cc (find2): Use free instead of delete for malloc'd | |
8175 | memory. | |
8176 | * nio-http.cc (NetIO_HTTP::NetIO_HTTP): Fix memory leak. | |
c168185f | 8177 | |
f97a1ece RC |
8178 | 2001-10-31 Robert Collins <rbtcollins@hotmail.com> |
8179 | ||
58b12a06 MB |
8180 | * choose.cc(_view::insert_under): Handle linen > nlines and lines[linen] |
8181 | with neither a package nor a category. The lines[linen] bug was reported | |
8182 | by Matt (matt@usa.net). | |
8183 | (read_installed_db): Bugfix for testing whether a package has a source | |
8184 | tarball. Reported by Matt (matt@usa.net). | |
8185 | * geturl.cc(dialog): Rename gw_dialog to local_gw_dialog to avoid | |
8186 | programmer confusion and lint errors. Reported by Matt (matt@usa.net). | |
f97a1ece | 8187 | |
d52ed64b RC |
8188 | 2001-10-31 Robert Collins <rbtcollins@hotmail.com> |
8189 | ||
58b12a06 MB |
8190 | * argv.cc: New file, converts arguments for -mwindows |
8191 | programs. (Simplified derivation from dcrt0.cc.) | |
d52ed64b RC |
8192 | * argv.h: New file. |
8193 | * Makefile,in: Add argv.o and mingw_getopt.o to setup.exe object list. | |
8194 | Add mingw_getopt.o build rule. | |
8195 | * main.cc(WinMain): Initialise argv and argc for use by getopt. | |
8196 | ||
392ba1ba CF |
8197 | 2001-10-27 Christopher Faylor <cgf@redhat.com> |
8198 | ||
8199 | * res.rc: Rearrange info on top line slightly. | |
8200 | ||
31324d15 CF |
8201 | 2001-10-27 Christopher Faylor <cgf@redhat.com> |
8202 | ||
8203 | * desktop.cc (make_passwd_group): Move file creation earlier in the | |
8204 | process to ensure that passwd-grp.bat reflects desired operation. | |
8205 | ||
8206 | 2001-27-10 Trevor Forbes <t4bs@hotmail.com> | |
8207 | ||
8208 | * postinstall.cc (each): Remove "*.done" file else rename will fail. | |
8209 | ||
ee411d77 CF |
8210 | 2001-10-16 Christopher Faylor <cgf@redhat.com> |
8211 | ||
8212 | * res.rc: Oops. Take 640x480 screen size into account. | |
8213 | ||
e74944da CF |
8214 | 2001-10-16 Christopher Faylor <cgf@redhat.com> |
8215 | ||
8216 | * res.rc: Enlarge chooser screen. | |
8217 | ||
e368cfb9 CF |
8218 | 2001-10-12 Christopher Faylor <cgf@redhat.com> |
8219 | ||
8220 | * Makefile.in: Accomodate changes to w32api_include macro. | |
8221 | ||
a6ba3670 CF |
8222 | 2001-10-12 Christopher Faylor <cgf@redhat.com> |
8223 | ||
8224 | * Makefile.in: Use correct flags for windres. | |
8225 | ||
683e96f6 CF |
8226 | 2001-10-12 Christopher Faylor <cgf@redhat.com> |
8227 | ||
8228 | * Makefile.in (CFLAGS): Remove -nostdinc from CFLAGS. | |
8229 | ||
2c18c00b CF |
8230 | 2001-10-12 Christopher Faylor <cgf@redhat.com> |
8231 | ||
8232 | * choose.cc (pick_line::paint): Reorganize after botched patch. | |
8233 | ||
0f61a05a CF |
8234 | 2001-10-12 Christopher Faylor <cgf@redhat.com> |
8235 | ||
8236 | * choose.cc (pick_line::paint): Add missing declaration. | |
8237 | ||
308d6f3e CF |
8238 | 2001-10-10 Ralf Habacker <Ralf.Habacker@freenet.de> |
8239 | ||
8240 | * choose.cc (pick_line::paint): Add package name to sdesc for display. | |
8241 | ||
3bcf85be RC |
8242 | Wed Sep 26 21:39:00 Robert Collins rbtcollins@hotmail.com |
8243 | ||
8244 | * choose.cc (_view::insert_pkg): Correctly exit loop. | |
8245 | * iniparse.y (register_category): Always insert new categories. | |
8246 | ||
fb2cd8f6 CF |
8247 | Fri Sep 21 13:56:32 2001 Christopher Faylor <cgf@cygnus.com> |
8248 | ||
8249 | * inilex.l (yylex): For comments, eat all characters up to, but not | |
8250 | including newline. | |
8251 | ||
127b32e1 CF |
8252 | Sun Aug 26 12:50:01 2001 John Marshall <jmarshall@acm.org> |
8253 | ||
8254 | * fromcwd.cc (found_file): Use correct package name when adding an | |
8255 | unknown package rather than random stack garbage. | |
8256 | ||
2cd555aa CF |
8257 | Sun Aug 12 14:25:21 2001 Christopher Faylor <cgf@cygnus.com> |
8258 | ||
8259 | * desktop.cc (make_passwd_group): .bat files need \r\n endings. | |
8260 | ||
4254cc64 CF |
8261 | Wed Aug 8 13:53:47 2001 Christopher Faylor <cgf@cygnus.com> |
8262 | ||
8263 | * desktop.cc (etc_profile): Leave environment variables untouched. | |
8264 | ||
acbae401 CV |
8265 | 2001-08-07 Corinna Vinschen <corinna@vinschen.de> |
8266 | ||
8267 | * autoload.c: Add dynamic load statements for NT/W2K | |
8268 | advapi32 functions not available in 9x/ME. | |
8269 | * main.cc (set_default_dacl): New function. | |
8270 | (WinMain): Call `set_default_dacl' if running on NT/W2K. | |
8271 | ||
969a294c CF |
8272 | Sat Aug 4 21:35:53 2001 Christopher Faylor <cgf@cygnus.com> |
8273 | ||
8274 | * ini.h (_CategoryPackage): Change pkg field to pkgname for | |
8275 | consistency. | |
8276 | * choose.cc: Use pkgname field when referencing _CategoryPackage | |
8277 | throughout. | |
8278 | (fill_missing_category): Don't add excluded packages. | |
8279 | (default_trust): Ditto. | |
8280 | (_view::insert_pkg): Ditto. | |
8281 | * iniparse.y (register_category): Use consistent variable name. | |
8282 | ||
9eeb0e83 ED |
8283 | 2001-07-09 Egor Duda <deo@logos-m.ru> |
8284 | ||
8285 | * choose.cc: Use system foreground color for text output. | |
8286 | ||
06560feb CF |
8287 | Sat Jul 7 00:40:28 2001 Christopher Faylor <cgf@cygnus.com> |
8288 | ||
8289 | * choose.cc (set_action): Use default trust for determining reinstall | |
8290 | and source only. | |
8291 | (default_trust): Set default trust. | |
8292 | (pick_line::paint): Allow source selection when reinstalling or | |
8293 | retrieving. | |
8294 | ||
1fb09149 CF |
8295 | Fri Jul 6 18:08:49 2001 Christopher Faylor <cgf@cygnus.com> |
8296 | ||
8297 | * choose.cc (isinstalled): Modify to properly accomodate special case | |
8298 | of "download only". | |
8299 | (set_action): Check downloaded components, not installed components if | |
8300 | "download only". | |
8301 | (set_existence): Always include full list of files when "download | |
8302 | only". | |
8303 | ||
14cfffa5 CF |
8304 | Fri Jul 6 00:37:05 2001 Christopher Faylor <cgf@cygnus.com> |
8305 | ||
8306 | * choose.cc (pick_line::paint): Properly display "na" field when no | |
8307 | source exists. | |
8308 | ||
f54385f6 CF |
8309 | Thu Jul 5 00:34:23 2001 Christopher Faylor <cgf@cygnus.com> |
8310 | ||
8311 | * choose.cc (scan2): Ensure that older versions do not show up in | |
8312 | "Test" slot. | |
8313 | ||
85b1fb54 CF |
8314 | Mon Jul 2 15:47:59 2001 Christopher Faylor <cgf@cygnus.com> |
8315 | ||
8316 | * choose.cc (set_action): Allow "Skip" action if trust != installed. | |
8317 | * res.rc: Fix copyright. | |
8318 | ||
2dada532 CF |
8319 | Sat Jun 30 14:05:21 2001 Michael A Chase <mchase@ix.netcom.com> |
8320 | ||
8321 | * res.rc (IDD_LOCAL_DIR): Change caption to match the other dialog | |
8322 | boxes. | |
06c6d195 | 8323 | (IDD_CHOOSE): Adjust horizontal size so package names are visible. |
2dada532 CF |
8324 | |
8325 | * choose.cc: Restore some more changes from 2001-06-25, throughout. | |
8326 | (paint): Wrap some excessively long lines. | |
8327 | (pick_line::paint): Ditto. Move the arrow in the "Current" column | |
8328 | right to where it belongs. Move the source checkbox slightly to the | |
8329 | right. | |
8330 | (do_choose): List categories and required packages in setup.log.full. | |
8331 | ||
8332 | Sat Jun 30 23:04:59 2001 Christopher Faylor <cgf@cygnus.com> | |
8333 | ||
58b12a06 MB |
8334 | * choose.cc (scan2): Restore source scanning eliminated by previous |
8335 | checkin. | |
2dada532 | 8336 | |
1b13eeec CF |
8337 | Sat Jun 30 15:18:33 2001 Christopher Faylor <cgf@cygnus.com> |
8338 | ||
8339 | * ini.h (struct _Info): Add "derived" element. | |
8340 | * choose.cc (scan2): Try to place unknown tar files into proper slot | |
8341 | when package exists in setup.ini but tar file does not. | |
8342 | ||
9307254d RC |
8343 | Sat Jun 30 13:39:00 2001 Robert Collins <rbtcollins@hotmail.com> |
8344 | ||
8345 | * choose.cc (create_listview): Call set_view_mode with VIEW_CATEGORY. | |
8346 | (do_choose): Log the first category name. | |
8347 | ||
3467d79f CF |
8348 | Fri Jun 29 23:07:44 2001 Christopher Faylor <cgf@cygnus.com> |
8349 | ||
8350 | *ini.h: Reapply 2001-06-25 changes. | |
8351 | * choose.cc (add_required): Ditto. Default to "Keep" state if | |
8352 | UNINSTALL and product is installed. Default to curr state if SKIP, | |
8353 | etc. | |
8354 | (keep_or_skip): New function. Returns skip or keep state depending on | |
8355 | installed state of package. | |
8356 | (default_trust): Use keep_or_skip to set state. | |
8357 | (_view::insert_pkg): Use calloc to allocate lines. | |
8358 | (set_view_mode): Adapt 2001-06-25 change to set_full_list here. | |
8359 | ||
8f53e82a RC |
8360 | Sat Jun 30 11:01:00 2001 Robert Collins <rbtcollins@hotmail.com> |
8361 | ||
1fb09149 | 8362 | * choose.cc: Remove globals full_list, headers, package_indexes and |
8f53e82a RC |
8363 | nindexes. |
8364 | Add globals cat_headers, pkg_headers and chooser. | |
8365 | (add_required): New function. | |
8366 | (paint): Use the chooser for header details. | |
8367 | Call into the chooser to paint each line. | |
1fb09149 | 8368 | (list_click): Use new global variables. |
8f53e82a RC |
8369 | Call into the chooser to handle the click. |
8370 | Repaint the entire view if packages have been added or removed. | |
8371 | (note_width): Get passed a headers struct rather than using a global | |
8372 | variable. | |
8373 | (fill_missing_category): New function. | |
8374 | (default_trust): Skip non-"Required" or "Misc" packages. | |
8375 | (pick_line::set_line (Package *)): New function. | |
8376 | (pick_line::set_line (Category *)): New function. | |
8377 | (pick_line::paint): New function. | |
8378 | (pick_line::click): New function. | |
8379 | (_view::_view): New function. | |
8380 | (_view::set_view_mode): New function. | |
8381 | (_view::mode_caption): New function. | |
8382 | (_view::set_headers): New function. | |
8383 | (_view::init_header): New function. | |
8384 | (_view::insert_pkg): New function. | |
8385 | (_view::insert_category): New function. | |
8386 | (_view::insert_at): New function. | |
8387 | (_view::insert_under): New function. | |
8388 | (_view::clear_view): New function. | |
8389 | (viewsplusplus): New function. | |
8390 | (_view::client): New function. | |
8391 | (set_view_mode): Use new chooser functionality. | |
8392 | (set_full_list): Use new global variables. | |
8393 | (create_listview): Instantiate chooser. | |
8394 | Remove all hardcoded headers[] code. | |
8395 | (dialog_cmd): On trust changes, check dependencies. | |
8396 | (getcategorybyname): New function. | |
8397 | (getpackagecategorybyname): New function. | |
8398 | (scan2): Use case-insensitive package comparison. | |
8399 | (do_choose): Use fill_missing_category (). | |
8400 | Show some category data. | |
8401 | * ini.h: Protect against multiple inclusion. | |
8402 | (views) New enum. | |
8403 | (_CategoryPackage): New struct. | |
8404 | (_Category): New struct. | |
8405 | (_Package): Change category to Category * from char *. | |
8406 | (extern Category category): New global variable. | |
8407 | (extern in ncategories): Ditto. | |
8408 | (getcategorybyname): New prototype. | |
8409 | (catpackagecategorybyname): New prototype. | |
8410 | (register_category): New prototype. | |
8411 | (add_category): New prototype. | |
8412 | * iniparse.y: Parse multiple categories per package. | |
2dada532 CF |
8413 | (category): New global variable. |
8414 | (ncategories): New global variable. | |
8f53e82a RC |
8415 | (new_package): Compare package against NULL, not 0. |
8416 | (new_requirement): Source formatting fix. | |
8417 | (register_category): New function. | |
8418 | (add_category): New function. | |
8419 | * res.rc: Change IDC_CHOOSE_FULLPART to IDC_CHOOSE_VIEW. | |
8420 | IDC_CHOOSE_VIEWCAPTION: New control. | |
8421 | * resource.h: Change IDC_CHOOSE_FULLPART to IDC_CHOOSE_VIEW. | |
8422 | IDC_CHOOSE_VIEWCAPTION: New control. | |
8423 | Increment _APS_NEXT_CONTROL_VALUE. | |
8424 | ||
26a27c14 CF |
8425 | Mon Jun 25 00:56:37 2001 Michael A Chase <mchase@ix.netcom.com> |
8426 | ||
e19ad6a3 | 8427 | * choose.cc (paint): Wrap excessively long lines. |
26a27c14 CF |
8428 | (list_click): Ditto. |
8429 | (create_listview): Ditto. | |
8430 | (do_choose): Ditto. Replace TABs and remove CRs in lines written to | |
8431 | setup.log.full. Allow "Yes" for source exists in setup.log.full when | |
8432 | installing from local directories. | |
8433 | ||
97312777 CF |
8434 | Mon Jun 25 00:56:37 2001 Christopher Faylor <cgf@cygnus.com> |
8435 | ||
5f9f0d8d CF |
8436 | * choose.cc (set_action): Only clear srcpicked when moving to next |
8437 | state. Allow source installation if it exists in the current "trust" | |
8438 | state. Don't move to skip state when package is installed. | |
97312777 CF |
8439 | (list_click): Don't allow source clicking when no source is available. |
8440 | (set_full_list): Display package when not is_full_action. | |
8441 | * ini.h (is_full_action): Define. | |
8442 | ||
72fd1d1e CF |
8443 | Sun Jun 17 12:06:14 2001 Christopher Faylor <cgf@cygnus.com> |
8444 | ||
8445 | * install.cc (check_for_old_cygwin): New function. First stab at | |
8446 | checking for old cygwin versions. | |
8447 | (do_install): Call check_for_old_cygwin if there were no errors during | |
8448 | the install. | |
8449 | ||
41ac91b5 | 8450 | Sat Jun 16 11:33:51 2001 Michael A Chase <mchase@ix.netcom.com> |
86202506 CF |
8451 | |
8452 | * choose.cc (_Info::_Info): Test _source paramenter for non-NULL rather | |
8453 | than zeroed "source" element. | |
8454 | ||
80429b97 CF |
8455 | Fri Jun 15 20:54:43 2001 Christopher Faylor <cgf@cygnus.com> |
8456 | ||
8457 | * choose.cc (scan2): Insert unknown tar archives, found on disk, into | |
8458 | the highest available "hole" in the trust array. | |
8459 | ||
654ea642 CF |
8460 | Fri Jun 15 00:20:48 2001 Christopher Faylor <cgf@cygnus.com> |
8461 | ||
8462 | * choose.cc (set_existence): Use pointer method for indexing in trust | |
8463 | array. | |
8464 | (create_listview): Ditto. | |
8465 | (scan2): Ditto. Also, use consistent variable name for indexing into | |
8466 | trust array. | |
8467 | * ini.h (Package): Reorganize info array for easier scanning. | |
8468 | ||
e98d90bd CF |
8469 | Fri Jun 15 00:01:51 2001 Christopher Faylor <cgf@cygnus.com> |
8470 | ||
8471 | * choose.cc (isinstalled): Eliminate special download only test. | |
8472 | (set_action): Don't move to next state if in ACTION_SAME range and not | |
8473 | incrementing. | |
8474 | (choose_caption): Display "Retrieve" rather than "Reinstall" when just | |
8475 | downloading. | |
8476 | (do_choose): Sort packages after all packages have been read. | |
8477 | Accomodate the fact that first element in trust array is empty so that | |
8478 | log files don't report the wrong trust value. | |
8479 | * iniparse.y (new_package): Malloc space for package name or suffer | |
8480 | memory corruption. | |
8481 | ||
38c97581 CF |
8482 | Thu Jun 14 22:43:59 2001 Robert Collins <rbtcollins@hotmail.com> |
8483 | ||
8484 | * ini.h (Dependency): New structure. Declare new function. | |
58b12a06 MB |
8485 | * inilex.l (yylex): Detect new setup.ini options - category and |
8486 | requires. | |
38c97581 CF |
8487 | * iniparse.y: Declare new setup.ini token values. |
8488 | (yyparse): Parse new token values. | |
8489 | (new_requirement): New function. | |
8490 | ||
8491 | Thu Jun 14 22:43:26 2001 Christopher Faylor <cgf@cygnus.com> | |
8492 | ||
8493 | * choose.cc (read_installed_db): Eliminate obsolete code. | |
8494 | ||
3ae6c15c CF |
8495 | Thu Jun 14 22:11:53 2001 Christopher Faylor <cgf@cygnus.com> |
8496 | ||
8497 | * choose.cc (set_action): Set trust on "redo". | |
8498 | (_Info::_Info): New constructor. | |
8499 | (read_installed_db): Use new constructor. Use trusts type for | |
8500 | iterator. | |
8501 | * ini.h (struct _Info): Label struct, add constructor. | |
8502 | (Package): Make installed_ix a type 'trusts.' | |
8503 | * install.cc (uninstall_one): Unset any installed info for current | |
8504 | package. | |
8505 | (install_one): Allocate new Info struct for installed reflecting new | |
8506 | installed info. | |
8507 | (do_install): Don't output line to installed.db if package is being | |
8508 | uninstalled. | |
8509 | ||
9c0a9876 CF |
8510 | Thu Jun 14 20:33:01 2001 Robert Collins <rbtcollins@hotmail.com> |
8511 | ||
8512 | * choose.cc (getpkgbyname): Use consistent method for scanning package | |
8513 | array. | |
8514 | ||
68b27c12 CF |
8515 | Wed Jun 13 23:33:08 2001 Christopher Faylor <cgf@cygnus.com> |
8516 | ||
8517 | * choose.cc: Add some comments. | |
8518 | (getpkgbyname): Use strcasecmp for comparisons. | |
8519 | ||
07108cc2 CF |
8520 | Wed Jun 13 16:07:00 2001 Christopher Faylor <cgf@cygnus.com> |
8521 | ||
f0984dcb | 8522 | * install.cc (do_install): Avoid checking for download action if |
07108cc2 CF |
8523 | package wasn't currently retrieved. |
8524 | ||
c46a33a9 CF |
8525 | Wed Jun 13 11:27:22 2001 Christopher Faylor <cgf@cygnus.com> |
8526 | ||
8527 | * choose.cc: Eliminate extra array throughout. Use element in package | |
8528 | structure instead. Use pointers rather than array indexes where | |
8529 | appropriate. | |
8530 | (set_action): New function to set next action based on current. | |
8531 | (choose_caption): New function. Returns display caption. | |
8532 | (check_existence): Change arguments. Use pointer to 'info' structure. | |
8533 | (set_existence): Use pointer rather than array index. | |
8534 | (default_trust): Use trusts enum for second argument. | |
8535 | (set_full_list): Honor exclude element in package structure. | |
8536 | (build_labels): Eliminate. | |
8537 | (base): Make global. Use const char * argument. | |
8538 | (get_package_version): Eliminate. | |
8539 | (getpkgbyname): New function. | |
8540 | (read_installed_db): Use parse_filename to get version info. | |
8541 | * desktop.cc (make_passwd_group): Use getpkgbyname function. | |
8542 | * download.cc (get_file_size): const argument. | |
8543 | (do_download): Use is_download_action to determine when something | |
8544 | should be downloaded. | |
8545 | * filemanip.h: Add some functions. | |
8546 | * ini.cc (do_ini): Use NULL rather than 0 for pointer assignment. | |
8547 | * ini.h: Use enums for actions and trusts. | |
8548 | (is_download_action): New macro. | |
8549 | (is_upgrade_action): Ditto. | |
8550 | (is_uninstall_action): Ditto. | |
8551 | (struct Package): Add new fields. | |
8552 | * inilex.l (yylex): Detect new setup.ini options. | |
8553 | * iniparse.y: Declare new tokens. | |
8554 | (yyparse): Detect exclude keyword. Fill out version field even if | |
8555 | version == 0. | |
8556 | (new_package): Use greater granularity when allocating package array to | |
8557 | avoid repeated calls to realloc. | |
8558 | * install.cc (exists): const argument. | |
8559 | (uninstall_one): Take pkg argument. | |
8560 | (install_one): Ditto. Eliminate unneeded arguments which can be | |
8561 | derived from package info. | |
8562 | (do_install): Iterate over package array using a pointer. Use | |
8563 | is_download_action to control when package should be downloaded. | |
8564 | * tar.cc (tar_open): const argument. | |
8565 | * tar.h: Refloect const argument. | |
8566 | ||
7cc06fd3 CF |
8567 | 2001-05-31 Michael Chase mchase@ix.netcom.com |
8568 | ||
8569 | * main.cc (WinMain): Add setup version to starting setup.log entry | |
8570 | ||
9522028b CF |
8571 | Tue May 29 21:37:58 2001 Yukihiko Sohda <sohda@is.titech.ac.jp> |
8572 | ||
8573 | * inilex.l: Add + to list of valid string characters. | |
8574 | ||
e9b1aaa7 CF |
8575 | Mon May 28 20:54:50 2001 Christopher Faylor <cgf@cygnus.com> |
8576 | ||
8577 | * Makefile.in: Remove more stuff in the clean target. | |
8578 | ||
8e1299fa CF |
8579 | Mon May 28 18:24:59 2001 Christopher Faylor <cgf@cygnus.com> |
8580 | ||
8581 | * Makefile.in: Correctly generate iniparse.h. | |
8582 | ||
85553593 CV |
8583 | Tue Mar 6 19:14:00 2001 Corinna Vinschen <corinna@vinschen.de> |
8584 | ||
8585 | * geturl.cc (get_url_to_file): Add parameter `allow_ftp_auth'. | |
8586 | * geturl.h: Change declaration of `get_url_to_file' accordingly. | |
8587 | * netio.cc (NetIO::NetIO): Add parameter `allow_ftp_auth'. | |
8588 | Set member `ftp_auth'. | |
8589 | (NetIO::open): Add parameter `allow_ftp_auth'. Use it in calls | |
8590 | to constructors of derived classes. | |
8591 | (NetIO::get_ftp_auth): New method. | |
8592 | * netio.h: Change class definition accordingly. | |
8593 | * nio-ftp.cc (NetIO_FTP::NetIO_FTP): Add parameter `allow_ftp_auth'. | |
8594 | Take global variables `net_ftp_user' and `net_ftp_passwd' into account. | |
8595 | Add code for ftp authentication retry. | |
8596 | * nio-ftp.h: Change class definition accordingly. | |
8597 | * nio-http.cc (NetIO_HTTP::NetIO_HTTP): Add parameter `allow_ftp_auth'. | |
8598 | Add code for ftp authentication retry in case of proxy connection. | |
8599 | * nio-http.h: Change class definition accordingly. | |
8600 | * res.rc: Add FTP authentication dialog. | |
8601 | * resource.h: Add new constants used in res.rc. | |
8602 | * state.h: Add variables `net_ftp_user' and `net_ftp_passwd'. | |
8603 | ||
c4174b9c CF |
8604 | Sun May 27 17:12:23 2001 Christopher Faylor <cgf@cygnus.com> |
8605 | ||
8606 | * res.rc (IDD_SPLASH): Add a copyright year. | |
8607 | ||
0af2d779 CF |
8608 | Sun May 27 15:42:18 2001 Christopher Faylor <cgf@cygnus.com> |
8609 | ||
8610 | * Makefile.in: Make iniparse.y produce a c++ file. | |
8611 | * choose.cc (set_existence): Revert 2001-05-27 change. | |
8612 | * ini.cc: Remove "C" from declaration of yyparse. | |
8613 | * iniparse.y (yyparse): Fill out version field by default when a binary | |
8614 | install is detected and no version has been set yet. | |
8615 | * install.cc (do_install): Mount things earlier so that we can use | |
8616 | proper mount table settings. Don't remove mounts since they are now | |
8617 | honored. | |
8618 | * mount.cc (create_mount): Reread the mount table after establishing a | |
8619 | new mount. | |
8620 | (read_mounts): Explicitly clear root_here to allow multiple uses of | |
8621 | this function. Ensure that there is no garbage in the table when we've | |
8622 | exhausted all of the mounts in the registry. | |
8623 | (cygpath): Accomodate ./ in path. | |
8624 | ||
85b43844 CF |
8625 | Sun May 27 02:59:07 2001 Christopher Faylor <cgf@cygnus.com> |
8626 | ||
0af2d779 CF |
8627 | Use parse_filename method to parse filenames throughout. Use |
8628 | get_root_dir to retrieve the current root directory throughout. Set | |
8629 | const in argument list, where appropriate, throughout. | |
8630 | * choose.cc (set_existence): Detect case of uninstalled package with no | |
8631 | version. | |
85b43844 CF |
8632 | (parse_filename): New function. |
8633 | * filemanip.h (fileparse): New structure. | |
8634 | * mount.cc (read_mounts): Remember where we found the root mount. | |
8635 | (set_root_dir): New function. | |
8636 | (get_root_dir): Ditto. | |
8637 | * mount.h: Declare new functions. | |
8638 | * site.cc (get_root_dir_now): Renamed from get_root_dir. | |
8639 | (save_site_url): Use new function name. | |
8640 | (get_initial_list_idx): Ditto. | |
8641 | ||
08f8c762 CF |
8642 | Sat May 26 21:23:59 2001 Christopher Faylor <cgf@cygnus.com> |
8643 | ||
8644 | * choose.cc: Use a constant throughout to deal with chooser icon | |
8645 | length. | |
8646 | * res.rc (IDD_CHOOSE): Increase size of chooser box. | |
8647 | ||
47f8d8b3 CF |
8648 | 2001-05-07 Brian Keener <bkeener@thesoftwaresource.com> |
8649 | ||
8650 | * choose.cc (do_choose): Fix incorrect assignment of trust setting to | |
8651 | use when Redownload or Sources Only selected. | |
8652 | ||
6a748750 CF |
8653 | Thu May 10 22:35:59 2001 Christopher Faylor <cgf@cygnus.com> |
8654 | ||
8655 | Reformat file after botched patch formatting. | |
8656 | * choose.cc (which_trust): Eliminate variable. | |
8657 | (default_trust): Don't set which_trust. | |
8658 | (do_choose): Use selected trust when reinstalling or installing source. | |
8659 | ||
a351e48c CF |
8660 | Thu May 10 21:04:18 2001 Christopher Faylor <cgf@cygnus.com> |
8661 | ||
8662 | Change concat to cygpath throughout. | |
8663 | Change map_filename to cygpath throughout. | |
8664 | * concat.cc (vconcat): New function. | |
8665 | (concat): Use vconcat. | |
8666 | * concat.h: Reflect above. | |
8667 | * install.cc (map_filename): Eliminate. | |
8668 | (install_one): Free dest_file. | |
8669 | * mount.cc (find2): Expect input key to be pointing to mount record. | |
8670 | (in_table): New function. | |
8671 | (is_admin): Move from root.cc. | |
8672 | (read_mounts): New function. | |
8673 | (path_prefix_p): New function. | |
8674 | (cygpath): New function. | |
8675 | * mount.h: Define new functions and structure. | |
8676 | * root.cc (in_table): Move to mount.cc. | |
8677 | (do_root): Call read_mounts to initialize root stuff and mount table. | |
8678 | * site.cc (get_root_dir): Ditto. | |
8679 | ||
e227ee24 CF |
8680 | 2001-05-09 Matt Hargett <matt@use.net> |
8681 | ||
8682 | * Makefile.in: Remove *.rc from clean. | |
8683 | ||
25fd2965 CF |
8684 | Tue May 8 23:33:38 2001 Christopher Faylor <cgf@cygnus.com> |
8685 | ||
8686 | * choose.cc (scan2): Fix incorrect setting of TRUST_CURR rather than | |
8687 | TRUST_PREV which produced "0" versions. | |
8688 | ||
42bf5b92 CF |
8689 | 2001-05-07 Brian Keener <bkeener@thesoftwaresource.com> |
8690 | ||
8691 | * resource.h: Add new field IDC_CHOOSE_INST_TEXT. Modify | |
8692 | _APS_NEXT_CONTROL_VALUE to account for addition of | |
8693 | IDC_CHOOSE_INST_TEXT. | |
8694 | * res.rc (IDD_CHOOSE): Modify choose dialog to use new field | |
8695 | IDC_CHOOSE_INST_TEXT for screen text. Modify choose Dialog to allow | |
8696 | hot keys to select Prev, Curr, Exp. | |
8697 | * ini.h: Add new actions for ACTION_REDO and ACTION_SRC_ONLY. Modify | |
8698 | define for LOOP_PACKAGES to include new actions ACTION_REDO and | |
8699 | ACTION_SRC_ONLY. | |
8700 | * choose.cc: Add new Trusts for TRUST_REDO and TRUST_SRC_ONLY. | |
8701 | (paint): Modify to check TRUST_SRC_ONLY when determining Bitmap for | |
8702 | source Checkbox to use. | |
8703 | (build_labels): Add logic to allow for selection of Source only | |
8704 | Download/ReDownload/Install/Reinstall and also to Redownload/Reinstall | |
8705 | current version binary. | |
8706 | (dialog_proc): Add conditional display for file selection prompt based | |
8707 | on download vs install using IDC_CHOOSE_INST_TEXT. | |
8708 | (do_choose): Add new logic for TRUST_REDO and TRUST_SRC_ONLY selection | |
8709 | and modify logic for TRUST_UNINSTALL, TRUST_KEEP, and TRUST_NONE to | |
8710 | handle the instance where Source Download/Install was selected. Modify | |
8711 | log file to store appropriate information regarding Action selected and | |
8712 | the new actions that were added (I.E.: ACTION_REDO and | |
8713 | ACTION_SRC_ONLY). | |
8714 | * download.cc: Add include for <unistd.h> and "port.h". | |
8715 | (download_one): Modify parameter list to include the selected action | |
8716 | for the file to be downloaded. Modify size check against expected size | |
8717 | to include check for ACTION_REDO and ACTION_SRC_ONLY. Modify rename of | |
8718 | .tmp file to also remove the destination file if exists due to ability | |
8719 | to redownload source and binary now. | |
8720 | (do_download): Modify to also use ACTION_REDO and ACTION_SRC_ONLY in | |
8721 | calculation of Download Bytes. Modify to also use ACTION_REDO and | |
8722 | ACTION_SRC_ONLY in determining files selected for download. | |
8723 | * install.cc (uninstall_one): Add check to treat a Reinstall like an | |
8724 | upgrade so current version will be uninstalled prior to reinstall. | |
8725 | (do_install): Add logic to handle ACTION_REDO and ACTION_SRC_ONLY for | |
8726 | uninstalling and installing binary and source packages. | |
8727 | * desktop.cc (make_passwd_group): Modify logic to account for a Source | |
8728 | only cygwin install when checking for cygwin to determine need for | |
8729 | mkpasswd and mkgroup. | |
8730 | ||
8731 | Mon May 7 23:33:30 2001 Matt Hargett <matt@use.net> | |
8a09aa99 CF |
8732 | |
8733 | * winsup/cinstall/res.rc: Added accelerators and improved focus order. | |
8734 | Removed WS_DISABLED from "OK" buttons to accomodate default focus | |
8735 | changes in net.cc and source.cc. | |
8736 | * winsup/cinstall/net.cc (dialog_proc): If no radio button is selected, | |
8737 | a default is selected. | |
8738 | * winsup/cinstall/source.cc (dialog_proc): Ditto. | |
8739 | (check_if_enable_next): Removed. No longer needed since a radio button | |
8740 | will always be selected. | |
8741 | (load_dialog): Removed call to check_if_enable_next. | |
8742 | (dialog_cmd): Ditto. Also added default to switch. | |
8743 | ||
87bdba0c CF |
8744 | Tue Apr 24 23:42:02 2001 Christopher Faylor <cgf@cygnus.com> |
8745 | ||
8746 | * res.rc: Resize affected text. | |
8747 | ||
8293fc16 CF |
8748 | Tue Apr 24 23:35:31 2001 Christopher Faylor <cgf@cygnus.com> |
8749 | ||
8750 | * net.cc (do_net): Default to direct download. | |
87bdba0c | 8751 | * res.rc: Move default selections to the top. |
8293fc16 | 8752 | |
ed96c6da EB |
8753 | 2001-04-18 Earnie Boyd <earnie@users.sourceforge.net> |
8754 | ||
8755 | * win32.h: Remove the definitions for _UNION_NAME and _STRUCT_NAME. | |
8756 | Must now include <windows.h> and not the pieces. | |
8757 | * choose.cc (create_listview): Clean up type mismatch problems. | |
8758 | * dialog.h (NEXT(id)): Ditto. | |
8759 | * geturl.cc (dialog): Ditto. | |
8760 | * install.cc (dialog): Ditto. | |
8761 | * splash.cc (load_dialog): Ditto. | |
8762 | ||
fe94cc29 CF |
8763 | Wed Apr 18 18:59:21 2001 Christopher Faylor <cgf@cygnus.com> |
8764 | ||
8765 | * tar.cc (class gzbz): Define dummy virtual functions. | |
8766 | ||
fb087b80 CF |
8767 | Wed Apr 18 16:01:21 2001 Christopher Faylor <cgf@cygnus.com> |
8768 | ||
8769 | * Makefile.in: Add bz2 include/library support. | |
8770 | * filemanip.h: New file. | |
fe94cc29 CF |
8771 | * choose.cc (find_tar_ext): New function. Returns TRUE if .tar.gz or |
8772 | .tar.bz2 found. | |
fb087b80 CF |
8773 | (scan2): Reorganize to use find_tar_ext, accomodating .bz2 extension. |
8774 | (read_installed_db): Ditto. | |
8775 | (do_choose): Ditto. | |
8776 | * fromcwd.cc (found_file): Ditto. | |
8777 | (do_fromcwd): Ditto. | |
8778 | * tar.cc (class gzbz): New super class for uncompression support. | |
8779 | (gz): New class for gzip support. | |
8780 | (bz): New class for bzip2 support. | |
8781 | (tar_open): Use gzbz class to control file opening. | |
8782 | (tar_ftell): Ditto for returning position in file. | |
8783 | (skip_file): Ditto for reading file. | |
8784 | (tar_next_file): Ditto. | |
8785 | (tar_read_file): Ditto. | |
8786 | (tar_close): Ditto for close. | |
8787 | ||
8788 | * zlib/configure.in: Force NM substitution. | |
8789 | ||
8790 | * source.cc (do_source): Default to "Install from Internet". | |
8791 | ||
88bcaf07 CF |
8792 | 2001-03-16 Brian Keener <bkeener@thesoftwaresource.com> |
8793 | ||
8794 | * nio-file.cc (NetIO_File::NetIO_File): Use `get_file_size' instead of | |
8795 | `stat'. | |
8796 | * choose.cc (list_click): Correct inability to select source code for | |
8797 | download. | |
8798 | (scan2): Modify to skip source tarballs when scanning disk for | |
8799 | installable packages. | |
8800 | ||
ef45c299 CV |
8801 | 2001-03-10 Chris Abbey <chris_abbey@yahoo.com> |
8802 | ||
8803 | * install.cc: install sources into /usr/src instead | |
8804 | of /, also include the sizes of source tarballs | |
8805 | in total_bytes. | |
8806 | * download.cc: include sizes of source tarballs in | |
8807 | total_download_bytes. | |
8808 | ||
9fe1181b CV |
8809 | Tue Mar 6 19:31:00 2000 Corinna Vinschen <corinna@vinschen.com> |
8810 | ||
8811 | * download.cc (get_file_size): Remove `static'. | |
8812 | ||
2bfdb848 CV |
8813 | Tue Mar 6 19:11:00 2000 Corinna Vinschen <corinna@vinschen.com> |
8814 | ||
8815 | * tar.cc (tar_open): Use `get_file_size' instead of `stat'. | |
8816 | ||
60c632b3 CV |
8817 | 2001-03-06 Brian Keener <bkeener@thesoftwaresource.com> |
8818 | ||
8819 | * choose.cc (paint): Modify message for nothing to download vs | |
8820 | nothing to install/update based on installation method. | |
8821 | (list_click): Modify to skip versions in selection process if | |
88bcaf07 | 8822 | installing from local directory and installation file does not exist. |
60c632b3 CV |
8823 | Also leaves Source Action set to N/A if the source file does not exist |
8824 | and installing from local directory. | |
8825 | (check_existence): New method to check current existence of installation | |
8826 | files based on selected installation method. | |
8827 | (set_existence): New method to set the current existence of installation | |
8828 | files based on selected installation method. | |
8829 | (best_trust): Modify decision process for best trust to base decision on | |
8830 | current trust selected (IE: Prev, Curr, or Test), existence of file and | |
8831 | installation method selected. | |
8832 | (default_trust): Add logic to capture the current trust level and the | |
8833 | trust selected for the given package. | |
88bcaf07 | 8834 | (set_full_list): Expand decision criteria for displaying a package in |
60c632b3 CV |
8835 | the selection list to include file existence/non-existence and selected |
8836 | installation method. | |
8837 | (build_labels): Modify criteria for label addition to include | |
8838 | installation method and file existence/non-existence. | |
88bcaf07 | 8839 | (create_listview): Modify to establish package trust level for each |
60c632b3 CV |
8840 | package before setting up the display list. Also modification to set |
8841 | current trust button as the default. | |
88bcaf07 | 8842 | (dialog_cmd): Set response for Prev, Curr, Test button push to perform |
60c632b3 CV |
8843 | a reset of the selection list in addition to setting the default trust. |
8844 | (get_package_version): New method to provide reusable code for | |
8845 | determining the package version from the file name for a specified | |
8846 | trust. | |
8847 | (scan2): Modify to use new method get_package_version and | |
8848 | also enhance handling of the build for the structures package and | |
8849 | extra. | |
8850 | (read_installed_db): Modify to use the new method | |
8851 | get_package_version and also enhance handling of the build for the | |
8852 | structures package and extra. | |
88bcaf07 | 8853 | (do_choose): Add additional initialization of package and extra |
60c632b3 CV |
8854 | structures. Modify to use read_installed_db all the time despite |
8855 | install method. Modify output to setup.log.full log file to increase | |
8856 | readability by adding additional spacing, expanded code and available | |
8857 | versions. | |
8858 | * ini.h: Add new fields install_exists, source_exists and | |
88bcaf07 | 8859 | partial_list_display to the structure definition for package. |
60c632b3 CV |
8860 | * res.rc (IDD_CHOOSE): Modify choose dialog Prev, Curr, and Test |
8861 | pushbuttons by replacing with Radio Buttons thus allowing the | |
8862 | operator to better determine which is selected. | |
8863 | ||
2f9645a1 CV |
8864 | 2001-02-20 Brian Keener <bkeener@thesoftwaresource.com> |
8865 | ||
88bcaf07 | 8866 | * download.cc (do_download): Add new variables total_download_bytes and |
2f9645a1 CV |
8867 | total_download_bytes_sofar for download progress meter. Add loop |
8868 | to accumulate the total bytes to download from the selected packages. | |
8869 | * geturl.cc: Add state.h and diskfull.h to include list. Add new | |
8870 | variables gw_iprogress, gw_pprogress, gw_progress_text, | |
8871 | gw_pprogress_text, and gw_iprogress_text to allow for addition of | |
8872 | total packages download progress meter and disk full percent | |
8873 | progress meter. Add variables total_download_bytes and | |
8874 | total_download_bytes_sofar for use by progress meters. | |
88bcaf07 CF |
8875 | (dialog_proc): Add new variables gw_iprogress, gw_pprogress, |
8876 | gw_progress_text, gw_pprogress_text, and gw_iprogress_text to | |
8877 | allow for addition of total packages download progress meter and disk | |
8878 | full percent progress meter. | |
2f9645a1 CV |
8879 | (init_dialog): Ditto. |
8880 | (progress): Ditto. | |
8881 | (get_url_to_file): Ditto. | |
8882 | * geturl.h: Add external definition for total_download_bytes and | |
8883 | total_download_bytes_sofar. | |
88bcaf07 | 8884 | * res.rc: Add two additional progress meters (IDC_DLS_IPROGRESS) |
2f9645a1 CV |
8885 | and (IDC_DLS_PPROGRESS) and three text objects (IDC_DLS_PROGRESS_TEXT) |
8886 | and (IDC_DLS_IPROGRESS_TEXT, IDC_DLS_PPROGRESS_TEXT) for use in the | |
8887 | download meters. | |
88bcaf07 | 8888 | * resource.h: Add new fields for progress meters and text and update |
2f9645a1 CV |
8889 | _APS_NEXT_CONTROL_VALUE. |
8890 | ||
b41962a3 CV |
8891 | Wed Feb 21 13:05:00 2000 Corinna Vinschen <vinschen@redhat.com> |
8892 | ||
8893 | * download.cc (get_file_size): Check for INVALID_HANDLE_VALUE instead | |
8894 | for NULL. | |
8895 | ||
8896 | Wed Feb 21 11:21:00 2000 Corinna Vinschen <vinschen@redhat.com> | |
01954c34 CV |
8897 | |
8898 | * download.cc (download_one): Add missing parenthesis. | |
8899 | ||
88a77116 CV |
8900 | Mon Feb 19 18:59:00 2000 Corinna Vinschen <vinschen@redhat.com> |
8901 | ||
8902 | * download.cc (get_file_size): New function. Eliminates the need | |
8903 | to call `stat'. | |
8904 | (download_one): Call `get_file_size' instead of `stat'. This | |
8905 | workarounds a problem with mingw's `stat' call. | |
8906 | ||
577f35ed EB |
8907 | 2001-02-07 Earnie Boyd <earnie@users.sourceforge.net> |
8908 | ||
8909 | * Makefile.in: (%.o: %.rc): Specify --include-dir $(w32api_include). | |
8910 | This is to allow cinstall to build with 2.95.2-7 and to make the | |
8911 | use of headers consistent. | |
8912 | ||
38f5563e DD |
8913 | 2000-12-26 Earnie Boyd <earnie_boyd@yahoo.com> |
8914 | ||
8915 | * Makefile.in (autoload.o): Add target to specify -fno-inline-functions | |
8916 | ||
c0a7e0f2 DD |
8917 | Tue Dec 26 03:46:00 2000 Matt Hargett <matt@use.net> |
8918 | ||
8919 | * winsup/cinstall/res.rc: Added accelerators and improved focus | |
8920 | order. | |
8921 | ||
72826a5b CF |
8922 | 2000-12-10 Egor Duda <deo@logos-m.ru> |
8923 | ||
8924 | * choose.cc (paint): Use system background color for text output. | |
8925 | ||
8926 | Sun Dec 10 19:05:25 2000 Christopher Faylor <cgf@cygnus.com> | |
8927 | ||
8928 | * Makefile.in: Use CXX for linking and for compiling .cc files. | |
8929 | * configure.in: Find correct c++ compiler. | |
8930 | * configure: Regenerate. | |
8931 | ||
67bebcb5 DD |
8932 | 2000-11-17 DJ Delorie <dj@redhat.com> |
8933 | ||
8934 | * splash.cc (load_dialog): Make message more obvious. | |
8935 | * res.rc: Ditto. | |
8936 | ||
25fb9139 CF |
8937 | Fri Nov 17 17:15:21 2000 Christopher Faylor <cgf@cygnus.com> |
8938 | ||
8939 | * Makefile.in: Use g++ to link so that libstdc++.a gets used. This is | |
8940 | necessary for newer compilers. | |
8941 | ||
ef2007fd CV |
8942 | Wed Nov 9 2:19:00 2000 Corinna Vinschen <vinschen@redhat.com> |
8943 | ||
8944 | * desktop.cc: Include "ini.h" and "version.h". | |
8945 | (make_passwd_group): Skip the function on 9x/ME boxes when an | |
8946 | older version of Cygwin has been installed which doesn't | |
8947 | support mkpasswd/mkgroup on 9x/ME. | |
8948 | * install.cc: Move the `LOOP_PACKAGES' and `pi' macros to... | |
8949 | * ini.h: ...here. | |
8950 | ||
277b4d56 CV |
8951 | Wed Nov 8 17:10:00 2000 Corinna Vinschen <vinschen@redhat.com> |
8952 | ||
8953 | * desktop.cc (make_passwd_group): Don't exit when started | |
8954 | on 9x/ME since mkpasswd/mkgroup are usable on 9x/ME now. | |
8955 | ||
f8a6415f DD |
8956 | Sun Nov 5 12:51:42 2000 Jason Tishler <jt@dothill.com> |
8957 | ||
8958 | * install.cc (do_install): Add call to set_cygdrive_flags to sync | |
8959 | the mount modes. | |
8960 | * mount.cc (set_cygdrive_flags): New function. | |
8961 | (get_cygdrive_flags): Ditto. | |
8962 | (default_cygdrive): Ditto. | |
8963 | (set_cygdrive_flags): Ditto. | |
8964 | * mount.h: Add prototype for set_cygdrive_flags. | |
8965 | ||
3b9077d4 DD |
8966 | 2000-10-23 DJ Delorie <dj@redhat.com> |
8967 | ||
8968 | * ini.h: add source actions | |
8969 | * fromcwd.cc: check for available sources | |
8970 | * res.rc: add checkbox bitmaps | |
8971 | * resource.h: ditto | |
8972 | * check-*.bmp: new | |
8973 | * choose.cc: add source column | |
8974 | * download.cc: download sources if called for | |
8975 | * install.cc: [un]install sources too | |
8976 | ||
1b1b33ac DD |
8977 | 2000-10-22 DJ Delorie <dj@redhat.com> |
8978 | ||
8979 | * choose.cc (build_labels): Don't skip TRUST_PREV completely; only | |
8980 | ignore it wrt full_list if there's already a version installed. | |
8981 | (do_choose): Sort the list. | |
8982 | (package_sort): New. | |
8983 | ||
2a1a01e0 DD |
8984 | 2000-10-12 DJ Delorie <dj@redhat.com> |
8985 | ||
8986 | * res.rc: Add more error strings. | |
8987 | * resource.h: Ditto. | |
8988 | * iniparse.y (new_package): re-initialize if needed. | |
8989 | * download.cc (do_download): Keep track of errors; notify and | |
8990 | allow retry. | |
8991 | * install.cc (do_install): Ditto. | |
8992 | ||
1a9886fe DD |
8993 | 2000-10-05 DJ Delorie <dj@redhat.com> |
8994 | ||
8995 | * Makefile.in: fix %.cc rule | |
8996 | ||
40aef45e DD |
8997 | 2000-10-04 DJ Delorie <dj@redhat.com> |
8998 | ||
8999 | * desktop.cc: quote HOME and USER, don't . ./.profile | |
9000 | ||
9001 | * choose.cc (build_labels): don't include in partial list just | |
9002 | because there's a *previous* version available. | |
9003 | ||
9004 | * install.cc (do_install): if installing from local directory with | |
9005 | setup.ini and the file isn't found, look in "." also. Note errors. | |
9006 | ||
dd3f7f9b DD |
9007 | 2000-10-02 DJ Delorie <dj@redhat.com> |
9008 | ||
9009 | * ini.cc (do_ini): save setup.ini locally | |
9010 | ||
9011 | 2000-10-02 Chris Abbey <cabbey@bresnanlink.net> | |
9012 | ||
9013 | * desktop.cc: quote escapes in prompt | |
9014 | ||
fee2a8d0 DD |
9015 | 2000-10-02 Jason Tishler <jt@dothill.com> |
9016 | ||
9017 | * root.cc (is_admin): New function. | |
9018 | (read_mount_table): Check for administrative priviledges and set | |
9019 | installation scope as appropriate. | |
9020 | ||
a03db251 DD |
9021 | 2000-09-28 DJ Delorie <dj@redhat.com> |
9022 | ||
9023 | * nio-ftp.cc (ftp_line): handle continuations more robustly | |
9024 | ||
b151e01e | 9025 | 2000-09-14 Brian Keener <bkeener@thesoftwaresource.com> |
0b758d4c DD |
9026 | |
9027 | * res.rc: increased the size of the site dialog (IDD_SITE) & the | |
9028 | corresponding list box to provide for more URL's to be listed. | |
9029 | Modified the position of the Back, Next and Cancel buttons to | |
9030 | correspond to the new size of the dialog. | |
9031 | ||
d07591a3 DD |
9032 | 2000-09-13 DJ Delorie <dj@redhat.com> |
9033 | ||
9034 | * install.cc (do_install): update disk fullness once per package | |
9035 | to improve performance | |
9036 | ||
9037 | * choose.cc (create_listview): call ReleaseDC | |
9038 | ||
89725f30 DD |
9039 | Mon Sep 11 22:40 2000 Harold L Hunt II <harold@compasstechnologies.com> |
9040 | ||
9041 | * mkdir.cc: Create directories when ERROR_FILE_NOT_FOUND is | |
9042 | returned, as it seems Samba 2.0.6+ returns this instead of | |
9043 | ERROR_PATH_NOT_FOUND | |
88bcaf07 | 9044 | |
6fbc690d CF |
9045 | Mon Sep 11 19:35:24 2000 Christopher Faylor <cgf@cygnus.com> |
9046 | ||
9047 | * site.cc (get_initial_list_idx): Don't default to saved URL if it | |
9048 | refers to sources. | |
9049 | ||
13d27274 DD |
9050 | 2000-09-07 DJ Delorie <dj@redhat.com> |
9051 | ||
9052 | * splash.cc: use version.h, not local decl | |
9053 | * res.rc: add "old version" message | |
9054 | * resource.h: ditto | |
9055 | * version.h: new | |
9056 | * fromcwd.cc (canonicalize_version): make global | |
89725f30 DD |
9057 | * iniparse.y: add setup-version support, fix bug in blank line |
9058 | handling | |
9059 | ||
13d27274 DD |
9060 | * inilex.l: add [exp] as alias for [test], add setup-version |
9061 | * Makefile.in (version.c): add setup-version tag | |
9062 | ||
9063 | * desktop.cc (do_desktop): remove 1.1 version number | |
9064 | (do_desktop_setup): ditto | |
9065 | ||
9066 | * ini.cc (do_ini): zero out package list just in case we redo it. | |
9067 | ||
8cfbc487 DD |
9068 | 2000-09-07 Jeffrey Juliano <juliano@cs.unc.edu> |
9069 | ||
9070 | * choose.cc (list_click): Check for nindexes==0; if so, return. | |
9071 | ||
c92e1307 DD |
9072 | 2000-09-06 Andrej Borsenkow <Andrej.Borsenkow@mow.siemens.ru> |
9073 | ||
9074 | * localdir.cc: new, local package directory selection dialog; cd | |
9075 | into selected directory | |
9076 | * Makefile.in (OBJS): add localdir.o | |
9077 | * dialog.h: add prototype for do_local_dir | |
9078 | * main.cc (WinMain): initialize local_dir to cwd; add call to | |
9079 | do_local_dir | |
9080 | * net.cc (dialog_cmd): make DO_LOCAL_DIR next dialog | |
9081 | * source.cc (dialog_cmd): ditto | |
9082 | * res.rc: add DO_LOCAL_DIR dialog; remove "current directory" from | |
9083 | presented choices in IDD_SOURCE; add IDS_ERR_CHDIR error string | |
9084 | * resource.h: defines for DO_LOCAL_DIR dialog; define IDS_ERR_CHDIR | |
9085 | * root.cc (dialog_cmd): make DO_LOCAL_DIR previous dialog | |
9086 | * state.h: add local_dir variable | |
9087 | ||
9088 | 2000-09-06 Brian Keener <bkeener@thesoftwaresource.com> | |
50225eae DD |
9089 | |
9090 | * desktop.cc: added logic to handle to the new dialog and to | |
9091 | default the setting for the new checkboxes based on whether the | |
9092 | desktop icon or start menu link already exist. | |
9093 | (desktop_icon): correction to desktop directories for desktop icon | |
9094 | creation. Additional logic added for Win95 which does not appear | |
9095 | to have Common Directories so if Common selected and null uses | |
9096 | normal directory. | |
9097 | (start_menu): Additional logic added for Win95 which does not | |
9098 | appear to have Common Directories so if Common selected and null | |
9099 | uses normal directory. | |
9100 | (do_desktop_setup): moved the saving of the icon, creation of the | |
9101 | bat file, profile, passwd, Start Menu link and desktop shortcut to | |
9102 | this method from do_desktop. Made the creation of the desktop | |
9103 | icon and start menu link conditional on settings of new dialog | |
9104 | created for desktop. | |
9105 | * install.cc (do_install): changed next from IDD_S_DESKTOP to | |
9106 | IDD_DESKTOP. | |
9107 | * main.cc (WinMain): changed case IDD_S_DESKTOP to IDD_DESKTOP. | |
9108 | * res.rc: added new resource to create a desktop dialog with 2 | |
9109 | checkboxes for creating the desktop icon and start menu link. | |
9110 | * resource.h: changed IDD_S_DESKTOP to IDD_DESKTOP and added two | |
9111 | new controls: IDC_ROOT_MENU and IDC_ROOT_DESKTOP for new dialog. | |
9112 | * state.h: added root_menu and root_desktop for use in dialog. | |
9113 | ||
4a83b7b0 DD |
9114 | 2000-08-29 DJ Delorie <dj@redhat.com> |
9115 | ||
9116 | * choose.cc (scan_downloaded_files): scan for existing files, so | |
9117 | that the user only sees new downloads. | |
9118 | ||
9119 | * nio-ie5.cc (NetIO_IE5): pre-check for wininet.dll, enable dial-up | |
9120 | * site.cc (do_site): if we can't download the mirror list, go back | |
9121 | to the net setup box to choose another transport. | |
9122 | * autoload.c: add more functions | |
9123 | * Makefile.in (ALL_DEP_LDLIBS): remove wininet.a | |
9124 | * resource.h: add WININET message | |
9125 | ||
9126 | * net.cc (do_net): no longer default to IE5 | |
9127 | * simpsock.h (class SimpleSocket): new, simplify socket operations | |
9128 | * simpsock.cc: ditto | |
9129 | * nio-http.h: new, for direct http protocol | |
9130 | * nio-http.cc: ditto | |
9131 | * nio-ftp.h: new, for direct http protocol | |
9132 | * nio-ftp.cc: ditto | |
9133 | * netio.cc (set_url): move initialization here to handle redirections | |
9134 | (open): add direct http/ftp | |
9135 | * netio.h (NetIO::set_url): new | |
9136 | ||
9137 | * log.cc (log_save): create directory for log if needed | |
9138 | ||
9139 | * hash.cc, hash.h: new | |
9140 | * Makefile: add hash.o | |
9141 | * choose.cc: enable "uninstall" option | |
9142 | * download.cc: invert action test to accomodate uninstalling | |
9143 | * ini.h: add ACTION_UNINSTALL | |
9144 | * install.cc: add uninstall functionality | |
9145 | * res.rc: make install tag changeable | |
9146 | * resource.h: add uninstall resources | |
9147 | ||
9148 | * res.rc: update mirror list URL | |
88bcaf07 | 9149 | |
50f64a4b DD |
9150 | 2000-08-24 DJ Delorie <dj@redhat.com> |
9151 | ||
89b1a15b DD |
9152 | * log.cc, log.h: new files |
9153 | * Makefile.in (OBJS): add log.o | |
9154 | * tar.cc: use exit_setup instead of exit | |
9155 | * dialog.cc (fatal): use exit_setup instead of ExitProcess | |
9156 | * msg.cc (fatal): ditto | |
9157 | * install.cc (dialog_cmd): ditto | |
9158 | * ini.cc (do_ini): ditto | |
9159 | * main.cc (main): add logging | |
9160 | * source.cc (do_source): ditto | |
9161 | * root.cc (do_source): ditto | |
9162 | * site.cc (do_site): ditto | |
9163 | * other.cc (do_other): ditto | |
9164 | * net.cc (do_net): ditto | |
9165 | * choose.cc (do_choose): ditto | |
9166 | * download.cc (do_download): ditto | |
9167 | * install.cc (do_install): ditto | |
9168 | * msg.cc (fatal): ditto | |
9169 | ||
9170 | * res.rc: mark password boxes as *being* password boxes. | |
9171 | ||
58b12a06 MB |
9172 | * fromcwd.cc (canonicalize_version): use multiple buffers so that |
9173 | multiple calls won't use the same buffer. | |
50f64a4b DD |
9174 | * choose.cc (create_listview): don't default to full list if no changes |
9175 | (base): return computed value, not temporary :-( | |
9176 | (do_choose): don't use installed.db if we're only downloading. | |
9177 | ||
348860fa DD |
9178 | 2000-08-23 DJ Delorie <dj@redhat.com> |
9179 | ||
9180 | * nio-ie5.cc (NetIO_IE5): Fix authentication logic | |
9181 | * nio-ie5.h (flush_io): new | |
9182 | * netio.cc (load_dialog): note when we're initializing the dialog | |
9183 | box, and ignore changes to the edit fields then. | |
9184 | ||
5f48f258 DD |
9185 | 2000-08-21 DJ Delorie <dj@redhat.com> |
9186 | ||
9187 | * README: Update | |
9188 | ||
9189 | * fromcwd.cc (found_file): don't remember the canonicalized version | |
9190 | ||
9191 | * choose.cc (paint): print "nothing to do" message when list is empty. | |
9192 | (build_labels): Use version "0.0" if no version is available. | |
9193 | (create_listview): default to full list if nothing to install/update. | |
9194 | (base): new, returns basename of file | |
9195 | (read_installed_db): compare base names, not full paths | |
9196 | ||
713bbe5f DD |
9197 | 2000-08-11 DJ Delorie <dj@redhat.com> |
9198 | ||
9199 | * choose.cc: add new chooser dialog | |
9200 | * fromcwd.cc: use IDD_CHOOSE | |
9201 | * ini.cc: use IDD_CHOOSE | |
9202 | * main.cc: use IDD_CHOOSE | |
9203 | * ini.h: cosmetic changes | |
9204 | * res.rc: add choose dialog, bitmaps | |
9205 | * choose-spin.bmp: new | |
9206 | * choose-rtarrow.bmp: new | |
9207 | * resource.h: add choose dialog controls | |
9208 | ||
9209 | * mount.cc: remove debug statement | |
88bcaf07 | 9210 | |
2e9cbac5 DD |
9211 | 2000-08-08 DJ Delorie <dj@redhat.com> |
9212 | ||
9213 | * Makefile.in (version.c): make version checking more robust | |
9214 | * splash.cc (load_dialog): handle case where there's no version | |
9215 | ||
8507f105 DD |
9216 | 2000-08-07 DJ Delorie <dj@redhat.com> |
9217 | ||
9218 | * (all): add cvsid tags | |
9219 | * Makefile.in: generate version.c from ChangeLog, add splash.o | |
9220 | * splash.o: new | |
9221 | * res.rc: add splash screen | |
88bcaf07 | 9222 | |
f5d0464b DD |
9223 | 2000-08-02 DJ Delorie <dj@redhat.com> |
9224 | ||
4e8ff53f DD |
9225 | * net.cc: remove proxy password code |
9226 | * res.rc: remove proxy user/pass from net, add auth dialogs | |
9227 | * netio.cc,h: add sys/proxy auth methods | |
9228 | * nio-ie5: use them, check for http status codes | |
9229 | * state.h: add system authorization | |
9230 | ||
f5d0464b DD |
9231 | * concat.cc (concat): canonicalize x:// to x:/ (exception to :// |
9232 | meaning an url) | |
9233 | ||
76cbfa85 DD |
9234 | 2000-08-02 Norman Vine <nhv@yahoo,com> |
9235 | ||
9236 | * msg.cc (mbox): added MB_TOPMOST to MessageBox type flags | |
9237 | ||
e92c4436 DD |
9238 | 2000-08-01 DJ Delorie <dj@redhat.com> |
9239 | ||
bf74c544 DD |
9240 | * postinstall.cc (each): don't rename files we ignore |
9241 | (do_postinstall): set CYGWINROOT to root_dir, chdir there | |
9242 | ||
e92c4436 DD |
9243 | * desktop.cc: have /etc/profile call ~/.profile and ~/.bashrc |
9244 | ||
a6100861 DD |
9245 | 2000-07-31 DJ Delorie <dj@redhat.com> |
9246 | ||
9247 | * desktop.cc: reverse PATH so /usr/bin precedes /bin | |
9248 | ||
b11b49f3 DD |
9249 | 2000-07-18 DJ Delorie <dj@redhat.com> |
9250 | ||
a99bdfd8 DD |
9251 | * autoload.c: new, autoload dlls that might not be available. |
9252 | * Makefile.in (OBJS): add autoload.o | |
9253 | ||
9254 | * res.rc: rewrite root options (text/binary, system/user) to be | |
9255 | more obvious. | |
9256 | ||
b5b282c4 DD |
9257 | * site.cc (get_site_list): trim displayed URL, sort by domain |
9258 | ||
9259 | * net.cc (do_net): make IE5 default to checked, for now | |
9260 | ||
b11b49f3 DD |
9261 | * choose.cc (do_choose): sort packages correctly |
9262 | * ini.cc (do_ini): handle parse errors more gracefully | |
9263 | (yyerror): ditto | |
9264 | (fprintf): line buffer output | |
b5b282c4 | 9265 | (do_ini): if we can't load setup.ini, go back to the site list. |
b11b49f3 DD |
9266 | * ini.h: add "unknown" trust level |
9267 | * inilex.l: absorb unknown trust levels and key/value pairs, | |
9268 | add line number logic | |
9269 | * iniparse.y: handle parse errors more gracefully. | |
9270 | * install.cc: skip packages with no valid install entry | |
9271 | ||
1fd6d0a2 DD |
9272 | 2000-07-17 DJ Delorie <dj@cygnus.com> |
9273 | ||
9274 | * coding standards fixups, many files | |
9275 | * mkdir.cc: warn about deletions *before* deleting them | |
9276 | ||
ed3e8b9b DD |
9277 | 2000-07-17 Jeff Juliano <juliano@cs.unc.edu> |
9278 | ||
9279 | * res.rc (IDD_OTHER_URL): reorder to give default focus to entry | |
9280 | ||
9281 | * other.cc (dialog_cmd): save download site URL | |
9282 | * site.cc (get_root_dir): new | |
9283 | (save_mirror_site): new | |
9284 | (dialog_cmd): save download site URL | |
9285 | (get_site_list): make list big enough to add prev site | |
9286 | (get_initial_list_idx): new, read last-used URL from file and | |
9287 | append it to site_list | |
9288 | (do_site): call get_initial_list_idx | |
9289 | ||
9290 | * concat.cc (concat): avoid segfault when first parm is null | |
88bcaf07 | 9291 | |
f57c332f DD |
9292 | 2000-07-13 DJ Delorie <dj@cygnus.com> |
9293 | ||
9294 | * postinstall.cc: new | |
9295 | * Makefile.in: add postinstall.o | |
9296 | * concat.h: add backslash () | |
9297 | * concat.cc: ditto | |
9298 | * desktop.cc (etc_profile): don't do postinstall | |
9299 | (backslash): moved to concat.cc | |
9300 | (uexists): new | |
9301 | (make_postinstall_script): run directly | |
9302 | (do_desktop): chain to do_postinstall | |
9303 | * dialog.h: add exit_msg, do_postinstall | |
9304 | * download.cc: use exit_msg | |
9305 | * install.cc: ditto | |
9306 | * main.cc: add postinstall, exit_msg | |
9307 | * resource.h: add postinstall | |
d6cda811 | 9308 | * README: add more to-do items |
f57c332f | 9309 | |
3a8e3956 DD |
9310 | 2000-07-12 DJ Delorie <dj@cygnus.com> |
9311 | ||
9312 | * desktop.cc: add /etc/postinstall/ support | |
1a18aed7 | 9313 | * install.cc: add more "standard" directories |
3a8e3956 | 9314 | |
e0c3d906 DD |
9315 | 2000-07-11 DJ Delorie <dj@cygnus.com> |
9316 | ||
9317 | * desktop.cc: create /etc/profile | |
ad09bcd9 DD |
9318 | * desktop.cc: fix include syntax |
9319 | * Makefile.in: add auto-dependencies | |
24e259bb DD |
9320 | * root.cc: support system vs user |
9321 | * desktop.cc: ditto | |
9322 | * mount.h: ditto | |
9323 | * mount.cc: ditto | |
9324 | * install.cc: ditto | |
9325 | * res.rc: ditto | |
9326 | * resource.h: ditto | |
9327 | * state.h: ditto | |
84d58d4c | 9328 | * desktop.cc: make sure we use backslashes, not slashes. |
bf1d5889 DD |
9329 | * desktop.cc: don't set PATH in cygwin.bat, create /etc/passwd |
9330 | * geturl.cc: change math for percentage to avoid overflow | |
9331 | * install.cc: ditto | |
9332 | * download.cc: post "download complete" message. | |
9333 | * root.cc: pre-fill in defaults if needed, don't start | |
9334 | browse at root_dir unless it's set. | |
a3f48e18 | 9335 | * desktop.cc: quote $PATH in case it has spaces in it |
88bcaf07 | 9336 | |
904d24fe DD |
9337 | 2000-07-10 DJ Delorie <dj@cygnus.com> |
9338 | ||
9339 | * Makefile.in: add desktop.o and mklink2.o | |
9340 | * dialog.h: add do_desktop | |
9341 | * install.cc: create standard directories, call do_desktop | |
9342 | * res.rc: add cygwin.ico as a file also | |
9343 | * desktop.cc: new, do shortcuts, batch files, and icons | |
9344 | * mklink2.c: new, for COM | |
1ab805b8 | 9345 | * README: update to-do list |
904d24fe | 9346 | |
04d6e06b DD |
9347 | 2000-07-10 DJ Delorie <dj@cygnus.com> |
9348 | ||
9349 | * ini.cc (do_ini): don't worry about timestamps if we're not | |
88bcaf07 | 9350 | actually installing. |
04d6e06b | 9351 | |
5601a13d DD |
9352 | 2000-07-09 DJ Delorie <dj@cygnus.com> |
9353 | ||
9354 | * Makefile.in: add -I$(srcdir) for ini.h | |
9355 | ||
23c9e63c DD |
9356 | 2000-07-06 DJ Delorie <dj@cygnus.com> |
9357 | ||
9358 | * Replace everything with a new GUI version | |
9359 | * zlib/gzio.c: add gzctell() for progress displays | |
9360 | ||
9361 | 2000-06-22 DJ Delorie <dj@cygnus.com> | |
9362 | ||
9363 | * setup.c (tarx): re-add call to write_pkg() | |
9364 | ||
aa32874b DD |
9365 | 2000-06-07 DJ Delorie <dj@cygnus.com> |
9366 | ||
9367 | * cygcalls.c: new, call cygwin1.dll functions directly | |
9368 | * cygcalls.h: header for same | |
9369 | * Makefile.in: add cygcalls.[ch], remove mount/cygpath/umount | |
9370 | exes, fix cinstall.rc dependencies. | |
9371 | * path.c: remove unneeded code | |
9372 | * setup.c: use cygcalls instead of xcreate_process. | |
9373 | uncompress embedded files with zlib | |
9374 | add "-d" for "download only" | |
9375 | add "-h" for help | |
9376 | postpone mount changes until very end | |
9377 | add download progress indicators | |
9378 | pack multi-column listings more | |
9379 | auto-delete temp files | |
9380 | customize banner message according to options | |
9381 | prompt user for text/binary mounts | |
9382 | add warnings about empty setup directory, root installs, etc | |
9383 | ||
99d1bf2d DD |
9384 | 2000-05-24 DJ Delorie <dj@cygnus.com> |
9385 | ||
9386 | * tar.c: New file; built-in tar using zlib. | |
9387 | * tar.h: New file; header for same. | |
9388 | * ctar.c: New file; test program for same. | |
9389 | * Makefile.in: add built-in tar, remove tar.exe and gzip.exe | |
58b12a06 MB |
9390 | * path.c (pathcat): convert slashes and canonicalize, instead of |
9391 | aborting | |
99d1bf2d DD |
9392 | * setup.c (tarx): add support for built-in tar |
9393 | (main): accept unix-style slashes, check root dir for drive letters, | |
58b12a06 MB |
9394 | warn about installing in /, make sure cwd is empty for internet |
9395 | installs, defer mounts to end of install, support built-in tar. | |
99d1bf2d | 9396 | |
55650749 CF |
9397 | Fri May 19 23:44:37 2000 Christopher Faylor <cgf@cygnus.com> |
9398 | ||
9399 | Fix compiler warnings throughout. | |
9400 | * pkg.c (init_pkgs): Make static 'stuff' global_pkgstuff for use in | |
9401 | get_pkg_stuff. | |
9402 | * setup.c: Make 'root' global. | |
9403 | (istargz): Return pointer to "stem" of matched .tar.gz file. | |
9404 | (tarx): Special case cygwin-20000301 to == cygwin-1.1.0.tar.gz. Remove | |
9405 | bogus check_for_installed check. | |
9406 | (recurse_dirs): Add preliminary support for .bat file execution. | |
9407 | (create_uninstall): Eliminate unneeded parameter. | |
9408 | (do_start_menu): Ditto. | |
9409 | (mkmount): Ditto. | |
9410 | (get_pkg_stuff): Ditto. Check for currently installed cygwin by | |
9411 | scanning for the version number. Eliminate unneeded argument to | |
9412 | create_uninstall. | |
9413 | (getdownloadsource): Add 'name' to list of names rather than url. | |
9414 | (main): Eliminate unneeded argument in get_pkg_stuff. Eliminate | |
9415 | unneeded argument in mkmount and do_start_menu. | |
9416 | ||
f4dda8f0 DD |
9417 | 2000-05-18 DJ Delorie <dj@cygnus.com> |
9418 | ||
9419 | * setup.c (optionprompt): allow multi-column, clean up message | |
9420 | about more options, be more robust about user input. | |
9421 | (getdownloadsource): make the mirror URL a macro. | |
9422 | (main): do mounts after done prompting user. | |
9423 | ||
62844d84 CF |
9424 | Tue May 2 00:56:41 2000 Christopher Faylor <cgf@cygnus.com> |
9425 | ||
9426 | * setup.c (cleanup): Inverse order of deletion stands a better chance | |
9427 | of deleting cygpath.exe. Still seems to suffer from occasional races, | |
9428 | though. | |
9429 | (cleanup_on_signal): Perform convoluted dance to accomodate win95 and | |
9430 | w2k. | |
9431 | (output_file): Defend against an unlikely handle leak. | |
9432 | (main): Don't set up signal handling until we have something special to | |
9433 | do. | |
9434 | ||
ad6749c8 CF |
9435 | Mon May 1 17:56:32 2000 Christopher Faylor <cgf@cygnus.com> |
9436 | ||
9437 | * path.c (kill_cygpath): Delete function. | |
9438 | (exit_cygpath): Make more defensive so that it can be called at any | |
9439 | time. | |
9440 | (cygpath_pipe): Don't set up signal here. Do it in main(). | |
9441 | * setup.c (istargz): New function. | |
9442 | (recurse_dirs): Look for *.gz pattern rather than *tar.gz since *tar.gz | |
9443 | inexplicably fails on samba mounted partitions. Use istargz to match | |
9444 | tar.gz tail. | |
9445 | (processdirlisting) Use istargz to match tar.gz tail. | |
9446 | (cleanup): Renamed from filedel. | |
9447 | (cleanup_on_signal): New function. Called on CTRL-C. | |
9448 | (main): Record handle of main thread so that it can be suspended when | |
9449 | CTRL-C occurs. Set up cleanup_on_signal signal handler. | |
9450 | ||
460cf7b6 CF |
9451 | Mon May 1 11:05:07 2000 Christopher Faylor <cgf@cygnus.com> |
9452 | ||
9453 | * setup.c (do_start_menu): Don't concatenate paths to already built | |
9454 | paths. | |
9455 | ||
9e76799c CF |
9456 | Sun Apr 30 22:37:34 2000 Christopher Faylor <cgf@cygnus.com> |
9457 | ||
9458 | * path.c (exit_cygpath): Wait for subprocess to exit before returning. | |
9459 | (cygpath_pipe): Don't call exit_cygpath. Let main atexit routine do | |
9460 | that. | |
9461 | * pkg.c (init_pkgs): Accept root argument. Make registry key "cygwin | |
9462 | root"-specific. | |
9463 | * setup.c (filedel): Call exit_cygpath here so that we can be assured | |
9464 | that cygpath subprocess has died. This allows us to delete cygpath.exe | |
9465 | and cygwin1.dll. | |
9466 | (optionprompt): Initialize response to -1 so that second screen of | |
9467 | mirrors will appear. | |
9468 | (get_pkg_stuff): Don't attempt to use HKCLU. Pass root to init_pkgs. | |
9469 | * setup.h: Reflect init_pkgs prototype change. | |
9470 | ||
2cf65e6e CF |
9471 | Sat Apr 29 23:53:30 2000 Christopher Faylor <cgf@cygnus.com> |
9472 | ||
9473 | * pkg.c (init_pkgs): Accept an argument to control what root registry | |
9474 | key should be used. | |
9475 | * setup.c (get_pkg_stuff): Use HKCLU registry key if default fails. | |
9476 | * setup.h: Reflect init_pkgs prototype change. | |
9477 | ||
9478 | Sat Apr 29 23:27:14 2000 Christopher Faylor <cgf@cygnus.com> | |
9479 | ||
9480 | * error.c (winerror): Respond to gcc warning. | |
9481 | * path.c (cygpath_pipe): Ditto. | |
9482 | * setup.c (filedel): Call sa_cleanup on deleteme. | |
9483 | (create_shortcut): Coerce argument to eliminate compiler warning. | |
9484 | (tarx): Use installed version of cygwin1.dll, overriding tar file name. | |
9485 | (refmatches): New function. Tests if ref is contained in a list of | |
9486 | packages to install. | |
9487 | (filematches): New function. Tests if filename matches one of a list | |
9488 | of packages to install. | |
9489 | (recurse_dirs): Accept list of packages to install. Generalize tar.gz | |
9490 | test to accomodate _tar.gz. | |
9491 | (prompt): Ensure that stdout is flushed prior to asking for input. | |
9492 | (findhref): Initialize variables to quiet a compiler warning. | |
9493 | (processdirlisting): Accept list of packages to install. Special case | |
9494 | cygwin tar file version number. | |
9495 | (downloaddir): Accept list of packages to install. | |
9496 | (downloadfrom): Ditto. | |
9497 | (create_uninstall): Eliminate unneeded variables. Quote arguments to | |
9498 | regtool. | |
9499 | (do_start_menu): Don't create uninstall bat file if updating or user | |
9500 | specified a list of packages. | |
9501 | (mkmount): Eliminate unneeded variables. | |
9502 | (get_pkg_stuff): New function. Checks for previous unversioned | |
9503 | installation. | |
9504 | (main): Accept -u and -f options and package names on the command line. | |
9505 | Use get_pkg_stuff to initialize package information. Umount /etc. | |
9506 | Call recurse_dirs and downloadfrom with list of package to install. | |
9507 | Ensure that all /usr/local directories are created. Output | |
9508 | installation time to setup.log. | |
9509 | * setup.h: Add some prototypes. | |
9510 | * xsystem.c (xcreate_process): Eliminate unneeded variable. | |
9511 | ||
4cf88dd9 CF |
9512 | Sat Apr 29 12:43:08 2000 Christopher Faylor <cgf@cygnus.com> |
9513 | ||
9514 | * setup.c (optionprompt): Don't overlap display of already seen options | |
9515 | on next page. | |
9516 | (geturl): Print name of site which we're connecting to rather than "ftp | |
9517 | site". | |
9518 | (processdirlisting): Avoid URLs that contain a /. or ./ . Is this | |
9519 | test too simplistic? | |
9520 | (do_start_menu): Use pathcat to build path to <root>\bin to avoid | |
9521 | problems when user chooses x:\ as their root. | |
9522 | (main): For now, default to "non-update" mode. Allow -u option to | |
9523 | signify an update. | |
9524 | ||
36591a07 CF |
9525 | Sat Apr 29 00:26:06 2000 Christopher Faylor <cgf@cygnus.com> |
9526 | ||
9527 | * pkg.c: New file. | |
9528 | * setup.c (tarx): Skip already installed or older packages. Report | |
9529 | when a package has been updated. | |
9530 | (processdirlisting): Skip already installed or older packages. | |
9531 | (main): Detect -f option for forced installation. Initialize pkg stuff | |
9532 | if appropriate. | |
9533 | * setup.h: Add pkg definitions. | |
9534 | ||
c298ea4a CF |
9535 | Thu Apr 27 14:21:30 2000 Christopher Faylor <cgf@cygnus.com> |
9536 | ||
9537 | * setup.c (findhref): Return NULL on empty string. Eat any trailing | |
9538 | ";something". | |
9539 | (processdirlisting): Attempt to limit recursively processing the same | |
9540 | directory. | |
9541 | ||
f4cafa7e CF |
9542 | Thu Apr 27 11:42:23 2000 Christopher Faylor <cgf@cygnus.com> |
9543 | ||
9544 | * setup.c (filedel): New function. | |
9545 | (output_file): Keep track of files extracted from setup.exe for | |
9546 | subsequent deletion. | |
9547 | (tarx): Close process handle of child tar process or suffer handle | |
9548 | leak. | |
9549 | (getdownloadsource): Close mirror file so that it can be unlinked. | |
9550 | (processdirlisting): Return total number of files extracted. | |
9551 | (main): Initialize array of files to delete. Ensure that files are | |
9552 | closed on exit. Make the directory that setup.exe is started from == | |
9553 | the directory where temporary files are placed. Issue an error if no | |
9554 | files were found to download. | |
9555 | * xsystem.c (xcreate_process): Close the thread handle. Close the | |
9556 | process handle if we waited for it to exit. | |
9557 | ||
cd475210 CF |
9558 | Thu Apr 27 09:54:19 2000 Christopher Faylor <cgf@cygnus.com> |
9559 | ||
9560 | * setup.c (main): Change version number output. | |
9561 | ||
7dff5e71 CF |
9562 | Thu Apr 27 09:23:17 2000 Christopher Faylor <cgf@cygnus.com> |
9563 | ||
9564 | * setup.c (tarx): Use full path name to tar executable. | |
9565 | (main): Build full pathname to tar executable. Create /usr/local/etc | |
9566 | by default. | |
9567 | ||
99437fdb CF |
9568 | Wed Apr 26 22:16:57 2000 Christopher Faylor <cgf@cygnus.com> |
9569 | ||
9570 | * setup.c (findhref): Change method for scanning for href= to choose | |
9571 | the last one on the line. This is still not foolproof and probably | |
9572 | will need to be changed eventually. Don't abort if no "size" field is | |
9573 | evident. | |
9574 | (processdirlisting): Fix boolean algebra. | |
9575 | ||
0f562d55 CF |
9576 | Wed Apr 26 01:10:39 2000 Christopher Faylor <cgf@cygnus.com> |
9577 | ||
9578 | * main.c (tarx): Add some code for future task of unmounting | |
9579 | directories encountered in tar file. | |
9580 | ||
4356382d CF |
9581 | Sat Apr 22 16:37:03 2000 Christopher Faylor <cgf@cygnus.com> |
9582 | ||
9583 | * setup.c (findhref): Decode file size, when appropriate. | |
9584 | (needfile): New function. Returns 1 when file should be | |
9585 | downloaded. | |
9586 | (processdirlisting): Always download if file size does not | |
9587 | match. Prompt when download fails for some reason. | |
9588 | (getdownloadsource): Accomodate findhref argument changes. | |
9589 | ||
6ab1ce6c CF |
9590 | Sat Apr 22 15:13:42 2000 Christopher Faylor <cgf@cygnus.com> |
9591 | ||
9592 | Throughout, use global session handle rather than reinitializing for | |
9593 | each connect. Don't pass session as an argument to setup.c functions. | |
9594 | * setup.c (geturl): Only issue "Connecting to.." message when using | |
9595 | http or first time for ftp since subsequent connections will be fast. | |
9596 | (processdirlisting): Allocate space for "N" when user has specified | |
9597 | "N"ever option so that it can be subsequently freed. | |
9598 | (main): Abort if we can't get the list of mirrors. | |
9599 | ||
37ee316b CF |
9600 | Thu Apr 20 16:41:42 2000 Christopher Faylor <cgf@cygnus.com> |
9601 | ||
9602 | * setup.c (main): Umount /bin and /lib. | |
9603 | ||
a59fb4fa CF |
9604 | Wed Apr 19 13:34:44 2000 Christopher Faylor <cgf@cygnus.com> |
9605 | ||
9606 | * setup.c (main): Create an empty /var/run/utmp. | |
9607 | ||
75f4b861 CF |
9608 | Tue Apr 18 19:16:56 2000 Christopher Faylor <cgf@cygnus.com> |
9609 | ||
9610 | * Makefile.in: Add umount to list of files to include in setup.exe. | |
9611 | * setup.c (xumount): New function for unmounting directories. | |
9612 | (main): Unmount /usr. | |
9613 | (mkmount): Unmount "unix directory" before trying to figure out where | |
9614 | to create the directory. | |
9615 | ||
d4a66789 CF |
9616 | Tue Apr 18 17:28:55 2000 Christopher Faylor <cgf@cygnus.com> |
9617 | ||
9618 | * setup.c (mkmount): Use xcreate_process to start mount process, | |
9619 | avoiding the shell. | |
9620 | (main): Don't do buffering on stdout or prompts won't be displayed | |
9621 | correctly if running in a cygwin shell with CYGWIN=tty. | |
9622 | ||
a6c3982d CF |
9623 | Tue Apr 18 15:35:19 2000 Christopher Faylor <cgf@cygnus.com> |
9624 | ||
9625 | * setup.c (main): Remove the CYGWIN environment variable before | |
9626 | starting any cygwin programs. | |
9627 | ||
0ffd5e3b CF |
9628 | Mon Apr 17 19:20:52 2000 Vadim Egorov <egorovv@mailandnews.com> |
9629 | ||
9630 | * setup.c (geturl): Use alternative method for finding filename part of | |
9631 | a URL. | |
9632 | (processdirlisting): Accomodate strange output from non-MS ftp proxy. | |
9633 | (downloaddir): Unlink file containing dir listing. | |
9634 | (downloadfrom): Ditto. | |
9635 | ||
3e54bcf9 CF |
9636 | Mon Apr 17 00:00:49 2000 Christopher Faylor <cgf@cygnus.com> |
9637 | ||
9638 | * setup.c (main): Disallow running setup.exe from the "root". | |
9639 | ||
005b73c4 CF |
9640 | Sun Apr 16 18:50:58 2000 Christopher Faylor <cgf@cygnus.com> |
9641 | ||
2cf65e6e | 9642 | Use "warning" function, where appropriate, to output warnings. |
005b73c4 CF |
9643 | * setup.c (warning): New function -- outputs warning to console and log |
9644 | file. | |
9645 | (tarx): Fix index used to reset file protection. | |
9646 | (main): Open the log file earlier so that more stuff can be sent to it. | |
9647 | ||
36dc5fc8 CF |
9648 | Sat Apr 15 20:05:33 2000 Christopher Faylor <cgf@cygnus.com> |
9649 | ||
9650 | * setup.c (processdirlisting): Make "N" option a little less aggressive. | |
9651 | ||
c73320de CF |
9652 | Fri Apr 14 11:11:29 2000 Christopher Faylor <cgf@cygnus.com> |
9653 | ||
9654 | * setup.c (tarx): Wait to after tar has completed to reset protections | |
9655 | or suffer races with tar process. | |
9656 | ||
68cdfc92 CF |
9657 | Thu Apr 13 12:51:19 2000 Christopher Faylor <cgf@cygnus.com> |
9658 | ||
9659 | * Makefile.in: Eliminate duplicate -nostdinc from CFLAGS. | |
9660 | * setup.c (create_uninstall): Create the uninstall .bat file in the | |
9661 | "root" so that we can remove the /bin directory. Add bin\cygwin.bat to | |
9662 | list of files to be deleted. Fix directory detection for determining | |
9663 | when to use 'rmdir'. | |
9664 | (do_start_menu): Add /usr/local/bin to the path. | |
9665 | (main): Add slop to files.array allocation so that we don't have to | |
9666 | worry about reallocating the array when it grows too large when doing | |
9667 | some trivial "pushes". Add /tmp and /usr/local/{bin,lib} to list of | |
9668 | files. | |
9669 | ||
35d18861 CF |
9670 | Thu Apr 13 01:59:44 2000 Christopher Faylor <cgf@cygnus.com> |
9671 | ||
9672 | * setup.c (processdirlisting): Fix handling of "A" for "A"lways | |
9673 | download. | |
9674 | ||
20904de1 CF |
9675 | Thu Apr 13 01:11:45 2000 Christopher Faylor <cgf@cygnus.com> |
9676 | ||
9677 | * path.c (kill_cygpath): New cleanup function. | |
9678 | (exit_cygpath): New cleanup function. | |
9679 | (cygpath_pipe): New function. Sets up cygpath in the background for | |
9680 | translating filenames. | |
9681 | (pathcvt): Use background cygpath for file translation. | |
9682 | * setup.c (tarx): New function. Called to extract tar files, capture | |
9683 | logging output, and translate it to Windows format. | |
9684 | (recurse_dirs): Use 'tarx' function to extract files. | |
9685 | (create_uninstall): Use file list built up by tarx rather than reading | |
9686 | the log file. | |
9687 | (mkmount): Add ability to mount root. | |
9688 | (main): Track elapsed install time. Mount root. | |
9689 | * starry.h: Add index field to strarry for tracking of tarx's usage of | |
9690 | this structure. | |
9691 | * xsystem.c (xcreate_process): Return proces handle when not waiting. | |
9692 | ||
c1246750 CF |
9693 | Mon Apr 10 22:44:56 2000 Christopher Faylor <cgf@cygnus.com> |
9694 | ||
9695 | * path.c: New file. | |
9696 | (pathfp): New function. Preliminary work for new -f cygpath | |
9697 | functionality. | |
9698 | * Makefile.in: Add new file. | |
9699 | (pathcvt): Move to new file. | |
9700 | (dtoupath): Ditto. | |
9701 | (utodpath): Ditto. | |
9702 | (pathcat): Ditto. | |
9703 | * setup.c (processdirlisting): Always open file in text mode. | |
9704 | (create_uninstall): Ditto. | |
9705 | (getdownloadsource): Ditto. | |
9706 | (main): Ditto. | |
9707 | ||
4b40edd0 CF |
9708 | Mon Apr 10 20:33:40 2000 Christopher Faylor <cgf@cygnus.com> |
9709 | ||
9710 | * xsystem.c: New file. | |
9711 | * Makefile.in: Accomodate new file. | |
9712 | * setup.c (xsystem): Move to new file. | |
9713 | (recurse_dirs): Accept handle to output log file. Don't use ">" | |
9714 | redirection to trap tar output. Use supplied handle instead. | |
9715 | (create_uninstall): Accept FILE pointer to opened log file. Don't | |
9716 | unlink log file here. | |
9717 | (do_start_menu): Accept FILE pointer to pass to create_uninstall. | |
9718 | (main): Open log file here and pass it to various functions. Unlink | |
9719 | when done. | |
9720 | ||
6f8e3b45 CF |
9721 | Mon Apr 10 17:15:52 2000 Christopher Faylor <cgf@cygnus.com> |
9722 | ||
9723 | Change occurrences of .usr.bin to .bin throughout. | |
9724 | * setup.c (geturl): Increase number of retries to 20. Let user know | |
9725 | what's going on during long connects. | |
9726 | (processdirlisting): Accept "A"lways and "N"ever as update options. | |
9727 | (create_uninstall): Load cygwin1.dll from the current directory rather | |
9728 | than \bin. | |
9729 | (main): Add some expository text. | |
9730 | ||
2a907b70 CF |
9731 | Sun Apr 9 20:59:15 2000 Christopher Faylor <cgf@cygnus.com> |
9732 | ||
9733 | * Makefile.in: Change method for compressing cygwin1.dll to avoid | |
9734 | creating a cygwin1.dll in the current directory. Ensure the addition | |
9735 | of -nostdinc to MINGW_CFLAGS. | |
9736 | ||
c4285a3c CF |
9737 | Sun Apr 9 02:15:47 2000 Christopher Faylor <cgf@cygnus.com> |
9738 | ||
9739 | * Makefile.in: Augment clean target. | |
9740 | ||
ea615d51 RP |
9741 | Fri Apr 7 17:04:02 Ron Parker <rdparker@sourceware.cygnus.com> |
9742 | ||
9743 | * README: Added info about non-working mingw implementation | |
c1246750 | 9744 | * gzip.exe.gz: Replace with a version from the same build as the other |
ea615d51 | 9745 | tools. |
c1246750 | 9746 | * tar.exe.gz: Replace with a version from the same build as the other |
ea615d51 | 9747 | tools. |
c1246750 | 9748 | * mount.exe.gz: Add to repository until, mingw can build setup. |
ea615d51 RP |
9749 | * cygpath.exe.gz: ditto |
9750 | * cygwin1.dll.gz: ditto | |
c1246750 CF |
9751 | * setup.c: Overwrite /bin and /lib mounts. Generate working shortcut |
9752 | for Win9x. Display only a screenfull of options at a time. Call all | |
9753 | tools with an absolute path. | |
9754 | * setup.dsp: Restore the carriage returns, MS Developer Studio needs | |
9755 | them. | |
ea615d51 RP |
9756 | * setup.dsw: ditto |
9757 | * zlib.dsw: ditto | |
9758 | ||
51954e74 CF |
9759 | Thu Apr 6 19:15:27 2000 Christopher Faylor <cgf@cygnus.com> |
9760 | ||
c1246750 CF |
9761 | * Makefile.in: Add "-nostdinc" to regular CFLAGS. Add target to grab |
9762 | cygwin1.dll from ../cygwin subdirectory. | |
51954e74 CF |
9763 | * gzip.exe.gz: Update. |
9764 | * tar.exe.gz: Update. | |
9765 | ||
7b777418 CF |
9766 | Wed Apr 5 10:52:08 2000 Christopher Faylor <cgf@cygnus.com> |
9767 | ||
9768 | * Makefile.in: Use ZLIB variable as a target. | |
9769 | ||
4306b490 CF |
9770 | Sat Apr 1 22:49:09 2000 Christopher Faylor <cgf@cygnus.com> |
9771 | ||
5e7eb909 CF |
9772 | * Makefile.in: Eliminate traces of cygwinisms. Don't link with |
9773 | libmsvcrt.a. It's unneeded. Build .rc file on the fly from various | |
9774 | sources. | |
4306b490 CF |
9775 | * configure.in: Locate correct objcopy. |
9776 | * configure: Regenerate. | |
9777 | ||
739457f4 CF |
9778 | Sat Apr 1 20:48:09 2000 Christopher Faylor <cgf@cygnus.com> |
9779 | ||
9780 | * Makefile.in: New file. | |
9781 | * configure.in: New file. | |
9782 | * configure: New file. | |
9783 | * zlib/Makefile.am: New file. | |
9784 | * zlib/configure.in: New file. | |
9785 | * zlib/aclocal.m4: New file. | |
9786 | * zlib/acinclude.m4: New file. | |
9787 | * zlib/configure: Regenerate from configure.in. | |
9788 | * zlib/Makefile.in: Regenerate from Makefile.am | |
8507f105 DD |
9789 | |
9790 | %%% $Id$ | |
9791 | $Revision$ |