1 |
|
2003-04-02 Bernhard Herzog <[email protected]> |
2 |
|
|
3 |
|
* Thuban/UI/application.py (ThubanApplication.OpenSession): Make |
4 |
|
sure the filename is absolute to avoid problems when saving the |
5 |
|
session again |
6 |
|
|
7 |
|
* Thuban/Model/table.py: Remove unnecessary import. Fix a typo. |
8 |
|
|
9 |
|
2003-04-01 Jonathan Coles <[email protected]> |
10 |
|
|
11 |
|
* Thuban/UI/renderer.py (MapRenderer.draw_point_shape): Check |
12 |
|
that there actually are points in the returned list of points |
13 |
|
before trying to index into the list. The list may be empty if |
14 |
|
the shape is a Null Shape. |
15 |
|
|
16 |
|
2003-04-01 Bernhard Herzog <[email protected]> |
17 |
|
|
18 |
|
* test/test_map.py: Don't use from <module> import * |
19 |
|
|
20 |
|
2003-04-01 Jonathan Coles <[email protected]> |
21 |
|
|
22 |
|
* Thuban/Model/session.py: Use LAYER_CHANGED instead of |
23 |
|
LAYER_LEGEND_CHANGED |
24 |
|
|
25 |
|
* Thuban/UI/dock.py (DockableWindow._OnButtonClose): Call |
26 |
|
self.Destroy() to close the window after yesterday's changes. |
27 |
|
|
28 |
|
* test/test_map.py, test/test_session.py: Fix messages that |
29 |
|
are sent from maps and layers. |
30 |
|
|
31 |
|
2003-03-31 Jonathan Coles <[email protected]> |
32 |
|
|
33 |
|
* Thuban/UI/classifier.py: Commented out some debugging statements. |
34 |
|
(ClassDataPreviewer.Draw): Draw rectangles for polygon layers per |
35 |
|
RTbug #1769. |
36 |
|
|
37 |
|
* Thuban/UI/dock.py (DockableWindow.UnDock): Restore size and |
38 |
|
position (although position doesn't work yet under GTK). |
39 |
|
(DockableWindow.Destroy): New. Called when the window must be |
40 |
|
closed. Namely needed when the DockFrame closes and must close |
41 |
|
its children. |
42 |
|
(DockFrame): Listen for EVT_CLOSE and destroy all children. |
43 |
|
|
44 |
|
* Thuban/UI/legend.py (LegendPanel.Destroy): New. Cleans up |
45 |
|
when then window is told to close. |
46 |
|
(LegendTree._OnMsgLayerChanged): Fixes a seg fault bug. See |
47 |
|
comment in source for more info. |
48 |
|
|
49 |
|
* Thuban/UI/main.py: Show the legend by default when Thuban starts. |
50 |
|
|
51 |
|
* Thuban/UI/mainwindow.py: Renamed OnClose to _OnClose for |
52 |
|
symmetry with other such methods. |
53 |
|
(MainWindow.ShowLegend): Show the legend docked by default. |
54 |
|
|
55 |
|
2003-03-28 Jonathan Coles <[email protected]> |
56 |
|
|
57 |
|
* Thuban/UI/classifier.py: Support for highlighting a specific |
58 |
|
group within the grid when the classification dialog is opened. |
59 |
|
Also contains a lot of debugging printouts which will later |
60 |
|
be removed. |
61 |
|
|
62 |
|
* Thuban/UI/dock.py: Complete rework on the dock code so that |
63 |
|
that it is fairly removed from the rest of the Thuban application. |
64 |
|
It is easy to add new docks which the rest of the program having |
65 |
|
to be aware of them. |
66 |
|
|
67 |
|
* Thuban/UI/legend.py: Modifications to support selecting a |
68 |
|
specific group in the classification dialog. Changed how layers |
69 |
|
are drawn when the layer is visible/invisible. |
70 |
|
|
71 |
|
* Thuban/UI/mainwindow.py: Removed legend specific code and |
72 |
|
replaced it with calls to the new dock code. |
73 |
|
|
74 |
|
* Thuban/UI/renderer.py (MapRenderer.__init__): Added assert |
75 |
|
to check if scale > 0. Trying to track down a divide by zero. |
76 |
|
|
77 |
2003-03-26 Jonathan Coles <[email protected]> |
2003-03-26 Jonathan Coles <[email protected]> |
78 |
|
|
79 |
* Thuban/UI/legend.py: Removed unnecessary LegendDialog class. |
* Thuban/UI/legend.py: Removed unnecessary LegendDialog class. |