/[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 769 by jonathan, Tue Apr 29 14:33:18 2003 UTC revision 1033 by jan, Mon May 26 15:33:51 2003 UTC
# Line 1  Line 1 
1    2003-05-26  Jan-Oliver Wagner <[email protected]>
2    
3            * Thuban/UI/tableview.py (LayerTableFrame.__init__): If there is already
4            a selection present, update the grid accordingly.
5    
6            * Thuban/UI/mainwindow.py (MainWindow.TableShow): Make the dialog
7            resizeable and increase its initial size.
8    
9    2003-05-26  Frank Koormann  <[email protected]>
10    
11            Table export functionality
12    
13            * Thuban/Model/table.py (DBFTable.Width, MemoryTable.Width):
14            Return width (in characters) for a column.
15            (DBFTable.Precision, MemoryTable.Precision): Return decimal precision.
16            (table_to_dbf): Write table to dbf file.
17            (table_to_csv): Write table to csv file.
18    
19            * Thuban/Model/transientdb.py (TransientTableBase.Width,
20            TransientTableBase.Precision): Return column width and precision.
21    
22            * Thuban/UI/tableview.py (QueryTableFrame.OnSaveAs): Call table_to_dbf
23            or table_to_csv depending on file selection.
24    
25            * test/test_dbf_table.py:
26            Test table_to_dbf (extension of former part of test).
27    
28            * test/test_csv_table.py:
29            Test table_to_csv.
30    
31    2003-05-23  Jan-Oliver Wagner <[email protected]>
32    
33            * Thuban/UI/join.py (JoinDialog.OnJoin): Use _() for strings.
34            Use QueryTableFrame instead of TableFrame.
35    
36            * Thuban/UI/mainwindow.py (MainWindow.LayerShowTable): Prefix the
37            table window with 'Layer Table:' instead of 'Table:'.
38    
39    2003-05-23  Jan-Oliver Wagner <[email protected]>
40    
41            Give all tables a title via mix-in TitledObject.LayerShowTable
42    
43            * Thuban/Model/base.py (TitledObject.SetTitle): Call method 'issue'
44            only if it exists.
45    
46            * Thuban/Model/table.py (DBFTable, MemoryTable): mix-in TitledObject
47            and call its init-method with a default title. Remove Title() method.
48    
49            * Thuban/Model/transientdb.py (TransientTable, TransientJoinedTable,
50            AutoTransientTable): mix-in TitledObject and call its init-method with
51            a default title. Remove Title() method.
52    
53    2003-05-23  Bernhard Herzog  <[email protected]>
54    
55            * Thuban/Model/session.py (Session.AddShapeStore): Define
56            AddShapeStore analogously to AddTable.
57    
58            * test/test_session.py (TestSessionSimple.test_add_shapestore):
59            New. Test for AddShapeStore
60    
61    2003-05-23  Jan-Oliver Wagner <[email protected]>
62    
63            Introducing QueryTableFrame and a very coarse ShowTable implementation.
64    
65            * Thuban/UI/tableview.py (LayerTableFrame, QueryTableFrame): Split the
66            class LayerTableFrame into two classes, LayerTableFrame and QueryTableFrame.
67            The latter implements the selection GUI without dependency on a layer.
68            LayerTableFrame now is derived from QueryTableFrame and connects
69            to a layer.
70    
71            * Thuban/UI/mainwindow.py (MainWindow.TableShow): A very coarse
72            implementation that still needs work.
73    
74            * Thuban/Model/layer.py (Layer.TreeInfo): Added filename.
75    
76    2003-05-22  Frank Koormann  <[email protected]>
77    
78            * Thuban/Model/transientdb.py (TransientJoinedTable.__init__):
79            Added "outer_join = False" as optional parameter.
80            (TransientJoinedTable.create): If outer join is true, perform a
81            "LEFT OUTER JOIN" instead of "JOIN", which preserves all records of
82            the left table. Records not matching are filled with 0 / None.
83    
84            * Thuban/UI/join.py (JoinDialog.__init__): Checkbox for outer join.
85            (JoinDialog.OnJoin): Consider outer join check box.
86    
87    2003-05-22  Bernhard Herzog  <[email protected]>
88    
89            * Thuban/UI/join.py (JoinDialog.OnJoin): Use exc_info in a
90            somewhat safer way. Storing the traceback in a local variable can
91            lead to memory leaks
92    
93    2003-05-22  Bernhard Herzog  <[email protected]>
94    
95            * Thuban/UI/join.py (JoinDialog.OnJoin): Make sure to really call
96            the wxMessageDialog's Destroy() method.
97    
98    2003-05-22  Frank Koormann  <[email protected]>
99    
100            * Thuban/UI/join.py (JoinDialog.__init__): Make use of
101            TransientTable.Title()
102    
103    2003-05-22  Frank Koormann  <[email protected]>
104    
105            Join Dialog, initial version.
106    
107            * Thuban/UI/mainwindow.py (MainWindow.TableJoin): Removed print.
108    
109            * Thuban/UI/join.py (JoinDialog): Functional implementation of
110            former framework. Renamed Table1/Table2 to LeftTable/RightTable
111            in all occurences.
112    
113            * Thuban/Model/transientdb.py (TransientJoinedTable.__doc__):
114            Typo fixed.
115    
116    2003-05-22  Bernhard Herzog  <[email protected]>
117    
118            Give the tables titles so that the GUI can display more meaningful
119            names. For now the titles are fixed but depend on e.g. filenames
120            or the titles of the joined tables.
121    
122            * Thuban/Model/transientdb.py (TransientTable.Title)
123            (TransientJoinedTable.Title, AutoTransientTable.Title): New.
124    
125            * Thuban/Model/table.py (DBFTable.Title, MemoryTable.Title): New.
126    
127            * test/test_transientdb.py
128            (TestTransientTable.test_auto_transient_table_title): New. Test
129            for the Title method
130            (TestTransientTable.test_transient_joined_table)
131            (TestTransientTable.test_transient_table): Add test for the Title
132            methods
133    
134            * test/test_memory_table.py (TestMemoryTable.test_title): New.
135            Test for the Title method
136    
137            * test/test_dbf_table.py (TestDBFTable.test_title): New. Test for
138            the Title method
139    
140    2003-05-22  Bernhard Herzog  <[email protected]>
141    
142            * test/test_layer.py (TestLayer.setUp, TestLayer.tearDown):
143            Provide a better way to destroy the layers
144            (TestLayer.test_base_layer, TestLayer.test_arc_layer)
145            (TestLayer.test_point_layer, TestLayer.test_empty_layer)
146            (TestLayer.test_polygon_layer, TestLayer.test_get_field_type): Use
147            the new way to destroy the layers.
148            (TestLayer.test_derived_store): New. Test for using a layer with a
149            DerivedShapeStore
150    
151            * Thuban/Model/layer.py (Layer.SetShapeStore): Only set the
152            filename if the shape store actually has one.
153    
154    2003-05-22  Bernhard Herzog  <[email protected]>
155    
156            * Thuban/Model/table.py (DBFTable.FileName): New. Accessor method
157            for the filename
158    
159            * test/test_dbf_table.py (TestDBFTable.test_filename): New. Test
160            for the FileName method
161            (TestDBFTableWriting.test_write): Fix spelling of filename
162    
163    2003-05-22  Thomas Koester  <[email protected]>
164    
165            * Thuban/Model/range.py, test/test_range.py: Brought over new Range
166            from SciParam that now really is immutable.
167    
168    2003-05-22  Frank Koormann  <[email protected]>
169    
170            Layer Top/Bottom placement added to legend.
171    
172            * Thuban/UI/legend.py
173            (LegendPanel._OnMoveTop(), LayerPanel._OnMoveBottom): New, methods
174            bound to tool events.
175            (LegendTree.MoveCurrentItemTop(), LegendTree.MoveCurrentItemBottom):
176            New, methods binding the event methods with the map methods.
177    
178            * Thuban/Model/map.py (Map.TopLayer(), Map.BottomLayer()): New, place
179            layer at top/bottom of layer stack.
180    
181            * Resources/Bitmaps/top_layer.xpm: New button icon.
182    
183            * Resources/Bitmaps/bottom_layer.xpm: New button icon.
184    
185    2003-05-22  Bernhard Herzog  <[email protected]>
186    
187            * Thuban/Model/session.py (Session.RemoveTable): New method to
188            remove tables
189    
190            * test/test_session.py (TestSessionSimple.test_remove_table): New.
191            Test for RemoveTable
192    
193    2003-05-22  Thomas Koester  <[email protected]>
194    
195            * Thuban/Model/classgen.py: Added short module doc string and CVS id.
196            (ClassGenerator.GenUniformDistribution): Use new Range __init__, too.
197    
198    2003-05-22  Bernhard Herzog  <[email protected]>
199    
200            Implement a way to discover dependencies between tables and
201            shapestores.
202    
203            * Thuban/Model/transientdb.py (TransientTableBase.Dependencies)
204            (TransientJoinedTable.Dependencies)
205            (AutoTransientTable.SimpleQuery): New. Implement the dependencies
206            interface
207            (TransientJoinedTable.__init__): Keep tack of the original table
208            objects in addition to the corresponding transient tables.
209    
210            * Thuban/Model/table.py (DBFTable.Dependencies)
211            (MemoryTable.Dependencies): New. Implement the dependencies
212            interface
213    
214            * Thuban/Model/data.py (ShapeTable): New. Helper class for
215            ShapefileStore
216            (ShapefileStore.__init__): Use ShapeTable instead of
217            AutoTransientTable
218            (ShapefileStore.Table, ShapefileStore.Shapefile): Add doc-strings
219            (ShapefileStore.FileName, ShapefileStore.FileType): New. Accessor
220            methods for filename and type
221            (ShapefileStore.Dependencies): New. Implement the dependencies
222            interface
223            (DerivedShapeStore): New class to replace SimpleStore. The main
224            difference to SimpleStore is that it depends not on a shapefile
225            but another shapestore which expresses the dependencies a bit
226            better
227            (SimpleStore.__init__): Add deprecation warning.
228    
229            * test/test_dbf_table.py (TestDBFTable.test_dependencies): New.
230            Test for the Dependencies method.
231    
232            * test/test_memory_table.py (TestMemoryTable.test_dependencies):
233            New. Test for the Dependencies method.
234    
235            * test/test_transientdb.py
236            (TestTransientTable.test_auto_transient_table_dependencies): New.
237            Test for the Dependencies method.
238            (TestTransientTable.test_transient_joined_table): Add test for the
239            Dependencies method.
240    
241            * test/test_session.py (TestSessionSimple.setUp)
242            (TestSessionSimple.tearDown): New. Implement a better way to
243            destroy the sessions.
244            (TestSessionSimple.test_initial_state)
245            (TestSessionSimple.test_add_table): Bind session to self.session
246            so that it's destroyed by tearDown
247            (TestSessionSimple.test_open_shapefile): New. Test for
248            OpenShapefile and the object it returns
249    
250    2003-05-22  Bernhard Herzog  <[email protected]>
251    
252            * Thuban/Model/session.py (Session.AddTable): New method to
253            register tables with the session.
254            (Session.Tables): Return the tables registered with AddTable too.
255    
256            * test/test_session.py (TestSessionSimple.test_add_table): New.
257            Test case for the AddTable method
258    
259    2003-05-22  Frank Koormann  <[email protected]>
260    
261            UI polishing updates: Place main buttons (OK, Cancel, etc) in the
262            lower right corner, center labels for selections, initialize controls
263            in reasonable order for keyboard navigation.
264    
265            * Thuban/UI/projdialog.py (ProjFrame.__init__, ProjFrame.__doLayout)
266            (ProjFrame.__DoOnProjAvail): Determine position of current projection
267            using the wxListBox.FindString() method. Still a problem (#1886)
268    
269            * Thuban/UI/classifier.py
270            (Classifier.__init__, SelectPropertiesDialog.__init__)
271    
272            * Thuban/UI/classgen.py (ClassGenDialog.__init__,
273            (ClassGenDialog.__DoOnGenTypeSelect): Moved initialization of the
274            different classification types from here to __init__.
275            (GenUniquePanel.__init__): Set the column width of the first field
276            in the Field ListCtrl to the full width.
277    
278            * Thuban/UI/tableview.py (LayerTableFrame.__init__): Rename 'Save As'
279            Button to 'Export'. Center Buttons in Selection Box, set Focus to
280            Grid.
281            (LayerTableFrame.OnKeyDown()): New, bound to the grid with EVT_KEY_DOWN,
282            changes focus to the Selection when pressing "Alt-S".
283    
284            * Thuban/UI/legend.py (LegendTree.__SetVisibilityStyle): Only gray out
285            the text if not visible. The italic font sometimes exceeds the
286            rendering area.
287    
288    2003-05-21  Jonathan Coles   <[email protected]>
289    
290            * Thuban/UI/dock.py (DockFrame): Rename references to _OnClose
291            to OnClose so that Thuban closes correctly.
292    
293            * Thuban/UI/mainwindow.py (MainWindow.OnClose): Call
294            DockFrame.OnClose, not DockFrame._OnClose.
295    
296    2003-05-21  Jonathan Coles   <[email protected]>
297    
298            * Thuban/Model/classgen.py (ClassGenerator.GenQuantiles): Remove
299            references to 'inf' and use new Range __init__ to pass floats
300            directly rather than converting them to strings first.
301            Fixes RTBug #1876.
302    
303            * Thuban/Model/classification.py (ClassGroupRange.SetRange):
304            Use new Range ___init__ to pass floats.
305    
306            * Thuban/Model/layer.py (RasterLayer.__init__): Test if the
307            filename is a valid image file. Throw IOError otherwise.
308    
309            * Thuban/Model/range.py: Brought over new Range from SciParam that
310            is immutable and has an __init__ which can accept floats.
311    
312            * Thuban/UI/mainwindow.py (MainWindow.AddLayer): Move OpenShapefile
313            into try block. AddLayer doesn't throw any exceptions anymore.
314            (MainWindow.AddRasterLayer): Move constructor of RasterLayer into
315            try block.
316    
317            * Thuban/UI/projdialog.py (GeoPanel.__init__): Put Degrees as
318            the first item in choices. Fixes RTBug #1882.
319    
320            * Thuban/UI/renderer.py (MapRenderer.render_map): Check if scale
321            has gone to 0 which is a serious problem. abort.
322            (MapRenderer.draw_raster_layer): Catch IOError seperately and
323            print the error from GDAL.
324    
325            * Thuban/UI/tableview.py (TableGrid.__init__): Call
326            ToggleEventListeners to turn on listening.
327            (TableGrid.ToggleEventListeners): New. Turns event listening on
328            and off so as to prevent excessive messages.
329            (LayerTableFrame.OnQuery): Use TableGrid.ToggleEventListeners
330            to suppress excessive messages when selecting many rows.
331            Fixes RTBug #1880.
332    
333            * Thuban/UI/view.py: Added checks against if scale == 0. This
334            is a serious problem that can occur when an image without
335            geo data is loading and causes the map projection bounds to
336            go to infinity. Right now, the solution is to simply try
337            to recover.
338    
339            * extensions/thuban/cpl_mfile.cpp (MFILEClose): Make sure
340            to set the MFILEReceiver attributes even if the data is NULL.
341    
342            * extensions/thuban/gdalwarp.cpp: Improved the error handling
343            and passed GDAL messages back up to the Python layer. Also
344            tried to fix some memory leaks that were present in the original
345            utility but didn't matter because the program aborted.
346    
347            * test/test_range.py: Copied over tests from SciParam. Removed
348            tests against importing. Fixes RTBug #1867.
349    
350    2003-05-21  Bernhard Herzog  <[email protected]>
351    
352            * test/test_load.py: Remove unused imports and restructure the
353            test code
354            (LoadSessionTest): Split into one class for each test and turn
355            LoadSessionTest itself into the base class for all such session
356            tests.
357            (ClassificationTest): New base class for load tests that test
358            classifications
359            (TestSingleLayer, TestLayerVisibility, TestClassification)
360            (TestLabels, TestLayerProjection, TestRasterLayer): New classes
361            for the individual tests
362    
363            * test/support.py (FileLoadTestCase.filename): New base class for
364            file loading tests
365    
366    2003-05-21  Jan-Oliver Wagner <[email protected]>
367    
368            * Resources/Projections/defaults.proj: Renamed 'Universal Transverse
369            Mercator' to 'UTM Zone 32' as a more convenient example.
370            Added 'Gauss Krueger Zone 6'.
371    
372            * Data/iceland_sample_raster.thuban: political polygon now
373            filled transparent to have the raster image visible at once.
374    
375    2003-05-21  Frank Koormann  <[email protected]>
376    
377            * Thuban/UI/mainwindow.py (MainWindow): Renamed _OnClose() back to
378            OnClose() to keep in sync with extensions. Internally Thuban
379            still uses "underscored" names.
380    
381    2003-05-20  Jonathan Coles   <[email protected]>
382    
383            This puts back Raster layer support. These layers support projections
384            through the GDAL library. Currently, the CVS version is being used.
385            There are no Debian packages available although this may change soon.
386            A GDAL driver was extended to support writing to memory rather to
387            files.
388    
389            There is still some work that needs to be done, such as some error
390            handling when loading invalid images or when there is a problem
391            projecting the image. This putback simply checks in the majority
392            of the work.
393    
394            * setup.py: Add gdalwarp library extension.
395    
396            * Thuban/Model/layer.py (BaseLayer.HasClassification): New.
397            Defaults to False, but can be overridden by subclasses if they
398            support classification.
399            (RasterLayer): New. Defines a new layer that represents an
400            image.
401    
402            * Thuban/Model/load.py (SessionLoader.__init__): Add rasterlayer
403            tag handler.
404            (SessionLoader.start_layer): Encode the filename.
405            (SessionLoader.start_rasterlayer, SessionLoader.end_rasterlayer):
406            New. Supports reading a rasterlayer tag.
407    
408            * Thuban/Model/map.py (Map.BoundingBox): Fix typo in comment.
409    
410            * Thuban/Model/save.py (XMLWriter.encode): Don't assume that we
411            get a string in Latin1. If we get such as string convert it to
412            unicode first, otherwise leave if alone before encoding.
413            (SessionSaver.write_layer): Add support for writing both Layers
414            and RasterLayers.
415    
416            * Thuban/Model/transientdb.py (AutoTransientTable.SimpleQuery):
417            The right argument may not be a string, it could also be a Column.
418    
419            * Thuban/UI/application.py (ThubanApplication.CreateMainWindow):
420            Make initial window size 600x400. Fixes RTBug #1872.
421    
422            * Thuban/UI/classifier.py (Classifier.__init__): Rearrange how
423            the dialog is constructed so that we can support layers that
424            do not have classifications.
425            (Classifier._OnTry): Only build a classification if the layer
426            supports one.
427    
428            * Thuban/UI/legend.py: Change all checks that a layer is an
429            instance of Layer into checks against BaseLayer.
430            (LegendTree.__FillTreeLayer): Only add children to a branch if
431            the layer supports classification.
432    
433            * Thuban/UI/mainwindow.py (MainWindow.NewSession,
434            MainWindow.OpenSession): Don't proceed with an action if the
435            user chooses Cancel when they are asked to save changes.
436            (MainWindow.AddRasterLayer): New. Open a dialog to allow the
437            user to select an image file. Create a new RasterLayer and add
438            it to the map.
439    
440            * Thuban/UI/renderer.py (MapRenderer.render_map): Add support
441            for rendering RasterLayer layers.
442            (MapRenderer.draw_raster_layer): Actually method that calls
443            the GDALWarp python wrapper and constructs an image from the
444            data returned.
445    
446            * Thuban/UI/tableview.py (LayerTableFrame.__init__): Change the
447            Choices symbols to match those used in the table query method.
448            Replace deprecated method calls on table with new method names.
449    
450            * Thuban/UI/view.py (MapCanvas.set_view_transform): Try to limit
451            how small the scale can get. This still needs more testing.
452    
453            * extensions/thuban/bmpdataset.cpp: New, but copied from GDAL.
454            Provides a driver to output in .bmp format.
455    
456            * extensions/thuban/cpl_mfile.cpp, extensions/thuban/cpl_mfile.h:
457            New. Provides IO routines which write to memory, rather than a file.
458    
459            * extensions/thuban/gdalwarp.cpp: New, but basically a direct copy
460            of the gdalwarp utility provided in GDAL. Added function calls
461            that can be accessed from python.
462    
463            * Data/iceland_sample_raster.thuban: New. Sample file that uses
464            a raster layer.
465    
466            * Data/iceland/island.tfw, Data/iceland/island.tif: New. Raster
467            layer image data.
468    
469            * Doc/thuban.dtd: Added rasterlayer attribute definition.
470    
471            * test/test_layer.py, test/test_load.py, test/test_save.py: Added
472            tests associated with the raster layer code.
473    
474            * test/test_transientdb.py
475            (TestTransientTable.test_auto_transient_table_query): Added a test
476            for using a Column object as the "right" parameter to a query.
477    
478    2003-05-19  Frank Koormann  <[email protected]>
479    
480            * Thuban/version.py (get_changelog_date):
481            Catch exceptions if ChangeLog does not exist.
482    
483            * Thuban/UI/view.py (MapCanvas.Export): Bugfix
484    
485    2003-05-19  Frank Koormann  <[email protected]>
486    
487            Extended version information for Thuban
488    
489            * Thuban/version.py: New, version information for Thuban: Last
490            modification date and last ChangeLog entry date.
491    
492            * Thuban/UI/mainwindow.py (MainWindow.About()): Extended version
493            information: Display Thuban, wxPython and Python version.
494    
495    2003-05-16  Bernhard Herzog  <[email protected]>
496    
497            * Thuban/Model/save.py: Remove some unused imports including the
498            __future__ import for nested_scopes as Thuban relies on Python 2.2
499            now.
500            (XMLWriter.encode): Remove the special case for a None argument.
501            In the saver encode is always called with a string argument.
502    
503    2003-05-16  Bernhard Herzog  <[email protected]>
504    
505            * Thuban/UI/__init__.py: Remove the work-around for the locale bug
506            in wxPython (at least when usinvg wxGTK) prior to 2.4. The symptom
507            of the bug was that e.g. float("1.2") would fail. Thuban now
508            requires 2.4.x.
509            
510    2003-05-16  Frank Koormann   <[email protected]>
511    
512            Printing enhancement and WMF export (under Win32)
513    
514            * Thuban/UI/renderer.py (ExportRenderer): New, derived from
515            ScreenRenderer. Renders Map, Legend and Scalebar for export.
516            (PrinterRenderer): New, derived from ExportRenderer. Replaces the old
517            PrintRender.
518    
519            * Thuban/UI/view.py (MapPrintout.__init__): Enhanced parameter set
520            to fullfil information needed for PrinterRenderer.
521            (MapCanvas.Export): New. Export Map (currently only to WMF on Win32).
522            (MapCanvas.Print): Adapted to new MapPrintout.
523            (OutputTransform): General calculations to transform from canvas
524            coordinates to export/printing devices.
525    
526            * Thuban/UI/mainwindow.py (MainWindow.ExportMap()): New. Added also
527            new method_command to call ExportMap, with platform dependency (only
528            __WXMSW__)
529      
530            * Thuban/UI/scalebar.py (ScaleBar.DrawScaleBar): Position and Size
531            of scalebar drawing area as new parameters.
532            
533            * Thuban/Model/scalebar.py (roundInterval): round long instead of int
534    
535            * Thuban/UI/legend.py (ScalebarBitmap.__SetScale):
536            Update to extended scalebar.DrawScalebar header.
537    
538            * test/test_export.py: New, test Thuban.UI.view.OutputTransform()
539    
540            * test/test_scalebar.py: Made test executable as standalone.
541    
542    2003-05-16  Bernhard Herzog  <[email protected]>
543    
544            * Thuban/Model/table.py (Table): Remove this compatibility alias
545            for DBFTable.
546    
547            * test/test_table.py: Import DBFTable as Table because that alias
548            doesn't exist anymore.
549    
550            * Thuban/UI/classgen.py: Remove some unused imports
551    
552    2003-05-14  Jonathan Coles   <[email protected]>
553    
554            * Thuban/Model/classgen.py (ClassGenerator.GenSingletonsFromList):
555            Fix docstring.
556            (ClassGenerator.GenUniformDistribution): Fix spelling of method name.
557            (ClassGenerator.GenQuantiles): Use the left/right brackets and min/max
558            values of the supplied range to determine the beginning and end
559            bounds of the generated classes.
560    
561            * Thuban/Model/range.py (Range.number_re): Now accepts floats that
562            do not have a leading 0 (.5 is now accepted as well as 0.5).
563    
564            * Thuban/UI/classgen.py (ClassGenDialog.OnOK): Fix name of method
565            call to ClassGenerator.GenUniformDistribution.
566    
567            * Thuban/UI/projdialog.py (ProjFrame.__do_layout): Fix Windows
568            layout bug with the 'Projection' label.
569    
570            * test/support.py (FloatTestCase): New. Needed for the Range tests.
571    
572            * test/test_range.py: New. Imported from SciParam.
573    
574    2003-05-12  Jonathan Coles   <[email protected]>
575    
576            * Thuban/UI/classgen.py (GenQuantilesPanel.GetList): Replace call
577            to table.UniqueValues() with calls that retrieve all the values
578            from the table. This will need to be replaced by a method on table
579            which can simply return the list (perhaps more efficiently).
580    
581    2003-05-12  Jonathan Coles   <[email protected]>
582    
583            The return value of ClassGenerator.CalculateQuantiles has changed.
584            Refer to the documentation for details.
585    
586            * test/test_classgen.py: Modified Quantile tests to use the
587            new return values.
588    
589            * Thuban/Model/classgen.py
590            (ClassGenerator.GenQuantiles): Add comments describing the parameters,
591            use new return values from CalculateQuantiles to produce the correct
592            range bounds in the Classification.
593            (ClassGenerator.CalculateQuantiles): Add more comments describing
594            the return values and parameters. Make minor adjustments to improve
595            the legibility of the code. Fix problem with adjusted not being set
596            in most cases.
597    
598    2003-05-12  Frank Koormann <[email protected]>
599            
600            * Thuban/Model/save.py (XMLWriter.encode()): Explicite call to unicode
601            and latin1. Fixes #1851 finally.
602    
603    2003-05-09  Jonathan Coles   <[email protected]>
604    
605            * test/test_classgen.py: New. Tests the Quantile algorithm.
606    
607            * Thuban/Model/classgen.py (ClassGenerator.CalculateQuantiles):
608            Clean up debugging statement, add comments, fix a small bug in the
609            returned adjusted percentiles.
610            
611    2003-05-09  Jonathan Coles   <[email protected]>
612    
613            Introduces Range class from SciParam into the ClassGroupRange class,
614            and such ranges can now be saved and loaded from disk.
615    
616            Quantiles are now available in the Classification Generator.
617    
618            Initial support for building Queries on a table. Doesn't do anything
619            but run some tests.
620    
621            * Thuban/Model/classification.py: Explicit imports.
622            (ClassGroupRange): Use the Range class to store the underlying
623            range information. The interface remains the same, except for
624            GetRange(), and you can also supply a Range object as the min
625            parameter to SetRange or __init__.
626    
627            * Thuban/Model/load.py (XMLReader.encode): New. Encodes the given
628            string appropriately for use in Thuban. Fixes RTbug #1851.
629            (SessionLoader.end_projection): Handle the context of the
630            projection tag a bit better by looking at what objects are not
631            None. There was an assumption that a projection tag for a map
632            could occur before any layers.
633            (SessionLoader.start_clrange): Provide backward compatibility for
634            reading min/max values as well as the new range parameter.
635    
636            * Thuban/Model/map.py: Explicit imports.
637    
638            * Thuban/Model/resource.py: Import _.
639            (ProjFileSaver.write): write header using projfile.dtd.
640    
641            * Thuban/Model/save.py: Explicit imports.
642            (XMLWriter.encode): New. Encode the given string from a format
643            used by Thuban into UTF-8. Fixes RTbug #1851.
644    
645            * Thuban/UI/classgen.py: Explicit imports.
646            (ClassGenDialog.__init__): Clean up the code and add support
647            for Quantiles.
648            (ClassGenDialog.OnOK): Add support for Quantiles.
649            (GenQuantilesPanel): New. Input panel for Quantiles.
650            (ClassGenerator, CustomRamp, MonochromaticRamp, GreyRamp, RedRamp,
651            GreenRamp, BlueRamp, HotToColdRamp): Move to Thuban/Model/classgen.py
652    
653            * Thuban/Model/classgen.py: New. Contains all the classes named above.
654    
655            * Thuban/UI/classifier.py: Explicit imports.
656            (ClassTable.GetValueAsCust, ClassTable.__ParseInput,
657            ClassTable.SetValueAsCustom): Reworked to use new Range class.
658    
659            * Thuban/UI/legend.py: Explicit imports.
660    
661            * Thuban/UI/mainwindow.py: Add support for the Join Dialog. Added
662            a Table menu and associated method calls.
663            (MainWindow.choose_color): Removed. No longer needed.
664    
665            * Thuban/UI/projdialog.py (ProjFrame.__VerifyButtons): Save button
666            should be disabled if no projection is selected in the available
667            list.
668    
669            * Thuban/UI/renderer.py: Explicit imports.
670    
671            * Thuban/UI/tableview.py (TableGrid.OnRangeSelect): Fix some issues
672            with correctly selecting the rows and issuing the right events.
673            Be sure to call Skip() to allow the grid to do some of its own
674            handling which allows the rows to actually be selected.
675            (LayerTableGrid.select_shapes): Rename from select_shape. Supports
676            selecting multiple shapes.
677            (LayerTableFrame): Support for building Queries.
678            (LayerTableFrame.select_shapes): Allow multiple shapes to be selected.
679    
680            * Thuban/UI/tree.py: Explicit imports.
681    
682            * Thuban/UI/view.py (MapCanvas): Delegate "SelectedShapes" so the
683            table view can call it.
684    
685            * test/test_classification.py: Explicit imports.
686            (TestClassification.test_ClassGroupRange): Fix test for new
687            Range class.
688    
689            * Doc/thuban.dtd: Add range parameter for clrange.
690    
691            * Thuban/Model/range.py: Taken from SciParam. Used as the underlying
692            object in ClassGroupRange, and also uesd for inputting ranges in
693            the classifer table and elsewhere.
694    
695            * Thuban/UI/join.py: New. Initial Join dialog. No real functionality
696            yet.
697    
698    2003-05-09  Frank Koormann <[email protected]>
699    
700            * Thuban/UI/scalebar.py (DrawScaleBar): Draw only if interval > 0.0.
701    
702    2003-05-08  Frank Koormann <[email protected]>
703    
704            Coding style updates
705    
706            * test/test_scalebar.py: Replaced tab indentation by spaces.
707    
708            * Thuban/UI/scalebar.py: Explicit imports.
709    
710    2003-05-08  Frank Koormann <[email protected]>
711    
712            * Thuban/UI/scalebar.py
713            (ScaleBar.DrawScalebar): Format string bug fixed.
714    
715    2003-05-08  Frank Koormann <[email protected]>
716    
717            Reorganization of scalebar component (no wx in Thuban/Model)
718    
719            * Thuban/Model/scalebar.py: Rendering moved to Thuban/UI/scalebar.py
720            (deriveInterval):
721            Calculate scalebar interval and unit which fits in width for scale.
722            (roundInterval): Round float.
723    
724            * Thuban/UI/scalebar.py (ScaleBar): Scalebar rendering
725    
726            * test/test_scalebar.py: Test for Thuban/Model/scalebar.py methods.
727    
728            * Thuban/UI/legend.py: Import Thuban.UI.scalebar
729    
730    2003-05-08  Frank Koormann <[email protected]>
731    
732            * Thuban/UI/legend.py (ScalebarBitmap.SetCanvas):
733            Initialize ScaleBar with canvas.map
734    
735            * Thuban/Model/scalebar.py (ScaleBar.roundInterval()): New,
736            round intervals to display smarter lengths
737            (ScaleBar.DrawScalebar): Draw Scalebar only if the map contains a
738            layer. If the maps has no projection applied grey the scalebar.
739    
740    2003-05-07  Frank Koormann <[email protected]>
741            
742            Basic Scalebar features added.
743    
744            * Thuban/Model/scalebar.py (ScaleBar): New, scalebar rendering.
745    
746            * Thuban/UI/legend.py (LegendPanel): Added scalebar bitmap
747            (ScaleBarBitmap): New, links the scalebar bitmap with view messages
748            and the renderer.
749    
750            * Thuban/UI/view.py (MapCanvas.set_view_transform): Issue SCALE_CHANGED.
751    
752            * Thuban/UI/messages.py: SCALE_CHANGED added.
753    
754    2003-05-07  Bernhard Herzog  <[email protected]>
755    
756            * Thuban/Model/session.py (Session.__init__): New instance
757            variable shapestores to hold a list of all open shapestore objects
758            (Session.ShapeStores): New. Accessor method for the shapestores
759            list.
760            (Session._add_shapestore, Session._clean_weak_store_refs): New.
761            Internal methods to maintain the shapestores list.
762            (Session.Tables): New. Return all tables open in the session.
763            (Session.OpenShapefile): Insert the new ShapeStore into the
764            shapestores list.
765    
766            * test/test_session.py (TestSessionSimple.test_initial_state): Add
767            tests for ShapeStores and Tables
768            (TestSessionWithContent.test_shape_stores)
769            (TestSessionWithContent.test_tables): New. Test cases for
770            ShapeStores and Tables
771    
772    2003-05-07  Bernhard Herzog  <[email protected]>
773    
774            * Thuban/Model/transientdb.py (TransientTableBase.ReadRowAsDict):
775            Add comments about the optimizations used.
776            (AutoTransientTable.ReadValue, TransientTableBase.ReadValue): New.
777            Implement the ReadValue table interface method.
778    
779            * test/test_transientdb.py
780            (TestTransientTable.run_iceland_political_tests)
781            (TestTransientTable.test_transient_joined_table): Add tests for
782            ReadValue
783    
784    2003-05-07  Frank Koormann <[email protected]>
785    
786            * Resources/Bitmaps/fulllayerextent.xpm,
787            Resources/Bitmaps/fullselextent.xpm: Replaced the place holders with
788            new icons.
789    
790    2003-05-06  Bernhard Herzog  <[email protected]>
791    
792            * Thuban/Model/transientdb.py (AutoTransientTable.SimpleQuery):
793            New. Simply delegate to the transient table's version.
794    
795            * test/test_transientdb.py
796            (TestTransientTable.test_auto_transient_table_query): New. Test
797            case for AutoTransientTable's SimpleQuery
798    
799    2003-05-06  Bernhard Herzog  <[email protected]>
800    
801            * Thuban/Model/transientdb.py (TransientTableBase.SimpleQuery):
802            Implement a simple query method for the query dialog
803            (TransientTableBase.create): Add an INTEGER PRIMARY KEY that holds
804            the row index or shapeid.
805            (TransientTable.create): Insert the right value of the row index
806            (TransientJoinedTable.create): Copy the row index of the left
807            table to the joined result table
808    
809            * test/test_transientdb.py
810            (TestTransientTable.test_transient_table_read_twice): Fix
811            doc-string
812            (TestTransientTable.test_transient_table_query): New. Test for the
813            SimpleQuery method
814    
815    2003-05-06  Bernhard Herzog  <[email protected]>
816    
817            Convert all table users to use the new table interface. This only
818            covers Thuban itself, not GREAT-ER or other applications built on
819            Thuban yet, so the compatibility interface stays in place for the
820            time being but it now issues DeprecationWarnings.
821    
822            Finally, the new Table interface has a new method, HasColumn.
823    
824            * Thuban/Model/table.py (OldTableInterfaceMixin): All methods
825            issue deprecation warnings when they're. The warnings refer to the
826            caller of the method.
827            (OldTableInterfaceMixin.__deprecation_warning): New. Helper method
828            for the deprecation warnings
829    
830            * test/test_table.py: Ignore the deprecation warnings for the old
831            table in the tests in this module. The purpose of the tests is to
832            test the old interface, after all.
833    
834            * test/test_transientdb.py
835            (TestTransientTable.run_iceland_political_tests): Use the
836            constants for the types. Add a test for HasColumn
837            (TestTransientTable.test_transient_joined_table): Adapt to new
838            table interface. Add a test for HasColumn
839            (TestTransientTable.test_transient_table_read_twice): Adapt to new
840            table interface
841    
842            * Thuban/UI/tableview.py (DataTable.SetTable, DataTable.GetValue):
843            Adapt to new table interface
844    
845            * Thuban/UI/renderer.py (MapRenderer.draw_shape_layer): Adapt to
846            new table interface
847    
848            * Thuban/UI/controls.py (RecordListCtrl.fill_list)
849            (RecordTable.SetTable): Adapt to new table interface
850    
851            * Thuban/UI/classifier.py (Classifier.__init__)
852            (Classifier.__init__): Adapt to new table interface
853    
854            * Thuban/UI/classgen.py (ClassGenDialog.__init__)
855            (GenUniformPanel._OnRetrieve, GenUniquePanel._OnRetrieve): Adapt
856            to new table interface
857    
858            * Thuban/Model/transientdb.py (TransientTableBase.HasColumn)
859            (AutoTransientTable.HasColumn): Implement the new table interface
860            method
861            (AutoTransientTable.ReadRowAsDict, AutoTransientTable.ValueRange)
862            (AutoTransientTable.UniqueValues): Adapt to new table interface
863    
864            * Thuban/Model/layer.py (Layer.SetShapeStore, Layer.GetFieldType):
865            Adapt to new table interface
866    
867            * test/test_layer.py (TestLayer.open_shapefile): Helper method to
868            simplify opening shapefiles a bit easier.
869            (TestLayer.test_arc_layer, TestLayer.test_polygon_layer)
870            (TestLayer.test_point_layer): Use the new helper method
871            (TestLayer.test_get_field_type): New. Test for the GetFieldType
872            method
873    
874            * test/test_dbf_table.py (TestDBFTable.test_has_column): Test for
875            the new table method
876    
877            * test/test_memory_table.py (TestMemoryTable.test_has_column):
878            Test for the new table method HasColumn
879    
880    2003-05-06  Jonathan Coles   <[email protected]>
881    
882            Addresses the "Selection Extent" wish of RTbug #1787.
883    
884            * Resources/Bitmaps/fulllayerextent.xpm,
885            Resources/Bitmaps/fullselextent.xpm: Bitmaps for layer and selection
886            extent. These are just place holders for the real bitmaps.
887    
888            * Thuban/Model/layer.py (Shape): Since a Shape is immutable only
889            calculate the bounding box once (the first time compute_bbox() is
890            called).
891            (Layer.ShapesBoundingBox): New. Given a list of shape ids, return
892            the bounding box for the shapes in lat/long coordinates.
893    
894            * Thuban/UI/mainwindow.py: Added new "Full selection extent" menu
895            option.
896            (MainWindow.has_selected_shapes): New. Returns true if there are
897            any selected shapes.
898            (MainWindow.FullSelectionExtent): New. Calls
899            MapCanvas.FitSelectedToWindow() when the user selects the menu option.
900            (_has_selected_shapes): New. Returns true if there are any
901            selected shapes.
902    
903            * Thuban/UI/selection.py (Selection.HasSelectedShapes): New. Returns
904            true if there are any selected shapes.
905    
906            * Thuban/UI/view.py (MapCanvas): Added delegated method
907            HasSelectedShapes.
908            (MapCanvas.FitSelectedToWindow): New. Centers and scales any selected
909            shapes on the canvas using the map projection (if any).
910    
911            * test/test_layer.py (TestLayer.test_arc_layer): Add some tests
912            for Layer.ShapesBoundingBox().
913    
914    2003-05-06  Bernhard Herzog  <[email protected]>
915    
916            * Resources/Projections/defaults.proj: Fix spelling of Mercator
917    
918    2003-05-05  Jonathan Coles   <[email protected]>
919    
920            Addresses the "Full Layer Extent" wish of RTbug #1787.
921    
922            * Resources/Projections/defaults.proj: Added UK National Grid.
923    
924            * Thuban/UI/mainwindow.py: Added new "Full layer extent" menu option.
925            (MainWindow.FullLayerExtent): New. Calls MapCanvas.FitLayerToWindow()
926            when the user selects the menu option.
927    
928            * Thuban/UI/view.py (MapCanvas.FitLayerToWindow): New. Centers and
929            scales the given layer on the canvas using the map projection.
930    
931    2003-05-05  Bernhard Herzog  <[email protected]>
932    
933            Convert the table implementations to a new table interface. All
934            tables use a common mixin class to provide backwards compatibility
935            until all table users have been updated.
936    
937            * Thuban/Model/table.py (OldTableInterfaceMixin): Mixin class to
938            provide backwards compatibility for table classes implementing the
939            new interface
940            (DBFTable, MemoryTable): Implement the new table interface. Use
941            OldTableInterfaceMixin as base for compatibility
942            (DBFColumn, MemoryColumn): New. Column description for DBFTable
943            and MemoryTable resp.
944    
945            * test/test_dbf_table.py: New. Test cases for the DBFTable with
946            the new table interface.
947    
948            * test/test_memory_table.py: New. Test cases for the MemoryTable
949            with the new table interface.
950    
951            * test/test_table.py: Document the all tests in this file as only
952            for backwards compatibility. The equivalent tests for the new
953            interface are in test_memory_table.py and test_dbf_table.py
954            (MemoryTableTest.test_read): field_info should be returning tuples
955            with four items
956            (MemoryTableTest.test_write): Make doc-string a more precise.
957    
958            * Thuban/Model/transientdb.py (TransientTableBase): Convert to new
959            table interface. Derive from from OldTableInterfaceMixin for
960            compatibility.
961            (TransientTableBase.create): New intance variable column_map to
962            map from names and indices to column objects
963            (TransientTable.create): Use the new table interface of the input
964            table
965            (AutoTransientTable): Convert to new table interface. Derive from
966            from OldTableInterfaceMixin for compatibility.
967            (AutoTransientTable.write_record): Removed. It's not implemented
968            yet and we still have to decide how to handle writing with the new
969            table and data framework.
970    
971            * test/test_transientdb.py
972            (TestTransientTable.run_iceland_political_tests)
973            (TestTransientTable.test_transient_joined_table): Use the new
974            table interface
975    
976    2003-05-05  Jonathan Coles   <[email protected]>
977    
978            This is namely a collection of UI updates to improve user interactivity.
979            Tabbing between controls now exists and you can use ESC to close dialog
980            boxes; ENTER will active the default button.
981    
982            * Thuban/UI/classgen.py (ClassGenDialog.__init__): Rearrange the
983            order that the controls are created so that tabbing works correctly.
984            (ClassGenDialog.OnOK): Renamed from _OnGenerate() so that the
985            wxDialog can handle the default button correctly.
986            (ClassGenDialog.OnCancel): Renamed from _OnCloseBtn() for the
987            same reasons as for OnOK.
988            (GenUniformPanel._OnRetrieve): Call wxBeginBusyCursor/wxEndBusyCursor
989            when we ask the table for the maximum/minimum values of a field
990            which could take a very long time.
991    
992            * Thuban/UI/classifier.py (Classifier.__init__): Rearrange the
993            order that the controls are created so that tabbing works correctly.
994            (SelectPropertiesDialog.__init__): Rearrange the order that the
995            controls are created so that tabbing works correctly.
996    
997            * Thuban/UI/dialogs.py: Copied NonModalDialog box and changed it
998            to derive from a wxDialog but behave like the original implementation
999            which was derived from a wxFrame. wxDialog provides useful key
1000            handling functionality like ESC calling OnCancel and ENTER calling
1001            OnOK which is lost with wxFrame.
1002    
1003            * Thuban/UI/mainwindow.py: Add "..." to menu items that will open
1004            new dialogs.
1005    
1006            * Thuban/UI/projdialog.py (ProjFrame.__init__): Rearrange the
1007            order that the controls are created so that tabbing works correctly.
1008            (ProjFrame.OnApply): Renamed from _OnTry() to use wxDialog behaviour.
1009            (ProjFrame.OnOK): Renamed from _OnOK() to use wxDialog behaviour.
1010            (ProjFrame.OnCancel): Renamed from _OnClose() to use wxDialog behaviour.
1011            (ProjPanel.__init__): Add "Airy" to the list of ellipsoids so we
1012            can provide the "UK National Grid" as a default projection.
1013            (UTMPanel.__init__): Rearrange the order that the controls are
1014            created so that tabbing works correctly.
1015    
1016    2003-05-05  Bernhard Herzog  <[email protected]>
1017    
1018            * extensions/thuban/wxproj.cpp: Fix some of the comments.
1019            (project_point): If a map projection but no layer projection is
1020            given, convert degrees to radians before applying the map
1021            projection.
1022    
1023            * Thuban/UI/tableview.py (TableGrid.disallow_messages)
1024            (TableGrid.allow_messages): New methods to make it possible to
1025            inhibit message sending.
1026            (TableGrid.issue): Only send the message if not inhibited.
1027            (LayerTableGrid.select_shape): Use the new methods to make sure
1028            that no ROW_SELECTED message is sent while we're updating the
1029            selected rows to match the selected shapes.
1030    
1031    2003-05-02  Jan-Oliver Wagner <[email protected]>
1032    
1033            Implementation of MemoryTable.
1034    
1035            * Thuban/Model/table.py (MemoryTable): New. Quite simple table
1036            implementation that operates on a list of tuples. All of the data
1037            are kept in the memory.
1038    
1039            * test/test_table.py (MemoryTableTest): New.
1040    
1041            * test/test_transientdb.py (SimpleTable): Removed.
1042            (TestTransientTable.test_transient_joined_table,
1043            (TestTransientTable.test_transient_table_read_twice): Replaced
1044            SimpleTable by MemoryTable.
1045    
1046    2003-04-30  Jonathan Coles   <[email protected]>
1047    
1048            * Data/iceland_sample.thuban: Now contains correct projections
1049            for each of the layers.
1050    
1051            * Resources/Projections/defaults.proj: Geographic projection
1052            contains unit conversion parameter.
1053    
1054    2003-04-30  Jonathan Coles   <[email protected]>
1055    
1056            The most important part of this putback is the projection changes.
1057            It should now be possible to specify the projection that a layer
1058            is in and then specify a different projection for the map. The
1059            projection dialog has an extra parameter for a geographic projection
1060            which lets the user select if the input is in degrees or radians.
1061    
1062            * Thuban/Model/layer.py (Layer.ShapesInRegion): Fix docstring
1063            to say that the parameter is a tuple of unprojected
1064            points (which is what the callers to this method were assuming).
1065            Also, since the points are unprojected we need to projected them.
1066    
1067            * Thuban/UI/legend.py (LegendTree.MoveCurrentItemUp,
1068            LegendTree.MoveCurrentItemDown): If the layer or any of the layer's
1069            groups are selected, move the layer up/down. Fixes RTbug #1833.
1070    
1071            * Thuban/UI/mainwindow.py: Move menu item map_rename up.
1072    
1073            * Thuban/UI/projdialog.py (ProjFrame._OnSave): Add missing
1074            parameter in call to SetClientData.
1075            (GeoPanel): Add support for selecting the units that the
1076            source data is in (Radians or Degrees).
1077    
1078            * Thuban/UI/renderer.py (MapRenderer.draw_shape_layer): Optimize
1079            the rendering loop by reducing the number of if's, removing the
1080            unnecessary try/except block, and checking if the old group
1081            is the same as the new one (which happens a lot if there is
1082            no classification, or lots of shapes are in the same group).
1083    
1084            * Thuban/UI/view.py (MapCanvas.OnPaint): Add a try/except block
1085            around the redraw routine to try to catch problems that the user
1086            may create by selecting invalid projections for the data set and
1087            map. Clears the display if there are any problems and prints the
1088            error.
1089            (MapCanvas.do_redraw): Use DC.Clear() instead of drawing a filled
1090            rectangle.
1091    
1092            * extensions/thuban/wxproj.cpp (project_point): First invert the
1093            supplied point (which should be in projected coordinates) using
1094            the layer's projection and then project the point using the
1095            map's projection.
1096            (project_points): Use project_point() to project each point.
1097    
1098    2003-04-30  Jan-Oliver Wagner <[email protected]>
1099    
1100            * Thuban/Model/layer.py (Layer.SetShapeStore): Fixed a bug:
1101            don't set the Classification to None if the classfication field
1102            is None (ie only a DEFAULT).
1103    
1104    2003-04-30  Bernhard Herzog  <[email protected]>
1105    
1106            * Thuban/UI/view.py: Fix some typos.
1107    
1108            * Thuban/UI/mainwindow.py (MainWindow.identify_view_on_demand): Do
1109            not pop up the dialog if the selection becomes empty (this could
1110            happen if e.g. a new selection is opened while the identify tool
1111            is active and dialog had been closed)
1112    
1113    2003-04-30  Bernhard Herzog  <[email protected]>
1114    
1115            * Thuban/Model/transientdb.py (TransientTableBase.__init__): New
1116            instance variable read_record_last_result
1117            (TransientTableBase.read_record): Make sure reading the same
1118            record twice works. The implementation uses the new instance
1119            variable read_record_last_result
1120    
1121            * test/test_transientdb.py
1122            (TestTransientTable.test_transient_table_read_twice): New test
1123            case for the above bug-fix.
1124    
1125    2003-04-29  Jonathan Coles   <[email protected]>
1126    
1127            * Thuban/common.py: Removed. No longer needed Str2Num. RTbug #1832.
1128    
1129            * Thuban/UI/classgen.py: Remove all uses of Str2Num.
1130    
1131            * Thuban/UI/classifier.py: Remove all uses of Str2Num.
1132            (ClassTable.SetValueAsCustom): Rename keyword argument in
1133            ClassGroup* constructors to match argument name.
1134    
1135    2003-04-29  Bernhard Herzog  <[email protected]>
1136    
1137            * Thuban/Model/session.py (Session.Destroy): Explicitly close the
1138            transient DB if it exists to make sure it doesn't leave a journal
1139            file in the temp directory.
1140    
1141            * Thuban/Model/transientdb.py (TransientDatabase.close): Set
1142            self.conn to None after closing the connection to make sure it's
1143            not closed twice
1144    
1145  2003-04-29  Jonathan Coles   <[email protected]>  2003-04-29  Jonathan Coles   <[email protected]>
1146    
1147          Add a visible parameter in the layer XML tag. The default value is          Add a visible parameter in the layer XML tag. The default value is
1148          "true". If anything other than "false" is specified we also assume          "true". If anything other than "false" is specified we also assume
1149          "true".          "true". Addresses RTbug #1025.
1150    
1151          * Doc/thuban.dtd: Add visible parameter to a layer.          * Doc/thuban.dtd: Add visible parameter to a layer.
1152    

Legend:
Removed from v.769  
changed lines
  Added in v.1033

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26