Skip to content

/ Zope / gocept svn checkins / Archive / 2006 / 2006-12 / SVN: r4363 - gtimelog/trunk

[ << ] [ >> ]

[ Re: [gocept svn checkins] SVN: r4362 - ... ] [ SVN: r4366 - SVGrafZ/tags/0.22.10 / Michael ... ]

SVN: r4363 - gtimelog/trunk
Christian Theune <ct(at)gocept.com>
2006-12-13 10:27:16 [ FULL ]
Author: ctheune
Date: Wed Dec 13 10:27:10 2006
New Revision: 4363

Modified:
   gtimelog/trunk/gtimelog.py
Log:
 - fixed duplication of history/autocompletion entries if you use 'reload'


Modified: gtimelog/trunk/gtimelog.py
==============================================================================
--- gtimelog/trunk/gtimelog.py	(original)
+++ gtimelog/trunk/gtimelog.py	Wed Dec 13 10:27:10 2006
(at)(at) -957,7 +957,12 (at)(at)
         self.history_undo = ''
         if not self.have_completion:
             return
+
         seen = sets.Set()
+        # Populate with existing choices
+        for choice in self.completion_choices:
+            seen.add(choice[0])
+
         for entry in self.history:
             if entry not in seen:
                 seen.add(entry)

SVN: r4364 - SVGrafZ/trunk
Michael Howitz <mh(at)gocept.com>
2006-12-14 15:10:15 [ FULL ]
Author: mac
Date: Thu Dec 14 15:10:07 2006
New Revision: 4364

Modified:
   SVGrafZ/trunk/row.py
Log:
in the abc analysis diagramm each row must be have at least a width of 1 px
otherwise nothing will get displayed

Modified: SVGrafZ/trunk/row.py
==============================================================================
--- SVGrafZ/trunk/row.py	(original)
+++ SVGrafZ/trunk/row.py	Thu Dec 14 15:10:07 2006
(at)(at) -3,7 +3,7 (at)(at)
 ## 
 ## SVGrafZ: RowGraphs
 ##
-## $Id: row.py,v 1.9 2005/02/16 09:06:52 mac Exp $
+## $Id$

################################################################################
 
 from Products.SVGrafZ.interfaces import IDiagramKind
(at)(at) -133,7 +133,8 (at)(at)
         "Draw the rows of the graph."
         allX  = self.allX()
         lenAllX = len(allX)
-        xBarFull = (self.gridboundx - self.gridbasex) / lenAllX
+        # xBarFull must be at least one also if there are more rows than
pixels
+        xBarFull = ((self.gridboundx - self.gridbasex) / lenAllX) or 1
         xWidth   = 0.9 * xBarFull
         xSpace   = 0.1 / 2 * xBarFull
         res      = '<g id="data">\n'

SVN: r4365 - in SVGrafZ/trunk: . doc
Michael Howitz <mh(at)gocept.com>
2006-12-14 15:15:40 [ FULL ]
Author: mac
Date: Thu Dec 14 15:15:34 2006
New Revision: 4365

Modified:
   SVGrafZ/trunk/doc/CHANGES.txt
   SVGrafZ/trunk/version.txt
Log:
preparing release 0.22.10

Modified: SVGrafZ/trunk/doc/CHANGES.txt
==============================================================================
--- SVGrafZ/trunk/doc/CHANGES.txt	(original)
+++ SVGrafZ/trunk/doc/CHANGES.txt	Thu Dec 14 15:15:34 2006
(at)(at) -5,6 +5,12 (at)(at)
 ##

################################################################################
 
+2006-12-14 
+  - Bugfix: Whether there were in an ABC analysis diagramm more rows
+    to display than the diagram width in pixels than nothing was
+    displayed.
+  - released minor version 0.22.10
+
 2006-09-25
   - released minor version 0.22.9
 

Modified: SVGrafZ/trunk/version.txt
==============================================================================
--- SVGrafZ/trunk/version.txt	(original)
+++ SVGrafZ/trunk/version.txt	Thu Dec 14 15:15:34 2006
(at)(at) -1 +1 (at)(at)
-SVGrafZ 0.22.9
+SVGrafZ 0.22.10

MailBoxer