1 |
|
2003-10-06 Bernhard Herzog <[email protected]> |
2 |
|
|
3 |
|
* test/test_viewport.py (MockView): New class derived from |
4 |
|
ViewPort with a mock implementation of GetTextExtent to be used in |
5 |
|
the test cases |
6 |
|
(ViewPortTest.setUp): Use MockView instead of ViewPort |
7 |
|
|
8 |
|
* Thuban/UI/viewport.py (ViewPort.GetTextExtent): Turn this method |
9 |
|
into what would be a "pure virtual function" in C++: always raise |
10 |
|
NotImplementedError. Mock implementations for test cases don't |
11 |
|
belong into the real code |
12 |
|
|
13 |
|
2003-10-02 Bernhard Herzog <[email protected]> |
14 |
|
|
15 |
|
* test/test_layer.py (TestLayer.test_empty_layer): Explicitly |
16 |
|
close the dbf file we create so that it's contents have been |
17 |
|
written properly. |
18 |
|
|
19 |
|
* libraries/shapelib/shptree.c, libraries/shapelib/shpopen.c, |
20 |
|
libraries/shapelib/shapefil.h, libraries/shapelib/dbfopen.c: |
21 |
|
Update to shapelib 1.2.10 |
22 |
|
|
23 |
|
2003-10-01 Jan-Oliver Wagner <[email protected]> |
24 |
|
|
25 |
|
* Thuban/UI/tree.py, Thuban/UI/main.py: Remove the #! line as |
26 |
|
it annoys lintian which warns about these files not being |
27 |
|
executable. The #! isn't necessary here since if you absolutely |
28 |
|
must execute them you can always say "python <filename>". |
29 |
|
|
30 |
|
2003-09-26 Bernhard Herzog <[email protected]> |
31 |
|
|
32 |
|
* Thuban/Model/classgen.py (GenQuantiles0): Removed since it's |
33 |
|
only used in GREAT-ER but not used in Thuban itself. When GREAT-ER |
34 |
|
is ported to a newer the import will fail, so it should be noticed |
35 |
|
immediately that this function is gone. |
36 |
|
Fixes RT#1919 |
37 |
|
|
38 |
|
2003-09-26 Bernhard Herzog <[email protected]> |
39 |
|
|
40 |
|
Add a DTD for the projection files and make thuban write valid |
41 |
|
projection files |
42 |
|
|
43 |
|
* Resources/XML/projfile.dtd: New. DTD for thuban's projection |
44 |
|
files |
45 |
|
|
46 |
|
* Thuban/Model/resource.py (ProjFileSaver.write): Use |
47 |
|
'projectionlist' as the name in the document type declaration so |
48 |
|
that it matches the element type of the root element. |
49 |
|
|
50 |
|
* test/test_proj.py (sample_projfile, sample_projfile2): Use |
51 |
|
'projectionlist' as the name in the document type declaration just |
52 |
|
as it is done now in the files thuban would write |
53 |
|
(sample_projfile, sample_projfile_data): Fix spelling of |
54 |
|
"Mercator" |
55 |
|
(TestProjFile.doTestWrite): Validate the written and the expected |
56 |
|
XML data |
57 |
|
(TestProjFile): Derive from ValidationTest so that we can run xml |
58 |
|
validation tests |
59 |
|
|
60 |
|
2003-09-24 Bernhard Herzog <[email protected]> |
61 |
|
|
62 |
|
* Thuban/UI/renderer.py (ExportRenderer.render_legend): Do not |
63 |
|
modify the list returned by map.Layers() in place since it is the |
64 |
|
actual list of layers used by the map. |
65 |
|
|
66 |
|
2003-09-23 Jan-Oliver Wagner <[email protected]> |
67 |
|
|
68 |
|
* Doc/manual/thuban-manual.xml: Added subsection to chapter |
69 |
|
Extensions to describe the extensions coming with the Thuban |
70 |
|
standard package (gns2shp and importAPR). |
71 |
|
|
72 |
2003-09-23 Bernhard Herzog <[email protected]> |
2003-09-23 Bernhard Herzog <[email protected]> |
73 |
|
|
74 |
* libraries/thuban/wxproj.cpp (project_point): if there's an |
* libraries/thuban/wxproj.cpp (project_point): if there's an |
1450 |
|
|
1451 |
* Thuban/Model/range.py, Thuban/version.py: Remove the #! line as |
* Thuban/Model/range.py, Thuban/version.py: Remove the #! line as |
1452 |
it annoys lintian which warns about these files not being |
it annoys lintian which warns about these files not being |
1453 |
executable. The #1 isn't necessary here since if you absolutely |
executable. The #! isn't necessary here since if you absolutely |
1454 |
must execute them you can always say "python <filename>". |
must execute them you can always say "python <filename>". |
1455 |
|
|
1456 |
* Thuban/UI/renderer.py (ScreenRenderer.draw_shape_layer): Remove |
* Thuban/UI/renderer.py (ScreenRenderer.draw_shape_layer): Remove |