]> cygwin.com Git - cygwin-apps/setup.git/log
cygwin-apps/setup.git
16 years ago Backport reversion from HEAD to fix excess libgcrypt rebuilding. setup-200706
Dave Korn [Sun, 29 Jun 2008 16:19:46 +0000 (16:19 +0000)]
  Backport reversion from HEAD to fix excess libgcrypt rebuilding.

  2008-06-25  Dave Korn  <dave.korn.cygwin@gmail.com>

* configure.in, gpg-error-config-fake:  Revert previous removal.

16 years ago Backport bugfix for crashes caused by corrupt compressed listing files.
Dave Korn [Sun, 29 Jun 2008 16:11:19 +0000 (16:11 +0000)]
  Backport bugfix for crashes caused by corrupt compressed listing files.

  2008-02-23  Dave Korn  <dave.korn@artimi.com>

* cygpackage.cc (cygpackage::getfirstfile):  Guard against trying to
construct std::string from NULL returned by io_stream::gets when the
stream decompressor fails on a corrupt *.lst.gz file.

16 years ago * Makefile.am, configure.in, gpg-error-config-fake (removed): Backport
Dave Korn [Wed, 25 Jun 2008 01:01:38 +0000 (01:01 +0000)]
* Makefile.am, configure.in, gpg-error-config-fake (removed):  Backport
improved build patches from HEAD.

16 years ago * ChangeLog: Corrected tag named in merge comment.
Dave Korn [Sat, 21 Jun 2008 19:40:50 +0000 (19:40 +0000)]
* ChangeLog:  Corrected tag named in merge comment.

16 years ago Merged across diffs between setup_crypto_branch_branchpoint and
Dave Korn [Sat, 21 Jun 2008 19:34:37 +0000 (19:34 +0000)]
  Merged across diffs between setup_crypto_branch_branchpoint and
setup_crypto_branch_mergepoint1 from setup_crypto_branch.

* crypto.cc, crypto.h, gpg-packet.cc, gpg-packet.h, KeysSetting.cc,
KeysSetting.h, gpg-error-config-fake, cygwin.pub, cyg-pubkey.h,
gpg-key-to-s-expr.sh:  New files.
* ini.cc, ini.h, resource.h, res.rc, netio.cc, Makefile.am,
configure.ac, libgetopt++/src/OptionSet.cc:  Modified files.

16 years ago * setup/libgpg-error/: Merge imported upstream sources of
Dave Korn [Wed, 18 Jun 2008 22:59:44 +0000 (22:59 +0000)]
* setup/libgpg-error/:  Merge imported upstream sources of
libgpg-error-1.6.tar.bz2 from http://www.gnupg.org/
* setup/libgcrypt/:  Merge imported upstream sources of
libgcrypt-1.4.1.tar.bz2 from http://www.gnupg.org/

16 years agoThis commit was manufactured by cvs2svn to create branch 'setup-200706'.
cvs2svn [Mon, 16 Jun 2008 02:12:34 +0000 (02:12 +0000)]
This commit was manufactured by cvs2svn to create branch 'setup-200706'.

Cherrypick from master 2008-06-16 02:12:32 UTC Dave Korn <dave.korn.cygwin@gmail.com> ' * setup/libgcrypt/:  Fresh import of upstream sources of':
    libgcrypt/AUTHORS
    libgcrypt/BUGS
    libgcrypt/COPYING
    libgcrypt/COPYING.LIB
    libgcrypt/ChangeLog
    libgcrypt/INSTALL
    libgcrypt/Makefile.am
    libgcrypt/Makefile.in
    libgcrypt/NEWS
    libgcrypt/README
    libgcrypt/README.SVN
    libgcrypt/THANKS
    libgcrypt/TODO
    libgcrypt/VERSION
    libgcrypt/acinclude.m4
    libgcrypt/aclocal.m4
    libgcrypt/autogen.sh
    libgcrypt/cipher/ChangeLog
    libgcrypt/cipher/Makefile.am
    libgcrypt/cipher/Makefile.in
    libgcrypt/cipher/Manifest
    libgcrypt/cipher/ac.c
    libgcrypt/cipher/arcfour.c
    libgcrypt/cipher/bithelp.h
    libgcrypt/cipher/blowfish.c
    libgcrypt/cipher/camellia-glue.c
    libgcrypt/cipher/camellia.c
    libgcrypt/cipher/camellia.h
    libgcrypt/cipher/cast5.c
    libgcrypt/cipher/cipher.c
    libgcrypt/cipher/crc.c
    libgcrypt/cipher/des.c
    libgcrypt/cipher/dsa.c
    libgcrypt/cipher/ecc.c
    libgcrypt/cipher/elgamal.c
    libgcrypt/cipher/md.c
    libgcrypt/cipher/md4.c
    libgcrypt/cipher/md5.c
    libgcrypt/cipher/primegen.c
    libgcrypt/cipher/pubkey.c
    libgcrypt/cipher/rand-internal.h
    libgcrypt/cipher/random-daemon.c
    libgcrypt/cipher/random.c
    libgcrypt/cipher/random.h
    libgcrypt/cipher/rfc2268.c
    libgcrypt/cipher/rijndael-tables.h
    libgcrypt/cipher/rijndael.c
    libgcrypt/cipher/rmd.h
    libgcrypt/cipher/rmd160.c
    libgcrypt/cipher/rndegd.c
    libgcrypt/cipher/rndhw.c
    libgcrypt/cipher/rndlinux.c
    libgcrypt/cipher/rndunix.c
    libgcrypt/cipher/rndw32.c
    libgcrypt/cipher/rsa.c
    libgcrypt/cipher/seed.c
    libgcrypt/cipher/serpent.c
    libgcrypt/cipher/sha1.c
    libgcrypt/cipher/sha256.c
    libgcrypt/cipher/sha512.c
    libgcrypt/cipher/tiger.c
    libgcrypt/cipher/twofish.c
    libgcrypt/cipher/whirlpool.c
    libgcrypt/compile
    libgcrypt/config.guess
    libgcrypt/config.h.in
    libgcrypt/config.sub
    libgcrypt/configure
    libgcrypt/configure.ac
    libgcrypt/depcomp
    libgcrypt/doc/ChangeLog
    libgcrypt/doc/HACKING
    libgcrypt/doc/Makefile.am
    libgcrypt/doc/Makefile.in
    libgcrypt/doc/README.apichanges
    libgcrypt/doc/gcrypt.info
    libgcrypt/doc/gcrypt.texi
    libgcrypt/doc/gpl.texi
    libgcrypt/doc/lgpl.texi
    libgcrypt/doc/mdate-sh
    libgcrypt/doc/stamp-vti
    libgcrypt/doc/texinfo.tex
    libgcrypt/doc/version.texi
    libgcrypt/install-sh
    libgcrypt/ltmain.sh
    libgcrypt/m4/ChangeLog
    libgcrypt/m4/Makefile.am
    libgcrypt/m4/Makefile.in
    libgcrypt/m4/libtool.m4
    libgcrypt/m4/noexecstack.m4
    libgcrypt/m4/onceonly.m4
    libgcrypt/m4/socklen.m4
    libgcrypt/m4/sys_socket_h.m4
    libgcrypt/missing
    libgcrypt/mkinstalldirs
    libgcrypt/mpi/ChangeLog
    libgcrypt/mpi/Makefile.am
    libgcrypt/mpi/Makefile.in
    libgcrypt/mpi/Manifest
    libgcrypt/mpi/alpha/README
    libgcrypt/mpi/alpha/distfiles
    libgcrypt/mpi/alpha/mpih-add1.S
    libgcrypt/mpi/alpha/mpih-lshift.S
    libgcrypt/mpi/alpha/mpih-mul1.S
    libgcrypt/mpi/alpha/mpih-mul2.S
    libgcrypt/mpi/alpha/mpih-mul3.S
    libgcrypt/mpi/alpha/mpih-rshift.S
    libgcrypt/mpi/alpha/mpih-sub1.S
    libgcrypt/mpi/alpha/udiv-qrnnd.S
    libgcrypt/mpi/amd64/distfiles
    libgcrypt/mpi/amd64/mpih-add1.S
    libgcrypt/mpi/amd64/mpih-lshift.S
    libgcrypt/mpi/amd64/mpih-mul1.S
    libgcrypt/mpi/amd64/mpih-mul2.S
    libgcrypt/mpi/amd64/mpih-mul3.S
    libgcrypt/mpi/amd64/mpih-rshift.S
    libgcrypt/mpi/amd64/mpih-sub1.S
    libgcrypt/mpi/config.links
    libgcrypt/mpi/ec.c
    libgcrypt/mpi/generic/Manifest
    libgcrypt/mpi/generic/distfiles
    libgcrypt/mpi/generic/mpi-asm-defs.h
    libgcrypt/mpi/generic/mpih-add1.c
    libgcrypt/mpi/generic/mpih-lshift.c
    libgcrypt/mpi/generic/mpih-mul1.c
    libgcrypt/mpi/generic/mpih-mul2.c
    libgcrypt/mpi/generic/mpih-mul3.c
    libgcrypt/mpi/generic/mpih-rshift.c
    libgcrypt/mpi/generic/mpih-sub1.c
    libgcrypt/mpi/generic/udiv-w-sdiv.c
    libgcrypt/mpi/hppa/README
    libgcrypt/mpi/hppa/distfiles
    libgcrypt/mpi/hppa/mpih-add1.S
    libgcrypt/mpi/hppa/mpih-lshift.S
    libgcrypt/mpi/hppa/mpih-rshift.S
    libgcrypt/mpi/hppa/mpih-sub1.S
    libgcrypt/mpi/hppa/udiv-qrnnd.S
    libgcrypt/mpi/hppa1.1/distfiles
    libgcrypt/mpi/hppa1.1/mpih-mul1.S
    libgcrypt/mpi/hppa1.1/mpih-mul2.S
    libgcrypt/mpi/hppa1.1/mpih-mul3.S
    libgcrypt/mpi/hppa1.1/udiv-qrnnd.S
    libgcrypt/mpi/i386/Manifest
    libgcrypt/mpi/i386/distfiles
    libgcrypt/mpi/i386/mpih-add1.S
    libgcrypt/mpi/i386/mpih-lshift.S
    libgcrypt/mpi/i386/mpih-mul1.S
    libgcrypt/mpi/i386/mpih-mul2.S
    libgcrypt/mpi/i386/mpih-mul3.S
    libgcrypt/mpi/i386/mpih-rshift.S
    libgcrypt/mpi/i386/mpih-sub1.S
    libgcrypt/mpi/i386/syntax.h
    libgcrypt/mpi/i586/Manifest
    libgcrypt/mpi/i586/README
    libgcrypt/mpi/i586/distfiles
    libgcrypt/mpi/i586/mpih-add1.S
    libgcrypt/mpi/i586/mpih-lshift.S
    libgcrypt/mpi/i586/mpih-mul1.S
    libgcrypt/mpi/i586/mpih-mul2.S
    libgcrypt/mpi/i586/mpih-mul3.S
    libgcrypt/mpi/i586/mpih-rshift.S
    libgcrypt/mpi/i586/mpih-sub1.S
    libgcrypt/mpi/longlong.h
    libgcrypt/mpi/m68k/Manifest
    libgcrypt/mpi/m68k/distfiles
    libgcrypt/mpi/m68k/mc68020/Manifest
    libgcrypt/mpi/m68k/mc68020/distfiles
    libgcrypt/mpi/m68k/mc68020/mpih-mul1.S
    libgcrypt/mpi/m68k/mc68020/mpih-mul2.S
    libgcrypt/mpi/m68k/mc68020/mpih-mul3.S
    libgcrypt/mpi/m68k/mpih-add1.S
    libgcrypt/mpi/m68k/mpih-lshift.S
    libgcrypt/mpi/m68k/mpih-rshift.S
    libgcrypt/mpi/m68k/mpih-sub1.S
    libgcrypt/mpi/m68k/syntax.h
    libgcrypt/mpi/mips3/Manifest
    libgcrypt/mpi/mips3/README
    libgcrypt/mpi/mips3/distfiles
    libgcrypt/mpi/mips3/mpi-asm-defs.h
    libgcrypt/mpi/mips3/mpih-add1.S
    libgcrypt/mpi/mips3/mpih-lshift.S
    libgcrypt/mpi/mips3/mpih-mul1.S
    libgcrypt/mpi/mips3/mpih-mul2.S
    libgcrypt/mpi/mips3/mpih-mul3.S
    libgcrypt/mpi/mips3/mpih-rshift.S
    libgcrypt/mpi/mips3/mpih-sub1.S
    libgcrypt/mpi/mpi-add.c
    libgcrypt/mpi/mpi-bit.c
    libgcrypt/mpi/mpi-cmp.c
    libgcrypt/mpi/mpi-div.c
    libgcrypt/mpi/mpi-gcd.c
    libgcrypt/mpi/mpi-inline.c
    libgcrypt/mpi/mpi-inline.h
    libgcrypt/mpi/mpi-internal.h
    libgcrypt/mpi/mpi-inv.c
    libgcrypt/mpi/mpi-mod.c
    libgcrypt/mpi/mpi-mpow.c
    libgcrypt/mpi/mpi-mul.c
    libgcrypt/mpi/mpi-pow.c
    libgcrypt/mpi/mpi-scan.c
    libgcrypt/mpi/mpicoder.c
    libgcrypt/mpi/mpih-div.c
    libgcrypt/mpi/mpih-mul.c
    libgcrypt/mpi/mpiutil.c
    libgcrypt/mpi/pa7100/Manifest
    libgcrypt/mpi/pa7100/distfiles
    libgcrypt/mpi/pa7100/mpih-lshift.S
    libgcrypt/mpi/pa7100/mpih-rshift.S
    libgcrypt/mpi/pentium4/README
    libgcrypt/mpi/pentium4/distfiles
    libgcrypt/mpi/pentium4/mmx/distfiles
    libgcrypt/mpi/pentium4/mmx/mpih-lshift.S
    libgcrypt/mpi/pentium4/mmx/mpih-rshift.S
    libgcrypt/mpi/pentium4/sse2/distfiles
    libgcrypt/mpi/pentium4/sse2/mpih-add1.S
    libgcrypt/mpi/pentium4/sse2/mpih-mul1.S
    libgcrypt/mpi/pentium4/sse2/mpih-mul2.S
    libgcrypt/mpi/pentium4/sse2/mpih-mul3.S
    libgcrypt/mpi/pentium4/sse2/mpih-sub1.S
    libgcrypt/mpi/power/Manifest
    libgcrypt/mpi/power/distfiles
    libgcrypt/mpi/power/mpih-add1.S
    libgcrypt/mpi/power/mpih-lshift.S
    libgcrypt/mpi/power/mpih-mul1.S
    libgcrypt/mpi/power/mpih-mul2.S
    libgcrypt/mpi/power/mpih-mul3.S
    libgcrypt/mpi/power/mpih-rshift.S
    libgcrypt/mpi/power/mpih-sub1.S
    libgcrypt/mpi/powerpc32/Manifest
    libgcrypt/mpi/powerpc32/distfiles
    libgcrypt/mpi/powerpc32/mpih-add1.S
    libgcrypt/mpi/powerpc32/mpih-lshift.S
    libgcrypt/mpi/powerpc32/mpih-mul1.S
    libgcrypt/mpi/powerpc32/mpih-mul2.S
    libgcrypt/mpi/powerpc32/mpih-mul3.S
    libgcrypt/mpi/powerpc32/mpih-rshift.S
    libgcrypt/mpi/powerpc32/mpih-sub1.S
    libgcrypt/mpi/powerpc32/syntax.h
    libgcrypt/mpi/powerpc64/distfiles
    libgcrypt/mpi/sparc32/Manifest
    libgcrypt/mpi/sparc32/distfiles
    libgcrypt/mpi/sparc32/mpih-add1.S
    libgcrypt/mpi/sparc32/mpih-lshift.S
    libgcrypt/mpi/sparc32/mpih-rshift.S
    libgcrypt/mpi/sparc32/udiv.S
    libgcrypt/mpi/sparc32v8/Manifest
    libgcrypt/mpi/sparc32v8/distfiles
    libgcrypt/mpi/sparc32v8/mpih-mul1.S
    libgcrypt/mpi/sparc32v8/mpih-mul2.S
    libgcrypt/mpi/sparc32v8/mpih-mul3.S
    libgcrypt/mpi/supersparc/Manifest
    libgcrypt/mpi/supersparc/distfiles
    libgcrypt/mpi/supersparc/udiv.S
    libgcrypt/src/ChangeLog
    libgcrypt/src/Makefile.am
    libgcrypt/src/Makefile.in
    libgcrypt/src/Manifest
    libgcrypt/src/ath.c
    libgcrypt/src/ath.h
    libgcrypt/src/cipher.h
    libgcrypt/src/dumpsexp.c
    libgcrypt/src/g10lib.h
    libgcrypt/src/gcrypt-module.h
    libgcrypt/src/gcrypt.h
    libgcrypt/src/gcrypt.h.in
    libgcrypt/src/gcryptrnd.c
    libgcrypt/src/getrandom.c
    libgcrypt/src/global.c
    libgcrypt/src/hwfeatures.c
    libgcrypt/src/libgcrypt-config.in
    libgcrypt/src/libgcrypt.def
    libgcrypt/src/libgcrypt.m4
    libgcrypt/src/libgcrypt.vers
    libgcrypt/src/misc.c
    libgcrypt/src/missing-string.c
    libgcrypt/src/module.c
    libgcrypt/src/mpi.h
    libgcrypt/src/secmem.c
    libgcrypt/src/secmem.h
    libgcrypt/src/sexp.c
    libgcrypt/src/stdmem.c
    libgcrypt/src/stdmem.h
    libgcrypt/src/types.h
    libgcrypt/src/versioninfo.rc.in
    libgcrypt/src/visibility.c
    libgcrypt/src/visibility.h
    libgcrypt/tests/ChangeLog
    libgcrypt/tests/Makefile.am
    libgcrypt/tests/Makefile.in
    libgcrypt/tests/ac-data.c
    libgcrypt/tests/ac-schemes.c
    libgcrypt/tests/ac.c
    libgcrypt/tests/basic.c
    libgcrypt/tests/benchmark.c
    libgcrypt/tests/hmac.c
    libgcrypt/tests/keygen.c
    libgcrypt/tests/keygrip.c
    libgcrypt/tests/mpitests.c
    libgcrypt/tests/pkbench.c
    libgcrypt/tests/prime.c
    libgcrypt/tests/pubkey.c
    libgcrypt/tests/random.c
    libgcrypt/tests/register.c
    libgcrypt/tests/t-mpi-bit.c
    libgcrypt/tests/testapi.c
    libgcrypt/tests/tsexp.c
    libgcrypt/tests/version.c
    libgpg-error/ABOUT-NLS
    libgpg-error/AUTHORS
    libgpg-error/COPYING
    libgpg-error/COPYING.LIB
    libgpg-error/ChangeLog
    libgpg-error/INSTALL
    libgpg-error/Makefile.am
    libgpg-error/Makefile.in
    libgpg-error/NEWS
    libgpg-error/README
    libgpg-error/THANKS
    libgpg-error/VERSION
    libgpg-error/aclocal.m4
    libgpg-error/autogen.sh
    libgpg-error/compile
    libgpg-error/config.guess
    libgpg-error/config.h.in
    libgpg-error/config.rpath
    libgpg-error/config.sub
    libgpg-error/configure
    libgpg-error/configure.ac
    libgpg-error/depcomp
    libgpg-error/install-sh
    libgpg-error/lang/Makefile.am
    libgpg-error/lang/Makefile.in
    libgpg-error/lang/README
    libgpg-error/lang/cl/Makefile.am
    libgpg-error/lang/cl/Makefile.in
    libgpg-error/lang/cl/README
    libgpg-error/lang/cl/gpg-error-package.lisp
    libgpg-error/lang/cl/gpg-error.asd
    libgpg-error/lang/cl/gpg-error.asd.in
    libgpg-error/lang/cl/gpg-error.lisp
    libgpg-error/lang/cl/mkerrcodes.awk
    libgpg-error/libgpg-error.spec
    libgpg-error/libgpg-error.spec.in
    libgpg-error/ltmain.sh
    libgpg-error/m4/ChangeLog
    libgpg-error/m4/Makefile.am
    libgpg-error/m4/Makefile.in
    libgpg-error/m4/ac_prog_cc_for_build.m4
    libgpg-error/m4/autobuild.m4
    libgpg-error/m4/codeset.m4
    libgpg-error/m4/gettext.m4
    libgpg-error/m4/glibc2.m4
    libgpg-error/m4/glibc21.m4
    libgpg-error/m4/iconv.m4
    libgpg-error/m4/intdiv0.m4
    libgpg-error/m4/intmax.m4
    libgpg-error/m4/inttypes-h.m4
    libgpg-error/m4/inttypes-pri.m4
    libgpg-error/m4/inttypes.m4
    libgpg-error/m4/inttypes_h.m4
    libgpg-error/m4/isc-posix.m4
    libgpg-error/m4/lcmessage.m4
    libgpg-error/m4/lib-ld.m4
    libgpg-error/m4/lib-link.m4
    libgpg-error/m4/lib-prefix.m4
    libgpg-error/m4/libtool.m4
    libgpg-error/m4/lock.m4
    libgpg-error/m4/longdouble.m4
    libgpg-error/m4/longlong.m4
    libgpg-error/m4/nls.m4
    libgpg-error/m4/po.m4
    libgpg-error/m4/printf-posix.m4
    libgpg-error/m4/progtest.m4
    libgpg-error/m4/signed.m4
    libgpg-error/m4/size_max.m4
    libgpg-error/m4/stdint_h.m4
    libgpg-error/m4/uintmax_t.m4
    libgpg-error/m4/ulonglong.m4
    libgpg-error/m4/visibility.m4
    libgpg-error/m4/wchar_t.m4
    libgpg-error/m4/wint_t.m4
    libgpg-error/m4/xsize.m4
    libgpg-error/missing
    libgpg-error/mkinstalldirs
    libgpg-error/po/ChangeLog
    libgpg-error/po/LINGUAS
    libgpg-error/po/Makefile.in.in
    libgpg-error/po/Makevars
    libgpg-error/po/POTFILES.in
    libgpg-error/po/Rules-quot
    libgpg-error/po/boldquot.sed
    libgpg-error/po/de.gmo
    libgpg-error/po/de.po
    libgpg-error/po/en@boldquot.header
    libgpg-error/po/en@quot.header
    libgpg-error/po/fr.gmo
    libgpg-error/po/fr.po
    libgpg-error/po/insert-header.sin
    libgpg-error/po/libgpg-error.pot
    libgpg-error/po/pl.gmo
    libgpg-error/po/pl.po
    libgpg-error/po/quot.sed
    libgpg-error/po/remove-potcdate.sin
    libgpg-error/po/ro.gmo
    libgpg-error/po/ro.po
    libgpg-error/po/stamp-po
    libgpg-error/po/sv.gmo
    libgpg-error/po/sv.po
    libgpg-error/po/vi.gmo
    libgpg-error/po/vi.po
    libgpg-error/src/Makefile.am
    libgpg-error/src/Makefile.in
    libgpg-error/src/README
    libgpg-error/src/code-from-errno.c
    libgpg-error/src/code-to-errno.c
    libgpg-error/src/err-codes.h
    libgpg-error/src/err-codes.h.in
    libgpg-error/src/err-sources.h
    libgpg-error/src/err-sources.h.in
    libgpg-error/src/errnos.in
    libgpg-error/src/gettext.h
    libgpg-error/src/gpg-error-config.in
    libgpg-error/src/gpg-error.c
    libgpg-error/src/gpg-error.def
    libgpg-error/src/gpg-error.h
    libgpg-error/src/gpg-error.h.in
    libgpg-error/src/gpg-error.m4
    libgpg-error/src/init.c
    libgpg-error/src/mkerrcodes.awk
    libgpg-error/src/mkerrcodes.c
    libgpg-error/src/mkerrcodes1.awk
    libgpg-error/src/mkerrcodes2.awk
    libgpg-error/src/mkerrnos.awk
    libgpg-error/src/mkheader.awk
    libgpg-error/src/mkstrtable.awk
    libgpg-error/src/strerror-sym.c
    libgpg-error/src/strerror.c
    libgpg-error/src/strsource-sym.c
    libgpg-error/src/strsource.c
    libgpg-error/src/versioninfo.rc.in
    libgpg-error/src/w32-gettext.c
    libgpg-error/src/w32-gettext.h
    libgpg-error/tests/Makefile.am
    libgpg-error/tests/Makefile.in
    libgpg-error/tests/t-strerror.c
    libgpg-error/tests/t-syserror.c

17 years ago * Makefile.am (release): Drop inconsistent use of $(EXEEXT). Leave an
Brian Dessent [Wed, 27 Jun 2007 08:18:43 +0000 (08:18 +0000)]
* Makefile.am (release): Drop inconsistent use of $(EXEEXT).  Leave an
untouched copy of setup.exe so that later make invocations don't
unnecessarily rebuild it.
(snapshot): Fix typo.
* install.cc (md5_one): Don't try to check packages whose
pkgsource.Cached () is NULL, as with those whose download failed.

17 years ago * ini.h: Revert setup_legacy.ini functionality on release branch.
Brian Dessent [Tue, 26 Jun 2007 20:22:03 +0000 (20:22 +0000)]
* ini.h: Revert setup_legacy.ini functionality on release branch.
* CHANGES: Reflect change.

17 years ago * CHANGES: Make current.
Brian Dessent [Tue, 26 Jun 2007 19:51:51 +0000 (19:51 +0000)]
* CHANGES: Make current.

17 years ago * find.h (class Find): Make _start_dir non-const.
Brian Dessent [Wed, 30 May 2007 09:49:24 +0000 (09:49 +0000)]
* find.h (class Find): Make _start_dir non-const.
* find.cc (Find::Find): Append a trailing slash to _start_dir only if
it does not already contain one.
(Find::accept): Use the previously stored value of _start_dir rather
than unconditionally appending a slash.

17 years ago * Makefile.am: No need to specify the default value of --preprocessor
Brian Dessent [Wed, 30 May 2007 05:53:02 +0000 (05:53 +0000)]
* Makefile.am: No need to specify the default value of --preprocessor
to windres.  Rework the automatic version extraction rules so that the
source tarball is generated with the proper name and directory instead
of setup-0.  Update snapshot rule to also upload a copy of the binary
with debugging symbols still present.

17 years agoRename files.
Brian Dessent [Wed, 30 May 2007 05:12:42 +0000 (05:12 +0000)]
Rename files.

17 years ago This is a general tidying up/modernization of the build infrastructure.
Brian Dessent [Wed, 30 May 2007 05:12:20 +0000 (05:12 +0000)]
This is a general tidying up/modernization of the build infrastructure.
Renaming the lexer and parser to .ll and .yy allows using automake's
builtin support for flex and bison with C++ sources, and libinilex is a
slightly cleaner way of omitting -Werror.

* Makefile.am (AUTOMAKE_OPTIONS): Move to AM_INIT_AUTOMAKE.
(AM_YFLAGS): Define.
(AM_LFLAGS): Define.
(INCLUDES): Remove redundant mingw directory.
(EXTRA_DIST): Adjust for newly named lexer/parser.
(BUILT_SOURCES): Ditto.
(inilint_LDADD): Ditto.
(inilint_SOURCES): Ditto.
(setup_LDADD): Ditto.
(setup_SOURCES): Ditto.
(iniparse.cc): Remove custom rules.
(inilex.cc): Ditto.
* configure.in: Update quoting and use modern form of AC_INIT and
AM_INIT_AUTOMAKE.
* inilex.l: Rename from this ...
* inilex.ll: ... to this.
* iniparse.y: Rename from this ...
* iniparse.yy: ... to this.

17 years ago * IniParseFindVisitor.cc (IniParseFindVisitor::IniParseFindVisitor):
Brian Dessent [Wed, 30 May 2007 03:49:48 +0000 (03:49 +0000)]
* IniParseFindVisitor.cc (IniParseFindVisitor::IniParseFindVisitor):
Remove error_buf and error_count initializers.
(IniParseFindVisitor::visitFile): Store filename in current_ini_name.
Use yyerror_count and yyerror_messages in place of removed error_count
and error_buf members.
* IniParseFindVisitor.h (class IniParseFindVisitor): Remove error_buf
and error_count members.
* ini.cc: Include io_stream_memory.h.  Remove file static variables
error_buf, error_count, and ini_filename.
(GuiParseFeedback::progress): Remove some verbose log spam.
(do_remote_ini): Recode .ini-fetching logic to properly display parse
errors, and to account for corrupt bzip2 files.
(yyerror): Moved elsewhere.
(fprintf): Delete unused function.
* ini.h: Remove useless __cplusplus guard.  Declare extern variables
current_ini_name, yyerror_messages, and yyerror_count.
* inilex.l: Add current_ini_name, yyerror_messages, and
yyerror_count.
(ini_init): Initialize new variables.
(yybol): Delete.
(yyerror): Reimplement using std::string and relocate from ini.cc.
* io_stream.cc (io_stream::copy): Add clarifying comment.

17 years ago2007-05-04 Igor Peshansky <pechtcha@cs.nyu.edu>
Igor Peshansky [Fri, 4 May 2007 21:56:53 +0000 (21:56 +0000)]
2007-05-04  Igor Peshansky  <pechtcha@cs.nyu.edu>

* resource.h (IDC_STATIC_HEADER): New control id.
* res.rc (IDD_SPLASH): Adjust the copyright.
(IDD_DESKTOP): Make header text accessible as a separate control.
* desktop.cc (set_status): Use eset() instead of SetWindowText().
(load_dialog): Disable checkboxes and change dialog text in
download-only mode.
(DesktopSetupPage::OnInit): Disable checkboxes in download-only
mode.
* threebar.cc (ThreeBarProgressPage::OnMessageApp): Deprecate the
default fallthrough.
* download.cc (do_download_thread): Explicitly return the next
dialog.

17 years ago2007-04-19 Max Bowsher <maxb1@ukf.net>
Max Bowsher [Thu, 19 Apr 2007 23:40:56 +0000 (23:40 +0000)]
2007-04-19  Max Bowsher  <maxb1@ukf.net>

* configure.in: Turn inilint default build off again, since I cannot
get it to work.

17 years agoTidy up eclectic whitespace in Makefile.am.
Max Bowsher [Thu, 19 Apr 2007 23:21:21 +0000 (23:21 +0000)]
Tidy up eclectic whitespace in Makefile.am.

17 years agoOops, update ChangeLog with details of additional changes accidentally
Max Bowsher [Thu, 19 Apr 2007 22:55:24 +0000 (22:55 +0000)]
Oops, update ChangeLog with details of additional changes accidentally
committed in the last commit.

17 years ago2007-04-19 Max Bowsher <maxb1@ukf.net>
Max Bowsher [Thu, 19 Apr 2007 22:53:26 +0000 (22:53 +0000)]
2007-04-19  Max Bowsher  <maxb1@ukf.net>

* inilint.cc: Fix multiple compile errors.

17 years agoChangeLogs use tabs, not spaces.
Max Bowsher [Thu, 19 Apr 2007 22:51:59 +0000 (22:51 +0000)]
ChangeLogs use tabs, not spaces.

17 years ago2007-04-19 Max Bowsher <maxb1@ukf.net>
Max Bowsher [Thu, 19 Apr 2007 22:47:50 +0000 (22:47 +0000)]
2007-04-19  Max Bowsher  <maxb1@ukf.net>

* Makefile.am: Make inilint use same warnonly-inilex workaround that
setup already does.

17 years ago2007-03-29 Igor Peshansky <pechtcha@cs.nyu.edu>
Igor Peshansky [Fri, 30 Mar 2007 22:18:34 +0000 (22:18 +0000)]
2007-03-29  Igor Peshansky  <pechtcha@cs.nyu.edu>

* LogFile.cc (LogFile::exit): Write exit_msg directly to log, without
the message box.
* resource.h (IDC_DESKTOP_SEPARATOR,IDC_STATUS_HEADER,IDC_STATUS): New
control ids.
* res.rc (IDD_DESKTOP): Change the caption.  Add status information.
* desktop.h (DesktopSetupPage::DesktopSetupPage): Define constructor
in the implementation.
* desktop.cc (DesktopControlsInfo): Position specifiers for status
information items.
(DesktopSetupPage::DesktopSetupPage): Register position specifiers.
(set_status): New static method.
(load_dialog): Set status information, if available.
(DesktopSetupPage::OnInit): Set status header font.

17 years ago2007-03-01 Brian Dessent <brian@dessent.net>
Brian Dessent [Thu, 1 Mar 2007 18:22:37 +0000 (18:22 +0000)]
2007-03-01  Brian Dessent  <brian@dessent.net>

* ini.h (SETUP_INI_FILENAME): Rename setup_9x.ini to setup_legacy.ini.
(SETUP_BZ2_FILENAME): Likewise.

17 years ago2007-02-27 Brian Dessent <brian@dessent.net>
Brian Dessent [Wed, 28 Feb 2007 00:55:04 +0000 (00:55 +0000)]
2007-02-27  Brian Dessent  <brian@dessent.net>

* ini.h (SETUP_INI_FILENAME): Add define.
(SETUP_BZ2_FILENAME): Add define.
* IniParseFindVisitor.cc (IniParseFindVisitor::visitFile): Use
above macros to parameterize setup.ini filename.
* fromcwd.cc (SetupFindVisitor::visitFile): Ditto.
* ini.cc (do_remote_ini): Ditto.
* Makefile.am (setup_SOURCES): Add win32.cc.
* autoload.c: Include windows.h directly instead of win32.h so that
win32.h can contain C++.
* desktop.cc (verinfo): Delete.
(make_link): Use IsWindowsNT to check for NT instead of verinfo.
(DesktopSetupPage::OnInit): Likewise.
* mount.cc (is_admin): Likewise.
* script.cc (init_run_script): Likewise.
* main.cc (class SIDWrapper, SIDWrapper::SIDWrapper,
SIDWrapper::~SIDWrapper, SIDWrapper::theSID, class HANDLEWrapper,
HANDLEWrapper::HANDLEWrapper, HANDLEWrapper::~HANDLEWrapper,
HANDLEWrapper::theHANDLE, class TokenGroupCollection,
TokenGroupCollection::TokenGroupCollection,
TokenGroupCollection::~TokenGroupCollection,
TokenGroupCollection::populate, TokenGroupCollection::find,
class NTSecurity, set_default_sec, NTSecurity::NoteFailedAPI,
NTSecurity::NTSecurity, NTSecurity::failed,
NTSecurity::initialiseEveryOneSID, NTSecurity::setDefaultDACL,
NTSecurity::setDefaultSecurity): Remove implementation of these
classes from this file and into new file win32.cc and existing win32.h.
(main): Fix whitespace and formatting per GNU coding standards.
* res.rc (IDS_SETUPINI_MISSING): Parameterize filename with %s.
* win32.cc: New file containing methods removed from main.cc as well
as new class VersionInfo methods.
* win32.h: Include <string> for std::string.
(class SIDWrapper, class HANDLEWrapper, class TokenGroupCollection,
class NTSecurity): Add classes removed from main.cc.
(class VersionInfo): Add new class.
(GetVer): Declare.
(IsWindowsNT): Define.

17 years ago2007-02-20 Brian Dessent <brian@dessent.net>
Brian Dessent [Wed, 21 Feb 2007 07:05:18 +0000 (07:05 +0000)]
2007-02-20  Brian Dessent  <brian@dessent.net>

* README: Modernize list of required packages, and mention doconfigure.

17 years ago2007-02-17 Cesar Strauss <cstrauss@cea.inpe.br>
Brian Dessent [Sat, 17 Feb 2007 14:41:10 +0000 (14:41 +0000)]
2007-02-17  Cesar Strauss  <cstrauss@cea.inpe.br>

        * IniDBBuilderPackage.cc (IniDBBuilderPackage::buildPackageSource):
        Initialize the version and operator fields of the newly created
        PackageSpecification object, so setup can pick the correct source
        version later on.

17 years ago2007-02-17 Brian Dessent <brian@dessent.net>
Brian Dessent [Sat, 17 Feb 2007 14:30:32 +0000 (14:30 +0000)]
2007-02-17  Brian Dessent  <brian@dessent.net>

* script.cc (Script::run): Check for existance of script file and
return without doing anything if it does not exist.

17 years ago2006-12-26 Max Bowsher <maxb1@ukf.net>
Max Bowsher [Tue, 26 Dec 2006 21:50:33 +0000 (21:50 +0000)]
2006-12-26  Max Bowsher  <maxb1@ukf.net>

* IniDBBuilder.h (IniDBBuilder): Make this class abstract.
* IniDBBuilder.cc: Delete file.
* Makefile.am (inilint_SOURCES, setup_SOURCES): Remove IniDBBuilder.cc.

17 years ago* ChangeLog: Remove spurious beginning-of-line spaces, to assist editors
Max Bowsher [Tue, 26 Dec 2006 16:07:54 +0000 (16:07 +0000)]
* ChangeLog: Remove spurious beginning-of-line spaces, to assist editors
    configured to autodetect spaces-vs-tabs.

17 years ago2006-12-26 Max Bowsher <maxb1@ukf.net>
Max Bowsher [Tue, 26 Dec 2006 16:03:19 +0000 (16:03 +0000)]
2006-12-26  Max Bowsher  <maxb1@ukf.net>

Add a shell script that documents/centralizes the standard configure
command line.

* doconfigure: New file.
* Makefile.am (EXTRA_DIST): Add doconfigure.

17 years ago2006-11-28 Igor Peshansky <pechtcha@cs.nyu.edu>
Igor Peshansky [Wed, 29 Nov 2006 02:07:17 +0000 (02:07 +0000)]
2006-11-28  Igor Peshansky  <pechtcha@cs.nyu.edu>

* install.cc (Installer::installOne): If file is in use, ask the user
to stop processes and retry.
(MB_RETRYCONTINUE, IDCONTINUE): New macros.
(hMsgBoxHook): New static field.
(CBTProc): New window hook function.
(_custom_MessageBox): New function.
* CHANGES: Update with the above.

17 years ago2006-10-12 Igor Peshansky <pechtcha@cs.nyu.edu>
Igor Peshansky [Fri, 13 Oct 2006 01:54:11 +0000 (01:54 +0000)]
2006-10-12  Igor Peshansky  <pechtcha@cs.nyu.edu>

* desktop.cc (make_cygwin_bat,save_icon): Capitalize filename.

17 years ago * package_version.cc (packageversion::scan): Catch and handle
Brian Dessent [Sun, 6 Aug 2006 22:22:39 +0000 (22:22 +0000)]
* package_version.cc (packageversion::scan): Catch and handle
validation exception.

17 years ago * cygpackage.h (filesize): Remove unused field.
Brian Dessent [Sun, 6 Aug 2006 22:09:26 +0000 (22:09 +0000)]
* cygpackage.h (filesize): Remove unused field.
(cygpackage::createInstance): Ditto.
* cygpackage.cc (cygpackage::createInstance): Ditto.
* package_db.cc (packagedb::packagedb): Remove unused variables.
Simplify parsing of installed.db.

17 years ago * desktop.cc (DesktopSetupPage::OnInit): Remove stray MessageBox.
Brian Dessent [Sun, 6 Aug 2006 21:39:28 +0000 (21:39 +0000)]
* desktop.cc (DesktopSetupPage::OnInit): Remove stray MessageBox.

18 years ago* CHANGES: Update.
Max Bowsher [Tue, 13 Jun 2006 14:00:23 +0000 (14:00 +0000)]
* CHANGES: Update.

18 years ago2006-05-24 Igor Peshansky <pechtcha@cs.nyu.edu>
Igor Peshansky [Wed, 24 May 2006 13:01:34 +0000 (13:01 +0000)]
2006-05-24  Igor Peshansky  <pechtcha@cs.nyu.edu>

* PickPackageLine.h (PickPackageLine::DrawIcon): Move to PickView.
* PickView.h (PickView::DrawIcon): Move from PickPackageLine.
(PickView::icon_dc,PickView::bm_icon): New instance field.
(PickView::rect_icon,PickView::bg_fg_brush): Ditto.
* PickCategoryLine.cc (PickCategoryLine::paint): Use
PickView::DrawIcon() instead of BitBlt().
* PickPackageLine.cc (PickPackageLine::DrawIcon): Move to PickView.
(PickPackageLine::paint): Use PickView::DrawIcon().
* PickView.cc (PickView::~PickView): Delete GDI objects.
(PickView::init): Create icon drawing context.
(PickView::DrawIcon): New function.  Use system default colors to
draw bitmaps.
(PickView::paint): Set background color instead of using transparent
mode.  Create system-colored brush.

18 years ago * COPYING: New file (GPL).
Brian Dessent [Wed, 26 Apr 2006 03:45:30 +0000 (03:45 +0000)]
* COPYING: New file (GPL).
* Makfile.am (EXTRA_DIST): Add COPYING.

18 years ago2006-04-17 Max Bowsher <maxb1@ukf.net>
Max Bowsher [Mon, 17 Apr 2006 17:01:52 +0000 (17:01 +0000)]
2006-04-17  Max Bowsher  <maxb1@ukf.net>

* String++.cc, String++.h: Finally, it's time for the long-awaited
departure of 'class String' from this world. setup.exe can now
happily claim to follow the sane path of using just one general
purpose string class throughout :-)

18 years ago2006-04-17 Max Bowsher <maxb1@ukf.net>
Max Bowsher [Mon, 17 Apr 2006 16:41:33 +0000 (16:41 +0000)]
2006-04-17  Max Bowsher  <maxb1@ukf.net>

* cygpackage.cc, cygpackage.h, package_version.cc, package_version.h:
Do some String to std::string migration.

18 years ago2006-04-17 Max Bowsher <maxb1@ukf.net>
Max Bowsher [Mon, 17 Apr 2006 16:13:17 +0000 (16:13 +0000)]
2006-04-17  Max Bowsher  <maxb1@ukf.net>

* package_meta.cc, package_meta.h, package_source.cc,
package_source.h: Do some String to std::string migration.
* package_db.cc: Small tweak to assist with the above.

18 years ago2006-04-17 Max Bowsher <maxb1@ukf.net>
Max Bowsher [Mon, 17 Apr 2006 15:40:11 +0000 (15:40 +0000)]
2006-04-17  Max Bowsher  <maxb1@ukf.net>

* PickView.cc, PickView.h, package_db.cc, package_db.h:
Do some String to std::string migration.
* package_meta.h: Change a couple of types to assist with the above.

18 years ago2006-04-17 Max Bowsher <maxb1@ukf.net>
Max Bowsher [Sun, 16 Apr 2006 23:07:44 +0000 (23:07 +0000)]
2006-04-17  Max Bowsher  <maxb1@ukf.net>

* IniDBBuilder.cc, IniDBBuilder.h, IniDBBuilderPackage.cc,
IniDBBuilderPackage.h, PickLine.h, PickPackageLine.cc:
Do some String to std::string migration.

18 years ago2006-04-16 Max Bowsher <maxb1@ukf.net>
Max Bowsher [Sun, 16 Apr 2006 22:26:44 +0000 (22:26 +0000)]
2006-04-16  Max Bowsher  <maxb1@ukf.net>

* FindVisitor.cc, FindVisitor.h, IniParseFindVisitor.cc,
IniParseFindVisitor.h, ScanFindVisitor.cc, ScanFindVisitor.h, find.cc,
find.h, fromcwd.cc, ini.cc, ini.h, iniparse.y, postinstall.cc:
Do some String to std::string migration.

18 years ago2006-04-16 Max Bowsher <maxb1@ukf.net>
Max Bowsher [Sun, 16 Apr 2006 21:35:57 +0000 (21:35 +0000)]
2006-04-16  Max Bowsher  <maxb1@ukf.net>

* IOStreamProvider.h, archive.cc, archive.h, archive_tar.cc,
archive_tar.h, io_stream.cc, io_stream.h, io_stream_cygfile.cc,
io_stream_cygfile.h, io_stream_file.cc, io_stream_file.h:
Do some String to std::string migration.

18 years ago2006-04-16 Max Bowsher <maxb1@ukf.net>
Max Bowsher [Sun, 16 Apr 2006 15:37:49 +0000 (15:37 +0000)]
2006-04-16  Max Bowsher  <maxb1@ukf.net>

* desktop.cc, download.cc, install.cc, mount.cc, mount.h, script.cc,
script.h: Do some String to std::string migration.

18 years ago2006-04-16 Max Bowsher <maxb1@ukf.net>
Max Bowsher [Sun, 16 Apr 2006 12:30:07 +0000 (12:30 +0000)]
2006-04-16  Max Bowsher  <maxb1@ukf.net>

* category.cc: Remove source file that contained no code!
* category.h: Delete, moving the single useful line to...
* package_meta.h: ...here. Remove category.h include.
* choose.cc, package_db.h, package_meta.cc: Remove category.h include.
* Makefile.am: Remove references to removed files.

18 years ago2006-04-15 Max Bowsher <maxb1@ukf.net>
Max Bowsher [Sat, 15 Apr 2006 21:21:25 +0000 (21:21 +0000)]
2006-04-15  Max Bowsher  <maxb1@ukf.net>

* ConnectionSetting.cc, ConnectionSetting.h, Exception.cc,
Exception.h, IniParseFeedback.cc, IniParseFeedback.h, LogFile.cc,
LogFile.h, LogSingleton.h, PackageSpecification.cc,
PackageSpecification.h, SourceSetting.cc, SourceSetting.h,
UserSettings.cc, UserSettings.h, dialog.cc, dialog.h, diskfull.cc,
diskfull.h, filemanip.cc, filemanip.h, inilintmain.cc, localdir.cc,
main.cc, nio-file.cc, nio-http.cc, prereq.cc, prereq.h, proppage.cc,
proppage.h, site.cc, site.h, splash.cc, state.cc, state.h, window.cc,
window.h: Do some String to std::string migration.

18 years ago2006-04-15 Max Bowsher <maxb1@ukf.net>
Max Bowsher [Sat, 15 Apr 2006 17:00:14 +0000 (17:00 +0000)]
2006-04-15  Max Bowsher  <maxb1@ukf.net>

* String++.cc, String++.h
(new_cstr_char_array, format_1000s): Migrate String to std::string.
(casecompare_lt_op, std::string operator+): New.

18 years ago2006-04-06 Max Bowsher <maxb1@ukf.net>
Max Bowsher [Thu, 6 Apr 2006 16:45:19 +0000 (16:45 +0000)]
2006-04-06  Max Bowsher  <maxb1@ukf.net>

* String++.h, String++.cc
(String::replace): Remove - usused.
(String::find): Remove - semantics do not match std::string.

* root.cc (directory_is_rootdir): Switch to std::string.find().
* script.cc (Script::baseName): Rewrite use of String.find().

18 years ago2006-03-30 Max Bowsher <maxb1@ukf.net>
Max Bowsher [Thu, 30 Mar 2006 22:55:55 +0000 (22:55 +0000)]
2006-03-30  Max Bowsher  <maxb1@ukf.net>

* String++.cc (replace): New function to take the place of one form
of String::replace method.
* String++.h (replace): Declare.
(String::replace): Make private.

* desktop.cc (make_cygwin_bat): Use new function.
* filemanip.cc (backslash): Use simple loop in place of
String::replace.
* filemanip.h (backslash): Change signature to use std::string in
place of String.

18 years ago2006-03-30 Max Bowsher <maxb1@ukf.net>
Max Bowsher [Thu, 30 Mar 2006 21:25:51 +0000 (21:25 +0000)]
2006-03-30  Max Bowsher  <maxb1@ukf.net>

* String++.cc, String++.h (casecompare): New function replacing
String.casecompare to increase parity with std::string.
(String::casecompare): Make private.

* ConnectionSetting.cc, IniDBBuilderPackage.cc,
IniParseFindVisitor.cc, LogFile.cc, PackageSpecification.cc,
PickView.cc, SourceSetting.cc, String++.cc, String++.h, fromcwd.cc,
io_stream.cc, mount.cc, package_db.cc, package_source.h,
package_version.cc, prereq.h, script.cc:
Use casecompare in place of String::casecompare.

18 years ago2006-03-30 Max Bowsher <maxb1@ukf.net>
Max Bowsher [Thu, 30 Mar 2006 20:30:50 +0000 (20:30 +0000)]
2006-03-30  Max Bowsher  <maxb1@ukf.net>

* String++.cc, String++.h: Remove String(int) constructor, which
was causing dangerously bizarre implicit conversions, and was a point
of disparity between String and std::string.
(stringify): New function to replace functionality removed above.

* PickView.cc (PickView::init_headers),
archive_tar.cc (archive_tar::next_file_name),
cygpackage.cc (cygpackage::setCanonicalVersion):
Make explicit and call out with a FIXME some bizarre behaviour.

* ScanFindVisitor.cc (ScanFindVisitor::visitFile),
filemanip.cc (base), iniparse.y,
threebar.cc (ThreeBarProgressPage::SetBar2):
Make simple adaptations to the changed API.

18 years ago2006-03-14 Igor Peshansky <pechtcha@cs.nyu.edu>
Igor Peshansky [Tue, 14 Mar 2006 17:11:25 +0000 (17:11 +0000)]
2006-03-14  Igor Peshansky  <pechtcha@cs.nyu.edu>

* PickView.cc (PickView::setViewMode): Auto-expand category if
its name starts with a dot.

18 years ago2006-03-14 Dave Korn <dave.korn@artimi.com>
Dave Korn [Tue, 14 Mar 2006 16:28:37 +0000 (16:28 +0000)]
2006-03-14  Dave Korn  <dave.korn@artimi.com>

* String++.cc (new_cstr_char_array):  Handle null input correctly.

18 years agofix typo
Christopher Faylor [Fri, 10 Mar 2006 18:56:43 +0000 (18:56 +0000)]
fix typo

18 years ago* res.rc: Update copyright.
Christopher Faylor [Fri, 10 Mar 2006 17:18:20 +0000 (17:18 +0000)]
* res.rc: Update copyright.
(IDS_MIRROR_LST): Use cygwin.com for mirror list, not sources.redhat.com.
(NOSAVE2): sourceware.cygnus.com -> sources.redhat.com
* site.cc (NOSAVE1): Use preferred name of sourceware site.
(NOSAVE1_LEN): Use just-defined name to determine length.
(NOSAVE2_LEN): Ditto.
(NOSAVE3_LEN): Ditto.
* res.rc (IDD_DROPPED): New dialog.
* resource.h (IDD_DROPPED): New dialog-id.
(IDC_DROP_MIRRORS, IDC_DROP_NOWARN): New control-ids.
* site.cc: Add enum for response on dropped mirrors.
(cache_is_usable, cache_needs_writing): New bools.
(cache_warn_urls): New string.
(cached_site-list, dropped_site_list): New SiteLists.
(site_list_type::init, site_list_type::site_list_type): Change to four
parameter form.
(site_list_type::site_list_type, site_list_type::operator=) Copy servername,
area and location.
(load_site_list): New function, broken out of get_site_list.  Support
four-parameter site_list_type.
(get_site_list): Break out load_site_list.  Move reading cache earlier.  Don't
write new cache.  Set flags to record cache state.  Load both all_site_list and
cached_site_list.
(SiteSetting::registerSavedSite): Use four-parameter site_list_type.
(drop_proc, check_dropped_mirrors, write_cache_list, save_cache_file): New
functions.
(SitePage::OnNext): Check for dropped mirrors and save cache as appropriate.
(SitePage::OnMessageCmd): Use four-parameter site_list_type.
* site.h
(site_list_type::init, site_list_type::site_list_type): Change to four
parameter form.
(site_list_type): Add servername, area and location members.

18 years ago2006-03-09 Igor Peshansky <pechtcha@cs.nyu.edu>
Igor Peshansky [Fri, 10 Mar 2006 00:02:33 +0000 (00:02 +0000)]
2006-03-09  Igor Peshansky  <pechtcha@cs.nyu.edu>

* script.cc (Script::run): Fix inverted test for abnormal exit.

18 years ago* CHANGES: Update.
Max Bowsher [Thu, 9 Mar 2006 12:27:16 +0000 (12:27 +0000)]
* CHANGES: Update.

18 years ago2006-03-09 Bas van Gompel <patch-cygsup.buzz@bavag.tmfweb.nl>
Max Bowsher [Thu, 9 Mar 2006 12:26:16 +0000 (12:26 +0000)]
2006-03-09  Bas van Gompel  <patch-cygsup.buzz@bavag.tmfweb.nl>
    Max Bowsher  <maxb1@ukf.net>

Provide indication of site that a file is being downloaded from.

* geturl.cc: Use std::string instead of String throughout.
(init_dialog): Put more information into GUI.
Remove unused 'owner' parameter and change all callers.
(progress): Remove spurious \n characters from GUI.
* geturl.h: Use std::string instead of String throughout.
* res.rc (IDD_INSTATUS): Use SS_ENDELLIPSIS.

18 years ago2006-03-09 Max Bowsher <maxb1@ukf.net>
Max Bowsher [Thu, 9 Mar 2006 10:37:05 +0000 (10:37 +0000)]
2006-03-09  Max Bowsher  <maxb1@ukf.net>

* Makefile.am (EXTRA_DIST): Add tree-minus.bmp and tree-plus.bmp.

18 years ago 2006-01-20 Bryan Thrall <bryan.thrall@flightsafety.com>
Dave Korn [Fri, 20 Jan 2006 15:12:15 +0000 (15:12 +0000)]
2006-01-20  Bryan Thrall  <bryan.thrall@flightsafety.com>

* source.cc (SourcePage::OnActivate): Command line takes precedence
over last user selection.

18 years ago2005-11-30 Max Bowsher <maxb1@ukf.net>
Max Bowsher [Wed, 30 Nov 2005 22:48:31 +0000 (22:48 +0000)]
2005-11-30  Max Bowsher  <maxb1@ukf.net>

* res.rc (IDD_ROOT, IDD_LOCAL_DIR): Rearrange some controls a little,
in response to suggestion from Carl Karsten.

18 years ago2005-11-30 Max Bowsher <maxb1@ukf.net>
Max Bowsher [Wed, 30 Nov 2005 22:32:00 +0000 (22:32 +0000)]
2005-11-30  Max Bowsher  <maxb1@ukf.net>

* site.h, site.cc: Use std::string in preference to String.
(site_list_type::init): Convert some painful raw C string work to
STL std::string work.  Stop totally ignoring the result of this
calculation, implementing the (somewhat weird) sort order for sites
that was apparently indented for ages.

18 years ago2005-10-14 Igor Pechtchanski <pechtcha@cs.nyu.edu>
Igor Peshansky [Fri, 14 Oct 2005 13:02:36 +0000 (13:02 +0000)]
2005-10-14  Igor Pechtchanski  <pechtcha@cs.nyu.edu>

* io_stream.cc (url_scheme_not_registered): New macro.
(io_stream::open): Better log message on error.
(io_stream::mkpath_p,io_stream::remove,io_stream::mklink): Ditto.
(io_stream::move,io_stream::exists): Ditto.

18 years ago2005-10-13 Igor Pechtchanski <pechtcha@cs.nyu.edu>
Igor Peshansky [Fri, 14 Oct 2005 04:23:14 +0000 (04:23 +0000)]
2005-10-13  Igor Pechtchanski  <pechtcha@cs.nyu.edu>

* site.cc (get_site_list): Default to empty mirror list if
server unavailable and none cached, to allow using preferred
mirrors anyway.

18 years ago2005-09-29 Igor Pechtchanski <pechtcha@cs.nyu.edu>
Igor Peshansky [Fri, 14 Oct 2005 04:10:26 +0000 (04:10 +0000)]
2005-09-29  Igor Pechtchanski  <pechtcha@cs.nyu.edu>

* package_db.cc (packagedb::packagedb): Remember missing package
database file.

18 years ago2005-09-29 Igor Pechtchanski <pechtcha@cs.nyu.edu>
Igor Peshansky [Fri, 14 Oct 2005 04:07:20 +0000 (04:07 +0000)]
2005-09-29  Igor Pechtchanski  <pechtcha@cs.nyu.edu>

* site.cc (get_site_list): Store mirror list locally.
Use local copy if unable to download.

18 years ago2005-09-27 Igor Pechtchanski <pechtcha@cs.nyu.edu>
Igor Peshansky [Fri, 14 Oct 2005 04:05:13 +0000 (04:05 +0000)]
2005-09-27  Igor Pechtchanski  <pechtcha@cs.nyu.edu>

* io_stream_cygfile.cc (io_stream_cygfile::io_stream_cygfile):
Better log message on error.

18 years agoFix typo
Igor Peshansky [Fri, 14 Oct 2005 04:02:16 +0000 (04:02 +0000)]
Fix typo

18 years ago2005-09-27 Igor Pechtchanski <pechtcha@cs.nyu.edu>
Igor Peshansky [Fri, 14 Oct 2005 04:00:50 +0000 (04:00 +0000)]
2005-09-27  Igor Pechtchanski  <pechtcha@cs.nyu.edu>

* script.cc (isAScript): Fix string comparison.

18 years ago2005-09-27 Igor Pechtchanski <pechtcha@cs.nyu.edu>
Igor Peshansky [Fri, 14 Oct 2005 03:55:42 +0000 (03:55 +0000)]
2005-09-27  Igor Pechtchanski  <pechtcha@cs.nyu.edu>

* nio-ftp.cc (NetIO_FTP::NetIO_FTP): Reconnect on FTP timeout.

18 years ago * package_meta.cc (packagemeta::ScanDownloadedFiles): Don't use an
Brian Dessent [Sun, 11 Sep 2005 14:45:54 +0000 (14:45 +0000)]
* package_meta.cc (packagemeta::ScanDownloadedFiles): Don't use an
invalid iterator.  Fix whitespace.

18 years ago * CHANGES: Document recent updates.
Brian Dessent [Fri, 9 Sep 2005 19:52:51 +0000 (19:52 +0000)]
* CHANGES: Document recent updates.
* choose.cc (ChooserPage::OnInit): Add new tooltip.
* res.rc (IDD_CHOOSE): Remove 'administrative' from description.
(IDS_HIDEOBS_TOOLTIP): Add new string for tooltip.
* resource.h (IDS_HIDEOBS_TOOLTIP): Define.
* window.cc (Window::ActivateTooltips): Fix whitespace.  Set tooltip
delay to 30 seconds.

18 years ago * PickView.cc (PickView::paint): Set background mode to transparent.
Brian Dessent [Fri, 9 Sep 2005 19:08:02 +0000 (19:08 +0000)]
* PickView.cc (PickView::paint): Set background mode to transparent.
* PickCategoryLine.cc (PickCategoryLine::paint): Use bitwise AND to
blit bitmaps.
* PickPackageLine.cc (PickPackageLine::paint): Ditto.

18 years ago * CHANGES: Revise to cover all recent changes/fixes.
Brian Dessent [Wed, 7 Sep 2005 15:21:36 +0000 (15:21 +0000)]
* CHANGES: Revise to cover all recent changes/fixes.

18 years ago2005-09-01 Brian Dessent <brian@dessent.net>
Brian Dessent [Thu, 1 Sep 2005 16:39:27 +0000 (16:39 +0000)]
2005-09-01  Brian Dessent  <brian@dessent.net>

* package_meta.cc (packagemeta::uninstall): Remove support for
undocumented and dangerous postremove script.

2005-09-01  Igor Pechtchanski  <pechtcha@cs.nyu.edu>

* script.cc (run): Change to return the exit code or negative error.
(Script::run): Ditto.
(try_run_script): Receive both filename and extension and run only
one script.  Also return the exit code.
* script.h (try_run_script): Change signature.
(Script::run): Ditto.
* postinstall.cc (RunScript::operator()): Change to return the exit
code or negative error.
* install.cc (Installer::preremoveOne): Pass extension to
try_run_script().

2005-09-01  Eric Blake  <ebb9@byu.net>

* script.cc (shells): Use /bin/bash, not sh, to allow upgrades to
/bin/sh.

18 years agoFix whitespace.
Brian Dessent [Thu, 1 Sep 2005 15:49:58 +0000 (15:49 +0000)]
Fix whitespace.

18 years ago2005-09-01 Igor Pechtchanski <pechtcha@cs.nyu.edu>
Brian Dessent [Thu, 1 Sep 2005 15:42:15 +0000 (15:42 +0000)]
2005-09-01  Igor Pechtchanski  <pechtcha@cs.nyu.edu>

* PickView.h (PickView::size_col): New instance variable.
* PickView.cc (pkg_headers, cat_headers): Add size column.
(PickView::set_headers): Initialize size_col.
(PickView::init_headers): Include width of size column.
* PickPackageLine.cc (PickPackageLine::paint): Handle size_col.
* String++.cc (format_1000s): New function.
* String++.h (format_1000s): Declare new function.

18 years ago2005-09-01 Brian Dessent <brian@dessent.net>
Brian Dessent [Thu, 1 Sep 2005 14:57:58 +0000 (14:57 +0000)]
2005-09-01  Brian Dessent  <brian@dessent.net>

* Makefile.am (BASECXXFLAGS): Add -Wno-uninitialized to work around
spurious warnings with gcc 3.4.4.

libgetopt++/
2005-09-01  Brian Dessent  <brian@dessent.net>

* Makefile.am (AM_CXXFLAGS): Add -Wno-uninitialized to work around
spurious warnings with gcc 3.4.4.

19 years ago* CHANGES: First draft for new release.
Max Bowsher [Tue, 24 May 2005 11:47:06 +0000 (11:47 +0000)]
* CHANGES: First draft for new release.

19 years ago* CONTRIBUTORS: Add Frank Richter.
Max Bowsher [Tue, 24 May 2005 10:57:28 +0000 (10:57 +0000)]
* CONTRIBUTORS: Add Frank Richter.

19 years ago* CONTRIBUTORS: Add myself, Igor Pechtchanski and Brian Dessent.
Max Bowsher [Tue, 24 May 2005 00:07:04 +0000 (00:07 +0000)]
* CONTRIBUTORS: Add myself, Igor Pechtchanski and Brian Dessent.

19 years ago2005-05-22 Brian Dessent <brian@dessent.net>
Brian Dessent [Sun, 22 May 2005 15:57:42 +0000 (15:57 +0000)]
2005-05-22  Brian Dessent  <brian@dessent.net>

* res.rc (IDD_CHOOSE): Change description to include administrative
packages in addition to obsolete.

19 years ago2005-05-21 Brian Dessent <brian@dessent.net>
Brian Dessent [Sat, 21 May 2005 23:04:03 +0000 (23:04 +0000)]
2005-05-21  Brian Dessent  <brian@dessent.net>

* prereq.cc: New file.
* prereq.h: Ditto.
* tree-minus.bmp: Ditto.
* tree-plus.bmp: Ditto.
* Makefile.am: Add prereq.cc and prereq.h to build.
* PickCategoryLine.cc (PickCategoryLine::paint): Add new parameter and
refactor.  Use bitmap for '+' and '-' indicators.  Draw package lines
column-wise for better drawing efficiency.
(PickCategoryLine::click): Use previously calculated x value.
* PickCategoryLine.h (PickCategoryLine::paint): Update prototype.  Add
'spin_x' member.
* PickLine.h (PickLine:paint): Update prototype.
* PickPackageLine.cc (PickPackageLine::DrawCheck): Remove.
(PickPackageLine::DrawIcon): New function.
(PickPackageLine::paint): Add parameter.  Refactor completely for more
efficient painting.
* PickPackageLine.h (PickPackageLine::DrawIcon): Add prototype.
(PickPackageLine::paint): Update prototype.
(PickPackageLine::DrawCheck): Remove.
* PickView.cc (pkg_headers): Remove unused 'slen' field, add new
'needs_clip' field to signify if clipping is necessary for this column.
(PickView::note_width): Fold long line.  Refactor slightly for
simplicity.
(PickView::set_view_mode): Remove.
(PickView::cycleViewMode): New function.
(PickView::setViewMode): Refactor completely.  Incorporate functionality
of clear_view() here instead.  Simplify package selection into a single
'for' loop rather than repeating code for each type.
(isObsolete): New function, with second overloaded version.
(PickView::setObsolete): New function.
(PickView::insert_pkg): Do not show obsolete packages.  Move
declaration of 'db' lower.  Fix whitespace.
(PickView::insert_category): Do not show obsolete packages.
(PickView::clear_view): Remove.  Moved logic into 'setViewMode'.
(PickView::scroll): Add additional parameter 'howmany' with default
value of 1.  Scroll by 'howmany' lines for SB_LINEDOWN and SB_LINEUP.
(NUM_CATEGORY_COL_WIDTH): Define.
(PickView::init_headers): Fix whitespace.  Add comments.  Ignore
obsolete packages in width calculations.  Add functionality to size
'Category' column so that at least NUM_CATEGORY_COL_WIDTH categories
are displayed for every package.  Ensure that 'new_col' takes into
account all possible labels.
(PickView::PickView): Initialize showObsolete to false.
(PickView::init): Remove unused bitmap bm_rtarrow.  Add new bitmaps
bm_treeplus and bm_treeminus.  Use a macro for better readability.
Fix whitespace formatting.  Remove header computation from here, call
refresh() instead.
(PickView::registerWindowClass): Remove unnecessary background brush.
(PickView::WindowProc): Add support for WM_MOUSEWHEEL message
processing.  Fix indentation.  Reformat for readability.
(PickView::paint): Get the update region before calling BeginPaint.
Fill the update region with the default colors.  Do not do clipping
here.  Pass update region to the PickLine paint function instead.
Free the update region when finished.
(PickView::Create): Fix indentation.
(PickView::defaultTrust): Ditto.
(PickView::refresh): Add column recalculation logic here.
* PickView.h: Fix indentation.
(RTARROW_WIDTH): Remove unused define.
(NEW_COL_SIZE_SLOP): Ditto.
(TREE_INDENT): Define.
(PickView::get_view_mode): Remove.
(PickView::set_view_mode): Rename to setViewMode for consistency.
(PickView::cycleViewMode): Add new function.
(PickView::setObsolete): Ditto.
(PickView::clear_view): Remove.
(PickView::bm_treeplus): Define new member.
(PickView::bm_treeminus): Ditto.
(PickView::scroll): Add parameter.
(PickView::Header::slen): Remove unused member.
(PickView::Header::needs_clip): Define new member.
(PickView::showObsolete): Ditto.
(isObsolete): Add prototype, and for overloaded version as well.
* choose.cc: Add include.
(ChooserControlsInfo): Allow new checkbox to be resized.
(ChooserPage::OnInit): Start dialog with 'Hide obsolete' checked.
(ChooserPage::OnNext): Call the dependency checker, act accordingly.
(ChooserPage::changeTrust): Notify dependency checker of current trust
level when it changes.
(ChooserPage::OnMessageCmd): Just call cycleViewMode instead when
changing the view.  Update the chooser when the user toggles the
'hide obsolete' checkbox.
(ChooserPage::OnMouseWheel): New function.  Pass mouse wheel message
on to chooser.
* choose.h (OnMouseWheel): Add prototype.
* main.cc: Add include.
(main): Define and initialize the PrereqPage object.  Add it into
the property sheet list.
* PropPage.cc (PropertyPage::DialogProc): Add support for WM_MOUSEWHEEL
message processing in derived classes.
(PropertyPage::OnMouseWheel): New function.
* PropPage.h (PropertyPage::OnMouseWheel): Add prototype.
* res.rc (IDD_LOCAL_DIR): Shorten edit box so that pushbutton is not
crowded.
(IDD_SITE): Provide static text with an ID so that it can be resized
properly.  Move pushbutton slightly to right so that it doesn't crowd
edit box.
(IDD_SPLASH): Change copyright displayed on spash screen to be generic
since the actual list of contributors is long.
(IDD_CHOOSE): Add checkbox.  Resize other controls to accomodate.
(IDD_PREREQ): New dialog.
(SPIN): Delete duplicated bitmap resource.
(IDB_RTARROW): Remove unused bitmap resource.
(IDB_TREE_PLUS): Add.
(IDB_TREE_MINUS): Ditto.
(IDS_TRUSTPREV_TOOLTIP): Revise wording to be more concise.
(IDS_TRUSTCURR_TOOLTIP): Ditto.
(IDS_TRUSTEXP_TOOLTIP): Ditto.
(IDS_VIEWBUTTON_TOOLTIP): Ditto.
* resource.h (IDD_PREREQ): Define.
(IDB_RTARROW): Remove.
(IDB_TREE_PLUS): Add, and renumber.
(IDB_TREE_MINUS): Ditto.
(IDC_SITE_USERURL): Define.
(IDC_CHOOSE_HIDE): Ditto.
(IDC_PREREQ_TEXT): Ditto.
(IDC_PREREQ_EDIT): Ditto.
(IDC_PREREQ_CHECK): Ditto.
* site.cc (SiteControlsInfo): Ensure that 'User URL' static text is
properly resized.

19 years ago2005-05-14 Max Bowsher <maxb@ukf.net>
Max Bowsher [Sat, 14 May 2005 15:57:29 +0000 (15:57 +0000)]
2005-05-14  Max Bowsher  <maxb@ukf.net>

"Type" field of packageversions was not even being filled in. Fix.

* cygpackage.h, cygpackage.cc (cygpackage::createInstance):
Make "type" a mandatory parameter of the constructor.
* IniDBBuilderPackage.cc: Adjust callers.

19 years ago2005-05-14 Bas van Gompel <patch-cygsup.buzz@bavag.tmfweb.nl>
Max Bowsher [Sat, 14 May 2005 15:56:56 +0000 (15:56 +0000)]
2005-05-14  Bas van Gompel  <patch-cygsup.buzz@bavag.tmfweb.nl>

Fix behaviour of hardlinks in source packages.

* archive.cc (archive::extract_file):
Use prefixPath for link target on hardlinks.

19 years ago2005-05-14 Max Bowsher <maxb@ukf.net>
Max Bowsher [Sat, 14 May 2005 15:30:06 +0000 (15:30 +0000)]
2005-05-14  Max Bowsher  <maxb@ukf.net>

Hopefully, solve the "preremove DLL dependency" bug, by running all
preremove scripts before actually removing any files.

* install.cc
(Installer::preremoveOne): New method. Run preremove scripts here.
(Installer::replaceOne): Remove method.
(num_replacements): Remove variable.
(do_install_thread): Significantly rewrite.
* package_meta.cc (packagemeta::uninstall):
Do not run preremove script here.

19 years ago2005-05-14 Max Bowsher <maxb@ukf.net>
Max Bowsher [Sat, 14 May 2005 12:30:32 +0000 (12:30 +0000)]
2005-05-14  Max Bowsher  <maxb@ukf.net>

* download.cc (do_download_thread):
Do not use packageversion::changeRequested().
* package_version.cc (packageversion::Type):
Implement declared but previously unimplemented method.
(packageversion::changeRequested, _packageversion::changeRequested):
Remove.
* package_version.h
(packageversion::changeRequested, _packageversion::changeRequested):
Remove.
* install.cc (Installer::replaceOne): Simplify, return void, not int.
(installOneSource): Rename to...
(installOne): ...this. Change argumentsi and return type. Refactor.
(install_one): Remove.
(do_install_thread): Tidying up.

19 years ago2005-05-07 Max Bowsher <maxb@ukf.net>
Max Bowsher [Sat, 7 May 2005 22:07:55 +0000 (22:07 +0000)]
2005-05-07  Max Bowsher  <maxb@ukf.net>

* download.cc (validateCachedPackage): Remove all MD5 checking code.
It is not acceptable to check MD5 sums as part of simply answering
whether a package exists in the local cache or not. It is too slow.
MD5 sums always have been - and will continue to be - checked at
install time.
(NoMD5Option): Remove this option, as the code it controls has been
removed.

19 years ago2005-05-07 Max Bowsher <maxb@ukf.net>
Max Bowsher [Sat, 7 May 2005 21:34:31 +0000 (21:34 +0000)]
2005-05-07  Max Bowsher  <maxb@ukf.net>

* install.cc (md5_one): Make the MD5 checking done at install time
display a progess GUI, as the MD5 checking done at other times does.

19 years ago2005-05-07 Max Bowsher <maxb@ukf.net>
Max Bowsher [Sat, 7 May 2005 20:10:04 +0000 (20:10 +0000)]
2005-05-07  Max Bowsher  <maxb@ukf.net>

* resource.h, res.rc: Followup to recent de-MSVC-ification of
resource.h, by removing a lot from res.rc, and the last few bits
from resource.h.

19 years agoFix typo in ChangeLog.
Brian Dessent [Sat, 7 May 2005 05:18:40 +0000 (05:18 +0000)]
Fix typo in ChangeLog.

19 years ago2005-05-05 Brian Dessent <brian@dessent.net>
Brian Dessent [Sat, 7 May 2005 04:27:08 +0000 (04:27 +0000)]
2005-05-05  Brian Dessent  <brian@dessent.net>

* choose.cc (ChooserPage::OnInit): Initialize tooltips for this
dialog.

* proppage.h (PropertyPage::makeClickable): Update prototype to
reflect same argument name as function.

* proppage.cc (PropertyPage::DialogProc): Remove redundant 'break'
statements that follow 'return's.  Add missing braces to case
statements.  Call handler for TTN_GETDISPINFO.

* res.rc (IDS_TRUSTKEEP_TOOLTIP): Add new STRINGTABLE entry for
tooltip text.
(IDS_TRUSTPREV_TOOLTIP): Ditto.
(IDS_TRUSTCURR_TOOLTIP): Ditto.
(IDS_TRUSTEXP_TOOLTIP): Ditto.
(IDS_TRUSTPREV_TOOLTIP): Ditto.
(IDS_VIEWBUTTON_TOOLTIP): Ditto.

* resource.h: Likewise, add identifiers for tooltip resources.

* window.h: Add includes.
(Window::TooltipHandle): Add new private data structure.
(Window::TooltipStrings): Ditto.
(Window::ActivateTooltips): Define new function to support tooltip
functionality.
(Window::SetTooltipState): Ditto.
(Window::AddTooltip): Ditto.
(TooltipNotificationHandler): Ditto.

* window.cc (Window::Window): Initialize handle to NULL.
(Window::~Window): Call DestroyWindow on tooltip control if it was
activated.
(Window::ActivateTooltips): New function to activate the tooltip
control.
(Window::SetTooltipState): New function to allow toggling of
tooltips.
(Window::AddTooltip): New function that adds a tooltip to a given
control in a given window.  Also implement overloaded versions that
provide simpler interface and the ability to use a string resource.
(Window::TooltipNotificationHandler): New function to handle
TTN_GETDISPINFO notification messages.

19 years ago2005-05-05 Brian Dessent <brian@dessent.net>
Brian Dessent [Sat, 7 May 2005 03:42:40 +0000 (03:42 +0000)]
2005-05-05  Brian Dessent  <brian@dessent.net>

* resource.h: Reorganize.  Group by type, and give each its own
range of IDs.  Regenerate IDs accordingly.
(IDD_CHOOSER): Remove obsolete and unused symbol.

19 years ago2005-05-05 Brian Dessent <brian@dessent.net>
Brian Dessent [Fri, 6 May 2005 01:08:04 +0000 (01:08 +0000)]
2005-05-05  Brian Dessent  <brian@dessent.net>

* root.h (class RootPage): Add missing virtual to OnMessageCmd.

19 years ago2005-05-05 Brian Dessent <brian@dessent.net>
Brian Dessent [Fri, 6 May 2005 00:27:40 +0000 (00:27 +0000)]
2005-05-05  Brian Dessent  <brian@dessent.net>

* root.cc (dialog_cmd): Remove.  Use OnMessageCmd instead.
(RootPage::Create): Accomodate above change.

* root.h (class RootPage): Add prototype for OnMessageCmd.

* res.rc (IDD_ROOT): Fix broken button groups.  Correct the order of
the controls and use of WS_GROUP so that the radio buttons act
correctly.

19 years ago2005-05-05 Max Bowsher <maxb@ukf.net>
Max Bowsher [Thu, 5 May 2005 22:48:36 +0000 (22:48 +0000)]
2005-05-05  Max Bowsher  <maxb@ukf.net>

Bulk rename of String++ member cstr_oneuse () to c_str () for
similarity to std::string.

* Exception.cc
* IniDBBuilderPackage.cc
* IniParseFindVisitor.cc
* LogFile.cc
* PickCategoryLine.cc
* PickPackageLine.cc
* PickView.cc
* String++.cc
* String++.h
* archive.cc
* cygpackage.cc
* desktop.cc
* dialog.cc
* diskfull.cc
* download.cc
* filemanip.cc
* find.cc
* geturl.cc
* ini.cc
* install.cc
* io_stream.cc
* io_stream_cygfile.cc
* io_stream_file.cc
* localdir.cc
* mount.cc
* nio-http.cc
* package_db.cc
* package_meta.cc
* package_source.h
* postinstall.cc
* proppage.cc
* root.cc
* script.cc
* site.cc
* splash.cc
* threebar.cc
* window.cc

19 years agoCorrect formatting of recent ChangeLog entries.
Max Bowsher [Thu, 5 May 2005 22:42:30 +0000 (22:42 +0000)]
Correct formatting of recent ChangeLog entries.

This page took 0.085679 seconds and 5 git commands to generate.