/[thuban]/branches/WIP-pyshapelib-bramz/ChangeLog
ViewVC logotype

Annotation of /branches/WIP-pyshapelib-bramz/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


Revision 495 - (hide annotations)
Mon Mar 10 10:54:26 2003 UTC (22 years ago) by jonathan
Original Path: trunk/thuban/ChangeLog
File size: 62511 byte(s)
updated ChangeLog

1 jonathan 490 2003-03-10 Jonathan Coles <[email protected]>
2    
3 jonathan 495 * Thuban/UI/classifier.py (Classifier): Use __SelectField()
4     to correctly set the table information and call this from
5     __init__ and from _OnFieldSelect so that all the information
6     is up to date when the dialog opens and when a field is changed.
7    
8     2003-03-10 Jonathan Coles <[email protected]>
9    
10 jonathan 490 * Thuban/Model/classification.py (Classification): Don't use
11     layer's message function directly, use the ClassChanged() method
12     when then classification changes. SetField/SetFieldType/SetLayer
13     must keep the information about field name and field type in
14     sync when an owning layer is set or removed.
15    
16     * Thuban/Model/layer.py: Added ClassChanged() so that the
17     classification can tell the layer when its data has changed.
18     (Layer.SetClassification): Accepts None as an arguement to
19     remove the current classification and correctly handles
20     adding a new classification.
21    
22     * Thuban/Model/load.py: Comment out print statement
23    
24     * test/test_classification.py, test/test_save.py: New and
25     improved tests.
26    
27 jonathan 483 2003-03-07 Jonathan Coles <[email protected]>
28    
29     * Thuban/Model/classification.py: Implemented __copy__ and
30     __deepcopy__ for ClassGroup* and ClassGroupProperites so
31     they can easily be copied by the classifier dialog.
32     (ClassGroupProperites.__init__): The default line color should
33     have been Color.Black.
34    
35     * Thuban/UI/classifier.py: Setting and Getting table values now
36     uses a consistent set of functions.
37     (Classifier): Now non-modal. Has field type label which changes
38     as the field changes. Keep track of buttons in a list so that
39     we can enable/disable the buttons when the None field is selected.
40     (SelectPropertiesDialog): Add buttons to make the colors transparent.
41    
42     * Thuban/UI/dialogs.py (NonModalDialog.Shutdown): New method which
43     does what OnClose did, but can be called by the application to
44     close a window. Needed when a session changes, and we have to
45     close the classifier windows.
46    
47     * Thuban/UI/mainwindow.py (MainWindow.prepare_new_session):
48     Shuts down open dialogs. Used when a new session is created
49     or a session is opened.
50     (MainWindow.SaveSession): Should only call application.SaveSession()
51     if we don't call SaveSessionAs first.
52     (MainWindow.Classify): Allow different classifier dialogs for
53     different layers.
54    
55     * Thuban/UI/tree.py (SessionTreeView): Remove OnClose and let
56     the parent class handle it. Add Shutdown() to unsubscibe from
57     event notification and call the parent Shutdown(). This was
58     necessary so the application can close the tree window.
59    
60 jonathan 478 2003-03-06 Jonathan Coles <[email protected]>
61    
62     * Thuban/Model/classification.py: Minor documentation changes,
63     Addition of __eq__ and __ne__ methods.
64     (Classification.SetLayer): prevent recursion between this method
65     and Layer.SetClassification().
66    
67     * Thuban/Model/color.py: Addition of __eq__ and __ne__ methods.
68    
69     * Thuban/Model/layer.py (SetClassification): prevent recursion
70     between this method and Classification.SetLayer().
71    
72     * test/test_classification.py, test/test_load.py,
73     test/test_session.py: Fixed and added tests for the classification
74     classes.
75    
76 bh 477 2003-03-06 Bernhard Herzog <[email protected]>
77    
78     * Thuban/UI/classifier.py (ClassGrid.__init__)
79     (ClassGrid.CreateTable): Move the SetSelectionMode call to
80     CreateTable because otherwise it triggers an assertion in
81     wxPython/wxGTK 2.4.
82    
83 jonathan 459 2003-03-05 Jonathan Coles <[email protected]>
84    
85 jonathan 475 * Thuban/common.py: Move FIELDTYPE constants back to table.py.
86 jonathan 471
87 jonathan 475 * Thuban/Model/load.py: import FIELDTYPE constants from table.
88 jonathan 471
89 jonathan 475 * Thuban/UI/classifier.py: import FIELDTYPE constants from table.
90 jonathan 471
91 jonathan 475 * Thuban/Model/table.py: Put FIELDTYPE constants back.
92 jonathan 471
93     2003-03-05 Jonathan Coles <[email protected]>
94    
95 jonathan 459 * Thuban/UI/classifier.py: Added class documentation.
96     Fixed RTbug #1713, #1714. Added Move[Up|Down] buttons.
97     Store just the groups in the table and generate the other
98     column information when it is requested. Add "None" field
99     to pull-down to select no classification.
100    
101     * Thuban/common.py: Moved FIELDTYPE constants from table.py
102     (Str2Num): Only catch ValueError exceptions.
103    
104     * Thuban/Model/classification.py: Class documentation. Renaming
105     of methods with Stroke to Line. Groups are stored in a single
106     list with the default as the first element. Groups are searched
107     in the order they appear in the list.
108    
109     * Thuban/Model/color.py: Documentation.
110    
111     * Thuban/Model/layer.py (Layer): Add GetFieldType to retreive
112     the kind of data represented by a field.
113    
114     * Thuban/Model/load.py (ProcessSession): Use proper string
115     conversion function; fixes RTbug #1713.
116    
117     * Thuban/Model/save.py (Saver): Store field type information.
118    
119     * Thuban/Model/table.py: Put FIELDTYPE constants in common.py.
120     (Table): Add field_info_by_name() to retrieve field information
121     by specifying the field name, not the number.
122    
123     * Thuban/UI/mainwindow.py: Function name changes.
124    
125     * Thuban/UI/renderer.py (MapRenderer.draw_shape_layer): Only
126     get the layer classification once. Don't try to classify
127     values when the field is None: just use the default properties.
128    
129     * Thuban/UI/view.py: Function name changes.
130    
131     * Doc/thuban.dtd: Add field_type attribute to a classification.
132    
133 bh 456 2003-03-04 Bernhard Herzog <[email protected]>
134    
135 bh 458 * Doc/thuban.dtd: Use correct syntax for optional attributes. Make
136     the fill and stroke layer attributes optional with suitable
137     default values. Add the stroke_width layer attribute. Use correct
138     syntax for empty elements. Make the attribute list for labels
139     refer to the label element.
140    
141     2003-03-04 Bernhard Herzog <[email protected]>
142    
143 bh 456 * setup.py (thuban_build_py.build): Add a comment about distutils in
144     Python 2.3 containing some of the functionality we implement in
145     setup.py ourselves.
146    
147     * Thuban/UI/classifier.py (ClassGrid.__init__): Set the table
148     before the selection mode. Doing it the other way round triggers
149     an assertion in wxWindows.
150    
151     * Thuban/Model/save.py (escape): Fix typo in doc-string
152    
153     * Thuban/Model/classification.py: Remove unnecessary wxPython
154     import
155    
156 jonathan 448 2003-03-04 Jonathan Coles <[email protected]>
157    
158     * Thuban/Model/classification.py (ClassGroupRange.GetProperties):
159     Parameter 'value' should default to None.
160    
161     * Thuban/UI/mainwindow.py: Use Layer.GetClassification() since
162     the class attribute __classification is now private.
163    
164     * Thuban/UI/classifier.py (ClassGrid): Moved OnCellDClick() from
165     Classifier to ClassGrid. Added support for removing selected rows,
166     which including code for keeping track of when cells are selected,
167     and deselected.
168     (ClassTable): Support for added/removing rows. Fixed a problem
169     with __ParseInput whereby it would not allow strings (only numbers)
170     to be entered.
171     (Classifier): Added button and supporting code for removing
172     selected rows.
173    
174 jonathan 445 2003-02-27 Jonathan Coles <[email protected]>
175 jonathan 434
176     * Thuban/common.py: Moved color conversion functions into
177     Thuban/UI/common.py.
178     (Str2Num): Now converts the float (not the string) to a long/int
179     so that an exception isn't thrown.
180    
181     * Thuban/UI/common.py: Common functions used in several UI modules
182    
183     * Thuban/Model/classification.py: Changed the class hierarchy
184     so that a Classification consists of Groups which return
185     Properties when a value matches a Group.
186    
187     * Thuban/Model/layer.py: Fixed name resolution problem.
188    
189     * Thuban/Model/load.py: Use new Classification and Group functions.
190    
191     * Thuban/Model/save.py (Saver.write_attribs): Fixes a test case
192     failure.
193     (Saver.write_classification): Use new Classification and Group
194     functions.
195    
196     * Thuban/UI/classifier.py: Changes to use new Classification and Group
197 jonathan 445 functions. Fix to create a tuple with a single value instead of
198     simply returning the value.
199 jonathan 434
200     * Thuban/UI/renderer.py: Use new Classification and Group functions.
201     Use common.py functions.
202    
203 jonathan 445 * Thuban/UI/tree.py: Use common.py functions.
204 jonathan 447
205     * test/test_classification.py: Use new Classification and Group
206     classes.
207 jonathan 434
208 jonathan 426 2003-02-24 Jonathan Coles <[email protected]>
209    
210     * Thuban/common.py (Color2wxColour, wxColour2Color): Conversion
211     functions from Thuban color objects to wxWindow colour objects.
212    
213     * Thuban/Model/classification.py (Classification): Renamed
214     GetProperties() to GetClassData(). Used the new iterator
215     in TreeInfo().
216     (ClassIterator): Iterator implementation to iterate over the
217     ClassData objects in a classification object.
218    
219     * Thuban/Model/save.py (Saver.write_classificaton): Uses
220     the new iterator to save the classification information.
221    
222     * Thuban/UI/classifier.py (SelectPropertiesDialog): Support
223     for changing the stroke and fill colors and previewing the
224     changes.
225    
226     * Thuban/UI/mainwindow.py (MainWindow.OpenSession,
227     MainWindow.SaveSessionAs): Text string changes so the dialogs
228     have more meaningful titles.
229    
230     * Thuban/UI/renderer.py (MapRenderer.draw_shape_layer): Change
231     Classification method name from GetProperties to GetClassData.
232    
233     * Thuban/UI/view.py (MapCanvas.find_shape_at): Use method calls
234     instead of accessing now non-existent class variables.
235    
236 bh 425 2003-02-24 Bernhard Herzog <[email protected]>
237    
238     * Thuban/UI/renderer.py (MapRenderer.draw_shape_layer): Remove
239     unneeded Shape() call. Rendering is substantially faster without
240     it and it avoids some problems with broken shape files.
241    
242 frank 423 2003-02-20 Frank Koormann <[email protected]>
243    
244     Force minimal size of identify and label dialogs. The autosizing
245     looked too ugly.
246    
247     * Thuban/UI/controls.py (RecordListCtrl): Set minimal width for columns.
248     * Thuban/UI/labeldialog.py (LabelDialog.dialog_layout):
249     Set size of listctrl.
250     * Thuban/UI/identifyview.py (IdentifyView.__init__):
251     Set size of dialog.
252    
253 jonathan 408 2003-02-19 Jonathan Coles <[email protected]>
254    
255     * test/test_classification.py, test/test_layer.py,
256     test/test_load.py, test/test_map.py, test/test_session.py:
257     Updated the tests to use the new functions that are in the
258     respective classes.
259    
260     * Thuban/Model/classification.py (Classification):
261     Uses the new ClassData* classes. Modification messages are
262     passed up to the parent layer (if it exists).
263     (ClassData): New class to encapsulate the common data in each
264     classification property.
265     (ClassDataDefault): Represents the Default class. data.
266     (ClassDataPoint): Represents a single class. data point
267     (ClassDataRange): Represents a class. range
268     (ClassDataMap): Represents a class. map (unused).
269    
270     * Thuban/Model/color.py: Added Color.None to represent something
271     with no color. Color.Black represents the color black.
272     (NoColor): Helper class derived from Color to represent something
273     with no color.
274    
275     * Thuban/Model/layer.py (Layer): Removed references to fill, stroke,
276     stroke_width attributes. Made the 'classification' attribute private.
277     New methods for setting/getting the classification.
278    
279     * Thuban/Model/load.py (ProcessSession): Use new methods on Layer
280     to get the classifcation and use the new ClassData* classes to
281     hold the classification data. Use Str2Num to convert numbers
282     properly.
283    
284     * Thuban/Model/save.py (Saver): Use new Color and Classification
285     methods
286    
287     * Thuban/UI/classifier.py (ClassGrid): New class to represent a
288     custom grid.
289     (ClassTable): Support for editing Values and Labels and for
290     changing what type (point or range) of data is stored in each
291     property based on how the user enters the data.
292     (Classifier): Support for saving the new classifications and
293     launching the dialog to edit a property.
294     (SelectPropertiesDialog): New class for editing the visual
295     properties of a classification (stroke color, width, and fill color)
296     (ClassPreviewer): Took the Draw method from ClassRenderer and
297     made most of it into this new class. Intend to use this class in
298     the SelectPropertiesDialog for previewing changes.
299    
300     * Thuban/UI/renderer.py: Use new Color and Classification methods.
301    
302     * Thuban/UI/tree.py: Formatting changes.
303    
304     * Doc/thuban.dtd: Add 'label' element
305    
306     * Thuban/common.py: New. Contains common routines used throughout
307     the code.
308     (Str2Num): Takes a string and converts it to the "best" type of
309     number.
310    
311 bh 405 2003-02-14 Bernhard Herzog <[email protected]>
312    
313     * Thuban/UI/view.py (MapCanvas.OnLeftUp): Make sure that the
314     dragging flag is always set to 0 even when the tool implementation
315     raises an exception
316    
317 bh 402 2003-02-11 Bernhard Herzog <[email protected]>
318    
319     * Thuban/UI/application.py (ThubanApplication.splash_screen): New
320     method to create a splash screen.
321     (ThubanApplication.ShowMainWindow): New. Show the main window.
322     Needed so the splash screen can display the mainwindow
323     (ThubanApplication.OnInit): Call the
324     new splash_screen method to determine whether the application
325     should display a splash screen. If it displays a splash screen do
326     not immediately show the main window.
327    
328 jonathan 399 2003-02-11 Jonathan Coles <[email protected]>
329    
330     * Thuban/Model/classification.py: Added import line to fix
331     feature conflicts between running on python2.2 and python2.1.
332    
333     * Thuban/UI/classifier.py (ClassTable): Didn't need to hang
334     onto the clinfo parameter, so removed the deepcopy().
335    
336 jonathan 396 2003-02-10 Jonathan Coles <[email protected]>
337    
338 tkoester 403 * Thuban/Model/save.py (Saver.open_element, Saver.close_element):
339 jonathan 396 Added element_open variable to track opening and closing of tags
340     so that tags that don't span more than one line are closed with
341     /> instead of </tag_name>. Use the GetDefault*() methods of
342     the Classification class.
343    
344     * Thuban/Model/classification.py (Classificaton): Added set and
345     get methods for the default data. The class also takes a layer
346     reference so that modification messages can be sent. Fixed the
347     methods to use the new ClassData class.
348     (ClassData): New class to encapsulate the classification data
349    
350     * Thuban/Model/layer.py (Layer): Remove the
351 tkoester 403 Set[Fill|Stroke|StrokeWidth]() methods. Code should call the
352 jonathan 396 SetDefault*() methods on the layer's classification object.
353 tkoester 403 (Layer.__init__): Use the new SetDefault*() methods in the
354 jonathan 396 Classification class.
355    
356     * Thuban/Model/load.py (ProcessSession): Use the new ClassData
357     object instead of a dictionary.
358    
359 tkoester 403 * Thuban/UI/classifier.py (ClassRenderer): New class to
360 jonathan 396 draw the classifications in the dialog box's table.
361     (Classifier): Modified to use the ClassRenderer class.
362    
363 tkoester 403 * Thuban/UI/mainwindow.py (MainWindow): Use the SetDefault*()
364     methods of the Classification class.
365 jonathan 396
366     * Thuban/UI/renderer.py (MapRenderer): Use the Get*() methods
367     of the ClassData class.
368    
369     * test/test_classification.py, test/test_layer.py,
370     test/test_map.py, test/test_session.py: Fix the tests to work
371     with the above code changes.
372    
373 jonathan 387 2003-02-03 Jonathan Coles <[email protected]>
374    
375     * Thuban/Model/classification.py (Classification): Added getNull()
376     to return the NullData reference
377    
378     * Thuban/Model/layer.py (Layer.SetFill, Layer.SetStroke,
379     Layer.SetStrokeWidth): Modified these functions to change the
380     null data in the classification rather than keep these values
381     directly in the Layer class. Menu options to change these values
382     work again.
383    
384 jonathan 380 2003-01-28 Jonathan Coles <[email protected]>
385    
386 jonathan 384 * Thuban/UI/classifier.py (Classifier): Resolved merging conflicts.
387 tkoester 403 Fixed crashing problem on some systems. Dialog box shows
388 jonathan 380 classification data.
389    
390 jonathan 384 * Thuban/UI/tree.py (SessionTreeCtrl.add_items): Handle drawing
391     Colors in the tree view.
392    
393     * Thuban/Model/layer.py (Layer.TreeInfo): Added a call to build
394     the tree info for classifications. Commented out unnecessary lines.
395    
396     * Thuban/Model/classification.py (Classification.TreeInfo): New
397     function to add information about the classification into the
398     tree view.
399    
400 tkoester 403 2003-01-27 Jan-Oliver Wagner <[email protected]>
401 jan 375
402 tkoester 403 * Thuban/__init__.py (_): New.
403 jan 375
404     * Thuban/Model/classification.py, Thuban/Model/extension.py,
405     Thuban/Model/layer.py, Thuban/Model/load.py, Thuban/Model/map.py,
406 tkoester 403 Thuban/Model/session.py, Thuban/UI/application.py,
407     Thuban/UI/classifier.py, Thuban/UI/context.py, Thuban/UI/controls.py,
408     Thuban/UI/identifyview.py, Thuban/UI/labeldialog.py,
409     Thuban/UI/mainwindow.py, Thuban/UI/menu.py, Thuban/UI/proj4dialog.py,
410     Thuban/UI/renderer.py, Thuban/UI/tree.py, Thuban/Lib/connector.py,
411     Thuban/Lib/fileutil.py: Replace user string by _() for i18n.
412 jan 375
413 jonathan 370 2003-01-27 Jonathan Coles <[email protected]>
414    
415 tkoester 403 * Thuban/Model/layer.py: Classification initialization calls.
416 jonathan 370
417 tkoester 403 * Thuban/Model/classification.py: Created class to encapsulate
418     a layer classification. Supports specific data points and
419     ranges.
420 jonathan 370
421 tkoester 403 * Thuban/Model/load.py: Added support for loading classification
422     information.
423 jonathan 370
424 tkoester 403 * Thuban/Model/save.py: Added support for saving classification
425     information.
426 jonathan 370
427 tkoester 403 * Thuban/UI/classifier.py: Initial class for a dialog box for
428     specifying classification information.
429 jonathan 370
430 tkoester 403 * Thuban/UI/mainwindows.py: Support for opening the classifier
431     dialog.
432 jonathan 370
433 tkoester 403 * Thuban/UI/renderer.py: Support for drawing a layer with the
434     classification information.
435 jonathan 370
436 tkoester 403 * Data/iceland_sample_class.thuban: iceland_sample with
437     classification data.
438 jonathan 370
439 tkoester 403 * test/test_classification: Tests for the Classification class.
440 jonathan 370
441 bh 359 2002-12-09 Bernhard Herzog <[email protected]>
442    
443 bh 361 * test/test_command.py: New. Tests for the command classes.
444    
445 bh 359 * Thuban/UI/command.py (ToolCommand): New class for tool commands.
446     (Command.IsTool): New method to distinguish between command
447     switching tools and other commands.
448    
449     * Thuban/UI/view.py (MapCanvas.SelectTool): New method to select
450     the tool to avoid direct assignments to instance variables
451     (MapCanvas.ZoomInTool, MapCanvas.ZoomOutTool, MapCanvas.PanTool)
452     (MapCanvas.IdentifyTool, MapCanvas.LabelTool): Use SelectTool to
453     change the tool
454    
455     * Thuban/UI/mainwindow.py (MainWindow.update_command_ui): If an
456     active tool's command turns insensitive, disable the tool.
457     (_tool_command): Use the new ToolCommand class
458    
459     * Examples/simple_extensions/simple_tool.py (simple_tool): Use the
460     SelectTool method to change the tool
461     (iconfile): Use the ToolCommand class
462    
463 bh 354 2002-12-03 Bernhard Herzog <[email protected]>
464    
465     * Thuban/UI/tree.py (SessionTreeCtrl.normalize_selection): Handle
466     the case of selected items that are not children of Layers or Maps
467     properly. Previously this bug would trigger an assertion in
468     wxWindows.
469    
470 frank 352 2002-11-06 Frank Koormann <[email protected]>
471    
472 bh 354 * Thuban/UI/mainwindow.py: Altered the order of tools in the
473     toolbar: First now are all navigation tools (Zoom In/Out, Pan,
474     Full Extent).
475 tkoester 403
476 bh 349 2002-10-23 Bernhard Herzog <[email protected]>
477    
478     * setup.py (setup call): version now 0.1.3
479    
480     * MANIFEST.in: Add the files in test/
481    
482     * test/README: Add note about tests requiring the iceland data
483    
484     * Thuban/UI/mainwindow.py (MainWindow.About): Add 2002 to
485     copyright notice.
486    
487 bh 344 2002-10-18 Bernhard Herzog <[email protected]>
488    
489     * test/test_map.py
490     (TestMapWithContents.test_projected_bounding_box): Use an explicit
491     epsilon.
492    
493     * test/support.py (FloatComparisonMixin.assertFloatEqual)
494     (FloatComparisonMixin.assertFloatSeqEqual): give a more useful
495     message if the assertion fails and don't return the return value
496     of self.assert_. In assertFloatSeqEqual the return meant that not
497     all items of the sequence were compared.
498    
499 bh 326 2002-09-20 Bernhard Herzog <[email protected]>
500    
501 bh 341 * test/test_fileutil.py: New. Test cases for Thuban.Lib.fileutil
502    
503     * Thuban/Lib/fileutil.py: Fixup some whitespace and typos
504    
505 bh 338 * test/test_map.py (TestMapWithContents.test_tree_info): Create
506     the string with the bounding box on the fly because of platform
507     differences in the way %g is handled.
508    
509     * test/test_layer.py (TestLayer.test_empty_layer): Create an empty
510     DBFfile too because Thuban layers can't yet cope missing DBF
511     files.
512    
513     2002-09-20 Bernhard Herzog <[email protected]>
514    
515 bh 326 * test/test_menu.py: Use initthuban instead of
516     add_thuban_dir_to_path to initialize Thuban.
517    
518     * test/support.py (FloatComparisonMixin.assertFloatEqual): New.
519     Mixin class for float comparisons
520     (SubscriberMixin): New. Mixin class to test messages sent through
521     the Connector class
522    
523     * test/README: Fix a typo and add the -v flag to the command for
524     individual tests
525    
526 bh 335 * test/test_session.py: New. Test cases for Thuban.Model.session
527    
528     * test/test_proj.py: New. Test cases for Thuban.Model.proj
529    
530     * test/test_map.py: New. Test cases for Thuban.Model.map
531    
532     * test/test_layer.py: New. Test cases for Thuban.Model.layer
533    
534     * test/test_label.py: New. Test cases for Thuban.Model.label
535    
536     * test/test_connector.py: New. Test cases for Thuban.Lib.connector
537    
538     * test/test_color.py: New. Test cases for Thuban.Model.color
539    
540     * test/test_base.py: New. Test cases for Thuban.Model.base
541    
542 bh 322 2002-09-13 Bernhard Herzog <[email protected]>
543    
544     * Thuban/Model/session.py (Session.forwarded_channels): Forward
545     the CHANGED channel too.
546    
547     * Thuban/Model/map.py (Map.forwarded_channels): Forward the
548     CHANGED channel too.
549     (Map.__init__): Call the Modifiable constructor as well.
550    
551     * Thuban/Model/base.py (Modifiable.UnsetModified): Issue a CHANGED
552     event if the modified flag changes.
553     (Modifiable.changed): Tweak the doc-string.
554    
555     * Thuban/UI/mainwindow.py (MainWindow.view_position_changed)
556     (MainWindow.set_position_text): Put the code that puts the text
557     with the mouse position into the status bar into the new method
558     set_position_text so that it can overwritten in derived classes.
559    
560 bh 317 2002-09-12 Bernhard Herzog <[email protected]>
561    
562     * Thuban/UI/mainwindow.py (MainWindow.RunMessageBox): Center the
563     message box on the main window.
564    
565 bh 313 2002-09-11 Bernhard Herzog <[email protected]>
566    
567     * Thuban/UI/mainwindow.py: Underline the 'x' in "Exit" instead of
568     the 'E' because it's less likely to interfere with other menu
569     entries.
570 bh 315 (MainWindow.build_menu): remove an incorrect comment.
571 bh 313
572 bh 311 2002-09-10 Bernhard Herzog <[email protected]>
573    
574     * Thuban/UI/mainwindow.py (MainWindow.Map): New.
575     (_tool_command): Add sensitive parameter
576     (_has_visible_map): Sensitivity callback to tools and other
577     commands that require a visible map. Use it in map_zoom_in_tool,
578     map_zoom_out_tool, map_pan_tool, map_identify_tool, map_label_tool
579     and map_full_extent
580    
581 bh 308 2002-09-06 Bernhard Herzog <[email protected]>
582    
583     * Thuban/UI/mainwindow.py (MainWindow.OnClose): Unsubscribe
584     VIEW_POSITION
585    
586 tkoester 403 2002-09-04 Frank Koormann <[email protected]>
587 frank 306
588     * Resources/Bitmaps/fullextent.xpm: Updated Icon (removed "potatoe")
589    
590 bh 302 2002-09-02 Bernhard Herzog <[email protected]>
591    
592 bh 304 * Thuban/UI/view.py: Get rid of the idle redraw. This is done by
593     wxWindows already and our implementation doesn't work correctly
594     with wxGTK 2.3:
595     (MapCanvas.__init__): Remove the instance variable
596     (MapCanvas.OnPaint): Always call do_redraw when there's a map to
597     be drawin
598     (MapCanvas.OnIdle): Removed.
599    
600 bh 302 * Thuban/UI/view.py (MapCanvas.unprojected_rect_around_point): Add
601     a parameter to determine the size of the rectangle.
602     (MapCanvas.find_shape_at): Create the box around the point on a
603     layer by layer basis and make the size depend on the shape type.
604     This solves a problem with the selection of point shapes at the
605     border of the layer's bounding box
606    
607 bh 292 2002-08-30 Bernhard Herzog <[email protected]>
608    
609 bh 300 * Thuban/UI/mainwindow.py (MainWindow.CanRemoveLayer): New method
610     for the sensitivity of remove layer.
611     (_can_remove_layer): New. Sensitivity callback for remove layer
612     (Command layer_remove): Use _can_remove_layer
613    
614     * Thuban/Model/map.py (Map.CanRemoveLayer): New method to
615     determine whether a given layer can be deleted.
616    
617 bh 297 * Thuban/UI/view.py (MapCanvas.__init__, MapCanvas.OnPaint)
618     (MapCanvas.do_redraw): Get rid of the unused update_region
619     instance variable
620    
621 bh 294 * Thuban/UI/view.py: Add/update some doc-strings.
622    
623 bh 292 * test/: new subdirectory with a bunch of unit tests.
624    
625     * test/README, test/test_table.py, test/test_save.py,
626     test/test_menu.py, test/test_load.py: Initial set of tests and
627     brief instructions on how to run them
628    
629 bh 287 2002-08-29 Bernhard Herzog <[email protected]>
630    
631 bh 291 * Thuban/UI/renderer.py (ScreenRenderer.draw_shape_layer): Handle
632     arcs with multiple parts.
633    
634 bh 289 * Thuban/UI/view.py (ZoomInTool.MouseUp, ZoomOutTool.MouseUp):
635     Handle degenrate rectangles.
636    
637 bh 287 * Thuban/Model/table.py: Make writing records work correctly:
638     (Table.__init__): Keep track of whether the DBF is open for
639     writing
640     (Table.write_record): Open the DBF file for writing when necessary
641    
642 bh 285 2002-08-27 Bernhard Herzog <[email protected]>
643    
644     * Thuban/Model/table.py (Table.write_record, Table.__init__): Open
645     dbf files only for reading by default. Use a new writable dbf
646     object for writing.
647    
648 bh 278 2002-08-26 Bernhard Herzog <[email protected]>
649    
650 bh 282 * Thuban/UI/mainwindow.py: Refactor the context creation:
651     (MainWindow.Context): New method to return a context
652     (MainWindow.invoke_command, MainWindow.update_command_ui): Use the
653     new method
654    
655 bh 278 * Thuban/UI/tableview.py (TableGrid, LayerTableGrid): Split the
656     layer table specific code from TableGrid into LayerTableGrid
657     (TableFrame, LayerTableFrame): Split the layer table specific code
658     from TableFrame into LayerTableFrame
659 bh 280 (LayerTableGrid.select_shape): Remove a debug print
660 bh 278
661     * Thuban/UI/mainwindow.py (MainWindow.LayerShowTable): Use the
662     LayerTableFrame
663    
664 bh 277 2002-08-23 Bernhard Herzog <[email protected]>
665    
666     * Thuban/Model/layer.py (Layer.__init__): Make sure we have an
667     absolute filename.
668    
669 bh 269 2002-08-22 Bernhard Herzog <[email protected]>
670    
671 bh 275 * Thuban/Model/table.py (Table.write_record): New method to write
672     records.
673 tkoester 403 (Table.__init__): Open the DBF file for writing too.
674 bh 275
675     * Thuban/UI/controls.py (RecordTable.SetValue): Write the value
676     into the underlying table.
677    
678     * extensions/shapelib/shapefil.h (DBFCommit),
679     extensions/shapelib/dbfopen.c (DBFCommit): New API function to
680     commit any changes made to the DBF file.
681    
682 bh 271 * Thuban/UI/mainwindow.py (make_check_current_tool)
683     (_tool_command): Put the code that generates the "checked"
684     callback into a separate function so that we can reuse it
685     elsewhere
686    
687 bh 269 * Thuban/Model/save.py (Saver): New class to handle serializing a
688     session into an XML file. The main reason to introduce a class is
689     that applications built on Thuban can derive from it so that they
690     can save additional information in a session file.
691     (save_session): Delegate almost all the work to the Saver class.
692     Rename the filename argument to file because it may be a file like
693     object now.
694    
695     * Thuban/Model/load.py: Get rid of the Python 1.5.2 compatibility
696     code. Remove the little test code which would be executed when the
697     module is run as a script which didn't work anymore since it can't
698     import the other Thuban modules.
699     (ProcessSession, load_session): Refactor the ProcessSession to
700     have one method for each element start and end tag so that derived
701     classes can easily override the processing of individual tags.
702     Also, always parse with namespaces enabled because applications
703     built on top of Thuban will likely use namespaces if they extend
704     the session file format.
705    
706 bh 266 2002-08-21 Bernhard Herzog <[email protected]>
707    
708     * setup.py (ThubanInstall.run): Don't repr install_lib_orig
709     because thubaninit_contents will do it for us.
710    
711 tkoester 403 2002-08-16 Jan-Oliver Wagner <[email protected]>
712 jan 265
713     * Thuban/UI/mainwindow.py: menu item 'show session tree' now disable if
714     tree window already open
715    
716 bh 259 2002-08-15 Bernhard Herzog <[email protected]>
717    
718 bh 263 * Thuban/Model/layer.py (Layer.Destroy): Call the unboundd method
719     with self.
720    
721     * Thuban/UI/view.py (MapCanvas.OnLeftUp): Only release the mouse
722     when we have actually captured it.
723    
724 bh 259 * Thuban/Model/layer.py (Layer.Destroy): New. Explicitly close the
725     shapefile and destroy the table.
726    
727     * Thuban/Model/table.py (Table.Destroy): New. Close the DBF file.
728    
729 bh 254 2002-08-14 Bernhard Herzog <[email protected]>
730    
731 bh 256 * Thuban/UI/controls.py (RecordTable.__init__): Remove the unused
732     instance variable columns
733     (RecordTable.GetTypeName): row and col may be negative in some
734     cases.
735    
736 bh 254 * setup.py (InstallLocal.initialize_options)
737     (InstallLocal.finalize_options, InstallLocal.user_options): New
738     option create-init-file to build a thubaninit.py when running
739     install_local
740     (InstallLocal.run): Create the thubaninit.py module when requested
741     (thubaninit_contents): Split the template into several parts and
742     create a new function thubaninit_contents that creates the
743     contents of a thubaninit module.
744     (ThubanInstall.run): Use the new function to create the thubaninit
745     module.
746    
747 bh 252 2002-07-30 Bernhard Herzog <[email protected]>
748    
749     * Thuban/UI/application.py (ThubanApplication.OnExit): Do some
750     cleanup.
751     (ThubanApplication.MainLoop): Extend to automatically call OnExit.
752    
753     * Thuban/Model/session.py (Session.Destroy): Don't bypass the
754     direct base class' Destroy method.
755    
756     * Thuban/Model/map.py (Map.ClearLayers): New method to delete all
757     layers.
758     (Map.Destroy): Destroy the label_layer as well and call the
759     inherited Desatroymethod first so that no more messages are
760     issued.
761     (Map.RaiseLayer, Map.LowerLayer): Only issue LAYERS_CHANGED
762     message if the stacking order actually has changed. Add
763     doc-strings.
764     (Map.BoundingBox): Correct the doc-string.
765     (Map.AddLayer, Map.RemoveLayer, Map.Layers, Map.HasLayers)
766     (Map.ProjectedBoundingBox, Map.SetProjection): Add doc-strings.
767    
768     * Thuban/Model/label.py (LabelLayer.ClearLabels): New to delete
769     all labels.
770    
771 bh 247 2002-07-29 Bernhard Herzog <[email protected]>
772    
773     * Thuban/Model/map.py (Map.subscribe_layer_channels)
774     (Map.unsubscribe_layer_channels): Put the code that (un)subscribes
775     to a layer's channels into separate methods.
776     (Map.RemoveLayer, Map.AddLayer): Call the new methods
777     (Map.Destroy): Unsubscribe from a layer's channels before
778     destroying it.
779    
780     * Thuban/UI/view.py (MapCanvas.find_shape_at): Change the
781     selected_layer parameter to searched_layer which is the layer to
782     search in.
783     (MapCanvas.SelectShapeAt): New parameter layer to restrict the
784     search to that layer. Return the selected layer and shape.
785    
786     * Examples/simple_extensions/simple_tool.py (simple_tool): Fix a
787     typo
788    
789 bh 238 2002-07-24 Bernhard Herzog <[email protected]>
790    
791 bh 243 * Thuban/UI/application.py (ThubanApplication.create_session):
792     Extend the doc string.
793     (ThubanApplication.subscribe_session)
794     (ThubanApplication.unsubscribe_session): New methods to
795     subscribe/unsubscribe to/from session channels.
796     (ThubanApplication.SetSession): Call the new methods here.
797     (ThubanApplication.maps_changed, ThubanApplication.set_map):
798     Renamed set_map to maps_changed. Its now a subscriber for
799     MAPS_CHANGED.
800    
801     * Thuban/UI/view.py (ZoomOutTool.MouseUp): Use the correct
802     x-coordinate in case of simple clicks
803    
804     * Thuban/Model/base.py (Modifiable.changed): Apply the args tuple,
805     don't pass it as a parameter
806    
807     * Thuban/Model/session.py (Session.RemoveMap): New
808    
809 bh 238 * Thuban/UI/mainwindow.py (MainWindow.__init__): Turn the initial
810     window size into a parameter.
811    
812 bh 235 2002-07-23 Bernhard Herzog <[email protected]>
813    
814 bh 237 * Thuban/UI/menu.py (Menu.item_index): Also search for menus not
815     just commands.
816    
817 bh 235 * Thuban/UI/mainwindow.py (MainWindow.__init__): Change the
818     parameter list a bit to allow setting the window title and the
819     initial message in the status bar. Update the callers.
820    
821     * Thuban/UI/application.py (ThubanApplication.OnInit)
822     (ThubanApplication.CreateMainWindow): Put the mainwindow
823     instantiation into a separate method so that it can be overridden
824     by a subclass.
825    
826 bh 230 2002-07-19 Bernhard Herzog <[email protected]>
827    
828 bh 234 * Thuban/Model/session.py: Issue a CHANGED message every time
829     another changed message is issued to make it easier to get
830     notified of changes.
831     (Session): Update the doc string
832     (Session.forward): Issue changed-events as CHANGED as well.
833     (Session.changed): Overwrite the inherited version to issue
834     CHANGED events as well.
835    
836     * Thuban/UI/tree.py: We can now simply subscribe to the session's
837     CHANGED channel to be informed of changes.
838     (SessionTreeCtrl.session_channels): Not needed any longer.
839 tkoester 403 (SessionTreeCtrl.unsubscribe_all, SessionTreeCtrl.session_changed):
840 bh 234 Only have to (un)subscribe CHANGED
841    
842     * Thuban/Model/map.py (Map.TreeInfo): Deal better with empty maps.
843    
844 bh 230 * Thuban/UI/main.py, Thuban/UI/__init__.py: Move the work-around
845     for the wxPython locale bug to __init__.py so that it's
846     automatically executed by anybody using UI code from Thuban.
847    
848 bh 225 2002-07-18 Bernhard Herzog <[email protected]>
849    
850 bh 228 * Thuban/UI/main.py (main): app no longer needs to be global
851    
852     * Thuban/UI/mainwindow.py (MainWindow.__init__): Add application
853     as parameter and store it in an instance variable
854     (MainWindow.invoke_command, MainWindow.update_command_ui)
855     (MainWindow.save_modified_session, MainWindow.NewSession)
856     (MainWindow.OpenSession, MainWindow.SaveSession)
857     (MainWindow.SaveSessionAs, MainWindow.ShowSessionTree): Use self's
858     application object.
859    
860     * Thuban/UI/application.py (ThubanApplication.OnInit): Instantiate
861     the main window with self.
862    
863 bh 225 * Thuban/UI/context.py: New module with the context class
864    
865     * Thuban/UI/command.py (Command): Update doc string.
866    
867     * Thuban/UI/mainwindow.py (MainWindow.invoke_command,
868     MainWindow.update_command_ui): Pass an instance of the context
869     class to the command's methods
870     (check_current_tool, call_method): Handle the new context
871     implementation
872    
873     * Examples/simple_extensions/simple_tool.py (simple_tool,
874     check_simple_tool): Handle the new context implementation
875    
876     * Examples/simple_extensions/simple_command.py (simple_command):
877     Handle the new context implementation. Update the comments about
878     the context.
879    
880     * Thuban/UI/application.py (ThubanApplication.SetSession): Add
881     doc-string
882     (ThubanApplication.Session): New method to return the session
883     object
884    
885     * Thuban/UI/tree.py (SessionTreeCtrl.update_tree): The
886     interactor's selected_layer may not be a layer of the current
887     session when the tree is updated while a new session is being set.
888    
889 bh 217 2002-07-17 Bernhard Herzog <[email protected]>
890    
891     * Thuban/UI/tree.py (color_string): Removed. No longer used.
892     (SessionTreeCtrl.update_tree, SessionTreeCtrl.add_items): Split
893     update_tree into update_tree and add_items. The tree now uses a
894     more generic way to display the contents of the tree.
895     (SessionTreeCtrl): Add a doc string explaining the TreeInfo method
896    
897     * Thuban/Model/layer.py (Layer.TreeInfo),
898     Thuban/Model/extension.py (Extension.TreeInfo),
899     Thuban/Model/map.py (Map.TreeInfo),
900 tkoester 403 Thuban/Model/session.py (Session.TreeInfo):
901 bh 217 Add TreeInfo methods to implement the new tree view update scheme
902    
903 bh 216 2002-07-16 Bernhard Herzog <[email protected]>
904    
905     * Thuban/UI/application.py: Don't use "import from" for the
906     MainWindow. It can't always be resolved.
907     (ThubanApplication.OnInit): change reference to MainWindow
908     accordingly.
909    
910     * Thuban/UI/menu.py (Menu.SetItems): New method to replace a menu
911     completely
912    
913 bh 213 2002-07-10 Bernhard Herzog <[email protected]>
914    
915     * setup.py (create_init_module): New configurable variable whose
916     default depends on the platform we're running on.
917     (ThubanInstall.initialize_options): Initialize
918     self.create_init_module from the global create_init_module
919     (ThubanInstall.user_options): indictate that the options
920     create-init-module and init-module-dir have arguments.
921    
922     * setup.py: In the setup call change the version number to include
923     cvs.
924    
925     * MANIFEST.in: Add the files in Examples
926    
927 bh 205 2002-07-09 Bernhard Herzog <[email protected]>
928    
929 bh 210 * setup.py: In the setup call, use the thuban homepage as the
930     value of the url parameter.
931    
932 bh 208 * Examples: New subdirectory for examples.
933    
934     * Examples/simple_extensions/simple_tool.xpm,
935     Examples/simple_extensions/simple_tool.py,
936     Examples/simple_extensions/simple_command.py,
937     Examples/simple_extensions/README: Simple examples showing how to
938     add new commands and tools.
939    
940 bh 207 * setup.cfg (bdist_rpm): Add the default value for prefix and tell
941     bdist_rpm that we also have an install script.
942     (bdist_inno): Add 2002 to the copyright notice.
943    
944 bh 205 * setup.py: Create a file in python's site-packages directory to
945     make installation of Thuban as a library easier.
946     (ThubanInstall.user_options): Add two new options,
947     create-init-module and init-module-dir
948     (ThubanInstall.expand_with_pure_python_dirs): New method to expand
949     filenames for installation in the default directories.
950     (ThubanInstall.select_scheme, ThubanInstall.convert_paths): Extend
951     the inherited methods to capture some filenames before they're
952     transformed too much by distutils.
953     (ThubanInstall.run): Create the init module if requested.
954     (ThubanInstall.thuban_init_filename): New method to return the
955     full name of the init module.
956     (ThubanInstall.get_outputs): Append the filename of the init
957     module.
958    
959 bh 202 2002-07-08 Bernhard Herzog <[email protected]>
960    
961 bh 205 * setup.py (thuban_bdist_rpm): Extend this version of bdist_rpm to
962     handle the prefix properly which means that the default for the
963     installation prefix should be /usr for RPMs and /usr/local when
964     doing a normal source install.
965     (bdist_rpm_install_script): Script to override the default install
966     commands in the specfile generated by the bdist_rpm command.
967     (thuban_bdist_rpm.user_options): Add a prefix option
968     (thuban_bdist_rpm.initialize_options): Init the prefix option.
969     Create the script files for the spec files as empty files here
970     (thuban_bdist_rpm._make_spec_file): Override the inherited method
971     to fill the script files with content.
972    
973 bh 202 * Thuban/Model/save.py (relative_filename): Wrapper around
974     Thuban.Lib.fileutil.relative_filename that accepts an empty dir
975     argument. save_session now automatically uses this version,
976     solving a problem when saving to a relative filename.
977    
978     * setup.py: In the setup call, make sure that the library
979     directories are under $prefix/lib not directly under $prefix.
980    
981 tkoester 403 2002-06-20 Jan-Oliver Wagner <[email protected]>
982 jan 199
983     * Thuban/Model/extension.py: new module to handle extension objects.
984     * Thuban/Model/messages.py: new messages for extensions.
985     * Thuban/Model/session.py (Session.Extensions, Session.HasExtensions,
986     Session.AddExtension): new for handling extensions.
987     Also some other minor changes to round up extension handling.
988     * Thuban/UI/tree.py (SessionTreeCrtl:update_tree): Added visualization
989     of Extension titles and title and names of its objects.
990    
991 bh 194 2002-05-29 Bernhard Herzog <[email protected]>
992    
993     * Thuban/UI/mainwindow.py (MainWindow.bind_command_events): Bind
994 bh 202 the events for a command.
995 bh 194 (MainWindow.add_toolbar_command, MainWindow.add_menu_command):
996     Call bind_command_events to bind the events. add_toolbar_command
997     can now bind events too so that it's possible to have commands
998     that are only available through the toolbar.
999     (MainWindow.init_ids): New instance variable events_bound to keep
1000     track of for which commands events have been bound.
1001    
1002 bh 190 2002-05-28 Bernhard Herzog <[email protected]>
1003    
1004     * Thuban/UI/menu.py: New module to build and manage menus.
1005    
1006     * Thuban/UI/mainwindow.py: Remove some unused imports.
1007     (MainWindow.__init__, main_menu): move the definition of the main
1008     menu from __init__ to the Menu instance main_menu.
1009     (MainWindow.build_menu_bar, MainWindow.build_menu): New methods to
1010     build the menu bar and sub-menus from a menu description.
1011    
1012     * Thuban/UI/application.py (ThubanApplication.OnInit): Read the
1013     startup file
1014     (ThubanApplication.read_startup_files): New method to run
1015     ~/.thuban/thubanstart.py
1016    
1017 bh 192 * Thuban/UI/mainwindow.py (MainWindow.__init__, main_toolbar):
1018     Move the toolbar definition to the Menu instance main_toolbar.
1019     (MainWindow.build_toolbar): New method to build the toolbar
1020     similar to the build_menu methods
1021    
1022 bh 184 2002-05-23 Bernhard Herzog <[email protected]>
1023    
1024 bh 186 * Thuban/UI/mainwindow.py (MainWindow.__init__): Fix spelling of
1025     layer_outline_color. Fix it in the definition of the command too.
1026    
1027 bh 184 * Thuban/UI/command.py (Command): Fix typo in doc string
1028    
1029 bh 182 2002-05-22 Bernhard Herzog <[email protected]>
1030    
1031     * Thuban/UI/mainwindow.py (MainWindow.RunMessageBox): Fix a typo
1032     in the docstring
1033    
1034 bh 175 2002-05-15 Bernhard Herzog <[email protected]>
1035    
1036 bh 180 * Thuban/Model/layer.py (Layer.open_shapefile): Set bbox to None
1037     when the shapefile is empty.
1038     (Layer.BoundingBox, Layer.LatLongBoundingBox): Both methods may
1039     now return None for empty shapefiles. Update doc-strings.
1040    
1041     * Thuban/Model/map.py (Map.BoundingBox): Add doc-string. Deal with
1042     the layer's bbox being None.
1043    
1044     * Thuban/UI/tree.py (SessionTreeCtrl.update_tree): Deal with the
1045     layer's bbox being None.
1046    
1047 bh 175 * Thuban/UI/view.py (MapCanvas.shape_selected): Only redraw when
1048     necessary.
1049     (MapCanvas.__init__): New instance variables, last_selected_layer
1050     and last_selected_shape to determine how the selection has
1051     changed.
1052    
1053     * Thuban/UI/tableview.py (TableGrid.__init__): Do not call
1054     AutoSizeColumns because it will cause a traversal of the entire
1055     table which for large .dbf files will take a very long time.
1056    
1057 bh 172 2002-05-14 Bernhard Herzog <[email protected]>
1058    
1059     * Thuban/Model/layer.py (Layer.open_shapefile): Choose a better
1060     maximum depth for the tree than shapelib does by default.
1061    
1062 bh 165 2002-05-10 Bernhard Herzog <[email protected]>
1063    
1064     * setup.py (py_modules): The shptree modules doesn't have a
1065     wrapper, so don't include it in the py_modules
1066    
1067 bh 163 2002-05-08 Bernhard Herzog <[email protected]>
1068    
1069     * extensions/shapelib/shptree.c (compare_ints): Make arguments
1070     const void * as in the qsort prototype
1071     (SHPTreeFindLikelyShapes): Remove some unused variables.
1072    
1073     * Thuban/UI/view.py (PanTool.MouseMove): Use the bitmap the view
1074     maintains to redraw the window during a drag.
1075     (MapCanvas.unprojected_rect_around_point): New method to determine
1076     a small region around a point for hit-testing.
1077     (MapCanvas.find_shape_at): Only test the shapes in a small region
1078     around the point.
1079    
1080     * setup.py: Increment the version to 0.1.2
1081    
1082     * Thuban/UI/tree.py (SessionTreeCtrl.unsubscribe_all): Remove a
1083     debug print and set session to None after unsubscribing
1084    
1085 bh 146 2002-05-07 Bernhard Herzog <[email protected]>
1086    
1087 bh 154 * Data/iceland_sample.session, Data/iceland_sample.thuban: Rename
1088     the file to have a .thuban extension.
1089    
1090 bh 152 * Thuban/UI/tree.py (session_channels): New class constant with
1091     all the session channels to subscribe to to update the tree
1092     (SessionTreeCtrl.session_changed): Remember the session so that we
1093     can unsubscribe properly. Use the new class constant to
1094     unsubscribe from the old session and subscribe to the new one.
1095     (SessionTreeCtrl.unsubscribe_all): New method to unsubscribe all
1096     subscriptions of the SessionTreeCtrl.
1097     (SessionTreeView.OnClose): Call the tree's unsubscribe_all method.
1098    
1099     * Thuban/UI/mainwindow.py (MainWindow.__init__): Add the "Show
1100     Session Tree" command to the file menu.
1101    
1102     * Thuban/UI/view.py (MapCanvas.do_redraw): Pass the entire bitmap
1103     as update_region to the renderer.
1104    
1105     * Thuban/UI/renderer.py
1106     (ScreenRenderer.layer_ids, ScreenRenderer.draw_shape_layer): The
1107     update box is now directly a tuple, not a wxRect anymore.
1108    
1109     * Thuban/Model/layer.py (Layer.ShapesInRegion): Remove some debug
1110     prints.
1111    
1112     2002-05-07 Bernhard Herzog <[email protected]>
1113    
1114 bh 146 * setup.py: Add the shptree extension module. See
1115     extensions/pyshapelib/ChangeLog for more details.
1116    
1117     * extensions/shapelib/shpopen.c, extensions/shapelib/shapefil.h,
1118     extensions/shapelib/dbfopen.c: Really update to the versions of
1119     shapelib 1.2.9. For some reason it wasn't really done on
1120     2002-04-11.
1121    
1122     * extensions/shapelib/shptree.c: Modified version of shptree.c of
1123     shapelib 1.2.9. The only real difference is the use of qsort
1124     instead of a bubble sort implementation
1125    
1126     * Thuban/Model/layer.py (Layer.__init__): New instance variable
1127     shapetree to hold the shapelib quadtree for the shapefile
1128     (Layer.open_shapefile): Create the quad tree.
1129     (Layer.ShapesInRegion): New method to return the ids of shapes in
1130     a given region using the quad tree.
1131    
1132     * extensions/thuban/wxproj.cpp (project_points): Fix some typos in
1133     comment
1134     (draw_polygon_shape): Accept both arcs and polygons.
1135     (initwxproj): Use the new PYSHAPELIB_IMPORT_API macro to import
1136     the api.
1137    
1138     * Thuban/UI/renderer.py (MapRenderer.layer_ids): New method to
1139     return the shape ids to be rendered in a given layer.
1140     (MapRenderer.draw_shape_layer): Call layer_ids to get the list of
1141     ids. Use draw_polygon_shape to draw arc shapes as well.
1142     (ScreenRenderer.RenderMap): New parameter for the rectangle that
1143     has to be updated
1144     (ScreenRenderer.layer_ids): Make use of the layer's quadtree by
1145     calling it's ShapesInRegion method.
1146    
1147     * Thuban/UI/view.py (MapCanvas.__init__): New instance variable
1148     update_region for the update region.
1149     (MapCanvas.OnPaint): Maintain the update region
1150     (MapCanvas.do_redraw): Pass the bounding box of the update_region
1151     to the renderer when drawing the bitmap. Reset the update_region.
1152    
1153 bh 129 2002-05-03 Bernhard Herzog <[email protected]>
1154    
1155 bh 131 * Thuban/UI/mainwindow.py (MainWindow.SaveSessionAs,
1156     MainWindow.OpenSession): Change the file extension of the session
1157     files to .thuban
1158    
1159 bh 129 * Thuban/Model/session.py (Session.AddMap, forwarded_channels):
1160     Move the map channels to be forwarded by the session into the
1161 bh 146 class constant with forwarded_channels. Also add
1162     LAYER_PROJECTION_CHANGED and LAYER_VISIBILITY_CHANGED to
1163     forwarded_channels
1164 bh 129
1165     * Thuban/Model/base.py (Modifiable.changed): Fix doc-string (a
1166     typo and some rewording).
1167    
1168 bh 126 2002-05-02 Bernhard Herzog <[email protected]>
1169    
1170     * Thuban/UI/view.py: Keep the temporary bitmap used during drawing
1171     around to speed up most redraws:
1172     (MapCanvas.__init__): New instance variable bitmap which holds the
1173     bitmap
1174     (MapCanvas.do_redraw): Redraw self.bitmap if necessary. Use
1175     self.bitmap to draw.
1176     (MapCanvas.full_redraw): New method to force a full redraw
1177     including the bitmap
1178     (MapCanvas.SetMap): Subscribe full_redraw instead of redraw to
1179     make sure the bitmap is redrawn.
1180     (MapCanvas.projection_changed, MapCanvas.set_view_transform,
1181     MapCanvas.shape_selected): Call full_redraw instead of readraw to
1182     make sure the bitmap is redrawn.
1183     (MapCanvas.OnSize): New method to handle size events so that the
1184     bitmap can be redrawn.
1185    
1186 bh 124 2002-04-29 Bernhard Herzog <[email protected]>
1187    
1188     * Thuban/UI/mainwindow.py (MainWindow.__init__): Subscribe to the
1189     canvas' VIEW_POSITION event
1190     (MainWindow.view_position_changed): Handler for VIEW_POSITION.
1191     Update the text in the status-bar accordingly.
1192    
1193     * Thuban/UI/view.py (MapCanvas): Derive from Publisher as well
1194     (MapCanvas.__del__): Implement because Publisher.__del__ has to be
1195     called.
1196     (MapCanvas.__init__): Bind EVT_LEAVE_WINDOW too. Initialize
1197     current_position
1198     (MapCanvas.set_current_position): New method to set
1199     current_position. Issue a VIEW_POSITION event
1200     (MapCanvas.CurrentPosition): New public method to return the value
1201     of current_position. Should be called when the VIEW_POSITION event
1202     is processed.
1203     (MapCanvas.OnLeftDown, MapCanvas.OnLeftUp, MapCanvas.OnMotion):
1204     Update the position.
1205     (MapCanvas.OnLeaveWindow): Set the position to None.
1206    
1207     * Thuban/UI/messages.py (VIEW_POSITION): New message for the
1208     position in the statusbar
1209    
1210 tkoester 403 2002-04-26 Frank Koormann <[email protected]>
1211 frank 120
1212     * Thuban/UI/mainwindow.py: AddLayer, Dialog title s/session/data
1213    
1214 tkoester 403 2002-04-24 Frank Koormann <[email protected]>
1215    
1216 frank 118 * Resources/Bitmaps/identify.xpm: shadow added
1217    
1218     * Resources/Bitmaps/fullextent.xpm: new
1219 jan 116
1220 tkoester 403 2002-04-22 Jan-Oliver Wagner <[email protected]>
1221 jan 116
1222 tkoester 403 * Thuban/UI/tree.py (update_tree): added test for None on map bounding
1223     box
1224 jan 114
1225 tkoester 403 2002-04-21 Jan-Oliver Wagner <[email protected]>
1226    
1227 jan 114 * Thuban/UI/proj4dialog.py (UTMProposeZoneDialog): new
1228    
1229     * Thuban/UI/tree.py (update_tree): added added map extent
1230    
1231     * Thuban/UI/mainwindow.py (_method_command): extended by parameter
1232 tkoester 403 icon; added map_full_extend as tool
1233 jan 114
1234 tkoester 403 2002-04-19 Jan-Oliver Wagner <[email protected]>
1235 jan 107
1236     * Thuban/UI/mainwindow.py (SaveSession): launch save as dialog for
1237     saving _new_ sessions
1238    
1239     * Thuban/Model/session.py (create_empty_session): new session
1240     don't have a filename (set to None)
1241    
1242     * Thuban/UI/tree.py (update_tree): added filename and modified flag
1243    
1244     * Thuban/Model/load.py (ProcessSession): convert projection
1245     parameters from unicode to regular string
1246    
1247     * Data/iceland_sample.session: Added UTM Zone 26 projection.
1248    
1249 bh 100 2002-04-11 Bernhard Herzog <[email protected]>
1250    
1251     * extensions/shapelib/shapefil.h, extensions/shapelib/shpopen.c,
1252     extensions/shapelib/dbfopen.c: Update to the versions of shapelib
1253     1.2.9
1254    
1255     * setup.py (Lib.wxproj extension): Don't link shpopen.c and put
1256     the pyshapelib directoy into the list of include dirs, so that
1257     pyshapelib_api.h can be found.
1258    
1259     * extensions/thuban/wxproj.cpp (pyshapelib_api): New variable that
1260     holds the pyshapelib C-API
1261     (draw_polygon_shape, point_in_polygon_shape, shape_centroid): Use
1262     pyshapelib_api to access the shapelib functions.
1263     (initwxproj): Import the c_api from the shapelib module and
1264     initialize pyshapelib_api.
1265    
1266 bh 89 2002-04-04 Bernhard Herzog <[email protected]>
1267    
1268 bh 91 * setup.py (thuban_bdist_rpm.initialize_options): Use
1269     initialize_options to create the scripts for the rpm.
1270    
1271 bh 89 * extensions/pyprojection/setup.py (PROJ4_PREFIX): Just use /
1272    
1273 bh 85 2002-04-03 Bernhard Herzog <[email protected]>
1274    
1275 bh 87 * setup.py: Increment version to 0.1.1
1276    
1277 bh 85 * Thuban/UI/mainwindow.py (MainWindow.__init__): Move the "Add
1278     Layer" and "Remove Layer" commands from the layer menu to the map
1279     menu
1280    
1281 bh 83 2002-02-15 Bernhard Herzog <[email protected]>
1282    
1283     * Thuban/Model/layer.py (Layer.Shape): list append only takes one
1284     argument (python <= 1.5.2 erroneously accepted multiuple
1285     arguments)
1286    
1287 bh 81 2002-02-04 Bernhard Herzog <[email protected]>
1288    
1289     * Thuban/UI/identifyview.py (IdentifyGridCtrl): New class to use a
1290     RecordGrid in the identifyview.
1291     (IdentifyView.__init__): Use IdentifyGridCtrl instead of
1292     IdentifyListCtrl. The grid allows editing of the values.
1293    
1294     * Thuban/UI/controls.py (RecordTable, RecordGridCtrl): New classes
1295     implementing a grid for a single row of a thuban table.
1296    
1297     * Thuban/UI/view.py (MapCanvas.SelectShapeAt): Search through all
1298     layers by default. Easier to use than the previous default of only
1299     searching through the select layer which meant that if no layer
1300     was selected, you couldn't select a shape.
1301    
1302     * Thuban/UI/tableview.py (TableGrid.__init__): Fix typo
1303    
1304     * Thuban/UI/renderer.py (MapRenderer.draw_shape_layer): Honour the
1305     stroke_width attribute
1306    
1307     * Thuban/Model/save.py (save_session): Write the new stroke_width
1308     attribute
1309    
1310     * Thuban/Model/load.py (ProcessSession.startElement): Read the
1311     stroke_width attribute
1312    
1313     * Thuban/Model/layer.py (Layer.__init__): New parameter and
1314     instance variable stroke_width
1315     (Layer.SetStrokeWidth): Set the stroke_width.
1316    
1317 bh 72 2002-02-01 Bernhard Herzog <[email protected]>
1318    
1319     * extensions/thuban/wxproj.cpp (project_points): Fix two
1320     off-by-one errors in the last loop that joins the various parts
1321     together.
1322    
1323 bh 71 2002-01-14 Bernhard Herzog <[email protected]>
1324    
1325     * setup.py (data_dist.make_distribution): Fix some typos
1326    
1327 bh 70 2001-09-18 Bernhard Herzog <[email protected]>
1328    
1329     * README: Slight tweaking in preparation for the 0.1 release
1330    
1331     * setup.cfg: Add section for sdist to create both tgz and zip
1332     archives
1333    
1334     * setup.py: increase version number to 0.1
1335     (data_dist): New command class for data distribution
1336    
1337 bh 64 2001-09-14 Bernhard Herzog <[email protected]>
1338    
1339 bh 70 * Thuban/UI/identifyview.py (IdentifyListCtrl.selected_shape):
1340     Handle the case of no layer (i.e. layer is None) properly.
1341    
1342 tkoester 403 * Thuban/UI/proj4dialog.py (UTMDialog.__init__, Proj4Dialog.__init__):
1343 bh 70 Set the initial selection of the combo boxes to reflect the
1344     projection we're starting with in a way that works on windows,
1345     too.
1346    
1347 bh 64 * Thuban/Lib/connector.py (Connector.print_connections): Print the
1348     puiblisher's ids in hex to make it easier to compare them to the
1349     standard repr of python methods
1350    
1351     * Thuban/Model/map.py (Map.Destroy): Unsubscribe the label_layer
1352     messages
1353    
1354 bh 59 2001-09-13 Bernhard Herzog <[email protected]>
1355    
1356 bh 64 * Thuban/UI/tree.py (SessionTreeCtrl.OnSelChanged): Make sure to
1357     deselect the layer if no layer is selected
1358    
1359 bh 59 * Thuban/UI/view.py (MapCanvas.OnPaint): Only delay drawing to
1360     idle time when there actually is something to draw. If there's
1361     nothing to draw simply clear the window
1362     (MapCanvas.do_redraw): Call dc.EndDrawing and add some comments.
1363     (MapCanvas.SetMap): force a redraw in all cases because
1364     FitMapToWindow doesn't always do it.
1365     (MapCanvas.ZoomFactor): Add an optional parameter, center, to
1366     specify the point to move into the center of the window
1367     (ZoomOutTool.MouseUp, ZoomInTool.MouseUp): If the mouse wasn't
1368     dragged, zoon in/out by a factor of 2
1369 bh 64 (MapCanvas.find_shape_at): Iterate backwards (i.e. with decreasing
1370     index, i.e. reversed drawing order) so that objects appearing to
1371     be in from of others are selected first. This is probably mostly
1372     relevant for point shapes where the symbols used may overlap
1373 bh 59
1374     * Thuban/Model/session.py (create_empty_session): Unset the
1375     modified bit before returning it
1376    
1377     * Thuban/UI/mainwindow.py (MainWindow.NewSession): Use
1378     create_empty_session session to create the new, empty session.
1379    
1380     * Thuban/UI/mainwindow.py (MainWindow.__init__): Set the size of
1381     the tool bitmaps.
1382     (MainWindow.OnClose, MainWindow.save_modified_session): Separate
1383     the code that asks whether the session should be saved into the
1384     new method save_modified_session.
1385     (MainWindow.OpenSession, MainWindow.NewSession): Use the new
1386     method to save modified session here too.
1387    
1388 bh 55 2001-09-11 Bernhard Herzog <[email protected]>
1389    
1390     * setup.py (InnoIconItem): fix typo
1391    
1392     (thuban_bdist_inno.run):
1393     (bdist_inno.run): Move the decision not to create symlinks on
1394     non-nt platforms to thuban_bdist_inno and do it unconditinally
1395     since we never want to create the symlinks here
1396    
1397 bh 48 2001-09-10 Bernhard Herzog <[email protected]>
1398    
1399 bh 53 * Thuban/UI/mainwindow.py (MainWindow.IdentifyTool): Popup the
1400     identify view immediately
1401    
1402     * Thuban/UI/controls.py: New file with two classes RecordListCtrl
1403     and SelectableRecordListCtrl that implement the code shared by the
1404     identify view and the label dialog
1405    
1406     * Thuban/UI/identifyview.py (IdentifyListCtrl): Derive from the
1407     new class RecordListCtrl
1408    
1409     * Thuban/UI/labeldialog.py (LabelDialog.OnOK): Check whether the
1410     return value of GetValue is None instead of using it as a boolean
1411     directly so that Zero numbers are handled properly.
1412     (LabelListCtrl): Derive from the new class
1413     SelectableRecordListCtrl
1414    
1415 bh 48 * Thuban/UI/proj4dialog.py (Proj4Dialog.__init__):
1416     (Proj4Dialog.dialogLayout): Make the window resizable and set the
1417     size of the text control explicitly to make the sizers work on
1418     both Windows and X.
1419    
1420 bh 44 2001-09-07 Bernhard Herzog <[email protected]>
1421    
1422     * Thuban/UI/view.py (MapCanvas.find_shape_at):Add a new parameter
1423     that can limit the search to the currently selected layer.
1424     (MapCanvas.SelectShapeAt): Make sure that the currently selected
1425     layer stays selected even when no shape is found
1426 bh 46 (MapCanvas.FitRectToWindow): If the rect has zero with or zero
1427     height do nothing (avoids zero division errors)
1428 bh 44
1429 bh 32 2001-09-06 Bernhard Herzog <[email protected]>
1430    
1431 bh 42 * Thuban/UI/tree.py (SessionTreeCtrl, SessionTreeView.__init__):
1432     Correct the spelling of SessionTreeCtrl. dabbrev is too damn
1433     convenient :-)
1434     (SessionTreeCtrl.__init__, SessionTreeCtrl.update_tree): Introduce
1435     a new instvar layer_to_item to map layers to tree items
1436     (SessionTreeCtrl.layer_selected): Select the appropriate tree item
1437     to match the current selection in the interactor
1438    
1439 bh 40 * Thuban/UI/interactor.py (Interactor.SelectedLayer):
1440     (Interactor.HasSelectedLayer): New methods to query the current
1441     selection
1442    
1443     * Thuban/UI/mainwindow.py (MainWindow.current_layer):
1444     (MainWindow.has_selected_layer): Simply call the appropriate
1445     interactor method
1446    
1447     * Thuban/UI/mainwindow.py (MainWindow.__init__):
1448     (MainWindow.LayerShowTable):
1449     (MainWindow.identify_view_on_demand): Store the interactor in an
1450     instvar and use that reference instead of going through main.app
1451    
1452 tkoester 403 * Thuban/UI/mainwindow.py (MainWindow.ShowSessionTree):
1453     * Thuban/UI/application.py (ThubanApplication.OnInit):
1454 bh 40 * Thuban/UI/main.py (main): Create the session tree view in main
1455     with the new mainwindow method ShowSessionTree and not directly
1456     the application's OnInit method
1457    
1458     * Thuban/UI/tree.py (myTreeCtrlPanel):
1459     (SessioinTreeCtrl): Rename to SessioinTreeCtrl and turn it into a
1460     TreeCtrl isntead of a panel. This affects most method since we now
1461     refer to self instead of self.tree
1462     (SessionTreeView): New class implementing a non-modal dialog
1463     showing the session tree.
1464    
1465 bh 35 * Thuban/UI/mainwindow.py (MainWindow.LayerShowTable): Pass the
1466     layer to the tableview dialog.
1467    
1468     * Thuban/UI/tableview.py: Add some doc-strings
1469 tkoester 403 (TableGrid):
1470 bh 35 (TableGrid.OnRangeSelect):
1471     (TableGrid.OnSelectCell):
1472     (TableFrame.__init__):
1473     (TableFrame.row_selected):
1474     Selecting rows in the grid view now updates the selected shapes
1475     through the TableFrame. To achieve this we derive TableGrid from
1476     Publisher and introduce the message type ROW_SELECTED which the
1477     TableFrame subscribes to and which is issued by OnRangeSelect and
1478     OnSelectCell
1479    
1480     (DataTable.SelectRow): Removed because it's no longer needed in
1481     the row/shape selection scheme
1482    
1483 bh 32 * Thuban/UI/dialogs.py: New file implementing common classes for
1484     dialogs
1485    
1486     * Thuban/UI/tableview.py (TableGrid.__init__): Don't subscribe to
1487     the SELECTED_SHAPE message anymore. This is now handled by the
1488     parent.
1489     (TableGrid.select_shape): Only update the selection if the shape
1490     is not None.
1491     (TableFrame): Inherit from the new NonModalDialog class.
1492     (TableFrame.__init__, TableFrame.select_shape): Handle the
1493     SELECT_SHAPE message.
1494     (TableFrame.OnClose): Extend the inherited method to unsubscribe
1495     SELECT_SHAPE
1496    
1497     * Thuban/UI/mainwindow.py (MainWindow.init_dialogs):
1498     (MainWindow.add_dialog):
1499     (MainWindow.dialog_open):
1500     (MainWindow.remove_dialog):
1501     (MainWindow.get_open_dialog): New methods to maintain a dictionary
1502     of opened non-modal dialogs.
1503    
1504     (MainWindow.__init__): Initialize the new non-modal dictionary
1505     management code
1506     (MainWindow.LayerShowTable): maintain separate dialogs for each
1507     table using the non-modal dialog management code to only open a
1508     view once for each table.
1509    
1510     (MainWindow.IdentifyTool):
1511     (MainWindow.__init__):
1512     (MainWindow.identify_view_on_demand): Don't open the identify view
1513     in IdentifyTool anymore. This will be done automatically by the
1514     new method identify_view_on_demand which handles the
1515     SELECTED_SHAPE message so that the identify view will be opened on
1516     demand
1517    
1518     * Thuban/UI/identifyview.py (IdentifyListCtrl.__init__): Remove
1519     the interactor argument. The SELECTED_SHAPE message is now handled
1520     by the parent.
1521     (IdentifyView.__init__): Add the interactor argument so that we
1522     can handle the SELECTED_SHAPE message here
1523     (IdentifyView.selected_shape): New method to handle the
1524     SELECTED_SHAPE messages
1525    
1526     * Thuban/UI/identifyview.py (IdentifyView): Derive from the new
1527     NonModalDialog class
1528     (IdentifyView.OnClose): Extend the inherited version to
1529     unsubscribe SELECT_SHAPE
1530    
1531     * Thuban/Model/session.py (Session.UnsetModified): Remove debug prints
1532    
1533 bh 26 2001-09-05 Bernhard Herzog <[email protected]>
1534    
1535     * Thuban/UI/view.py (MapCanvas.__init__): New argument, interactor.
1536 tkoester 403
1537 bh 26 * Thuban/UI/mainwindow.py (MainWindow.__init__): New argument
1538     interactor to pass through to the MapCanvas
1539 tkoester 403
1540 bh 26 * Thuban/UI/application.py (ThubanApplication.OnInit): Use the new
1541     argument to the MainWindow constructor to get rid of the ugly hack
1542     that made main.app available early just so that the mapcanvas
1543     could access the interactor object.
1544    
1545 bh 19 2001-09-04 Bernhard Herzog <[email protected]>
1546    
1547 bh 22 * Thuban/UI/mainwindow.py (MainWindow.RunMessageBox): New method
1548     that runs a modal message box
1549     (MainWindow.OnClose): Use the new method
1550     (MainWindow.RemoveLayer): Just do nothing in case no layer is
1551     selected. The command should be grayed out anyway, so there's no
1552     need to pop up a message box.
1553     (MainWindow.AddLayer): Pop up a message box with an error message
1554     if the shape file can't be opened
1555    
1556     * Thuban/Model/layer.py (Layer.__init__): Open the shapefile
1557     immediately. This will cause an exception in case the file can't
1558     be opened and we can display an appropriate message.
1559    
1560 bh 19 * MANIFEST.in: Add extensions/pyprojection/LICENSE
1561    
1562     * setup.py (thuban_bdist_rpm): New class implementing a Thuban
1563     specific bdist_rpm command.
1564    
1565     * Thuban/UI/main.py: Catch ImportError exceptions when importing
1566     the locale module because it may not be available on some
1567     installations.
1568    
1569     * extensions/pyprojection/LICENSE: Copy of the license text in
1570     Projection.i. Having it in a separate file makes it easier to
1571     refer to license text in e.g. RPMs
1572    
1573 bh 18 2001-09-03 Bernhard Herzog <[email protected]>
1574    
1575 bh 19 * setup.py: use wx-config instead of wxgtk-config because it's
1576     more generic
1577    
1578     * setup.py (ThubanInstall.get_outputs): Add the symlink in
1579     <prefix>/bin to the outputs
1580     (ThubanInstall.link_file): New method to link files. We need this
1581     because the standard copy_files refuses to link non-existing
1582     files.
1583     (ThubanInstall.run): Remove the leading install root from the
1584     script filename if an install root was specified and use the new
1585     link_file method
1586 tkoester 403
1587 bh 18 * Thuban/UI/mainwindow.py (MainWindow.AddLayer): Fit the map to
1588     the window when the first layer is added to the map.
1589    
1590     * setup.py (ThubanInstall.run): Honor the build root (self.root)
1591     when linking thuban.py to <prefix>/bin
1592    
1593 bh 16 2001-08-31 Bernhard Herzog <[email protected]>
1594    
1595     * setup.py: In the setup call, the install parameters shouldn't
1596     have trailing slashes because distutils on non-posix platforms
1597     doesn't like that. The same applies to other directories like
1598     "Resources/Bitmaps"
1599    
1600     In the configuration section for nt, move the wxWindows directory
1601     optins into the part clearly marked as editable.
1602    
1603     (InstallLocal.initialize_options):
1604     (InstallLocal.user_options): remove the currently unused debug
1605     flag
1606     (thuban_build_py.find_all_modules): Add this method so that it
1607     works for our case of having packages and modules in one
1608     distribution as well.
1609     (ThubanInstall.initialize_options):
1610     (ThubanInstall.finalize_options):
1611     (ThubanInstall.user_options):
1612     (ThubanInstall.boolean_options): Add new options, do-symlink and
1613     extra files. Since these are the first ThubanInstall specific
1614     options, override user_options and boolean_options
1615     (ThubanInstall.run): Honor the new do-symlink and extra-files
1616     options.
1617     (ThubanInstall.get_outputs): Add to override the base-class's
1618     version and add the extra-files to the outputs
1619     (bdist_inno): New class for windows distributions with Inno Setup
1620     (InnoIconItem): Helper class for bdist_inno
1621     (thuban_bdist_inno): Thuban specific version of bdist_inno. Added
1622     this together with the appropriate parameters, to the setup call.
1623 tkoester 403
1624 bh 16 * setup.cfg (bdist_inno): added new section for the inno setup
1625     installer
1626    
1627     * Thuban/UI/tree.py (myTreeCtrlPanel.__init__): New inst var
1628     changing_selection to avoid recursive selection events when
1629     modifying the selection in response to a selection event.
1630     (myTreeCtrlPanel.normalize_selection): Set the new inst var when
1631     changing the tree's selection.
1632     (myTreeCtrlPanel.OnSelChanged): Only normalize the selection when
1633     we're not being called indirectly from normalize_selection.
1634    
1635     * Thuban/UI/mainwindow.py (MainWindow.update_command_ui): Call
1636     event.Check only if the command is actuall checkable.
1637     (MainWindow.__init__): Call the toolbar's Realize method to make
1638     sure that the items are actually shown
1639    
1640 bh 7 2001-08-28 Bernhard Herzog <[email protected]>
1641    
1642 bh 9 * setup.py: Fix some doc strings
1643    
1644 bh 7 * ChangeLog: started
1645    

Properties

Name Value
svn:eol-style native
svn:keywords Author Date Id Revision

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26