/[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 265 by jan, Fri Aug 16 17:07:36 2002 UTC revision 300 by bh, Fri Aug 30 17:41:11 2002 UTC
# Line 1  Line 1 
1    2002-08-30  Bernhard Herzog  <[email protected]>
2    
3            * Thuban/UI/mainwindow.py (MainWindow.CanRemoveLayer): New method
4            for the sensitivity  of remove layer.
5            (_can_remove_layer): New. Sensitivity callback for remove layer
6            (Command layer_remove): Use _can_remove_layer
7    
8            * Thuban/Model/map.py (Map.CanRemoveLayer): New method to
9            determine whether a given layer can be deleted.
10    
11            * Thuban/UI/view.py (MapCanvas.__init__, MapCanvas.OnPaint)
12            (MapCanvas.do_redraw): Get rid of the unused update_region
13            instance variable
14    
15            * Thuban/UI/view.py: Add/update some doc-strings.
16    
17            * test/: new subdirectory with a bunch of unit tests.
18    
19            * test/README, test/test_table.py, test/test_save.py,
20            test/test_menu.py, test/test_load.py: Initial set of tests and
21            brief instructions on how to run them
22    
23    2002-08-29  Bernhard Herzog  <[email protected]>
24    
25            * Thuban/UI/renderer.py (ScreenRenderer.draw_shape_layer): Handle
26            arcs with multiple parts.
27    
28            * Thuban/UI/view.py (ZoomInTool.MouseUp, ZoomOutTool.MouseUp):
29            Handle degenrate rectangles.
30    
31            * Thuban/Model/table.py: Make writing records work correctly:
32            (Table.__init__): Keep track of whether the DBF is open for
33            writing
34            (Table.write_record): Open the DBF file for writing when necessary
35    
36    2002-08-27  Bernhard Herzog  <[email protected]>
37    
38            * Thuban/Model/table.py (Table.write_record, Table.__init__): Open
39            dbf files only for reading by default. Use a new writable dbf
40            object for writing.
41    
42    2002-08-26  Bernhard Herzog  <[email protected]>
43    
44            * Thuban/UI/mainwindow.py: Refactor the context creation:
45            (MainWindow.Context): New method to return a context
46            (MainWindow.invoke_command, MainWindow.update_command_ui): Use the
47            new method
48    
49            * Thuban/UI/tableview.py (TableGrid, LayerTableGrid): Split the
50            layer table specific code from TableGrid into LayerTableGrid
51            (TableFrame, LayerTableFrame): Split the layer table specific code
52            from TableFrame into LayerTableFrame
53            (LayerTableGrid.select_shape): Remove a debug print
54    
55            * Thuban/UI/mainwindow.py (MainWindow.LayerShowTable): Use the
56            LayerTableFrame
57    
58    2002-08-23  Bernhard Herzog  <[email protected]>
59    
60            * Thuban/Model/layer.py (Layer.__init__): Make sure we have an
61            absolute filename.
62    
63    2002-08-22  Bernhard Herzog  <[email protected]>
64    
65            * Thuban/Model/table.py (Table.write_record): New method to write
66            records.
67            (Table.__init__): Open the DBF file for writing too.
68    
69            * Thuban/UI/controls.py (RecordTable.SetValue): Write the value
70            into the underlying table.
71    
72            * extensions/shapelib/shapefil.h (DBFCommit),
73            extensions/shapelib/dbfopen.c (DBFCommit): New API function to
74            commit any changes made to the DBF file.
75    
76            * Thuban/UI/mainwindow.py (make_check_current_tool)
77            (_tool_command): Put the code that generates the "checked"
78            callback into a separate function so that we can reuse it
79            elsewhere
80    
81            * Thuban/Model/save.py (Saver): New class to handle serializing a
82            session into an XML file. The main reason to introduce a class is
83            that applications built on Thuban can derive from it so that they
84            can save additional information in a session file.
85            (save_session): Delegate almost all the work to the Saver class.
86            Rename the filename argument to file because it may be a file like
87            object now.
88    
89            * Thuban/Model/load.py: Get rid of the Python 1.5.2 compatibility
90            code. Remove the little test code which would be executed when the
91            module is run as a script which didn't work anymore since it can't
92            import the other Thuban modules.
93            (ProcessSession, load_session): Refactor the ProcessSession to
94            have one method for each element start and end tag so that derived
95            classes can easily override the processing of individual tags.
96            Also, always parse with namespaces enabled because applications
97            built on top of Thuban will likely use namespaces if they extend
98            the session file format.
99    
100    2002-08-21  Bernhard Herzog  <[email protected]>
101    
102            * setup.py (ThubanInstall.run): Don't repr install_lib_orig
103            because thubaninit_contents will do it for us.
104    
105  2002-08-16      Jan-Oliver Wagner <[email protected]>  2002-08-16      Jan-Oliver Wagner <[email protected]>
106    
107          * Thuban/UI/mainwindow.py: menu item 'show session tree' now disable if          * Thuban/UI/mainwindow.py: menu item 'show session tree' now disable if

Legend:
Removed from v.265  
changed lines
  Added in v.300

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26