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

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

[Monotone-commits-diffs] Revision 7ac4fa1ee120a3a46bfa10fb791fdd75f015ea


From: monotone
Subject: [Monotone-commits-diffs] Revision 7ac4fa1ee120a3a46bfa10fb791fdd75f015ea35
Date: Fri, 17 Apr 2009 21:08:54 +0200

-----------------------------------------------------------------
Revision: 7ac4fa1ee120a3a46bfa10fb791fdd75f015ea35
Ancestor: 2913f951a9b32aad037cecbacf0967fb15f0c858
Author: address@hidden
Date: 2009-04-17T15:54:25
Branch: net.venge.monotone

Modified files:
        monotone.cc sanity.cc sanity.hh ui.cc ui.hh

ChangeLog: 

Eliminate global constructors in sanity.o and monotone.o.
 * monotone.cc: Don't include <iostream>.
   (struct ui_library): Moved to ui.hh.
   (get_usage_str): Moved to ui.cc.
   Use new ui function inform_usage().
 * sanity.cc: Don't include <iostream>.
   (real_prog_name): Is now a bare pointer, prog_name_ptr.
   (print_var): Make into a sanity method; use inform_message.
 * sanity.hh: As above.  prog_name is now a #define for (*prog_name_ptr).
 * ui.cc: As above.  Include commands.hh.
   (user_interface::user_interface, ::~user_interface): Delete.
   (format_usage_strings): Make static.
 * ui.hh: As above.

Attachment: txt2BKPZLKjNG.txt
Description: Diff [2913f951a9b32aad037cecbacf0967fb15f0c858] -> [7ac4fa1ee120a3a46bfa10fb791fdd75f015ea35]


reply via email to

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