1 |
|
2003-04-01 Jonathan Coles <[email protected]> |
2 |
|
|
3 |
|
* Thuban/UI/renderer.pyi (MapRenderer.draw_point_shape): Check |
4 |
|
that there actually are points in the returned list of points |
5 |
|
before trying to index into the list. The list may be empty if |
6 |
|
the shape is a Null Shape. |
7 |
|
|
8 |
|
2003-04-01 Bernhard Herzog <[email protected]> |
9 |
|
|
10 |
|
* test/test_map.py: Don't use from <module> import * |
11 |
|
|
12 |
|
2003-04-01 Jonathan Coles <[email protected]> |
13 |
|
|
14 |
|
* Thuban/Model/session.py: Use LAYER_CHANGED instead of |
15 |
|
LAYER_LEGEND_CHANGED |
16 |
|
|
17 |
|
* Thuban/UI/dock.py (DockableWindow._OnButtonClose): Call |
18 |
|
self.Destroy() to close the window after yesterday's changes. |
19 |
|
|
20 |
|
* test/test_map.py, test/test_session.py: Fix messages that |
21 |
|
are sent from maps and layers. |
22 |
|
|
23 |
|
2003-03-31 Jonathan Coles <[email protected]> |
24 |
|
|
25 |
|
* Thuban/UI/classifier.py: Commented out some debugging statements. |
26 |
|
(ClassDataPreviewer.Draw): Draw rectangles for polygon layers per |
27 |
|
RTbug #1769. |
28 |
|
|
29 |
|
* Thuban/UI/dock.py (DockableWindow.UnDock): Restore size and |
30 |
|
position (although position doesn't work yet under GTK). |
31 |
|
(DockableWindow.Destroy): New. Called when the window must be |
32 |
|
closed. Namely needed when the DockFrame closes and must close |
33 |
|
its children. |
34 |
|
(DockFrame): Listen for EVT_CLOSE and destroy all children. |
35 |
|
|
36 |
|
* Thuban/UI/legend.py (LegendPanel.Destroy): New. Cleans up |
37 |
|
when then window is told to close. |
38 |
|
(LegendTree._OnMsgLayerChanged): Fixes a seg fault bug. See |
39 |
|
comment in source for more info. |
40 |
|
|
41 |
|
* Thuban/UI/main.py: Show the legend by default when Thuban starts. |
42 |
|
|
43 |
|
* Thuban/UI/mainwindow.py: Renamed OnClose to _OnClose for |
44 |
|
symmetry with other such methods. |
45 |
|
(MainWindow.ShowLegend): Show the legend docked by default. |
46 |
|
|
47 |
|
2003-03-28 Jonathan Coles <[email protected]> |
48 |
|
|
49 |
|
* Thuban/UI/classifier.py: Support for highlighting a specific |
50 |
|
group within the grid when the classification dialog is opened. |
51 |
|
Also contains a lot of debugging printouts which will later |
52 |
|
be removed. |
53 |
|
|
54 |
|
* Thuban/UI/dock.py: Complete rework on the dock code so that |
55 |
|
that it is fairly removed from the rest of the Thuban application. |
56 |
|
It is easy to add new docks which the rest of the program having |
57 |
|
to be aware of them. |
58 |
|
|
59 |
|
* Thuban/UI/legend.py: Modifications to support selecting a |
60 |
|
specific group in the classification dialog. Changed how layers |
61 |
|
are drawn when the layer is visible/invisible. |
62 |
|
|
63 |
|
* Thuban/UI/mainwindow.py: Removed legend specific code and |
64 |
|
replaced it with calls to the new dock code. |
65 |
|
|
66 |
|
* Thuban/UI/renderer.py (MapRenderer.__init__): Added assert |
67 |
|
to check if scale > 0. Trying to track down a divide by zero. |
68 |
|
|
69 |
|
2003-03-26 Jonathan Coles <[email protected]> |
70 |
|
|
71 |
|
* Thuban/UI/legend.py: Removed unnecessary LegendDialog class. |
72 |
|
(LegendPanel): Removed _OnDock()/_OnUnDock() methods which are |
73 |
|
now part of DockableWindow. |
74 |
|
(LegendPanel.DoOnSelChanged): Select the current layer in the |
75 |
|
map. |
76 |
|
(LegendTree._OnSelChanged): Call LegendPanel.DoOnSelChanged() |
77 |
|
with the selected layer and/or group. |
78 |
|
|
79 |
|
2003-03-26 Jonathan Coles <[email protected]> |
80 |
|
|
81 |
|
This putback contains the code for dockable windows. There is |
82 |
|
no support in wxWindows as of this date for windows that can |
83 |
|
attach themselves to other windows. |
84 |
|
|
85 |
|
The current model contains a DockableWindow which has a parent |
86 |
|
window for when it is detached and a dock window that it puts |
87 |
|
its contents in when it is docked. The contents of a DockableWindow |
88 |
|
must be a DockPanel. DockPanel itself derives from wxPanel. |
89 |
|
|
90 |
|
* Thuban/Model/layer.py (Layer.ClassChanged): Send a LAYER_CHANGED |
91 |
|
message, not a LAYER_LEGEND_CHANGED message. |
92 |
|
|
93 |
|
* Thuban/Model/map.py (Map): Forward LAYER_CHANGED messages. |
94 |
|
|
95 |
|
* Thuban/UI/classifier.py (Classifier.__init__): Use wxADJUST_MINSIZE |
96 |
|
as one of the style properties for the fieldTypeText item to |
97 |
|
be sure that its size is correct when the text changes. |
98 |
|
|
99 |
|
* Thuban/UI/dock.py: New. Classes for the DockPanel and |
100 |
|
DockableWindow. |
101 |
|
|
102 |
|
* Thuban/UI/legend.py: Added some more buttons and made the |
103 |
|
LegendPanel a DockPanel. |
104 |
|
|
105 |
|
* Thuban/UI/mainwindow.py: Added sash windows to the main window |
106 |
|
and supporting functions for manipulating the sashes. |
107 |
|
(MainWindow.ShowLegend): Create a DockableWindow with the |
108 |
|
LegendPanel as the contents. |
109 |
|
|
110 |
|
* Thuban/UI/messages.py: Added DOCKABLE_* messages |
111 |
|
|
112 |
|
* Thuban/UI/view.py (MapCanves.SetMap): Listen for LAYER_CHANGED, |
113 |
|
not LAYER_LEGEND_CHANGED, messages. |
114 |
|
|
115 |
2003-03-25 Jonathan Coles <[email protected]> |
2003-03-25 Jonathan Coles <[email protected]> |
116 |
|
|
117 |
* setup.py: Added custom script bdist_rpm_build_script so that |
* setup.py: Added custom script bdist_rpm_build_script so that |