monotone-commits-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Monotone-commits-diffs] Revision 925c38ec268d703ab5210041e0854064aead86


From: monotone
Subject: [Monotone-commits-diffs] Revision 925c38ec268d703ab5210041e0854064aead86c9
Date: Sat, 14 Apr 2007 22:05:34 +0200

-----------------------------------------------------------------
Revision: 925c38ec268d703ab5210041e0854064aead86c9
Ancestor: 3fcea0ffc78cad2a9013f0f20f7333804ef14cc9
Author: address@hidden
Date: 2007-04-12T20:07:22
Branch: net.venge.monotone.less-sanity

Modified files:
        app_state.cc database.cc monotone.cc mtn-sanity.cc
        netsync.cc netxx_pipe.cc options_list.hh paths.cc paths.hh
        restrictions.cc sanity.cc sanity.hh simplestring_xform.cc
        tester.cc unix/get_system_flavour.cc

ChangeLog: 

        * sanity.hh: Include <locale>; not boost/circular_buffer.hpp.
        (sanity): Add several new methods (see below).  The implicit
        default constructor suffices.  Remove all data variables, replace
        with a private pimpl pointer.
        (MusingI): Inline the constructor and destructor; use
        sanity::push_musing and sanity::pop_musing respectively.
        * sanity.cc: Include boost/circular_buffer.hpp here.
        (sanity::impl): Define.
        (sanity::sanity): Is now sanity::impl::impl.
        (sanity::~sanity): Delete imp if it's not NULL.
        (sanity::initialize): Initialize imp here.
        (sanity::dump_buffer, sanity::set_debug, sanity::set_quiet)
        (sanity::set_reallyquiet): Adjust for most variables having
        been moved to the impl structure.  I() out if it's not initialized.
        (sanity::log, sanity::progress, sanity::warning): As above, but
        do not use I() to check for imp being usable, to avoid infinite
        recursion.
        (sanity::gasp): As above, but just return if imp is unusable.
        (sanity::set_dump_path, sanity::debug_p, sanity::quiet_p)
        (sanity::push_musing, sanity::pop_musing): New.
        (MusingI::MusingI, MusingI::~MusingI): Delete.

        * app_state.cc: No need to include <cstdlib>.
        (app_state::allow_workspace, app_state::create_workspace):
        Use sanity::set_dump_path.
        * database.cc (database::fetch): Use sanity::debug_p.
        * monotone.cc (cpp_main): Use sanity::set_dump_path.
        * mtn-sanity.cc (mtn_sanity::initialize): Call sanity::initialize
        before using PERM_MM.
        * netsync.cc (build_stream_to_server): Use sanity::debug_p.
        * netxx_pipe.cc: Include <ostream>.
        * options_list.hh (--dump): Use sanity::set_dump_path.
        (--ticker): Use sanity::quiet_p.
        * restrictions.cc (node_restriction::includes): Use sanity::debug_p.
        * simplestring_xform.cc: Include <iterator>.
        * tester.cc (main): Call sanity::initialize.
        * unix/get_system_flavour.cc: Include <ostream>.

        * paths.cc: Don't define bookkeeping_root,
        bookkeeping_root_component, or old_bookkeeping_root.
        * paths.hh: Make the above three variables into macros.

Attachment: txtsO42O0xAAQ.txt
Description: Diff [3fcea0ffc78cad2a9013f0f20f7333804ef14cc9] -> [925c38ec268d703ab5210041e0854064aead86c9]


reply via email to

[Prev in Thread] Current Thread [Next in Thread]