]> cygwin.com Git - cygwin-apps/setup.git/log
cygwin-apps/setup.git
22 years ago2001-11-16 Robert Collins <rbtcollins@hotmail.com>
Robert Collins [Thu, 15 Nov 2001 21:58:36 +0000 (21:58 +0000)]
2001-11-16  Robert Collins  <rbtcollins@hotmail.com>

        * README: Updated and added my list of wishlist and todo items.

22 years ago2001-11-14 Robert Collins <rbtcollins@hotmail.com>
Robert Collins [Wed, 14 Nov 2001 09:21:59 +0000 (09:21 +0000)]
2001-11-14  Robert Collins  <rbtcollins@hotmail.com>

        * Makefile.in (OBJS): Include io_stream_memory in setup.exe.
        * archive_tar.cc (archive_tar::write): New prototype.
        (archive_tar::seek): New method.
        * archive.h (archive_tar_file): Update write() and add seek().
        (archive_tar): Ditto.
        * archive_tar_file.cc (archive_tar_file::write): New prototype.
        (archive_tar_file::seek): New method.
        * compress_bz.cc (compress_bz::write): New prototype.
        (compress_bz::seek): New function.
        * compress_bz.h (compress_bz): Update write() and add seek().
        * compress_gz.cc (compress_gz::write): New prototype.
        (compress_gz::seek): New function.
        * compress_gz.h (compress_gz): Update write() and add seek().
        * geturl.cc: Include io_stream headers.
        (GUBuf): Remove.
        (get_url_to_string): Use a io_stream_memory buffer instead of GUBuf.
        * io_stream.h (io_stream_seek_t): New enum.
        (io_stream): Update write() and add seek().
        * io_stream_cygfile.cc (io_stream_cygfile::write): New prototype.
        (io_stream_cygfile::seek): New function.
        * io_stream_cygfile.h (io_stream_cygfile): Update write() and add seek().
        * io_stream_file.cc (io_stream_file::write): New prototype.
        (io_stream_file::seek): New function.
        * io_stream_file.h (io_stream_file): Update write() and add seek().

22 years ago2001-11-13 Brian Keener <bkeener@thesoftwaresource.com>
Robert Collins [Wed, 14 Nov 2001 00:11:35 +0000 (00:11 +0000)]
2001-11-13  Brian Keener  <bkeener@thesoftwaresource.com>

       * localdir.cc: Add headers unistd.h and port.h.
       (save_local_dir): Expand search logic to include local directory for
       location of file last-cache.
       (dialog_cmd): Skip IDD_ROOT when downloading and use Back button.
       (do_local_dir): Expand search logic to include local directory for file
       last-cache.
       * res.rc (IDD_CHOOSE_DIALOG): Add hotkey to View button.
       * Source.cc (dialog_cmd): Skip IDD_ROOT if select Download from
       Internet.
       (do_source): Default to Install from Internet on first entry or
       previous selection if backing up from IDD_ROOT or IDD_LOCAL_DIR.

22 years ago2001-11-13 Robert Collins <rbtcollins@hotmail.com>
Robert Collins [Tue, 13 Nov 2001 02:54:39 +0000 (02:54 +0000)]
2001-11-13  Robert Collins  <rbtcollins@hotmail.com>

        * choose.cc (find_tar_ext): Only match at the end of the string.
        (getpkgbyname): Prevent NULL pointer dereference.

22 years ago2001-11-13 Robert Collins <rbtcollins@hotmail.com>
Robert Collins [Tue, 13 Nov 2001 01:49:32 +0000 (01:49 +0000)]
2001-11-13  Robert Collins  <rbtcollins@hotmail.com>

        * Makefile.in (CFLAGS): Add warnings and -Werr.
        (WARNONLY_FLAGS): For sources that produce (harmless) errors no matter what.
        (OBJS): Add io_stream class' objects.
        (autoload.o): Use WARNONLY_FLAGS.
        (inilex.o): Ditto.
        (iniparse.o): Ditto.
        * archive.cc: New file.
        * archive.h: New file.
        * archive_tar.cc: New file.
        * archive_tar.h: New file.
        * archive_tar_file.cc: New file.
        * autoload.c: Fix compiler warnings (unused, deprecated conversion).
        * choose.cc: Use io_stream.h, not mount.h.
        Run indent.
        (find_tar_ext): Rewritten to use strstr, and to accept .tar as an extension.
        (read_installed_db): Use io_streams.
        * choose.h: Run indent.
        * compress.cc: New file.
        * compress.h: New file.
        * compress_bz.cc: New file.
        * compress_bz.h: New file.
        * compress_gz.cc: New file.
        * compress_gz.h: New file.
        * concat.cc: Run indent.
        (cvsid): Fix compiler warnings (unused, deprecated conversion).
        * concat.h: Run indent.
        * desktop.cc: Run indent.
        Include mklink2.h rather than redefining by hand.
        (cvsid): Fix compiler warnings (unused, deprecated conversion).
        (etc_profile): Fix compiler warning (deprecated conversion).
        (make_link): Fix compiler warning (deprecated conversion).
        Tidy up use of args variable - consolidate into argbuf.
        (start_menu): Fix compiler warning (deprecated conversion).
        (desktop_icon): Fix compiler warning (deprecated conversion).
        (make_etc_profile): Fix compiler warning (deprecated conversion).
        (uexists): Fix compiler warning (deprecated conversion).
        (check_desktop): Fix compiler warning (deprecated conversion).
        (check_startmenu): Fix compiler warning (deprecated conversion).
        * dialog.cc: Run indent.
        (cvsid): Fix compiler warnings (unused, deprecated conversion).
        (fatal): Fix compiler warning (deprecated conversion).
        * dialog.h: Run indent.
        * diskfull.cc: Run indent.
        (cvsid): Fix compiler warnings (unused, deprecated conversion).
        * download.cc: Run indent.
        (cvsid): Fix compiler warnings (unused, deprecated conversion).
        (download_one): Fix compiler warning (signed vs unsigned comparison).
        * filemanip.h: Run indent.
        * find.cc: Run indent.
        (cvsid): Fix compiler warnings (unused, deprecated conversion).
        (find): Fix compiler warning (deprecated conversion).
        * find.h: Run indent.
        * fromcwd.cc: Run indent.
        * geturl.cc: Run indent.
        (cvsid): Fix compiler warnings (unused, deprecated conversion).
        (dialog_cmd): Return a value.
        (dialog_proc): Remove unused variables.
        Return a value.
        (get_url_to_file): Fix compiler warning (deprecated conversion).
        * geturl.h: Run indent.
        * hash.cc: Run indent.
        (cvsid): Fix compiler warnings (unused, deprecated conversion).
        * hash.h: Run indent.
        * ini.cc: Run indent.
        Use io_streams.
        (cvsid): Fix compiler warnings (unused, deprecated conversion).
        (do_ini): Use io_streams for local io.
        * ini.h: Run indent.
        * inilex.l (ignore_line): Fix compiler warning (is not a prototype).
        Fix compiler warning (brackets for truth assignment).
        * install.cc: Run indent.
        Fix compiler warning (/* in comment).
        Use io_streams.
        (cvsid): Fix compiler warnings (unused, deprecated conversion).
        (dialog_cmd): Return a value.
        (dialog_proc): Return a value.
        (start_tics): Deleted - was unused.
        (badrename): Fix compiler warnings (unused, deprecated conversion).
        (standard_dirs): Fix compiler warning (deprecated conversion).
        (exists): Remove.
        (uninstall_one): Convert to io_streams.
        (install_one): Convert to io_streams.
        (do_install): Convert to io_streans.
        Fix compiler warning (deprecated conversion).
        * io_stream.cc: New file.
        * io_stream.h: New file.
        * io_stream_cygfile.cc: New file.
        * io_stream_cygfile.h: New file.
        * io_stream_file.cc: New file.
        * io_stream_file.h: New file.
        * localdir.cc: Run indent.
        Use io_streams.
        (cvsid): Fix compiler warnings (unused, deprecated conversion).
        (get_root_dir_now): Remove.
        (save_local_dir): Convert to io_streams.
        (dialog_cmd): Return a value.
        (do_local_dir): Convert to io_streams.
        (log.cc): Run indent.
        (cvsid): Fix compiler warnings (unused, deprecated conversion).
        (log): Fix compiler warning (deprecated conversion).
        (log_save): Fix compiler warning (deprecated conversion).
        * log.h: Run indent.
        (log): Fix compiler warning (deprecated conversion).
        (log_save): Fix compiler warning (deprecated conversion).
        * main.cc: Run indent.
        Don't include "netio.h".
        (cvsid): Fix compiler warnings (unused, deprecated conversion).
        (netio_test): Remove.
        (sid_auth): Fix compiler warning (partially bracketed initialiser).
        (WinMain): Return a value.
        * mkdir.cc: Run indent.
        (cvsid): Fix compiler warnings (unused, deprecated conversion).
        * mklink2.c: Run indent.
        (cvsid): Fix compiler warnings (unused, deprecated conversion).
        (mkcygsymlink): New function.
        * mklink2.h: New file.
        * mount.cc: Run indent.
        (cvsid): Fix compiler warnings (unused, deprecated conversion).
        (create_mount): Remove unused variables.
        (cygpath): Fix compiler warning (signed vs unsigned comparison).
        * mount.h: Run indent.
        * msg.cc: Run indent.
        (cvsid): Fix compiler warnings (unused, deprecated conversion).
        (msg): Fix compiler warning (deprecated conversion).
        (mbox): Fix compiler warning (deprecated conversion).
        * msg.h: Run indent.
        (msg): Fix compiler warning (deprecated conversion).
        * net.cc: Run indent.
        (cvsid): Fix compiler warnings (unused, deprecated conversion).
        (dialog_cmd): Return a value.
        * netio.cc: Run indent.
        (cvsid): Fix compiler warnings (unused, deprecated conversion).
        (auth_cmd): Return a value.
        * netio.h: Run indent.
        * nio-file.cc: Run indent.
        (cvsid): Fix compiler warnings (unused, deprecated conversion).
        (NetIO_File::NetIO_File): Fix compiler warning (deprecated conversion).
        * nio-file.h: Run indent.
        * nio-ftp.cc: Run indent.
        (cvsid): Fix compiler warnings (unused, deprecated conversion).
        * nio-ftp.h: Run indent.
        * nio-http.cc: Run indent.
        (cvsid): Fix compiler warnings (unused, deprecated conversion).
        * nio-http.h: Run indent.
        * nio-ie5.cc: Run indent.
        (cvsid): Fix compiler warnings (unused, deprecated conversion).
        * nio-ie5.h: Run indent.
        * other.cc: Run indent.
        (cvsid): Fix compiler warnings (unused, deprecated conversion).
        (dialog_cmd): Return a value.
        * port.h: Run indent.
        * postinstall.cc: Run indent.
        (cvsid): Fix compiler warnings (unused, deprecated conversion).
        (cmd): Fix compiler warning (deprecated conversion).
        (eun): Fix compiler warning (deprecated conversion).
        * root.cc: Run indent.
        (cvsid): Fix compiler warnings (unused, deprecated conversion).
        * simpsock.cc: Run indent.
        (cvsid): Fix compiler warnings (unused, deprecated conversion).
        * simpsock.h: Run indent.
        * site.cc: Run indent.
        Use io_streams.
        (cvsid): Fix compiler warnings (unused, deprecated conversion).
        (get_root_dir_now): Remove.
        (save_site_url): Convert to io_streams.
        (dialog_cmd): Return 0.
        (get_initial_list_idx): Convert to io_streans.
        * source.cc: Run indent.
        (cvsid): Fix compiler warnings (unused, deprecated conversion).
        (check_if_enable_next): Remove.
        (load_dialog): Remove unused variables.
        (save_dialog): Ditto.
        (dialog_cmd): Return a value.
        * splash.cc: Return a value.
        (cvsid): Fix compiler warnings (unused, deprecated conversion).
        (dialog_cmd): Return a value.
        * state.cc: Run indent.
        (cvsid): Fix compiler warnings (unused, deprecated conversion).
        * state.h: Run indent.
* tar.cc: Remove.
* tar.h: Remove.

22 years ago* desktop.cc (start_menu): Change start menu name to "Cygwin".
Christopher Faylor [Mon, 12 Nov 2001 20:58:16 +0000 (20:58 +0000)]
* desktop.cc (start_menu): Change start menu name to "Cygwin".
(check_startmenu): Ditto.

22 years agoRevert botched checkin. cygwin-1-3-5 cygwin-1-3-5-2 cygwin-1-3-5-3
Christopher Faylor [Sun, 11 Nov 2001 22:44:32 +0000 (22:44 +0000)]
Revert botched checkin.

22 years ago* choose.cc (parse_filename): Finish reorganization by correctly decrementing p
Christopher Faylor [Sun, 11 Nov 2001 22:43:06 +0000 (22:43 +0000)]
* choose.cc (parse_filename): Finish reorganization by correctly decrementing p
in memmove.

22 years ago* choose.cc (parse_filename): Reorganize code to work around gcc optimization
Christopher Faylor [Sun, 11 Nov 2001 17:44:18 +0000 (17:44 +0000)]
* choose.cc (parse_filename): Reorganize code to work around gcc optimization
problem.

22 years ago2001-11-09 Gareth Pearce <tilps@hotmail.com>
Robert Collins [Fri, 9 Nov 2001 23:37:22 +0000 (23:37 +0000)]
2001-11-09  Gareth Pearce  <tilps@hotmail.com>

        * choose.cc (set_action): Allow skip as an option for installed
        packages that have version number not listed in setup.ini.

22 years ago2001-11-10 Robert Collins <rbtcollins@hotmail.com>
Robert Collins [Fri, 9 Nov 2001 23:36:16 +0000 (23:36 +0000)]
2001-11-10  Robert Collins  <rbtcollins@hotmail.com>

        * choose.cc (set_cation): Backout last change.
        (choose_caption): Ditto.

22 years ago2001-11-10 Robert Collins <rbtcollins@hotmail.com>
Robert Collins [Fri, 9 Nov 2001 14:12:00 +0000 (14:12 +0000)]
2001-11-10  Robert Collins  <rbtcollins@hotmail.com>

        * ini.h (actions): Remove - transferred to choose.h.
        (views): Ditto.
        * choose.h: Protect class's from "C" compilers.
         (actions): New enum, from ini.h. This may not be the 'right' place
        but that place doesn't exist yet.
        (_views): New enum, from ini.h.
        * choose.cc (set_action): Handle installed packages with a version not in
        setup.ini.
        (choose_caption): Ditto.
        * iniparse.y: Rearrange header order to handle new ini.h.

22 years ago2001-11-10 Robert Collins <rbtcollins@hotmail.com>
Robert Collins [Fri, 9 Nov 2001 13:51:01 +0000 (13:51 +0000)]
2001-11-10  Robert Collins  <rbtcollins@hotmail.com>

        * ini.h (_Info): Fix compiler warnings (signed vs unsigned comparison).
        (registry_category): Fix compiler warning (deprecated conversion).
        * iniparse.y (registry_category): Ditto.
        * choose.cc (cvsid): Fix compiler warnings (unused, deprecated conversion).
        (add_requried): Remove unused variable.
        (choose_caption): Handle all enumeration values via a default.
        (paint): Fix compiler warnings (unused, deprecated conversion).
        (scroll_common): Fix compiler warnings (unused, signed vs unsigned comparison).
        (list_clicK): Fix compiler warnings (signed vs unsigned comparison).
        (note_width): Fix compiler warnings (deprecated conversion).
        (keep_or_skip): Fix compiler warnings (unused).
        (_view::mode_caption): Fix compiler warnings (deprecated conversion).
        (set_view_mode): Fix compiler warnings (unused).
        (create_listview): Fix compiler warnings (unused, incorrect format, reaches
        end of function).
        (dialog_proc): Fix compiler warnings (unused).
        (read_installed_db): Fix compiler warnings (unused, deprecated conversion).
        * choose.h (_header): Fix compiler warnings (deprecated conversion).
        (_view): Ditto.

22 years ago2001-11-08 Pavel Tsekov <ptsekov@syntrex.com>
Robert Collins [Fri, 9 Nov 2001 13:03:02 +0000 (13:03 +0000)]
2001-11-08  Pavel Tsekov  <ptsekov@syntrex.com>

        * simpsock.h (SimpleSocket::invalidate): Declare new method.
        * simpsock.cc (SimpleSocket::invalidate): Implement new method.
        (SimpleSocket::SimpleSocket): Initialize buf to zero. Do not allocate
        memory for buf in the constructor.
        (SimpleSocket::~SimpleSocket): Use SimpleSocket::invalidate().
        (SimpleSocket::printf): Use SimpleSocket::write() instead of send().
        (SimpleSocket::write): Check object consistency - return -1 on error.
        invalidate() the object on socket write error.
        (SimpleSocket::fill): Check object consistency - return -1 on error.
        invalidate() the object if socket read error is encountered and there
        is no more data available in the internal read buffer.
        Allocate memory for the internal read buffer.
        (SimpleSocket::gets): Return zero (NULL pointer) if error is encountered
        during fill() and no more data is available in the internal read buffer.
        (SimpleSocket::read): Check object consistency - return -1 on error.
        invalidate() the object if socket read error is encountered.
        * nio-ftp.cc (NetIO_FTP:NetIO_FTP): Allow 125 as valid response code to
        the RETR command (fix for MS IIS ftp server 5 - possibly others too).
        (NetIO_FTP::ok): Check if the SimpleSocket object is ok().
        (NetIO_FTP::read): Use NetIO_FTP::ok().
        * nio-http.cc: Check for valid return value of SimpleSocket::gets().
        (NetIO_HTTP::ok): Check if the SimpleSocket object is ok().

22 years ago2001-11-09 Robert Collins <rbtcollins@hotmail.com>
Robert Collins [Fri, 9 Nov 2001 12:57:09 +0000 (12:57 +0000)]
2001-11-09  Robert Collins  <rbtcollins@hotmail.com>

        * simpsock.cc (cvsid): Avoid compiler warnings (not used, deprecated conversion).
        (SimpleSocket::SimpleSocket): Avoid compiler warnings (deprecated conversion).
        (SimpleSocket::printf): Ditto.
        (SimpleSocket::write): Ditto.
        * simpsock.h (SimpleSocket): Avoid compiler warnings for constructor,
        printf and write.
        * nio-ftp.cc (cvsid): Avoid compiler warnings (not used, deprecated conversion).
        (NetIO_FTP::NetIO_FTP): Remove unused variable done.
        * nio-http.cc (cvsid): Avoid compiler warnings (not used, deprecated conversion).

22 years ago2001-11-07 Charles Wilson <cwilson@ece.gatech.edu>
Robert Collins [Wed, 7 Nov 2001 00:09:04 +0000 (00:09 +0000)]
2001-11-07  Charles Wilson  <cwilson@ece.gatech.edu>

        * geturl.cc (get_url_to_string): clean up memory leak
(get_url_to_file): ditto

22 years ago2001-11-06 Robert Collins <rbtcollins@hotmail.com>
Robert Collins [Tue, 6 Nov 2001 03:41:00 +0000 (03:41 +0000)]
2001-11-06  Robert Collins  <rbtcollins@hotmail.com>

* localdir.cc (dialog_cmd): Go back to IDD_ROOT in every case.
* source.cc (dialog_cmd): Go forward to IDD_ROOT in every case.

22 years ago2001-11-06 Pavel Tsekov <ptsekov@syntrex.com> cygwin-1-3-4
Robert Collins [Mon, 5 Nov 2001 13:00:36 +0000 (13:00 +0000)]
2001-11-06  Pavel Tsekov  <ptsekov@syntrex.com>

        * fromcwd.cc (found_file): Free() memory containing the version and
        filepath information for a given package, before replacing the pointers which
        reference this memory.

22 years ago2001-11-03 Robert Collins <rbtcollins@hotmail.com>
Robert Collins [Mon, 5 Nov 2001 12:58:15 +0000 (12:58 +0000)]
2001-11-03  Robert Collins  <rbtcollins@hotmail.com>

        * fromcwd: Fix compiler warnings for cvsid.
        (canonicalize_version): Fix compilter warnings.
        (do_fromcwd): Ditto.
        * version.h: Fix compiler warnings for canonicalize_version.

22 years ago2001-11-03 Robert Collins <rbtcollins@hotmail.com>
Robert Collins [Sat, 3 Nov 2001 01:07:05 +0000 (01:07 +0000)]
2001-11-03  Robert Collins  <rbtcollins@hotmail.com>

        * res.rc (IDD_CHOOSE): Move the view caption to the right hand side.

22 years ago2001-11-02 Robert Collins <rbtcollins@hotmail.com> Z-categories_merge_HEAD
Robert Collins [Fri, 2 Nov 2001 08:30:50 +0000 (08:30 +0000)]
2001-11-02  Robert Collins  <rbtcollins@hotmail.com>

        * res.rc (IDD_CHOOSE): Tweak for use on a 640x480 screen.

22 years ago2001-11-02 Robert Collins <rbtcollins@hotmail.com>
Robert Collins [Fri, 2 Nov 2001 08:11:52 +0000 (08:11 +0000)]
2001-11-02  Robert Collins  <rbtcollins@hotmail.com>

        * choose.cc (set_action): Correctly allow skip for any uninstalled package.

22 years ago2001-11-02 Robert Collins <rbtcollins@hotmail.com>
Robert Collins [Fri, 2 Nov 2001 07:55:57 +0000 (07:55 +0000)]
2001-11-02  Robert Collins  <rbtcollins@hotmail.com>

        * choose.cc (default_trust): Change the "Required" forced install category to "Base".

22 years ago2001-11-02 Robert Collins <rbtcollins@hotmail.com>
Robert Collins [Fri, 2 Nov 2001 05:00:34 +0000 (05:00 +0000)]
2001-11-02  Robert Collins  <rbtcollins@hotmail.com>

        * choose.cc: Ran indent.
        (set_action): When the requested trust level is missing and the level was not
        user requested, set the action to ACTION_SAME_CURR.

22 years ago* Makefile.in (mingw_getopt.o): Fix typo in non-verbose compilation.
Christopher Faylor [Fri, 2 Nov 2001 04:03:55 +0000 (04:03 +0000)]
* Makefile.in (mingw_getopt.o): Fix typo in non-verbose compilation.

22 years ago2001-11-02 Robert Collins <rbtcollins@hotmail.com>
Robert Collins [Fri, 2 Nov 2001 03:29:00 +0000 (03:29 +0000)]
2001-11-02  Robert Collins  <rbtcollins@hotmail.com>

        * choose.cc (add_required): Allow SKIP and SRC_ONLY for currently installed
        packages.

22 years ago2001-11-02 Robert Collins <rbtcollins@hotmail.com>
Robert Collins [Fri, 2 Nov 2001 03:15:11 +0000 (03:15 +0000)]
2001-11-02  Robert Collins  <rbtcollins@hotmail.com>

        * choose.cc (default_trust): Autoset currently installed packages per the user's
        selection of prev/curr/exp.

22 years ago2001-11-02 Robert Collins <rbtcollins@hotmail.com>
Robert Collins [Fri, 2 Nov 2001 00:52:06 +0000 (00:52 +0000)]
2001-11-02  Robert Collins  <rbtcollins@hotmail.com>

        * splash.cc (dialog_proc): Return TRUE as specified in the WIN32 API.

22 years ago2001-11-02 Pavel Tsekov <ptsekov@syntrex.com>
Robert Collins [Fri, 2 Nov 2001 00:50:19 +0000 (00:50 +0000)]
2001-11-02  Pavel Tsekov  <ptsekov@syntrex.com>

        * geturl.cc (is_showing): Remove.
        (is_local_install): New static variable. Controls whether the
        progress dialog and the supporting thread will be created.
        (dialog_proc): Return TRUE to WM_INITDIALOG as specified by the WIN32 API.
        (init_dialog): Remove usage of SetForegroundWindow and is_showing.
        This prevents the progress dialog to gain control over the
        application and fixes the "setup.exe going to background" problem.
        (progress): Use is_local_install.
        (get_url_to_string): Set is_local_install.
        (dismiss_url_status_dialog): Use is_local_install.
        * install.cc (dialog_proc): Return TRUE as specified in WIN32 API.
        (init_dialog): Remove usage of SetForegroundWindow.
        This prevents the progress dialog to gain control over the
        application and fixes the "setup.exe going to background" problem.

22 years ago2001-11-02 Robert Collins <rbtcollins@hotmail.com>
Robert Collins [Fri, 2 Nov 2001 00:38:26 +0000 (00:38 +0000)]
2001-11-02  Robert Collins  <rbtcollins@hotmail.com>

        * choose.cc (list_click): Change r to row for clarity.
        When we shrink the list below 1 page, scroll to the top of the list.
        (_view::click): Return the actual change for contractions.
        (dialog_proc): Return TRUE to WM_INITDIALOG as specified by the Win32 API.

22 years ago2001-11-02 Robert Collins <rbtcollins@hotmail.com>
Robert Collins [Thu, 1 Nov 2001 13:22:46 +0000 (13:22 +0000)]
2001-11-02  Robert Collins  <rbtcollins@hotmail.com>

        * choose.cc (dialog_cmd): Swap cygwin root selection and local dir selection order.
* localdir.cc: Ran indent.
        (get_root_dir_now): New function.
        (save_local_dir): New function.
        (dialog_cmd): Use it and swap cygwin root selection and local dir selection order.
        (do_local_dir): If there is a saved local dir, read it in.
        * net.cc (dialog_cmd): Swap cygwin root selection and local dir selection order.
        * root.cc (dialog_cmd): Ditto.
        * source.cc (dialog_cmd): Ditto.

22 years ago2001-11-01 Robert Collins <rbtcollins@hotmail.com>
Robert Collins [Thu, 1 Nov 2001 08:05:41 +0000 (08:05 +0000)]
2001-11-01  Robert Collins  <rbtcollins@hotmail.com>

        * choose.cc(list_vscroll): Return 0 as required by win32.
        (list_hscroll): Ditto.
        (list_click): Ditto.

22 years ago2001-11-01 Robert Collins <rbtcollins@hotmail.com>
Robert Collins [Thu, 1 Nov 2001 08:03:55 +0000 (08:03 +0000)]
2001-11-01  Robert Collins  <rbtcollins@hotmail.com>

        * argv.cc: Remove.
        * argv.h: Remove.
        * main.cc(WinMain): Use __argv to retrieve command line parameters.
        * Makefile,in: Remove argv.o.

22 years ago2001-11-01 Robert Collins <rbtcollins@hotmail.com>
Robert Collins [Thu, 1 Nov 2001 01:59:12 +0000 (01:59 +0000)]
2001-11-01  Robert Collins  <rbtcollins@hotmail.com>

        * argv.cc: Remove.
        * argv.h: Remove.
        * main.cc(WinMain): Use __argv to retrieve command line parameters.
        * Makefile,in: Remove argv.o.

22 years ago2001-11-01 Matt Hargett <matt@use.net>
Robert Collins [Wed, 31 Oct 2001 13:15:06 +0000 (13:15 +0000)]
2001-11-01  Matt Hargett  <matt@use.net>

        * geturl.cc (progress): Change int to unsigned int to eliminate
        lint warnings.
        * (get_url_to_string): Check for NULL pointer.
        * mount.cc (find2): Use free instead of delete for malloc'd
        memory.
        * nio-http.cc (NetIO_HTTP::NetIO_HTTP): Fix memory leak.

22 years ago2001-10-31 Robert Collins <rbtcollins@hotmail.com>
Robert Collins [Wed, 31 Oct 2001 13:00:11 +0000 (13:00 +0000)]
2001-10-31  Robert Collins  <rbtcollins@hotmail.com>

        * choose.cc(_view::insert_under): Handle linen > nlines and lines[linen] with neither
        a package nor a category. The lines[linen] bug was reported by Matt (matt@usa.net).
        (read_installed_db): Bugfix for testing whether a package has a source tarball.
        Reported by Matt (matt@usa.net).
        * geturl.cc(dialog): Rename gw_dialog to local_gw_dialog to avoid programmer
        confusion and lint errors. Reported by Matt (matt@usa.net).

22 years ago2001-10-31 Robert Collins <rbtcollins@hotmail.com>
Robert Collins [Wed, 31 Oct 2001 09:39:13 +0000 (09:39 +0000)]
2001-10-31  Robert Collins  <rbtcollins@hotmail.com>

* argv.cc: New file, converts arguments for -mwindows programs. (Simplified derivation
from dcrt0.cc.)
* argv.h: New file.
* Makefile,in: Add argv.o and mingw_getopt.o to setup.exe object list.
Add mingw_getopt.o build rule.
* main.cc(WinMain): Initialise argv and argc for use by getopt.

22 years ago* res.rc: Rearrange info on top line slightly.
Christopher Faylor [Sat, 27 Oct 2001 16:20:45 +0000 (16:20 +0000)]
* res.rc: Rearrange info on top line slightly.

22 years ago* desktop.cc (make_passwd_group): Move file creation earlier in the process to
Christopher Faylor [Sat, 27 Oct 2001 15:56:47 +0000 (15:56 +0000)]
* desktop.cc (make_passwd_group): Move file creation earlier in the process to
ensure that passwd-grp.bat reflects desired operation.
* postinstall.cc (each): Remove "*.done" file else rename will fail.
Copyrights.

22 years ago* Makefile.in: Only build testsuite directory on first 'make check'.
Christopher Faylor [Wed, 24 Oct 2001 21:56:52 +0000 (21:56 +0000)]
* Makefile.in: Only build testsuite directory on first 'make check'.
* configure.in: Remove testsuite from SUBDIRS.
* configure: Regenerate.

22 years ago* res.rc: Oops. Take 640x480 screen size into account.
Christopher Faylor [Wed, 17 Oct 2001 03:04:26 +0000 (03:04 +0000)]
* res.rc: Oops.  Take 640x480 screen size into account.

22 years agoRemove CRs.
Christopher Faylor [Tue, 16 Oct 2001 21:15:27 +0000 (21:15 +0000)]
Remove CRs.

22 years ago* res.rc: Enlarge chooser screen.
Christopher Faylor [Tue, 16 Oct 2001 21:12:36 +0000 (21:12 +0000)]
* res.rc: Enlarge chooser screen.

22 years ago* Makefile.in: Accomodate changes to w32api_include macro.
Christopher Faylor [Fri, 12 Oct 2001 19:50:13 +0000 (19:50 +0000)]
* Makefile.in: Accomodate changes to w32api_include macro.

22 years agoUse correct flags for windres.
Christopher Faylor [Fri, 12 Oct 2001 19:42:42 +0000 (19:42 +0000)]
Use correct flags for windres.

22 years ago* Makefile.in (CFLAGS): Remove -nostdinc from CFLAGS.
Christopher Faylor [Fri, 12 Oct 2001 05:41:58 +0000 (05:41 +0000)]
* Makefile.in (CFLAGS): Remove -nostdinc from CFLAGS.

22 years ago* choose.cc (pick_line::paint): Reorganize after botched patch.
Christopher Faylor [Fri, 12 Oct 2001 05:26:11 +0000 (05:26 +0000)]
* choose.cc (pick_line::paint): Reorganize after botched patch.

22 years ago* choose.cc (pick_line::paint): Add missing declaration.
Christopher Faylor [Fri, 12 Oct 2001 04:46:23 +0000 (04:46 +0000)]
* choose.cc (pick_line::paint): Add missing declaration.

22 years agodeal with spaces.
Christopher Faylor [Thu, 11 Oct 2001 20:05:34 +0000 (20:05 +0000)]
deal with spaces.

22 years agoadjust for ncurses package-splitup
Charles Wilson [Thu, 11 Oct 2001 19:15:25 +0000 (19:15 +0000)]
adjust for ncurses package-splitup

22 years ago* choose.cc (pick_line::paint): Add package name to sdesc for display.
Christopher Faylor [Thu, 11 Oct 2001 02:25:19 +0000 (02:25 +0000)]
* choose.cc (pick_line::paint): Add package name to sdesc for display.

22 years agomore updates
Christopher Faylor [Tue, 9 Oct 2001 04:42:41 +0000 (04:42 +0000)]
more updates

22 years agoupdate-setup version 2
Christopher Faylor [Tue, 9 Oct 2001 03:22:45 +0000 (03:22 +0000)]
update-setup version 2

22 years agoupdate
Christopher Faylor [Tue, 9 Oct 2001 00:35:15 +0000 (00:35 +0000)]
update

22 years agoupdates for cwilson packages
Charles Wilson [Tue, 2 Oct 2001 17:30:56 +0000 (17:30 +0000)]
updates for cwilson packages

22 years agoWed Sep 26 21:39:00 Robert Collins rbtcollins@hotmail.com Z-cygwin_daemon_merge-new_HEAD Z-cygwin_daemon_merge_HEAD
Robert Collins [Wed, 26 Sep 2001 21:44:57 +0000 (21:44 +0000)]
Wed Sep 26 21:39:00  Robert Collins rbtcollins@hotmail.com

        * choose.cc (_view::insert_pkg): Correctly exit loop.
        * iniparse.y (register_category): Always insert new categories.

22 years ago* inilex.l (yylex): For comments, eat all characters up to, but not including
Christopher Faylor [Fri, 21 Sep 2001 17:57:52 +0000 (17:57 +0000)]
* inilex.l (yylex): For comments, eat all characters up to, but not including
newline.

22 years agoupdate
Christopher Faylor [Thu, 20 Sep 2001 02:38:22 +0000 (02:38 +0000)]
update

22 years agoTemporary checkin
Christopher Faylor [Thu, 20 Sep 2001 02:11:12 +0000 (02:11 +0000)]
Temporary checkin

23 years ago* fromcwd.cc (found_file): Use correct package name when adding an unknown cygwin-1-3-3
Christopher Faylor [Sun, 26 Aug 2001 17:44:05 +0000 (17:44 +0000)]
* fromcwd.cc (found_file): Use correct package name when adding an unknown
package rather than random stack garbage.

23 years ago* desktop.cc (make_passwd_group): .bat files need \r\n endings.
Christopher Faylor [Sun, 12 Aug 2001 18:26:26 +0000 (18:26 +0000)]
* desktop.cc (make_passwd_group): .bat files need \r\n endings.

23 years ago* desktop.cc (etc_profile): Leave environment variables untouched.
Christopher Faylor [Wed, 8 Aug 2001 17:54:45 +0000 (17:54 +0000)]
* desktop.cc (etc_profile): Leave environment variables untouched.

23 years ago * autoload.c: Add dynamic load statements for NT/W2K
Corinna Vinschen [Tue, 7 Aug 2001 08:00:58 +0000 (08:00 +0000)]
    * autoload.c: Add dynamic load statements for NT/W2K
        advapi32 functions not available in 9x/ME.
        * main.cc (set_default_dacl): New function.
        (WinMain): Call `set_default_dacl' if running on NT/W2K.

23 years ago* ini.h (_CategoryPackage): Change pkg field to pkgname for consistency.
Christopher Faylor [Sun, 5 Aug 2001 01:38:46 +0000 (01:38 +0000)]
* ini.h (_CategoryPackage): Change pkg field to pkgname for consistency.
* choose.cc: Use pkgname field when referencing _CategoryPackage throughout.
(fill_missing_category): Don't add excluded packages.
(default_trust): Ditto.
(_view::insert_pkg): Ditto.
* iniparse.y (register_category): Use consistent variable name.

23 years ago* choose.cc: Use system foreground color for text output.
Egor Duda [Mon, 9 Jul 2001 14:44:26 +0000 (14:44 +0000)]
* choose.cc: Use system foreground color for text output.

23 years ago* choose.cc (set_action): Use default trust for determining reinstall and
Christopher Faylor [Sat, 7 Jul 2001 04:46:31 +0000 (04:46 +0000)]
* choose.cc (set_action): Use default trust for determining reinstall and
source only.
(default_trust): Set default trust.
(pick_line::paint): Allow source selection when reinstalling or retrieving.

23 years ago* choose.cc (isinstalled): Modify to properly accomodate special case of
Christopher Faylor [Fri, 6 Jul 2001 22:20:34 +0000 (22:20 +0000)]
* choose.cc (isinstalled): Modify to properly accomodate special case of
"download only".
(set_action): Check downloaded components, not installed components if
"download only".
(set_existence): Always include full list of files when "download only".

23 years ago* choose.cc (pick_line::paint): Properly display "na" field when no source
Christopher Faylor [Fri, 6 Jul 2001 04:38:30 +0000 (04:38 +0000)]
* choose.cc (pick_line::paint): Properly display "na" field when no source
exists.

23 years ago* choose.cc (scan2): Ensure that older versions do not show up in "Test" slot.
Christopher Faylor [Thu, 5 Jul 2001 04:46:59 +0000 (04:46 +0000)]
* choose.cc (scan2): Ensure that older versions do not show up in "Test" slot.

23 years agoremove binary file intended for deletion.
Christopher Faylor [Thu, 5 Jul 2001 02:58:20 +0000 (02:58 +0000)]
remove binary file intended for deletion.

23 years agoadd file to be deleted.
Christopher Faylor [Thu, 5 Jul 2001 02:56:21 +0000 (02:56 +0000)]
add file to be deleted.

23 years agoremove file added to delete.
Christopher Faylor [Tue, 3 Jul 2001 01:41:30 +0000 (01:41 +0000)]
remove file added to delete.

23 years agoadd file to be removed.
Christopher Faylor [Tue, 3 Jul 2001 01:40:33 +0000 (01:40 +0000)]
add file to be removed.

23 years agominor reformatting
Christopher Faylor [Tue, 3 Jul 2001 01:38:04 +0000 (01:38 +0000)]
minor reformatting

23 years ago* choose.cc (set_action): Allow "Skip" action if trust != installed.
Christopher Faylor [Mon, 2 Jul 2001 19:49:58 +0000 (19:49 +0000)]
* choose.cc (set_action): Allow "Skip" action if trust != installed.
* res.rc: Fix copyright.

23 years agofix inexplicable typo.
Christopher Faylor [Mon, 2 Jul 2001 03:45:43 +0000 (03:45 +0000)]
fix inexplicable typo.

23 years ago* res.rc (IDD_LOCAL_DIR): Change caption to match the other dialog boxes.
Christopher Faylor [Sun, 1 Jul 2001 03:19:01 +0000 (03:19 +0000)]
* res.rc (IDD_LOCAL_DIR): Change caption to match the other dialog boxes.
(IDD_CHOOSE))))))))): Adjust horizontal size so package names are visible.
* choose.cc: Restore some more changes from 2001-06-25, throughout.
(paint): Wrap some excessively long lines.
(pick_line::paint): Ditto.  Move the arrow in the "Current" column right to
where it belongs.  Move the source checkbox slightly to the right.
(do_choose): List categories and required packages in setup.log.full.
* choose.cc (scan2): Restore source scanning eliminated by previous checkin.

23 years agoFix typo.
Christopher Faylor [Sun, 1 Jul 2001 02:18:20 +0000 (02:18 +0000)]
Fix typo.

23 years ago* ini.h (struct _Info): Add "derived" element.
Christopher Faylor [Sat, 30 Jun 2001 19:20:24 +0000 (19:20 +0000)]
* ini.h (struct _Info): Add "derived" element.
* choose.cc (scan2): Try to place unknown tar files into proper slot when
package exists in setup.ini but tar file does not.

23 years agoSat Jun 30 13:39:00 2001 Robert Collins <rbtcollins@hotmail.com>
Robert Collins [Sat, 30 Jun 2001 03:43:33 +0000 (03:43 +0000)]
Sat Jun 30 13:39:00 2001 Robert Collins <rbtcollins@hotmail.com>

* choose.cc (create_listview): Call set_view_mode with VIEW_CATEGORY.
(do_choose): Log the first category name.

23 years ago*ini.h: Reapply 2001-06-25 changes.
Christopher Faylor [Sat, 30 Jun 2001 03:11:46 +0000 (03:11 +0000)]
*ini.h: Reapply 2001-06-25 changes.
* choose.cc (add_required): Ditto.  Default to "Keep" state if UNINSTALL and
product is installed.  Default to curr state if SKIP, etc.
(keep_or_skip): New function.  Returns skip or keep state depending on
installed state of package.
(default_trust): Use keep_or_skip to set state.
(_view::insert_pkg): Use calloc to allocate lines.
(set_view_mode): Adapt 2001-06-25 change to set_full_list here.

23 years agoSat Jun 30 11:01:00 2001 Robert Collins <rbtcollins@hotmail.com>
Robert Collins [Sat, 30 Jun 2001 01:37:55 +0000 (01:37 +0000)]
Sat Jun 30 11:01:00 2001 Robert Collins <rbtcollins@hotmail.com>

* choose.cc: Remove globals full_list, headers, package_indexes and
nindexes.
Add globals cat_headers, pkg_headers and chooser.
(add_required): New function.
(paint): Use the chooser for header details.
Call into the chooser to paint each line.
(list_click): Use new global variables.
Call into the chooser to handle the click.
Repaint the entire view if packages have been added or removed.
(note_width): Get passed a headers struct rather than using a global
variable.
(fill_missing_category): New function.
(default_trust): Skip non-"Required" or "Misc" packages.
(pick_line::set_line (Package *)): New function.
(pick_line::set_line (Category *)): New function.
(pick_line::paint): New function.
(pick_line::click): New function.
(_view::_view): New function.
(_view::set_view_mode): New function.
(_view::mode_caption): New function.
(_view::set_headers): New function.
(_view::init_header): New function.
(_view::insert_pkg): New function.
(_view::insert_category): New function.
(_view::insert_at): New function.
(_view::insert_under): New function.
(_view::clear_view): New function.
(viewsplusplus): New function.
(_view::client): New function.
(set_view_mode): Use new chooser functionality.
(set_full_list): Use new global variables.
(create_listview): Instantiate chooser.
Remove all hardcoded headers[] code.
(dialog_cmd): On trust changes, check dependencies.
(getcategorybyname): New function.
(getpackagecategorybyname): New function.
(scan2): Use case-insensitive package comparison.
(do_choose): Use fill_missing_category ().
Show some category data.
* ini.h: Protect against multiple inclusion.
(views) New enum.
(_CategoryPackage): New struct.
(_Category): New struct.
(_Package): Change category to Category * from char *.
(extern Category category): New global variable.
(extern in ncategories): Ditto.
(getcategorybyname): New prototype.
(catpackagecategorybyname): New prototype.
(register_category): New prototype.
(add_category): New prototype.
* iniparse.y: Parse multiple categories per package.
category: New global variable.
ncategories: New global variable.
(new_package): Compare package against NULL, not 0.
(new_requirement): Source formatting fix.
(register_category): New function.
(add_category): New function.
* res.rc: Change IDC_CHOOSE_FULLPART to IDC_CHOOSE_VIEW.
IDC_CHOOSE_VIEWCAPTION: New control.
* resource.h: Change IDC_CHOOSE_FULLPART to IDC_CHOOSE_VIEW.
IDC_CHOOSE_VIEWCAPTION: New control.
Increment _APS_NEXT_CONTROL_VALUE.

23 years agoFix typo.
Christopher Faylor [Fri, 29 Jun 2001 02:39:25 +0000 (02:39 +0000)]
Fix typo.

23 years ago* choose.cc (paint): Wrap lines excessively long lines.
Christopher Faylor [Mon, 25 Jun 2001 05:55:22 +0000 (05:55 +0000)]
* choose.cc (paint): Wrap lines excessively long lines.
(list_click): Ditto.
(create_listview): Ditto.
(do_choose): Ditto.  Replace TABs and remove CRs in lines written to
setup.log.full.  Allow "Yes" for source exists in setup.log.full when
installing from local directories.

23 years ago* choose.cc (set_action): Only clear srcpicked when moving to next state.
Christopher Faylor [Mon, 25 Jun 2001 05:48:38 +0000 (05:48 +0000)]
* choose.cc (set_action): Only clear srcpicked when moving to next state.
Allow source installation if it exists in the current "trust" state.  Don't
move to skip state when package is installed.
(list_click): Don't allow source clicking when no source is available.
(set_full_list): Display package when not is_full_action.
* ini.h (is_full_action): Define.

23 years agoAdd some comments.
Christopher Faylor [Mon, 18 Jun 2001 00:43:57 +0000 (00:43 +0000)]
Add some comments.

23 years ago* install.cc (check_for_old_cygwin): New function. First stab at checking for
Christopher Faylor [Sun, 17 Jun 2001 16:06:56 +0000 (16:06 +0000)]
* install.cc (check_for_old_cygwin): New function.  First stab at checking for
old cygwin versions.
(do_install): Call check_for_old_cygwin if there were no errors during the
install.

23 years agoadd comment
Christopher Faylor [Sat, 16 Jun 2001 18:50:13 +0000 (18:50 +0000)]
add comment

23 years ago* choose.cc (_Info::_Info): Test _source paramenter for non-NULL rather than
Christopher Faylor [Sat, 16 Jun 2001 18:47:44 +0000 (18:47 +0000)]
* choose.cc (_Info::_Info): Test _source paramenter for non-NULL rather than
zeroed "source" element.

23 years ago* choose.cc (scan2): Insert unknown tar archives, found on disk, into the
Christopher Faylor [Sat, 16 Jun 2001 00:55:40 +0000 (00:55 +0000)]
* choose.cc (scan2): Insert unknown tar archives, found on disk, into the
highest available "hole" in the trust array.

23 years ago* choose.cc (set_existence): Use pointer method for indexing in trust array.
Christopher Faylor [Fri, 15 Jun 2001 04:23:01 +0000 (04:23 +0000)]
* choose.cc (set_existence): Use pointer method for indexing in trust array.
(create_listview): Ditto.
(scan2): Ditto.  Also, use consistent variable name for indexing into trust
array.
* ini.h (Package): Reorganize info array for easier scanning.

23 years ago* choose.cc (isinstalled): Eliminate special download only test.
Christopher Faylor [Fri, 15 Jun 2001 04:05:31 +0000 (04:05 +0000)]
* choose.cc (isinstalled): Eliminate special download only test.
(set_action): Don't move to next state if in ACTION_SAME range and not
incrementing.
(choose_caption): Display "Retrieve" rather than "Reinstall" when just
downloading.
(do_choose): Sort packages after all packages have been read.  Accomodate the
fact that first element in trust array is empty so that log files don't report
the wrong trust value.
* iniparse.y (new_package): Malloc space for package name or suffer memory
corruption.

23 years ago* ini.h (Dependency): New structure. Declare new function.
Christopher Faylor [Fri, 15 Jun 2001 02:48:37 +0000 (02:48 +0000)]
* ini.h (Dependency): New structure.  Declare new function.
* inilex.l (yylex): Detect new setup.ini options - category and requires.
* iniparse.y: Declare new setup.ini token values.
(yyparse): Parse new token values.
(new_requirement): New function.
* choose.cc (read_installed_db): Eliminate obsolete code.

23 years ago* choose.cc (set_action): Set trust on "redo".
Christopher Faylor [Fri, 15 Jun 2001 02:16:41 +0000 (02:16 +0000)]
* choose.cc (set_action): Set trust on "redo".
(_Info::_Info): New constructor.
(read_installed_db): Use new constructor.  Use trusts type for iterator.
* ini.h (struct _Info): Label struct, add constructor.
(Package): Make installed_ix a type 'trusts.'
* install.cc (uninstall_one): Unset any installed info for current package.
(install_one): Allocate new Info struct for installed reflecting new installed
info.
(do_install): Don't output line to installed.db if package is being
uninstalled.

23 years ago* choose.cc (getpkgbyname): Use consistent method for scanning package array.
Christopher Faylor [Fri, 15 Jun 2001 00:33:33 +0000 (00:33 +0000)]
* choose.cc (getpkgbyname): Use consistent method for scanning package array.

23 years ago* choose.cc: Add some comments.
Christopher Faylor [Thu, 14 Jun 2001 03:38:45 +0000 (03:38 +0000)]
* choose.cc: Add some comments.
(getpkgbyname): Use strcasecmp for comparisons.

23 years agoFix typo.
Christopher Faylor [Wed, 13 Jun 2001 21:40:55 +0000 (21:40 +0000)]
Fix typo.

23 years ago* install.cc (do_install): Avoid checking for download action of package wasn't
Christopher Faylor [Wed, 13 Jun 2001 20:07:32 +0000 (20:07 +0000)]
* install.cc (do_install): Avoid checking for download action of package wasn't
currently retrieved.

23 years ago* choose.cc: Eliminate extra array throughout. Use element in package
Christopher Faylor [Wed, 13 Jun 2001 16:11:01 +0000 (16:11 +0000)]
* choose.cc: Eliminate extra array throughout.  Use element in package
structure instead.  Use pointers rather than array indexes where appropriate.
(set_action): New function to set next action based on current.
(choose_caption): New function.  Returns display caption.
(check_existence): Change arguments.  Use pointer to 'info' structure.
(set_existence): Use pointer rather than array index.
(default_trust): Use trusts enum for second argument.
(set_full_list): Honor exclude element in package structure.
(build_labels): Eliminate.
(base): Make global.  Use const char * argument.
(get_package_version): Eliminate.
(getpkgbyname): New function.
(read_installed_db): Use parse_filename to get version info.
* desktop.cc (make_passwd_group): Use getpkgbyname function.
* download.cc (get_file_size): const argument.
(do_download): Use is_download_action to determine when something should be
downloaded.
* filemanip.h: Add some functions.
* ini.cc (do_ini): Use NULL rather than 0 for pointer assignment.
* ini.h: Use enums for actions and trusts.
(is_download_action): New macro.
(is_upgrade_action): Ditto.
(is_uninstall_action): Ditto.
(struct Package): Add new fields.
* inilex.l (yylex): Detect new setup.ini options.
* iniparse.y: Declare new tokens.
(yyparse): Detect exclude keyword.  Fill out version field even if version ==
0.
(new_package): Use greater granularity when allocating package array to avoid
repeated calls to realloc.
* install.cc (exists): const argument.
(uninstall_one): Take pkg argument.
(install_one): Ditto.  Eliminate unneeded arguments which can be derived from
package info.
(do_install): Iterate over package array using a pointer.  Use
is_download_action to control when package should be downloaded.
* tar.cc (tar_open): const argument.
* tar.h: Refloect const argument.

23 years ago* main.cc (WinMain): Add setup version to starting setup.log entry
Christopher Faylor [Thu, 31 May 2001 19:04:29 +0000 (19:04 +0000)]
* main.cc (WinMain): Add setup version to starting setup.log entry

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