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

Legend:
Removed from v.247  
changed lines
  Added in v.289

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26