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

Legend:
Removed from v.291  
changed lines
  Added in v.344

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26