[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Monotone-commits-diffs] Revision 61810566846efa0e315008c762d85c2065c37c
From: |
monotone |
Subject: |
[Monotone-commits-diffs] Revision 61810566846efa0e315008c762d85c2065c37c96 |
Date: |
Tue, 18 Apr 2006 12:36:06 +0200 |
-----------------------------------------------------------------
Revision: 61810566846efa0e315008c762d85c2065c37c96
Ancestor: f1623a1f5ec53ea36cb41b1b65afcd78048fb029
Author: address@hidden
Date: 2006-04-12T13:41:55
Branch: net.venge.monotone
Modified files:
ChangeLog ui.cc ui.hh
ChangeLog:
2006-04-12 Richard Levitte <address@hidden>
* ui.hh (struct ticker): Add a member count_size to hold the size
of the tick count output and a method set_count_size to modify it.
* ui.cc (compose_count): New function to compose the count string
for a ticker. The code was moved from...
(write_ticks): ... here. If the tick's count_size is zero, use
compose_count to calculate the output string for a well chosen
large number and use its size as a default initial count size.
This is still updated dynamically if we get a count string size
that's still larger, but it should happen very rarely (when we get
a size of 1024 gibibytes or more, quite precisely).
txt7Jnac8J3sj.txt
Description: Diff [f1623a1f5ec53ea36cb41b1b65afcd78048fb029] -> [61810566846efa0e315008c762d85c2065c37c96]
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Monotone-commits-diffs] Revision 61810566846efa0e315008c762d85c2065c37c96,
monotone <=