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

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

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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26