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

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

[Monotone-commits-diffs] Revision 04567657e639d70faa5cc6b5198b82504c5ae8


From: monotone
Subject: [Monotone-commits-diffs] Revision 04567657e639d70faa5cc6b5198b82504c5ae89b
Date: Sat, 18 Aug 2007 03:10:58 +0200

-----------------------------------------------------------------
Revision: 04567657e639d70faa5cc6b5198b82504c5ae89b
Ancestor: 1f32a772c5a6e4d39d9c6faadbb44e44a069485f
Author: address@hidden
Date: 2007-08-17T20:44:50
Branch: net.venge.monotone
Branch: net.venge.monotone.less-sanity

Modified files:
        restrictions.cc ui.cc ui.hh unit_tests.cc

ChangeLog: 

* ui.hh: Include no headers.  Forward-declare i18n_format and system_path.
Remove all private fields from struct user_interface, replace with pointer
to incomplete struct user_interface::impl.
* ui.cc: Include paths.hh, <map>, <set>, and safe_map.hh.
(struct user_interface::impl): Define.
(throughout): Adjust references to user_interface fields now in ui::impl.
Add I(imp) at beginning of all functions that look at those fields.
Use safe_insert/safe_erase where sensible.
(user_interface::initialize): Set up this->mp.
(user_interface::deinitialize): Destroy this->imp.

* unit_tests.cc (main): Initialize global_sanity and ui first thing.
* restrictions.cc [BUILD_UNIT_TESTS defined]: Change all global
file_path objects to #defines so we don't try to push musings before
sanity::initialize is called.

Attachment: txtMyq2ycxcEU.txt
Description: Diff [1f32a772c5a6e4d39d9c6faadbb44e44a069485f] -> [04567657e639d70faa5cc6b5198b82504c5ae89b]


reply via email to

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