/[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 581 by jonathan, Tue Apr 1 10:20:17 2003 UTC revision 949 by jonathan, Tue May 20 15:27:40 2003 UTC
# Line 1  Line 1 
1    2003-05-20  Jonathan Coles   <[email protected]>
2    
3            This puts back Raster layer support. These layers support projections
4            through the GDAL library. Currently, the CVS version is being used.
5            There are no Debian packages available although this may change soon.
6            A GDAL driver was extended to support writing to memory rather to
7            files.
8    
9            There is still some work that needs to be done, such as some error
10            handling when loading invalid images or when there is a problem
11            projecting the image. This putback simply checks in the majority
12            of the work.
13    
14            * setup.py: Add gdalwarp library extension.
15    
16            * Thuban/Model/layer.py (BaseLayer.HasClassification): New.
17            Defaults to False, but can be overridden by subclasses if they
18            support classification.
19            (RasterLayer): New. Defines a new layer that represents an
20            image.
21    
22            * Thuban/Model/load.py (SessionLoader.__init__): Add rasterlayer
23            tag handler.
24            (SessionLoader.start_layer): Encode the filename.
25            (SessionLoader.start_rasterlayer, SessionLoader.end_rasterlayer):
26            New. Supports reading a rasterlayer tag.
27    
28            * Thuban/Model/map.py (Map.BoundingBox): Fix typo in comment.
29    
30            * Thuban/Model/save.py (XMLWriter.encode): Don't assume that we
31            get a string in Latin1. If we get such as string convert it to
32            unicode first, otherwise leave if alone before encoding.
33            (SessionSaver.write_layer): Add support for writing both Layers
34            and RasterLayers.
35    
36            * Thuban/Model/transientdb.py (AutoTransientTable.SimpleQuery):
37            The right argument may not be a string, it could also be a Column.
38    
39            * Thuban/UI/application.py (ThubanApplication.CreateMainWindow):
40            Make initial window size 600x400. Fixes RTBug #1872.
41    
42            * Thuban/UI/classifier.py (Classifier.__init__): Rearrange how
43            the dialog is constructed so that we can support layers that
44            do not have classifications.
45            (Classifier._OnTry): Only build a classification if the layer
46            supports one.
47    
48            * Thuban/UI/legend.py: Change all checks that a layer is an
49            instance of Layer into checks against BaseLayer.
50            (LegendTree.__FillTreeLayer): Only add children to a branch if
51            the layer supports classification.
52    
53            * Thuban/UI/mainwindow.py (MainWindow.NewSession,
54            MainWindow.OpenSession): Don't proceed with an action if the
55            user chooses Cancel when they are asked to save changes.
56            (MainWindow.AddRasterLayer): New. Open a dialog to allow the
57            user to select an image file. Create a new RasterLayer and add
58            it to the map.
59    
60            * Thuban/UI/renderer.py (MapRenderer.render_map): Add support
61            for rendering RasterLayer layers.
62            (MapRenderer.draw_raster_layer): Actually method that calls
63            the GDALWarp python wrapper and constructs an image from the
64            data returned.
65    
66            * Thuban/UI/tableview.py (LayerTableFrame.__init__): Change the
67            Choices symbols to match those used in the table query method.
68            Replace deprecated method calls on table with new method names.
69    
70            * Thuban/UI/view.py (MapCanvas.set_view_transform): Try to limit
71            how small the scale can get. This still needs more testing.
72    
73            * extensions/thuban/bmpdataset.cpp: New, but copied from GDAL.
74            Provides a driver to output in .bmp format.
75    
76            * extensions/thuban/cpl_mfile.cpp, extensions/thuban/cpl_mfile.h:
77            New. Provides IO routines which write to memory, rather than a file.
78    
79            * extensions/thuban/gdalwarp.cpp: New, but basically a direct copy
80            of the gdalwarp utility provided in GDAL. Added function calls
81            that can be accessed from python.
82    
83            * Data/iceland_sample_raster.thuban: New. Sample file that uses
84            a raster layer.
85    
86            * Data/iceland/island.tfw, Data/iceland/island.tif: New. Raster
87            layer image data.
88    
89            * Doc/thuban.dtd: Added rasterlayer attribute definition.
90    
91            * test/test_layer.py, test/test_load.py, test/test_save.py: Added
92            tests associated with the raster layer code.
93    
94            * test/test_transientdb.py
95            (TestTransientTable.test_auto_transient_table_query): Added a test
96            for using a Column object as the "right" parameter to a query.
97    
98    2003-05-19  Frank Koormann  <[email protected]>
99    
100            * Thuban/version.py (get_changelog_date):
101            Catch exceptions if ChangeLog does not exist.
102    
103            * Thuban/UI/view.py (MapCanvas.Export): Bugfix
104    
105    2003-05-19  Frank Koormann  <[email protected]>
106    
107            Extended version information for Thuban
108    
109            * Thuban/version.py: New, version information for Thuban: Last
110            modification date and last ChangeLog entry date.
111    
112            * Thuban/UI/mainwindow.py (MainWindow.About()): Extended version
113            information: Display Thuban, wxPython and Python version.
114    
115    2003-05-16  Bernhard Herzog  <[email protected]>
116    
117            * Thuban/Model/save.py: Remove some unused imports including the
118            __future__ import for nested_scopes as Thuban relies on Python 2.2
119            now.
120            (XMLWriter.encode): Remove the special case for a None argument.
121            In the saver encode is always called with a string argument.
122    
123    2003-05-16  Bernhard Herzog  <[email protected]>
124    
125            * Thuban/UI/__init__.py: Remove the work-around for the locale bug
126            in wxPython (at least when usinvg wxGTK) prior to 2.4. The symptom
127            of the bug was that e.g. float("1.2") would fail. Thuban now
128            requires 2.4.x.
129            
130    2003-05-16  Frank Koormann   <[email protected]>
131    
132            Printing enhancement and WMF export (under Win32)
133    
134            * Thuban/UI/renderer.py (ExportRenderer): New, derived from
135            ScreenRenderer. Renders Map, Legend and Scalebar for export.
136            (PrinterRenderer): New, derived from ExportRenderer. Replaces the old
137            PrintRender.
138    
139            * Thuban/UI/view.py (MapPrintout.__init__): Enhanced parameter set
140            to fullfil information needed for PrinterRenderer.
141            (MapCanvas.Export): New. Export Map (currently only to WMF on Win32).
142            (MapCanvas.Print): Adapted to new MapPrintout.
143            (OutputTransform): General calculations to transform from canvas
144            coordinates to export/printing devices.
145    
146            * Thuban/UI/mainwindow.py (MainWindow.ExportMap()): New. Added also
147            new method_command to call ExportMap, with platform dependency (only
148            __WXMSW__)
149      
150            * Thuban/UI/scalebar.py (ScaleBar.DrawScaleBar): Position and Size
151            of scalebar drawing area as new parameters.
152            
153            * Thuban/Model/scalebar.py (roundInterval): round long instead of int
154    
155            * Thuban/UI/legend.py (ScalebarBitmap.__SetScale):
156            Update to extended scalebar.DrawScalebar header.
157    
158            * test/test_export.py: New, test Thuban.UI.view.OutputTransform()
159    
160            * test/test_scalebar.py: Made test executable as standalone.
161    
162    2003-05-16  Bernhard Herzog  <[email protected]>
163    
164            * Thuban/Model/table.py (Table): Remove this compatibility alias
165            for DBFTable.
166    
167            * test/test_table.py: Import DBFTable as Table because that alias
168            doesn't exist anymore.
169    
170            * Thuban/UI/classgen.py: Remove some unused imports
171    
172    2003-05-14  Jonathan Coles   <[email protected]>
173    
174            * Thuban/Model/classgen.py (ClassGenerator.GenSingletonsFromList):
175            Fix docstring.
176            (ClassGenerator.GenUniformDistribution): Fix spelling of method name.
177            (ClassGenerator.GenQuantiles): Use the left/right brackets and min/max
178            values of the supplied range to determine the beginning and end
179            bounds of the generated classes.
180    
181            * Thuban/Model/range.py (Range.number_re): Now accepts floats that
182            do not have a leading 0 (.5 is now accepted as well as 0.5).
183    
184            * Thuban/UI/classgen.py (ClassGenDialog.OnOK): Fix name of method
185            call to ClassGenerator.GenUniformDistribution.
186    
187            * Thuban/UI/projdialog.py (ProjFrame.__do_layout): Fix Windows
188            layout bug with the 'Projection' label.
189    
190            * test/support.py (FloatTestCase): New. Needed for the Range tests.
191    
192            * test/test_range.py: New. Imported from SciParam.
193    
194    2003-05-12  Jonathan Coles   <[email protected]>
195    
196            * Thuban/UI/classgen.py (GenQuantilesPanel.GetList): Replace call
197            to table.UniqueValues() with calls that retrieve all the values
198            from the table. This will need to be replaced by a method on table
199            which can simply return the list (perhaps more efficiently).
200    
201    2003-05-12  Jonathan Coles   <[email protected]>
202    
203            The return value of ClassGenerator.CalculateQuantiles has changed.
204            Refer to the documentation for details.
205    
206            * test/test_classgen.py: Modified Quantile tests to use the
207            new return values.
208    
209            * Thuban/Model/classgen.py
210            (ClassGenerator.GenQuantiles): Add comments describing the parameters,
211            use new return values from CalculateQuantiles to produce the correct
212            range bounds in the Classification.
213            (ClassGenerator.CalculateQuantiles): Add more comments describing
214            the return values and parameters. Make minor adjustments to improve
215            the legibility of the code. Fix problem with adjusted not being set
216            in most cases.
217    
218    2003-05-12  Frank Koormann <[email protected]>
219            
220            * Thuban/Model/save.py (XMLWriter.encode()): Explicite call to unicode
221            and latin1. Fixes #1851 finally.
222    
223    2003-05-09  Jonathan Coles   <[email protected]>
224    
225            * test/test_classgen.py: New. Tests the Quantile algorithm.
226    
227            * Thuban/Model/classgen.py (ClassGenerator.CalculateQuantiles):
228            Clean up debugging statement, add comments, fix a small bug in the
229            returned adjusted percentiles.
230            
231    2003-05-09  Jonathan Coles   <[email protected]>
232    
233            Introduces Range class from SciParam into the ClassGroupRange class,
234            and such ranges can now be saved and loaded from disk.
235    
236            Quantiles are now available in the Classification Generator.
237    
238            Initial support for building Queries on a table. Doesn't do anything
239            but run some tests.
240    
241            * Thuban/Model/classification.py: Explicit imports.
242            (ClassGroupRange): Use the Range class to store the underlying
243            range information. The interface remains the same, except for
244            GetRange(), and you can also supply a Range object as the min
245            parameter to SetRange or __init__.
246    
247            * Thuban/Model/load.py (XMLReader.encode): New. Encodes the given
248            string appropriately for use in Thuban. Fixes RTbug #1851.
249            (SessionLoader.end_projection): Handle the context of the
250            projection tag a bit better by looking at what objects are not
251            None. There was an assumption that a projection tag for a map
252            could occur before any layers.
253            (SessionLoader.start_clrange): Provide backward compatibility for
254            reading min/max values as well as the new range parameter.
255    
256            * Thuban/Model/map.py: Explicit imports.
257    
258            * Thuban/Model/resource.py: Import _.
259            (ProjFileSaver.write): write header using projfile.dtd.
260    
261            * Thuban/Model/save.py: Explicit imports.
262            (XMLWriter.encode): New. Encode the given string from a format
263            used by Thuban into UTF-8. Fixes RTbug #1851.
264    
265            * Thuban/UI/classgen.py: Explicit imports.
266            (ClassGenDialog.__init__): Clean up the code and add support
267            for Quantiles.
268            (ClassGenDialog.OnOK): Add support for Quantiles.
269            (GenQuantilesPanel): New. Input panel for Quantiles.
270            (ClassGenerator, CustomRamp, MonochromaticRamp, GreyRamp, RedRamp,
271            GreenRamp, BlueRamp, HotToColdRamp): Move to Thuban/Model/classgen.py
272    
273            * Thuban/Model/classgen.py: New. Contains all the classes named above.
274    
275            * Thuban/UI/classifier.py: Explicit imports.
276            (ClassTable.GetValueAsCust, ClassTable.__ParseInput,
277            ClassTable.SetValueAsCustom): Reworked to use new Range class.
278    
279            * Thuban/UI/legend.py: Explicit imports.
280    
281            * Thuban/UI/mainwindow.py: Add support for the Join Dialog. Added
282            a Table menu and associated method calls.
283            (MainWindow.choose_color): Removed. No longer needed.
284    
285            * Thuban/UI/projdialog.py (ProjFrame.__VerifyButtons): Save button
286            should be disabled if no projection is selected in the available
287            list.
288    
289            * Thuban/UI/renderer.py: Explicit imports.
290    
291            * Thuban/UI/tableview.py (TableGrid.OnRangeSelect): Fix some issues
292            with correctly selecting the rows and issuing the right events.
293            Be sure to call Skip() to allow the grid to do some of its own
294            handling which allows the rows to actually be selected.
295            (LayerTableGrid.select_shapes): Rename from select_shape. Supports
296            selecting multiple shapes.
297            (LayerTableFrame): Support for building Queries.
298            (LayerTableFrame.select_shapes): Allow multiple shapes to be selected.
299    
300            * Thuban/UI/tree.py: Explicit imports.
301    
302            * Thuban/UI/view.py (MapCanvas): Delegate "SelectedShapes" so the
303            table view can call it.
304    
305            * test/test_classification.py: Explicit imports.
306            (TestClassification.test_ClassGroupRange): Fix test for new
307            Range class.
308    
309            * Doc/thuban.dtd: Add range parameter for clrange.
310    
311            * Thuban/Model/range.py: Taken from SciParam. Used as the underlying
312            object in ClassGroupRange, and also uesd for inputting ranges in
313            the classifer table and elsewhere.
314    
315            * Thuban/UI/join.py: New. Initial Join dialog. No real functionality
316            yet.
317    
318    2003-05-09  Frank Koormann <[email protected]>
319    
320            * Thuban/UI/scalebar.py (DrawScaleBar): Draw only if interval > 0.0.
321    
322    2003-05-08  Frank Koormann <[email protected]>
323    
324            Coding style updates
325    
326            * test/test_scalebar.py: Replaced tab indentation by spaces.
327    
328            * Thuban/UI/scalebar.py: Explicit imports.
329    
330    2003-05-08  Frank Koormann <[email protected]>
331    
332            * Thuban/UI/scalebar.py
333            (ScaleBar.DrawScalebar): Format string bug fixed.
334    
335    2003-05-08  Frank Koormann <[email protected]>
336    
337            Reorganization of scalebar component (no wx in Thuban/Model)
338    
339            * Thuban/Model/scalebar.py: Rendering moved to Thuban/UI/scalebar.py
340            (deriveInterval):
341            Calculate scalebar interval and unit which fits in width for scale.
342            (roundInterval): Round float.
343    
344            * Thuban/UI/scalebar.py (ScaleBar): Scalebar rendering
345    
346            * test/test_scalebar.py: Test for Thuban/Model/scalebar.py methods.
347    
348            * Thuban/UI/legend.py: Import Thuban.UI.scalebar
349    
350    2003-05-08  Frank Koormann <[email protected]>
351    
352            * Thuban/UI/legend.py (ScalebarBitmap.SetCanvas):
353            Initialize ScaleBar with canvas.map
354    
355            * Thuban/Model/scalebar.py (ScaleBar.roundInterval()): New,
356            round intervals to display smarter lengths
357            (ScaleBar.DrawScalebar): Draw Scalebar only if the map contains a
358            layer. If the maps has no projection applied grey the scalebar.
359    
360    2003-05-07  Frank Koormann <[email protected]>
361            
362            Basic Scalebar features added.
363    
364            * Thuban/Model/scalebar.py (ScaleBar): New, scalebar rendering.
365    
366            * Thuban/UI/legend.py (LegendPanel): Added scalebar bitmap
367            (ScaleBarBitmap): New, links the scalebar bitmap with view messages
368            and the renderer.
369    
370            * Thuban/UI/view.py (MapCanvas.set_view_transform): Issue SCALE_CHANGED.
371    
372            * Thuban/UI/messages.py: SCALE_CHANGED added.
373    
374    2003-05-07  Bernhard Herzog  <[email protected]>
375    
376            * Thuban/Model/session.py (Session.__init__): New instance
377            variable shapestores to hold a list of all open shapestore objects
378            (Session.ShapeStores): New. Accessor method for the shapestores
379            list.
380            (Session._add_shapestore, Session._clean_weak_store_refs): New.
381            Internal methods to maintain the shapestores list.
382            (Session.Tables): New. Return all tables open in the session.
383            (Session.OpenShapefile): Insert the new ShapeStore into the
384            shapestores list.
385    
386            * test/test_session.py (TestSessionSimple.test_initial_state): Add
387            tests for ShapeStores and Tables
388            (TestSessionWithContent.test_shape_stores)
389            (TestSessionWithContent.test_tables): New. Test cases for
390            ShapeStores and Tables
391    
392    2003-05-07  Bernhard Herzog  <[email protected]>
393    
394            * Thuban/Model/transientdb.py (TransientTableBase.ReadRowAsDict):
395            Add comments about the optimizations used.
396            (AutoTransientTable.ReadValue, TransientTableBase.ReadValue): New.
397            Implement the ReadValue table interface method.
398    
399            * test/test_transientdb.py
400            (TestTransientTable.run_iceland_political_tests)
401            (TestTransientTable.test_transient_joined_table): Add tests for
402            ReadValue
403    
404    2003-05-07  Frank Koormann <[email protected]>
405    
406            * Resources/Bitmaps/fulllayerextent.xpm,
407            Resources/Bitmaps/fullselextent.xpm: Replaced the place holders with
408            new icons.
409    
410    2003-05-06  Bernhard Herzog  <[email protected]>
411    
412            * Thuban/Model/transientdb.py (AutoTransientTable.SimpleQuery):
413            New. Simply delegate to the transient table's version.
414    
415            * test/test_transientdb.py
416            (TestTransientTable.test_auto_transient_table_query): New. Test
417            case for AutoTransientTable's SimpleQuery
418    
419    2003-05-06  Bernhard Herzog  <[email protected]>
420    
421            * Thuban/Model/transientdb.py (TransientTableBase.SimpleQuery):
422            Implement a simple query method for the query dialog
423            (TransientTableBase.create): Add an INTEGER PRIMARY KEY that holds
424            the row index or shapeid.
425            (TransientTable.create): Insert the right value of the row index
426            (TransientJoinedTable.create): Copy the row index of the left
427            table to the joined result table
428    
429            * test/test_transientdb.py
430            (TestTransientTable.test_transient_table_read_twice): Fix
431            doc-string
432            (TestTransientTable.test_transient_table_query): New. Test for the
433            SimpleQuery method
434    
435    2003-05-06  Bernhard Herzog  <[email protected]>
436    
437            Convert all table users to use the new table interface. This only
438            covers Thuban itself, not GREAT-ER or other applications built on
439            Thuban yet, so the compatibility interface stays in place for the
440            time being but it now issues DeprecationWarnings.
441    
442            Finally, the new Table interface has a new method, HasColumn.
443    
444            * Thuban/Model/table.py (OldTableInterfaceMixin): All methods
445            issue deprecation warnings when they're. The warnings refer to the
446            caller of the method.
447            (OldTableInterfaceMixin.__deprecation_warning): New. Helper method
448            for the deprecation warnings
449    
450            * test/test_table.py: Ignore the deprecation warnings for the old
451            table in the tests in this module. The purpose of the tests is to
452            test the old interface, after all.
453    
454            * test/test_transientdb.py
455            (TestTransientTable.run_iceland_political_tests): Use the
456            constants for the types. Add a test for HasColumn
457            (TestTransientTable.test_transient_joined_table): Adapt to new
458            table interface. Add a test for HasColumn
459            (TestTransientTable.test_transient_table_read_twice): Adapt to new
460            table interface
461    
462            * Thuban/UI/tableview.py (DataTable.SetTable, DataTable.GetValue):
463            Adapt to new table interface
464    
465            * Thuban/UI/renderer.py (MapRenderer.draw_shape_layer): Adapt to
466            new table interface
467    
468            * Thuban/UI/controls.py (RecordListCtrl.fill_list)
469            (RecordTable.SetTable): Adapt to new table interface
470    
471            * Thuban/UI/classifier.py (Classifier.__init__)
472            (Classifier.__init__): Adapt to new table interface
473    
474            * Thuban/UI/classgen.py (ClassGenDialog.__init__)
475            (GenUniformPanel._OnRetrieve, GenUniquePanel._OnRetrieve): Adapt
476            to new table interface
477    
478            * Thuban/Model/transientdb.py (TransientTableBase.HasColumn)
479            (AutoTransientTable.HasColumn): Implement the new table interface
480            method
481            (AutoTransientTable.ReadRowAsDict, AutoTransientTable.ValueRange)
482            (AutoTransientTable.UniqueValues): Adapt to new table interface
483    
484            * Thuban/Model/layer.py (Layer.SetShapeStore, Layer.GetFieldType):
485            Adapt to new table interface
486    
487            * test/test_layer.py (TestLayer.open_shapefile): Helper method to
488            simplify opening shapefiles a bit easier.
489            (TestLayer.test_arc_layer, TestLayer.test_polygon_layer)
490            (TestLayer.test_point_layer): Use the new helper method
491            (TestLayer.test_get_field_type): New. Test for the GetFieldType
492            method
493    
494            * test/test_dbf_table.py (TestDBFTable.test_has_column): Test for
495            the new table method
496    
497            * test/test_memory_table.py (TestMemoryTable.test_has_column):
498            Test for the new table method HasColumn
499    
500    2003-05-06  Jonathan Coles   <[email protected]>
501    
502            Addresses the "Selection Extent" wish of RTbug #1787.
503    
504            * Resources/Bitmaps/fulllayerextent.xpm,
505            Resources/Bitmaps/fullselextent.xpm: Bitmaps for layer and selection
506            extent. These are just place holders for the real bitmaps.
507    
508            * Thuban/Model/layer.py (Shape): Since a Shape is immutable only
509            calculate the bounding box once (the first time compute_bbox() is
510            called).
511            (Layer.ShapesBoundingBox): New. Given a list of shape ids, return
512            the bounding box for the shapes in lat/long coordinates.
513    
514            * Thuban/UI/mainwindow.py: Added new "Full selection extent" menu
515            option.
516            (MainWindow.has_selected_shapes): New. Returns true if there are
517            any selected shapes.
518            (MainWindow.FullSelectionExtent): New. Calls
519            MapCanvas.FitSelectedToWindow() when the user selects the menu option.
520            (_has_selected_shapes): New. Returns true if there are any
521            selected shapes.
522    
523            * Thuban/UI/selection.py (Selection.HasSelectedShapes): New. Returns
524            true if there are any selected shapes.
525    
526            * Thuban/UI/view.py (MapCanvas): Added delegated method
527            HasSelectedShapes.
528            (MapCanvas.FitSelectedToWindow): New. Centers and scales any selected
529            shapes on the canvas using the map projection (if any).
530    
531            * test/test_layer.py (TestLayer.test_arc_layer): Add some tests
532            for Layer.ShapesBoundingBox().
533    
534    2003-05-06  Bernhard Herzog  <[email protected]>
535    
536            * Resources/Projections/defaults.proj: Fix spelling of Mercator
537    
538    2003-05-05  Jonathan Coles   <[email protected]>
539    
540            Addresses the "Full Layer Extent" wish of RTbug #1787.
541    
542            * Resources/Projections/defaults.proj: Added UK National Grid.
543    
544            * Thuban/UI/mainwindow.py: Added new "Full layer extent" menu option.
545            (MainWindow.FullLayerExtent): New. Calls MapCanvas.FitLayerToWindow()
546            when the user selects the menu option.
547    
548            * Thuban/UI/view.py (MapCanvas.FitLayerToWindow): New. Centers and
549            scales the given layer on the canvas using the map projection.
550    
551    2003-05-05  Bernhard Herzog  <[email protected]>
552    
553            Convert the table implementations to a new table interface. All
554            tables use a common mixin class to provide backwards compatibility
555            until all table users have been updated.
556    
557            * Thuban/Model/table.py (OldTableInterfaceMixin): Mixin class to
558            provide backwards compatibility for table classes implementing the
559            new interface
560            (DBFTable, MemoryTable): Implement the new table interface. Use
561            OldTableInterfaceMixin as base for compatibility
562            (DBFColumn, MemoryColumn): New. Column description for DBFTable
563            and MemoryTable resp.
564    
565            * test/test_dbf_table.py: New. Test cases for the DBFTable with
566            the new table interface.
567    
568            * test/test_memory_table.py: New. Test cases for the MemoryTable
569            with the new table interface.
570    
571            * test/test_table.py: Document the all tests in this file as only
572            for backwards compatibility. The equivalent tests for the new
573            interface are in test_memory_table.py and test_dbf_table.py
574            (MemoryTableTest.test_read): field_info should be returning tuples
575            with four items
576            (MemoryTableTest.test_write): Make doc-string a more precise.
577    
578            * Thuban/Model/transientdb.py (TransientTableBase): Convert to new
579            table interface. Derive from from OldTableInterfaceMixin for
580            compatibility.
581            (TransientTableBase.create): New intance variable column_map to
582            map from names and indices to column objects
583            (TransientTable.create): Use the new table interface of the input
584            table
585            (AutoTransientTable): Convert to new table interface. Derive from
586            from OldTableInterfaceMixin for compatibility.
587            (AutoTransientTable.write_record): Removed. It's not implemented
588            yet and we still have to decide how to handle writing with the new
589            table and data framework.
590    
591            * test/test_transientdb.py
592            (TestTransientTable.run_iceland_political_tests)
593            (TestTransientTable.test_transient_joined_table): Use the new
594            table interface
595    
596    2003-05-05  Jonathan Coles   <[email protected]>
597    
598            This is namely a collection of UI updates to improve user interactivity.
599            Tabbing between controls now exists and you can use ESC to close dialog
600            boxes; ENTER will active the default button.
601    
602            * Thuban/UI/classgen.py (ClassGenDialog.__init__): Rearrange the
603            order that the controls are created so that tabbing works correctly.
604            (ClassGenDialog.OnOK): Renamed from _OnGenerate() so that the
605            wxDialog can handle the default button correctly.
606            (ClassGenDialog.OnCancel): Renamed from _OnCloseBtn() for the
607            same reasons as for OnOK.
608            (GenUniformPanel._OnRetrieve): Call wxBeginBusyCursor/wxEndBusyCursor
609            when we ask the table for the maximum/minimum values of a field
610            which could take a very long time.
611    
612            * Thuban/UI/classifier.py (Classifier.__init__): Rearrange the
613            order that the controls are created so that tabbing works correctly.
614            (SelectPropertiesDialog.__init__): Rearrange the order that the
615            controls are created so that tabbing works correctly.
616    
617            * Thuban/UI/dialogs.py: Copied NonModalDialog box and changed it
618            to derive from a wxDialog but behave like the original implementation
619            which was derived from a wxFrame. wxDialog provides useful key
620            handling functionality like ESC calling OnCancel and ENTER calling
621            OnOK which is lost with wxFrame.
622    
623            * Thuban/UI/mainwindow.py: Add "..." to menu items that will open
624            new dialogs.
625    
626            * Thuban/UI/projdialog.py (ProjFrame.__init__): Rearrange the
627            order that the controls are created so that tabbing works correctly.
628            (ProjFrame.OnApply): Renamed from _OnTry() to use wxDialog behaviour.
629            (ProjFrame.OnOK): Renamed from _OnOK() to use wxDialog behaviour.
630            (ProjFrame.OnCancel): Renamed from _OnClose() to use wxDialog behaviour.
631            (ProjPanel.__init__): Add "Airy" to the list of ellipsoids so we
632            can provide the "UK National Grid" as a default projection.
633            (UTMPanel.__init__): Rearrange the order that the controls are
634            created so that tabbing works correctly.
635    
636    2003-05-05  Bernhard Herzog  <[email protected]>
637    
638            * extensions/thuban/wxproj.cpp: Fix some of the comments.
639            (project_point): If a map projection but no layer projection is
640            given, convert degrees to radians before applying the map
641            projection.
642    
643            * Thuban/UI/tableview.py (TableGrid.disallow_messages)
644            (TableGrid.allow_messages): New methods to make it possible to
645            inhibit message sending.
646            (TableGrid.issue): Only send the message if not inhibited.
647            (LayerTableGrid.select_shape): Use the new methods to make sure
648            that no ROW_SELECTED message is sent while we're updating the
649            selected rows to match the selected shapes.
650    
651    2003-05-02  Jan-Oliver Wagner <[email protected]>
652    
653            Implementation of MemoryTable.
654    
655            * Thuban/Model/table.py (MemoryTable): New. Quite simple table
656            implementation that operates on a list of tuples. All of the data
657            are kept in the memory.
658    
659            * test/test_table.py (MemoryTableTest): New.
660    
661            * test/test_transientdb.py (SimpleTable): Removed.
662            (TestTransientTable.test_transient_joined_table,
663            (TestTransientTable.test_transient_table_read_twice): Replaced
664            SimpleTable by MemoryTable.
665    
666    2003-04-30  Jonathan Coles   <[email protected]>
667    
668            * Data/iceland_sample.thuban: Now contains correct projections
669            for each of the layers.
670    
671            * Resources/Projections/defaults.proj: Geographic projection
672            contains unit conversion parameter.
673    
674    2003-04-30  Jonathan Coles   <[email protected]>
675    
676            The most important part of this putback is the projection changes.
677            It should now be possible to specify the projection that a layer
678            is in and then specify a different projection for the map. The
679            projection dialog has an extra parameter for a geographic projection
680            which lets the user select if the input is in degrees or radians.
681    
682            * Thuban/Model/layer.py (Layer.ShapesInRegion): Fix docstring
683            to say that the parameter is a tuple of unprojected
684            points (which is what the callers to this method were assuming).
685            Also, since the points are unprojected we need to projected them.
686    
687            * Thuban/UI/legend.py (LegendTree.MoveCurrentItemUp,
688            LegendTree.MoveCurrentItemDown): If the layer or any of the layer's
689            groups are selected, move the layer up/down. Fixes RTbug #1833.
690    
691            * Thuban/UI/mainwindow.py: Move menu item map_rename up.
692    
693            * Thuban/UI/projdialog.py (ProjFrame._OnSave): Add missing
694            parameter in call to SetClientData.
695            (GeoPanel): Add support for selecting the units that the
696            source data is in (Radians or Degrees).
697    
698            * Thuban/UI/renderer.py (MapRenderer.draw_shape_layer): Optimize
699            the rendering loop by reducing the number of if's, removing the
700            unnecessary try/except block, and checking if the old group
701            is the same as the new one (which happens a lot if there is
702            no classification, or lots of shapes are in the same group).
703    
704            * Thuban/UI/view.py (MapCanvas.OnPaint): Add a try/except block
705            around the redraw routine to try to catch problems that the user
706            may create by selecting invalid projections for the data set and
707            map. Clears the display if there are any problems and prints the
708            error.
709            (MapCanvas.do_redraw): Use DC.Clear() instead of drawing a filled
710            rectangle.
711    
712            * extensions/thuban/wxproj.cpp (project_point): First invert the
713            supplied point (which should be in projected coordinates) using
714            the layer's projection and then project the point using the
715            map's projection.
716            (project_points): Use project_point() to project each point.
717    
718    2003-04-30  Jan-Oliver Wagner <[email protected]>
719    
720            * Thuban/Model/layer.py (Layer.SetShapeStore): Fixed a bug:
721            don't set the Classification to None if the classfication field
722            is None (ie only a DEFAULT).
723    
724    2003-04-30  Bernhard Herzog  <[email protected]>
725    
726            * Thuban/UI/view.py: Fix some typos.
727    
728            * Thuban/UI/mainwindow.py (MainWindow.identify_view_on_demand): Do
729            not pop up the dialog if the selection becomes empty (this could
730            happen if e.g. a new selection is opened while the identify tool
731            is active and dialog had been closed)
732    
733    2003-04-30  Bernhard Herzog  <[email protected]>
734    
735            * Thuban/Model/transientdb.py (TransientTableBase.__init__): New
736            instance variable read_record_last_result
737            (TransientTableBase.read_record): Make sure reading the same
738            record twice works. The implementation uses the new instance
739            variable read_record_last_result
740    
741            * test/test_transientdb.py
742            (TestTransientTable.test_transient_table_read_twice): New test
743            case for the above bug-fix.
744    
745    2003-04-29  Jonathan Coles   <[email protected]>
746    
747            * Thuban/common.py: Removed. No longer needed Str2Num. RTbug #1832.
748    
749            * Thuban/UI/classgen.py: Remove all uses of Str2Num.
750    
751            * Thuban/UI/classifier.py: Remove all uses of Str2Num.
752            (ClassTable.SetValueAsCustom): Rename keyword argument in
753            ClassGroup* constructors to match argument name.
754    
755    2003-04-29  Bernhard Herzog  <[email protected]>
756    
757            * Thuban/Model/session.py (Session.Destroy): Explicitly close the
758            transient DB if it exists to make sure it doesn't leave a journal
759            file in the temp directory.
760    
761            * Thuban/Model/transientdb.py (TransientDatabase.close): Set
762            self.conn to None after closing the connection to make sure it's
763            not closed twice
764    
765    2003-04-29  Jonathan Coles   <[email protected]>
766    
767            Add a visible parameter in the layer XML tag. The default value is
768            "true". If anything other than "false" is specified we also assume
769            "true". Addresses RTbug #1025.
770    
771            * Doc/thuban.dtd: Add visible parameter to a layer.
772    
773            * Thuban/Model/layer.py (BaseLayer.__init__): Change default value
774            of visible from 1 to True.
775            (Layer.__init__): Change default value of visible from 1 to True.
776    
777            * Thuban/Model/load.py (SessionLoader.start_layer): Read visible
778            parameter.
779    
780            * Thuban/Model/save.py (SessionSaver.write_layer): Save visible
781            parameter.
782    
783            * test/test_load.py: Add new test data contents_test_visible.
784            (LoadSessionTest.setUp): save test data.
785            (LoadSessionTest.testLayerVisibility): Test if the visible flag
786            is loaded correctly.
787    
788            * test/test_save.py (SaveSessionTest.testSingleLayer): Add test
789            for saving an invisible layer.
790    
791    2003-04-29  Jonathan Coles   <[email protected]>
792    
793            * Thuban/UI/mainwindow.py (MainWindow.SetMap): Look up the
794            legend dialog box and tell it to change its map to the one
795            supplied to SetMap(). Fixes RTbug #1770.
796    
797    2003-04-29  Bernhard Herzog  <[email protected]>
798    
799            Next step of table implementation. Introduce a transient database
800            using SQLite that some of the data is copied to on demand. This
801            allows us to do joins and other operations that require an index
802            for good performance with reasonable efficiency. Thuban now needs
803            SQLite 2.8.0 and pysqlite 0.4.1. Older versions may work but I
804            haven't tested that.
805            
806            * Thuban/Model/transientdb.py: New. Transient database
807            implementation.
808    
809            * test/test_transientdb.py: New. Tests for the transient DB
810            classes.
811    
812            * Thuban/Model/session.py (AutoRemoveFile, AutoRemoveDir): New
813            classes to help automatically remove temporary files and
814            directories.
815            (Session.__init__): New instance variables temp_dir for the
816            temporary directory and transient_db for the SQLite database
817            (Session.temp_directory): New. Create a temporary directory if not
818            yet done and return its name. Use AutoRemoveDir to have it
819            automatically deleted
820            (Session.TransientDB): Instantiate the transient database if not
821            done yet and return it.
822    
823            * Thuban/Model/data.py (ShapefileStore.__init__): Use an
824            AutoTransientTable so that data is copied to the transient DB on
825            demand.
826            (SimpleStore): New class that simply combines a table and a
827            shapefile
828    
829            * Thuban/Model/table.py (Table, DBFTable): Rename Table into
830            DBFTable and update its doc-string to reflect the fact that this
831            is only the table interface to a DBF file. Table is now an alias
832            for DBFTable for temporary backwards compatibility.
833    
834            * Thuban/UI/application.py (ThubanApplication.OnExit): Make sure
835            the last reference to the session goes away so that the temporary
836            files are removed properly.
837    
838            * test/test_load.py (LoadSessionTest.tearDown): Remove the
839            reference to the session to make sure the temporary files are
840            removed.
841    
842    2003-04-29  Bernhard Herzog  <[email protected]>
843    
844            * Thuban/Model/load.py (XMLReader.__init__, XMLReader.read): Turn
845            the __parser instance variable into a normal local variable in
846            read. It's only used there and read will never be called more than
847            once. Plus it introduces a reference cycle that keeps can keep the
848            session object alive for a long time.
849    
850    2003-04-29  Jonathan Coles   <[email protected]>
851    
852            * Thuban/Model/proj.py (Projection): Removed Set*() methods to make
853            Projection an immutable item. Fixes RTbug #1825.
854            (Projection.__init__): Initialize instance variables here.
855            (ProjFile.Replace): New. Replace the given projection object with
856            the new projection object. This solves the problem of needing the
857            mutator Projection.SetProjection() in the ProjFrame class and
858            allows a projection to change parameters without changing its
859            location in the file.
860    
861            * Thuban/UI/mainwindow.py (MainWindow.SaveSessionAs): Dialog should
862            be of type wxSAVE and should verify overwriting a file.
863    
864            * Thuban/UI/projdialog.py (ProjFrame._OnSave): Use the new
865            ProjFile.Replace() method instead of the mutator
866            Projection.SetProjection(). Also requires that we reassign the
867            client data to the new projection.
868    
869            * test/test_proj.py (TestProjection.test): Test GetName() and
870            GetAllParameters()
871            (TestProjFile.test): Remove tests for Set*() methods. Add tests
872            for Replace().
873    
874    2003-04-25  Jonathan Coles   <[email protected]>
875    
876            * Thuban/Model/save.py (SessionSaver.write_projection): Make sure
877            to save the name of the projection.
878    
879            * test/test_save.py (SaveSessionTest.testLayerProjection): New
880            test to verify layer projections are saved correctly.
881    
882    2003-04-25  Jonathan Coles   <[email protected]>
883    
884            * Thuban/Model/proj.py (Projection.SetName): Set the name
885            to "Unknown" if name is None.
886            (Projection.SetAllParameters): New. Set the projection's
887            parameter list to the one supplied.
888            (Projection.SetProjection): New. Set the projection's
889            properties to those of the supplied Projection.
890    
891            * Thuban/UI/mainwindow.py (MainWindow.MapProjection): Set
892            the dialog title to include the map's title.
893            (MainWindow.LayerProjection): Set the dialog title to include
894            the layer's title.
895    
896            * Thuban/UI/projdialog.py (ProjFrame.__ShowError): Consolidate
897            error dialogs into a single method call.
898            (ProjFrame.__VerifyButtons): Add more states to check.
899            (ProjFrame.__GetProjection): Return the current state of an
900            edited projection or None.
901            (ProjFrame.__FillAvailList): Remove checks for states that
902            shouldn't exist.
903            (ProjFrame._OnNew): Clear all selected items and supply
904            a projection panel if necessary.
905    
906            * test/test_proj.py (TestProjFile.test): Add tests for
907            ProjFile.SetAllParameters, ProjFile.SetProjection,
908            ProjFile.SetName.
909    
910    2003-04-25  Jonathan Coles   <[email protected]>
911    
912            * Thuban/UI/projdialog.py (ProjFrame.__FillAvailList): Now
913            takes an optional argument to select the current projection.
914            This does not guarantee that the item is visible due to
915            limited wxWindows functionality. Fixes RTBug #1821.
916    
917    2003-04-25  Jonathan Coles   <[email protected]>
918    
919            * Thuban/Model/load.py (SessionLoader.start_projection): Remember
920            the projection name and use it when constructing the Projection
921            object.
922    
923            * Thuban/Model/proj.py (Projection.__init__): Change the default
924            value for 'name' to None and then test if name is equal to None
925            in the body of the constructor. This way the caller doesn't have to
926            know what the default value should be. Namely, useful in load.py
927            where we have to pick a default value if the 'name' parameter
928            doesn't exist in the XML file.
929    
930            * test/test_load.py (LoadSessionTest.testLayerProjection): New.
931            Tests a file where a layer has a projection.
932    
933    2003-04-25  Jonathan Coles   <[email protected]>
934    
935            * Thuban/Model/layer.py (Layer.TreeInfo): Add an item to the
936            tree for projection information.
937    
938            * Thuban/Model/load.py (XMLReader.GetFilename): Renamed from
939            XMLReader.GetFileName.
940            (SessionLoader): Added support for loading projection tags that
941            appear inside a layer.
942    
943            * Thuban/Model/proj.py (ProjFile): Document the class. Move
944            back to using a list because the order of the projections in
945            the file is important to maintain. Fixes RTbug #1817.
946    
947            * Thuban/Model/resource.py: Rename calls to ProjFile.GetFileName
948            to ProjFile.GetFilename.
949    
950            * Thuban/Model/save.py (SessionSaver.write_layer): Save projection
951            information.
952    
953            * Thuban/UI/projdialog.py (ProjFrame._OnAddToList): Renamed from
954            ProjFrame._OnSaveAs. Removed old dead code from previous
955            implementation.
956            (ProjFrame._OnExport): Add support for exporting more than one
957            projection to a single file.
958            (ProjFrame.__FillAvailList): use string formatting (% operator)
959            to build strings that are (partly) translated. Fixes RTbug #1818.
960    
961            * test/test_proj.py (TestProjFile.test): New. Tests the base ProjFile
962            class.
963    
964    2003-04-24  Bernhard Herzog  <[email protected]>
965    
966            * po/es.po: Updated Spanish translation by Daniel Calvelo Aros
967    
968            * po/fr.po: New. French translation by Daniel Calvelo Aros
969    
970            * Thuban/UI/projdialog.py (ProjFrame._OnSaveAs): Don't translate
971            empty strings.
972    
973    2003-04-24  Jonathan Coles   <[email protected]>
974    
975            * Thuban/Model/layer.py (Layer.GetProjection): New. Needed to
976            implement the interface that the ProjFrame dialog expects.
977    
978            * Thuban/Model/proj.py (Projection.SetName): New. Allows the
979            name of the projection to be changed.
980            (ProjFile): Use a dictionary instead of a list so that removing
981            projections is easier and we are sure about uniqueness.
982            (ProjFile.Remove): Remove the given projection object.
983    
984            * Thuban/Model/resource.py (GetSystemProjFiles, GetUserProjFiles):
985            Return a list with only one projection file instead of searching for
986            any projection file. This simplifies many things if the user can
987            only have one system file and one user file.
988    
989            * Thuban/UI/classgen.py: Change all references to
990            genCombo to genChoice.
991    
992            * Thuban/UI/mainwindow.py: Add a Projection option under the
993            layer menu.
994            (MainWindow.LayerProjection): New. Open up a projection window
995            for a layer.
996    
997            * Thuban/UI/projdialog.py: Large changes to how the dialog is
998            laid out. Use three panels instead of one. One for the list of
999            projections, one for the edit controls, and one for the buttons.
1000            Fixed resizing problems so that the dialog resizes correctly
1001            when the projection panel changes. Added import/export, save, and
1002            new buttons/functionality.
1003    
1004    2003-04-24  Bernhard Herzog  <[email protected]>
1005    
1006            First step towards table management. Introduce a simple data
1007            abstraction so that we replace the data a layer uses more easily
1008            in the next step.
1009    
1010            * Thuban/Model/data.py: New file with a simple data abstraction
1011            that bundles shapefile and dbffile into one object.
1012    
1013            * Thuban/Model/session.py (Session.OpenShapefile): New method to
1014            open shapefiles and return a shape store object
1015    
1016            * Thuban/Model/layer.py (Layer.__init__): Pass the data as a store
1017            object instead of a shapefile filename. This introduces a new
1018            instance variable store holding the datastore. For intermediate
1019            backwards compatibility keep the old instance variables.
1020            (open_shapefile): Removed. No longer needed with the shape store.
1021            (Layer.SetShapeStore, Layer.ShapeStore): New methods to set and
1022            get the shape store used by a layer.
1023            (Layer.Destroy): No need to explicitly destroy the shapefile or
1024            table anymore.
1025    
1026            * Thuban/UI/mainwindow.py (MainWindow.AddLayer)
1027            (MainWindow.AddLayer): Use the session's OpenShapefile method to
1028            open shapefiles
1029    
1030            * Thuban/Model/load.py (ProcessSession.start_layer): Use the
1031            session's OpenShapefile method to open shapefiles
1032    
1033            * test/test_classification.py
1034            (TestClassification.test_classification): Use the session's
1035            OpenShapefile method to open shapefiles and build the filename in
1036            a more platform independed way
1037    
1038            * test/test_layer.py (TestLayer.setUp, TestLayer.tearDown):
1039            Implement to have a session to use in the tests
1040            (TestLayer.test_arc_layer, TestLayer.test_polygon_layer)
1041            (TestLayer.test_point_layer, TestLayer.test_empty_layer): Use the
1042            session's OpenShapefile method to open shapefiles
1043            (TestLayerLegend.setUp): Instantiate a session so that we can use
1044            it to open shapefiles.
1045            (TestLayerLegend.tearDown): Make sure that all references to
1046            layers and session are removed otherwise we may get a resource
1047            leak
1048    
1049            * test/test_map.py (TestMapAddLayer.test_add_layer)
1050            (TestMapWithContents.setUp): Instantiate a session so that we can
1051            use it to open shapefiles.
1052            (TestMapWithContents.tearDown): Make sure that all references to
1053            layers, maps and sessions are removed otherwise we may get a
1054            resource leak
1055            ("__main__"): use support.run_tests() so that more info about
1056            uncollected garbage is printed
1057    
1058            * test/test_save.py (SaveSessionTest.testSingleLayer): Use the
1059            session's OpenShapefile method to open shapefiles
1060            ("__main__"): use support.run_tests() so that more info about
1061            uncollected garbage is printed
1062    
1063            * test/test_selection.py (TestSelection.tearDown): Make sure that
1064            all references to the session and the selection are removed
1065            otherwise we may get a resource leak
1066            (TestSelection.get_layer): Instantiate a session so that we can
1067            use it to open shapefiles.
1068            ("__main__"): use support.run_tests() so that more info about
1069            uncollected garbage is printed
1070    
1071            * test/test_session.py (TestSessionBase.tearDown)
1072            (TestSessionWithContent.tearDown): Make sure that all references
1073            to the session and layers are removed otherwise we may get a
1074            resource leak
1075            (TestSessionWithContent.setUp): Use the session's OpenShapefile
1076            method to open shapefiles
1077    
1078    2003-04-24  Jonathan Coles   <[email protected]>
1079    
1080            * Thuban/Model/load.py (XMLReader.read): Should have been checking
1081            if the file_or_filename object had the 'read' attribute.
1082    
1083    2003-04-23  Jonathan Coles   <[email protected]>
1084    
1085            * Thuban/Model/resource.py: Fixes RTbug #1813.
1086            (ReadProjFile): Add documentation about which exceptions are raised.
1087            Always pass the exceptions up to the caller.
1088            (GetProjFiles): If the directory can't be read return an empty list.
1089            If any of the proj files can't be read skip that file and go
1090            on to the next one.
1091    
1092            * test/test_proj.py: Added test cases to handle nonexistent files,
1093            unreadable files, and files that don't parse correctly.
1094    
1095    2003-04-23  Jonathan Coles   <[email protected]>
1096    
1097            Projection dialog. Allows the user to select from a list
1098            of projection templates and optionally edit them and save new ones.
1099    
1100            * Thuban/UI/projdialog.py (ProjFrame): New. Main dialog.
1101            (ProjPanel): Base class for projection specific panels.
1102            (TMPanel): Projection panel for Transverse Mercartor.
1103            (UTMPanel): Projection panel for Universal Transverse Mercartor.
1104            (LCCPanel): Projection panel for Lambert Conic Conformal.
1105            (GeoPanel): Projetion panel for Geographic Projection.
1106    
1107    2003-04-23  Jonathan Coles   <[email protected]>
1108    
1109            * Thuban/Model/load.py (XMLReader): Renamed from XMLProcessor to
1110            promote symmetry. There now exists XMLReader and XMLWriter.
1111            (XMLReader.read): New. Call to read the given file descriptor or
1112            filename.
1113            (XMLReader.close): New. Make sure the file is closed.
1114            (XMLReader.GetFileName): New. Return just the file name that is being
1115            read from.
1116            (XMLReader.GetDirectory): New. Return just the directory of the file
1117            that is being read.
1118            (XMLReader.AddDispatchers): New. Take a dictionary which contains
1119            the names of functions to call as the XML tree is parsed.
1120            (XMLReader.startElementNS): Updated to use new dispatcher dictionary.
1121            (XMLReader.endElementNS): Updated to use new dispatcher dictionary.
1122            (SessionLoader): Removed class variables start_dispatcher and
1123            end_dispatcher since this functionality is now part of a class
1124            instance. Fixes RTbug #1808.
1125            (SessionLoader.__init__): Add dispatcher functions.
1126            (load_xmlfile): Code was moved into the XMLReader.read().
1127            (load_session): Use modified SessionLoader.
1128    
1129            * Thuban/Model/map.py (Map.GetProjection): New. Returns the
1130            map's projection.
1131    
1132            * Thuban/Model/proj.py (Projection.GetParameters): Renamed to
1133            GetAllParameters.
1134            (Projection.GetParameter): Returns the value for the given parameter.
1135    
1136            * Thuban/Model/resource.py: Use XMLReader and XMLWriter.
1137            (GetProjFiles): Renamed from GetProjections. Now returns a list
1138            of ProjFile objects.
1139            (GetSystemProjFiles): Renamed from GetSuppliedProjections. Returns
1140            a list of ProjFile objects whose files are not user defined.
1141            (GetUserProjFiles): Renamed from GetUserProjections. Returns a
1142            list of ProjFile objects whose files are user defined.
1143            (ProjFileReader): Extend new XMLReader.
1144    
1145            * Thuban/Model/save.py (XMLWriter): Renamed from XMLSaver to
1146            promote symmetry.
1147    
1148            * Thuban/UI/classgen.py (ClassGenDialog.__init__): Use a wxChoice
1149            control instead of a wxComboBox. wxChoice controls do not generate
1150            events as the uses highlights possible choices which fixes problems
1151            with resizing the dialog when the use selects an option.
1152    
1153            * Thuban/UI/classifier.py (Classifier.__init__): Use a wxChoice
1154            control instead of a wxComboBox.
1155    
1156            * Thuban/UI/mainwindow.py (MainWindow.Projection): Use new projection
1157            dialog.
1158    
1159            * test/test_proj.py (TestProjection.test): New tests for GetParameter
1160            method.
1161    
1162    2003-04-22  Bernhard Herzog  <[email protected]>
1163    
1164            * Thuban/UI/mainwindow.py: Remove some unused imports and global
1165            constants
1166    
1167            * Thuban/UI/identifyview.py (IdentifyListCtrl.selected_shape)
1168            (IdentifyGridCtrl.selected_shape): Use table, not shapetable.
1169    
1170    2003-04-17  Bernhard Herzog  <[email protected]>
1171    
1172            * Thuban/Model/layer.py: Don't import LAYER_LEGEND_CHANGED.
1173            (Layer): Update doc-string since LAYER_LEGEND_CHANGED is not used
1174            anymore.
1175            (Layer.BoundingBox, Layer.GetFieldType, Layer.NumShapes)
1176            (Layer.ShapeType, Layer.Shape): No need to call
1177            self.open_shapefile since it's always called in __init__
1178    
1179            * Thuban/UI/application.py (ThubanApplication.MainLoop): Removed.
1180            In wxPython 2.4 there's no need to extend MainLoop anymore since
1181            wxPython itself makes sure OnExit is called.
1182    
1183    2003-04-16  Jonathan Coles   <[email protected]>
1184    
1185            Initial putback of projection management code. Includes new
1186            classes to read and write projection files. The current load
1187            and save classes were abstracted a bit so they could be reused.
1188            The Projection class was extended to provide new methods and
1189            have a name.
1190    
1191            * Thuban/Model/load.py (XMLProcessor): New. Contains all the
1192            general XML reading methods that were part of ProcessSession.
1193    
1194            * Thuban/Model/proj.py (Projection.__init__): Accepts an optional
1195            name.
1196            (ProjFile): New. Represents a file that contains projection
1197            information.
1198    
1199            * Thuban/Model/resource.py: New. Contains general utilities
1200            for read and writing projection files.
1201    
1202            * Thuban/Model/save.py (XMLSaver): New. Contains all the
1203            general XML writing methods that were part of SessionSaver.
1204            (SessionSaver): Renamed from Saver.
1205    
1206            * test/test_proj.py: New test cases for the projection
1207            file read and write functions.
1208    
1209    2003-04-16  Jonathan Coles   <[email protected]>
1210    
1211            * Thuban/Model/classification.py: Use repr() around values
1212            in the ClassGroup*.__repr__() methods so it is clearer when
1213            a value is a string and when it is a number.
1214    
1215            * test/test_load.py: Rework the classification test to test
1216            that we can load old files.
1217            (testLabels): Test a file where the groups have labels.
1218    
1219    2003-04-16  Bernhard Herzog  <[email protected]>
1220    
1221            Safer implementation of the performance enhancements of the
1222            low-level renderer:
1223            
1224            * extensions/thuban/wxproj.cpp (extract_projection)
1225            (extract_pointer): Rename extract_projection to extract_pointer
1226            and redefine its purpose to return the pointer stored in a CObject
1227            returned by the object's cobject method. Update all callers.
1228            (s_draw_info, free_draw_info, draw_polygon_init): Implement the
1229            handling of these low-level parameters so that each s_draw_info
1230            instance is handled as a CObject at python level that also
1231            contains real references to the actual python objects which
1232            contain the values in the struct. Add free_draw_info as the
1233            destructor.
1234            (draw_polygon_shape): Add the py_draw_info parameter which must a
1235            cobject containing an s_draw_info pointer.
1236    
1237            * Thuban/UI/renderer.py (MapRenderer.polygon_render_param): New
1238            method to instantiat the low-level render parameter
1239            (MapRenderer.draw_shape_layer): Use the new method. Remove some
1240            commented out code.
1241            (MapRenderer.draw_polygon_shape): Make the first parameter not the
1242            layer but the low-level render parameter
1243            (ScreenRenderer.draw_shape_layer): Use the low-level render
1244            parameter.
1245    
1246    2003-04-15  Jonathan Coles   <[email protected]>
1247    
1248            * Thuban/Model/classification.py: Implemented __repr__ for
1249            the ClassGroup* classes to make debugging a bit easier.
1250            (ClassGroup.SetLabel): Check that the string is an instance
1251            of StringTypes not StringType. Accounts for Unicode strings.
1252    
1253            * Thuban/Model/color.py: Implemented __repr__ to make
1254            debugging a bit easier.
1255    
1256            * Thuban/Model/save.py (Saver.write_classification): Need to
1257            save the group label.
1258    
1259            * test/test_load.py (testClassification): New. Loads the
1260            iceland_sample_test.thuban file and checks if it was loaded
1261            correctly.
1262    
1263    2003-04-15  Jonathan Coles   <[email protected]>
1264    
1265            * extensions/thuban/wxproj.cpp (draw_polygon_init): New. Used
1266            to improve rendering performance by initializing the variables
1267            that are not change each time draw_polygon_shape() is called.
1268            The values are stored in a global struct draw_info.
1269            (draw_polygon_shape): Removed initialization code that is
1270            now in draw_polygon_init().
1271    
1272            * Thuban/UI/renderer.py (MapRenderer.draw_shape_layer): Make
1273            drawing initialization call to draw_polygon_init()
1274            (MapRenderer.draw_polygon_shape): Use new signature of
1275            draw_polygon_shape.
1276    
1277            * Thuban/UI/classgen.py (GenUniformPanel): Fix spin control
1278            weirdness by setting the range to (1, maxint).
1279    
1280            * Thuban/Model/classification.py (ClassGroupProperties): Make
1281            instance variables private and optimize comparison operator
1282            by first checking if the color references are the same.
1283            (ClassGroupSingleton): Make instance variables private.
1284            (ClassGroupRange): Make instance variables private.
1285    
1286            * HOWTO-Release: Filled in missing steps for releasing packages.
1287    
1288    2003-04-15  Bernhard Herzog  <[email protected]>
1289    
1290            First stab at internationalized messages:
1291    
1292            * Thuban/__init__.py (_): Implement the translation function for
1293            real using the python gettext module.
1294    
1295            * Thuban/UI/classifier.py (ClassTable.GetRowLabelValue): Don't
1296            translate empty strings.
1297    
1298            * Thuban/UI/application.py (ThubanApplication.read_startup_files):
1299            Add a missing space to a warning message
1300    
1301            * po/README: New. Notes about the management of the translation
1302            files.
1303    
1304            * po/Makefile: New. Makefile to help manage the translation files.
1305    
1306            * po/es.po: New. Spanish translation by Daniel Calvelo Aros
1307    
1308            * MANIFEST.in: Include the *.mo files in Resources/Locale and the
1309            translations and support files in po/
1310    
1311            * setup.py (data_files): Add the *.mo files to the data_files too
1312    
1313            * README: Add note about the translations when building from CVS
1314    
1315    2003-04-14  Jonathan Coles   <[email protected]>
1316    
1317            * Thuban/UI/dock.py: Fixes some window resizing problems most
1318            noticable under windows. Always assume the button bitmaps will
1319            be there. Code clean up.
1320            (DockabelWindow.Dock, DockableWindow.UnDock): Force all the
1321            images for the dock/undock button to the same images.
1322            Work around for RTbug #1801.
1323    
1324            * Thuban/UI/legend.py (LegendPanel.__init__): The toolbar should
1325            be allowed to grow within the sizer. Fixes a bug under Windows
1326            where the toolbar wasn't being drawn.
1327    
1328    2003-04-14  Frank Koormann   <[email protected]>
1329    
1330            * Resources/Bitmaps/dock_12.xpm, Resources/Bitmaps/undock_12.xpm:
1331            Updated design to try to make the button functionality more
1332            transparent.
1333    
1334    2003-04-14  Jonathan Coles   <[email protected]>
1335    
1336            * Thuban/UI/legend.py (LegendPanel.__init__): Call Create() to
1337            finalize the intialization of the panel.
1338    
1339            * Thuban/UI/dock.py (DockPanel.Create): New. Finalizes the
1340            creation of the panel. Should be the last thing called in the
1341            initializer of a subclass.
1342    
1343            * Thuban/UI/classgen.py (ClassGenDialog.__init__): Actively
1344            set the current selections in the combo boxes. This is needed
1345            under Windows.
1346    
1347            * Thuban/UI/classifier.py (Classifier.__init__): Add a top
1348            level panel to the dialog so that the background colors are
1349            consistent under Windows.
1350    
1351    2003-04-11  Jonathan Coles   <[email protected]>
1352    
1353            * Thuban/UI/classgen.py: Change color ramps to start at white
1354            not black.
1355    
1356            * Thuban/UI/legend.py: Enable/disable the legend buttons when
1357            the legend changes. Fixes RTbug #1793.
1358    
1359            * test/test_classification.py: Added test for copying of
1360            classifications.
1361    
1362    2003-04-11  Jonathan Coles   <[email protected]>
1363    
1364            * Thuban/UI/resource.py: New. Centralize the loading of resources
1365            such as bitmaps.
1366    
1367            * Thuban/UI/classgen.py (GenUniquePanel.__init__): Reordered buttons,
1368            added images to the move buttons, added 'reverse' button.
1369            (CustomRampPanel.__init__): Added images to the move buttons.
1370            (GreyRamp): New. Generates a ramp from white to black.
1371            (HotToColdRamp): New. Generates a ramp from cold to hot colors.
1372    
1373            * Thuban/UI/classifier.py: Refactored ID's from ID_CLASSIFY_* to
1374            ID_PROPERTY_*.
1375            (Classifier.__init__): Minor changes to the layout.
1376            (Classifier._OnTitleChanged): Listen for when the user edits the
1377            title and update the dialog's title and the layer's title.
1378    
1379            * Thuban/UI/dock.py: Use new bitmaps for the control buttons.
1380    
1381            * Thuban/UI/legend.py: Use new bitmaps for the control buttons.
1382            (LegendTree._OnMsgLayerTitleChanged): Change the displayed title
1383            if the layer's title changes.
1384    
1385            * Thuban/UI/mainwindow.py: Added new menu item and associated code
1386            to open a dialog to rename the map.
1387            (MainWindow): Use new resource class to import bitmaps.
1388    
1389    2003-04-11  Jonathan Coles   <[email protected]>
1390    
1391            * Resources/Bitmaps/close_12.xpm, Resources/Bitmaps/dock_12.xpm,
1392            Resources/Bitmaps/group_use.xpm, Resources/Bitmaps/group_use_all.xpm,
1393            Resources/Bitmaps/group_use_none.xpm,
1394            Resources/Bitmaps/group_use_not.xpm,
1395            Resources/Bitmaps/hide_layer.xpm,
1396            Resources/Bitmaps/layer_properties.xpm,
1397            Resources/Bitmaps/lower_layer.xpm, Resources/Bitmaps/raise_layer.xpm,
1398            Resources/Bitmaps/show_layer.xpm, Resources/Bitmaps/undock_12.xpm:
1399            New.
1400    
1401    2003-04-10  Jonathan Coles   <[email protected]>
1402    
1403            * Thuban/Model/classification.py: (ClassGroupRange.__init__):
1404            Should pass group to ClassGroup constructor.
1405    
1406    2003-04-10  Jonathan Coles   <[email protected]>
1407    
1408            * Thuban/Model/classification.py: (ClassGroup): Move all the common
1409            methods of the derived classes ([Set|Get]Properties(), __eq__, __ne__)
1410            here. Implement SetVisible(), IsVisible().
1411            (ClassGroup.__init__): Add group parameter which acts as a copy
1412            constructor.
1413    
1414            * Thuban/UI/classifier.py (ClassTable): Add a new column for the
1415            "Visible" check boxes.
1416            (Classifier): Rename the buttons and refactor the code to match
1417            the new labels.
1418    
1419            * Thuban/UI/legend.py: Classify button is now called "Properties".
1420            Refactored the code to change variable names.
1421            (LegendTree.__FillTreeLayer): Only list a group if it is visible.
1422    
1423            * Thuban/UI/mainwindow.py: MainWindow.OpenClassifier renamed to
1424            MainWindow.OpenLayerProperties. MainWindow.LayerEditProperties
1425            renamed to MainWindow.LayerEditProperties.
1426            (MainWindow.ToggleLegend): Don't include map name in legend title.
1427            (MainWindow.SetMap): Added the map name to the window title.
1428            (MainWindow.LayerFillColor, MainWindow.LayerTransparentFill,
1429            MainWindow.LayerOutlineColor, MainWindow.LayerNoOutline): Removed.
1430            Functionality is found in the layer properties dialog.
1431    
1432            * Thuban/UI/renderer.py (MapRenderer.draw_shape_layer): Only
1433            draw visible groups.
1434    
1435    2003-04-09  Jonathan Coles   <[email protected]>
1436    
1437            * Thuban/UI/classgen.py: Modifications to allow simple
1438            addition and selection of new color schemes.
1439            (MonochromaticRamp): New. Generates a ramp between two colors.
1440            (RedRamp): New. Generates a ramp of all red.
1441            (GreenRamp): New. Generates a ramp of all green.
1442            (BlueRamp): New. Generates a ramp of all blue.
1443    
1444    2003-04-09  Jonathan Coles   <[email protected]>
1445    
1446            * Thuban/Model/classification.py (Classification.__deepcopy__):
1447            Need to copy over field and fieldType attributes.
1448    
1449            * Thuban/Model/table.py (Table.field_range): New. Retrive the
1450            maximum and minimum values over the entire table for a given
1451            field.
1452            (Table.GetUniqueValues): New. Retrieve all the unique values
1453            in the table for a given field.
1454    
1455            * Thuban/UI/classgen.py: Renamed GenRangePanel to GenUniformPanel.
1456            (GenUniquePanel): New. Controls to allow the user to select
1457            which unique field values they would like in the classification.
1458            (CustomRampPanel): Code that was in ClassGenDialog that allows
1459            the user to select the properties for a custom ramp.
1460            (ClassGenerator.GenUniformDistribution): Was called GenerateRanges.
1461    
1462            * Thuban/UI/classifier.py: Removed a lot of debugging code.
1463            (Classifier._SetClassification): Callback method so that the
1464            class generator can set the classification in the grid.
1465            (ClassGroupPropertiesCtrl): New. Encapsulates the drawing and
1466            editing of a group properties class into a wxWindows control.
1467    
1468            * Thuban/UI/dock.py: It was decided that if the user closes
1469            a dockable window the window should simply hide itself. That
1470            way if the user wants to show the dock again it appears in the
1471            same place as it was when it was closed.
1472            (DockableWindow.Destroy): Call renamed method OnDockDestroy().
1473            (DockableWindow._OnButtonClose): Hide the window instead of
1474            destroying it.
1475            (DockableWindow._OnClose): Hide the window instead of
1476            destroying it.
1477    
1478            * Thuban/UI/legend.py (LegendTree): Use a private method to
1479            consistently set the font and style of the text. Fixes RTbug #1786.
1480    
1481            * Thuban/UI/mainwindow.py: Import just the Classifier class.
1482    
1483    2003-04-07  Bernhard Herzog  <[email protected]>
1484    
1485            * Thuban/UI/mainwindow.py (main_menu): Move the toggle_legend item
1486            to the map module
1487    
1488    2003-04-07  Bernhard Herzog  <[email protected]>
1489    
1490            * Thuban/UI/mainwindow.py (MainWindow.ShowSessionTree): Removed in
1491            favor of ToggleSessionTree
1492            (MainWindow.ToggleSessionTree): New method to toggle visibility of
1493            the session tree.
1494            (MainWindow.SessionTreeShown): New method to return whether the
1495            session tree is currently shown.
1496            (MainWindow.ToggleLegend): New method to toggle visibility of the
1497            legend
1498            (MainWindow.ShowLegend): Implement in terms of ToggleLegend and
1499            LegendShown
1500            (MainWindow.LegendShown): New method to return whether the legend
1501            is currently shown.
1502            (_method_command): Add checked parameter so we can define check
1503            menu items
1504            (_has_tree_window_shown, _has_legend_shown): Use the appropriate
1505            mainwindow methods.
1506            (show_session_tree, show_legend commands): Removed.
1507            (toggle_session_tree, toggle_legend commands): New commands to
1508            toggle the visibility of the dialogs
1509    
1510    2003-04-07  Jonathan Coles   <[email protected]>
1511    
1512            * Thuban/UI/classgen.py: Fix Windows problem.
1513    
1514            * Thuban/UI/dock.py: Fix Windows problem.
1515    
1516            * Thuban/UI/mainwindow.py: Use False instead of false.
1517            (MainWindow.ShowLegend): Remove unnecessary switch parameter.
1518    
1519    2003-04-07  Jonathan Coles   <[email protected]>
1520    
1521            Since we now say that the order of the groups in a classification
1522            matters, it makes sense to be able to manipulate that order. Most
1523            of the changes to Thuban/Model/classification.py are to that end.
1524    
1525            * Thuban/Model/classification.py (Classification.AppendGroup,
1526            Classification.InsertGroup, Classification.ReplaceGroup,
1527            Classification.RemoveGroup, Classification.GetGroup): Do as the
1528            names imply.
1529            (Classification.FindGroup): This was called GetGroup, but GetGroup
1530            takes an index, while FindGroup takes a value.
1531            (Classification.__deepcopy__): Copy all the groups, BUT NOT THE LAYER
1532            REFERENCE. Currently there is a cyclic reference between the layer
1533            and its classification. If the classification doesn't need to know
1534            its owning layer we can change this, since it may make sense to be
1535            able to use the same classification with different layers.
1536    
1537            * Thuban/Model/load.py: Use Classification.AppendGroup(), not AddGroup()
1538    
1539            * Thuban/UI/classgen.py: Use Classification.AppendGroup(),
1540            not AddGroup()
1541    
1542            * Thuban/UI/classifier.py: Now that we can depend on the order in
1543            a Classification and have methods to manipulate that order we don't
1544            need to use our own data structures in the grid. We can simply make
1545            the grid/table access the information they need from a copy of
1546            the classification object.
1547            (Classifier._OnCloseBtn): Event handler for when the user clicks
1548            'Close'. This is needed so if the user applies changes and then
1549            continues to change the table the user has the option of discarding
1550            the most recent changes and keeping what they applied.
1551    
1552            * Thuban/UI/mainwindow.py: Put "Show Legend" and "Show Session Tree"
1553            into the same group.
1554    
1555            * extensions/thuban/wxproj.cpp (check_version): If Thuban is compiled
1556            with a really old version of proj, PJ_VERSION won't even be defined.
1557            If it isn't defined then just compile so that the function always
1558            returns Py_False.
1559    
1560            * test/test_classification.py: Fix tests to use the renamed methods.
1561            Still need to write tests for the new methods.
1562    
1563    2003-04-04  Jonathan Coles   <[email protected]>
1564    
1565            * Thuban/UI/classifier.py (Classifier.__SelectField): Move the
1566            call to SetSelection out of the method and before the call
1567            to __SelectField in __init__. This prevents a recursion of events
1568            when _OnFieldSelect is triggered by the user.
1569    
1570    2003-04-04  Jonathan Coles   <[email protected]>
1571    
1572            * Thuban/Model/classification.py: Rename Color.None to
1573            Color.Transparent.
1574            (ClassGroupProperties.SetLineColori, ClassGroupProperties.SetFill):
1575            Don't bother copying the color, since Colors are immutable.
1576    
1577            * Thuban/Model/color.py, Thuban/Model/layer.py, Thuban/Model/load.py,
1578            Thuban/UI/classifier.py, Thuban/UI/mainwindow.py,
1579            Thuban/UI/renderer.py, Thuban/UI/view.py:
1580            Rename Color.None to Color.Transparent.
1581        
1582            * test/test_classification.py, test/test_load.py: Rename Color.None
1583            to Color.Transparent.
1584    
1585    2003-04-04  Jonathan Coles   <[email protected]>
1586    
1587            * Thuban/Model/classification.py: Fix assert calls.
1588            (ClassGroupProperties.SetLineColor, ClassGroupProperties.SetFill):
1589            Copy the color parameter rather than hold onto a reference.
1590    
1591            * Thuban/Model/color.py (Color.__copy__, Color.__deepcopy): Copy
1592            the color object.
1593            (NoColor.__copy__, NoColor.__deepcopy): Return 'self' so that we
1594            are sure there exists only one refernce to Color.None in the system.
1595            This allows us to use 'is' rather than the comparision functions.
1596            
1597            * Thuban/Model/save.py: Fix assert calls.
1598            
1599            * Thuban/UI/classifier.py: Fix assert calls.
1600            (ClassGrid._OnCellDClick): Call up to the classifier to open the
1601            dialog to edit the groups properties.
1602            (ClassGrid._OnCellResize): Make sure that the scollbars are drawn
1603            correctly if a cell is resized.
1604            (ClassTable.SetClassification): New. Changes the classification
1605            that is in the table.
1606            (ClassTable.__SetRow): Allow groups to be prepended.
1607            (Classifier): New code for opening the EditProperties and
1608            GenerateRanges dialogs.
1609            (SelectPropertiesDialog.__GetColor): Only set the color in the
1610            color dialog if the current color is not None.
1611            
1612            * Thuban/UI/dock.py: Fix assert calls.
1613            
1614            * Thuban/UI/legend.py: Fix assert calls.
1615            
1616            * Thuban/UI/renderer.py: Fix assert calls.
1617            
1618            * Thuban/UI/classgen.py (ClassGenDialog): Dialog for generating
1619            classifications.
1620            (GenRangePanel): Panel specific to range generation.
1621            (GenSingletonPanel): Panel specific to singleton generation.
1622            (ClassGenerator): Class responsible for actually generating
1623            the classification from the data gathered in the dialog box.
1624            (PropertyRamp): Generates properties whose values range from
1625            a starting property to an ending property.
1626    
1627    2003-04-03  Bernhard Herzog  <[email protected]>
1628    
1629            * test/support.py (print_garbage_information): New function that
1630            prints information about still connected messages and memory
1631            leaks.
1632            (run_suite): Removed.
1633            (run_tests): New function for use as a replacement of
1634            unittest.main in the test_* files. This one calls
1635            print_garbage_information at the end.
1636    
1637            * test/runtests.py (main): Use support.print_garbage_information
1638    
1639            * test/test_layer.py: Use support.run_tests instead of
1640            unittest.main so we get memory leak information
1641            (TestLayer.test_arc_layer, TestLayer.test_polygon_layer)
1642            (TestLayer.test_point_layer, TestLayer.test_empty_layer)
1643            (TestLayerLegend.test_visibility): Call the layer's Destroy method
1644            to fix a memory leak.
1645    
1646            * test/test_classification.py: Use support.run_tests instead of
1647            unittest.main so we get memory leak information
1648            (TestClassification.test_classification): Call the layer's Destroy
1649            method to fix a memory leak.
1650    
1651    2003-04-02  Bernhard Herzog  <[email protected]>
1652    
1653            * extensions/thuban/wxproj.cpp (check_version, check_version_gtk):
1654            Handle the reference counts of the return value and errors in
1655            PyArg_ParseTuple correctly.
1656    
1657            * Thuban/UI/application.py (ThubanApplication.OpenSession): Make
1658            sure the filename is absolute to avoid problems when saving the
1659            session again
1660    
1661            * Thuban/Model/table.py: Remove unnecessary import. Fix a typo.
1662    
1663    2003-04-01  Jonathan Coles   <[email protected]>
1664    
1665            *  Thuban/UI/renderer.py (MapRenderer.draw_point_shape): Check
1666            that there actually are points in the returned list of points
1667            before trying to index into the list. The list may be empty if
1668            the shape is a Null Shape.
1669    
1670    2003-04-01  Bernhard Herzog  <[email protected]>
1671    
1672            * test/test_map.py: Don't use from <module> import *
1673    
1674  2003-04-01  Jonathan Coles   <[email protected]>  2003-04-01  Jonathan Coles   <[email protected]>
1675    
1676          * Thuban/Model/session.py: Use LAYER_CHANGED instead of          * Thuban/Model/session.py: Use LAYER_CHANGED instead of

Legend:
Removed from v.581  
changed lines
  Added in v.949

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26