1 |
|
2003-07-24 Frank Koormann <[email protected]> |
2 |
|
|
3 |
|
* Doc/manual/thuban-manual.xml: Added section on table management. |
4 |
|
|
5 |
|
2003-07-24 Bernhard Herzog <[email protected]> |
6 |
|
|
7 |
|
* test/runtests.py (main): Recognize the long "verbose" option |
8 |
|
correctly. |
9 |
|
|
10 |
|
2003-07-22 Jonathan Coles <[email protected]> |
11 |
|
|
12 |
|
* Doc/manual/thuban-manual.xml: Continue to write first revision |
13 |
|
of the manual. |
14 |
|
|
15 |
|
* Thuban/UI/renderer.py (MapRenderer.render_map): Wrap method |
16 |
|
with Begin/EndDrawing() calls to ensure we aren't doing to |
17 |
|
many updates to the dc during rendering. |
18 |
|
(ScreenRenderer.draw_shape_layer): self.draw_point_shape takes |
19 |
|
a pen and brush argument so they need to be passed to the function. |
20 |
|
|
21 |
|
* Thuban/UI/viewport.py (ViewPort.calc_min_max_scales): New. |
22 |
|
Calculates the minimum and maximum scale values. Factored out |
23 |
|
of set_view_transform so that it could be used to zoom all the |
24 |
|
way into a single point. |
25 |
|
(ViewPort.set_view_transform): Call calc_min_max_scales(). |
26 |
|
(ViewPort.FitSelectedToWindow): Zoom to the maximum scale |
27 |
|
if only a single point is selected. |
28 |
|
|
29 |
|
* Doc/manual/images/1_2_legend_close.png, |
30 |
|
Doc/manual/images/1_2_legend_dock.png, |
31 |
|
Doc/manual/images/1_2_mainwindow.png, |
32 |
|
Doc/manual/images/1_2_mainwindow.ps, |
33 |
|
Doc/manual/images/1_2_mainwindow.sk, |
34 |
|
Doc/manual/images/3_2_fullextent.png, |
35 |
|
Doc/manual/images/3_2_fulllayerextent.png, |
36 |
|
Doc/manual/images/3_2_fullshapeextent.png, |
37 |
|
Doc/manual/images/3_2_pan.png, |
38 |
|
Doc/manual/images/3_2_zoomin.png, |
39 |
|
Doc/manual/images/3_2_zoomout.png, |
40 |
|
Doc/manual/images/3_3_identify.png, |
41 |
|
Doc/manual/images/3_3_label.png, |
42 |
|
Doc/manual/images/3_5_invisible.png, |
43 |
|
Doc/manual/images/3_5_movedown.png, |
44 |
|
Doc/manual/images/3_5_moveup.png, |
45 |
|
Doc/manual/images/3_5_props.png, |
46 |
|
Doc/manual/images/3_5_tobottom.png, |
47 |
|
Doc/manual/images/3_5_totop.png, |
48 |
|
Doc/manual/images/3_5_visible.png: New. Images for the documentation. |
49 |
|
|
50 |
|
2003-07-18 Bernhard Herzog <[email protected]> |
51 |
|
|
52 |
|
* Thuban/UI/messages.py (MAP_REPLACED): New message. |
53 |
|
|
54 |
|
* Thuban/UI/viewport.py (ViewPort.SetMap): Issue MAP_REPLACED |
55 |
|
after the new map has been assigned |
56 |
|
|
57 |
|
* Thuban/UI/mainwindow.py (MainWindow.delegated_messages): |
58 |
|
Delegate MAP_REPLACED to the canvas too |
59 |
|
(MainWindow.prepare_new_session): Removed. Thanks to the new |
60 |
|
MAP_REPLACED message it's no longer needed |
61 |
|
(MainWindow.OpenSession, MainWindow.NewSession): |
62 |
|
prepare_new_session has been removed. |
63 |
|
|
64 |
|
* Thuban/UI/classifier.py (Classifier.__init__): Subscribe to |
65 |
|
MAP_REPLACED so that we can close the dialog if a new map is set. |
66 |
|
(Classifier.unsubscribe_messages): Unsubscribe from MAP_REPLACED |
67 |
|
(Classifier.map_replaced): Handle MAP_REPLACED by closing the |
68 |
|
dialog |
69 |
|
|
70 |
|
* test/test_viewport.py (SimpleViewPortTest) |
71 |
|
(SimpleViewPortTest.test_default_size): Add doc-strings |
72 |
|
(ViewPortTest.setUp): Bind map to self.map so we can use it in |
73 |
|
tests. Subscribe to MAP_REPLACED messages too. |
74 |
|
(ViewPortTest.tearDown): No need to explicitly unsubscribe |
75 |
|
(ViewPortTest.test_set_map): New test for the SetMap method. |
76 |
|
|
77 |
|
2003-07-18 Bernhard Herzog <[email protected]> |
78 |
|
|
79 |
|
* test/test_viewport.py (SimpleViewPortTest.test_default_size): |
80 |
|
Move this test from ViewPortTest.setUp to this new separate test |
81 |
|
case. setUp is not the place for the actual tests. |
82 |
|
(ViewPortTest.test_inital_settings, ViewPortTest.setUp): Move some |
83 |
|
more of the test from setUp to the new test test_inital_settings. |
84 |
|
(ViewPortTest.test_win_to_proj, ViewPortTest.test_proj_to_win) |
85 |
|
(ViewPortTest.test_proj_conv): Split test_proj_conv into |
86 |
|
test_win_to_proj and test_proj_to_win and make the tests easier to |
87 |
|
understand |
88 |
|
(ViewPortTest.testFitRectToWindow, ViewPortTest.testZoomFactor) |
89 |
|
(ViewPortTest.testZoomOutToRect, ViewPortTest.testTranslate) |
90 |
|
(ViewPortTest.test_unprojected_rect_around_point) |
91 |
|
(ViewPortTest.test_find_shape_at, ViewPortTest.testTools): |
92 |
|
Reformat to increase readability. |
93 |
|
|
94 |
2003-07-18 Bernhard Herzog <[email protected]> |
2003-07-18 Bernhard Herzog <[email protected]> |
95 |
|
|
96 |
* Thuban/UI/view.py (MapCanvas.OnLeftDown): Capture the mouse. |
* Thuban/UI/view.py (MapCanvas.OnLeftDown): Capture the mouse. |