1 |
|
2003-03-04 Bernhard Herzog <[email protected]> |
2 |
|
|
3 |
|
* setup.py (thuban_build_py.build): Add a comment about distutils in |
4 |
|
Python 2.3 containing some of the functionality we implement in |
5 |
|
setup.py ourselves. |
6 |
|
|
7 |
|
* Thuban/UI/classifier.py (ClassGrid.__init__): Set the table |
8 |
|
before the selection mode. Doing it the other way round triggers |
9 |
|
an assertion in wxWindows. |
10 |
|
|
11 |
|
* Thuban/Model/save.py (escape): Fix typo in doc-string |
12 |
|
|
13 |
|
* Thuban/Model/classification.py: Remove unnecessary wxPython |
14 |
|
import |
15 |
|
|
16 |
|
2003-03-04 Jonathan Coles <[email protected]> |
17 |
|
|
18 |
|
* Thuban/Model/classification.py (ClassGroupRange.GetProperties): |
19 |
|
Parameter 'value' should default to None. |
20 |
|
|
21 |
|
* Thuban/UI/mainwindow.py: Use Layer.GetClassification() since |
22 |
|
the class attribute __classification is now private. |
23 |
|
|
24 |
|
* Thuban/UI/classifier.py (ClassGrid): Moved OnCellDClick() from |
25 |
|
Classifier to ClassGrid. Added support for removing selected rows, |
26 |
|
which including code for keeping track of when cells are selected, |
27 |
|
and deselected. |
28 |
|
(ClassTable): Support for added/removing rows. Fixed a problem |
29 |
|
with __ParseInput whereby it would not allow strings (only numbers) |
30 |
|
to be entered. |
31 |
|
(Classifier): Added button and supporting code for removing |
32 |
|
selected rows. |
33 |
|
|
34 |
|
2003-02-27 Jonathan Coles <[email protected]> |
35 |
|
|
36 |
|
* Thuban/common.py: Moved color conversion functions into |
37 |
|
Thuban/UI/common.py. |
38 |
|
(Str2Num): Now converts the float (not the string) to a long/int |
39 |
|
so that an exception isn't thrown. |
40 |
|
|
41 |
|
* Thuban/UI/common.py: Common functions used in several UI modules |
42 |
|
|
43 |
|
* Thuban/Model/classification.py: Changed the class hierarchy |
44 |
|
so that a Classification consists of Groups which return |
45 |
|
Properties when a value matches a Group. |
46 |
|
|
47 |
|
* Thuban/Model/layer.py: Fixed name resolution problem. |
48 |
|
|
49 |
|
* Thuban/Model/load.py: Use new Classification and Group functions. |
50 |
|
|
51 |
|
* Thuban/Model/save.py (Saver.write_attribs): Fixes a test case |
52 |
|
failure. |
53 |
|
(Saver.write_classification): Use new Classification and Group |
54 |
|
functions. |
55 |
|
|
56 |
|
* Thuban/UI/classifier.py: Changes to use new Classification and Group |
57 |
|
functions. Fix to create a tuple with a single value instead of |
58 |
|
simply returning the value. |
59 |
|
|
60 |
|
* Thuban/UI/renderer.py: Use new Classification and Group functions. |
61 |
|
Use common.py functions. |
62 |
|
|
63 |
|
* Thuban/UI/tree.py: Use common.py functions. |
64 |
|
|
65 |
|
* test/test_classification.py: Use new Classification and Group |
66 |
|
classes. |
67 |
|
|
68 |
|
2003-02-24 Jonathan Coles <[email protected]> |
69 |
|
|
70 |
|
* Thuban/common.py (Color2wxColour, wxColour2Color): Conversion |
71 |
|
functions from Thuban color objects to wxWindow colour objects. |
72 |
|
|
73 |
|
* Thuban/Model/classification.py (Classification): Renamed |
74 |
|
GetProperties() to GetClassData(). Used the new iterator |
75 |
|
in TreeInfo(). |
76 |
|
(ClassIterator): Iterator implementation to iterate over the |
77 |
|
ClassData objects in a classification object. |
78 |
|
|
79 |
|
* Thuban/Model/save.py (Saver.write_classificaton): Uses |
80 |
|
the new iterator to save the classification information. |
81 |
|
|
82 |
|
* Thuban/UI/classifier.py (SelectPropertiesDialog): Support |
83 |
|
for changing the stroke and fill colors and previewing the |
84 |
|
changes. |
85 |
|
|
86 |
|
* Thuban/UI/mainwindow.py (MainWindow.OpenSession, |
87 |
|
MainWindow.SaveSessionAs): Text string changes so the dialogs |
88 |
|
have more meaningful titles. |
89 |
|
|
90 |
|
* Thuban/UI/renderer.py (MapRenderer.draw_shape_layer): Change |
91 |
|
Classification method name from GetProperties to GetClassData. |
92 |
|
|
93 |
|
* Thuban/UI/view.py (MapCanvas.find_shape_at): Use method calls |
94 |
|
instead of accessing now non-existent class variables. |
95 |
|
|
96 |
|
2003-02-24 Bernhard Herzog <[email protected]> |
97 |
|
|
98 |
|
* Thuban/UI/renderer.py (MapRenderer.draw_shape_layer): Remove |
99 |
|
unneeded Shape() call. Rendering is substantially faster without |
100 |
|
it and it avoids some problems with broken shape files. |
101 |
|
|
102 |
|
2003-02-20 Frank Koormann <[email protected]> |
103 |
|
|
104 |
|
Force minimal size of identify and label dialogs. The autosizing |
105 |
|
looked too ugly. |
106 |
|
|
107 |
|
* Thuban/UI/controls.py (RecordListCtrl): Set minimal width for columns. |
108 |
|
* Thuban/UI/labeldialog.py (LabelDialog.dialog_layout): |
109 |
|
Set size of listctrl. |
110 |
|
* Thuban/UI/identifyview.py (IdentifyView.__init__): |
111 |
|
Set size of dialog. |
112 |
|
|
113 |
|
2003-02-19 Jonathan Coles <[email protected]> |
114 |
|
|
115 |
|
* test/test_classification.py, test/test_layer.py, |
116 |
|
test/test_load.py, test/test_map.py, test/test_session.py: |
117 |
|
Updated the tests to use the new functions that are in the |
118 |
|
respective classes. |
119 |
|
|
120 |
|
* Thuban/Model/classification.py (Classification): |
121 |
|
Uses the new ClassData* classes. Modification messages are |
122 |
|
passed up to the parent layer (if it exists). |
123 |
|
(ClassData): New class to encapsulate the common data in each |
124 |
|
classification property. |
125 |
|
(ClassDataDefault): Represents the Default class. data. |
126 |
|
(ClassDataPoint): Represents a single class. data point |
127 |
|
(ClassDataRange): Represents a class. range |
128 |
|
(ClassDataMap): Represents a class. map (unused). |
129 |
|
|
130 |
|
* Thuban/Model/color.py: Added Color.None to represent something |
131 |
|
with no color. Color.Black represents the color black. |
132 |
|
(NoColor): Helper class derived from Color to represent something |
133 |
|
with no color. |
134 |
|
|
135 |
|
* Thuban/Model/layer.py (Layer): Removed references to fill, stroke, |
136 |
|
stroke_width attributes. Made the 'classification' attribute private. |
137 |
|
New methods for setting/getting the classification. |
138 |
|
|
139 |
|
* Thuban/Model/load.py (ProcessSession): Use new methods on Layer |
140 |
|
to get the classifcation and use the new ClassData* classes to |
141 |
|
hold the classification data. Use Str2Num to convert numbers |
142 |
|
properly. |
143 |
|
|
144 |
|
* Thuban/Model/save.py (Saver): Use new Color and Classification |
145 |
|
methods |
146 |
|
|
147 |
|
* Thuban/UI/classifier.py (ClassGrid): New class to represent a |
148 |
|
custom grid. |
149 |
|
(ClassTable): Support for editing Values and Labels and for |
150 |
|
changing what type (point or range) of data is stored in each |
151 |
|
property based on how the user enters the data. |
152 |
|
(Classifier): Support for saving the new classifications and |
153 |
|
launching the dialog to edit a property. |
154 |
|
(SelectPropertiesDialog): New class for editing the visual |
155 |
|
properties of a classification (stroke color, width, and fill color) |
156 |
|
(ClassPreviewer): Took the Draw method from ClassRenderer and |
157 |
|
made most of it into this new class. Intend to use this class in |
158 |
|
the SelectPropertiesDialog for previewing changes. |
159 |
|
|
160 |
|
* Thuban/UI/renderer.py: Use new Color and Classification methods. |
161 |
|
|
162 |
|
* Thuban/UI/tree.py: Formatting changes. |
163 |
|
|
164 |
|
* Doc/thuban.dtd: Add 'label' element |
165 |
|
|
166 |
|
* Thuban/common.py: New. Contains common routines used throughout |
167 |
|
the code. |
168 |
|
(Str2Num): Takes a string and converts it to the "best" type of |
169 |
|
number. |
170 |
|
|
171 |
|
2003-02-14 Bernhard Herzog <[email protected]> |
172 |
|
|
173 |
|
* Thuban/UI/view.py (MapCanvas.OnLeftUp): Make sure that the |
174 |
|
dragging flag is always set to 0 even when the tool implementation |
175 |
|
raises an exception |
176 |
|
|
177 |
|
2003-02-11 Bernhard Herzog <[email protected]> |
178 |
|
|
179 |
|
* Thuban/UI/application.py (ThubanApplication.splash_screen): New |
180 |
|
method to create a splash screen. |
181 |
|
(ThubanApplication.ShowMainWindow): New. Show the main window. |
182 |
|
Needed so the splash screen can display the mainwindow |
183 |
|
(ThubanApplication.OnInit): Call the |
184 |
|
new splash_screen method to determine whether the application |
185 |
|
should display a splash screen. If it displays a splash screen do |
186 |
|
not immediately show the main window. |
187 |
|
|
188 |
|
2003-02-11 Jonathan Coles <[email protected]> |
189 |
|
|
190 |
|
* Thuban/Model/classification.py: Added import line to fix |
191 |
|
feature conflicts between running on python2.2 and python2.1. |
192 |
|
|
193 |
|
* Thuban/UI/classifier.py (ClassTable): Didn't need to hang |
194 |
|
onto the clinfo parameter, so removed the deepcopy(). |
195 |
|
|
196 |
|
2003-02-10 Jonathan Coles <[email protected]> |
197 |
|
|
198 |
|
* Thuban/Model/save.py (Saver.open_element, Saver.close_element): |
199 |
|
Added element_open variable to track opening and closing of tags |
200 |
|
so that tags that don't span more than one line are closed with |
201 |
|
/> instead of </tag_name>. Use the GetDefault*() methods of |
202 |
|
the Classification class. |
203 |
|
|
204 |
|
* Thuban/Model/classification.py (Classificaton): Added set and |
205 |
|
get methods for the default data. The class also takes a layer |
206 |
|
reference so that modification messages can be sent. Fixed the |
207 |
|
methods to use the new ClassData class. |
208 |
|
(ClassData): New class to encapsulate the classification data |
209 |
|
|
210 |
|
* Thuban/Model/layer.py (Layer): Remove the |
211 |
|
Set[Fill|Stroke|StrokeWidth]() methods. Code should call the |
212 |
|
SetDefault*() methods on the layer's classification object. |
213 |
|
(Layer.__init__): Use the new SetDefault*() methods in the |
214 |
|
Classification class. |
215 |
|
|
216 |
|
* Thuban/Model/load.py (ProcessSession): Use the new ClassData |
217 |
|
object instead of a dictionary. |
218 |
|
|
219 |
|
* Thuban/UI/classifier.py (ClassRenderer): New class to |
220 |
|
draw the classifications in the dialog box's table. |
221 |
|
(Classifier): Modified to use the ClassRenderer class. |
222 |
|
|
223 |
|
* Thuban/UI/mainwindow.py (MainWindow): Use the SetDefault*() |
224 |
|
methods of the Classification class. |
225 |
|
|
226 |
|
* Thuban/UI/renderer.py (MapRenderer): Use the Get*() methods |
227 |
|
of the ClassData class. |
228 |
|
|
229 |
|
* test/test_classification.py, test/test_layer.py, |
230 |
|
test/test_map.py, test/test_session.py: Fix the tests to work |
231 |
|
with the above code changes. |
232 |
|
|
233 |
|
2003-02-03 Jonathan Coles <[email protected]> |
234 |
|
|
235 |
|
* Thuban/Model/classification.py (Classification): Added getNull() |
236 |
|
to return the NullData reference |
237 |
|
|
238 |
|
* Thuban/Model/layer.py (Layer.SetFill, Layer.SetStroke, |
239 |
|
Layer.SetStrokeWidth): Modified these functions to change the |
240 |
|
null data in the classification rather than keep these values |
241 |
|
directly in the Layer class. Menu options to change these values |
242 |
|
work again. |
243 |
|
|
244 |
|
2003-01-28 Jonathan Coles <[email protected]> |
245 |
|
|
246 |
|
* Thuban/UI/classifier.py (Classifier): Resolved merging conflicts. |
247 |
|
Fixed crashing problem on some systems. Dialog box shows |
248 |
|
classification data. |
249 |
|
|
250 |
|
* Thuban/UI/tree.py (SessionTreeCtrl.add_items): Handle drawing |
251 |
|
Colors in the tree view. |
252 |
|
|
253 |
|
* Thuban/Model/layer.py (Layer.TreeInfo): Added a call to build |
254 |
|
the tree info for classifications. Commented out unnecessary lines. |
255 |
|
|
256 |
|
* Thuban/Model/classification.py (Classification.TreeInfo): New |
257 |
|
function to add information about the classification into the |
258 |
|
tree view. |
259 |
|
|
260 |
|
2003-01-27 Jan-Oliver Wagner <[email protected]> |
261 |
|
|
262 |
|
* Thuban/__init__.py (_): New. |
263 |
|
|
264 |
|
* Thuban/Model/classification.py, Thuban/Model/extension.py, |
265 |
|
Thuban/Model/layer.py, Thuban/Model/load.py, Thuban/Model/map.py, |
266 |
|
Thuban/Model/session.py, Thuban/UI/application.py, |
267 |
|
Thuban/UI/classifier.py, Thuban/UI/context.py, Thuban/UI/controls.py, |
268 |
|
Thuban/UI/identifyview.py, Thuban/UI/labeldialog.py, |
269 |
|
Thuban/UI/mainwindow.py, Thuban/UI/menu.py, Thuban/UI/proj4dialog.py, |
270 |
|
Thuban/UI/renderer.py, Thuban/UI/tree.py, Thuban/Lib/connector.py, |
271 |
|
Thuban/Lib/fileutil.py: Replace user string by _() for i18n. |
272 |
|
|
273 |
|
2003-01-27 Jonathan Coles <[email protected]> |
274 |
|
|
275 |
|
* Thuban/Model/layer.py: Classification initialization calls. |
276 |
|
|
277 |
|
* Thuban/Model/classification.py: Created class to encapsulate |
278 |
|
a layer classification. Supports specific data points and |
279 |
|
ranges. |
280 |
|
|
281 |
|
* Thuban/Model/load.py: Added support for loading classification |
282 |
|
information. |
283 |
|
|
284 |
|
* Thuban/Model/save.py: Added support for saving classification |
285 |
|
information. |
286 |
|
|
287 |
|
* Thuban/UI/classifier.py: Initial class for a dialog box for |
288 |
|
specifying classification information. |
289 |
|
|
290 |
|
* Thuban/UI/mainwindows.py: Support for opening the classifier |
291 |
|
dialog. |
292 |
|
|
293 |
|
* Thuban/UI/renderer.py: Support for drawing a layer with the |
294 |
|
classification information. |
295 |
|
|
296 |
|
* Data/iceland_sample_class.thuban: iceland_sample with |
297 |
|
classification data. |
298 |
|
|
299 |
|
* test/test_classification: Tests for the Classification class. |
300 |
|
|
301 |
|
2002-12-09 Bernhard Herzog <[email protected]> |
302 |
|
|
303 |
|
* test/test_command.py: New. Tests for the command classes. |
304 |
|
|
305 |
|
* Thuban/UI/command.py (ToolCommand): New class for tool commands. |
306 |
|
(Command.IsTool): New method to distinguish between command |
307 |
|
switching tools and other commands. |
308 |
|
|
309 |
|
* Thuban/UI/view.py (MapCanvas.SelectTool): New method to select |
310 |
|
the tool to avoid direct assignments to instance variables |
311 |
|
(MapCanvas.ZoomInTool, MapCanvas.ZoomOutTool, MapCanvas.PanTool) |
312 |
|
(MapCanvas.IdentifyTool, MapCanvas.LabelTool): Use SelectTool to |
313 |
|
change the tool |
314 |
|
|
315 |
|
* Thuban/UI/mainwindow.py (MainWindow.update_command_ui): If an |
316 |
|
active tool's command turns insensitive, disable the tool. |
317 |
|
(_tool_command): Use the new ToolCommand class |
318 |
|
|
319 |
|
* Examples/simple_extensions/simple_tool.py (simple_tool): Use the |
320 |
|
SelectTool method to change the tool |
321 |
|
(iconfile): Use the ToolCommand class |
322 |
|
|
323 |
|
2002-12-03 Bernhard Herzog <[email protected]> |
324 |
|
|
325 |
|
* Thuban/UI/tree.py (SessionTreeCtrl.normalize_selection): Handle |
326 |
|
the case of selected items that are not children of Layers or Maps |
327 |
|
properly. Previously this bug would trigger an assertion in |
328 |
|
wxWindows. |
329 |
|
|
330 |
|
2002-11-06 Frank Koormann <[email protected]> |
331 |
|
|
332 |
|
* Thuban/UI/mainwindow.py: Altered the order of tools in the |
333 |
|
toolbar: First now are all navigation tools (Zoom In/Out, Pan, |
334 |
|
Full Extent). |
335 |
|
|
336 |
|
2002-10-23 Bernhard Herzog <[email protected]> |
337 |
|
|
338 |
|
* setup.py (setup call): version now 0.1.3 |
339 |
|
|
340 |
|
* MANIFEST.in: Add the files in test/ |
341 |
|
|
342 |
|
* test/README: Add note about tests requiring the iceland data |
343 |
|
|
344 |
|
* Thuban/UI/mainwindow.py (MainWindow.About): Add 2002 to |
345 |
|
copyright notice. |
346 |
|
|
347 |
|
2002-10-18 Bernhard Herzog <[email protected]> |
348 |
|
|
349 |
|
* test/test_map.py |
350 |
|
(TestMapWithContents.test_projected_bounding_box): Use an explicit |
351 |
|
epsilon. |
352 |
|
|
353 |
|
* test/support.py (FloatComparisonMixin.assertFloatEqual) |
354 |
|
(FloatComparisonMixin.assertFloatSeqEqual): give a more useful |
355 |
|
message if the assertion fails and don't return the return value |
356 |
|
of self.assert_. In assertFloatSeqEqual the return meant that not |
357 |
|
all items of the sequence were compared. |
358 |
|
|
359 |
|
2002-09-20 Bernhard Herzog <[email protected]> |
360 |
|
|
361 |
|
* test/test_fileutil.py: New. Test cases for Thuban.Lib.fileutil |
362 |
|
|
363 |
|
* Thuban/Lib/fileutil.py: Fixup some whitespace and typos |
364 |
|
|
365 |
|
* test/test_map.py (TestMapWithContents.test_tree_info): Create |
366 |
|
the string with the bounding box on the fly because of platform |
367 |
|
differences in the way %g is handled. |
368 |
|
|
369 |
|
* test/test_layer.py (TestLayer.test_empty_layer): Create an empty |
370 |
|
DBFfile too because Thuban layers can't yet cope missing DBF |
371 |
|
files. |
372 |
|
|
373 |
|
2002-09-20 Bernhard Herzog <[email protected]> |
374 |
|
|
375 |
|
* test/test_menu.py: Use initthuban instead of |
376 |
|
add_thuban_dir_to_path to initialize Thuban. |
377 |
|
|
378 |
|
* test/support.py (FloatComparisonMixin.assertFloatEqual): New. |
379 |
|
Mixin class for float comparisons |
380 |
|
(SubscriberMixin): New. Mixin class to test messages sent through |
381 |
|
the Connector class |
382 |
|
|
383 |
|
* test/README: Fix a typo and add the -v flag to the command for |
384 |
|
individual tests |
385 |
|
|
386 |
|
* test/test_session.py: New. Test cases for Thuban.Model.session |
387 |
|
|
388 |
|
* test/test_proj.py: New. Test cases for Thuban.Model.proj |
389 |
|
|
390 |
|
* test/test_map.py: New. Test cases for Thuban.Model.map |
391 |
|
|
392 |
|
* test/test_layer.py: New. Test cases for Thuban.Model.layer |
393 |
|
|
394 |
|
* test/test_label.py: New. Test cases for Thuban.Model.label |
395 |
|
|
396 |
|
* test/test_connector.py: New. Test cases for Thuban.Lib.connector |
397 |
|
|
398 |
|
* test/test_color.py: New. Test cases for Thuban.Model.color |
399 |
|
|
400 |
|
* test/test_base.py: New. Test cases for Thuban.Model.base |
401 |
|
|
402 |
|
2002-09-13 Bernhard Herzog <[email protected]> |
403 |
|
|
404 |
|
* Thuban/Model/session.py (Session.forwarded_channels): Forward |
405 |
|
the CHANGED channel too. |
406 |
|
|
407 |
|
* Thuban/Model/map.py (Map.forwarded_channels): Forward the |
408 |
|
CHANGED channel too. |
409 |
|
(Map.__init__): Call the Modifiable constructor as well. |
410 |
|
|
411 |
|
* Thuban/Model/base.py (Modifiable.UnsetModified): Issue a CHANGED |
412 |
|
event if the modified flag changes. |
413 |
|
(Modifiable.changed): Tweak the doc-string. |
414 |
|
|
415 |
|
* Thuban/UI/mainwindow.py (MainWindow.view_position_changed) |
416 |
|
(MainWindow.set_position_text): Put the code that puts the text |
417 |
|
with the mouse position into the status bar into the new method |
418 |
|
set_position_text so that it can overwritten in derived classes. |
419 |
|
|
420 |
|
2002-09-12 Bernhard Herzog <[email protected]> |
421 |
|
|
422 |
|
* Thuban/UI/mainwindow.py (MainWindow.RunMessageBox): Center the |
423 |
|
message box on the main window. |
424 |
|
|
425 |
|
2002-09-11 Bernhard Herzog <[email protected]> |
426 |
|
|
427 |
|
* Thuban/UI/mainwindow.py: Underline the 'x' in "Exit" instead of |
428 |
|
the 'E' because it's less likely to interfere with other menu |
429 |
|
entries. |
430 |
|
(MainWindow.build_menu): remove an incorrect comment. |
431 |
|
|
432 |
|
2002-09-10 Bernhard Herzog <[email protected]> |
433 |
|
|
434 |
|
* Thuban/UI/mainwindow.py (MainWindow.Map): New. |
435 |
|
(_tool_command): Add sensitive parameter |
436 |
|
(_has_visible_map): Sensitivity callback to tools and other |
437 |
|
commands that require a visible map. Use it in map_zoom_in_tool, |
438 |
|
map_zoom_out_tool, map_pan_tool, map_identify_tool, map_label_tool |
439 |
|
and map_full_extent |
440 |
|
|
441 |
|
2002-09-06 Bernhard Herzog <[email protected]> |
442 |
|
|
443 |
|
* Thuban/UI/mainwindow.py (MainWindow.OnClose): Unsubscribe |
444 |
|
VIEW_POSITION |
445 |
|
|
446 |
|
2002-09-04 Frank Koormann <[email protected]> |
447 |
|
|
448 |
|
* Resources/Bitmaps/fullextent.xpm: Updated Icon (removed "potatoe") |
449 |
|
|
450 |
2002-09-02 Bernhard Herzog <[email protected]> |
2002-09-02 Bernhard Herzog <[email protected]> |
451 |
|
|
452 |
* 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 |
530 |
|
|
531 |
* Thuban/Model/table.py (Table.write_record): New method to write |
* Thuban/Model/table.py (Table.write_record): New method to write |
532 |
records. |
records. |
533 |
(Table.__init__): Open the DBF file for writing too. |
(Table.__init__): Open the DBF file for writing too. |
534 |
|
|
535 |
* Thuban/UI/controls.py (RecordTable.SetValue): Write the value |
* Thuban/UI/controls.py (RecordTable.SetValue): Write the value |
536 |
into the underlying table. |
into the underlying table. |
568 |
* setup.py (ThubanInstall.run): Don't repr install_lib_orig |
* setup.py (ThubanInstall.run): Don't repr install_lib_orig |
569 |
because thubaninit_contents will do it for us. |
because thubaninit_contents will do it for us. |
570 |
|
|
571 |
2002-08-16 Jan-Oliver Wagner <[email protected]> |
2002-08-16 Jan-Oliver Wagner <[email protected]> |
572 |
|
|
573 |
* Thuban/UI/mainwindow.py: menu item 'show session tree' now disable if |
* Thuban/UI/mainwindow.py: menu item 'show session tree' now disable if |
574 |
tree window already open |
tree window already open |
696 |
* Thuban/UI/tree.py: We can now simply subscribe to the session's |
* Thuban/UI/tree.py: We can now simply subscribe to the session's |
697 |
CHANGED channel to be informed of changes. |
CHANGED channel to be informed of changes. |
698 |
(SessionTreeCtrl.session_channels): Not needed any longer. |
(SessionTreeCtrl.session_channels): Not needed any longer. |
699 |
(SessionTreeCtrl.unsubscribe_all, SessionTreeCtrl.session_changed): |
(SessionTreeCtrl.unsubscribe_all, SessionTreeCtrl.session_changed): |
700 |
Only have to (un)subscribe CHANGED |
Only have to (un)subscribe CHANGED |
701 |
|
|
702 |
* Thuban/Model/map.py (Map.TreeInfo): Deal better with empty maps. |
* Thuban/Model/map.py (Map.TreeInfo): Deal better with empty maps. |
757 |
* Thuban/Model/layer.py (Layer.TreeInfo), |
* Thuban/Model/layer.py (Layer.TreeInfo), |
758 |
Thuban/Model/extension.py (Extension.TreeInfo), |
Thuban/Model/extension.py (Extension.TreeInfo), |
759 |
Thuban/Model/map.py (Map.TreeInfo), |
Thuban/Model/map.py (Map.TreeInfo), |
760 |
Thuban/Model/session.py (Session.TreeInfo): |
Thuban/Model/session.py (Session.TreeInfo): |
761 |
Add TreeInfo methods to implement the new tree view update scheme |
Add TreeInfo methods to implement the new tree view update scheme |
762 |
|
|
763 |
2002-07-16 Bernhard Herzog <[email protected]> |
2002-07-16 Bernhard Herzog <[email protected]> |
838 |
* setup.py: In the setup call, make sure that the library |
* setup.py: In the setup call, make sure that the library |
839 |
directories are under $prefix/lib not directly under $prefix. |
directories are under $prefix/lib not directly under $prefix. |
840 |
|
|
841 |
2002-06-20 Jan-Oliver Wagner <[email protected]> |
2002-06-20 Jan-Oliver Wagner <[email protected]> |
842 |
|
|
843 |
* Thuban/Model/extension.py: new module to handle extension objects. |
* Thuban/Model/extension.py: new module to handle extension objects. |
844 |
* Thuban/Model/messages.py: new messages for extensions. |
* Thuban/Model/messages.py: new messages for extensions. |
1067 |
* Thuban/UI/messages.py (VIEW_POSITION): New message for the |
* Thuban/UI/messages.py (VIEW_POSITION): New message for the |
1068 |
position in the statusbar |
position in the statusbar |
1069 |
|
|
1070 |
2002-04-26 Frank Koormann <[email protected]> |
2002-04-26 Frank Koormann <[email protected]> |
1071 |
|
|
1072 |
* Thuban/UI/mainwindow.py: AddLayer, Dialog title s/session/data |
* Thuban/UI/mainwindow.py: AddLayer, Dialog title s/session/data |
1073 |
|
|
1074 |
2002-04-24 Frank Koormann <[email protected]> |
2002-04-24 Frank Koormann <[email protected]> |
1075 |
|
|
1076 |
* Resources/Bitmaps/identify.xpm: shadow added |
* Resources/Bitmaps/identify.xpm: shadow added |
1077 |
|
|
1078 |
* Resources/Bitmaps/fullextent.xpm: new |
* Resources/Bitmaps/fullextent.xpm: new |
|
|
|
|
2002-04-22 Jan-Oliver Wagner <[email protected]> |
|
1079 |
|
|
1080 |
* Thuban/UI/tree.py (update_tree): added test for None on map bounding box |
2002-04-22 Jan-Oliver Wagner <[email protected]> |
1081 |
|
|
1082 |
|
* Thuban/UI/tree.py (update_tree): added test for None on map bounding |
1083 |
|
box |
1084 |
|
|
1085 |
2002-04-21 Jan-Oliver Wagner <[email protected]> |
2002-04-21 Jan-Oliver Wagner <[email protected]> |
1086 |
|
|
1087 |
* Thuban/UI/proj4dialog.py (UTMProposeZoneDialog): new |
* Thuban/UI/proj4dialog.py (UTMProposeZoneDialog): new |
1088 |
|
|
1089 |
* Thuban/UI/tree.py (update_tree): added added map extent |
* Thuban/UI/tree.py (update_tree): added added map extent |
1090 |
|
|
1091 |
* Thuban/UI/mainwindow.py (_method_command): extended by parameter |
* Thuban/UI/mainwindow.py (_method_command): extended by parameter |
1092 |
icon; added map_full_extend as tool |
icon; added map_full_extend as tool |
1093 |
|
|
1094 |
2002-04-19 Jan-Oliver Wagner <[email protected]> |
2002-04-19 Jan-Oliver Wagner <[email protected]> |
1095 |
|
|
1096 |
* Thuban/UI/mainwindow.py (SaveSession): launch save as dialog for |
* Thuban/UI/mainwindow.py (SaveSession): launch save as dialog for |
1097 |
saving _new_ sessions |
saving _new_ sessions |
1193 |
|
|
1194 |
* setup.py: increase version number to 0.1 |
* setup.py: increase version number to 0.1 |
1195 |
(data_dist): New command class for data distribution |
(data_dist): New command class for data distribution |
|
|
|
1196 |
|
|
1197 |
2001-09-14 Bernhard Herzog <[email protected]> |
2001-09-14 Bernhard Herzog <[email protected]> |
1198 |
|
|
1199 |
* Thuban/UI/identifyview.py (IdentifyListCtrl.selected_shape): |
* Thuban/UI/identifyview.py (IdentifyListCtrl.selected_shape): |
1200 |
Handle the case of no layer (i.e. layer is None) properly. |
Handle the case of no layer (i.e. layer is None) properly. |
1201 |
|
|
1202 |
* Thuban/UI/proj4dialog.py (UTMDialog.__init__, Proj4Dialog.__init__): |
* Thuban/UI/proj4dialog.py (UTMDialog.__init__, Proj4Dialog.__init__): |
1203 |
Set the initial selection of the combo boxes to reflect the |
Set the initial selection of the combo boxes to reflect the |
1204 |
projection we're starting with in a way that works on windows, |
projection we're starting with in a way that works on windows, |
1205 |
too. |
too. |
1309 |
(MainWindow.identify_view_on_demand): Store the interactor in an |
(MainWindow.identify_view_on_demand): Store the interactor in an |
1310 |
instvar and use that reference instead of going through main.app |
instvar and use that reference instead of going through main.app |
1311 |
|
|
1312 |
* Thuban/UI/mainwindow.py (MainWindow.ShowSessionTree): |
* Thuban/UI/mainwindow.py (MainWindow.ShowSessionTree): |
1313 |
* Thuban/UI/application.py (ThubanApplication.OnInit): |
* Thuban/UI/application.py (ThubanApplication.OnInit): |
1314 |
* Thuban/UI/main.py (main): Create the session tree view in main |
* Thuban/UI/main.py (main): Create the session tree view in main |
1315 |
with the new mainwindow method ShowSessionTree and not directly |
with the new mainwindow method ShowSessionTree and not directly |
1316 |
the application's OnInit method |
the application's OnInit method |
1326 |
layer to the tableview dialog. |
layer to the tableview dialog. |
1327 |
|
|
1328 |
* Thuban/UI/tableview.py: Add some doc-strings |
* Thuban/UI/tableview.py: Add some doc-strings |
1329 |
(TableGrid): |
(TableGrid): |
1330 |
(TableGrid.OnRangeSelect): |
(TableGrid.OnRangeSelect): |
1331 |
(TableGrid.OnSelectCell): |
(TableGrid.OnSelectCell): |
1332 |
(TableFrame.__init__): |
(TableFrame.__init__): |
1393 |
2001-09-05 Bernhard Herzog <[email protected]> |
2001-09-05 Bernhard Herzog <[email protected]> |
1394 |
|
|
1395 |
* Thuban/UI/view.py (MapCanvas.__init__): New argument, interactor. |
* Thuban/UI/view.py (MapCanvas.__init__): New argument, interactor. |
1396 |
|
|
1397 |
* Thuban/UI/mainwindow.py (MainWindow.__init__): New argument |
* Thuban/UI/mainwindow.py (MainWindow.__init__): New argument |
1398 |
interactor to pass through to the MapCanvas |
interactor to pass through to the MapCanvas |
1399 |
|
|
1400 |
* Thuban/UI/application.py (ThubanApplication.OnInit): Use the new |
* Thuban/UI/application.py (ThubanApplication.OnInit): Use the new |
1401 |
argument to the MainWindow constructor to get rid of the ugly hack |
argument to the MainWindow constructor to get rid of the ugly hack |
1402 |
that made main.app available early just so that the mapcanvas |
that made main.app available early just so that the mapcanvas |
1443 |
(ThubanInstall.run): Remove the leading install root from the |
(ThubanInstall.run): Remove the leading install root from the |
1444 |
script filename if an install root was specified and use the new |
script filename if an install root was specified and use the new |
1445 |
link_file method |
link_file method |
1446 |
|
|
1447 |
* Thuban/UI/mainwindow.py (MainWindow.AddLayer): Fit the map to |
* Thuban/UI/mainwindow.py (MainWindow.AddLayer): Fit the map to |
1448 |
the window when the first layer is added to the map. |
the window when the first layer is added to the map. |
1449 |
|
|
1480 |
(InnoIconItem): Helper class for bdist_inno |
(InnoIconItem): Helper class for bdist_inno |
1481 |
(thuban_bdist_inno): Thuban specific version of bdist_inno. Added |
(thuban_bdist_inno): Thuban specific version of bdist_inno. Added |
1482 |
this together with the appropriate parameters, to the setup call. |
this together with the appropriate parameters, to the setup call. |
1483 |
|
|
1484 |
* setup.cfg (bdist_inno): added new section for the inno setup |
* setup.cfg (bdist_inno): added new section for the inno setup |
1485 |
installer |
installer |
1486 |
|
|