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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26