1 |
|
2003-10-08 Bernhard Herzog <[email protected]> |
2 |
|
|
3 |
|
* test/test_proj.py (TestProjection.test_get_projection_units_geo) |
4 |
|
(TestProjection.test_get_projection_units_normal): New. Tests for |
5 |
|
the Projection.GetProjectedUnits method |
6 |
|
|
7 |
|
2003-10-08 Jan-Oliver Wagner <[email protected]> |
8 |
|
|
9 |
|
* Thuban/Model/resource.py (get_user_proj_file): small bug-fix: |
10 |
|
Added missing 'val' parameter. |
11 |
|
|
12 |
|
2003-10-08 Bernhard Herzog <[email protected]> |
13 |
|
|
14 |
|
* Thuban/UI/projdialog.py (ProjFrame.__DoOnProjAvail): When the |
15 |
|
projection type of the currently selected projection is not known, |
16 |
|
i.e. there's no panel for it, use the UnknownProjPanel |
17 |
|
(ProjFrame.__DoOnProjChoice, ProjFrame._show_proj_panel): Split |
18 |
|
the actual replacing of the proj panel into the new method |
19 |
|
_show_proj_panel. |
20 |
|
(UnknownProjPanel): Add doc-string. |
21 |
|
(UnknownProjPanel._DoLayout): Insert a newline into the text so |
22 |
|
that the panel is not so wide. |
23 |
|
|
24 |
|
2003-10-08 Bernhard Herzog <[email protected]> |
25 |
|
|
26 |
|
* Thuban/Model/resource.py (read_proj_file): Return the warnings |
27 |
|
too. Update the doc-string |
28 |
|
(get_proj_files): Removed. It wasn't used anywhere |
29 |
|
(get_system_proj_files, get_system_proj_file): Rename to |
30 |
|
get_system_proj_file and return the ProjFile object and not a list |
31 |
|
of ProjFile objects. Update the callers. |
32 |
|
(get_user_proj_files, get_user_proj_file): Rename to |
33 |
|
get_user_proj_file return the ProjFile object and not a list of |
34 |
|
ProjFile objects. Update the callers. |
35 |
|
(ProjFileReader.__init__): New instance variable for the warnings. |
36 |
|
Rename the __pf ivar to projfile. Update the methods referring to |
37 |
|
__pf |
38 |
|
(ProjFileReader.end_projection): Catch any errors raised when |
39 |
|
instantiating the projection and record that as an error. The |
40 |
|
projection will not be in the final ProjFile object. |
41 |
|
(ProjFileReader.GetWarnings): New method to return the warnings. |
42 |
|
|
43 |
|
* Thuban/UI/projdialog.py (ProjFrame.show_warnings): New method to |
44 |
|
show the warnings from the projfile reader |
45 |
|
(ProjFrame._OnImport): Deal with any warnings returned by |
46 |
|
read_proj_file |
47 |
|
(ProjFrame.__FillAvailList): Deal with any warnings returned by |
48 |
|
get_system_proj_file or get_user_proj_file. |
49 |
|
|
50 |
|
* test/test_proj.py (TestProjFile.doTestRead): Check the warnings. |
51 |
|
(TestProjFileWithInvalidParameters.file_contents): New test cases |
52 |
|
to test whether read_proj_file handles invalid projection |
53 |
|
parameters correctly |
54 |
|
(TestProjFile.test_get_system_proj_file): New. Simple test for |
55 |
|
resource.get_system_proj_file |
56 |
|
|
57 |
|
2003-10-07 Bernhard Herzog <[email protected]> |
58 |
|
|
59 |
|
* test/test_derivedshapestore.py |
60 |
|
(TestDerivedShapeStoreExceptions.tearDown): Clear the session |
61 |
|
properly so that the temporary directories get deleted correctly |
62 |
|
|
63 |
2003-10-06 Bernhard Herzog <[email protected]> |
2003-10-06 Bernhard Herzog <[email protected]> |
64 |
|
|
65 |
Handle the title changes in a proper MVC way. |
Handle the title changes in a proper MVC way. |