1 |
|
2003-02-11 Bernhard Herzog <[email protected]> |
2 |
|
|
3 |
|
* Thuban/UI/application.py (ThubanApplication.splash_screen): New |
4 |
|
method to create a splash screen. |
5 |
|
(ThubanApplication.ShowMainWindow): New. Show the main window. |
6 |
|
Needed so the splash screen can display the mainwindow |
7 |
|
(ThubanApplication.OnInit): Call the |
8 |
|
new splash_screen method to determine whether the application |
9 |
|
should display a splash screen. If it displays a splash screen do |
10 |
|
not immediately show the main window. |
11 |
|
|
12 |
|
2003-02-11 Jonathan Coles <[email protected]> |
13 |
|
|
14 |
|
* Thuban/Model/classification.py: Added import line to fix |
15 |
|
feature conflicts between running on python2.2 and python2.1. |
16 |
|
|
17 |
|
* Thuban/UI/classifier.py (ClassTable): Didn't need to hang |
18 |
|
onto the clinfo parameter, so removed the deepcopy(). |
19 |
|
|
20 |
|
2003-02-10 Jonathan Coles <[email protected]> |
21 |
|
|
22 |
|
* Thuban/Model/save.py (Saver.open_element, Saver.close_element): |
23 |
|
Added element_open variable to track opening and closing of tags |
24 |
|
so that tags that don't span more than one line are closed with |
25 |
|
/> instead of </tag_name>. Use the GetDefault*() methods of |
26 |
|
the Classification class. |
27 |
|
|
28 |
|
* Thuban/Model/classification.py (Classificaton): Added set and |
29 |
|
get methods for the default data. The class also takes a layer |
30 |
|
reference so that modification messages can be sent. Fixed the |
31 |
|
methods to use the new ClassData class. |
32 |
|
(ClassData): New class to encapsulate the classification data |
33 |
|
|
34 |
|
* Thuban/Model/layer.py (Layer): Remove the |
35 |
|
Set[Fill|Stroke|StrokeWidth]() methods. Code should call the |
36 |
|
SetDefault*() methods on the layer's classification object. |
37 |
|
(Layer.__init__): Use the new SetDefault*() methods in the |
38 |
|
Classification class. |
39 |
|
|
40 |
|
* Thuban/Model/load.py (ProcessSession): Use the new ClassData |
41 |
|
object instead of a dictionary. |
42 |
|
|
43 |
|
* Thuban/UI/classifier.py (ClassRenderer): New class to |
44 |
|
draw the classifications in the dialog box's table. |
45 |
|
(Classifier): Modified to use the ClassRenderer class. |
46 |
|
|
47 |
|
* Thuban/UI/mainwindow.py (MainWindow): Use the SetDefault*() |
48 |
|
methods of the Classification class. |
49 |
|
|
50 |
|
* Thuban/UI/renderer.py (MapRenderer): Use the Get*() methods |
51 |
|
of the ClassData class. |
52 |
|
|
53 |
|
* test/test_classification.py, test/test_layer.py, |
54 |
|
test/test_map.py, test/test_session.py: Fix the tests to work |
55 |
|
with the above code changes. |
56 |
|
|
57 |
|
2003-02-03 Jonathan Coles <[email protected]> |
58 |
|
|
59 |
|
* Thuban/Model/classification.py (Classification): Added getNull() |
60 |
|
to return the NullData reference |
61 |
|
|
62 |
|
* Thuban/Model/layer.py (Layer.SetFill, Layer.SetStroke, |
63 |
|
Layer.SetStrokeWidth): Modified these functions to change the |
64 |
|
null data in the classification rather than keep these values |
65 |
|
directly in the Layer class. Menu options to change these values |
66 |
|
work again. |
67 |
|
|
68 |
|
2003-01-28 Jonathan Coles <[email protected]> |
69 |
|
|
70 |
|
* Thuban/UI/classifier.py (Classifier): Resolved merging conflicts. |
71 |
|
Fixed crashing problem on some systems. Dialog box shows |
72 |
|
classification data. |
73 |
|
|
74 |
|
* Thuban/UI/tree.py (SessionTreeCtrl.add_items): Handle drawing |
75 |
|
Colors in the tree view. |
76 |
|
|
77 |
|
* Thuban/Model/layer.py (Layer.TreeInfo): Added a call to build |
78 |
|
the tree info for classifications. Commented out unnecessary lines. |
79 |
|
|
80 |
|
* Thuban/Model/classification.py (Classification.TreeInfo): New |
81 |
|
function to add information about the classification into the |
82 |
|
tree view. |
83 |
|
|
84 |
|
2003-01-27 Jan-Oliver Wagner <[email protected]> |
85 |
|
|
86 |
|
* Thuban/__init__.py (_): New. |
87 |
|
|
88 |
|
* Thuban/Model/classification.py, Thuban/Model/extension.py, |
89 |
|
Thuban/Model/layer.py, Thuban/Model/load.py, Thuban/Model/map.py, |
90 |
|
Thuban/Model/session.py, Thuban/UI/application.py, Thuban/UI/classifier.py, |
91 |
|
Thuban/UI/context.py, Thuban/UI/controls.py, Thuban/UI/identifyview.py, |
92 |
|
Thuban/UI/labeldialog.py, Thuban/UI/mainwindow.py, Thuban/UI/menu.py, |
93 |
|
Thuban/UI/proj4dialog.py, Thuban/UI/renderer.py, Thuban/UI/tree.py, |
94 |
|
Thuban/Lib/connector.py, Thuban/Lib/fileutil.py: |
95 |
|
Replace user string by _() for i18n. |
96 |
|
|
97 |
|
2003-01-27 Jonathan Coles <[email protected]> |
98 |
|
|
99 |
|
* Thuban/Model/layer.py: Classification initialization calls. |
100 |
|
|
101 |
|
* Thuban/Model/classification.py: Created class to encapsulate |
102 |
|
a layer classification. Supports specific data points and |
103 |
|
ranges. |
104 |
|
|
105 |
|
* Thuban/Model/load.py: Added support for loading classification |
106 |
|
information. |
107 |
|
|
108 |
|
* Thuban/Model/save.py: Added support for saving classification |
109 |
|
information. |
110 |
|
|
111 |
|
* Thuban/UI/classifier.py: Initial class for a dialog box for |
112 |
|
specifying classification information. |
113 |
|
|
114 |
|
* Thuban/UI/mainwindows.py: Support for opening the classifier |
115 |
|
dialog. |
116 |
|
|
117 |
|
* Thuban/UI/renderer.py: Support for drawing a layer with the |
118 |
|
classification information. |
119 |
|
|
120 |
|
* Data/iceland_sample_class.thuban: iceland_sample with |
121 |
|
classification data. |
122 |
|
|
123 |
|
* test/test_classification: Tests for the Classification class. |
124 |
|
|
125 |
|
2002-12-09 Bernhard Herzog <[email protected]> |
126 |
|
|
127 |
|
* test/test_command.py: New. Tests for the command classes. |
128 |
|
|
129 |
|
* Thuban/UI/command.py (ToolCommand): New class for tool commands. |
130 |
|
(Command.IsTool): New method to distinguish between command |
131 |
|
switching tools and other commands. |
132 |
|
|
133 |
|
* Thuban/UI/view.py (MapCanvas.SelectTool): New method to select |
134 |
|
the tool to avoid direct assignments to instance variables |
135 |
|
(MapCanvas.ZoomInTool, MapCanvas.ZoomOutTool, MapCanvas.PanTool) |
136 |
|
(MapCanvas.IdentifyTool, MapCanvas.LabelTool): Use SelectTool to |
137 |
|
change the tool |
138 |
|
|
139 |
|
* Thuban/UI/mainwindow.py (MainWindow.update_command_ui): If an |
140 |
|
active tool's command turns insensitive, disable the tool. |
141 |
|
(_tool_command): Use the new ToolCommand class |
142 |
|
|
143 |
|
* Examples/simple_extensions/simple_tool.py (simple_tool): Use the |
144 |
|
SelectTool method to change the tool |
145 |
|
(iconfile): Use the ToolCommand class |
146 |
|
|
147 |
|
2002-12-03 Bernhard Herzog <[email protected]> |
148 |
|
|
149 |
|
* Thuban/UI/tree.py (SessionTreeCtrl.normalize_selection): Handle |
150 |
|
the case of selected items that are not children of Layers or Maps |
151 |
|
properly. Previously this bug would trigger an assertion in |
152 |
|
wxWindows. |
153 |
|
|
154 |
|
2002-11-06 Frank Koormann <[email protected]> |
155 |
|
|
156 |
|
* Thuban/UI/mainwindow.py: Altered the order of tools in the |
157 |
|
toolbar: First now are all navigation tools (Zoom In/Out, Pan, |
158 |
|
Full Extent). |
159 |
|
|
160 |
|
2002-10-23 Bernhard Herzog <[email protected]> |
161 |
|
|
162 |
|
* setup.py (setup call): version now 0.1.3 |
163 |
|
|
164 |
|
* MANIFEST.in: Add the files in test/ |
165 |
|
|
166 |
|
* test/README: Add note about tests requiring the iceland data |
167 |
|
|
168 |
|
* Thuban/UI/mainwindow.py (MainWindow.About): Add 2002 to |
169 |
|
copyright notice. |
170 |
|
|
171 |
|
2002-10-18 Bernhard Herzog <[email protected]> |
172 |
|
|
173 |
|
* test/test_map.py |
174 |
|
(TestMapWithContents.test_projected_bounding_box): Use an explicit |
175 |
|
epsilon. |
176 |
|
|
177 |
|
* test/support.py (FloatComparisonMixin.assertFloatEqual) |
178 |
|
(FloatComparisonMixin.assertFloatSeqEqual): give a more useful |
179 |
|
message if the assertion fails and don't return the return value |
180 |
|
of self.assert_. In assertFloatSeqEqual the return meant that not |
181 |
|
all items of the sequence were compared. |
182 |
|
|
183 |
|
2002-09-20 Bernhard Herzog <[email protected]> |
184 |
|
|
185 |
|
* test/test_fileutil.py: New. Test cases for Thuban.Lib.fileutil |
186 |
|
|
187 |
|
* Thuban/Lib/fileutil.py: Fixup some whitespace and typos |
188 |
|
|
189 |
|
* test/test_map.py (TestMapWithContents.test_tree_info): Create |
190 |
|
the string with the bounding box on the fly because of platform |
191 |
|
differences in the way %g is handled. |
192 |
|
|
193 |
|
* test/test_layer.py (TestLayer.test_empty_layer): Create an empty |
194 |
|
DBFfile too because Thuban layers can't yet cope missing DBF |
195 |
|
files. |
196 |
|
|
197 |
|
2002-09-20 Bernhard Herzog <[email protected]> |
198 |
|
|
199 |
|
* test/test_menu.py: Use initthuban instead of |
200 |
|
add_thuban_dir_to_path to initialize Thuban. |
201 |
|
|
202 |
|
* test/support.py (FloatComparisonMixin.assertFloatEqual): New. |
203 |
|
Mixin class for float comparisons |
204 |
|
(SubscriberMixin): New. Mixin class to test messages sent through |
205 |
|
the Connector class |
206 |
|
|
207 |
|
* test/README: Fix a typo and add the -v flag to the command for |
208 |
|
individual tests |
209 |
|
|
210 |
|
* test/test_session.py: New. Test cases for Thuban.Model.session |
211 |
|
|
212 |
|
* test/test_proj.py: New. Test cases for Thuban.Model.proj |
213 |
|
|
214 |
|
* test/test_map.py: New. Test cases for Thuban.Model.map |
215 |
|
|
216 |
|
* test/test_layer.py: New. Test cases for Thuban.Model.layer |
217 |
|
|
218 |
|
* test/test_label.py: New. Test cases for Thuban.Model.label |
219 |
|
|
220 |
|
* test/test_connector.py: New. Test cases for Thuban.Lib.connector |
221 |
|
|
222 |
|
* test/test_color.py: New. Test cases for Thuban.Model.color |
223 |
|
|
224 |
|
* test/test_base.py: New. Test cases for Thuban.Model.base |
225 |
|
|
226 |
|
2002-09-13 Bernhard Herzog <[email protected]> |
227 |
|
|
228 |
|
* Thuban/Model/session.py (Session.forwarded_channels): Forward |
229 |
|
the CHANGED channel too. |
230 |
|
|
231 |
|
* Thuban/Model/map.py (Map.forwarded_channels): Forward the |
232 |
|
CHANGED channel too. |
233 |
|
(Map.__init__): Call the Modifiable constructor as well. |
234 |
|
|
235 |
|
* Thuban/Model/base.py (Modifiable.UnsetModified): Issue a CHANGED |
236 |
|
event if the modified flag changes. |
237 |
|
(Modifiable.changed): Tweak the doc-string. |
238 |
|
|
239 |
|
* Thuban/UI/mainwindow.py (MainWindow.view_position_changed) |
240 |
|
(MainWindow.set_position_text): Put the code that puts the text |
241 |
|
with the mouse position into the status bar into the new method |
242 |
|
set_position_text so that it can overwritten in derived classes. |
243 |
|
|
244 |
|
2002-09-12 Bernhard Herzog <[email protected]> |
245 |
|
|
246 |
|
* Thuban/UI/mainwindow.py (MainWindow.RunMessageBox): Center the |
247 |
|
message box on the main window. |
248 |
|
|
249 |
|
2002-09-11 Bernhard Herzog <[email protected]> |
250 |
|
|
251 |
|
* Thuban/UI/mainwindow.py: Underline the 'x' in "Exit" instead of |
252 |
|
the 'E' because it's less likely to interfere with other menu |
253 |
|
entries. |
254 |
|
(MainWindow.build_menu): remove an incorrect comment. |
255 |
|
|
256 |
|
2002-09-10 Bernhard Herzog <[email protected]> |
257 |
|
|
258 |
|
* Thuban/UI/mainwindow.py (MainWindow.Map): New. |
259 |
|
(_tool_command): Add sensitive parameter |
260 |
|
(_has_visible_map): Sensitivity callback to tools and other |
261 |
|
commands that require a visible map. Use it in map_zoom_in_tool, |
262 |
|
map_zoom_out_tool, map_pan_tool, map_identify_tool, map_label_tool |
263 |
|
and map_full_extent |
264 |
|
|
265 |
|
2002-09-06 Bernhard Herzog <[email protected]> |
266 |
|
|
267 |
|
* Thuban/UI/mainwindow.py (MainWindow.OnClose): Unsubscribe |
268 |
|
VIEW_POSITION |
269 |
|
|
270 |
|
2002-09-04 Frank Koormann <[email protected]> |
271 |
|
|
272 |
|
* Resources/Bitmaps/fullextent.xpm: Updated Icon (removed "potatoe") |
273 |
|
|
274 |
2002-09-02 Bernhard Herzog <[email protected]> |
2002-09-02 Bernhard Herzog <[email protected]> |
275 |
|
|
276 |
* Thuban/UI/view.py: Get rid of the idle redraw. This is done by |
* Thuban/UI/view.py: Get rid of the idle redraw. This is done by |