1 |
|
2003-07-29 Jonathan Coles <jonathan@intevation.de> |
2 |
|
|
3 |
|
* Thuban/UI/application.py (ThubanApplication.OnInit): set the |
4 |
|
python exception hook here so that we are sure to catch any |
5 |
|
Thuban exception that happen during initialization. |
6 |
|
|
7 |
|
* Thuban/UI/main.py (main): Don't set the exception hook here, |
8 |
|
it will get set in ThubanApplication.OnInit. |
9 |
|
|
10 |
|
2003-07-29 Jonathan Coles <jonathan@intevation.de> |
11 |
|
|
12 |
|
* Thuban/UI/application.py (ThubanApplication.ShowExceptionDialog): |
13 |
|
Removed and called it show_exception_dialog() so that the exception |
14 |
|
handler can be set before the class is created. |
15 |
|
|
16 |
|
* Thuban/UI/main.py (main): Install the exception handler before |
17 |
|
a ThubanApplication is created. |
18 |
|
|
19 |
|
2003-07-29 Bernhard Herzog <bh@intevation.de> |
20 |
|
|
21 |
|
* po/it.po: New. Italian translation by Maurizio Napolitano |
22 |
|
|
23 |
|
* po/ru.po: New. Russian translation by Alex Shevlakov |
24 |
|
|
25 |
|
2003-07-29 Frank Koormann <frank.koormann@intevation.de> |
26 |
|
|
27 |
|
* Doc/manual/thuban-manual.xml: Extended section on supported |
28 |
|
projections. |
29 |
|
|
30 |
|
2003-07-29 Frank Koormann <frank.koormann@intevation.de> |
31 |
|
|
32 |
|
* Doc/manual/thuban-manual.xml: gaspell-checked. |
33 |
|
|
34 |
|
2003-07-29 Jonathan Coles <jonathan@intevation.de> |
35 |
|
|
36 |
|
* Doc/manual/images/3_5_legend.png: Added border to improve look |
37 |
|
on white background. |
38 |
|
|
39 |
|
2003-07-29 Jonathan Coles <jonathan@intevation.de> |
40 |
|
|
41 |
|
* Doc/manual/thuban-manual.xml: Fixed grammar and typos. Added |
42 |
|
descriptions for the legend toolbar. |
43 |
|
|
44 |
|
* Doc/manual/images/4_2_raster_layer_properties.png: Removed |
45 |
|
cursor from dialog box. |
46 |
|
|
47 |
|
2003-07-28 Jonathan Coles <jonathan@intevation.de> |
48 |
|
|
49 |
|
* Doc/manual/thuban-manual.xml: More screenshots and more chapters. |
50 |
|
|
51 |
|
* Doc/manual/images/2_4_session_tree.png, |
52 |
|
Doc/manual/images/3_5_legend.png, Doc/manual/images/3_rename_map.png, |
53 |
|
Doc/manual/images/4_2_layer_properties.png, |
54 |
|
Doc/manual/images/4_2_raster_layer_properties.png, |
55 |
|
Doc/manual/images/5_3_genclass.png, |
56 |
|
Doc/manual/images/5_classification.png, |
57 |
|
Doc/manual/images/6_projection.png, |
58 |
|
Doc/manual/images/7_1_table_view.png, |
59 |
|
Doc/manual/images/7_2_5_join.png: New screenshots. |
60 |
|
|
61 |
|
2003-07-24 Jonathan Coles <jonathan@intevation.de> |
62 |
|
|
63 |
|
* Doc/manual/thuban-manual.xml: Chapter on Projection Management. |
64 |
|
|
65 |
|
2003-07-24 Jonathan Coles <jonathan@intevation.de> |
66 |
|
|
67 |
|
* Doc/manual/thuban-manual.xml: Added EPS images and wrote |
68 |
|
chapter on Layer Management. |
69 |
|
|
70 |
|
* Doc/manual/Makefile: New. Makefile to generate all formats for the |
71 |
|
manual and images. |
72 |
|
|
73 |
|
2003-07-24 Bernhard Herzog <bh@intevation.de> |
74 |
|
|
75 |
|
* Thuban/Model/range.py, Thuban/version.py: Remove the #! line as |
76 |
|
it annoys lintian which warns about these files not being |
77 |
|
executable. The #1 isn't necessary here since if you absolutely |
78 |
|
must execute them you can always say "python <filename>". |
79 |
|
|
80 |
|
* Thuban/UI/renderer.py (ScreenRenderer.draw_shape_layer): Remove |
81 |
|
superfluous code to set brush and pen for point shapes |
82 |
|
|
83 |
|
* Thuban/UI/viewport.py: Remove commented out code that wouldn't |
84 |
|
belong in viewport anyway |
85 |
|
|
86 |
|
2003-07-24 Frank Koormann <frank.koormann@intevation.de> |
87 |
|
|
88 |
|
* Doc/manual/thuban-manual.xml: Added section on table management. |
89 |
|
|
90 |
|
2003-07-24 Bernhard Herzog <bh@intevation.de> |
91 |
|
|
92 |
|
* test/runtests.py (main): Recognize the long "verbose" option |
93 |
|
correctly. |
94 |
|
|
95 |
|
2003-07-22 Jonathan Coles <jonathan@intevation.de> |
96 |
|
|
97 |
|
* Doc/manual/thuban-manual.xml: Continue to write first revision |
98 |
|
of the manual. |
99 |
|
|
100 |
|
* Thuban/UI/renderer.py (MapRenderer.render_map): Wrap method |
101 |
|
with Begin/EndDrawing() calls to ensure we aren't doing to |
102 |
|
many updates to the dc during rendering. |
103 |
|
(ScreenRenderer.draw_shape_layer): self.draw_point_shape takes |
104 |
|
a pen and brush argument so they need to be passed to the function. |
105 |
|
|
106 |
|
* Thuban/UI/viewport.py (ViewPort.calc_min_max_scales): New. |
107 |
|
Calculates the minimum and maximum scale values. Factored out |
108 |
|
of set_view_transform so that it could be used to zoom all the |
109 |
|
way into a single point. |
110 |
|
(ViewPort.set_view_transform): Call calc_min_max_scales(). |
111 |
|
(ViewPort.FitSelectedToWindow): Zoom to the maximum scale |
112 |
|
if only a single point is selected. |
113 |
|
|
114 |
|
* Doc/manual/images/1_2_legend_close.png, |
115 |
|
Doc/manual/images/1_2_legend_dock.png, |
116 |
|
Doc/manual/images/1_2_mainwindow.png, |
117 |
|
Doc/manual/images/1_2_mainwindow.ps, |
118 |
|
Doc/manual/images/1_2_mainwindow.sk, |
119 |
|
Doc/manual/images/3_2_fullextent.png, |
120 |
|
Doc/manual/images/3_2_fulllayerextent.png, |
121 |
|
Doc/manual/images/3_2_fullshapeextent.png, |
122 |
|
Doc/manual/images/3_2_pan.png, |
123 |
|
Doc/manual/images/3_2_zoomin.png, |
124 |
|
Doc/manual/images/3_2_zoomout.png, |
125 |
|
Doc/manual/images/3_3_identify.png, |
126 |
|
Doc/manual/images/3_3_label.png, |
127 |
|
Doc/manual/images/3_5_invisible.png, |
128 |
|
Doc/manual/images/3_5_movedown.png, |
129 |
|
Doc/manual/images/3_5_moveup.png, |
130 |
|
Doc/manual/images/3_5_props.png, |
131 |
|
Doc/manual/images/3_5_tobottom.png, |
132 |
|
Doc/manual/images/3_5_totop.png, |
133 |
|
Doc/manual/images/3_5_visible.png: New. Images for the documentation. |
134 |
|
|
135 |
|
2003-07-18 Bernhard Herzog <bh@intevation.de> |
136 |
|
|
137 |
|
* Thuban/UI/messages.py (MAP_REPLACED): New message. |
138 |
|
|
139 |
|
* Thuban/UI/viewport.py (ViewPort.SetMap): Issue MAP_REPLACED |
140 |
|
after the new map has been assigned |
141 |
|
|
142 |
|
* Thuban/UI/mainwindow.py (MainWindow.delegated_messages): |
143 |
|
Delegate MAP_REPLACED to the canvas too |
144 |
|
(MainWindow.prepare_new_session): Removed. Thanks to the new |
145 |
|
MAP_REPLACED message it's no longer needed |
146 |
|
(MainWindow.OpenSession, MainWindow.NewSession): |
147 |
|
prepare_new_session has been removed. |
148 |
|
|
149 |
|
* Thuban/UI/classifier.py (Classifier.__init__): Subscribe to |
150 |
|
MAP_REPLACED so that we can close the dialog if a new map is set. |
151 |
|
(Classifier.unsubscribe_messages): Unsubscribe from MAP_REPLACED |
152 |
|
(Classifier.map_replaced): Handle MAP_REPLACED by closing the |
153 |
|
dialog |
154 |
|
|
155 |
|
* test/test_viewport.py (SimpleViewPortTest) |
156 |
|
(SimpleViewPortTest.test_default_size): Add doc-strings |
157 |
|
(ViewPortTest.setUp): Bind map to self.map so we can use it in |
158 |
|
tests. Subscribe to MAP_REPLACED messages too. |
159 |
|
(ViewPortTest.tearDown): No need to explicitly unsubscribe |
160 |
|
(ViewPortTest.test_set_map): New test for the SetMap method. |
161 |
|
|
162 |
|
2003-07-18 Bernhard Herzog <bh@intevation.de> |
163 |
|
|
164 |
|
* test/test_viewport.py (SimpleViewPortTest.test_default_size): |
165 |
|
Move this test from ViewPortTest.setUp to this new separate test |
166 |
|
case. setUp is not the place for the actual tests. |
167 |
|
(ViewPortTest.test_inital_settings, ViewPortTest.setUp): Move some |
168 |
|
more of the test from setUp to the new test test_inital_settings. |
169 |
|
(ViewPortTest.test_win_to_proj, ViewPortTest.test_proj_to_win) |
170 |
|
(ViewPortTest.test_proj_conv): Split test_proj_conv into |
171 |
|
test_win_to_proj and test_proj_to_win and make the tests easier to |
172 |
|
understand |
173 |
|
(ViewPortTest.testFitRectToWindow, ViewPortTest.testZoomFactor) |
174 |
|
(ViewPortTest.testZoomOutToRect, ViewPortTest.testTranslate) |
175 |
|
(ViewPortTest.test_unprojected_rect_around_point) |
176 |
|
(ViewPortTest.test_find_shape_at, ViewPortTest.testTools): |
177 |
|
Reformat to increase readability. |
178 |
|
|
179 |
|
2003-07-18 Bernhard Herzog <bh@intevation.de> |
180 |
|
|
181 |
|
* Thuban/UI/view.py (MapCanvas.OnLeftDown): Capture the mouse. |
182 |
|
|
183 |
|
2003-07-18 Bernhard Herzog <bh@intevation.de> |
184 |
|
|
185 |
|
* test/runtests.py: The test suite can now be run without an X |
186 |
|
connection. To make sure this remains true, remove the DISPLAY |
187 |
|
environment variable so that an error occurs if the wxGTK is |
188 |
|
imported accidentally |
189 |
|
|
190 |
2003-07-18 Bernhard Herzog <bh@intevation.de> |
2003-07-18 Bernhard Herzog <bh@intevation.de> |
191 |
|
|
192 |
* Thuban/UI/viewport.py: Remove unused imports |
* Thuban/UI/viewport.py: Remove unused imports |