1 |
|
2003-05-16 Bernhard Herzog <[email protected]> |
2 |
|
|
3 |
|
* Thuban/Model/save.py: Remove some unused imports including the |
4 |
|
__future__ import for nested_scopes as Thuban relies on Python 2.2 |
5 |
|
now. |
6 |
|
(XMLWriter.encode): Remove the special case for a None argument. |
7 |
|
In the saver encode is always called with a string argument. |
8 |
|
|
9 |
|
2003-05-16 Bernhard Herzog <[email protected]> |
10 |
|
|
11 |
|
* Thuban/UI/__init__.py: Remove the work-around for the locale bug |
12 |
|
in wxPython (at least when usinvg wxGTK) prior to 2.4. The symptom |
13 |
|
of the bug was that e.g. float("1.2") would fail. Thuban now |
14 |
|
requires 2.4.x. |
15 |
|
|
16 |
|
2003-05-16 Frank Koormann <[email protected]> |
17 |
|
|
18 |
|
Printing enhancement and WMF export (under Win32) |
19 |
|
|
20 |
|
* Thuban/UI/renderer.py (ExportRenderer): New, derived from |
21 |
|
ScreenRenderer. Renders Map, Legend and Scalebar for export. |
22 |
|
(PrinterRenderer): New, derived from ExportRenderer. Replaces the old |
23 |
|
PrintRender. |
24 |
|
|
25 |
|
* Thuban/UI/view.py (MapPrintout.__init__): Enhanced parameter set |
26 |
|
to fullfil information needed for PrinterRenderer. |
27 |
|
(MapCanvas.Export): New. Export Map (currently only to WMF on Win32). |
28 |
|
(MapCanvas.Print): Adapted to new MapPrintout. |
29 |
|
(OutputTransform): General calculations to transform from canvas |
30 |
|
coordinates to export/printing devices. |
31 |
|
|
32 |
|
* Thuban/UI/mainwindow.py (MainWindow.ExportMap()): New. Added also |
33 |
|
new method_command to call ExportMap, with platform dependency (only |
34 |
|
__WXMSW__) |
35 |
|
|
36 |
|
* Thuban/UI/scalebar.py (ScaleBar.DrawScaleBar): Position and Size |
37 |
|
of scalebar drawing area as new parameters. |
38 |
|
|
39 |
|
* Thuban/Model/scalebar.py (roundInterval): round long instead of int |
40 |
|
|
41 |
|
* Thuban/UI/legend.py (ScalebarBitmap.__SetScale): |
42 |
|
Update to extended scalebar.DrawScalebar header. |
43 |
|
|
44 |
|
* test/test_export.py: New, test Thuban.UI.view.OutputTransform() |
45 |
|
|
46 |
|
* test/test_scalebar.py: Made test executable as standalone. |
47 |
|
|
48 |
|
2003-05-16 Bernhard Herzog <[email protected]> |
49 |
|
|
50 |
|
* Thuban/Model/table.py (Table): Remove this compatibility alias |
51 |
|
for DBFTable. |
52 |
|
|
53 |
|
* test/test_table.py: Import DBFTable as Table because that alias |
54 |
|
doesn't exist anymore. |
55 |
|
|
56 |
|
* Thuban/UI/classgen.py: Remove some unused imports |
57 |
|
|
58 |
|
2003-05-14 Jonathan Coles <[email protected]> |
59 |
|
|
60 |
|
* Thuban/Model/classgen.py (ClassGenerator.GenSingletonsFromList): |
61 |
|
Fix docstring. |
62 |
|
(ClassGenerator.GenUniformDistribution): Fix spelling of method name. |
63 |
|
(ClassGenerator.GenQuantiles): Use the left/right brackets and min/max |
64 |
|
values of the supplied range to determine the beginning and end |
65 |
|
bounds of the generated classes. |
66 |
|
|
67 |
|
* Thuban/Model/range.py (Range.number_re): Now accepts floats that |
68 |
|
do not have a leading 0 (.5 is now accepted as well as 0.5). |
69 |
|
|
70 |
|
* Thuban/UI/classgen.py (ClassGenDialog.OnOK): Fix name of method |
71 |
|
call to ClassGenerator.GenUniformDistribution. |
72 |
|
|
73 |
|
* Thuban/UI/projdialog.py (ProjFrame.__do_layout): Fix Windows |
74 |
|
layout bug with the 'Projection' label. |
75 |
|
|
76 |
|
* test/support.py (FloatTestCase): New. Needed for the Range tests. |
77 |
|
|
78 |
|
* test/test_range.py: New. Imported from SciParam. |
79 |
|
|
80 |
|
2003-05-12 Jonathan Coles <[email protected]> |
81 |
|
|
82 |
|
* Thuban/UI/classgen.py (GenQuantilesPanel.GetList): Replace call |
83 |
|
to table.UniqueValues() with calls that retrieve all the values |
84 |
|
from the table. This will need to be replaced by a method on table |
85 |
|
which can simply return the list (perhaps more efficiently). |
86 |
|
|
87 |
2003-05-12 Jonathan Coles <[email protected]> |
2003-05-12 Jonathan Coles <[email protected]> |
88 |
|
|
89 |
The return value of ClassGenerator.CalculateQuantiles has changed. |
The return value of ClassGenerator.CalculateQuantiles has changed. |