/[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 252 by bh, Tue Jul 30 14:18:59 2002 UTC revision 313 by bh, Wed Sep 11 13:59:46 2002 UTC
# Line 1  Line 1 
1    2002-09-11  Bernhard Herzog  <[email protected]>
2    
3            * Thuban/UI/mainwindow.py: Underline the 'x' in "Exit" instead of
4            the 'E' because it's less likely to interfere with other menu
5            entries.
6    
7    2002-09-10  Bernhard Herzog  <[email protected]>
8    
9            * Thuban/UI/mainwindow.py (MainWindow.Map): New.
10            (_tool_command): Add sensitive parameter
11            (_has_visible_map): Sensitivity callback to tools and other
12            commands that require a visible map. Use it in map_zoom_in_tool,
13            map_zoom_out_tool, map_pan_tool, map_identify_tool, map_label_tool
14            and map_full_extent
15    
16    2002-09-06  Bernhard Herzog  <[email protected]>
17    
18            * Thuban/UI/mainwindow.py (MainWindow.OnClose): Unsubscribe
19            VIEW_POSITION
20    
21    2002-09-04  Frank Koormann   <[email protected]>
22    
23            * Resources/Bitmaps/fullextent.xpm: Updated Icon (removed "potatoe")
24    
25    2002-09-02  Bernhard Herzog  <[email protected]>
26    
27            * Thuban/UI/view.py: Get rid of the idle redraw. This is done by
28            wxWindows already and our implementation doesn't work correctly
29            with wxGTK 2.3:
30            (MapCanvas.__init__): Remove the instance variable
31            (MapCanvas.OnPaint): Always call do_redraw when there's a map to
32            be drawin
33            (MapCanvas.OnIdle): Removed.
34    
35            * Thuban/UI/view.py (MapCanvas.unprojected_rect_around_point): Add
36            a parameter to determine the size of the rectangle.
37            (MapCanvas.find_shape_at): Create the box around the point on a
38            layer by layer basis and make the size depend on the shape type.
39            This solves a problem with the selection of point shapes at the
40            border of the layer's bounding box
41    
42    2002-08-30  Bernhard Herzog  <[email protected]>
43    
44            * Thuban/UI/mainwindow.py (MainWindow.CanRemoveLayer): New method
45            for the sensitivity  of remove layer.
46            (_can_remove_layer): New. Sensitivity callback for remove layer
47            (Command layer_remove): Use _can_remove_layer
48    
49            * Thuban/Model/map.py (Map.CanRemoveLayer): New method to
50            determine whether a given layer can be deleted.
51    
52            * Thuban/UI/view.py (MapCanvas.__init__, MapCanvas.OnPaint)
53            (MapCanvas.do_redraw): Get rid of the unused update_region
54            instance variable
55    
56            * Thuban/UI/view.py: Add/update some doc-strings.
57    
58            * test/: new subdirectory with a bunch of unit tests.
59    
60            * test/README, test/test_table.py, test/test_save.py,
61            test/test_menu.py, test/test_load.py: Initial set of tests and
62            brief instructions on how to run them
63    
64    2002-08-29  Bernhard Herzog  <[email protected]>
65    
66            * Thuban/UI/renderer.py (ScreenRenderer.draw_shape_layer): Handle
67            arcs with multiple parts.
68    
69            * Thuban/UI/view.py (ZoomInTool.MouseUp, ZoomOutTool.MouseUp):
70            Handle degenrate rectangles.
71    
72            * Thuban/Model/table.py: Make writing records work correctly:
73            (Table.__init__): Keep track of whether the DBF is open for
74            writing
75            (Table.write_record): Open the DBF file for writing when necessary
76    
77    2002-08-27  Bernhard Herzog  <[email protected]>
78    
79            * Thuban/Model/table.py (Table.write_record, Table.__init__): Open
80            dbf files only for reading by default. Use a new writable dbf
81            object for writing.
82    
83    2002-08-26  Bernhard Herzog  <[email protected]>
84    
85            * Thuban/UI/mainwindow.py: Refactor the context creation:
86            (MainWindow.Context): New method to return a context
87            (MainWindow.invoke_command, MainWindow.update_command_ui): Use the
88            new method
89    
90            * Thuban/UI/tableview.py (TableGrid, LayerTableGrid): Split the
91            layer table specific code from TableGrid into LayerTableGrid
92            (TableFrame, LayerTableFrame): Split the layer table specific code
93            from TableFrame into LayerTableFrame
94            (LayerTableGrid.select_shape): Remove a debug print
95    
96            * Thuban/UI/mainwindow.py (MainWindow.LayerShowTable): Use the
97            LayerTableFrame
98    
99    2002-08-23  Bernhard Herzog  <[email protected]>
100    
101            * Thuban/Model/layer.py (Layer.__init__): Make sure we have an
102            absolute filename.
103    
104    2002-08-22  Bernhard Herzog  <[email protected]>
105    
106            * Thuban/Model/table.py (Table.write_record): New method to write
107            records.
108            (Table.__init__): Open the DBF file for writing too.
109    
110            * Thuban/UI/controls.py (RecordTable.SetValue): Write the value
111            into the underlying table.
112    
113            * extensions/shapelib/shapefil.h (DBFCommit),
114            extensions/shapelib/dbfopen.c (DBFCommit): New API function to
115            commit any changes made to the DBF file.
116    
117            * Thuban/UI/mainwindow.py (make_check_current_tool)
118            (_tool_command): Put the code that generates the "checked"
119            callback into a separate function so that we can reuse it
120            elsewhere
121    
122            * Thuban/Model/save.py (Saver): New class to handle serializing a
123            session into an XML file. The main reason to introduce a class is
124            that applications built on Thuban can derive from it so that they
125            can save additional information in a session file.
126            (save_session): Delegate almost all the work to the Saver class.
127            Rename the filename argument to file because it may be a file like
128            object now.
129    
130            * Thuban/Model/load.py: Get rid of the Python 1.5.2 compatibility
131            code. Remove the little test code which would be executed when the
132            module is run as a script which didn't work anymore since it can't
133            import the other Thuban modules.
134            (ProcessSession, load_session): Refactor the ProcessSession to
135            have one method for each element start and end tag so that derived
136            classes can easily override the processing of individual tags.
137            Also, always parse with namespaces enabled because applications
138            built on top of Thuban will likely use namespaces if they extend
139            the session file format.
140    
141    2002-08-21  Bernhard Herzog  <[email protected]>
142    
143            * setup.py (ThubanInstall.run): Don't repr install_lib_orig
144            because thubaninit_contents will do it for us.
145    
146    2002-08-16      Jan-Oliver Wagner <[email protected]>
147    
148            * Thuban/UI/mainwindow.py: menu item 'show session tree' now disable if
149            tree window already open
150    
151    2002-08-15  Bernhard Herzog  <[email protected]>
152    
153            * Thuban/Model/layer.py (Layer.Destroy): Call the unboundd method
154            with self.
155    
156            * Thuban/UI/view.py (MapCanvas.OnLeftUp): Only release the mouse
157            when we have actually captured it.
158    
159            * Thuban/Model/layer.py (Layer.Destroy): New. Explicitly close the
160            shapefile and destroy the table.
161    
162            * Thuban/Model/table.py (Table.Destroy): New. Close the DBF file.
163    
164    2002-08-14  Bernhard Herzog  <[email protected]>
165    
166            * Thuban/UI/controls.py (RecordTable.__init__): Remove the unused
167            instance variable columns
168            (RecordTable.GetTypeName): row and col may be negative in some
169            cases.
170    
171            * setup.py (InstallLocal.initialize_options)
172            (InstallLocal.finalize_options, InstallLocal.user_options): New
173            option create-init-file to build a thubaninit.py when running
174            install_local
175            (InstallLocal.run): Create the thubaninit.py module when requested
176            (thubaninit_contents): Split the template into several parts and
177            create a new function thubaninit_contents that creates the
178            contents of a thubaninit module.
179            (ThubanInstall.run): Use the new function to create the thubaninit
180            module.
181    
182  2002-07-30  Bernhard Herzog  <[email protected]>  2002-07-30  Bernhard Herzog  <[email protected]>
183    
184          * Thuban/UI/application.py (ThubanApplication.OnExit): Do some          * Thuban/UI/application.py (ThubanApplication.OnExit): Do some

Legend:
Removed from v.252  
changed lines
  Added in v.313

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26