From: Jon Turney <jon.turney@dronecode.org.uk>
To: cygwin-apps@cygwin.com
Cc: Jon Turney <jon.turney@dronecode.org.uk>
Subject: [PATCH setup 00/16] Groundwork for a GUI-less installation tool
Date: Fri, 8 Mar 2024 18:34:19 +0000 [thread overview]
Message-ID: <20240308183440.4263-1-jon.turney@dronecode.org.uk> (raw)
This is patch sequence I started sometime in 2020, but only got around to
finishing off recently.
This includes various small tidy-ups, and then lays some groundwork for a
command line installation tool.
At the moment, all this can do is retrieve a (compressed) setup.ini from a
selected mirror and parse it. Package fetching and installation etc. remain
to be looked at.
Jon Turney (16):
Drop forward declaration of non-existent class IniState
Move setup_exts[] to the only place it's used
Split GuiParseFeedback out from ini fetcher
Split out site into SiteSettings and SitePage
Don't call Antivirus::AtExit() directly from Logger::exit()
Simplify invocation of UserSettings::open_settings()
Split out URL fetching progress reporting
Instantiate found_ini_list in ini.cc
Move is_64bit to state
Move setup.ini pathame components to ini.cc
Drop hinstance global
Spit out GetNetAuth from NetIO
Split out hash checking progress reporting
Push check_for_cached into package_source
Put various shared subcomponents into a convenience library
Add beginnings of a command line installation tool
AntiVirus.cc | 4 +-
CliParseFeedback.h | 28 --
Feedback.h | 58 ++++
GetNetAuth.h | 30 ++
IniDBBuilderPackage.cc | 4 +-
IniDBBuilderPackage.h | 6 +-
IniParseFeedback.h | 38 ---
LogFile.cc | 18 +-
LogFile.h | 8 +-
Makefile.am | 284 ++++++++++--------
SiteSetting.cc | 193 ++++++++++++
site.h => SiteSetting.h | 57 +---
UserSettings.cc | 12 +-
UserSettings.h | 4 +-
choose.cc | 4 +-
cli/CliFeedback.h | 60 ++++
cli/CliGetNetAuth.cc | 45 +++
cli/CliGetNetAuth.h | 32 ++
cli/CliGetUrlFeedback.cc | 91 ++++++
cli/CliHashCheckFeedback.cc | 30 ++
.../CliParseFeedback.cc | 28 +-
cli/cyclops.cc | 186 ++++++++++++
crypto.cc | 18 +-
crypto.h | 9 +-
dialog.h | 3 -
download.cc | 121 +-------
download.h | 6 -
fromcwd.cc | 11 +-
geturl.cc | 130 ++------
geturl.h | 13 +-
gui/GuiFeedback.h | 69 +++++
gui/GuiGetNetAuth.cc | 138 +++++++++
gui/GuiGetNetAuth.h | 38 +++
gui/GuiGetUrlFeedback.cc | 119 ++++++++
gui/GuiHashCheckFeedback.cc | 34 +++
gui/GuiParseFeedback.cc | 149 +++++++++
site.cc => gui/SitePage.cc | 191 +-----------
gui/SitePage.h | 45 +++
ini.cc | 178 +++--------
ini.h | 19 +-
inilex.ll | 6 +-
inilintmain.cc | 10 +-
install.cc | 6 +-
main.cc | 50 ++-
msg.cc | 5 +-
net.cc | 5 +
netio.cc | 125 +-------
netio.h | 19 +-
nio-ie5.cc | 4 +-
package_db.cc | 6 +-
package_db.h | 3 +-
package_meta.cc | 11 +-
package_meta.h | 5 +-
package_source.cc | 126 ++++++--
package_source.h | 12 +-
splash.cc | 2 +-
state.cc | 6 +
state.h | 2 +
threebar.cc | 2 +-
59 files changed, 1853 insertions(+), 1063 deletions(-)
delete mode 100644 CliParseFeedback.h
create mode 100644 Feedback.h
create mode 100644 GetNetAuth.h
delete mode 100644 IniParseFeedback.h
create mode 100644 SiteSetting.cc
rename site.h => SiteSetting.h (74%)
create mode 100644 cli/CliFeedback.h
create mode 100644 cli/CliGetNetAuth.cc
create mode 100644 cli/CliGetNetAuth.h
create mode 100644 cli/CliGetUrlFeedback.cc
create mode 100644 cli/CliHashCheckFeedback.cc
rename CliParseFeedback.cc => cli/CliParseFeedback.cc (58%)
create mode 100644 cli/cyclops.cc
create mode 100644 gui/GuiFeedback.h
create mode 100644 gui/GuiGetNetAuth.cc
create mode 100644 gui/GuiGetNetAuth.h
create mode 100644 gui/GuiGetUrlFeedback.cc
create mode 100644 gui/GuiHashCheckFeedback.cc
create mode 100644 gui/GuiParseFeedback.cc
rename site.cc => gui/SitePage.cc (75%)
create mode 100644 gui/SitePage.h
--
2.43.0
next reply other threads:[~2024-03-08 18:35 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-03-08 18:34 Jon Turney [this message]
2024-03-08 18:34 ` [PATCH setup 01/16] Drop forward declaration of non-existent class IniState Jon Turney
2024-03-08 18:34 ` [PATCH setup 02/16] Move setup_exts[] to the only place it's used Jon Turney
2024-03-08 18:34 ` [PATCH setup 03/16] Split GuiParseFeedback out from ini fetcher Jon Turney
2024-03-08 18:34 ` [PATCH setup 04/16] Split out site into SiteSettings and SitePage Jon Turney
2024-03-08 18:34 ` [PATCH setup 05/16] Don't call Antivirus::AtExit() directly from Logger::exit() Jon Turney
2024-03-08 18:34 ` [PATCH setup 06/16] Simplify invocation of UserSettings::open_settings() Jon Turney
2024-03-08 18:34 ` [PATCH setup 07/16] Split out URL fetching progress reporting Jon Turney
2024-03-08 18:34 ` [PATCH setup 08/16] Instantiate found_ini_list in ini.cc Jon Turney
2024-03-08 18:34 ` [PATCH setup 09/16] Move is_64bit to state Jon Turney
2024-03-08 18:34 ` [PATCH setup 10/16] Move setup.ini pathame components to ini.cc Jon Turney
2024-03-08 18:34 ` [PATCH setup 11/16] Drop hinstance global Jon Turney
2024-03-08 18:34 ` [PATCH setup 12/16] Spit out GetNetAuth from NetIO Jon Turney
2024-03-08 18:34 ` [PATCH setup 13/16] Split out hash checking progress reporting Jon Turney
2024-03-08 18:34 ` [PATCH setup 14/16] Push check_for_cached into package_source Jon Turney
2024-03-08 18:34 ` [PATCH setup 15/16] Put various shared subcomponents into a convenience library Jon Turney
2024-03-08 18:34 ` [PATCH setup 16/16] Add beginnings of a command line installation tool Jon Turney
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20240308183440.4263-1-jon.turney@dronecode.org.uk \
--to=jon.turney@dronecode.org.uk \
--cc=cygwin-apps@cygwin.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).