1 |
|
2003-03-28 Jonathan Coles <[email protected]> |
2 |
|
|
3 |
|
* Thuban/UI/classifier.py: Support for highlighting a specific |
4 |
|
group within the grid when the classification dialog is opened. |
5 |
|
Also contains a lot of debugging printouts which will later |
6 |
|
be removed. |
7 |
|
|
8 |
|
* Thuban/UI/dock.py: Complete rework on the dock code so that |
9 |
|
that it is fairly removed from the rest of the Thuban application. |
10 |
|
It is easy to add new docks which the rest of the program having |
11 |
|
to be aware of them. |
12 |
|
|
13 |
|
* Thuban/UI/legend.py: Modifications to support selecting a |
14 |
|
specific group in the classification dialog. Changed how layers |
15 |
|
are drawn when the layer is visible/invisible. |
16 |
|
|
17 |
|
* Thuban/UI/mainwindow.py: Removed legend specific code and |
18 |
|
replaced it with calls to the new dock code. |
19 |
|
|
20 |
|
* Thuban/UI/renderer.py (MapRenderer.__init__): Added assert |
21 |
|
to check if scale > 0. Trying to track down a divide by zero. |
22 |
|
|
23 |
|
2003-03-26 Jonathan Coles <[email protected]> |
24 |
|
|
25 |
|
* Thuban/UI/legend.py: Removed unnecessary LegendDialog class. |
26 |
|
(LegendPanel): Removed _OnDock()/_OnUnDock() methods which are |
27 |
|
now part of DockableWindow. |
28 |
|
(LegendPanel.DoOnSelChanged): Select the current layer in the |
29 |
|
map. |
30 |
|
(LegendTree._OnSelChanged): Call LegendPanel.DoOnSelChanged() |
31 |
|
with the selected layer and/or group. |
32 |
|
|
33 |
|
2003-03-26 Jonathan Coles <[email protected]> |
34 |
|
|
35 |
|
This putback contains the code for dockable windows. There is |
36 |
|
no support in wxWindows as of this date for windows that can |
37 |
|
attach themselves to other windows. |
38 |
|
|
39 |
|
The current model contains a DockableWindow which has a parent |
40 |
|
window for when it is detached and a dock window that it puts |
41 |
|
its contents in when it is docked. The contents of a DockableWindow |
42 |
|
must be a DockPanel. DockPanel itself derives from wxPanel. |
43 |
|
|
44 |
|
* Thuban/Model/layer.py (Layer.ClassChanged): Send a LAYER_CHANGED |
45 |
|
message, not a LAYER_LEGEND_CHANGED message. |
46 |
|
|
47 |
|
* Thuban/Model/map.py (Map): Forward LAYER_CHANGED messages. |
48 |
|
|
49 |
|
* Thuban/UI/classifier.py (Classifier.__init__): Use wxADJUST_MINSIZE |
50 |
|
as one of the style properties for the fieldTypeText item to |
51 |
|
be sure that its size is correct when the text changes. |
52 |
|
|
53 |
|
* Thuban/UI/dock.py: New. Classes for the DockPanel and |
54 |
|
DockableWindow. |
55 |
|
|
56 |
|
* Thuban/UI/legend.py: Added some more buttons and made the |
57 |
|
LegendPanel a DockPanel. |
58 |
|
|
59 |
|
* Thuban/UI/mainwindow.py: Added sash windows to the main window |
60 |
|
and supporting functions for manipulating the sashes. |
61 |
|
(MainWindow.ShowLegend): Create a DockableWindow with the |
62 |
|
LegendPanel as the contents. |
63 |
|
|
64 |
|
* Thuban/UI/messages.py: Added DOCKABLE_* messages |
65 |
|
|
66 |
|
* Thuban/UI/view.py (MapCanves.SetMap): Listen for LAYER_CHANGED, |
67 |
|
not LAYER_LEGEND_CHANGED, messages. |
68 |
|
|
69 |
|
2003-03-25 Jonathan Coles <[email protected]> |
70 |
|
|
71 |
|
* setup.py: Added custom script bdist_rpm_build_script so that |
72 |
|
when the rpm is built the path to wx-config is correct. |
73 |
|
|
74 |
|
* setup.cfg: Added line saying to use the custom build script |
75 |
|
|
76 |
|
2003-03-20 Jonathan Coles <[email protected]> |
77 |
|
|
78 |
|
Initial implementation of the Legend. |
79 |
|
|
80 |
|
* Thuban/UI/legend.py: New. Creates a window that shows the map's |
81 |
|
Legend information and allows the user to add/modify classifications |
82 |
|
and how the layers are drawn on the map. |
83 |
|
|
84 |
|
* setup.py: New command 'build_docs' which currently uses |
85 |
|
happydoc to generate html documentation for Thuban. |
86 |
|
|
87 |
|
* Thuban/Model/classification.py (ClassGroup.GetDisplayText): New. |
88 |
|
Returns a string which is appropriately describes the group. |
89 |
|
|
90 |
|
* Thuban/Model/layer.py (Layer.SetClassification): Generate a |
91 |
|
LAYER_CHANGED event instead of a LAYER_LEGEND_CHANGED event. |
92 |
|
|
93 |
|
* Thuban/Model/map.py (Map): Rename messages and use new, more |
94 |
|
specific, messages. |
95 |
|
|
96 |
|
* Thuban/Model/messages.py: New message to indicate that a layer's |
97 |
|
data has changed (LAYER_CHANGED). New map messages to indicate |
98 |
|
when layers have been added/removed/changed or if the stacking order |
99 |
|
of the layers has changed. |
100 |
|
|
101 |
|
* Thuban/Model/session.py: Rename and use new messages. |
102 |
|
|
103 |
|
* Thuban/UI/classifier.py: Remember if any changes have actually |
104 |
|
been applied so that if the dialog is cancelled without an application |
105 |
|
of changes we don't have to set a new classification. |
106 |
|
(ClassDataPreviewer): Pulled out the window specific code and put it |
107 |
|
ClassDataPreviewWindow. ClassDataPreviewer can then be used to draw |
108 |
|
symbols on any DC. |
109 |
|
|
110 |
|
* Thuban/UI/mainwindow.py: New code to open the legend. |
111 |
|
|
112 |
|
* Thuban/UI/view.py: Use new message names. |
113 |
|
|
114 |
|
2003-03-19 Jonathan Coles <[email protected]> |
115 |
|
|
116 |
|
* Thuban/UI/main.py (verify_versions): New. Checks the versions |
117 |
|
of Python, wxPython, and some other libraries. |
118 |
|
|
119 |
|
* extensions/thuban/wxproj.cpp (check_version): Checks the given |
120 |
|
version against what wxproj was compiled with. |
121 |
|
(check_version_gtk): If wxproj was compiled with gtk then check |
122 |
|
the given version against the version of the gtk library |
123 |
|
currently being used. |
124 |
|
|
125 |
2003-03-14 Bernhard Herzog <[email protected]> |
2003-03-14 Bernhard Herzog <[email protected]> |
126 |
|
|
127 |
* test/test_command.py: Run the tests when the module is run as a |
* test/test_command.py: Run the tests when the module is run as a |