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

Legend:
Removed from v.278  
changed lines
  Added in v.341

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26