This is the mail archive of the
cygwin-apps-cvs
mailing list for the cygwin-apps project.
setup ChangeLog ini.h IniParseFindVisitor.cc f ...
- From: briand at sourceware dot org
- To: cygwin-apps-cvs at sourceware dot org
- Date: 28 Feb 2007 00:55:04 -0000
- Subject: setup ChangeLog ini.h IniParseFindVisitor.cc f ...
CVSROOT: /cvs/cygwin-apps
Module name: setup
Changes by: briand@sourceware.org 2007-02-28 00:55:04
Modified files:
. : ChangeLog ini.h IniParseFindVisitor.cc
fromcwd.cc ini.cc Makefile.am autoload.c
desktop.cc mount.cc script.cc main.cc res.rc
win32.h
Added files:
. : win32.cc
Log message:
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.
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/setup/win32.cc.diff?cvsroot=cygwin-apps&r1=2.2&r2=2.3
http://sourceware.org/cgi-bin/cvsweb.cgi/setup/ChangeLog.diff?cvsroot=cygwin-apps&r1=2.559&r2=2.560
http://sourceware.org/cgi-bin/cvsweb.cgi/setup/ini.h.diff?cvsroot=cygwin-apps&r1=2.35&r2=2.36
http://sourceware.org/cgi-bin/cvsweb.cgi/setup/IniParseFindVisitor.cc.diff?cvsroot=cygwin-apps&r1=2.10&r2=2.11
http://sourceware.org/cgi-bin/cvsweb.cgi/setup/fromcwd.cc.diff?cvsroot=cygwin-apps&r1=2.32&r2=2.33
http://sourceware.org/cgi-bin/cvsweb.cgi/setup/ini.cc.diff?cvsroot=cygwin-apps&r1=2.43&r2=2.44
http://sourceware.org/cgi-bin/cvsweb.cgi/setup/Makefile.am.diff?cvsroot=cygwin-apps&r1=2.61&r2=2.62
http://sourceware.org/cgi-bin/cvsweb.cgi/setup/autoload.c.diff?cvsroot=cygwin-apps&r1=2.5&r2=2.6
http://sourceware.org/cgi-bin/cvsweb.cgi/setup/desktop.cc.diff?cvsroot=cygwin-apps&r1=2.45&r2=2.46
http://sourceware.org/cgi-bin/cvsweb.cgi/setup/mount.cc.diff?cvsroot=cygwin-apps&r1=2.22&r2=2.23
http://sourceware.org/cgi-bin/cvsweb.cgi/setup/script.cc.diff?cvsroot=cygwin-apps&r1=2.26&r2=2.27
http://sourceware.org/cgi-bin/cvsweb.cgi/setup/main.cc.diff?cvsroot=cygwin-apps&r1=2.43&r2=2.44
http://sourceware.org/cgi-bin/cvsweb.cgi/setup/res.rc.diff?cvsroot=cygwin-apps&r1=2.70&r2=2.71
http://sourceware.org/cgi-bin/cvsweb.cgi/setup/win32.h.diff?cvsroot=cygwin-apps&r1=2.13&r2=2.14