/[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 817 by jonathan, Mon May 5 15:05:36 2003 UTC revision 952 by frank, Wed May 21 14:21:23 2003 UTC
# Line 1  Line 1 
1    2003-05-21  Frank Koormann  <[email protected]>
2    
3            * Thuban/UI/mainwindow.py (MainWindow): Renamed _OnClose() back to
4            OnClose() to keep in sync with extensions. Internally Thuban
5            still uses "underscored" names.
6    
7    2003-05-20  Jonathan Coles   <[email protected]>
8    
9            This puts back Raster layer support. These layers support projections
10            through the GDAL library. Currently, the CVS version is being used.
11            There are no Debian packages available although this may change soon.
12            A GDAL driver was extended to support writing to memory rather to
13            files.
14    
15            There is still some work that needs to be done, such as some error
16            handling when loading invalid images or when there is a problem
17            projecting the image. This putback simply checks in the majority
18            of the work.
19    
20            * setup.py: Add gdalwarp library extension.
21    
22            * Thuban/Model/layer.py (BaseLayer.HasClassification): New.
23            Defaults to False, but can be overridden by subclasses if they
24            support classification.
25            (RasterLayer): New. Defines a new layer that represents an
26            image.
27    
28            * Thuban/Model/load.py (SessionLoader.__init__): Add rasterlayer
29            tag handler.
30            (SessionLoader.start_layer): Encode the filename.
31            (SessionLoader.start_rasterlayer, SessionLoader.end_rasterlayer):
32            New. Supports reading a rasterlayer tag.
33    
34            * Thuban/Model/map.py (Map.BoundingBox): Fix typo in comment.
35    
36            * Thuban/Model/save.py (XMLWriter.encode): Don't assume that we
37            get a string in Latin1. If we get such as string convert it to
38            unicode first, otherwise leave if alone before encoding.
39            (SessionSaver.write_layer): Add support for writing both Layers
40            and RasterLayers.
41    
42            * Thuban/Model/transientdb.py (AutoTransientTable.SimpleQuery):
43            The right argument may not be a string, it could also be a Column.
44    
45            * Thuban/UI/application.py (ThubanApplication.CreateMainWindow):
46            Make initial window size 600x400. Fixes RTBug #1872.
47    
48            * Thuban/UI/classifier.py (Classifier.__init__): Rearrange how
49            the dialog is constructed so that we can support layers that
50            do not have classifications.
51            (Classifier._OnTry): Only build a classification if the layer
52            supports one.
53    
54            * Thuban/UI/legend.py: Change all checks that a layer is an
55            instance of Layer into checks against BaseLayer.
56            (LegendTree.__FillTreeLayer): Only add children to a branch if
57            the layer supports classification.
58    
59            * Thuban/UI/mainwindow.py (MainWindow.NewSession,
60            MainWindow.OpenSession): Don't proceed with an action if the
61            user chooses Cancel when they are asked to save changes.
62            (MainWindow.AddRasterLayer): New. Open a dialog to allow the
63            user to select an image file. Create a new RasterLayer and add
64            it to the map.
65    
66            * Thuban/UI/renderer.py (MapRenderer.render_map): Add support
67            for rendering RasterLayer layers.
68            (MapRenderer.draw_raster_layer): Actually method that calls
69            the GDALWarp python wrapper and constructs an image from the
70            data returned.
71    
72            * Thuban/UI/tableview.py (LayerTableFrame.__init__): Change the
73            Choices symbols to match those used in the table query method.
74            Replace deprecated method calls on table with new method names.
75    
76            * Thuban/UI/view.py (MapCanvas.set_view_transform): Try to limit
77            how small the scale can get. This still needs more testing.
78    
79            * extensions/thuban/bmpdataset.cpp: New, but copied from GDAL.
80            Provides a driver to output in .bmp format.
81    
82            * extensions/thuban/cpl_mfile.cpp, extensions/thuban/cpl_mfile.h:
83            New. Provides IO routines which write to memory, rather than a file.
84    
85            * extensions/thuban/gdalwarp.cpp: New, but basically a direct copy
86            of the gdalwarp utility provided in GDAL. Added function calls
87            that can be accessed from python.
88    
89            * Data/iceland_sample_raster.thuban: New. Sample file that uses
90            a raster layer.
91    
92            * Data/iceland/island.tfw, Data/iceland/island.tif: New. Raster
93            layer image data.
94    
95            * Doc/thuban.dtd: Added rasterlayer attribute definition.
96    
97            * test/test_layer.py, test/test_load.py, test/test_save.py: Added
98            tests associated with the raster layer code.
99    
100            * test/test_transientdb.py
101            (TestTransientTable.test_auto_transient_table_query): Added a test
102            for using a Column object as the "right" parameter to a query.
103    
104    2003-05-19  Frank Koormann  <[email protected]>
105    
106            * Thuban/version.py (get_changelog_date):
107            Catch exceptions if ChangeLog does not exist.
108    
109            * Thuban/UI/view.py (MapCanvas.Export): Bugfix
110    
111    2003-05-19  Frank Koormann  <[email protected]>
112    
113            Extended version information for Thuban
114    
115            * Thuban/version.py: New, version information for Thuban: Last
116            modification date and last ChangeLog entry date.
117    
118            * Thuban/UI/mainwindow.py (MainWindow.About()): Extended version
119            information: Display Thuban, wxPython and Python version.
120    
121    2003-05-16  Bernhard Herzog  <[email protected]>
122    
123            * Thuban/Model/save.py: Remove some unused imports including the
124            __future__ import for nested_scopes as Thuban relies on Python 2.2
125            now.
126            (XMLWriter.encode): Remove the special case for a None argument.
127            In the saver encode is always called with a string argument.
128    
129    2003-05-16  Bernhard Herzog  <[email protected]>
130    
131            * Thuban/UI/__init__.py: Remove the work-around for the locale bug
132            in wxPython (at least when usinvg wxGTK) prior to 2.4. The symptom
133            of the bug was that e.g. float("1.2") would fail. Thuban now
134            requires 2.4.x.
135            
136    2003-05-16  Frank Koormann   <[email protected]>
137    
138            Printing enhancement and WMF export (under Win32)
139    
140            * Thuban/UI/renderer.py (ExportRenderer): New, derived from
141            ScreenRenderer. Renders Map, Legend and Scalebar for export.
142            (PrinterRenderer): New, derived from ExportRenderer. Replaces the old
143            PrintRender.
144    
145            * Thuban/UI/view.py (MapPrintout.__init__): Enhanced parameter set
146            to fullfil information needed for PrinterRenderer.
147            (MapCanvas.Export): New. Export Map (currently only to WMF on Win32).
148            (MapCanvas.Print): Adapted to new MapPrintout.
149            (OutputTransform): General calculations to transform from canvas
150            coordinates to export/printing devices.
151    
152            * Thuban/UI/mainwindow.py (MainWindow.ExportMap()): New. Added also
153            new method_command to call ExportMap, with platform dependency (only
154            __WXMSW__)
155      
156            * Thuban/UI/scalebar.py (ScaleBar.DrawScaleBar): Position and Size
157            of scalebar drawing area as new parameters.
158            
159            * Thuban/Model/scalebar.py (roundInterval): round long instead of int
160    
161            * Thuban/UI/legend.py (ScalebarBitmap.__SetScale):
162            Update to extended scalebar.DrawScalebar header.
163    
164            * test/test_export.py: New, test Thuban.UI.view.OutputTransform()
165    
166            * test/test_scalebar.py: Made test executable as standalone.
167    
168    2003-05-16  Bernhard Herzog  <[email protected]>
169    
170            * Thuban/Model/table.py (Table): Remove this compatibility alias
171            for DBFTable.
172    
173            * test/test_table.py: Import DBFTable as Table because that alias
174            doesn't exist anymore.
175    
176            * Thuban/UI/classgen.py: Remove some unused imports
177    
178    2003-05-14  Jonathan Coles   <[email protected]>
179    
180            * Thuban/Model/classgen.py (ClassGenerator.GenSingletonsFromList):
181            Fix docstring.
182            (ClassGenerator.GenUniformDistribution): Fix spelling of method name.
183            (ClassGenerator.GenQuantiles): Use the left/right brackets and min/max
184            values of the supplied range to determine the beginning and end
185            bounds of the generated classes.
186    
187            * Thuban/Model/range.py (Range.number_re): Now accepts floats that
188            do not have a leading 0 (.5 is now accepted as well as 0.5).
189    
190            * Thuban/UI/classgen.py (ClassGenDialog.OnOK): Fix name of method
191            call to ClassGenerator.GenUniformDistribution.
192    
193            * Thuban/UI/projdialog.py (ProjFrame.__do_layout): Fix Windows
194            layout bug with the 'Projection' label.
195    
196            * test/support.py (FloatTestCase): New. Needed for the Range tests.
197    
198            * test/test_range.py: New. Imported from SciParam.
199    
200    2003-05-12  Jonathan Coles   <[email protected]>
201    
202            * Thuban/UI/classgen.py (GenQuantilesPanel.GetList): Replace call
203            to table.UniqueValues() with calls that retrieve all the values
204            from the table. This will need to be replaced by a method on table
205            which can simply return the list (perhaps more efficiently).
206    
207    2003-05-12  Jonathan Coles   <[email protected]>
208    
209            The return value of ClassGenerator.CalculateQuantiles has changed.
210            Refer to the documentation for details.
211    
212            * test/test_classgen.py: Modified Quantile tests to use the
213            new return values.
214    
215            * Thuban/Model/classgen.py
216            (ClassGenerator.GenQuantiles): Add comments describing the parameters,
217            use new return values from CalculateQuantiles to produce the correct
218            range bounds in the Classification.
219            (ClassGenerator.CalculateQuantiles): Add more comments describing
220            the return values and parameters. Make minor adjustments to improve
221            the legibility of the code. Fix problem with adjusted not being set
222            in most cases.
223    
224    2003-05-12  Frank Koormann <[email protected]>
225            
226            * Thuban/Model/save.py (XMLWriter.encode()): Explicite call to unicode
227            and latin1. Fixes #1851 finally.
228    
229    2003-05-09  Jonathan Coles   <[email protected]>
230    
231            * test/test_classgen.py: New. Tests the Quantile algorithm.
232    
233            * Thuban/Model/classgen.py (ClassGenerator.CalculateQuantiles):
234            Clean up debugging statement, add comments, fix a small bug in the
235            returned adjusted percentiles.
236            
237    2003-05-09  Jonathan Coles   <[email protected]>
238    
239            Introduces Range class from SciParam into the ClassGroupRange class,
240            and such ranges can now be saved and loaded from disk.
241    
242            Quantiles are now available in the Classification Generator.
243    
244            Initial support for building Queries on a table. Doesn't do anything
245            but run some tests.
246    
247            * Thuban/Model/classification.py: Explicit imports.
248            (ClassGroupRange): Use the Range class to store the underlying
249            range information. The interface remains the same, except for
250            GetRange(), and you can also supply a Range object as the min
251            parameter to SetRange or __init__.
252    
253            * Thuban/Model/load.py (XMLReader.encode): New. Encodes the given
254            string appropriately for use in Thuban. Fixes RTbug #1851.
255            (SessionLoader.end_projection): Handle the context of the
256            projection tag a bit better by looking at what objects are not
257            None. There was an assumption that a projection tag for a map
258            could occur before any layers.
259            (SessionLoader.start_clrange): Provide backward compatibility for
260            reading min/max values as well as the new range parameter.
261    
262            * Thuban/Model/map.py: Explicit imports.
263    
264            * Thuban/Model/resource.py: Import _.
265            (ProjFileSaver.write): write header using projfile.dtd.
266    
267            * Thuban/Model/save.py: Explicit imports.
268            (XMLWriter.encode): New. Encode the given string from a format
269            used by Thuban into UTF-8. Fixes RTbug #1851.
270    
271            * Thuban/UI/classgen.py: Explicit imports.
272            (ClassGenDialog.__init__): Clean up the code and add support
273            for Quantiles.
274            (ClassGenDialog.OnOK): Add support for Quantiles.
275            (GenQuantilesPanel): New. Input panel for Quantiles.
276            (ClassGenerator, CustomRamp, MonochromaticRamp, GreyRamp, RedRamp,
277            GreenRamp, BlueRamp, HotToColdRamp): Move to Thuban/Model/classgen.py
278    
279            * Thuban/Model/classgen.py: New. Contains all the classes named above.
280    
281            * Thuban/UI/classifier.py: Explicit imports.
282            (ClassTable.GetValueAsCust, ClassTable.__ParseInput,
283            ClassTable.SetValueAsCustom): Reworked to use new Range class.
284    
285            * Thuban/UI/legend.py: Explicit imports.
286    
287            * Thuban/UI/mainwindow.py: Add support for the Join Dialog. Added
288            a Table menu and associated method calls.
289            (MainWindow.choose_color): Removed. No longer needed.
290    
291            * Thuban/UI/projdialog.py (ProjFrame.__VerifyButtons): Save button
292            should be disabled if no projection is selected in the available
293            list.
294    
295            * Thuban/UI/renderer.py: Explicit imports.
296    
297            * Thuban/UI/tableview.py (TableGrid.OnRangeSelect): Fix some issues
298            with correctly selecting the rows and issuing the right events.
299            Be sure to call Skip() to allow the grid to do some of its own
300            handling which allows the rows to actually be selected.
301            (LayerTableGrid.select_shapes): Rename from select_shape. Supports
302            selecting multiple shapes.
303            (LayerTableFrame): Support for building Queries.
304            (LayerTableFrame.select_shapes): Allow multiple shapes to be selected.
305    
306            * Thuban/UI/tree.py: Explicit imports.
307    
308            * Thuban/UI/view.py (MapCanvas): Delegate "SelectedShapes" so the
309            table view can call it.
310    
311            * test/test_classification.py: Explicit imports.
312            (TestClassification.test_ClassGroupRange): Fix test for new
313            Range class.
314    
315            * Doc/thuban.dtd: Add range parameter for clrange.
316    
317            * Thuban/Model/range.py: Taken from SciParam. Used as the underlying
318            object in ClassGroupRange, and also uesd for inputting ranges in
319            the classifer table and elsewhere.
320    
321            * Thuban/UI/join.py: New. Initial Join dialog. No real functionality
322            yet.
323    
324    2003-05-09  Frank Koormann <[email protected]>
325    
326            * Thuban/UI/scalebar.py (DrawScaleBar): Draw only if interval > 0.0.
327    
328    2003-05-08  Frank Koormann <[email protected]>
329    
330            Coding style updates
331    
332            * test/test_scalebar.py: Replaced tab indentation by spaces.
333    
334            * Thuban/UI/scalebar.py: Explicit imports.
335    
336    2003-05-08  Frank Koormann <[email protected]>
337    
338            * Thuban/UI/scalebar.py
339            (ScaleBar.DrawScalebar): Format string bug fixed.
340    
341    2003-05-08  Frank Koormann <[email protected]>
342    
343            Reorganization of scalebar component (no wx in Thuban/Model)
344    
345            * Thuban/Model/scalebar.py: Rendering moved to Thuban/UI/scalebar.py
346            (deriveInterval):
347            Calculate scalebar interval and unit which fits in width for scale.
348            (roundInterval): Round float.
349    
350            * Thuban/UI/scalebar.py (ScaleBar): Scalebar rendering
351    
352            * test/test_scalebar.py: Test for Thuban/Model/scalebar.py methods.
353    
354            * Thuban/UI/legend.py: Import Thuban.UI.scalebar
355    
356    2003-05-08  Frank Koormann <[email protected]>
357    
358            * Thuban/UI/legend.py (ScalebarBitmap.SetCanvas):
359            Initialize ScaleBar with canvas.map
360    
361            * Thuban/Model/scalebar.py (ScaleBar.roundInterval()): New,
362            round intervals to display smarter lengths
363            (ScaleBar.DrawScalebar): Draw Scalebar only if the map contains a
364            layer. If the maps has no projection applied grey the scalebar.
365    
366    2003-05-07  Frank Koormann <[email protected]>
367            
368            Basic Scalebar features added.
369    
370            * Thuban/Model/scalebar.py (ScaleBar): New, scalebar rendering.
371    
372            * Thuban/UI/legend.py (LegendPanel): Added scalebar bitmap
373            (ScaleBarBitmap): New, links the scalebar bitmap with view messages
374            and the renderer.
375    
376            * Thuban/UI/view.py (MapCanvas.set_view_transform): Issue SCALE_CHANGED.
377    
378            * Thuban/UI/messages.py: SCALE_CHANGED added.
379    
380    2003-05-07  Bernhard Herzog  <[email protected]>
381    
382            * Thuban/Model/session.py (Session.__init__): New instance
383            variable shapestores to hold a list of all open shapestore objects
384            (Session.ShapeStores): New. Accessor method for the shapestores
385            list.
386            (Session._add_shapestore, Session._clean_weak_store_refs): New.
387            Internal methods to maintain the shapestores list.
388            (Session.Tables): New. Return all tables open in the session.
389            (Session.OpenShapefile): Insert the new ShapeStore into the
390            shapestores list.
391    
392            * test/test_session.py (TestSessionSimple.test_initial_state): Add
393            tests for ShapeStores and Tables
394            (TestSessionWithContent.test_shape_stores)
395            (TestSessionWithContent.test_tables): New. Test cases for
396            ShapeStores and Tables
397    
398    2003-05-07  Bernhard Herzog  <[email protected]>
399    
400            * Thuban/Model/transientdb.py (TransientTableBase.ReadRowAsDict):
401            Add comments about the optimizations used.
402            (AutoTransientTable.ReadValue, TransientTableBase.ReadValue): New.
403            Implement the ReadValue table interface method.
404    
405            * test/test_transientdb.py
406            (TestTransientTable.run_iceland_political_tests)
407            (TestTransientTable.test_transient_joined_table): Add tests for
408            ReadValue
409    
410    2003-05-07  Frank Koormann <[email protected]>
411    
412            * Resources/Bitmaps/fulllayerextent.xpm,
413            Resources/Bitmaps/fullselextent.xpm: Replaced the place holders with
414            new icons.
415    
416    2003-05-06  Bernhard Herzog  <[email protected]>
417    
418            * Thuban/Model/transientdb.py (AutoTransientTable.SimpleQuery):
419            New. Simply delegate to the transient table's version.
420    
421            * test/test_transientdb.py
422            (TestTransientTable.test_auto_transient_table_query): New. Test
423            case for AutoTransientTable's SimpleQuery
424    
425    2003-05-06  Bernhard Herzog  <[email protected]>
426    
427            * Thuban/Model/transientdb.py (TransientTableBase.SimpleQuery):
428            Implement a simple query method for the query dialog
429            (TransientTableBase.create): Add an INTEGER PRIMARY KEY that holds
430            the row index or shapeid.
431            (TransientTable.create): Insert the right value of the row index
432            (TransientJoinedTable.create): Copy the row index of the left
433            table to the joined result table
434    
435            * test/test_transientdb.py
436            (TestTransientTable.test_transient_table_read_twice): Fix
437            doc-string
438            (TestTransientTable.test_transient_table_query): New. Test for the
439            SimpleQuery method
440    
441    2003-05-06  Bernhard Herzog  <[email protected]>
442    
443            Convert all table users to use the new table interface. This only
444            covers Thuban itself, not GREAT-ER or other applications built on
445            Thuban yet, so the compatibility interface stays in place for the
446            time being but it now issues DeprecationWarnings.
447    
448            Finally, the new Table interface has a new method, HasColumn.
449    
450            * Thuban/Model/table.py (OldTableInterfaceMixin): All methods
451            issue deprecation warnings when they're. The warnings refer to the
452            caller of the method.
453            (OldTableInterfaceMixin.__deprecation_warning): New. Helper method
454            for the deprecation warnings
455    
456            * test/test_table.py: Ignore the deprecation warnings for the old
457            table in the tests in this module. The purpose of the tests is to
458            test the old interface, after all.
459    
460            * test/test_transientdb.py
461            (TestTransientTable.run_iceland_political_tests): Use the
462            constants for the types. Add a test for HasColumn
463            (TestTransientTable.test_transient_joined_table): Adapt to new
464            table interface. Add a test for HasColumn
465            (TestTransientTable.test_transient_table_read_twice): Adapt to new
466            table interface
467    
468            * Thuban/UI/tableview.py (DataTable.SetTable, DataTable.GetValue):
469            Adapt to new table interface
470    
471            * Thuban/UI/renderer.py (MapRenderer.draw_shape_layer): Adapt to
472            new table interface
473    
474            * Thuban/UI/controls.py (RecordListCtrl.fill_list)
475            (RecordTable.SetTable): Adapt to new table interface
476    
477            * Thuban/UI/classifier.py (Classifier.__init__)
478            (Classifier.__init__): Adapt to new table interface
479    
480            * Thuban/UI/classgen.py (ClassGenDialog.__init__)
481            (GenUniformPanel._OnRetrieve, GenUniquePanel._OnRetrieve): Adapt
482            to new table interface
483    
484            * Thuban/Model/transientdb.py (TransientTableBase.HasColumn)
485            (AutoTransientTable.HasColumn): Implement the new table interface
486            method
487            (AutoTransientTable.ReadRowAsDict, AutoTransientTable.ValueRange)
488            (AutoTransientTable.UniqueValues): Adapt to new table interface
489    
490            * Thuban/Model/layer.py (Layer.SetShapeStore, Layer.GetFieldType):
491            Adapt to new table interface
492    
493            * test/test_layer.py (TestLayer.open_shapefile): Helper method to
494            simplify opening shapefiles a bit easier.
495            (TestLayer.test_arc_layer, TestLayer.test_polygon_layer)
496            (TestLayer.test_point_layer): Use the new helper method
497            (TestLayer.test_get_field_type): New. Test for the GetFieldType
498            method
499    
500            * test/test_dbf_table.py (TestDBFTable.test_has_column): Test for
501            the new table method
502    
503            * test/test_memory_table.py (TestMemoryTable.test_has_column):
504            Test for the new table method HasColumn
505    
506    2003-05-06  Jonathan Coles   <[email protected]>
507    
508            Addresses the "Selection Extent" wish of RTbug #1787.
509    
510            * Resources/Bitmaps/fulllayerextent.xpm,
511            Resources/Bitmaps/fullselextent.xpm: Bitmaps for layer and selection
512            extent. These are just place holders for the real bitmaps.
513    
514            * Thuban/Model/layer.py (Shape): Since a Shape is immutable only
515            calculate the bounding box once (the first time compute_bbox() is
516            called).
517            (Layer.ShapesBoundingBox): New. Given a list of shape ids, return
518            the bounding box for the shapes in lat/long coordinates.
519    
520            * Thuban/UI/mainwindow.py: Added new "Full selection extent" menu
521            option.
522            (MainWindow.has_selected_shapes): New. Returns true if there are
523            any selected shapes.
524            (MainWindow.FullSelectionExtent): New. Calls
525            MapCanvas.FitSelectedToWindow() when the user selects the menu option.
526            (_has_selected_shapes): New. Returns true if there are any
527            selected shapes.
528    
529            * Thuban/UI/selection.py (Selection.HasSelectedShapes): New. Returns
530            true if there are any selected shapes.
531    
532            * Thuban/UI/view.py (MapCanvas): Added delegated method
533            HasSelectedShapes.
534            (MapCanvas.FitSelectedToWindow): New. Centers and scales any selected
535            shapes on the canvas using the map projection (if any).
536    
537            * test/test_layer.py (TestLayer.test_arc_layer): Add some tests
538            for Layer.ShapesBoundingBox().
539    
540    2003-05-06  Bernhard Herzog  <[email protected]>
541    
542            * Resources/Projections/defaults.proj: Fix spelling of Mercator
543    
544    2003-05-05  Jonathan Coles   <[email protected]>
545    
546            Addresses the "Full Layer Extent" wish of RTbug #1787.
547    
548            * Resources/Projections/defaults.proj: Added UK National Grid.
549    
550            * Thuban/UI/mainwindow.py: Added new "Full layer extent" menu option.
551            (MainWindow.FullLayerExtent): New. Calls MapCanvas.FitLayerToWindow()
552            when the user selects the menu option.
553    
554            * Thuban/UI/view.py (MapCanvas.FitLayerToWindow): New. Centers and
555            scales the given layer on the canvas using the map projection.
556    
557    2003-05-05  Bernhard Herzog  <[email protected]>
558    
559            Convert the table implementations to a new table interface. All
560            tables use a common mixin class to provide backwards compatibility
561            until all table users have been updated.
562    
563            * Thuban/Model/table.py (OldTableInterfaceMixin): Mixin class to
564            provide backwards compatibility for table classes implementing the
565            new interface
566            (DBFTable, MemoryTable): Implement the new table interface. Use
567            OldTableInterfaceMixin as base for compatibility
568            (DBFColumn, MemoryColumn): New. Column description for DBFTable
569            and MemoryTable resp.
570    
571            * test/test_dbf_table.py: New. Test cases for the DBFTable with
572            the new table interface.
573    
574            * test/test_memory_table.py: New. Test cases for the MemoryTable
575            with the new table interface.
576    
577            * test/test_table.py: Document the all tests in this file as only
578            for backwards compatibility. The equivalent tests for the new
579            interface are in test_memory_table.py and test_dbf_table.py
580            (MemoryTableTest.test_read): field_info should be returning tuples
581            with four items
582            (MemoryTableTest.test_write): Make doc-string a more precise.
583    
584            * Thuban/Model/transientdb.py (TransientTableBase): Convert to new
585            table interface. Derive from from OldTableInterfaceMixin for
586            compatibility.
587            (TransientTableBase.create): New intance variable column_map to
588            map from names and indices to column objects
589            (TransientTable.create): Use the new table interface of the input
590            table
591            (AutoTransientTable): Convert to new table interface. Derive from
592            from OldTableInterfaceMixin for compatibility.
593            (AutoTransientTable.write_record): Removed. It's not implemented
594            yet and we still have to decide how to handle writing with the new
595            table and data framework.
596    
597            * test/test_transientdb.py
598            (TestTransientTable.run_iceland_political_tests)
599            (TestTransientTable.test_transient_joined_table): Use the new
600            table interface
601    
602  2003-05-05  Jonathan Coles   <[email protected]>  2003-05-05  Jonathan Coles   <[email protected]>
603    
604          This is namely a collection of UI updates to improve user interactivity.          This is namely a collection of UI updates to improve user interactivity.

Legend:
Removed from v.817  
changed lines
  Added in v.952

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26