/[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 7 by bh, Tue Aug 28 15:43:35 2001 UTC revision 202 by bh, Mon Jul 8 10:51:14 2002 UTC
# Line 1  Line 1 
1    2002-07-08  Bernhard Herzog  <[email protected]>
2    
3            * Thuban/Model/save.py (relative_filename): Wrapper around
4            Thuban.Lib.fileutil.relative_filename that accepts an empty dir
5            argument. save_session now automatically uses this version,
6            solving a problem when saving to a relative filename.
7    
8            * setup.py: In the setup call, make sure that the library
9            directories are under $prefix/lib not directly under $prefix.
10    
11    2002-06-20      Jan-Oliver Wagner <[email protected]>
12    
13            * Thuban/Model/extension.py: new module to handle extension objects.
14            * Thuban/Model/messages.py: new messages for extensions.
15            * Thuban/Model/session.py (Session.Extensions, Session.HasExtensions,
16            Session.AddExtension): new for handling extensions.
17            Also some other minor changes to round up extension handling.
18            * Thuban/UI/tree.py (SessionTreeCrtl:update_tree): Added visualization
19            of Extension titles and title and names of its objects.
20    
21    2002-05-29  Bernhard Herzog  <[email protected]>
22    
23            * Thuban/UI/mainwindow.py (MainWindow.bind_command_events): Bind
24            the events for a command.
25            (MainWindow.add_toolbar_command, MainWindow.add_menu_command):
26            Call bind_command_events to bind the events. add_toolbar_command
27            can now bind events too so that it's possible to have commands
28            that are only available through the toolbar.
29            (MainWindow.init_ids): New instance variable events_bound to keep
30            track of for which commands events have been bound.
31    
32    2002-05-28  Bernhard Herzog  <[email protected]>
33    
34            * Thuban/UI/menu.py: New module to build and manage menus.
35    
36            * Thuban/UI/mainwindow.py: Remove some unused imports.
37            (MainWindow.__init__, main_menu): move the definition of the main
38            menu from __init__ to the Menu instance main_menu.
39            (MainWindow.build_menu_bar, MainWindow.build_menu): New methods to
40            build the menu bar and sub-menus from a menu description.
41    
42            * Thuban/UI/application.py (ThubanApplication.OnInit): Read the
43            startup file
44            (ThubanApplication.read_startup_files): New method to run
45            ~/.thuban/thubanstart.py
46    
47            * Thuban/UI/mainwindow.py (MainWindow.__init__, main_toolbar):
48            Move the toolbar definition to the Menu instance main_toolbar.
49            (MainWindow.build_toolbar): New method to build the toolbar
50            similar to the build_menu methods
51    
52    2002-05-23  Bernhard Herzog  <[email protected]>
53    
54            * Thuban/UI/mainwindow.py (MainWindow.__init__): Fix spelling of
55            layer_outline_color. Fix it in the definition of the command too.
56    
57            * Thuban/UI/command.py (Command): Fix typo in doc string
58    
59    2002-05-22  Bernhard Herzog  <[email protected]>
60    
61            * Thuban/UI/mainwindow.py (MainWindow.RunMessageBox): Fix a typo
62            in the docstring
63    
64    2002-05-15  Bernhard Herzog  <[email protected]>
65    
66            * Thuban/Model/layer.py (Layer.open_shapefile): Set bbox to None
67            when the shapefile is empty.
68            (Layer.BoundingBox, Layer.LatLongBoundingBox): Both methods may
69            now return None for empty shapefiles. Update doc-strings.
70    
71            * Thuban/Model/map.py (Map.BoundingBox): Add doc-string. Deal with
72            the layer's bbox being None.
73    
74            * Thuban/UI/tree.py (SessionTreeCtrl.update_tree): Deal with the
75            layer's bbox being None.
76    
77            * Thuban/UI/view.py (MapCanvas.shape_selected): Only redraw when
78            necessary.
79            (MapCanvas.__init__): New instance variables, last_selected_layer
80            and last_selected_shape to determine how the selection has
81            changed.
82    
83            * Thuban/UI/tableview.py (TableGrid.__init__): Do not call
84            AutoSizeColumns because it will cause a traversal of the entire
85            table which for large .dbf files will take a very long time.
86    
87    2002-05-14  Bernhard Herzog  <[email protected]>
88    
89            * Thuban/Model/layer.py (Layer.open_shapefile): Choose a better
90            maximum depth for the tree than shapelib does by default.
91    
92    2002-05-10  Bernhard Herzog  <[email protected]>
93    
94            * setup.py (py_modules): The shptree modules doesn't have a
95            wrapper, so don't include it in the py_modules
96    
97    2002-05-08  Bernhard Herzog  <[email protected]>
98    
99            * extensions/shapelib/shptree.c (compare_ints): Make arguments
100            const void * as in the qsort prototype
101            (SHPTreeFindLikelyShapes): Remove some unused variables.
102    
103            * Thuban/UI/view.py (PanTool.MouseMove): Use the bitmap the view
104            maintains to redraw the window during a drag.
105            (MapCanvas.unprojected_rect_around_point): New method to determine
106            a small region around a point for hit-testing.
107            (MapCanvas.find_shape_at): Only test the shapes in a small region
108            around the point.
109    
110            * setup.py: Increment the version to 0.1.2
111    
112            * Thuban/UI/tree.py (SessionTreeCtrl.unsubscribe_all): Remove a
113            debug print and set session to None after unsubscribing
114    
115    2002-05-07  Bernhard Herzog  <[email protected]>
116    
117            * Data/iceland_sample.session, Data/iceland_sample.thuban: Rename
118            the file to have a .thuban extension.
119    
120            * Thuban/UI/tree.py (session_channels): New class constant with
121            all the session channels to subscribe to to update the tree
122            (SessionTreeCtrl.session_changed): Remember the session so that we
123            can unsubscribe properly. Use the new class constant to
124            unsubscribe from the old session and subscribe to the new one.
125            (SessionTreeCtrl.unsubscribe_all): New method to unsubscribe all
126            subscriptions of the SessionTreeCtrl.
127            (SessionTreeView.OnClose): Call the tree's unsubscribe_all method.
128    
129            * Thuban/UI/mainwindow.py (MainWindow.__init__): Add the "Show
130            Session Tree" command to the file menu.
131    
132            * Thuban/UI/view.py (MapCanvas.do_redraw): Pass the entire bitmap
133            as update_region to the renderer.
134    
135            * Thuban/UI/renderer.py
136            (ScreenRenderer.layer_ids, ScreenRenderer.draw_shape_layer): The
137            update box is now directly a tuple, not a wxRect anymore.
138    
139            * Thuban/Model/layer.py (Layer.ShapesInRegion): Remove some debug
140            prints.
141    
142    2002-05-07  Bernhard Herzog  <[email protected]>
143    
144            * setup.py: Add the shptree extension module. See
145            extensions/pyshapelib/ChangeLog for more details.
146    
147            * extensions/shapelib/shpopen.c, extensions/shapelib/shapefil.h,
148            extensions/shapelib/dbfopen.c: Really update to the versions of
149            shapelib 1.2.9. For some reason it wasn't really done on
150            2002-04-11.
151    
152            * extensions/shapelib/shptree.c: Modified version of shptree.c of
153            shapelib 1.2.9. The only real difference is the use of qsort
154            instead of a bubble sort implementation
155    
156            * Thuban/Model/layer.py (Layer.__init__): New instance variable
157            shapetree to hold the shapelib quadtree for the shapefile
158            (Layer.open_shapefile): Create the quad tree.
159            (Layer.ShapesInRegion): New method to return the ids of shapes in
160            a given region using the quad tree.
161    
162            * extensions/thuban/wxproj.cpp (project_points): Fix some typos in
163            comment
164            (draw_polygon_shape): Accept both arcs and polygons.
165            (initwxproj): Use the new PYSHAPELIB_IMPORT_API macro to import
166            the api.
167    
168            * Thuban/UI/renderer.py (MapRenderer.layer_ids): New method to
169            return the shape ids to be rendered in a given layer.
170            (MapRenderer.draw_shape_layer): Call layer_ids to get the list of
171            ids. Use draw_polygon_shape to draw arc shapes as well.
172            (ScreenRenderer.RenderMap): New parameter for the rectangle that
173            has to be updated
174            (ScreenRenderer.layer_ids): Make use of the layer's quadtree by
175            calling it's ShapesInRegion method.
176    
177            * Thuban/UI/view.py (MapCanvas.__init__): New instance variable
178            update_region for the update region.
179            (MapCanvas.OnPaint): Maintain the update region
180            (MapCanvas.do_redraw): Pass the bounding box of the update_region
181            to the renderer when drawing the bitmap. Reset the update_region.
182    
183    2002-05-03  Bernhard Herzog  <[email protected]>
184    
185            * Thuban/UI/mainwindow.py (MainWindow.SaveSessionAs,
186            MainWindow.OpenSession): Change the file extension of the session
187            files to .thuban
188    
189            * Thuban/Model/session.py (Session.AddMap, forwarded_channels):
190            Move the map channels to be forwarded by the session into the
191            class constant with forwarded_channels. Also add
192            LAYER_PROJECTION_CHANGED and LAYER_VISIBILITY_CHANGED to
193            forwarded_channels
194    
195            * Thuban/Model/base.py (Modifiable.changed): Fix doc-string (a
196            typo and some rewording).
197    
198    2002-05-02  Bernhard Herzog  <[email protected]>
199    
200            * Thuban/UI/view.py: Keep the temporary bitmap used during drawing
201            around to speed up most redraws:
202            (MapCanvas.__init__): New instance variable bitmap which holds the
203            bitmap
204            (MapCanvas.do_redraw): Redraw self.bitmap if necessary. Use
205            self.bitmap to draw.
206            (MapCanvas.full_redraw): New method to force a full redraw
207            including the bitmap
208            (MapCanvas.SetMap): Subscribe full_redraw instead of redraw to
209            make sure the bitmap is redrawn.
210            (MapCanvas.projection_changed, MapCanvas.set_view_transform,
211            MapCanvas.shape_selected): Call full_redraw instead of readraw to
212            make sure the bitmap is redrawn.
213            (MapCanvas.OnSize): New method to handle size events so that the
214            bitmap can be redrawn.
215    
216    2002-04-29  Bernhard Herzog  <[email protected]>
217    
218            * Thuban/UI/mainwindow.py (MainWindow.__init__): Subscribe to the
219            canvas' VIEW_POSITION event
220            (MainWindow.view_position_changed): Handler for VIEW_POSITION.
221            Update the text in the status-bar accordingly.
222    
223            * Thuban/UI/view.py (MapCanvas): Derive from Publisher as well
224            (MapCanvas.__del__): Implement because Publisher.__del__ has to be
225            called.
226            (MapCanvas.__init__): Bind EVT_LEAVE_WINDOW too. Initialize
227            current_position
228            (MapCanvas.set_current_position): New method to set
229            current_position. Issue a VIEW_POSITION event
230            (MapCanvas.CurrentPosition): New public method to return the value
231            of current_position. Should be called when the VIEW_POSITION event
232            is processed.
233            (MapCanvas.OnLeftDown, MapCanvas.OnLeftUp, MapCanvas.OnMotion):
234            Update the position.
235            (MapCanvas.OnLeaveWindow): Set the position to None.
236    
237            * Thuban/UI/messages.py (VIEW_POSITION): New message for the
238            position in the statusbar
239    
240    2002-04-26      Frank Koormann <[email protected]>
241    
242            * Thuban/UI/mainwindow.py: AddLayer, Dialog title s/session/data
243    
244    2002-04-24      Frank Koormann <[email protected]>
245            
246            * Resources/Bitmaps/identify.xpm: shadow added
247    
248            * Resources/Bitmaps/fullextent.xpm: new
249            
250    2002-04-22      Jan-Oliver Wagner <[email protected]>
251    
252            * Thuban/UI/tree.py (update_tree): added test for None on map bounding box
253    
254    2002-04-21      Jan-Oliver Wagner <[email protected]>
255    
256            * Thuban/UI/proj4dialog.py (UTMProposeZoneDialog): new
257    
258            * Thuban/UI/tree.py (update_tree): added added map extent
259    
260            * Thuban/UI/mainwindow.py (_method_command): extended by parameter
261            icon; added map_full_extend as tool
262    
263    2002-04-19      Jan-Oliver Wagner <[email protected]>
264    
265            * Thuban/UI/mainwindow.py (SaveSession): launch save as dialog for
266            saving _new_ sessions
267    
268            * Thuban/Model/session.py (create_empty_session): new session
269            don't have a filename (set to None)
270    
271            * Thuban/UI/tree.py (update_tree): added filename and modified flag
272    
273            * Thuban/Model/load.py (ProcessSession): convert projection
274            parameters from unicode to regular string
275    
276            * Data/iceland_sample.session: Added UTM Zone 26 projection.
277    
278    2002-04-11  Bernhard Herzog  <[email protected]>
279    
280            * extensions/shapelib/shapefil.h, extensions/shapelib/shpopen.c,
281            extensions/shapelib/dbfopen.c: Update to the versions of shapelib
282            1.2.9
283    
284            * setup.py (Lib.wxproj extension): Don't link shpopen.c and put
285            the pyshapelib directoy into the list of include dirs, so that
286            pyshapelib_api.h can be found.
287    
288            * extensions/thuban/wxproj.cpp (pyshapelib_api): New variable that
289            holds the pyshapelib C-API
290            (draw_polygon_shape, point_in_polygon_shape, shape_centroid): Use
291            pyshapelib_api to access the shapelib functions.
292            (initwxproj): Import the c_api from the shapelib module and
293            initialize pyshapelib_api.
294    
295    2002-04-04  Bernhard Herzog  <[email protected]>
296    
297            * setup.py (thuban_bdist_rpm.initialize_options): Use
298            initialize_options to create the scripts for the rpm.
299    
300            * extensions/pyprojection/setup.py (PROJ4_PREFIX): Just use /
301    
302    2002-04-03  Bernhard Herzog  <[email protected]>
303    
304            * setup.py: Increment version to 0.1.1
305    
306            * Thuban/UI/mainwindow.py (MainWindow.__init__): Move the "Add
307            Layer" and "Remove Layer" commands from the layer menu to the map
308            menu
309    
310    2002-02-15  Bernhard Herzog  <[email protected]>
311    
312            * Thuban/Model/layer.py (Layer.Shape): list append only takes one
313            argument (python <= 1.5.2 erroneously accepted multiuple
314            arguments)
315    
316    2002-02-04  Bernhard Herzog  <[email protected]>
317    
318            * Thuban/UI/identifyview.py (IdentifyGridCtrl): New class to use a
319            RecordGrid in the identifyview.
320            (IdentifyView.__init__): Use IdentifyGridCtrl instead of
321            IdentifyListCtrl. The grid allows editing of the values.
322    
323            * Thuban/UI/controls.py (RecordTable, RecordGridCtrl): New classes
324            implementing a grid for a single row of a thuban table.
325    
326            * Thuban/UI/view.py (MapCanvas.SelectShapeAt): Search through all
327            layers by default. Easier to use than the previous default of only
328            searching through the select layer which meant that if no layer
329            was selected, you couldn't select a shape.
330    
331            * Thuban/UI/tableview.py (TableGrid.__init__): Fix typo
332    
333            * Thuban/UI/renderer.py (MapRenderer.draw_shape_layer): Honour the
334            stroke_width attribute
335    
336            * Thuban/Model/save.py (save_session): Write the new stroke_width
337            attribute
338    
339            * Thuban/Model/load.py (ProcessSession.startElement): Read the
340            stroke_width attribute
341    
342            * Thuban/Model/layer.py (Layer.__init__): New parameter and
343            instance variable stroke_width
344            (Layer.SetStrokeWidth): Set the stroke_width.
345    
346    2002-02-01  Bernhard Herzog  <[email protected]>
347    
348            * extensions/thuban/wxproj.cpp (project_points): Fix two
349            off-by-one errors in the last loop that joins the various parts
350            together.
351    
352    2002-01-14  Bernhard Herzog  <[email protected]>
353    
354            * setup.py (data_dist.make_distribution): Fix some typos
355    
356    2001-09-18  Bernhard Herzog  <[email protected]>
357    
358            * README: Slight tweaking in preparation for the 0.1 release
359    
360            * setup.cfg: Add section for sdist to create both tgz and zip
361            archives
362    
363            * setup.py: increase version number to 0.1
364            (data_dist): New command class for data distribution
365            
366    
367    2001-09-14  Bernhard Herzog  <[email protected]>
368    
369            * Thuban/UI/identifyview.py (IdentifyListCtrl.selected_shape):
370            Handle the case of no layer (i.e. layer is None) properly.
371    
372            * Thuban/UI/proj4dialog.py (UTMDialog.__init__, Proj4Dialog.__init__):
373            Set the initial selection of the combo boxes to reflect the
374            projection we're starting with in a way that works on windows,
375            too.
376    
377            * Thuban/Lib/connector.py (Connector.print_connections): Print the
378            puiblisher's ids in hex to make it easier to compare them to the
379            standard repr of python methods
380    
381            * Thuban/Model/map.py (Map.Destroy): Unsubscribe the label_layer
382            messages
383    
384    2001-09-13  Bernhard Herzog  <[email protected]>
385    
386            * Thuban/UI/tree.py (SessionTreeCtrl.OnSelChanged): Make sure to
387            deselect the layer if no layer is selected
388    
389            * Thuban/UI/view.py (MapCanvas.OnPaint): Only delay drawing to
390            idle time when there actually is something to draw. If there's
391            nothing to draw simply clear the window
392            (MapCanvas.do_redraw): Call dc.EndDrawing and add some comments.
393            (MapCanvas.SetMap): force a redraw in all cases because
394            FitMapToWindow doesn't always do it.
395            (MapCanvas.ZoomFactor): Add an optional parameter, center, to
396            specify the point to move into the center of the window
397            (ZoomOutTool.MouseUp, ZoomInTool.MouseUp): If the mouse wasn't
398            dragged, zoon in/out by a factor of 2
399            (MapCanvas.find_shape_at): Iterate backwards (i.e. with decreasing
400            index, i.e. reversed drawing order) so that objects appearing to
401            be in from of others are selected first. This is probably mostly
402            relevant for point shapes where the symbols used may overlap
403    
404            * Thuban/Model/session.py (create_empty_session): Unset the
405            modified bit before returning it
406    
407            * Thuban/UI/mainwindow.py (MainWindow.NewSession): Use
408            create_empty_session session to create the new, empty session.
409    
410            * Thuban/UI/mainwindow.py (MainWindow.__init__): Set the size of
411            the tool bitmaps.
412            (MainWindow.OnClose, MainWindow.save_modified_session): Separate
413            the code that asks whether the session should be saved into the
414            new method save_modified_session.
415            (MainWindow.OpenSession, MainWindow.NewSession): Use the new
416            method to save modified session here too.
417    
418    2001-09-11  Bernhard Herzog  <[email protected]>
419    
420            * setup.py (InnoIconItem): fix typo
421    
422            (thuban_bdist_inno.run):
423            (bdist_inno.run): Move the decision not to create symlinks on
424            non-nt platforms to thuban_bdist_inno and do it unconditinally
425            since we never want to create the symlinks here
426    
427    2001-09-10  Bernhard Herzog  <[email protected]>
428    
429            * Thuban/UI/mainwindow.py (MainWindow.IdentifyTool): Popup the
430            identify view immediately
431    
432            * Thuban/UI/controls.py: New file with two classes RecordListCtrl
433            and SelectableRecordListCtrl that implement the code shared by the
434            identify view and the label dialog
435    
436            * Thuban/UI/identifyview.py (IdentifyListCtrl): Derive from the
437            new class RecordListCtrl
438    
439            * Thuban/UI/labeldialog.py (LabelDialog.OnOK): Check whether the
440            return value of GetValue is None instead of using it as a boolean
441            directly so that Zero numbers are handled properly.
442            (LabelListCtrl): Derive from the new class
443            SelectableRecordListCtrl
444    
445            * Thuban/UI/proj4dialog.py (Proj4Dialog.__init__):
446            (Proj4Dialog.dialogLayout): Make the window resizable and set the
447            size of the text control explicitly to make the sizers work on
448            both Windows and X.
449    
450    2001-09-07  Bernhard Herzog  <[email protected]>
451    
452            * Thuban/UI/view.py (MapCanvas.find_shape_at):Add a new parameter
453            that can limit the search to the currently selected layer.
454            (MapCanvas.SelectShapeAt): Make sure that the currently selected
455            layer stays selected even when no shape is found
456            (MapCanvas.FitRectToWindow): If the rect has zero with or zero
457            height do nothing (avoids zero division errors)
458    
459    2001-09-06  Bernhard Herzog  <[email protected]>
460    
461            * Thuban/UI/tree.py (SessionTreeCtrl, SessionTreeView.__init__):
462            Correct the spelling of SessionTreeCtrl. dabbrev is too damn
463            convenient :-)
464            (SessionTreeCtrl.__init__, SessionTreeCtrl.update_tree): Introduce
465            a new instvar layer_to_item to map layers to tree items
466            (SessionTreeCtrl.layer_selected): Select the appropriate tree item
467            to match the current selection in the interactor
468    
469            * Thuban/UI/interactor.py (Interactor.SelectedLayer):
470            (Interactor.HasSelectedLayer): New methods to query the current
471            selection
472    
473            * Thuban/UI/mainwindow.py (MainWindow.current_layer):
474            (MainWindow.has_selected_layer): Simply call the appropriate
475            interactor method
476    
477            * Thuban/UI/mainwindow.py (MainWindow.__init__):
478            (MainWindow.LayerShowTable):
479            (MainWindow.identify_view_on_demand): Store the interactor in an
480            instvar and use that reference instead of going through main.app
481    
482            * Thuban/UI/mainwindow.py (MainWindow.ShowSessionTree):
483            * Thuban/UI/application.py (ThubanApplication.OnInit):
484            * Thuban/UI/main.py (main): Create the session tree view in main
485            with the new mainwindow method ShowSessionTree and not directly
486            the application's OnInit method
487    
488            * Thuban/UI/tree.py (myTreeCtrlPanel):
489            (SessioinTreeCtrl): Rename to SessioinTreeCtrl and turn it into a
490            TreeCtrl isntead of a panel. This affects most method since we now
491            refer to self instead of self.tree
492            (SessionTreeView): New class implementing a non-modal dialog
493            showing the session tree.
494    
495            * Thuban/UI/mainwindow.py (MainWindow.LayerShowTable): Pass the
496            layer to the tableview dialog.
497    
498            * Thuban/UI/tableview.py: Add some doc-strings
499            (TableGrid):
500            (TableGrid.OnRangeSelect):
501            (TableGrid.OnSelectCell):
502            (TableFrame.__init__):
503            (TableFrame.row_selected):
504            Selecting rows in the grid view now updates the selected shapes
505            through the TableFrame. To achieve this we derive TableGrid from
506            Publisher and introduce the message type ROW_SELECTED which the
507            TableFrame subscribes to and which is issued by OnRangeSelect and
508            OnSelectCell
509    
510            (DataTable.SelectRow): Removed because it's no longer needed in
511            the row/shape selection scheme
512    
513            * Thuban/UI/dialogs.py: New file implementing common classes for
514            dialogs
515    
516            * Thuban/UI/tableview.py (TableGrid.__init__): Don't subscribe to
517            the SELECTED_SHAPE message anymore. This is now handled by the
518            parent.
519            (TableGrid.select_shape): Only update the selection if the shape
520            is not None.
521            (TableFrame): Inherit from the new NonModalDialog class.
522            (TableFrame.__init__, TableFrame.select_shape): Handle the
523            SELECT_SHAPE message.
524            (TableFrame.OnClose): Extend the inherited method to unsubscribe
525            SELECT_SHAPE
526    
527            * Thuban/UI/mainwindow.py (MainWindow.init_dialogs):
528            (MainWindow.add_dialog):
529            (MainWindow.dialog_open):
530            (MainWindow.remove_dialog):
531            (MainWindow.get_open_dialog): New methods to maintain a dictionary
532            of opened non-modal dialogs.
533    
534            (MainWindow.__init__): Initialize the new non-modal dictionary
535            management code
536            (MainWindow.LayerShowTable): maintain separate dialogs for each
537            table using the non-modal dialog management code to only open a
538            view once for each table.
539    
540            (MainWindow.IdentifyTool):
541            (MainWindow.__init__):
542            (MainWindow.identify_view_on_demand): Don't open the identify view
543            in IdentifyTool anymore. This will be done automatically by the
544            new method identify_view_on_demand which handles the
545            SELECTED_SHAPE message so that the identify view will be opened on
546            demand
547    
548            * Thuban/UI/identifyview.py (IdentifyListCtrl.__init__): Remove
549            the interactor argument. The SELECTED_SHAPE message is now handled
550            by the parent.
551            (IdentifyView.__init__): Add the interactor argument so that we
552            can handle the SELECTED_SHAPE message here
553            (IdentifyView.selected_shape): New method to handle the
554            SELECTED_SHAPE messages
555    
556            * Thuban/UI/identifyview.py (IdentifyView): Derive from the new
557            NonModalDialog class
558            (IdentifyView.OnClose): Extend the inherited version to
559            unsubscribe SELECT_SHAPE
560    
561            * Thuban/Model/session.py (Session.UnsetModified): Remove debug prints
562    
563    2001-09-05  Bernhard Herzog  <[email protected]>
564    
565            * Thuban/UI/view.py (MapCanvas.__init__): New argument, interactor.
566            
567            * Thuban/UI/mainwindow.py (MainWindow.__init__): New argument
568            interactor to pass through to the MapCanvas
569            
570            * Thuban/UI/application.py (ThubanApplication.OnInit): Use the new
571            argument to the MainWindow constructor to get rid of the ugly hack
572            that made main.app available early just so that the mapcanvas
573            could access the interactor object.
574    
575    2001-09-04  Bernhard Herzog  <[email protected]>
576    
577            * Thuban/UI/mainwindow.py (MainWindow.RunMessageBox): New method
578            that runs a modal message box
579            (MainWindow.OnClose): Use the new method
580            (MainWindow.RemoveLayer): Just do nothing in case no layer is
581            selected. The command should be grayed out anyway, so there's no
582            need to pop up a message box.
583            (MainWindow.AddLayer): Pop up a message box with an error message
584            if the shape file can't be opened
585    
586            * Thuban/Model/layer.py (Layer.__init__): Open the shapefile
587            immediately. This will cause an exception in case the file can't
588            be opened and we can display an appropriate message.
589    
590            * MANIFEST.in: Add extensions/pyprojection/LICENSE
591    
592            * setup.py (thuban_bdist_rpm): New class implementing a Thuban
593            specific bdist_rpm command.
594    
595            * Thuban/UI/main.py: Catch ImportError exceptions when importing
596            the locale module because it may not be available on some
597            installations.
598    
599            * extensions/pyprojection/LICENSE: Copy of the license text in
600            Projection.i. Having it in a separate file makes it easier to
601            refer to license text in e.g. RPMs
602    
603    2001-09-03  Bernhard Herzog  <[email protected]>
604    
605            * setup.py: use wx-config instead of wxgtk-config because it's
606            more generic
607    
608            * setup.py (ThubanInstall.get_outputs): Add the symlink in
609            <prefix>/bin to the outputs
610            (ThubanInstall.link_file): New method to link files. We need this
611            because the standard copy_files refuses to link non-existing
612            files.
613            (ThubanInstall.run): Remove the leading install root from the
614            script filename if an install root was specified and use the new
615            link_file method
616            
617            * Thuban/UI/mainwindow.py (MainWindow.AddLayer): Fit the map to
618            the window when the first layer is added to the map.
619    
620            * setup.py (ThubanInstall.run): Honor the build root (self.root)
621            when linking thuban.py to <prefix>/bin
622    
623    2001-08-31  Bernhard Herzog  <[email protected]>
624    
625            * setup.py: In the setup call, the install parameters shouldn't
626            have trailing slashes because distutils on non-posix platforms
627            doesn't like that. The same applies to other directories like
628            "Resources/Bitmaps"
629    
630            In the configuration section for nt, move the wxWindows directory
631            optins into the part clearly marked as editable.
632    
633            (InstallLocal.initialize_options):
634            (InstallLocal.user_options): remove the currently unused debug
635            flag
636            (thuban_build_py.find_all_modules): Add this method so that it
637            works for our case of having packages and modules in one
638            distribution as well.
639            (ThubanInstall.initialize_options):
640            (ThubanInstall.finalize_options):
641            (ThubanInstall.user_options):
642            (ThubanInstall.boolean_options): Add new options, do-symlink and
643            extra files. Since these are the first ThubanInstall specific
644            options, override user_options and boolean_options
645            (ThubanInstall.run): Honor the new do-symlink and extra-files
646            options.
647            (ThubanInstall.get_outputs): Add to override the base-class's
648            version and add the extra-files to the outputs
649            (bdist_inno): New class for windows distributions with Inno Setup
650            (InnoIconItem): Helper class for bdist_inno
651            (thuban_bdist_inno): Thuban specific version of bdist_inno. Added
652            this together with the appropriate parameters, to the setup call.
653            
654            * setup.cfg (bdist_inno): added new section for the inno setup
655            installer
656    
657            * Thuban/UI/tree.py (myTreeCtrlPanel.__init__): New inst var
658            changing_selection to avoid recursive selection events when
659            modifying the selection in response to a selection event.
660            (myTreeCtrlPanel.normalize_selection): Set the new inst var when
661            changing the tree's selection.
662            (myTreeCtrlPanel.OnSelChanged): Only normalize the selection when
663            we're not being called indirectly from normalize_selection.
664    
665            * Thuban/UI/mainwindow.py (MainWindow.update_command_ui): Call
666            event.Check only if the command is actuall checkable.
667            (MainWindow.__init__): Call the toolbar's Realize method to make
668            sure that the items are actually shown
669    
670  2001-08-28  Bernhard Herzog  <[email protected]>  2001-08-28  Bernhard Herzog  <[email protected]>
671    
672            * setup.py: Fix some doc strings
673    
674          * ChangeLog: started          * ChangeLog: started
675    

Legend:
Removed from v.7  
changed lines
  Added in v.202

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26