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

Legend:
Removed from v.259  
changed lines
  Added in v.317

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26