]> cygwin.com Git - cygwin-apps/setup.git/log
cygwin-apps/setup.git
23 years ago* choose.cc (do_choose): Fix incorrect assignment of trust setting to use when cygwin-1-3-2
Christopher Faylor [Fri, 18 May 2001 14:56:22 +0000 (14:56 +0000)]
* choose.cc (do_choose): Fix incorrect assignment of trust setting to use when
Redownload or Sources Only selected.

23 years agoReformat file after botched patch formatting.
Christopher Faylor [Fri, 11 May 2001 02:39:27 +0000 (02:39 +0000)]
Reformat file after botched patch formatting.
* choose.cc (which_trust): Eliminate variable.
(default_trust): Don't set which_trust.
(do_choose): Use selected trust when reinstalling or installing source.

23 years agoChange concat to cygpath throughout. Change map_filename to cygpath
Christopher Faylor [Fri, 11 May 2001 01:40:36 +0000 (01:40 +0000)]
Change concat to cygpath throughout.  Change map_filename to cygpath
throughout.
* concat.cc (vconcat): New function.
(concat): Use vconcat.
* concat.h: Reflect above.
* install.cc (map_filename): Eliminate.
(install_one): Free dest_file.
* mount.cc (find2): Expect input key to be pointing to mount record.
(in_table): New function.
(is_admin): Move from root.cc.
(read_mounts): New function.
(path_prefix_p): New function.
(cygpath): New function.
* mount.h: Define new functions and structure.
* root.cc (in_table): Move to mount.cc.
(do_root): Call read_mounts to initialize root stuff and mount table.
* site.cc (get_root_dir): Ditto.

23 years ago* Makefile.in: Remove *.rc from clean.
Christopher Faylor [Wed, 9 May 2001 13:46:24 +0000 (13:46 +0000)]
* Makefile.in: Remove *.rc from clean.

23 years ago* choose.cc (scan2): Fix incorrect setting of TRUST_CURR rather than TRUST_PREV
Christopher Faylor [Wed, 9 May 2001 03:37:32 +0000 (03:37 +0000)]
* choose.cc (scan2): Fix incorrect setting of TRUST_CURR rather than TRUST_PREV
which produced "0" versions.

23 years ago* resource.h: Add new field IDC_CHOOSE_INST_TEXT. Modify
Christopher Faylor [Tue, 8 May 2001 04:03:02 +0000 (04:03 +0000)]
* resource.h: Add new field IDC_CHOOSE_INST_TEXT.  Modify
_APS_NEXT_CONTROL_VALUE to account for addition of IDC_CHOOSE_INST_TEXT.
* res.rc (IDD_CHOOSE): Modify choose dialog to use new field
IDC_CHOOSE_INST_TEXT for screen text.  Modify choose Dialog to allow hot keys
to select Prev, Curr, Exp.
* ini.h: Add new actions for ACTION_REDO and ACTION_SRC_ONLY.  Modify define
for LOOP_PACKAGES to include new actions ACTION_REDO and ACTION_SRC_ONLY.
* choose.cc: Add new Trusts for TRUST_REDO and TRUST_SRC_ONLY.
(paint): Modify to check TRUST_SRC_ONLY when determining Bitmap for source
Checkbox to use.
(build_labels): Add logic to allow for selection of Source only
Download/ReDownload/Install/Reinstall and also to Redownload/Reinstall current
version binary.
(dialog_proc): Add conditional display for file selection prompt based on
download vs install using IDC_CHOOSE_INST_TEXT.
(do_choose): Add new logic for TRUST_REDO and TRUST_SRC_ONLY selection and
modify logic for TRUST_UNINSTALL, TRUST_KEEP, and TRUST_NONE to handle the
instance where Source Download/Install was selected.  Modify log file to store
appropriate information regarding Action selected and the new actions that were
added (I.E.: ACTION_REDO and ACTION_SRC_ONLY).
* download.cc: Add include for <unistd.h> and "port.h".
(download_one): Modify parameter list to include the selected action for the
file to be downloaded.  Modify size check against expected size to include
check for ACTION_REDO and ACTION_SRC_ONLY.  Modify rename of .tmp file to also
remove the destination file if exists due to ability to redownload source and
binary now.
(do_download): Modify to also use ACTION_REDO and ACTION_SRC_ONLY in
calculation of Download Bytes.  Modify to also use ACTION_REDO and
ACTION_SRC_ONLY in determining files selected for download.
* install.cc (uninstall_one): Add check to treat a Reinstall like an upgrade so
current version will be uninstalled prior to reinstall.
(do_install): Add logic to handle ACTION_REDO and ACTION_SRC_ONLY for
uninstalling and installing binary and source packages.
* desktop.cc (make_passwd_group): Modify logic to account for a Source only
cygwin install when checking for cygwin to determine need for mkpasswd and
mkgroup.

23 years ago* winsup/cinstall/res.rc: Added accelerators and improved focus order. Removed
Christopher Faylor [Tue, 8 May 2001 03:35:55 +0000 (03:35 +0000)]
* winsup/cinstall/res.rc: Added accelerators and improved focus order.  Removed
WS_DISABLED from "OK" buttons to accomodate default focus changes in net.cc and
source.cc.
* winsup/cinstall/net.cc (dialog_proc): If no radio button is selected, a
default is selected.
* winsup/cinstall/source.cc (dialog_proc): Ditto.
(check_if_enable_next): Removed.  No longer needed since a radio button will
always be selected.
(load_dialog): Removed call to check_if_enable_next.
(dialog_cmd): Ditto.  Also added default to switch.

23 years ago* res.rc: Resize affected text.
Christopher Faylor [Wed, 25 Apr 2001 03:44:08 +0000 (03:44 +0000)]
* res.rc: Resize affected text.

23 years ago* net.cc (do_net): Default to direct download.
Christopher Faylor [Wed, 25 Apr 2001 03:35:52 +0000 (03:35 +0000)]
* net.cc (do_net): Default to direct download.
* res.c: Move default selections to the top.

23 years ago * win32.h: Remove the definitions for _UNION_NAME and _STRUCT_NAME. cygwin-1-3-1
Earnie Boyd [Thu, 19 Apr 2001 00:40:39 +0000 (00:40 +0000)]
* win32.h: Remove the definitions for _UNION_NAME and _STRUCT_NAME.
Must now include <windows.h> and not the pieces.
* choose.cc (create_listview): Clean up type mismatch problems.
* dialog.h (NEXT(id)): Ditto.
* geturl.cc (dialog): Ditto.
* install.cc (dialog): Ditto.
* splash.cc (load_dialog): Ditto.

23 years ago* tar.cc (class gzbz): Define dummy virtual functions.
Christopher Faylor [Wed, 18 Apr 2001 23:03:02 +0000 (23:03 +0000)]
* tar.cc (class gzbz): Define dummy virtual functions.

23 years agoCheck in missing file.
Christopher Faylor [Wed, 18 Apr 2001 21:30:48 +0000 (21:30 +0000)]
Check in missing file.

23 years ago* Makefile.in: Add bz2 include/library support.
Christopher Faylor [Wed, 18 Apr 2001 20:11:58 +0000 (20:11 +0000)]
* Makefile.in: Add bz2 include/library support.
* filemanip.h: New file.
* choose.cc (find_tar_ext): New function.  Returns TRUE if .tar.gz or .tar.bz2
found.
(scan2): Reorganize to use find_tar_ext, accomodating .bz2 extension.
(read_installed_db): Ditto.
(do_choose): Ditto.
* fromcwd.cc (found_file): Ditto.
(do_fromcwd): Ditto.
* tar.cc (class gzbz): New super class for uncompression support.
(gz): New class for gzip support.
(bz): New class for bzip2 support.
(tar_open): Use gzbz class to control file opening.
(tar_ftell): Ditto for returning position in file.
(skip_file): Ditto for reading file.
(tar_next_file): Ditto.
(tar_read_file): Ditto.
(tar_close): Ditto for close.
* zlib/configure.in: Force NM substitution.
* source.cc (do_source): Default to "Install from Internet".

23 years ago* nio-file.cc (NetIO_File::NetIO_File): Use `get_file_size' instead of `stat'.
Christopher Faylor [Sat, 17 Mar 2001 04:45:08 +0000 (04:45 +0000)]
* nio-file.cc (NetIO_File::NetIO_File): Use `get_file_size' instead of `stat'.
* choose.cc (list_click): Correct inability to select source code for download.
(scan2): Modify to skip source tarballs when scanning disk for installable
packages.

23 years ago * install.cc: install sources into /usr/src instead
Corinna Vinschen [Thu, 15 Mar 2001 19:06:23 +0000 (19:06 +0000)]
    * install.cc: install sources into /usr/src instead
        of /, also include the sizes of source tarballs
        in total_bytes.
        * download.cc: include sizes of source tarballs in
        total_download_bytes.

23 years ago * download.cc (get_file_size): Remove `static'.
Corinna Vinschen [Tue, 6 Mar 2001 18:32:15 +0000 (18:32 +0000)]
    * download.cc (get_file_size): Remove `static'.

23 years ago * tar.cc (tar_open): Use `get_file_size' instead of `stat'.
Corinna Vinschen [Tue, 6 Mar 2001 18:13:31 +0000 (18:13 +0000)]
   * tar.cc (tar_open): Use `get_file_size' instead of `stat'.

23 years ago * choose.cc (paint): Modify message for nothing to download vs
Corinna Vinschen [Tue, 6 Mar 2001 13:21:58 +0000 (13:21 +0000)]
    * choose.cc (paint): Modify message for nothing to download vs
        nothing to install/update based on installation method.
        (list_click): Modify to skip versions in selection process if
        installing from local directory and installation file does not exist.
        Also leaves Source Action set to N/A if the source file does not exist
        and installing from local directory.
        (check_existence): New method to check current existence of installation
        files based on selected installation method.
        (set_existence): New method to set the current existence of installation
        files based on selected installation method.
        (best_trust): Modify decision process for best trust to base decision on
        current trust selected (IE: Prev, Curr, or Test), existence of file and
        installation method selected.
        (default_trust): Add logic to capture the current trust level and the
        trust selected for the given package.
        (set_full_list): Expand decision criteria for displaying a package in
        the selection list to include file existence/non-existence and selected
        installation method.
        (build_labels): Modify criteria for label addition to include
        installation method and file existence/non-existence.
        (create_listview): Modify to establish package trust level for each
        package before setting up the display list.  Also modification to set
        current trust button as the default.
        (dialog_cmd): Set response for Prev, Curr, Test button push to perform
        a reset of the selection list in addition to setting the default trust.
        (get_package_version): New method to provide reusable code for
        determining the package version from the file name for a specified
        trust.
        (scan2): Modify to use new method get_package_version and
        also enhance handling of the build for the structures package and
        extra.
        (read_installed_db): Modify to use the new method
        get_package_version and also enhance handling of the build for the
        structures package and extra.
        (do_choose): Add additional initialization of package and extra
        structures.  Modify to use read_installed_db all the time despite
        install method.  Modify output to setup.log.full log file to increase
        readability by adding additional spacing, expanded code and available
        versions.
        * ini.h: Add new fields install_exists, source_exists and
        partial_list_display to the structure definition for package.
        * res.rc (IDD_CHOOSE): Modify choose dialog Prev, Curr, and Test
        pushbuttons by replacing with Radio Buttons thus allowing the
        operator to better determine which is selected.

23 years agoChanges by Brian Keener <bkeener@thesoftwaresource.com>
Corinna Vinschen [Tue, 27 Feb 2001 12:27:58 +0000 (12:27 +0000)]
Changes by Brian Keener <bkeener@thesoftwaresource.com>

        * download.cc (do_download): Add new variables total_download_bytes and
        total_download_bytes_sofar for download progress meter.  Add loop
        to accumulate the total bytes to download from the selected packages.
        * geturl.cc: Add state.h and diskfull.h to include list.  Add new
        variables gw_iprogress, gw_pprogress, gw_progress_text,
        gw_pprogress_text, and gw_iprogress_text to allow for addition of
        total packages download progress meter and disk full percent
        progress meter.  Add variables total_download_bytes and
        total_download_bytes_sofar for use by progress meters.
        (dialog_proc): Add new variables gw_iprogress, gw_pprogress,
        gw_progress_text, gw_pprogress_text, and gw_iprogress_text to
        allow for addition of total packages download progress meter and disk
        full percent progress meter.
        (init_dialog): Ditto.
        (progress): Ditto.
        (get_url_to_file): Ditto.
        * geturl.h: Add external definition for total_download_bytes and
        total_download_bytes_sofar.
        * res.rc: Add two additional progress meters (IDC_DLS_IPROGRESS)
        and (IDC_DLS_PPROGRESS) and three text objects (IDC_DLS_PROGRESS_TEXT)
        and (IDC_DLS_IPROGRESS_TEXT, IDC_DLS_PPROGRESS_TEXT) for use in the
        download meters.
        * resource.h: Add new fields for progress meters and text and update
        _APS_NEXT_CONTROL_VALUE.

23 years ago * download.cc (get_file_size): Check for INVALID_HANDLE_VALUE instead
Corinna Vinschen [Wed, 21 Feb 2001 12:06:28 +0000 (12:06 +0000)]
    * download.cc (get_file_size): Check for INVALID_HANDLE_VALUE instead
for NULL.

23 years ago * download.cc (download_one): Add missing parenthesis.
Corinna Vinschen [Wed, 21 Feb 2001 10:21:04 +0000 (10:21 +0000)]
    * download.cc (download_one): Add missing parenthesis.

23 years ago * download.cc (get_file_size): New function. Eliminates the need
Corinna Vinschen [Mon, 19 Feb 2001 18:02:19 +0000 (18:02 +0000)]
    * download.cc (get_file_size): New function. Eliminates the need
        to call `stat'.
        (download_one): Call `get_file_size' instead of `stat'. This
        workarounds a problem with mingw's `stat' call.

23 years ago * Makefile.in: (%.o: %.rc): Specify --include-dir $(w32api_include).
Earnie Boyd [Thu, 8 Feb 2001 01:59:42 +0000 (01:59 +0000)]
* Makefile.in: (%.o: %.rc): Specify --include-dir $(w32api_include).
This is to allow cinstall to build with 2.95.2-7 and to make the
use of headers consistent.

23 years ago* Makefile.in (autoload.o): Add target to specify -fno-inline-functions cygwin-1-1-8
DJ Delorie [Tue, 26 Dec 2000 23:19:41 +0000 (23:19 +0000)]
* Makefile.in (autoload.o): Add target to specify -fno-inline-functions

23 years ago* winsup/cinstall/res.rc: Added accelerators and improved focus
DJ Delorie [Tue, 26 Dec 2000 23:15:56 +0000 (23:15 +0000)]
* winsup/cinstall/res.rc: Added accelerators and improved focus
order.

23 years ago* choose.cc (paint): Use system background color for text output. cygwin-1-1-7
Christopher Faylor [Mon, 11 Dec 2000 00:07:56 +0000 (00:07 +0000)]
* choose.cc (paint): Use system background color for text output.
* Makefile.in: Use CXX for linking and for compiling .cc files.
* configure.in: Find correct c++ compiler.
* configure: Regenerate.

23 years ago* splash.cc (load_dialog): Make message more obvious. cygwin-1-1-6
DJ Delorie [Fri, 17 Nov 2000 22:45:09 +0000 (22:45 +0000)]
* splash.cc (load_dialog): Make message more obvious.
* res.rc: Ditto.

23 years ago* Makefile.in: Use g++ to link so that libstdc++.a gets used. This is
Christopher Faylor [Fri, 17 Nov 2000 22:17:06 +0000 (22:17 +0000)]
* Makefile.in: Use g++ to link so that libstdc++.a gets used.  This is
necessary for newer compilers.

23 years ago * desktop.cc: Include "ini.h" and "version.h".
Corinna Vinschen [Thu, 9 Nov 2000 01:40:15 +0000 (01:40 +0000)]
    * desktop.cc: Include "ini.h" and "version.h".
        (make_passwd_group): Skip the function on 9x/ME boxes when an
        older version of Cygwin has been installed which doesn't
        support mkpasswd/mkgroup on 9x/ME.
        * install.cc: Move the `LOOP_PACKAGES' and `pi' macros to...
        * ini.h: ...here.

23 years ago * desktop.cc (make_passwd_group): Don't exit when started
Corinna Vinschen [Wed, 8 Nov 2000 16:24:38 +0000 (16:24 +0000)]
   * desktop.cc (make_passwd_group): Don't exit when started
       on 9x/ME since mkpasswd/mkgroup are usable on 9x/ME now.

23 years ago* install.cc (do_install): Add call to set_cygdrive_flags to sync
DJ Delorie [Mon, 6 Nov 2000 17:04:14 +0000 (17:04 +0000)]
* install.cc (do_install): Add call to set_cygdrive_flags to sync
the mount modes.
* mount.cc (set_cygdrive_flags): New function.
(get_cygdrive_flags): Ditto.
(default_cygdrive): Ditto.
(set_cygdrive_flags): Ditto.
* mount.h: Add prototype for set_cygdrive_flags.

23 years ago* ini.h: add source actions cygwin-1-1-5
DJ Delorie [Mon, 23 Oct 2000 19:46:01 +0000 (19:46 +0000)]
* ini.h: add source actions
* fromcwd.cc: check for available sources
* res.rc: add checkbox bitmaps
* resource.h: ditto
* check-*.bmp: new
* choose.cc: add source column
* download.cc: download sources if called for
* install.cc: [un]install sources too

23 years ago* choose.cc (build_labels): Don't skip TRUST_PREV completely; only
DJ Delorie [Sun, 22 Oct 2000 15:38:07 +0000 (15:38 +0000)]
* choose.cc (build_labels): Don't skip TRUST_PREV completely; only
ignore it wrt full_list if there's already a version installed.
(do_choose): Sort the list.
(package_sort): New.

23 years ago* res.rc: Add more error strings.
DJ Delorie [Thu, 12 Oct 2000 19:53:48 +0000 (19:53 +0000)]
* res.rc: Add more error strings.
* resource.h: Ditto.
* iniparse.y (new_package): re-initialize if needed.
* download.cc (do_download): Keep track of errors; notify and
allow retry.
* install.cc (do_install): Ditto.

23 years agofix %.cc rule
DJ Delorie [Thu, 5 Oct 2000 16:39:58 +0000 (16:39 +0000)]
fix %.cc rule

23 years ago* desktop.cc: quote HOME and USER, don't . ./.profile
DJ Delorie [Wed, 4 Oct 2000 20:15:12 +0000 (20:15 +0000)]
* desktop.cc: quote HOME and USER, don't . ./.profile

* choose.cc (build_labels): don't include in partial list just
because there's a *previous* version available.

* install.cc (do_install): if installing from local directory with
setup.ini and the file isn't found, look in "." also.  Note errors.

23 years ago* ini.cc (do_ini): save setup.ini locally
DJ Delorie [Mon, 2 Oct 2000 16:44:43 +0000 (16:44 +0000)]
* ini.cc (do_ini): save setup.ini locally
* desktop.cc: quote escapes in prompt

23 years ago* root.cc (is_admin): New function.
DJ Delorie [Mon, 2 Oct 2000 16:28:21 +0000 (16:28 +0000)]
* root.cc (is_admin): New function.
(read_mount_table): Check for administrative priviledges and set
installation scope as appropriate.

23 years ago* nio-ftp.cc (ftp_line): handle continuations more robustly
DJ Delorie [Thu, 28 Sep 2000 21:53:39 +0000 (21:53 +0000)]
* nio-ftp.cc (ftp_line): handle continuations more robustly

23 years agocorrect a date
DJ Delorie [Tue, 26 Sep 2000 01:17:53 +0000 (01:17 +0000)]
correct a date

23 years ago* res.rc: increased the size of the site dialog (IDD_SITE) & the
DJ Delorie [Thu, 14 Sep 2000 15:56:31 +0000 (15:56 +0000)]
* res.rc: increased the size of the site dialog (IDD_SITE) & the
corresponding list box to provide for more URL's to be listed.
Modified the position of the Back, Next and Cancel buttons to
correspond to the new size of the dialog.

23 years ago* install.cc (do_install): update disk fullness once per package
DJ Delorie [Thu, 14 Sep 2000 03:14:28 +0000 (03:14 +0000)]
* install.cc (do_install): update disk fullness once per package
to improve performance

* choose.cc (create_listview): call ReleaseDC

23 years ago* mkdir.cc: Create directories when ERROR_FILE_NOT_FOUND is
DJ Delorie [Wed, 13 Sep 2000 22:03:10 +0000 (22:03 +0000)]
* mkdir.cc: Create directories when ERROR_FILE_NOT_FOUND is
returned, as it seems Samba 2.0.6+ returns this instead of
ERROR_PATH_NOT_FOUND

* iniparse.y: add setup-version support, fix bug in blank line
handling

23 years ago* site.cc (get_initial_list_idx): Don't default to saved URL if it refers to
Christopher Faylor [Mon, 11 Sep 2000 23:38:48 +0000 (23:38 +0000)]
* site.cc (get_initial_list_idx): Don't default to saved URL if it refers to
sources.

23 years ago* splash.cc: use version.h, not local decl
DJ Delorie [Fri, 8 Sep 2000 00:14:21 +0000 (00:14 +0000)]
* splash.cc: use version.h, not local decl
* res.rc: add "old version" message
* resource.h: ditto
* version.h: new
* fromcwd.cc (canonicalize_version): make global
* iniparse.y: add setup-version support
* inilex.l: add [exp] as alias for [test], add setup-version
* Makefile.in (version.c): add setup-version tag

* desktop.cc (do_desktop): remove 1.1 version number
(do_desktop_setup): ditto

* ini.cc (do_ini): zero out package list just in case we redo it.

23 years ago* choose.cc (list_click): Check for nindexes==0; if so, return.
DJ Delorie [Thu, 7 Sep 2000 15:42:53 +0000 (15:42 +0000)]
* choose.cc (list_click): Check for nindexes==0; if so, return.

23 years ago* localdir.cc: new, local package directory selection dialog; cd
DJ Delorie [Thu, 7 Sep 2000 03:09:30 +0000 (03:09 +0000)]
* localdir.cc: new, local package directory selection dialog; cd
into selected directory
* Makefile.in (OBJS): add localdir.o
* dialog.h: add prototype for do_local_dir
* main.cc (WinMain): initialize local_dir to cwd; add call to
do_local_dir
* net.cc (dialog_cmd): make DO_LOCAL_DIR next dialog
* source.cc (dialog_cmd): ditto
* res.rc: add DO_LOCAL_DIR dialog; remove "current directory" from
presented choices in IDD_SOURCE; add IDS_ERR_CHDIR error string
* resource.h: defines for DO_LOCAL_DIR dialog; define IDS_ERR_CHDIR
* root.cc (dialog_cmd): make DO_LOCAL_DIR previous dialog
* state.h: add local_dir variable

23 years ago* desktop.cc: added logic to handle to the new dialog and to
DJ Delorie [Thu, 7 Sep 2000 01:45:12 +0000 (01:45 +0000)]
* desktop.cc: added logic to handle to the new dialog and to
default the setting for the new checkboxes based on whether the
desktop icon or start menu link already exist.
(desktop_icon): correction to desktop directories for desktop icon
creation.  Additional logic added for Win95 which does not appear
to have Common Directories so if Common selected and null uses
normal directory.
(start_menu): Additional logic added for Win95 which does not
appear to have Common Directories so if Common selected and null
uses normal directory.
(do_desktop_setup): moved the saving of the icon, creation of the
bat file, profile, passwd, Start Menu link and desktop shortcut to
this method from do_desktop.  Made the creation of the desktop
icon and start menu link conditional on settings of new dialog
created for desktop.
* install.cc (do_install): changed next from IDD_S_DESKTOP to
IDD_DESKTOP.
* main.cc (WinMain): changed case IDD_S_DESKTOP to IDD_DESKTOP.
* res.rc: added new resource to create a desktop dialog with 2
checkboxes for creating the desktop icon and start menu link.
* resource.h: changed IDD_S_DESKTOP to IDD_DESKTOP and added two
new controls: IDC_ROOT_MENU and IDC_ROOT_DESKTOP for new dialog.
* state.h: added root_menu and root_desktop for use in dialog.

23 years agoadd source download option
DJ Delorie [Wed, 30 Aug 2000 11:54:20 +0000 (11:54 +0000)]
add source download option

23 years agooops, forgot the cvsid tags
DJ Delorie [Wed, 30 Aug 2000 01:07:51 +0000 (01:07 +0000)]
oops, forgot the cvsid tags

23 years ago * choose.cc (scan_downloaded_files): scan for existing files, so
DJ Delorie [Wed, 30 Aug 2000 01:05:42 +0000 (01:05 +0000)]
* choose.cc (scan_downloaded_files): scan for existing files, so
that the user only sees new downloads.

* nio-ie5.cc (NetIO_IE5): pre-check for wininet.dll, enable dial-up
* site.cc (do_site): if we can't download the mirror list, go back
to the net setup box to choose another transport.
* autoload.c: add more functions
* Makefile.in (ALL_DEP_LDLIBS): remove wininet.a
* resource.h: add WININET message

* net.cc (do_net): no longer default to IE5
* simpsock.h (class SimpleSocket): new, simplify socket operations
* simpsock.cc: ditto
* nio-http.h: new, for direct http protocol
* nio-http.cc: ditto
* nio-ftp.h: new, for direct http protocol
* nio-ftp.cc: ditto
* netio.cc (set_url): move initialization here to handle redirections
(open): add direct http/ftp
* netio.h (NetIO::set_url): new

* log.cc (log_save): create directory for log if needed

* hash.cc, hash.h: new
* Makefile: add hash.o
* choose.cc: enable "uninstall" option
* download.cc: invert action test to accomodate uninstalling
* ini.h: add ACTION_UNINSTALL
* install.cc: add uninstall functionality
* res.rc: make install tag changeable
* resource.h: add uninstall resources

* res.rc: update mirror list URL

23 years ago* log.cc, log.h: new files
DJ Delorie [Fri, 25 Aug 2000 01:32:08 +0000 (01:32 +0000)]
* log.cc, log.h: new files
* Makefile.in (OBJS): add log.o
* tar.cc: use exit_setup instead of exit
* dialog.cc (fatal): use exit_setup instead of ExitProcess
* msg.cc (fatal): ditto
* install.cc (dialog_cmd): ditto
* ini.cc (do_ini): ditto
* main.cc (main): add logging
* source.cc (do_source): ditto
* root.cc (do_source): ditto
* site.cc (do_site): ditto
* other.cc (do_other): ditto
* net.cc (do_net): ditto
* choose.cc (do_choose): ditto
* download.cc (do_download): ditto
* install.cc (do_install): ditto
* msg.cc (fatal): ditto

* res.rc: mark password boxes as *being* password boxes.

23 years ago* fromcwd.cc (canonicalize_version): use multiple buffers so that multiple
DJ Delorie [Thu, 24 Aug 2000 21:50:14 +0000 (21:50 +0000)]
* fromcwd.cc (canonicalize_version): use multiple buffers so that multiple
calls won't use the same buffer.
* choose.cc (create_listview): don't default to full list if no changes
(base): return computed value, not temporary :-(
(do_choose): don't use installed.db if we're only downloading.

23 years ago* nio-ie5.cc (NetIO_IE5): Fix authentication logic
DJ Delorie [Thu, 24 Aug 2000 02:48:14 +0000 (02:48 +0000)]
* nio-ie5.cc (NetIO_IE5): Fix authentication logic
* nio-ie5.h (flush_io): new
* netio.cc (load_dialog): note when we're initializing the dialog
box, and ignore changes to the edit fields then.

23 years agoadd some items
DJ Delorie [Tue, 22 Aug 2000 17:48:38 +0000 (17:48 +0000)]
add some items

23 years ago* README: Update
DJ Delorie [Tue, 22 Aug 2000 00:45:45 +0000 (00:45 +0000)]
* README: Update

* fromcwd.cc (found_file): don't remember the canonicalized version

* choose.cc (paint): print "nothing to do" message when list is empty.
(build_labels): Use version "0.0" if no version is available.
(create_listview): default to full list if nothing to install/update.
(base): new, returns basename of file
(read_installed_db): compare base names, not full paths

23 years ago* choose.cc: add new chooser dialog
DJ Delorie [Fri, 11 Aug 2000 18:00:38 +0000 (18:00 +0000)]
* choose.cc: add new chooser dialog
* fromcwd.cc: use IDD_CHOOSE
* ini.cc: use IDD_CHOOSE
* main.cc: use IDD_CHOOSE
* ini.h: cosmetic changes
* res.rc: add choose dialog, bitmaps
* choose-spin.bmp: new
* choose-rtarrow.bmp: new
* resource.h: add choose dialog controls

* mount.cc: remove debug statement

23 years ago* Makefile.in (version.c): make version checking more robust
DJ Delorie [Tue, 8 Aug 2000 14:57:51 +0000 (14:57 +0000)]
* Makefile.in (version.c): make version checking more robust
* splash.cc (load_dialog): handle case where there's no version

23 years agoundo cvs goofiness
DJ Delorie [Tue, 8 Aug 2000 02:25:35 +0000 (02:25 +0000)]
undo cvs goofiness

23 years agobump version numbers
DJ Delorie [Tue, 8 Aug 2000 01:00:32 +0000 (01:00 +0000)]
bump version numbers

23 years ago* (all): add cvsid tags
DJ Delorie [Tue, 8 Aug 2000 00:59:08 +0000 (00:59 +0000)]
* (all): add cvsid tags
* Makefile.in: generate version.c from ChangeLog, add splash.o
* splash.o: new
* res.rc: add splash screen

23 years agonew file
DJ Delorie [Tue, 8 Aug 2000 00:31:03 +0000 (00:31 +0000)]
new file

23 years ago* (all): add cvsid tags
DJ Delorie [Tue, 8 Aug 2000 00:27:54 +0000 (00:27 +0000)]
* (all): add cvsid tags
* Makefile.in: generate version.c from ChangeLog, add splash.o
* splash.o: new
* res.rc: add splash screen

23 years ago* net.cc: remove proxy password code
DJ Delorie [Wed, 2 Aug 2000 21:49:28 +0000 (21:49 +0000)]
* net.cc: remove proxy password code
* res.rc: remove proxy user/pass from net, add auth dialogs
* netio.cc,h: add sys/proxy auth methods
* nio-ie5: use them, check for http status codes
* state.h: add system authorization

23 years ago* concat.cc (concat): canonicalize x:// to x:/ (exception to ://
DJ Delorie [Wed, 2 Aug 2000 20:19:04 +0000 (20:19 +0000)]
* concat.cc (concat): canonicalize x:// to x:/ (exception to ://
meaning an url)

23 years ago* msg.cc (mbox): added MB_TOPMOST to MessageBox type flags
DJ Delorie [Wed, 2 Aug 2000 16:42:37 +0000 (16:42 +0000)]
* msg.cc (mbox): added MB_TOPMOST to MessageBox type flags

23 years ago* postinstall.cc (each): don't rename files we ignore
DJ Delorie [Wed, 2 Aug 2000 01:45:50 +0000 (01:45 +0000)]
* postinstall.cc (each): don't rename files we ignore
(do_postinstall): set CYGWINROOT to root_dir, chdir there

23 years ago* desktop.cc: have /etc/profile call ~/.profile and ~/.bashrc
DJ Delorie [Tue, 1 Aug 2000 15:57:20 +0000 (15:57 +0000)]
* desktop.cc: have /etc/profile call ~/.profile and ~/.bashrc

23 years ago* desktop.cc: reverse PATH so /usr/bin precedes /bin
DJ Delorie [Mon, 31 Jul 2000 18:57:54 +0000 (18:57 +0000)]
* desktop.cc: reverse PATH so /usr/bin precedes /bin

24 years ago* autoload.c: new, autoload dlls that might not be available.
DJ Delorie [Wed, 19 Jul 2000 01:01:04 +0000 (01:01 +0000)]
* autoload.c: new, autoload dlls that might not be available.
* Makefile.in (OBJS): add autoload.o
* res.rc: rewrite root options (text/binary, system/user) to be
more obvious.

24 years agoremove the sort-urls item from the to-do list
DJ Delorie [Tue, 18 Jul 2000 22:51:55 +0000 (22:51 +0000)]
remove the sort-urls item from the to-do list

24 years agooops, left in a debug line
DJ Delorie [Tue, 18 Jul 2000 22:48:40 +0000 (22:48 +0000)]
oops, left in a debug line

24 years ago* site.cc (get_site_list): trim displayed URL, sort by domain
DJ Delorie [Tue, 18 Jul 2000 22:48:11 +0000 (22:48 +0000)]
* site.cc (get_site_list): trim displayed URL, sort by domain
* net.cc (do_net): make IE5 default to checked, for now
* ini.cc (do_ini): if we can't load setup.ini, go back to the site list.

24 years ago* choose.cc (do_choose): sort packages correctly
DJ Delorie [Tue, 18 Jul 2000 18:43:32 +0000 (18:43 +0000)]
* choose.cc (do_choose): sort packages correctly
* ini.cc (do_ini): handle parse errors more gracefully
(yyerror): ditto
(fprintf): line buffer output
* ini.h: add "unknown" trust level
* inilex.l: absorb unknown trust levels and key/value pairs,
add line number logic
* iniparse.y: handle parse errors more gracefully.
* install.cc: skip packages with no valid install entry

24 years ago* coding standards fixups, many files
DJ Delorie [Mon, 17 Jul 2000 20:48:00 +0000 (20:48 +0000)]
* coding standards fixups, many files
* mkdir.cc: warn about deletions *before* deleting them

24 years ago* res.rc (IDD_OTHER_URL): reorder to give default focus to entry
DJ Delorie [Mon, 17 Jul 2000 19:57:45 +0000 (19:57 +0000)]
* res.rc (IDD_OTHER_URL): reorder to give default focus to entry

* other.cc (dialog_cmd): save download site URL
* site.cc (get_root_dir): new
(save_mirror_site): new
(dialog_cmd): save download site URL
(get_site_list): make list big enough to add prev site
(get_initial_list_idx): new, read last-used URL from file and
append it to site_list
(do_site): call get_initial_list_idx

* concat.cc (concat): avoid segfault when first parm is null

24 years ago* README: add more to-do items
DJ Delorie [Fri, 14 Jul 2000 01:08:07 +0000 (01:08 +0000)]
* README: add more to-do items

24 years ago* postinstall.cc: new
DJ Delorie [Thu, 13 Jul 2000 20:57:46 +0000 (20:57 +0000)]
* postinstall.cc: new
* Makefile.in: add postinstall.o
* concat.h: add backslash ()
* concat.cc: ditto
* desktop.cc (etc_profile): don't do postinstall
(backslash): moved to concat.cc
(uexists): new
(make_postinstall_script): run directly
(do_desktop): chain to do_postinstall
* dialog.h: add exit_msg, do_postinstall
* download.cc: use exit_msg
* install.cc: ditto
* main.cc: add postinstall, exit_msg
* resource.h: add postinstall

24 years ago* install.cc: add more "standard" directories
DJ Delorie [Thu, 13 Jul 2000 02:33:06 +0000 (02:33 +0000)]
* install.cc: add more "standard" directories

24 years ago* desktop.cc: add /etc/postinstall/ support
DJ Delorie [Wed, 12 Jul 2000 16:31:39 +0000 (16:31 +0000)]
* desktop.cc: add /etc/postinstall/ support

24 years ago* desktop.cc: quote $PATH in case it has spaces in it
DJ Delorie [Tue, 11 Jul 2000 21:33:23 +0000 (21:33 +0000)]
* desktop.cc: quote $PATH in case it has spaces in it

24 years ago* desktop.cc: don't set PATH in cygwin.bat, create /etc/passwd
DJ Delorie [Tue, 11 Jul 2000 21:27:08 +0000 (21:27 +0000)]
* desktop.cc: don't set PATH in cygwin.bat, create /etc/passwd
* geturl.cc: change math for percentage to avoid overflow
* install.cc: ditto
* download.cc: post "download complete" message.
* root.cc: pre-fill in defaults if needed, don't start
browse at root_dir unless it's set.

24 years ago* desktop.cc: make sure we use backslashes, not slashes.
DJ Delorie [Tue, 11 Jul 2000 19:40:50 +0000 (19:40 +0000)]
* desktop.cc: make sure we use backslashes, not slashes.

24 years ago* root.cc: support system vs user
DJ Delorie [Tue, 11 Jul 2000 18:01:30 +0000 (18:01 +0000)]
* root.cc: support system vs user
* desktop.cc: ditto
* mount.h: ditto
* mount.cc: ditto
* install.cc: ditto
* res.rc: ditto
* resource.h: ditto
* state.h: ditto

24 years ago* desktop.cc: fix include syntax
DJ Delorie [Tue, 11 Jul 2000 16:54:18 +0000 (16:54 +0000)]
* desktop.cc: fix include syntax
* Makefile.in: add auto-dependencies

24 years ago* desktop.cc: create /etc/profile
DJ Delorie [Tue, 11 Jul 2000 14:45:18 +0000 (14:45 +0000)]
* desktop.cc: create /etc/profile

24 years ago* README: update to-do list
DJ Delorie [Tue, 11 Jul 2000 02:18:09 +0000 (02:18 +0000)]
* README: update to-do list

24 years ago* Makefile.in: add desktop.o and mklink2.o
DJ Delorie [Tue, 11 Jul 2000 02:02:28 +0000 (02:02 +0000)]
* Makefile.in: add desktop.o and mklink2.o
* dialog.h: add do_desktop
* install.cc: create standard directories, call do_desktop
* res.rc: add cygwin.ico as a file also
* desktop.cc: new, do shortcuts, batch files, and icons
* mklink2.c: new, for COM

24 years ago* ini.cc (do_ini): don't worry about timestamps if we're not
DJ Delorie [Mon, 10 Jul 2000 17:10:55 +0000 (17:10 +0000)]
* ini.cc (do_ini): don't worry about timestamps if we're not
actually installing.

24 years ago* Makefile.in: add -I$(srcdir) for ini.h
DJ Delorie [Sun, 9 Jul 2000 16:41:28 +0000 (16:41 +0000)]
* Makefile.in: add -I$(srcdir) for ini.h

24 years agooops, forgot one
DJ Delorie [Fri, 7 Jul 2000 00:52:09 +0000 (00:52 +0000)]
oops, forgot one

24 years ago* Replace everything with a new GUI version
DJ Delorie [Fri, 7 Jul 2000 00:29:21 +0000 (00:29 +0000)]
* Replace everything with a new GUI version
* zlib/gzio.c: add gzctell() for progress displays

24 years agoRemove Makefile
Christopher Faylor [Thu, 29 Jun 2000 15:54:34 +0000 (15:54 +0000)]
Remove Makefile

24 years agobump version number to match
DJ Delorie [Thu, 8 Jun 2000 03:04:56 +0000 (03:04 +0000)]
bump version number to match

24 years ago* cygcalls.c: new, call cygwin1.dll functions directly
DJ Delorie [Thu, 8 Jun 2000 03:03:16 +0000 (03:03 +0000)]
* cygcalls.c: new, call cygwin1.dll functions directly
* cygcalls.h: header for same
* Makefile.in: add cygcalls.[ch], remove mount/cygpath/umount
exes, fix cinstall.rc dependencies.
* path.c: remove unneeded code
* setup.c: use cygcalls instead of xcreate_process.
uncompress embedded files with zlib
add "-d" for "download only"
add "-h" for help
postpone mount changes until very end
add download progress indicators
pack multi-column listings more
auto-delete temp files
customize banner message according to options
prompt user for text/binary mounts
add warnings about empty setup directory, root installs, etc

24 years agooops, forgot the copyright blocks
DJ Delorie [Wed, 24 May 2000 23:38:49 +0000 (23:38 +0000)]
oops, forgot the copyright blocks

24 years ago* tar.c: New file; built-in tar using zlib.
DJ Delorie [Wed, 24 May 2000 16:04:36 +0000 (16:04 +0000)]
* tar.c: New file; built-in tar using zlib.
* tar.h: New file; header for same.
* ctar.c: New file; test program for same.
* Makefile.in: add built-in tar, remove tar.exe and gzip.exe
* path.c (pathcat): convert slashes and canonicalize, instead of aborting
* setup.c (tarx): add support for built-in tar
(main): accept unix-style slashes, check root dir for drive letters,
warn about installing in /, make sure cwd is empty for internet installs,
defer mounts to end of install, support built-in tar.

24 years agoFix compiler warnings throughout.
Christopher Faylor [Sat, 20 May 2000 03:53:33 +0000 (03:53 +0000)]
Fix compiler warnings throughout.
* pkg.c (init_pkgs): Make static 'stuff' global_pkgstuff for use in
get_pkg_stuff.
* setup.c: Make 'root' global.
(istargz): Return pointer to "stem" of matched .tar.gz file.
(tarx): Special case cygwin-20000301 to == cygwin-1.1.0.tar.gz.  Remove bogus
check_for_installed check.
(recurse_dirs): Add preliminary support for .bat file execution.
(create_uninstall): Eliminate unneeded parameter.
(do_start_menu): Ditto.
(mkmount): Ditto.
(get_pkg_stuff): Ditto.  Check for currently installed cygwin by scanning for
the version number.  Eliminate unneeded argument to create_uninstall.
(getdownloadsource): Add 'name' to list of names rather than url.
(main): Eliminate unneeded argument in get_pkg_stuff.  Eliminate unneeded
argument in mkmount and do_start_menu.

24 years ago* setup.c (optionprompt): allow multi-column, clean up message
DJ Delorie [Fri, 19 May 2000 00:05:25 +0000 (00:05 +0000)]
* setup.c (optionprompt): allow multi-column, clean up message
about more options, be more robust about user input.
(getdownloadsource): make the mirror URL a macro.
(main): do mounts after done prompting user.

24 years ago* setup.c (cleanup): Inverse order of deletion stands a better chance of
Christopher Faylor [Tue, 2 May 2000 05:00:22 +0000 (05:00 +0000)]
* setup.c (cleanup): Inverse order of deletion stands a better chance of
deleting cygpath.exe.  Still seems to suffer from occasional races, though.
(cleanup_on_signal): Perform convoluted dance to accomodate win95 and w2k.
(output_file): Defend against an unlikely handle leak.
(main): Don't set up signal handling until we have something special to do.

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