public inbox for cygwin-apps-cvs@sourceware.org
help / color / mirror / Atom feed
* setup ChangeLog LogFile.cc LogFile.h LogSingle ...
@ 2015-02-04 10:10 corinna
0 siblings, 0 replies; 2+ messages in thread
From: corinna @ 2015-02-04 10:10 UTC (permalink / raw)
To: cygwin-apps-cvs
CVSROOT: /cvs/cygwin-apps
Module name: setup
Changes by: corinna@sourceware.org 2015-02-04 10:10:42
Modified files:
. : ChangeLog LogFile.cc LogFile.h LogSingleton.h
archive_tar.cc desktop.cc dialog.cc download.cc
ini.cc install.cc localdir.cc main.cc msg.cc
netio.cc threebar.cc
Log message:
* Throughout, include LogFile.h instead of LogSingleton.h where
required.
* LogFile.cc (LogFile::exit_msg): Convert globally available variable
to protected, static LogFile member.
(LogFile::exit): Accept second parameter to decide if the end of install
message is to be printed. Revert to using the exit_code as is.
* LogFile.h (LogFile::setExitMsg): New static method. Use throughout
rather than setting exit_msg directly.
(LogFile::getExitMsg): Ditto.
(LogFile::exit): Add second parameter to prototype.
(LogFile::exit_msg): New static member.
(Logger): New macro defining simplified access th logger instance.
Use throughout in place of LogSingleton::GetInstance and direct access
to theLog.
* LogSingleton.h (LogSingleton::exit): Add second parameter to
prototype.
* desktop.cc (theLog): Remove extern declaration.
(set_status): Call Logger ().getExitMsg () instead of
accessing exit_msg directly.
* localdir.cc (theLog): Remove extern declaration.
* main.cc (theLog): Remove.
(WinMain): Introduce local variables to store requirement to print
help output and if command line options were used incorrectly. Use
throughout function.
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/setup/ChangeLog.diff?cvsroot=cygwin-apps&r1=2.864&r2=2.865
http://sourceware.org/cgi-bin/cvsweb.cgi/setup/LogFile.cc.diff?cvsroot=cygwin-apps&r1=2.23&r2=2.24
http://sourceware.org/cgi-bin/cvsweb.cgi/setup/LogFile.h.diff?cvsroot=cygwin-apps&r1=2.8&r2=2.9
http://sourceware.org/cgi-bin/cvsweb.cgi/setup/LogSingleton.h.diff?cvsroot=cygwin-apps&r1=2.6&r2=2.7
http://sourceware.org/cgi-bin/cvsweb.cgi/setup/archive_tar.cc.diff?cvsroot=cygwin-apps&r1=2.20&r2=2.21
http://sourceware.org/cgi-bin/cvsweb.cgi/setup/desktop.cc.diff?cvsroot=cygwin-apps&r1=2.62&r2=2.63
http://sourceware.org/cgi-bin/cvsweb.cgi/setup/dialog.cc.diff?cvsroot=cygwin-apps&r1=2.10&r2=2.11
http://sourceware.org/cgi-bin/cvsweb.cgi/setup/download.cc.diff?cvsroot=cygwin-apps&r1=2.58&r2=2.59
http://sourceware.org/cgi-bin/cvsweb.cgi/setup/ini.cc.diff?cvsroot=cygwin-apps&r1=2.61&r2=2.62
http://sourceware.org/cgi-bin/cvsweb.cgi/setup/install.cc.diff?cvsroot=cygwin-apps&r1=2.113&r2=2.114
http://sourceware.org/cgi-bin/cvsweb.cgi/setup/localdir.cc.diff?cvsroot=cygwin-apps&r1=2.40&r2=2.41
http://sourceware.org/cgi-bin/cvsweb.cgi/setup/main.cc.diff?cvsroot=cygwin-apps&r1=2.79&r2=2.80
http://sourceware.org/cgi-bin/cvsweb.cgi/setup/msg.cc.diff?cvsroot=cygwin-apps&r1=2.11&r2=2.12
http://sourceware.org/cgi-bin/cvsweb.cgi/setup/netio.cc.diff?cvsroot=cygwin-apps&r1=2.16&r2=2.17
http://sourceware.org/cgi-bin/cvsweb.cgi/setup/threebar.cc.diff?cvsroot=cygwin-apps&r1=2.22&r2=2.23
^ permalink raw reply [flat|nested] 2+ messages in thread
* setup ChangeLog LogFile.cc LogFile.h LogSingle ...
@ 2002-11-09 6:33 rbcollins
0 siblings, 0 replies; 2+ messages in thread
From: rbcollins @ 2002-11-09 6:33 UTC (permalink / raw)
To: cygwin-apps-cvs
CVSROOT: /cvs/cygwin-apps
Module name: setup
Changes by: rbcollins@sourceware.org 2002-11-09 06:32:58
Modified files:
. : ChangeLog LogFile.cc LogFile.h LogSingleton.cc
LogSingleton.h
Log message:
2002-11-10 Robert Collins <rbtcollins@hotmail.com>
* LogFile.cc: use 'std::' where needed throughout.
(LogFile::createLogFile): Implement a factory for LogFile.
(LogFile::LogFile): Update for use with the factory, and to
handle the latest g++ library changes.
(LogFile::operator()): Ditto.
(LogFile::endEntry()): Ditto.
* LogFile.h: Ditto.
* LogSingleton.cc: Ditto.
* LogSingleton.h: Ditto.
Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/setup/ChangeLog.diff?cvsroot=cygwin-apps&r1=2.287&r2=2.288
http://sources.redhat.com/cgi-bin/cvsweb.cgi/setup/LogFile.cc.diff?cvsroot=cygwin-apps&r1=2.4&r2=2.5
http://sources.redhat.com/cgi-bin/cvsweb.cgi/setup/LogFile.h.diff?cvsroot=cygwin-apps&r1=2.1&r2=2.2
http://sources.redhat.com/cgi-bin/cvsweb.cgi/setup/LogSingleton.cc.diff?cvsroot=cygwin-apps&r1=2.2&r2=2.3
http://sources.redhat.com/cgi-bin/cvsweb.cgi/setup/LogSingleton.h.diff?cvsroot=cygwin-apps&r1=2.2&r2=2.3
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-02-04 10:10 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-02-04 10:10 setup ChangeLog LogFile.cc LogFile.h LogSingle corinna
-- strict thread matches above, loose matches on Subject: below --
2002-11-09 6:33 rbcollins
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).