1 |
|
2003-10-09 Bernhard Herzog <bh@intevation.de> |
2 |
|
|
3 |
|
* Thuban/Model/proj.py (ProjFile.Add): Do not check whether the |
4 |
|
projection is already in the list. This is *a lot* faster when |
5 |
|
loading files with hundreds of projections since it saves a linear |
6 |
|
search. OTOH this will allow adding the same projection to the |
7 |
|
user.proj file multiple times in the projection dialog but we'll |
8 |
|
deal with that later |
9 |
|
|
10 |
|
2003-10-09 Jan-Oliver Wagner <jan@intevation.de> |
11 |
|
|
12 |
|
* devtools: New. Directory for developer tools that are not intended |
13 |
|
for the regular user. |
14 |
|
|
15 |
|
* devtools/create_epsg.py: New. Convert the epsg file of proj into |
16 |
|
a python .proj file. |
17 |
|
|
18 |
|
2003-10-09 Bernhard Herzog <bh@intevation.de> |
19 |
|
|
20 |
|
* test/test_proj.py |
21 |
|
(TestProjection.test_get_parameter_without_equals_sign): New. Test |
22 |
|
whether GetParameter handles parameters without "=" sign correctly |
23 |
|
|
24 |
|
* Thuban/Model/proj.py (Projection.GetParameter): Handle |
25 |
|
parameters that do not contain a "=". Update the doc-string |
26 |
|
|
27 |
|
2003-10-08 Bernhard Herzog <bh@intevation.de> |
28 |
|
|
29 |
|
* Thuban/UI/projdialog.py (ProjFrame.__set_properties): Remove the |
30 |
|
length limit on the projname text control |
31 |
|
|
32 |
|
2003-10-08 Bernhard Herzog <bh@intevation.de> |
33 |
|
|
34 |
|
* test/test_proj.py (TestProjection.test_get_projection_units_geo) |
35 |
|
(TestProjection.test_get_projection_units_normal): New. Tests for |
36 |
|
the Projection.GetProjectedUnits method |
37 |
|
|
38 |
|
2003-10-08 Jan-Oliver Wagner <jan@intevation.de> |
39 |
|
|
40 |
|
* Thuban/Model/resource.py (get_user_proj_file): small bug-fix: |
41 |
|
Added missing 'val' parameter. |
42 |
|
|
43 |
|
2003-10-08 Bernhard Herzog <bh@intevation.de> |
44 |
|
|
45 |
|
* Thuban/UI/projdialog.py (ProjFrame.__DoOnProjAvail): When the |
46 |
|
projection type of the currently selected projection is not known, |
47 |
|
i.e. there's no panel for it, use the UnknownProjPanel |
48 |
|
(ProjFrame.__DoOnProjChoice, ProjFrame._show_proj_panel): Split |
49 |
|
the actual replacing of the proj panel into the new method |
50 |
|
_show_proj_panel. |
51 |
|
(UnknownProjPanel): Add doc-string. |
52 |
|
(UnknownProjPanel._DoLayout): Insert a newline into the text so |
53 |
|
that the panel is not so wide. |
54 |
|
|
55 |
|
2003-10-08 Bernhard Herzog <bh@intevation.de> |
56 |
|
|
57 |
|
* Thuban/Model/resource.py (read_proj_file): Return the warnings |
58 |
|
too. Update the doc-string |
59 |
|
(get_proj_files): Removed. It wasn't used anywhere |
60 |
|
(get_system_proj_files, get_system_proj_file): Rename to |
61 |
|
get_system_proj_file and return the ProjFile object and not a list |
62 |
|
of ProjFile objects. Update the callers. |
63 |
|
(get_user_proj_files, get_user_proj_file): Rename to |
64 |
|
get_user_proj_file return the ProjFile object and not a list of |
65 |
|
ProjFile objects. Update the callers. |
66 |
|
(ProjFileReader.__init__): New instance variable for the warnings. |
67 |
|
Rename the __pf ivar to projfile. Update the methods referring to |
68 |
|
__pf |
69 |
|
(ProjFileReader.end_projection): Catch any errors raised when |
70 |
|
instantiating the projection and record that as an error. The |
71 |
|
projection will not be in the final ProjFile object. |
72 |
|
(ProjFileReader.GetWarnings): New method to return the warnings. |
73 |
|
|
74 |
|
* Thuban/UI/projdialog.py (ProjFrame.show_warnings): New method to |
75 |
|
show the warnings from the projfile reader |
76 |
|
(ProjFrame._OnImport): Deal with any warnings returned by |
77 |
|
read_proj_file |
78 |
|
(ProjFrame.__FillAvailList): Deal with any warnings returned by |
79 |
|
get_system_proj_file or get_user_proj_file. |
80 |
|
|
81 |
|
* test/test_proj.py (TestProjFile.doTestRead): Check the warnings. |
82 |
|
(TestProjFileWithInvalidParameters.file_contents): New test cases |
83 |
|
to test whether read_proj_file handles invalid projection |
84 |
|
parameters correctly |
85 |
|
(TestProjFile.test_get_system_proj_file): New. Simple test for |
86 |
|
resource.get_system_proj_file |
87 |
|
|
88 |
|
2003-10-07 Bernhard Herzog <bh@intevation.de> |
89 |
|
|
90 |
|
* test/test_derivedshapestore.py |
91 |
|
(TestDerivedShapeStoreExceptions.tearDown): Clear the session |
92 |
|
properly so that the temporary directories get deleted correctly |
93 |
|
|
94 |
2003-10-06 Bernhard Herzog <bh@intevation.de> |
2003-10-06 Bernhard Herzog <bh@intevation.de> |
95 |
|
|
96 |
Handle the title changes in a proper MVC way. |
Handle the title changes in a proper MVC way. |