/[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 254 by bh, Wed Aug 14 13:39:08 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]>
144    
145            * Thuban/UI/renderer.py (ScreenRenderer.draw_shape_layer): Handle
146            arcs with multiple parts.
147    
148            * Thuban/UI/view.py (ZoomInTool.MouseUp, ZoomOutTool.MouseUp):
149            Handle degenrate rectangles.
150    
151            * Thuban/Model/table.py: Make writing records work correctly:
152            (Table.__init__): Keep track of whether the DBF is open for
153            writing
154            (Table.write_record): Open the DBF file for writing when necessary
155    
156    2002-08-27  Bernhard Herzog  <[email protected]>
157    
158            * Thuban/Model/table.py (Table.write_record, Table.__init__): Open
159            dbf files only for reading by default. Use a new writable dbf
160            object for writing.
161    
162    2002-08-26  Bernhard Herzog  <[email protected]>
163    
164            * Thuban/UI/mainwindow.py: Refactor the context creation:
165            (MainWindow.Context): New method to return a context
166            (MainWindow.invoke_command, MainWindow.update_command_ui): Use the
167            new method
168    
169            * Thuban/UI/tableview.py (TableGrid, LayerTableGrid): Split the
170            layer table specific code from TableGrid into LayerTableGrid
171            (TableFrame, LayerTableFrame): Split the layer table specific code
172            from TableFrame into LayerTableFrame
173            (LayerTableGrid.select_shape): Remove a debug print
174    
175            * Thuban/UI/mainwindow.py (MainWindow.LayerShowTable): Use the
176            LayerTableFrame
177    
178    2002-08-23  Bernhard Herzog  <[email protected]>
179    
180            * Thuban/Model/layer.py (Layer.__init__): Make sure we have an
181            absolute filename.
182    
183    2002-08-22  Bernhard Herzog  <[email protected]>
184    
185            * Thuban/Model/table.py (Table.write_record): New method to write
186            records.
187            (Table.__init__): Open the DBF file for writing too.
188    
189            * Thuban/UI/controls.py (RecordTable.SetValue): Write the value
190            into the underlying table.
191    
192            * extensions/shapelib/shapefil.h (DBFCommit),
193            extensions/shapelib/dbfopen.c (DBFCommit): New API function to
194            commit any changes made to the DBF file.
195    
196            * Thuban/UI/mainwindow.py (make_check_current_tool)
197            (_tool_command): Put the code that generates the "checked"
198            callback into a separate function so that we can reuse it
199            elsewhere
200    
201            * Thuban/Model/save.py (Saver): New class to handle serializing a
202            session into an XML file. The main reason to introduce a class is
203            that applications built on Thuban can derive from it so that they
204            can save additional information in a session file.
205            (save_session): Delegate almost all the work to the Saver class.
206            Rename the filename argument to file because it may be a file like
207            object now.
208    
209            * Thuban/Model/load.py: Get rid of the Python 1.5.2 compatibility
210            code. Remove the little test code which would be executed when the
211            module is run as a script which didn't work anymore since it can't
212            import the other Thuban modules.
213            (ProcessSession, load_session): Refactor the ProcessSession to
214            have one method for each element start and end tag so that derived
215            classes can easily override the processing of individual tags.
216            Also, always parse with namespaces enabled because applications
217            built on top of Thuban will likely use namespaces if they extend
218            the session file format.
219    
220    2002-08-21  Bernhard Herzog  <[email protected]>
221    
222            * setup.py (ThubanInstall.run): Don't repr install_lib_orig
223            because thubaninit_contents will do it for us.
224    
225    2002-08-16      Jan-Oliver Wagner <[email protected]>
226    
227            * Thuban/UI/mainwindow.py: menu item 'show session tree' now disable if
228            tree window already open
229    
230    2002-08-15  Bernhard Herzog  <[email protected]>
231    
232            * Thuban/Model/layer.py (Layer.Destroy): Call the unboundd method
233            with self.
234    
235            * Thuban/UI/view.py (MapCanvas.OnLeftUp): Only release the mouse
236            when we have actually captured it.
237    
238            * Thuban/Model/layer.py (Layer.Destroy): New. Explicitly close the
239            shapefile and destroy the table.
240    
241            * Thuban/Model/table.py (Table.Destroy): New. Close the DBF file.
242    
243  2002-08-14  Bernhard Herzog  <[email protected]>  2002-08-14  Bernhard Herzog  <[email protected]>
244    
245            * Thuban/UI/controls.py (RecordTable.__init__): Remove the unused
246            instance variable columns
247            (RecordTable.GetTypeName): row and col may be negative in some
248            cases.
249    
250          * setup.py (InstallLocal.initialize_options)          * setup.py (InstallLocal.initialize_options)
251          (InstallLocal.finalize_options, InstallLocal.user_options): New          (InstallLocal.finalize_options, InstallLocal.user_options): New
252          option create-init-file to build a thubaninit.py when running          option create-init-file to build a thubaninit.py when running

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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26