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

Legend:
Removed from v.275  
changed lines
  Added in v.349

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26