/[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 238 by bh, Wed Jul 24 10:19:46 2002 UTC revision 275 by bh, Thu Aug 22 16:26:05 2002 UTC
# Line 1  Line 1 
1    2002-08-22  Bernhard Herzog  <[email protected]>
2    
3            * Thuban/Model/table.py (Table.write_record): New method to write
4            records.
5            (Table.__init__): Open the DBF file for writing too.
6    
7            * Thuban/UI/controls.py (RecordTable.SetValue): Write the value
8            into the underlying table.
9    
10            * extensions/shapelib/shapefil.h (DBFCommit),
11            extensions/shapelib/dbfopen.c (DBFCommit): New API function to
12            commit any changes made to the DBF file.
13    
14            * Thuban/UI/mainwindow.py (make_check_current_tool)
15            (_tool_command): Put the code that generates the "checked"
16            callback into a separate function so that we can reuse it
17            elsewhere
18    
19            * Thuban/Model/save.py (Saver): New class to handle serializing a
20            session into an XML file. The main reason to introduce a class is
21            that applications built on Thuban can derive from it so that they
22            can save additional information in a session file.
23            (save_session): Delegate almost all the work to the Saver class.
24            Rename the filename argument to file because it may be a file like
25            object now.
26    
27            * Thuban/Model/load.py: Get rid of the Python 1.5.2 compatibility
28            code. Remove the little test code which would be executed when the
29            module is run as a script which didn't work anymore since it can't
30            import the other Thuban modules.
31            (ProcessSession, load_session): Refactor the ProcessSession to
32            have one method for each element start and end tag so that derived
33            classes can easily override the processing of individual tags.
34            Also, always parse with namespaces enabled because applications
35            built on top of Thuban will likely use namespaces if they extend
36            the session file format.
37    
38    2002-08-21  Bernhard Herzog  <[email protected]>
39    
40            * setup.py (ThubanInstall.run): Don't repr install_lib_orig
41            because thubaninit_contents will do it for us.
42    
43    2002-08-16      Jan-Oliver Wagner <[email protected]>
44    
45            * Thuban/UI/mainwindow.py: menu item 'show session tree' now disable if
46            tree window already open
47    
48    2002-08-15  Bernhard Herzog  <[email protected]>
49    
50            * Thuban/Model/layer.py (Layer.Destroy): Call the unboundd method
51            with self.
52    
53            * Thuban/UI/view.py (MapCanvas.OnLeftUp): Only release the mouse
54            when we have actually captured it.
55    
56            * Thuban/Model/layer.py (Layer.Destroy): New. Explicitly close the
57            shapefile and destroy the table.
58    
59            * Thuban/Model/table.py (Table.Destroy): New. Close the DBF file.
60    
61    2002-08-14  Bernhard Herzog  <[email protected]>
62    
63            * Thuban/UI/controls.py (RecordTable.__init__): Remove the unused
64            instance variable columns
65            (RecordTable.GetTypeName): row and col may be negative in some
66            cases.
67    
68            * setup.py (InstallLocal.initialize_options)
69            (InstallLocal.finalize_options, InstallLocal.user_options): New
70            option create-init-file to build a thubaninit.py when running
71            install_local
72            (InstallLocal.run): Create the thubaninit.py module when requested
73            (thubaninit_contents): Split the template into several parts and
74            create a new function thubaninit_contents that creates the
75            contents of a thubaninit module.
76            (ThubanInstall.run): Use the new function to create the thubaninit
77            module.
78    
79    2002-07-30  Bernhard Herzog  <[email protected]>
80    
81            * Thuban/UI/application.py (ThubanApplication.OnExit): Do some
82            cleanup.
83            (ThubanApplication.MainLoop): Extend to automatically call OnExit.
84    
85            * Thuban/Model/session.py (Session.Destroy): Don't bypass the
86            direct base class' Destroy method.
87    
88            * Thuban/Model/map.py (Map.ClearLayers): New method to delete all
89            layers.
90            (Map.Destroy): Destroy the label_layer as well and call the
91            inherited Desatroymethod first so that no more messages are
92            issued.
93            (Map.RaiseLayer, Map.LowerLayer): Only issue LAYERS_CHANGED
94            message if the stacking order actually has changed. Add
95            doc-strings.
96            (Map.BoundingBox): Correct the doc-string.
97            (Map.AddLayer, Map.RemoveLayer, Map.Layers, Map.HasLayers)
98            (Map.ProjectedBoundingBox, Map.SetProjection): Add doc-strings.
99    
100            * Thuban/Model/label.py (LabelLayer.ClearLabels): New to delete
101            all labels.
102    
103    2002-07-29  Bernhard Herzog  <[email protected]>
104    
105            * Thuban/Model/map.py (Map.subscribe_layer_channels)
106            (Map.unsubscribe_layer_channels): Put the code that (un)subscribes
107            to a layer's channels into separate methods.
108            (Map.RemoveLayer, Map.AddLayer): Call the new methods
109            (Map.Destroy): Unsubscribe from a layer's channels before
110            destroying it.
111    
112            * Thuban/UI/view.py (MapCanvas.find_shape_at): Change the
113            selected_layer parameter to searched_layer which is the layer to
114            search in.
115            (MapCanvas.SelectShapeAt): New parameter layer to restrict the
116            search to that layer. Return the selected layer and shape.
117    
118            * Examples/simple_extensions/simple_tool.py (simple_tool): Fix a
119            typo
120    
121  2002-07-24  Bernhard Herzog  <[email protected]>  2002-07-24  Bernhard Herzog  <[email protected]>
122    
123            * Thuban/UI/application.py (ThubanApplication.create_session):
124            Extend the doc string.
125            (ThubanApplication.subscribe_session)
126            (ThubanApplication.unsubscribe_session): New methods to
127            subscribe/unsubscribe to/from session channels.
128            (ThubanApplication.SetSession): Call the new methods here.
129            (ThubanApplication.maps_changed, ThubanApplication.set_map):
130            Renamed set_map to maps_changed. Its now a subscriber for
131            MAPS_CHANGED.
132    
133            * Thuban/UI/view.py (ZoomOutTool.MouseUp): Use the correct
134            x-coordinate in case of simple clicks
135    
136            * Thuban/Model/base.py (Modifiable.changed): Apply the args tuple,
137            don't pass it as a parameter
138    
139            * Thuban/Model/session.py (Session.RemoveMap): New
140    
141          * Thuban/UI/mainwindow.py (MainWindow.__init__): Turn the initial          * Thuban/UI/mainwindow.py (MainWindow.__init__): Turn the initial
142          window size into a parameter.          window size into a parameter.
143    

Legend:
Removed from v.238  
changed lines
  Added in v.275

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26