/[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 256 by bh, Wed Aug 14 15:08:14 2002 UTC revision 384 by jonathan, Tue Jan 28 18:38:17 2003 UTC
# Line 1  Line 1 
1    2003-01-28  Jonathan Coles  <[email protected]>
2    
3            * Thuban/UI/classifier.py (Classifier): Resolved merging conflicts.
4            Fixed crashing problem on some systems. Dialog box shows
5            classification data.
6    
7            * Thuban/UI/tree.py (SessionTreeCtrl.add_items): Handle drawing
8            Colors in the tree view.
9    
10            * Thuban/Model/layer.py (Layer.TreeInfo): Added a call to build
11            the tree info for classifications. Commented out unnecessary lines.
12    
13            * Thuban/Model/classification.py (Classification.TreeInfo): New
14            function to add information about the classification into the
15            tree view.
16    
17    2003-01-27      Jan-Oliver Wagner <[email protected]>
18    
19            * Thuban/__init__.py (_): New.
20    
21            * Thuban/Model/classification.py, Thuban/Model/extension.py,
22            Thuban/Model/layer.py, Thuban/Model/load.py, Thuban/Model/map.py,
23            Thuban/Model/session.py, Thuban/UI/application.py, Thuban/UI/classifier.py,
24            Thuban/UI/context.py, Thuban/UI/controls.py, Thuban/UI/identifyview.py,
25            Thuban/UI/labeldialog.py, Thuban/UI/mainwindow.py, Thuban/UI/menu.py,
26            Thuban/UI/proj4dialog.py, Thuban/UI/renderer.py, Thuban/UI/tree.py,
27            Thuban/Lib/connector.py, Thuban/Lib/fileutil.py:
28            Replace user string by _() for i18n.
29    
30    2003-01-27  Jonathan Coles  <[email protected]>
31    
32      * Thuban/Model/layer.py: Classification initialization calls.
33    
34      * Thuban/Model/classification.py: Created class to encapsulate
35      a layer classification. Supports specific data points and
36      ranges.
37    
38      * Thuban/Model/load.py: Added support for loading classification
39      information.
40    
41      * Thuban/Model/save.py: Added support for saving classification
42      information.
43    
44      * Thuban/UI/classifier.py: Initial class for a dialog box for
45      specifying classification information.
46    
47      * Thuban/UI/mainwindows.py: Support for opening the classifier
48      dialog.
49    
50      * Thuban/UI/renderer.py: Support for drawing a layer with the
51      classification information.
52    
53      * Data/iceland_sample_class.thuban: iceland_sample with
54      classification data.
55    
56      * test/test_classification: Tests for the Classification class.
57    
58    2002-12-09  Bernhard Herzog  <[email protected]>
59    
60            * test/test_command.py: New. Tests for the command classes.
61    
62            * Thuban/UI/command.py (ToolCommand): New class for tool commands.
63            (Command.IsTool): New method to distinguish between command
64            switching tools and other commands.
65    
66            * Thuban/UI/view.py (MapCanvas.SelectTool): New method to select
67            the tool to avoid direct assignments to instance variables
68            (MapCanvas.ZoomInTool, MapCanvas.ZoomOutTool, MapCanvas.PanTool)
69            (MapCanvas.IdentifyTool, MapCanvas.LabelTool): Use SelectTool to
70            change the tool
71    
72            * Thuban/UI/mainwindow.py (MainWindow.update_command_ui): If an
73            active tool's command turns insensitive, disable the tool.
74            (_tool_command): Use the new ToolCommand class
75    
76            * Examples/simple_extensions/simple_tool.py (simple_tool): Use the
77            SelectTool method to change the tool
78            (iconfile): Use the ToolCommand class
79    
80    2002-12-03  Bernhard Herzog  <[email protected]>
81    
82            * Thuban/UI/tree.py (SessionTreeCtrl.normalize_selection): Handle
83            the case of selected items that are not children of Layers or Maps
84            properly. Previously this bug would trigger an assertion in
85            wxWindows.
86    
87    2002-11-06  Frank Koormann  <[email protected]>
88    
89            * Thuban/UI/mainwindow.py: Altered the order of tools in the
90            toolbar: First now are all navigation tools (Zoom In/Out, Pan,
91            Full Extent).
92        
93    2002-10-23  Bernhard Herzog  <[email protected]>
94    
95            * setup.py (setup call): version now 0.1.3
96    
97            * MANIFEST.in: Add the files in test/
98    
99            * test/README: Add note about tests requiring the iceland data
100    
101            * Thuban/UI/mainwindow.py (MainWindow.About): Add 2002 to
102            copyright notice.
103    
104    2002-10-18  Bernhard Herzog  <[email protected]>
105    
106            * test/test_map.py
107            (TestMapWithContents.test_projected_bounding_box): Use an explicit
108            epsilon.
109    
110            * test/support.py (FloatComparisonMixin.assertFloatEqual)
111            (FloatComparisonMixin.assertFloatSeqEqual): give a more useful
112            message if the assertion fails and don't return the return value
113            of self.assert_. In assertFloatSeqEqual the return meant that not
114            all items of the sequence were compared.
115    
116    2002-09-20  Bernhard Herzog  <[email protected]>
117    
118            * test/test_fileutil.py: New. Test cases for Thuban.Lib.fileutil
119    
120            * Thuban/Lib/fileutil.py: Fixup some whitespace and typos
121    
122            * test/test_map.py (TestMapWithContents.test_tree_info): Create
123            the string with the bounding box on the fly because of platform
124            differences in the way %g is handled.
125    
126            * test/test_layer.py (TestLayer.test_empty_layer): Create an empty
127            DBFfile too because Thuban layers can't yet cope missing DBF
128            files.
129    
130    2002-09-20  Bernhard Herzog  <[email protected]>
131    
132            * test/test_menu.py: Use initthuban instead of
133            add_thuban_dir_to_path to initialize Thuban.
134    
135            * test/support.py (FloatComparisonMixin.assertFloatEqual): New.
136            Mixin class for float comparisons
137            (SubscriberMixin): New. Mixin class to test messages sent through
138            the Connector class
139    
140            * test/README: Fix a typo and add the -v flag to the command for
141            individual tests
142    
143            * test/test_session.py: New. Test cases for Thuban.Model.session
144    
145            * test/test_proj.py: New. Test cases for Thuban.Model.proj
146    
147            * test/test_map.py: New. Test cases for Thuban.Model.map
148    
149            * test/test_layer.py: New. Test cases for Thuban.Model.layer
150    
151            * test/test_label.py: New. Test cases for Thuban.Model.label
152    
153            * test/test_connector.py: New. Test cases for Thuban.Lib.connector
154    
155            * test/test_color.py: New. Test cases for Thuban.Model.color
156    
157            * test/test_base.py: New. Test cases for Thuban.Model.base
158    
159    2002-09-13  Bernhard Herzog  <[email protected]>
160    
161            * Thuban/Model/session.py (Session.forwarded_channels): Forward
162            the CHANGED channel too.
163    
164            * Thuban/Model/map.py (Map.forwarded_channels): Forward the
165            CHANGED channel too.
166            (Map.__init__): Call the Modifiable constructor as well.
167    
168            * Thuban/Model/base.py (Modifiable.UnsetModified): Issue a CHANGED
169            event if the modified flag changes.
170            (Modifiable.changed): Tweak the doc-string.
171    
172            * Thuban/UI/mainwindow.py (MainWindow.view_position_changed)
173            (MainWindow.set_position_text): Put the code that puts the text
174            with the mouse position into the status bar into the new method
175            set_position_text so that it can overwritten in derived classes.
176    
177    2002-09-12  Bernhard Herzog  <[email protected]>
178    
179            * Thuban/UI/mainwindow.py (MainWindow.RunMessageBox): Center the
180            message box on the main window.
181    
182    2002-09-11  Bernhard Herzog  <[email protected]>
183    
184            * Thuban/UI/mainwindow.py: Underline the 'x' in "Exit" instead of
185            the 'E' because it's less likely to interfere with other menu
186            entries.
187            (MainWindow.build_menu): remove an incorrect comment.
188    
189    2002-09-10  Bernhard Herzog  <[email protected]>
190    
191            * Thuban/UI/mainwindow.py (MainWindow.Map): New.
192            (_tool_command): Add sensitive parameter
193            (_has_visible_map): Sensitivity callback to tools and other
194            commands that require a visible map. Use it in map_zoom_in_tool,
195            map_zoom_out_tool, map_pan_tool, map_identify_tool, map_label_tool
196            and map_full_extent
197    
198    2002-09-06  Bernhard Herzog  <[email protected]>
199    
200            * Thuban/UI/mainwindow.py (MainWindow.OnClose): Unsubscribe
201            VIEW_POSITION
202    
203    2002-09-04  Frank Koormann   <[email protected]>
204    
205            * Resources/Bitmaps/fullextent.xpm: Updated Icon (removed "potatoe")
206    
207    2002-09-02  Bernhard Herzog  <[email protected]>
208    
209            * Thuban/UI/view.py: Get rid of the idle redraw. This is done by
210            wxWindows already and our implementation doesn't work correctly
211            with wxGTK 2.3:
212            (MapCanvas.__init__): Remove the instance variable
213            (MapCanvas.OnPaint): Always call do_redraw when there's a map to
214            be drawin
215            (MapCanvas.OnIdle): Removed.
216    
217            * Thuban/UI/view.py (MapCanvas.unprojected_rect_around_point): Add
218            a parameter to determine the size of the rectangle.
219            (MapCanvas.find_shape_at): Create the box around the point on a
220            layer by layer basis and make the size depend on the shape type.
221            This solves a problem with the selection of point shapes at the
222            border of the layer's bounding box
223    
224    2002-08-30  Bernhard Herzog  <[email protected]>
225    
226            * Thuban/UI/mainwindow.py (MainWindow.CanRemoveLayer): New method
227            for the sensitivity  of remove layer.
228            (_can_remove_layer): New. Sensitivity callback for remove layer
229            (Command layer_remove): Use _can_remove_layer
230    
231            * Thuban/Model/map.py (Map.CanRemoveLayer): New method to
232            determine whether a given layer can be deleted.
233    
234            * Thuban/UI/view.py (MapCanvas.__init__, MapCanvas.OnPaint)
235            (MapCanvas.do_redraw): Get rid of the unused update_region
236            instance variable
237    
238            * Thuban/UI/view.py: Add/update some doc-strings.
239    
240            * test/: new subdirectory with a bunch of unit tests.
241    
242            * test/README, test/test_table.py, test/test_save.py,
243            test/test_menu.py, test/test_load.py: Initial set of tests and
244            brief instructions on how to run them
245    
246    2002-08-29  Bernhard Herzog  <[email protected]>
247    
248            * Thuban/UI/renderer.py (ScreenRenderer.draw_shape_layer): Handle
249            arcs with multiple parts.
250    
251            * Thuban/UI/view.py (ZoomInTool.MouseUp, ZoomOutTool.MouseUp):
252            Handle degenrate rectangles.
253    
254            * Thuban/Model/table.py: Make writing records work correctly:
255            (Table.__init__): Keep track of whether the DBF is open for
256            writing
257            (Table.write_record): Open the DBF file for writing when necessary
258    
259    2002-08-27  Bernhard Herzog  <[email protected]>
260    
261            * Thuban/Model/table.py (Table.write_record, Table.__init__): Open
262            dbf files only for reading by default. Use a new writable dbf
263            object for writing.
264    
265    2002-08-26  Bernhard Herzog  <[email protected]>
266    
267            * Thuban/UI/mainwindow.py: Refactor the context creation:
268            (MainWindow.Context): New method to return a context
269            (MainWindow.invoke_command, MainWindow.update_command_ui): Use the
270            new method
271    
272            * Thuban/UI/tableview.py (TableGrid, LayerTableGrid): Split the
273            layer table specific code from TableGrid into LayerTableGrid
274            (TableFrame, LayerTableFrame): Split the layer table specific code
275            from TableFrame into LayerTableFrame
276            (LayerTableGrid.select_shape): Remove a debug print
277    
278            * Thuban/UI/mainwindow.py (MainWindow.LayerShowTable): Use the
279            LayerTableFrame
280    
281    2002-08-23  Bernhard Herzog  <[email protected]>
282    
283            * Thuban/Model/layer.py (Layer.__init__): Make sure we have an
284            absolute filename.
285    
286    2002-08-22  Bernhard Herzog  <[email protected]>
287    
288            * Thuban/Model/table.py (Table.write_record): New method to write
289            records.
290            (Table.__init__): Open the DBF file for writing too.
291    
292            * Thuban/UI/controls.py (RecordTable.SetValue): Write the value
293            into the underlying table.
294    
295            * extensions/shapelib/shapefil.h (DBFCommit),
296            extensions/shapelib/dbfopen.c (DBFCommit): New API function to
297            commit any changes made to the DBF file.
298    
299            * Thuban/UI/mainwindow.py (make_check_current_tool)
300            (_tool_command): Put the code that generates the "checked"
301            callback into a separate function so that we can reuse it
302            elsewhere
303    
304            * Thuban/Model/save.py (Saver): New class to handle serializing a
305            session into an XML file. The main reason to introduce a class is
306            that applications built on Thuban can derive from it so that they
307            can save additional information in a session file.
308            (save_session): Delegate almost all the work to the Saver class.
309            Rename the filename argument to file because it may be a file like
310            object now.
311    
312            * Thuban/Model/load.py: Get rid of the Python 1.5.2 compatibility
313            code. Remove the little test code which would be executed when the
314            module is run as a script which didn't work anymore since it can't
315            import the other Thuban modules.
316            (ProcessSession, load_session): Refactor the ProcessSession to
317            have one method for each element start and end tag so that derived
318            classes can easily override the processing of individual tags.
319            Also, always parse with namespaces enabled because applications
320            built on top of Thuban will likely use namespaces if they extend
321            the session file format.
322    
323    2002-08-21  Bernhard Herzog  <[email protected]>
324    
325            * setup.py (ThubanInstall.run): Don't repr install_lib_orig
326            because thubaninit_contents will do it for us.
327    
328    2002-08-16      Jan-Oliver Wagner <[email protected]>
329    
330            * Thuban/UI/mainwindow.py: menu item 'show session tree' now disable if
331            tree window already open
332    
333    2002-08-15  Bernhard Herzog  <[email protected]>
334    
335            * Thuban/Model/layer.py (Layer.Destroy): Call the unboundd method
336            with self.
337    
338            * Thuban/UI/view.py (MapCanvas.OnLeftUp): Only release the mouse
339            when we have actually captured it.
340    
341            * Thuban/Model/layer.py (Layer.Destroy): New. Explicitly close the
342            shapefile and destroy the table.
343    
344            * Thuban/Model/table.py (Table.Destroy): New. Close the DBF file.
345    
346  2002-08-14  Bernhard Herzog  <[email protected]>  2002-08-14  Bernhard Herzog  <[email protected]>
347    
348          * Thuban/UI/controls.py (RecordTable.__init__): Remove the unused          * Thuban/UI/controls.py (RecordTable.__init__): Remove the unused

Legend:
Removed from v.256  
changed lines
  Added in v.384

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26