1 |
|
2003-05-16 Bernhard Herzog <[email protected]> |
2 |
|
|
3 |
|
* Thuban/UI/__init__.py: Remove the work-around for the locale bug |
4 |
|
in wxPython (at least when usinvg wxGTK) prior to 2.4. The symptom |
5 |
|
of the bug was that e.g. float("1.2") would fail. Thuban now |
6 |
|
requires 2.4.x. |
7 |
|
|
8 |
|
2003-05-16 Frank Koormann <[email protected]> |
9 |
|
|
10 |
|
Printing enhancement and WMF export (under Win32) |
11 |
|
|
12 |
|
* Thuban/UI/renderer.py (ExportRenderer): New, derived from |
13 |
|
ScreenRenderer. Renders Map, Legend and Scalebar for export. |
14 |
|
(PrinterRenderer): New, derived from ExportRenderer. Replaces the old |
15 |
|
PrintRender. |
16 |
|
|
17 |
|
* Thuban/UI/view.py (MapPrintout.__init__): Enhanced parameter set |
18 |
|
to fullfil information needed for PrinterRenderer. |
19 |
|
(MapCanvas.Export): New. Export Map (currently only to WMF on Win32). |
20 |
|
(MapCanvas.Print): Adapted to new MapPrintout. |
21 |
|
(OutputTransform): General calculations to transform from canvas |
22 |
|
coordinates to export/printing devices. |
23 |
|
|
24 |
|
* Thuban/UI/mainwindow.py (MainWindow.ExportMap()): New. Added also |
25 |
|
new method_command to call ExportMap, with platform dependency (only |
26 |
|
__WXMSW__) |
27 |
|
|
28 |
|
* Thuban/UI/scalebar.py (ScaleBar.DrawScaleBar): Position and Size |
29 |
|
of scalebar drawing area as new parameters. |
30 |
|
|
31 |
|
* Thuban/Model/scalebar.py (roundInterval): round long instead of int |
32 |
|
|
33 |
|
* Thuban/UI/legend.py (ScalebarBitmap.__SetScale): |
34 |
|
Update to extended scalebar.DrawScalebar header. |
35 |
|
|
36 |
|
* test/test_export.py: New, test Thuban.UI.view.OutputTransform() |
37 |
|
|
38 |
|
* test/test_scalebar.py: Made test executable as standalone. |
39 |
|
|
40 |
|
2003-05-16 Bernhard Herzog <[email protected]> |
41 |
|
|
42 |
|
* Thuban/Model/table.py (Table): Remove this compatibility alias |
43 |
|
for DBFTable. |
44 |
|
|
45 |
|
* test/test_table.py: Import DBFTable as Table because that alias |
46 |
|
doesn't exist anymore. |
47 |
|
|
48 |
|
* Thuban/UI/classgen.py: Remove some unused imports |
49 |
|
|
50 |
|
2003-05-14 Jonathan Coles <[email protected]> |
51 |
|
|
52 |
|
* Thuban/Model/classgen.py (ClassGenerator.GenSingletonsFromList): |
53 |
|
Fix docstring. |
54 |
|
(ClassGenerator.GenUniformDistribution): Fix spelling of method name. |
55 |
|
(ClassGenerator.GenQuantiles): Use the left/right brackets and min/max |
56 |
|
values of the supplied range to determine the beginning and end |
57 |
|
bounds of the generated classes. |
58 |
|
|
59 |
|
* Thuban/Model/range.py (Range.number_re): Now accepts floats that |
60 |
|
do not have a leading 0 (.5 is now accepted as well as 0.5). |
61 |
|
|
62 |
|
* Thuban/UI/classgen.py (ClassGenDialog.OnOK): Fix name of method |
63 |
|
call to ClassGenerator.GenUniformDistribution. |
64 |
|
|
65 |
|
* Thuban/UI/projdialog.py (ProjFrame.__do_layout): Fix Windows |
66 |
|
layout bug with the 'Projection' label. |
67 |
|
|
68 |
|
* test/support.py (FloatTestCase): New. Needed for the Range tests. |
69 |
|
|
70 |
|
* test/test_range.py: New. Imported from SciParam. |
71 |
|
|
72 |
|
2003-05-12 Jonathan Coles <[email protected]> |
73 |
|
|
74 |
|
* Thuban/UI/classgen.py (GenQuantilesPanel.GetList): Replace call |
75 |
|
to table.UniqueValues() with calls that retrieve all the values |
76 |
|
from the table. This will need to be replaced by a method on table |
77 |
|
which can simply return the list (perhaps more efficiently). |
78 |
|
|
79 |
|
2003-05-12 Jonathan Coles <[email protected]> |
80 |
|
|
81 |
|
The return value of ClassGenerator.CalculateQuantiles has changed. |
82 |
|
Refer to the documentation for details. |
83 |
|
|
84 |
|
* test/test_classgen.py: Modified Quantile tests to use the |
85 |
|
new return values. |
86 |
|
|
87 |
|
* Thuban/Model/classgen.py |
88 |
|
(ClassGenerator.GenQuantiles): Add comments describing the parameters, |
89 |
|
use new return values from CalculateQuantiles to produce the correct |
90 |
|
range bounds in the Classification. |
91 |
|
(ClassGenerator.CalculateQuantiles): Add more comments describing |
92 |
|
the return values and parameters. Make minor adjustments to improve |
93 |
|
the legibility of the code. Fix problem with adjusted not being set |
94 |
|
in most cases. |
95 |
|
|
96 |
|
2003-05-12 Frank Koormann <[email protected]> |
97 |
|
|
98 |
|
* Thuban/Model/save.py (XMLWriter.encode()): Explicite call to unicode |
99 |
|
and latin1. Fixes #1851 finally. |
100 |
|
|
101 |
|
2003-05-09 Jonathan Coles <[email protected]> |
102 |
|
|
103 |
|
* test/test_classgen.py: New. Tests the Quantile algorithm. |
104 |
|
|
105 |
|
* Thuban/Model/classgen.py (ClassGenerator.CalculateQuantiles): |
106 |
|
Clean up debugging statement, add comments, fix a small bug in the |
107 |
|
returned adjusted percentiles. |
108 |
|
|
109 |
2003-05-09 Jonathan Coles <[email protected]> |
2003-05-09 Jonathan Coles <[email protected]> |
110 |
|
|
111 |
Introduces Range class from SciParam into the ClassGroupRange class, |
Introduces Range class from SciParam into the ClassGroupRange class, |