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