/[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 280 by bh, Mon Aug 26 15:06:24 2002 UTC revision 326 by bh, Fri Sep 20 13:56:09 2002 UTC
# Line 1  Line 1 
1    2002-09-20  Bernhard Herzog  <[email protected]>
2    
3            * test/test_menu.py: Use initthuban instead of
4            add_thuban_dir_to_path to initialize Thuban.
5    
6            * test/support.py (FloatComparisonMixin.assertFloatEqual): New.
7            Mixin class for float comparisons
8            (SubscriberMixin): New. Mixin class to test messages sent through
9            the Connector class
10    
11            * test/README: Fix a typo and add the -v flag to the command for
12            individual tests
13    
14    2002-09-13  Bernhard Herzog  <[email protected]>
15    
16            * Thuban/Model/session.py (Session.forwarded_channels): Forward
17            the CHANGED channel too.
18    
19            * Thuban/Model/map.py (Map.forwarded_channels): Forward the
20            CHANGED channel too.
21            (Map.__init__): Call the Modifiable constructor as well.
22    
23            * Thuban/Model/base.py (Modifiable.UnsetModified): Issue a CHANGED
24            event if the modified flag changes.
25            (Modifiable.changed): Tweak the doc-string.
26    
27            * Thuban/UI/mainwindow.py (MainWindow.view_position_changed)
28            (MainWindow.set_position_text): Put the code that puts the text
29            with the mouse position into the status bar into the new method
30            set_position_text so that it can overwritten in derived classes.
31    
32    2002-09-12  Bernhard Herzog  <[email protected]>
33    
34            * Thuban/UI/mainwindow.py (MainWindow.RunMessageBox): Center the
35            message box on the main window.
36    
37    2002-09-11  Bernhard Herzog  <[email protected]>
38    
39            * Thuban/UI/mainwindow.py: Underline the 'x' in "Exit" instead of
40            the 'E' because it's less likely to interfere with other menu
41            entries.
42            (MainWindow.build_menu): remove an incorrect comment.
43    
44    2002-09-10  Bernhard Herzog  <[email protected]>
45    
46            * Thuban/UI/mainwindow.py (MainWindow.Map): New.
47            (_tool_command): Add sensitive parameter
48            (_has_visible_map): Sensitivity callback to tools and other
49            commands that require a visible map. Use it in map_zoom_in_tool,
50            map_zoom_out_tool, map_pan_tool, map_identify_tool, map_label_tool
51            and map_full_extent
52    
53    2002-09-06  Bernhard Herzog  <[email protected]>
54    
55            * Thuban/UI/mainwindow.py (MainWindow.OnClose): Unsubscribe
56            VIEW_POSITION
57    
58    2002-09-04  Frank Koormann   <[email protected]>
59    
60            * Resources/Bitmaps/fullextent.xpm: Updated Icon (removed "potatoe")
61    
62    2002-09-02  Bernhard Herzog  <[email protected]>
63    
64            * Thuban/UI/view.py: Get rid of the idle redraw. This is done by
65            wxWindows already and our implementation doesn't work correctly
66            with wxGTK 2.3:
67            (MapCanvas.__init__): Remove the instance variable
68            (MapCanvas.OnPaint): Always call do_redraw when there's a map to
69            be drawin
70            (MapCanvas.OnIdle): Removed.
71    
72            * Thuban/UI/view.py (MapCanvas.unprojected_rect_around_point): Add
73            a parameter to determine the size of the rectangle.
74            (MapCanvas.find_shape_at): Create the box around the point on a
75            layer by layer basis and make the size depend on the shape type.
76            This solves a problem with the selection of point shapes at the
77            border of the layer's bounding box
78    
79    2002-08-30  Bernhard Herzog  <[email protected]>
80    
81            * Thuban/UI/mainwindow.py (MainWindow.CanRemoveLayer): New method
82            for the sensitivity  of remove layer.
83            (_can_remove_layer): New. Sensitivity callback for remove layer
84            (Command layer_remove): Use _can_remove_layer
85    
86            * Thuban/Model/map.py (Map.CanRemoveLayer): New method to
87            determine whether a given layer can be deleted.
88    
89            * Thuban/UI/view.py (MapCanvas.__init__, MapCanvas.OnPaint)
90            (MapCanvas.do_redraw): Get rid of the unused update_region
91            instance variable
92    
93            * Thuban/UI/view.py: Add/update some doc-strings.
94    
95            * test/: new subdirectory with a bunch of unit tests.
96    
97            * test/README, test/test_table.py, test/test_save.py,
98            test/test_menu.py, test/test_load.py: Initial set of tests and
99            brief instructions on how to run them
100    
101    2002-08-29  Bernhard Herzog  <[email protected]>
102    
103            * Thuban/UI/renderer.py (ScreenRenderer.draw_shape_layer): Handle
104            arcs with multiple parts.
105    
106            * Thuban/UI/view.py (ZoomInTool.MouseUp, ZoomOutTool.MouseUp):
107            Handle degenrate rectangles.
108    
109            * Thuban/Model/table.py: Make writing records work correctly:
110            (Table.__init__): Keep track of whether the DBF is open for
111            writing
112            (Table.write_record): Open the DBF file for writing when necessary
113    
114    2002-08-27  Bernhard Herzog  <[email protected]>
115    
116            * Thuban/Model/table.py (Table.write_record, Table.__init__): Open
117            dbf files only for reading by default. Use a new writable dbf
118            object for writing.
119    
120  2002-08-26  Bernhard Herzog  <[email protected]>  2002-08-26  Bernhard Herzog  <[email protected]>
121    
122            * Thuban/UI/mainwindow.py: Refactor the context creation:
123            (MainWindow.Context): New method to return a context
124            (MainWindow.invoke_command, MainWindow.update_command_ui): Use the
125            new method
126    
127          * Thuban/UI/tableview.py (TableGrid, LayerTableGrid): Split the          * Thuban/UI/tableview.py (TableGrid, LayerTableGrid): Split the
128          layer table specific code from TableGrid into LayerTableGrid          layer table specific code from TableGrid into LayerTableGrid
129          (TableFrame, LayerTableFrame): Split the layer table specific code          (TableFrame, LayerTableFrame): Split the layer table specific code

Legend:
Removed from v.280  
changed lines
  Added in v.326

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26