/[thuban]/branches/greater-ms3/thuban/ChangeLog
ViewVC logotype

Diff of /branches/greater-ms3/thuban/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 85 by bh, Wed Apr 3 15:21:58 2002 UTC revision 458 by bh, Tue Mar 4 13:43:16 2003 UTC
# Line 1  Line 1 
1    2003-03-04  Bernhard Herzog  <[email protected]>
2    
3            * Doc/thuban.dtd: Use correct syntax for optional attributes. Make
4            the fill and stroke layer attributes optional with suitable
5            default values. Add the stroke_width layer attribute. Use correct
6            syntax for empty elements. Make the attribute list for labels
7            refer to the label element.
8    
9    2003-03-04  Bernhard Herzog  <[email protected]>
10    
11            * setup.py (thuban_build_py.build): Add a comment about distutils in
12            Python 2.3 containing some of the functionality we implement in
13            setup.py ourselves.
14    
15            * Thuban/UI/classifier.py (ClassGrid.__init__): Set the table
16            before the selection mode. Doing it the other way round triggers
17            an assertion in wxWindows.
18    
19            * Thuban/Model/save.py (escape): Fix typo in doc-string
20    
21            * Thuban/Model/classification.py: Remove unnecessary wxPython
22            import
23    
24    2003-03-04  Jonathan Coles   <[email protected]>
25    
26            * Thuban/Model/classification.py (ClassGroupRange.GetProperties):
27            Parameter 'value' should default to None.
28    
29            * Thuban/UI/mainwindow.py: Use Layer.GetClassification() since
30            the class attribute __classification is now private.
31    
32            * Thuban/UI/classifier.py (ClassGrid): Moved OnCellDClick() from
33            Classifier to ClassGrid. Added support for removing selected rows,
34            which including code for keeping track of when cells are selected,
35            and deselected.
36            (ClassTable): Support for added/removing rows. Fixed a problem
37            with __ParseInput whereby it would not allow strings (only numbers)
38            to be entered.
39            (Classifier): Added button and supporting code for removing
40            selected rows.
41    
42    2003-02-27  Jonathan Coles   <[email protected]>
43    
44            * Thuban/common.py: Moved color conversion functions into
45            Thuban/UI/common.py.
46            (Str2Num): Now converts the float (not the string) to a long/int
47            so that an exception isn't thrown.
48    
49            * Thuban/UI/common.py: Common functions used in several UI modules
50    
51            * Thuban/Model/classification.py: Changed the class hierarchy
52            so that a Classification consists of Groups which return
53            Properties when a value matches a Group.
54    
55            * Thuban/Model/layer.py: Fixed name resolution problem.
56    
57            * Thuban/Model/load.py: Use new Classification and Group functions.
58    
59            * Thuban/Model/save.py (Saver.write_attribs): Fixes a test case
60            failure.
61            (Saver.write_classification): Use new Classification and Group
62            functions.
63    
64            * Thuban/UI/classifier.py: Changes to use new Classification and Group
65            functions. Fix to create a tuple with a single value instead of
66            simply returning the value.
67    
68            * Thuban/UI/renderer.py: Use new Classification and Group functions.
69            Use common.py functions.
70    
71            * Thuban/UI/tree.py: Use common.py functions.
72            
73            * test/test_classification.py: Use new Classification and Group
74            classes.
75    
76    2003-02-24  Jonathan Coles   <[email protected]>
77    
78            * Thuban/common.py (Color2wxColour, wxColour2Color): Conversion
79            functions from Thuban color objects to wxWindow colour objects.
80    
81            * Thuban/Model/classification.py (Classification): Renamed
82            GetProperties() to GetClassData(). Used the new iterator
83            in TreeInfo().
84            (ClassIterator): Iterator implementation to iterate over the
85            ClassData objects in a classification object.
86    
87            * Thuban/Model/save.py (Saver.write_classificaton): Uses
88            the new iterator to save the classification information.
89    
90            * Thuban/UI/classifier.py (SelectPropertiesDialog): Support
91            for changing the stroke and fill colors and previewing the
92            changes.
93    
94            * Thuban/UI/mainwindow.py (MainWindow.OpenSession,
95            MainWindow.SaveSessionAs): Text string changes so the dialogs
96            have more meaningful titles.
97    
98            * Thuban/UI/renderer.py (MapRenderer.draw_shape_layer): Change
99            Classification method name from GetProperties to GetClassData.
100    
101            * Thuban/UI/view.py (MapCanvas.find_shape_at): Use method calls
102            instead of accessing now non-existent class variables.
103    
104    2003-02-24  Bernhard Herzog  <[email protected]>
105    
106            * Thuban/UI/renderer.py (MapRenderer.draw_shape_layer): Remove
107            unneeded Shape() call. Rendering is substantially faster without
108            it and it avoids some problems with broken shape files.
109    
110    2003-02-20  Frank Koormann   <[email protected]>
111    
112            Force minimal size of identify and label dialogs. The autosizing
113            looked too ugly.
114    
115            * Thuban/UI/controls.py (RecordListCtrl): Set minimal width for columns.
116            * Thuban/UI/labeldialog.py (LabelDialog.dialog_layout):
117            Set size of listctrl.
118            * Thuban/UI/identifyview.py (IdentifyView.__init__):
119            Set size of dialog.
120    
121    2003-02-19  Jonathan Coles   <[email protected]>
122    
123            * test/test_classification.py, test/test_layer.py,
124            test/test_load.py, test/test_map.py, test/test_session.py:
125            Updated the tests to use the new functions that are in the
126            respective classes.
127    
128            * Thuban/Model/classification.py (Classification):
129            Uses the new ClassData* classes. Modification messages are
130            passed up to the parent layer (if it exists).
131            (ClassData): New class to encapsulate the common data in each
132            classification property.
133            (ClassDataDefault): Represents the Default class. data.
134            (ClassDataPoint): Represents a single class. data point
135            (ClassDataRange): Represents a class. range
136            (ClassDataMap): Represents a class. map (unused).
137    
138            * Thuban/Model/color.py: Added Color.None to represent something
139            with no color. Color.Black represents the color black.
140            (NoColor): Helper class derived from Color to represent something
141            with no color.
142    
143            * Thuban/Model/layer.py (Layer): Removed references to fill, stroke,
144            stroke_width attributes. Made the 'classification' attribute private.
145            New methods for setting/getting the classification.
146    
147            * Thuban/Model/load.py (ProcessSession): Use new methods on Layer
148            to get the classifcation and use the new ClassData* classes to
149            hold the classification data. Use Str2Num to convert numbers
150            properly.
151    
152            * Thuban/Model/save.py (Saver): Use new Color and Classification
153            methods
154    
155            * Thuban/UI/classifier.py (ClassGrid): New class to represent a
156            custom grid.
157            (ClassTable): Support for editing Values and Labels and for
158            changing what type (point or range) of data is stored in each
159            property based on how the user enters the data.
160            (Classifier): Support for saving the new classifications and
161            launching the dialog to edit a property.
162            (SelectPropertiesDialog): New class for editing the visual
163            properties of a classification (stroke color, width, and fill color)
164            (ClassPreviewer): Took the Draw method from ClassRenderer and
165            made most of it into this new class. Intend to use this class in
166            the SelectPropertiesDialog for previewing changes.
167    
168            * Thuban/UI/renderer.py: Use new Color and Classification methods.
169    
170            * Thuban/UI/tree.py: Formatting changes.
171    
172            * Doc/thuban.dtd: Add 'label' element
173    
174            * Thuban/common.py: New. Contains common routines used throughout
175            the code.
176            (Str2Num): Takes a string and converts it to the "best" type of
177            number.
178    
179    2003-02-14  Bernhard Herzog  <[email protected]>
180    
181            * Thuban/UI/view.py (MapCanvas.OnLeftUp): Make sure that the
182            dragging flag is always set to 0 even when the tool implementation
183            raises an exception
184    
185    2003-02-11  Bernhard Herzog  <[email protected]>
186    
187            * Thuban/UI/application.py (ThubanApplication.splash_screen): New
188            method to create a splash screen.
189            (ThubanApplication.ShowMainWindow): New. Show the main window.
190            Needed so the splash screen can display the mainwindow
191            (ThubanApplication.OnInit): Call the
192            new splash_screen method to determine whether the application
193            should display a splash screen. If it displays a splash screen do
194            not immediately show the main window.
195    
196    2003-02-11  Jonathan Coles  <[email protected]>
197    
198            * Thuban/Model/classification.py: Added import line to fix
199            feature conflicts between running on python2.2 and python2.1.
200    
201            * Thuban/UI/classifier.py (ClassTable): Didn't need to hang
202            onto the clinfo parameter, so removed the deepcopy().
203    
204    2003-02-10  Jonathan Coles  <[email protected]>
205    
206            * Thuban/Model/save.py (Saver.open_element, Saver.close_element):
207            Added element_open variable to track opening and closing of tags
208            so that tags that don't span more than one line are closed with
209            /> instead of </tag_name>. Use the GetDefault*() methods of
210            the Classification class.
211    
212            * Thuban/Model/classification.py (Classificaton): Added set and
213            get methods for the default data. The class also takes a layer
214            reference so that modification messages can be sent. Fixed the
215            methods to use the new ClassData class.
216            (ClassData): New class to encapsulate the classification data
217    
218            * Thuban/Model/layer.py (Layer): Remove the
219            Set[Fill|Stroke|StrokeWidth]() methods. Code should call the
220            SetDefault*() methods on the layer's classification object.
221            (Layer.__init__): Use the new SetDefault*() methods in the
222            Classification class.
223    
224            * Thuban/Model/load.py (ProcessSession): Use the new ClassData
225            object instead of a dictionary.
226    
227            * Thuban/UI/classifier.py (ClassRenderer): New class to
228            draw the classifications in the dialog box's table.
229            (Classifier): Modified to use the ClassRenderer class.
230    
231            * Thuban/UI/mainwindow.py (MainWindow): Use the SetDefault*()
232            methods of the Classification class.
233    
234            * Thuban/UI/renderer.py (MapRenderer): Use the Get*() methods
235            of the ClassData class.
236    
237            * test/test_classification.py, test/test_layer.py,
238            test/test_map.py, test/test_session.py: Fix the tests to work
239            with the above code changes.
240    
241    2003-02-03  Jonathan Coles  <[email protected]>
242    
243            * Thuban/Model/classification.py (Classification): Added getNull()
244            to return the NullData reference
245    
246            * Thuban/Model/layer.py (Layer.SetFill, Layer.SetStroke,
247            Layer.SetStrokeWidth): Modified these functions to change the
248            null data in the classification rather than keep these values
249            directly in the Layer class. Menu options to change these values
250            work again.
251    
252    2003-01-28  Jonathan Coles  <[email protected]>
253    
254            * Thuban/UI/classifier.py (Classifier): Resolved merging conflicts.
255            Fixed crashing problem on some systems. Dialog box shows
256            classification data.
257    
258            * Thuban/UI/tree.py (SessionTreeCtrl.add_items): Handle drawing
259            Colors in the tree view.
260    
261            * Thuban/Model/layer.py (Layer.TreeInfo): Added a call to build
262            the tree info for classifications. Commented out unnecessary lines.
263    
264            * Thuban/Model/classification.py (Classification.TreeInfo): New
265            function to add information about the classification into the
266            tree view.
267    
268    2003-01-27  Jan-Oliver Wagner <[email protected]>
269    
270            * Thuban/__init__.py (_): New.
271    
272            * Thuban/Model/classification.py, Thuban/Model/extension.py,
273            Thuban/Model/layer.py, Thuban/Model/load.py, Thuban/Model/map.py,
274            Thuban/Model/session.py, Thuban/UI/application.py,
275            Thuban/UI/classifier.py, Thuban/UI/context.py, Thuban/UI/controls.py,
276            Thuban/UI/identifyview.py, Thuban/UI/labeldialog.py,
277            Thuban/UI/mainwindow.py, Thuban/UI/menu.py, Thuban/UI/proj4dialog.py,
278            Thuban/UI/renderer.py, Thuban/UI/tree.py, Thuban/Lib/connector.py,
279            Thuban/Lib/fileutil.py: Replace user string by _() for i18n.
280    
281    2003-01-27  Jonathan Coles  <[email protected]>
282    
283            * Thuban/Model/layer.py: Classification initialization calls.
284    
285            * Thuban/Model/classification.py: Created class to encapsulate
286            a layer classification. Supports specific data points and
287            ranges.
288    
289            * Thuban/Model/load.py: Added support for loading classification
290            information.
291    
292            * Thuban/Model/save.py: Added support for saving classification
293            information.
294    
295            * Thuban/UI/classifier.py: Initial class for a dialog box for
296            specifying classification information.
297    
298            * Thuban/UI/mainwindows.py: Support for opening the classifier
299            dialog.
300    
301            * Thuban/UI/renderer.py: Support for drawing a layer with the
302            classification information.
303    
304            * Data/iceland_sample_class.thuban: iceland_sample with
305            classification data.
306    
307            * test/test_classification: Tests for the Classification class.
308    
309    2002-12-09  Bernhard Herzog  <[email protected]>
310    
311            * test/test_command.py: New. Tests for the command classes.
312    
313            * Thuban/UI/command.py (ToolCommand): New class for tool commands.
314            (Command.IsTool): New method to distinguish between command
315            switching tools and other commands.
316    
317            * Thuban/UI/view.py (MapCanvas.SelectTool): New method to select
318            the tool to avoid direct assignments to instance variables
319            (MapCanvas.ZoomInTool, MapCanvas.ZoomOutTool, MapCanvas.PanTool)
320            (MapCanvas.IdentifyTool, MapCanvas.LabelTool): Use SelectTool to
321            change the tool
322    
323            * Thuban/UI/mainwindow.py (MainWindow.update_command_ui): If an
324            active tool's command turns insensitive, disable the tool.
325            (_tool_command): Use the new ToolCommand class
326    
327            * Examples/simple_extensions/simple_tool.py (simple_tool): Use the
328            SelectTool method to change the tool
329            (iconfile): Use the ToolCommand class
330    
331    2002-12-03  Bernhard Herzog  <[email protected]>
332    
333            * Thuban/UI/tree.py (SessionTreeCtrl.normalize_selection): Handle
334            the case of selected items that are not children of Layers or Maps
335            properly. Previously this bug would trigger an assertion in
336            wxWindows.
337    
338    2002-11-06  Frank Koormann  <[email protected]>
339    
340            * Thuban/UI/mainwindow.py: Altered the order of tools in the
341            toolbar: First now are all navigation tools (Zoom In/Out, Pan,
342            Full Extent).
343    
344    2002-10-23  Bernhard Herzog  <[email protected]>
345    
346            * setup.py (setup call): version now 0.1.3
347    
348            * MANIFEST.in: Add the files in test/
349    
350            * test/README: Add note about tests requiring the iceland data
351    
352            * Thuban/UI/mainwindow.py (MainWindow.About): Add 2002 to
353            copyright notice.
354    
355    2002-10-18  Bernhard Herzog  <[email protected]>
356    
357            * test/test_map.py
358            (TestMapWithContents.test_projected_bounding_box): Use an explicit
359            epsilon.
360    
361            * test/support.py (FloatComparisonMixin.assertFloatEqual)
362            (FloatComparisonMixin.assertFloatSeqEqual): give a more useful
363            message if the assertion fails and don't return the return value
364            of self.assert_. In assertFloatSeqEqual the return meant that not
365            all items of the sequence were compared.
366    
367    2002-09-20  Bernhard Herzog  <[email protected]>
368    
369            * test/test_fileutil.py: New. Test cases for Thuban.Lib.fileutil
370    
371            * Thuban/Lib/fileutil.py: Fixup some whitespace and typos
372    
373            * test/test_map.py (TestMapWithContents.test_tree_info): Create
374            the string with the bounding box on the fly because of platform
375            differences in the way %g is handled.
376    
377            * test/test_layer.py (TestLayer.test_empty_layer): Create an empty
378            DBFfile too because Thuban layers can't yet cope missing DBF
379            files.
380    
381    2002-09-20  Bernhard Herzog  <[email protected]>
382    
383            * test/test_menu.py: Use initthuban instead of
384            add_thuban_dir_to_path to initialize Thuban.
385    
386            * test/support.py (FloatComparisonMixin.assertFloatEqual): New.
387            Mixin class for float comparisons
388            (SubscriberMixin): New. Mixin class to test messages sent through
389            the Connector class
390    
391            * test/README: Fix a typo and add the -v flag to the command for
392            individual tests
393    
394            * test/test_session.py: New. Test cases for Thuban.Model.session
395    
396            * test/test_proj.py: New. Test cases for Thuban.Model.proj
397    
398            * test/test_map.py: New. Test cases for Thuban.Model.map
399    
400            * test/test_layer.py: New. Test cases for Thuban.Model.layer
401    
402            * test/test_label.py: New. Test cases for Thuban.Model.label
403    
404            * test/test_connector.py: New. Test cases for Thuban.Lib.connector
405    
406            * test/test_color.py: New. Test cases for Thuban.Model.color
407    
408            * test/test_base.py: New. Test cases for Thuban.Model.base
409    
410    2002-09-13  Bernhard Herzog  <[email protected]>
411    
412            * Thuban/Model/session.py (Session.forwarded_channels): Forward
413            the CHANGED channel too.
414    
415            * Thuban/Model/map.py (Map.forwarded_channels): Forward the
416            CHANGED channel too.
417            (Map.__init__): Call the Modifiable constructor as well.
418    
419            * Thuban/Model/base.py (Modifiable.UnsetModified): Issue a CHANGED
420            event if the modified flag changes.
421            (Modifiable.changed): Tweak the doc-string.
422    
423            * Thuban/UI/mainwindow.py (MainWindow.view_position_changed)
424            (MainWindow.set_position_text): Put the code that puts the text
425            with the mouse position into the status bar into the new method
426            set_position_text so that it can overwritten in derived classes.
427    
428    2002-09-12  Bernhard Herzog  <[email protected]>
429    
430            * Thuban/UI/mainwindow.py (MainWindow.RunMessageBox): Center the
431            message box on the main window.
432    
433    2002-09-11  Bernhard Herzog  <[email protected]>
434    
435            * Thuban/UI/mainwindow.py: Underline the 'x' in "Exit" instead of
436            the 'E' because it's less likely to interfere with other menu
437            entries.
438            (MainWindow.build_menu): remove an incorrect comment.
439    
440    2002-09-10  Bernhard Herzog  <[email protected]>
441    
442            * Thuban/UI/mainwindow.py (MainWindow.Map): New.
443            (_tool_command): Add sensitive parameter
444            (_has_visible_map): Sensitivity callback to tools and other
445            commands that require a visible map. Use it in map_zoom_in_tool,
446            map_zoom_out_tool, map_pan_tool, map_identify_tool, map_label_tool
447            and map_full_extent
448    
449    2002-09-06  Bernhard Herzog  <[email protected]>
450    
451            * Thuban/UI/mainwindow.py (MainWindow.OnClose): Unsubscribe
452            VIEW_POSITION
453    
454    2002-09-04  Frank Koormann  <[email protected]>
455    
456            * Resources/Bitmaps/fullextent.xpm: Updated Icon (removed "potatoe")
457    
458    2002-09-02  Bernhard Herzog  <[email protected]>
459    
460            * Thuban/UI/view.py: Get rid of the idle redraw. This is done by
461            wxWindows already and our implementation doesn't work correctly
462            with wxGTK 2.3:
463            (MapCanvas.__init__): Remove the instance variable
464            (MapCanvas.OnPaint): Always call do_redraw when there's a map to
465            be drawin
466            (MapCanvas.OnIdle): Removed.
467    
468            * Thuban/UI/view.py (MapCanvas.unprojected_rect_around_point): Add
469            a parameter to determine the size of the rectangle.
470            (MapCanvas.find_shape_at): Create the box around the point on a
471            layer by layer basis and make the size depend on the shape type.
472            This solves a problem with the selection of point shapes at the
473            border of the layer's bounding box
474    
475    2002-08-30  Bernhard Herzog  <[email protected]>
476    
477            * Thuban/UI/mainwindow.py (MainWindow.CanRemoveLayer): New method
478            for the sensitivity  of remove layer.
479            (_can_remove_layer): New. Sensitivity callback for remove layer
480            (Command layer_remove): Use _can_remove_layer
481    
482            * Thuban/Model/map.py (Map.CanRemoveLayer): New method to
483            determine whether a given layer can be deleted.
484    
485            * Thuban/UI/view.py (MapCanvas.__init__, MapCanvas.OnPaint)
486            (MapCanvas.do_redraw): Get rid of the unused update_region
487            instance variable
488    
489            * Thuban/UI/view.py: Add/update some doc-strings.
490    
491            * test/: new subdirectory with a bunch of unit tests.
492    
493            * test/README, test/test_table.py, test/test_save.py,
494            test/test_menu.py, test/test_load.py: Initial set of tests and
495            brief instructions on how to run them
496    
497    2002-08-29  Bernhard Herzog  <[email protected]>
498    
499            * Thuban/UI/renderer.py (ScreenRenderer.draw_shape_layer): Handle
500            arcs with multiple parts.
501    
502            * Thuban/UI/view.py (ZoomInTool.MouseUp, ZoomOutTool.MouseUp):
503            Handle degenrate rectangles.
504    
505            * Thuban/Model/table.py: Make writing records work correctly:
506            (Table.__init__): Keep track of whether the DBF is open for
507            writing
508            (Table.write_record): Open the DBF file for writing when necessary
509    
510    2002-08-27  Bernhard Herzog  <[email protected]>
511    
512            * Thuban/Model/table.py (Table.write_record, Table.__init__): Open
513            dbf files only for reading by default. Use a new writable dbf
514            object for writing.
515    
516    2002-08-26  Bernhard Herzog  <[email protected]>
517    
518            * Thuban/UI/mainwindow.py: Refactor the context creation:
519            (MainWindow.Context): New method to return a context
520            (MainWindow.invoke_command, MainWindow.update_command_ui): Use the
521            new method
522    
523            * Thuban/UI/tableview.py (TableGrid, LayerTableGrid): Split the
524            layer table specific code from TableGrid into LayerTableGrid
525            (TableFrame, LayerTableFrame): Split the layer table specific code
526            from TableFrame into LayerTableFrame
527            (LayerTableGrid.select_shape): Remove a debug print
528    
529            * Thuban/UI/mainwindow.py (MainWindow.LayerShowTable): Use the
530            LayerTableFrame
531    
532    2002-08-23  Bernhard Herzog  <[email protected]>
533    
534            * Thuban/Model/layer.py (Layer.__init__): Make sure we have an
535            absolute filename.
536    
537    2002-08-22  Bernhard Herzog  <[email protected]>
538    
539            * Thuban/Model/table.py (Table.write_record): New method to write
540            records.
541            (Table.__init__): Open the DBF file for writing too.
542    
543            * Thuban/UI/controls.py (RecordTable.SetValue): Write the value
544            into the underlying table.
545    
546            * extensions/shapelib/shapefil.h (DBFCommit),
547            extensions/shapelib/dbfopen.c (DBFCommit): New API function to
548            commit any changes made to the DBF file.
549    
550            * Thuban/UI/mainwindow.py (make_check_current_tool)
551            (_tool_command): Put the code that generates the "checked"
552            callback into a separate function so that we can reuse it
553            elsewhere
554    
555            * Thuban/Model/save.py (Saver): New class to handle serializing a
556            session into an XML file. The main reason to introduce a class is
557            that applications built on Thuban can derive from it so that they
558            can save additional information in a session file.
559            (save_session): Delegate almost all the work to the Saver class.
560            Rename the filename argument to file because it may be a file like
561            object now.
562    
563            * Thuban/Model/load.py: Get rid of the Python 1.5.2 compatibility
564            code. Remove the little test code which would be executed when the
565            module is run as a script which didn't work anymore since it can't
566            import the other Thuban modules.
567            (ProcessSession, load_session): Refactor the ProcessSession to
568            have one method for each element start and end tag so that derived
569            classes can easily override the processing of individual tags.
570            Also, always parse with namespaces enabled because applications
571            built on top of Thuban will likely use namespaces if they extend
572            the session file format.
573    
574    2002-08-21  Bernhard Herzog  <[email protected]>
575    
576            * setup.py (ThubanInstall.run): Don't repr install_lib_orig
577            because thubaninit_contents will do it for us.
578    
579    2002-08-16  Jan-Oliver Wagner <[email protected]>
580    
581            * Thuban/UI/mainwindow.py: menu item 'show session tree' now disable if
582            tree window already open
583    
584    2002-08-15  Bernhard Herzog  <[email protected]>
585    
586            * Thuban/Model/layer.py (Layer.Destroy): Call the unboundd method
587            with self.
588    
589            * Thuban/UI/view.py (MapCanvas.OnLeftUp): Only release the mouse
590            when we have actually captured it.
591    
592            * Thuban/Model/layer.py (Layer.Destroy): New. Explicitly close the
593            shapefile and destroy the table.
594    
595            * Thuban/Model/table.py (Table.Destroy): New. Close the DBF file.
596    
597    2002-08-14  Bernhard Herzog  <[email protected]>
598    
599            * Thuban/UI/controls.py (RecordTable.__init__): Remove the unused
600            instance variable columns
601            (RecordTable.GetTypeName): row and col may be negative in some
602            cases.
603    
604            * setup.py (InstallLocal.initialize_options)
605            (InstallLocal.finalize_options, InstallLocal.user_options): New
606            option create-init-file to build a thubaninit.py when running
607            install_local
608            (InstallLocal.run): Create the thubaninit.py module when requested
609            (thubaninit_contents): Split the template into several parts and
610            create a new function thubaninit_contents that creates the
611            contents of a thubaninit module.
612            (ThubanInstall.run): Use the new function to create the thubaninit
613            module.
614    
615    2002-07-30  Bernhard Herzog  <[email protected]>
616    
617            * Thuban/UI/application.py (ThubanApplication.OnExit): Do some
618            cleanup.
619            (ThubanApplication.MainLoop): Extend to automatically call OnExit.
620    
621            * Thuban/Model/session.py (Session.Destroy): Don't bypass the
622            direct base class' Destroy method.
623    
624            * Thuban/Model/map.py (Map.ClearLayers): New method to delete all
625            layers.
626            (Map.Destroy): Destroy the label_layer as well and call the
627            inherited Desatroymethod first so that no more messages are
628            issued.
629            (Map.RaiseLayer, Map.LowerLayer): Only issue LAYERS_CHANGED
630            message if the stacking order actually has changed. Add
631            doc-strings.
632            (Map.BoundingBox): Correct the doc-string.
633            (Map.AddLayer, Map.RemoveLayer, Map.Layers, Map.HasLayers)
634            (Map.ProjectedBoundingBox, Map.SetProjection): Add doc-strings.
635    
636            * Thuban/Model/label.py (LabelLayer.ClearLabels): New to delete
637            all labels.
638    
639    2002-07-29  Bernhard Herzog  <[email protected]>
640    
641            * Thuban/Model/map.py (Map.subscribe_layer_channels)
642            (Map.unsubscribe_layer_channels): Put the code that (un)subscribes
643            to a layer's channels into separate methods.
644            (Map.RemoveLayer, Map.AddLayer): Call the new methods
645            (Map.Destroy): Unsubscribe from a layer's channels before
646            destroying it.
647    
648            * Thuban/UI/view.py (MapCanvas.find_shape_at): Change the
649            selected_layer parameter to searched_layer which is the layer to
650            search in.
651            (MapCanvas.SelectShapeAt): New parameter layer to restrict the
652            search to that layer. Return the selected layer and shape.
653    
654            * Examples/simple_extensions/simple_tool.py (simple_tool): Fix a
655            typo
656    
657    2002-07-24  Bernhard Herzog  <[email protected]>
658    
659            * Thuban/UI/application.py (ThubanApplication.create_session):
660            Extend the doc string.
661            (ThubanApplication.subscribe_session)
662            (ThubanApplication.unsubscribe_session): New methods to
663            subscribe/unsubscribe to/from session channels.
664            (ThubanApplication.SetSession): Call the new methods here.
665            (ThubanApplication.maps_changed, ThubanApplication.set_map):
666            Renamed set_map to maps_changed. Its now a subscriber for
667            MAPS_CHANGED.
668    
669            * Thuban/UI/view.py (ZoomOutTool.MouseUp): Use the correct
670            x-coordinate in case of simple clicks
671    
672            * Thuban/Model/base.py (Modifiable.changed): Apply the args tuple,
673            don't pass it as a parameter
674    
675            * Thuban/Model/session.py (Session.RemoveMap): New
676    
677            * Thuban/UI/mainwindow.py (MainWindow.__init__): Turn the initial
678            window size into a parameter.
679    
680    2002-07-23  Bernhard Herzog  <[email protected]>
681    
682            * Thuban/UI/menu.py (Menu.item_index): Also search for menus not
683            just commands.
684    
685            * Thuban/UI/mainwindow.py (MainWindow.__init__): Change the
686            parameter list a bit to allow setting the window title and the
687            initial message in the status bar. Update the callers.
688    
689            * Thuban/UI/application.py (ThubanApplication.OnInit)
690            (ThubanApplication.CreateMainWindow): Put the mainwindow
691            instantiation into a separate method so that it can be overridden
692            by a subclass.
693    
694    2002-07-19  Bernhard Herzog  <[email protected]>
695    
696            * Thuban/Model/session.py: Issue a CHANGED message every time
697            another changed message is issued to make it easier to get
698            notified of changes.
699            (Session): Update the doc string
700            (Session.forward): Issue changed-events as CHANGED as well.
701            (Session.changed): Overwrite the inherited version to issue
702            CHANGED events as well.
703    
704            * Thuban/UI/tree.py: We can now simply subscribe to the session's
705            CHANGED channel to be informed of changes.
706            (SessionTreeCtrl.session_channels): Not needed any longer.
707            (SessionTreeCtrl.unsubscribe_all, SessionTreeCtrl.session_changed):
708            Only have to (un)subscribe CHANGED
709    
710            * Thuban/Model/map.py (Map.TreeInfo): Deal better with empty maps.
711    
712            * Thuban/UI/main.py, Thuban/UI/__init__.py: Move the work-around
713            for the wxPython locale bug to __init__.py so that it's
714            automatically executed by anybody using UI code from Thuban.
715    
716    2002-07-18  Bernhard Herzog  <[email protected]>
717    
718            * Thuban/UI/main.py (main): app no longer needs to be global
719    
720            * Thuban/UI/mainwindow.py (MainWindow.__init__): Add application
721            as parameter and store it in an instance variable
722            (MainWindow.invoke_command, MainWindow.update_command_ui)
723            (MainWindow.save_modified_session, MainWindow.NewSession)
724            (MainWindow.OpenSession, MainWindow.SaveSession)
725            (MainWindow.SaveSessionAs, MainWindow.ShowSessionTree): Use self's
726            application object.
727    
728            * Thuban/UI/application.py (ThubanApplication.OnInit): Instantiate
729            the main window with self.
730    
731            * Thuban/UI/context.py: New module with the context class
732    
733            * Thuban/UI/command.py (Command): Update doc string.
734    
735            * Thuban/UI/mainwindow.py (MainWindow.invoke_command,
736            MainWindow.update_command_ui): Pass an instance of the context
737            class to the command's methods
738            (check_current_tool, call_method): Handle the new context
739            implementation
740    
741            * Examples/simple_extensions/simple_tool.py (simple_tool,
742            check_simple_tool): Handle the new context implementation
743    
744            * Examples/simple_extensions/simple_command.py (simple_command):
745            Handle the new context implementation. Update the comments about
746            the context.
747    
748            * Thuban/UI/application.py (ThubanApplication.SetSession): Add
749            doc-string
750            (ThubanApplication.Session): New method to return the session
751            object
752    
753            * Thuban/UI/tree.py (SessionTreeCtrl.update_tree): The
754            interactor's selected_layer may not be a layer of the current
755            session when the tree is updated while a new session is being set.
756    
757    2002-07-17  Bernhard Herzog  <[email protected]>
758    
759            * Thuban/UI/tree.py (color_string): Removed. No longer used.
760            (SessionTreeCtrl.update_tree, SessionTreeCtrl.add_items): Split
761            update_tree into update_tree and add_items. The tree now uses a
762            more generic way to display the contents of the tree.
763            (SessionTreeCtrl): Add a doc string explaining the TreeInfo method
764    
765            * Thuban/Model/layer.py (Layer.TreeInfo),
766            Thuban/Model/extension.py (Extension.TreeInfo),
767            Thuban/Model/map.py (Map.TreeInfo),
768            Thuban/Model/session.py (Session.TreeInfo):
769            Add TreeInfo methods to implement the new tree view update scheme
770    
771    2002-07-16  Bernhard Herzog  <[email protected]>
772    
773            * Thuban/UI/application.py: Don't use "import from" for the
774            MainWindow. It can't always be resolved.
775            (ThubanApplication.OnInit): change reference to MainWindow
776            accordingly.
777    
778            * Thuban/UI/menu.py (Menu.SetItems): New method to replace a menu
779            completely
780    
781    2002-07-10  Bernhard Herzog  <[email protected]>
782    
783            * setup.py (create_init_module): New configurable variable whose
784            default depends on the platform we're running on.
785            (ThubanInstall.initialize_options): Initialize
786            self.create_init_module from the global create_init_module
787            (ThubanInstall.user_options): indictate that the options
788            create-init-module and init-module-dir have arguments.
789    
790            * setup.py: In the setup call change the version number to include
791            cvs.
792    
793            * MANIFEST.in: Add the files in Examples
794    
795    2002-07-09  Bernhard Herzog  <[email protected]>
796    
797            * setup.py: In the setup call, use the thuban homepage as the
798            value of the url parameter.
799    
800            * Examples: New subdirectory for examples.
801    
802            * Examples/simple_extensions/simple_tool.xpm,
803            Examples/simple_extensions/simple_tool.py,
804            Examples/simple_extensions/simple_command.py,
805            Examples/simple_extensions/README: Simple examples showing how to
806            add new commands and tools.
807    
808            * setup.cfg (bdist_rpm): Add the default value for prefix and tell
809            bdist_rpm that we also have an install script.
810            (bdist_inno): Add 2002 to the copyright notice.
811    
812            * setup.py: Create a file in python's site-packages directory to
813            make installation of Thuban as a library easier.
814            (ThubanInstall.user_options): Add two new options,
815            create-init-module and init-module-dir
816            (ThubanInstall.expand_with_pure_python_dirs): New method to expand
817            filenames for installation in the default directories.
818            (ThubanInstall.select_scheme, ThubanInstall.convert_paths): Extend
819            the inherited methods to capture some filenames before they're
820            transformed too much by distutils.
821            (ThubanInstall.run): Create the init module if requested.
822            (ThubanInstall.thuban_init_filename): New method to return the
823            full name of the init module.
824            (ThubanInstall.get_outputs): Append the filename of the init
825            module.
826    
827    2002-07-08  Bernhard Herzog  <[email protected]>
828    
829            * setup.py (thuban_bdist_rpm): Extend this version of bdist_rpm to
830            handle the prefix properly which means that the default for the
831            installation prefix should be /usr for RPMs and /usr/local when
832            doing a normal source install.
833            (bdist_rpm_install_script): Script to override the default install
834            commands in the specfile generated by the bdist_rpm command.
835            (thuban_bdist_rpm.user_options): Add a prefix option
836            (thuban_bdist_rpm.initialize_options): Init the prefix option.
837            Create the script files for the spec files as empty files here
838            (thuban_bdist_rpm._make_spec_file): Override the inherited method
839            to fill the script files with content.
840    
841            * Thuban/Model/save.py (relative_filename): Wrapper around
842            Thuban.Lib.fileutil.relative_filename that accepts an empty dir
843            argument. save_session now automatically uses this version,
844            solving a problem when saving to a relative filename.
845    
846            * setup.py: In the setup call, make sure that the library
847            directories are under $prefix/lib not directly under $prefix.
848    
849    2002-06-20  Jan-Oliver Wagner <[email protected]>
850    
851            * Thuban/Model/extension.py: new module to handle extension objects.
852            * Thuban/Model/messages.py: new messages for extensions.
853            * Thuban/Model/session.py (Session.Extensions, Session.HasExtensions,
854            Session.AddExtension): new for handling extensions.
855            Also some other minor changes to round up extension handling.
856            * Thuban/UI/tree.py (SessionTreeCrtl:update_tree): Added visualization
857            of Extension titles and title and names of its objects.
858    
859    2002-05-29  Bernhard Herzog  <[email protected]>
860    
861            * Thuban/UI/mainwindow.py (MainWindow.bind_command_events): Bind
862            the events for a command.
863            (MainWindow.add_toolbar_command, MainWindow.add_menu_command):
864            Call bind_command_events to bind the events. add_toolbar_command
865            can now bind events too so that it's possible to have commands
866            that are only available through the toolbar.
867            (MainWindow.init_ids): New instance variable events_bound to keep
868            track of for which commands events have been bound.
869    
870    2002-05-28  Bernhard Herzog  <[email protected]>
871    
872            * Thuban/UI/menu.py: New module to build and manage menus.
873    
874            * Thuban/UI/mainwindow.py: Remove some unused imports.
875            (MainWindow.__init__, main_menu): move the definition of the main
876            menu from __init__ to the Menu instance main_menu.
877            (MainWindow.build_menu_bar, MainWindow.build_menu): New methods to
878            build the menu bar and sub-menus from a menu description.
879    
880            * Thuban/UI/application.py (ThubanApplication.OnInit): Read the
881            startup file
882            (ThubanApplication.read_startup_files): New method to run
883            ~/.thuban/thubanstart.py
884    
885            * Thuban/UI/mainwindow.py (MainWindow.__init__, main_toolbar):
886            Move the toolbar definition to the Menu instance main_toolbar.
887            (MainWindow.build_toolbar): New method to build the toolbar
888            similar to the build_menu methods
889    
890    2002-05-23  Bernhard Herzog  <[email protected]>
891    
892            * Thuban/UI/mainwindow.py (MainWindow.__init__): Fix spelling of
893            layer_outline_color. Fix it in the definition of the command too.
894    
895            * Thuban/UI/command.py (Command): Fix typo in doc string
896    
897    2002-05-22  Bernhard Herzog  <[email protected]>
898    
899            * Thuban/UI/mainwindow.py (MainWindow.RunMessageBox): Fix a typo
900            in the docstring
901    
902    2002-05-15  Bernhard Herzog  <[email protected]>
903    
904            * Thuban/Model/layer.py (Layer.open_shapefile): Set bbox to None
905            when the shapefile is empty.
906            (Layer.BoundingBox, Layer.LatLongBoundingBox): Both methods may
907            now return None for empty shapefiles. Update doc-strings.
908    
909            * Thuban/Model/map.py (Map.BoundingBox): Add doc-string. Deal with
910            the layer's bbox being None.
911    
912            * Thuban/UI/tree.py (SessionTreeCtrl.update_tree): Deal with the
913            layer's bbox being None.
914    
915            * Thuban/UI/view.py (MapCanvas.shape_selected): Only redraw when
916            necessary.
917            (MapCanvas.__init__): New instance variables, last_selected_layer
918            and last_selected_shape to determine how the selection has
919            changed.
920    
921            * Thuban/UI/tableview.py (TableGrid.__init__): Do not call
922            AutoSizeColumns because it will cause a traversal of the entire
923            table which for large .dbf files will take a very long time.
924    
925    2002-05-14  Bernhard Herzog  <[email protected]>
926    
927            * Thuban/Model/layer.py (Layer.open_shapefile): Choose a better
928            maximum depth for the tree than shapelib does by default.
929    
930    2002-05-10  Bernhard Herzog  <[email protected]>
931    
932            * setup.py (py_modules): The shptree modules doesn't have a
933            wrapper, so don't include it in the py_modules
934    
935    2002-05-08  Bernhard Herzog  <[email protected]>
936    
937            * extensions/shapelib/shptree.c (compare_ints): Make arguments
938            const void * as in the qsort prototype
939            (SHPTreeFindLikelyShapes): Remove some unused variables.
940    
941            * Thuban/UI/view.py (PanTool.MouseMove): Use the bitmap the view
942            maintains to redraw the window during a drag.
943            (MapCanvas.unprojected_rect_around_point): New method to determine
944            a small region around a point for hit-testing.
945            (MapCanvas.find_shape_at): Only test the shapes in a small region
946            around the point.
947    
948            * setup.py: Increment the version to 0.1.2
949    
950            * Thuban/UI/tree.py (SessionTreeCtrl.unsubscribe_all): Remove a
951            debug print and set session to None after unsubscribing
952    
953    2002-05-07  Bernhard Herzog  <[email protected]>
954    
955            * Data/iceland_sample.session, Data/iceland_sample.thuban: Rename
956            the file to have a .thuban extension.
957    
958            * Thuban/UI/tree.py (session_channels): New class constant with
959            all the session channels to subscribe to to update the tree
960            (SessionTreeCtrl.session_changed): Remember the session so that we
961            can unsubscribe properly. Use the new class constant to
962            unsubscribe from the old session and subscribe to the new one.
963            (SessionTreeCtrl.unsubscribe_all): New method to unsubscribe all
964            subscriptions of the SessionTreeCtrl.
965            (SessionTreeView.OnClose): Call the tree's unsubscribe_all method.
966    
967            * Thuban/UI/mainwindow.py (MainWindow.__init__): Add the "Show
968            Session Tree" command to the file menu.
969    
970            * Thuban/UI/view.py (MapCanvas.do_redraw): Pass the entire bitmap
971            as update_region to the renderer.
972    
973            * Thuban/UI/renderer.py
974            (ScreenRenderer.layer_ids, ScreenRenderer.draw_shape_layer): The
975            update box is now directly a tuple, not a wxRect anymore.
976    
977            * Thuban/Model/layer.py (Layer.ShapesInRegion): Remove some debug
978            prints.
979    
980    2002-05-07  Bernhard Herzog  <[email protected]>
981    
982            * setup.py: Add the shptree extension module. See
983            extensions/pyshapelib/ChangeLog for more details.
984    
985            * extensions/shapelib/shpopen.c, extensions/shapelib/shapefil.h,
986            extensions/shapelib/dbfopen.c: Really update to the versions of
987            shapelib 1.2.9. For some reason it wasn't really done on
988            2002-04-11.
989    
990            * extensions/shapelib/shptree.c: Modified version of shptree.c of
991            shapelib 1.2.9. The only real difference is the use of qsort
992            instead of a bubble sort implementation
993    
994            * Thuban/Model/layer.py (Layer.__init__): New instance variable
995            shapetree to hold the shapelib quadtree for the shapefile
996            (Layer.open_shapefile): Create the quad tree.
997            (Layer.ShapesInRegion): New method to return the ids of shapes in
998            a given region using the quad tree.
999    
1000            * extensions/thuban/wxproj.cpp (project_points): Fix some typos in
1001            comment
1002            (draw_polygon_shape): Accept both arcs and polygons.
1003            (initwxproj): Use the new PYSHAPELIB_IMPORT_API macro to import
1004            the api.
1005    
1006            * Thuban/UI/renderer.py (MapRenderer.layer_ids): New method to
1007            return the shape ids to be rendered in a given layer.
1008            (MapRenderer.draw_shape_layer): Call layer_ids to get the list of
1009            ids. Use draw_polygon_shape to draw arc shapes as well.
1010            (ScreenRenderer.RenderMap): New parameter for the rectangle that
1011            has to be updated
1012            (ScreenRenderer.layer_ids): Make use of the layer's quadtree by
1013            calling it's ShapesInRegion method.
1014    
1015            * Thuban/UI/view.py (MapCanvas.__init__): New instance variable
1016            update_region for the update region.
1017            (MapCanvas.OnPaint): Maintain the update region
1018            (MapCanvas.do_redraw): Pass the bounding box of the update_region
1019            to the renderer when drawing the bitmap. Reset the update_region.
1020    
1021    2002-05-03  Bernhard Herzog  <[email protected]>
1022    
1023            * Thuban/UI/mainwindow.py (MainWindow.SaveSessionAs,
1024            MainWindow.OpenSession): Change the file extension of the session
1025            files to .thuban
1026    
1027            * Thuban/Model/session.py (Session.AddMap, forwarded_channels):
1028            Move the map channels to be forwarded by the session into the
1029            class constant with forwarded_channels. Also add
1030            LAYER_PROJECTION_CHANGED and LAYER_VISIBILITY_CHANGED to
1031            forwarded_channels
1032    
1033            * Thuban/Model/base.py (Modifiable.changed): Fix doc-string (a
1034            typo and some rewording).
1035    
1036    2002-05-02  Bernhard Herzog  <[email protected]>
1037    
1038            * Thuban/UI/view.py: Keep the temporary bitmap used during drawing
1039            around to speed up most redraws:
1040            (MapCanvas.__init__): New instance variable bitmap which holds the
1041            bitmap
1042            (MapCanvas.do_redraw): Redraw self.bitmap if necessary. Use
1043            self.bitmap to draw.
1044            (MapCanvas.full_redraw): New method to force a full redraw
1045            including the bitmap
1046            (MapCanvas.SetMap): Subscribe full_redraw instead of redraw to
1047            make sure the bitmap is redrawn.
1048            (MapCanvas.projection_changed, MapCanvas.set_view_transform,
1049            MapCanvas.shape_selected): Call full_redraw instead of readraw to
1050            make sure the bitmap is redrawn.
1051            (MapCanvas.OnSize): New method to handle size events so that the
1052            bitmap can be redrawn.
1053    
1054    2002-04-29  Bernhard Herzog  <[email protected]>
1055    
1056            * Thuban/UI/mainwindow.py (MainWindow.__init__): Subscribe to the
1057            canvas' VIEW_POSITION event
1058            (MainWindow.view_position_changed): Handler for VIEW_POSITION.
1059            Update the text in the status-bar accordingly.
1060    
1061            * Thuban/UI/view.py (MapCanvas): Derive from Publisher as well
1062            (MapCanvas.__del__): Implement because Publisher.__del__ has to be
1063            called.
1064            (MapCanvas.__init__): Bind EVT_LEAVE_WINDOW too. Initialize
1065            current_position
1066            (MapCanvas.set_current_position): New method to set
1067            current_position. Issue a VIEW_POSITION event
1068            (MapCanvas.CurrentPosition): New public method to return the value
1069            of current_position. Should be called when the VIEW_POSITION event
1070            is processed.
1071            (MapCanvas.OnLeftDown, MapCanvas.OnLeftUp, MapCanvas.OnMotion):
1072            Update the position.
1073            (MapCanvas.OnLeaveWindow): Set the position to None.
1074    
1075            * Thuban/UI/messages.py (VIEW_POSITION): New message for the
1076            position in the statusbar
1077    
1078    2002-04-26  Frank Koormann <[email protected]>
1079    
1080            * Thuban/UI/mainwindow.py: AddLayer, Dialog title s/session/data
1081    
1082    2002-04-24  Frank Koormann <[email protected]>
1083    
1084            * Resources/Bitmaps/identify.xpm: shadow added
1085    
1086            * Resources/Bitmaps/fullextent.xpm: new
1087    
1088    2002-04-22  Jan-Oliver Wagner <[email protected]>
1089    
1090            * Thuban/UI/tree.py (update_tree): added test for None on map bounding
1091            box
1092    
1093    2002-04-21  Jan-Oliver Wagner <[email protected]>
1094    
1095            * Thuban/UI/proj4dialog.py (UTMProposeZoneDialog): new
1096    
1097            * Thuban/UI/tree.py (update_tree): added added map extent
1098    
1099            * Thuban/UI/mainwindow.py (_method_command): extended by parameter
1100            icon; added map_full_extend as tool
1101    
1102    2002-04-19  Jan-Oliver Wagner <[email protected]>
1103    
1104            * Thuban/UI/mainwindow.py (SaveSession): launch save as dialog for
1105            saving _new_ sessions
1106    
1107            * Thuban/Model/session.py (create_empty_session): new session
1108            don't have a filename (set to None)
1109    
1110            * Thuban/UI/tree.py (update_tree): added filename and modified flag
1111    
1112            * Thuban/Model/load.py (ProcessSession): convert projection
1113            parameters from unicode to regular string
1114    
1115            * Data/iceland_sample.session: Added UTM Zone 26 projection.
1116    
1117    2002-04-11  Bernhard Herzog  <[email protected]>
1118    
1119            * extensions/shapelib/shapefil.h, extensions/shapelib/shpopen.c,
1120            extensions/shapelib/dbfopen.c: Update to the versions of shapelib
1121            1.2.9
1122    
1123            * setup.py (Lib.wxproj extension): Don't link shpopen.c and put
1124            the pyshapelib directoy into the list of include dirs, so that
1125            pyshapelib_api.h can be found.
1126    
1127            * extensions/thuban/wxproj.cpp (pyshapelib_api): New variable that
1128            holds the pyshapelib C-API
1129            (draw_polygon_shape, point_in_polygon_shape, shape_centroid): Use
1130            pyshapelib_api to access the shapelib functions.
1131            (initwxproj): Import the c_api from the shapelib module and
1132            initialize pyshapelib_api.
1133    
1134    2002-04-04  Bernhard Herzog  <[email protected]>
1135    
1136            * setup.py (thuban_bdist_rpm.initialize_options): Use
1137            initialize_options to create the scripts for the rpm.
1138    
1139            * extensions/pyprojection/setup.py (PROJ4_PREFIX): Just use /
1140    
1141  2002-04-03  Bernhard Herzog  <[email protected]>  2002-04-03  Bernhard Herzog  <[email protected]>
1142    
1143            * setup.py: Increment version to 0.1.1
1144    
1145          * Thuban/UI/mainwindow.py (MainWindow.__init__): Move the "Add          * Thuban/UI/mainwindow.py (MainWindow.__init__): Move the "Add
1146          Layer" and "Remove Layer" commands from the layer menu to the map          Layer" and "Remove Layer" commands from the layer menu to the map
1147          menu          menu
# Line 59  Line 1201 
1201    
1202          * setup.py: increase version number to 0.1          * setup.py: increase version number to 0.1
1203          (data_dist): New command class for data distribution          (data_dist): New command class for data distribution
           
1204    
1205  2001-09-14  Bernhard Herzog  <[email protected]>  2001-09-14  Bernhard Herzog  <[email protected]>
1206    
1207          * Thuban/UI/identifyview.py (IdentifyListCtrl.selected_shape):          * Thuban/UI/identifyview.py (IdentifyListCtrl.selected_shape):
1208          Handle the case of no layer (i.e. layer is None) properly.          Handle the case of no layer (i.e. layer is None) properly.
1209    
1210          * Thuban/UI/proj4dialog.py (UTMDialog.__init__, Proj4Dialog.__init__):          * Thuban/UI/proj4dialog.py (UTMDialog.__init__, Proj4Dialog.__init__):
1211          Set the initial selection of the combo boxes to reflect the          Set the initial selection of the combo boxes to reflect the
1212          projection we're starting with in a way that works on windows,          projection we're starting with in a way that works on windows,
1213          too.          too.
# Line 176  Line 1317 
1317          (MainWindow.identify_view_on_demand): Store the interactor in an          (MainWindow.identify_view_on_demand): Store the interactor in an
1318          instvar and use that reference instead of going through main.app          instvar and use that reference instead of going through main.app
1319    
1320          * Thuban/UI/mainwindow.py (MainWindow.ShowSessionTree):          * Thuban/UI/mainwindow.py (MainWindow.ShowSessionTree):
1321          * Thuban/UI/application.py (ThubanApplication.OnInit):          * Thuban/UI/application.py (ThubanApplication.OnInit):
1322          * Thuban/UI/main.py (main): Create the session tree view in main          * Thuban/UI/main.py (main): Create the session tree view in main
1323          with the new mainwindow method ShowSessionTree and not directly          with the new mainwindow method ShowSessionTree and not directly
1324          the application's OnInit method          the application's OnInit method
# Line 193  Line 1334 
1334          layer to the tableview dialog.          layer to the tableview dialog.
1335    
1336          * Thuban/UI/tableview.py: Add some doc-strings          * Thuban/UI/tableview.py: Add some doc-strings
1337          (TableGrid):          (TableGrid):
1338          (TableGrid.OnRangeSelect):          (TableGrid.OnRangeSelect):
1339          (TableGrid.OnSelectCell):          (TableGrid.OnSelectCell):
1340          (TableFrame.__init__):          (TableFrame.__init__):
# Line 260  Line 1401 
1401  2001-09-05  Bernhard Herzog  <[email protected]>  2001-09-05  Bernhard Herzog  <[email protected]>
1402    
1403          * Thuban/UI/view.py (MapCanvas.__init__): New argument, interactor.          * Thuban/UI/view.py (MapCanvas.__init__): New argument, interactor.
1404            
1405          * Thuban/UI/mainwindow.py (MainWindow.__init__): New argument          * Thuban/UI/mainwindow.py (MainWindow.__init__): New argument
1406          interactor to pass through to the MapCanvas          interactor to pass through to the MapCanvas
1407            
1408          * Thuban/UI/application.py (ThubanApplication.OnInit): Use the new          * Thuban/UI/application.py (ThubanApplication.OnInit): Use the new
1409          argument to the MainWindow constructor to get rid of the ugly hack          argument to the MainWindow constructor to get rid of the ugly hack
1410          that made main.app available early just so that the mapcanvas          that made main.app available early just so that the mapcanvas
# Line 310  Line 1451 
1451          (ThubanInstall.run): Remove the leading install root from the          (ThubanInstall.run): Remove the leading install root from the
1452          script filename if an install root was specified and use the new          script filename if an install root was specified and use the new
1453          link_file method          link_file method
1454            
1455          * Thuban/UI/mainwindow.py (MainWindow.AddLayer): Fit the map to          * Thuban/UI/mainwindow.py (MainWindow.AddLayer): Fit the map to
1456          the window when the first layer is added to the map.          the window when the first layer is added to the map.
1457    
# Line 347  Line 1488 
1488          (InnoIconItem): Helper class for bdist_inno          (InnoIconItem): Helper class for bdist_inno
1489          (thuban_bdist_inno): Thuban specific version of bdist_inno. Added          (thuban_bdist_inno): Thuban specific version of bdist_inno. Added
1490          this together with the appropriate parameters, to the setup call.          this together with the appropriate parameters, to the setup call.
1491            
1492          * setup.cfg (bdist_inno): added new section for the inno setup          * setup.cfg (bdist_inno): added new section for the inno setup
1493          installer          installer
1494    

Legend:
Removed from v.85  
changed lines
  Added in v.458

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26