/[thuban]/branches/WIP-pyshapelib-bramz/ChangeLog
ViewVC logotype

Diff of /branches/WIP-pyshapelib-bramz/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1201 by jonathan, Fri Jun 13 15:05:01 2003 UTC revision 1453 by bh, Fri Jul 18 12:58:11 2003 UTC
# Line 1  Line 1 
1    2003-07-18  Bernhard Herzog  <[email protected]>
2    
3            * Thuban/Model/layer.py (Layer.__init__): Rename
4            classificationField to classificatin_column and init it here so
5            that it can be used in SetClassificationColumn
6            (Layer.GetClassificationColumn, Layer.GetClassificationField):
7            Rename to GetClassificationColumn.
8            (Layer.SetClassificationColumn, Layer.SetClassificationField):
9            Rename to SetClassificationColumn and issue a LAYER_CHANGED
10            message if the column changes.
11            (Layer._classification_changed, Layer.ClassChanged): Rename to
12            _classification_changed. Update the callers.
13            (Layer.SetShapeStore): Further field->column renames.
14    
15            * Thuban/Model/load.py (SessionLoader.start_classification)
16            (SessionLoader.start_clpoint): Updates because of
17            field->column method name changes in the Layer class
18    
19            * Thuban/Model/save.py (SessionSaver.write_classification): Updates
20            because of field->column method name changes in the Layer class
21    
22            * Thuban/UI/classifier.py (Classifier.__init__)
23            (Classifier._OnTry, Classifier._OnRevert): Updates because of
24            field->column method name changes in the Layer class
25    
26            * Thuban/UI/renderer.py (MapRenderer.draw_shape_layer): Updates
27            because of field->column method name changes in the Layer class
28    
29            * Thuban/UI/viewport.py (ViewPort.find_shape_at): Updates because
30            of field->column method name changes in the Layer class
31    
32            * test/test_save.py (SaveSessionTest.testClassifiedLayer)
33            (SaveSessionTest.testClassifiedLayer): Update because of
34            field->column method name changes in the Layer class
35    
36            * test/test_layer.py (SetShapeStoreTests.setUp)
37            (SetShapeStoreTests.test_sanity): Update because of field->column
38            method name changes in the Layer class
39            (TestLayerModification.setUp): Subscribe to LAYER_CHANGED as well
40            (TestLayerModification.test_sanity)
41            (TestLayerModification.test_initial_settings): remove unsued code
42            and rename to test_sanity.
43            (TestLayerModification.test_set_classification): New test for
44            SetClassification and SetClassificationField.
45    
46    2003-07-18  Bernhard Herzog  <[email protected]>
47    
48            * test/test_classgen.py (TestFixedRamp.test): Extend test to check
49            the non-fixed values as well. The old test would have accepted a
50            fixed ramp that only returnes the fixed properties
51    
52    2003-07-17  Jonathan Coles   <[email protected]>
53    
54            * Doc/manual/mainwindow.png, Doc/manual/mainwindow.xcf: Screen
55            shots for the manual. The XCF file is the source image and
56            has additional layers to support changes.
57    
58            * Doc/manual/thuban-manual.xml: Wrote an initial Introduction.
59    
60            * Thuban/UI/classifier.py (Classifier.__BuildClassification):
61            Return both the new class and the field name.
62    
63            * Thuban/UI/mainwindow.py (MainWindow.ToggleLegend): Don't
64            fit the map to the window as this changes any zoom level that
65            the user may have set.
66    
67    2003-07-16  Jonathan Coles   <[email protected]>
68    
69            * Thuban/Model/classgen.py (generate_singletons,
70            generate_uniform_distribution, generate_quantiles): Remove
71            fixes parameter, but maintain the same functionality by having
72            the calling function pass a FixedRamp object for the ramp.
73            (FixedRamp): New. Adapts a ramp to have fixed property values.
74    
75            * Thuban/Model/classification.py: Use new CLASS_CHANGED message.
76            (Classification): Inherit from Publisher.
77            (Classification.__init__): Remove the layer parameter.
78            Classifications no longer need to have a parent layer.
79            (Classification.GetField, Classification.GetFieldType,
80            Classification.SetFieldInfo): Removed. The field name is stored
81            in the layer, and the type can be retreived by calling
82            Layer.GetFieldType().
83            (Classification._set_layer, Classification.GetLayer): Removed.
84            Classifications no longer have a parent layer.
85    
86            * Thuban/Model/layer.py (Layer.Destroy): Unsubscribe from the
87            classification.
88            (Layer.SetShapeStore): Reset the classification first while
89            we still have the old shape store to work with.
90            (Layer.GetClassificationField, Layer.SetClassificationField):
91            New. Method for getting/setting the field to classify on.
92            (Layer.SetClassification): Simplified now that the layer
93            simply has to hold a reference to the classification and not
94            tell the classification who owns it.
95            Fixes RTbug #2023.
96    
97            * Thuban/Model/load.py (SessionLoader.start_classification):
98            Set the field name on the layer, not the classification.
99    
100            * Thuban/Model/messages.py: Add CLASS_CHANGED for when a
101            classification is modified.
102    
103            * Thuban/Model/save.py (SessionSaver.write_classification):
104            Get the field name and type from the layer.
105    
106            * Thuban/Model/table.py (table_to_dbf, table_to_csv): Renamed
107            parameter records to rows and add docstring. Fixes RTbug #1997.
108    
109            * Thuban/UI/classgen.py (ClassGenDialog.OnOK): Use a fixed
110            ramp when we need to fix certain values of a ramp rather than
111            using the old fixes parameter. Fixes RTbug #2024.
112    
113            * Thuban/UI/classifier.py (ClassGrid.CreateTable): Add fieldType
114            parameter.
115            (ClassTable.Reset): Add fieldType parameter and use it, rather
116            than asking the classification.
117            (Classifier.__init__): Remember the original class's field
118            and ask the layer for the field type, rather than the classification.
119            (Classifier.__SetGridTable): Retrieve the field and field type
120            for the table because they are not in the classification.
121            (Classifier._OnTry, Classifier._OnRevert): Set the classification
122            field on the layer in addition to the classification itself.
123    
124            * Thuban/UI/renderer.py (MapRenderer.draw_shape_layer): Get the
125            classification field from layer.
126    
127            * Thuban/UI/viewport.py (ViewPort.find_shape_at): Get the
128            classification field from layer. Split up tests and remove
129            *-imports. Fixes RTbug #1992.
130    
131            * test/test_classgen.py (TestFixedRamp): Test for the FixedRamp class.
132    
133            * test/test_classification.py
134            (TestClassification.test_classification): Remove tests for methods
135            that no longer exist.
136    
137            * test/test_layer.py (SetShapeStoreTests.setUp): Classification
138            __init__ no longer has a field parameter, use SetClassificationField.
139            (SetShapeStoreTests.test_sanity): Use layer object to get class
140            field info.
141    
142            * test/test_save.py (SaveSessionTest.testClassifiedLayer): Use
143            SetClassificationField on layer to set class field info.
144    
145            * test/test_viewport.py: Renamed from test/test_view.py.
146    
147    2003-07-16  Jan-Oliver Wagner <[email protected]>
148    
149            * Doc/manual/thuban-manual.xml: Added authors and an initial
150            coarse structure.
151    
152    2003-07-15  Bernhard Herzog  <[email protected]>
153    
154            * test/support.py (FloatComparisonMixin): This is a mix-in class
155            and therefore should not be derived from any other class.
156    
157            * test/test_range.py (RangeTest): FloatComparisonMixin is a
158            mix-in, so derive from TestCase as well.
159    
160    2003-07-15  Bernhard Herzog  <[email protected]>
161    
162            * Thuban/UI/renderer.py (MapRenderer.draw_shape_layer): Rework the
163            draw_func handling a bit to remove one layer of indirection. This
164            makes the renderer about 10% faster in the non-classifying case
165            and the code a bit cleaner
166            (MapRenderer.draw_point_shape): Add the pen and brush parameters
167            and set them in the dc. Now the draw_point_shape method and
168            wxproj's draw_polygon_shape function have basically the same
169            signature so that both can be directly used as draw_func
170    
171    2003-07-15  Bernhard Herzog  <[email protected]>
172    
173            * Thuban/Model/save.py (SessionSaver.write_classification): Encode
174            string values (in addition to the labels) as UTF 8
175    
176            * Thuban/Model/load.py (SessionLoader.start_clpoint): Decode the
177            values if the field type is string
178    
179            * test/test_save.py (SaveSessionTest.testClassifiedLayer): Test
180            saving a session with non-ascii string classification values.
181    
182            * test/test_load.py (TestClassification.file_contents)
183            (TestClassification.test): Check for non-ascii values in string
184            classifications
185    
186    2003-07-14  Jonathan Coles   <[email protected]>
187    
188            * test/test_view.py: New. Tests for ViewPort.
189    
190    2003-07-14  Frank Koormann   <[email protected]>
191    
192            * Thuban/Model/load.py (SessionLoader.start_map): Encode map
193            title to latin1.  Fixes https://intevation.de/rt/webrt?serial_num=2013
194    
195            * test/test_load_0_8.py (TestUnicodeStrings): New, test load of
196            unicode strings from session file: session title, map title and
197            projection name.
198            
199    2003-07-10  Jonathan Coles   <[email protected]>
200    
201            * Thuban/UI/viewport.py (Tool.MouseUp): Should have called
202            drag_stop, not drag_move when the mouse is released.
203    
204    2003-07-10  Jonathan Coles   <[email protected]>
205    
206            The most important part of this is the seperation of view.py into
207            two pieces. viewport.py now has a class called ViewPort which
208            contains all the non-wx parts of view.py and can therefore be
209            tested. view.py contains only the wx-specific parts and is fairly
210            simple.
211    
212            * Thuban/UI/view.py: Stripped out all non-wx functionality. Fixes
213            RTTbug #1992.
214            * Thuban/UI/viewport.py: New. Contains non-wx view functionality.
215            RTTbug #1992.
216    
217            * Thuban/Model/classgen.py (generate_singletons,
218            generate_uniform_distribution, generate_quantiles):
219            Added 'fixes' parameter so that property attributes can
220            be held constant over the generated classification groups.
221            (CustomRamp.GetProperties): Remove unused variables.
222    
223            * Thuban/Model/map.py (Map.SetProjection): Send the old
224            projection as an argument to listeners of the MAP_PROJECTION_CHANGED
225            event.
226    
227            * Thuban/Model/table.py (table_to_dbf, table_to_csv): Added 'records'
228            parameter which is a list of records that restricts which
229            records are saved. Fixes RTbug #1997.
230    
231            * Thuban/UI/application.py (ThubanApplication.ShowExceptionDialog):
232            Port exception dialog from GREAT-ER. Fixes RTbug #1993.
233    
234            * Thuban/UI/classgen.py (ClassGenDialog.__init__): Add controls
235            to allow the user to fix line color/width on generated groups.
236            (ClassGenDialog.OnOK): Use new 'fixes' parameter of the generate_*
237            functions to optionally fix group properties.
238    
239            * Thuban/UI/main.py (main): Set exception hook to the
240            ShowExceptionDialog. Fixes RTbug #1993.
241    
242            * Thuban/UI/mainwindow.py (MainWindow.ShowTableView): Raise
243            the table window when it is selectd to be shown.
244    
245            * Thuban/UI/tableview.py (QueryTableFrame.__init__): Add an
246            Export Selection button and move the export buttons underneath
247            the table.
248            (QueryTableFrame.UpdateStatusText): Added event argument so
249            that it can respond to grid selection events. The status text
250            is now updated even when the table is not associated with a
251            layer as was previously assumed.
252            (QueryTableFrame.OnGridSelectRange, OnGridSelectCell): Removed.
253            UpdateStatusText responds to these events.
254            (QueryTableFrame.OnSaveAs): Renamed to doExport.
255            (QueryTableFrame.doExport): Helper function that saves the
256            entire table, or selected rows, to a file.
257            (QueryTableFrame.OnExport, QueryTableFrame.OnExportSel): New.
258            Respond to export button events and call doExport.
259    
260            * extensions/thuban/gdalwarp.cpp (ProjectRasterFile): Make sure
261            the function doesn't return NULL without first setting a Python
262            Error.
263    
264            * test/runtests.py (main): Only print "Unknown option" for
265            unsupported options.
266    
267            * test/support.py (FloatComparisonMixin.assertFloatEqual): Take
268            optional epsilon argument to specify floating point accuracy.
269            (FloatComparisonMixin.assertFloatSeqEqual): Call assertFloatEqual
270            for each item test.
271    
272            * test/test_csv_table.py (TestCSVTable.test_table_to_cvs): Add
273            tests for saving selected records.
274    
275            * test/test_dbf_table.py (TestTableToDBF.test_table_to_dbf): Add
276            tests for saving selected records.
277    
278            * test/test_map.py (TestMapWithContents.test_set_projection):
279            MAP_PROJECTION_CHANGED events send the old projection.
280    
281            * test/test_session.py
282            (TestSessionWithContent.test_forward_map_projection):
283            MAP_PROJECTION_CHANGED events send the old projection.
284    
285            * test/test_table.py (TableTest): Update tests to use non-deprecated
286            functions.
287    
288    2003-07-08  Bernhard Herzog  <[email protected]>
289    
290            * Thuban/Model/transientdb.py (TransientTableBase.Width): The type
291            constants in the column objects are the standard ones defined in
292            the table module.
293    
294            * test/test_transientdb.py
295            (TestTransientTable.test_transienttable_to_dbf): New. Test whether
296            exporting transient tables as DBF works. This should catch the bug
297            just fixed in TransientTableBase.Width.
298    
299    2003-07-08  Bernhard Herzog  <[email protected]>
300    
301            * Thuban/Model/classgen.py (CustomRamp.GetProperties): Compute the
302            interpolated colors correctly.
303    
304            * test/test_classgen.py (TestCustomRamp.test_color_interpolation):
305            New. Test case for the fix in classgen.py
306    
307    2003-07-08  Bernhard Herzog  <[email protected]>
308    
309            * test/runtests.py (main): Make the default output less verbose
310            and add a verbosity option (-v) to get the old output
311    
312    2003-07-08  Bernhard Herzog  <[email protected]>
313    
314            * Resources/XML/thuban-0.9.dtd: New. This will become the DTD for
315            0.9.
316    
317            * Thuban/Model/transientdb.py (TransientJoinedTable.JoinType):
318            New. Return the join type
319    
320            * Thuban/Model/save.py (SessionSaver.write_session): Use new 0.9
321            DTD
322            (SessionSaver.write_data_containers): Save the join type for
323            joined tables
324    
325            * Thuban/Model/load.py (SessionLoader.__init__): Add the new 0.9
326            namespace
327            (SessionLoader.start_jointable): Handle the jointype attribute
328    
329            * test/test_load_0_8.py: New. Effectively a copy of test_load.py
330            as of Thuban 0.8. These are now tests to determine whether Thuban
331            can still read files generated by Thuban 0.8
332    
333            * test/test_load.py (LoadSessionTest.dtd)
334            (TestSingleLayer.file_contents)
335            (TestLayerVisibility.file_contents, TestLabels.file_contents)
336            (TestLayerProjection.file_contents)
337            (TestRasterLayer.file_contents, TestJoinedTable.file_contents)
338            (TestJoinedTable.file_contents)
339            (TestLoadError.file_contents): Update for new DTD
340            (TestJoinedTable.file_contents, TestJoinedTable.setUp): Add test
341            for new join type attribute
342    
343            * test/test_save.py (SaveSessionTest.dtd)
344            (SaveSessionTest.testEmptySession)
345            (SaveSessionTest.testSingleLayer)
346            (SaveSessionTest.testLayerProjection)
347            (SaveSessionTest.testRasterLayer)
348            (SaveSessionTest.testClassifiedLayer)
349            (SaveSessionTest.test_dbf_table)
350            (SaveSessionTest.test_joined_table): Update for new DTD
351            (SaveSessionTest.test_joined_table): Add test for new join type
352            attribute
353    
354    2003-07-04  Bernhard Herzog  <[email protected]>
355    
356            * Thuban/Model/table.py (_find_dbf_column_names): New. Helper
357            function for table_to_dbf
358            (table_to_dbf): Deal with names longer than the 10 character limit
359    
360            * test/test_dbf_table.py (TestTableToDBF.test_table_to_dbf): Add
361            doc-string
362            (TestTableToDBF.test_table_to_dbf_long_col_names): New test for
363            long column names
364    
365    2003-07-03  Bernhard Herzog  <[email protected]>
366    
367            * Doc/manual/thuban-manual.xml: Fix the CVS Revision Tag syntax
368    
369    2003-07-03  Bernhard Herzog  <[email protected]>
370    
371            * Doc/manual/thuban-manual.xml, Doc/manual/README: New. Skeleton
372            for the Thuban manual and README with some basic information about
373            the manual
374    
375    2003-07-03  Bernhard Herzog  <[email protected]>
376    
377            * Thuban/Model/transientdb.py (TransientJoinedTable.__init__):
378            Update doc-string
379            (TransientJoinedTable.create): Do not modify the column objects of
380            the input tables in place and copy all columns of the input tables
381            into the joined table after all.
382    
383            * test/test_transientdb.py
384            (TestTransientTable.test_transient_joined_table_same_column_name):
385            Update to reflect the new behavior
386            (TestTransientTable.test_transient_joined_table_with_equal_column_names):
387            Update to reflect the new behavior
388            (TestTransientTable.test_transient_joined_table_name_collisions_dont_modify_in_place):
389            New test case for a bug which modified the column objects in place
390    
391    2003-07-02  Jonathan Coles   <[email protected]>
392    
393            * Thuban/Model/classgen.py (generate_singletons,
394            generate_uniform_distribution, generate_quantiles,
395            GenQuantiles0): Make sure maxValue isn't less than
396            one, otherwise we could divide by zero.
397    
398            * test/test_classgen.py (ClassGenTest.doClassRangeTest,
399            ClassGenTest.doClassSingleTest): Call doBoundsTest to
400            check the end classification groups against the
401            proper property values.
402            (ClassGenTest.doBoundsTest): New. Checks the first and
403            last classification groups to make sure their properties
404            are the correct upper and lower bounds for a color ramp.
405    
406    2003-07-02  Jonathan Coles   <[email protected]>
407    
408            * Thuban/Model/classgen.py (generate_singletons,
409            generate_uniform_distribution, generate_quantiles,
410            GenQuantiles0): The denominator was one to high when
411            calculating the index for the ramp causing the index
412            to never to reach one.
413    
414    2003-07-02  Jonathan Coles   <[email protected]>
415    
416            Changed the singature of ClassGroupRange.__init__ and
417            ClassGroupRange.SetRange() so that the min/max values are
418            passed as a tuple. This makes a better calling scheme for
419            when a Range object is passed instead.
420    
421            * Thuban/Model/classgen.py: Fixed parameters to
422            ClassGroupRange constructor.
423    
424            * Thuban/Model/classification.py (ClassGroupRange.__init__):
425            Consolidate the min/max parameters into a single _range which
426            can either be a tuple or a Range object.
427            (ClassGroupRange.SetRange): Consolidate the min/max parameters
428            into a single _range which can either be a tuple or a Range object.
429    
430            * Thuban/Model/load.py (SessionLoader.start_clrange): Fix
431            call to ClassGroupRange constructor to use a tuple.
432    
433            * Thuban/Model/layer.py (Layer.SetClassification): Switch
434            the classification instance variable to the new class
435            before calling _set_layer otherwise subscribers to a
436            LAYER_CHANGED event will not see any difference.
437    
438            * test/test_classification.py: Fix tests of ClassGroupRange
439            so that they use the new signature.
440    
441            * test/test_load.py: Fix use of ClassGroupRange so that it
442            uses the new signature.
443    
444            * test/test_load_0_2.py: Fix use of ClassGroupRange so that it
445            uses the new signature.
446    
447            * test/test_save.py: Fix use of ClassGroupRange so that it
448            uses the new signature.
449    
450    
451    2003-07-01  Jonathan Coles   <[email protected]>
452    
453            * Thuban/Model/classgen.py: Fixes RTbug #1972, 1971.
454            Import used objects/class from color.
455            (generate_singletons): We don't
456            need the numGroups parameter anymore because we are using
457            the new ramps with GetProperties().
458            (generate_uniform_distribution): Use new ramp method
459            GetProperties().
460            (generate_quantiles, GenQuantiles0): Use new ramp method
461            GetProperties().
462            (CustomRamp.SetNumGroups): Removed. The ramps now map
463            a value from 0 to 1 to class properties so the number
464            of groups is not needed ahead of time.
465            (CustomRamp.next): Removed. CustomRamp does not support
466            interation anymore.
467            (CustomRamp.GetProperties): Returns a ClassGroupProperties
468            object based on the index value from 0 to 1 that is
469            passed to it.
470            (GreyRamp, RedRamp, GreenRamp, BlueRamp, GreenToRedRamp):
471            Made into instances of Monochromatic class instread of
472            deriving from it.
473            (HotToCold.SetNumGroups): Removed. See CustomRamp.
474            (HotToCold.next): Removed. See CustomRamp.
475    
476            * Thuban/Model/classification.py: Fixes RTbug #1973, 1971.
477            (Classification.SetField, Classification.SetFieldType):
478            Replaced with SetFieldInfo.
479            (Classification.SetFieldInfo): New. Does a better job of
480            what SetField and SetFieldType used to do by combining
481            their function since they should really always be done
482            at the same time.
483            (Classification.SetLayer): Renamed to _set_layer.
484            (Classification._set_layer): Should only be called from
485            Layer's SetClassification. This does not cause a recursive
486            call as SetLayer did because we know that Layer knows about
487            the classification.
488    
489            * Thuban/Model/color.py: Fixes RTbug #1971.
490            (_Transparent): Renamed from Transparent so it doesn't
491            conflict with the module variable.
492            (Transparent, Black): Renamed from Color.Transparent,
493            Color.Black so they are not class variables.
494    
495            * Thuban/Model/layer.py: Fixes RTbug #1971, 1973.
496            (Layer.Destroy): We don't need to call SetClassification
497            anymore to clear out the back reference in the classifcation
498            to the layer. It's better to set it to None using _set_layer,
499            and we won't be creating another clas object too.
500            (Layer.SetClassification): Classification._set_layer is not
501            recursive so remove all the locking variables. Also clean
502            up the code so that it remains unchanged if something fails.
503    
504            * Thuban/Model/load.py: Fixes RTbug #1971.
505            (SessionLoader.start_classification): Call
506            Classification.SetFieldInfo().
507    
508            * Thuban/Model/save.py: Removed import of Color which wasn't
509            being used.
510    
511            * Thuban/UI/classgen.py: Fixes RTbug #1972.
512            (ClassGenDialog.__init__): Color ramps are now instances
513            already so we don't need to create any new objects.
514            (ClassGenDialog.OnOK): Check for numGroups is no longer
515            necessary because we never use it.
516    
517            * Thuban/UI/classifier.py: Fixes RTbug #1971.
518            (Classifier.__BuildClassification, Classifier.__SetGridTable):
519            Call Classification.SetFieldInfo() instead of SetFieldType.
520    
521            * Thuban/UI/renderer.py: Fixes RTbug #1971.
522    
523            * Thuban/UI/view.py: Fixes RTbug #1974, 1971.
524            (MapCanvas.__init__): Subscribe to the idle time event. Set
525            background color to white.
526            (MapCanvas.OnPaint): Set a flag indicating that we should
527            render the map during idle time. If we already have a bitmap
528            just draw it now.
529            (MapCanvas.OnIdle): New. Render the map only during idle time.
530            This also fixes a problem with the busy cursor under gtk.
531    
532            * test/test_classgen.py (ClassGenTest.test_generate_singletons):
533            Fix calls to generate_singletons because the signature changed.
534    
535            * test/test_classification.py: Fix color references and
536            change calls to Classification.[SetField|SetFieldType] to
537            SetFieldInfo.
538    
539            * test/test_load.py: Fix color references.
540    
541            * test/test_load_0_2.py: Fix color references.
542    
543            * test/test_save.py (SaveSessionTest.testClassifiedLayer):
544            Change calls to Classification.[SetField|SetFieldType] to
545            SetFieldInfo.
546    
547    2003-07-01  Frank Koormann   <[email protected]>
548    
549            MERGE from the greater-ms3 branch.
550    
551            * test/test_transientdb.py
552            (TestTransientTable.test_transient_joined_table_with_equal_column_names):
553            New. Test join of two tables with partly equal column names.
554    
555            * Thuban/Model/transientdb.py (TransientJoinedTable.create):
556            If duplicates in left and right tables column names are found,
557            append '_' (underscores) to the name until it is unique.
558            Create always new internal names for the resulting table and reference
559            columns in the join statement with <table>.<column>
560    
561    2003-07-01  Bernhard Herzog  <[email protected]>
562    
563            * test/test_transientdb.py
564            (TestTransientTable.test_transient_joined_table_same_column_name):
565            New. Test whether joining on columns with the same names in both
566            tables works.
567            
568            * Thuban/Model/transientdb.py (TransientJoinedTable.create): Make
569            sure to use the right internal names even when joining on field
570            with the same names in both tables. Also, detect duplicate names
571            in the joined table correctly.
572    
573    2003-07-01  Frank Koormann   <[email protected]>
574    
575            * Thuban/UI/renderer.py (ExportRenderer.render_legend):
576            Reverse List of layers to render in same order as in desktop legend.
577    
578    2003-06-30  Jonathan Coles   <[email protected]>
579    
580            * Thuban/version.py (make_tuple): Takes a version string
581            and splits it into a tuple of at most three integers.
582            Used make_tuple() to make tuple versions of the version
583            numbers.
584    
585            * Thuban/UI/about.py: Add Thuban email addresses.
586    
587    2003-06-30  Jonathan Coles   <[email protected]>
588    
589            * Thuban/version.py: SQLite/PySQLite version dependencies
590            were too high.
591    
592    2003-06-30  Jonathan Coles   <[email protected]>
593    
594            * Thuban/version.py: Update version to 0.8.1
595            
596            * MANIFEST.in: Added Projections so that default.proj is
597            included.
598    
599    2003-06-26  Jonathan Coles   <[email protected]>
600    
601            New About box with lots more information including library
602            versions and credits. More/better version checking before
603            Thuban starts.
604    
605            * Thuban/UI/about.py: New. New About box that displays
606            library version information and credits.
607    
608            * Thuban/version.py: Added new 'versions' dictionary which
609            contains the verions of various libraries which are checked
610            when the module loads.
611            (verify_versions): Check all version numbers and returns
612            a list of errors.
613    
614            * Thuban/UI/classifier.py (Classifier.__EnableButtons):
615            Reset the status of the buttons as the situation warrants,
616            but in a better more reliable way by not relying on the
617            current status to determine what needs to change.
618    
619            * Thuban/UI/main.py (wxCHECK_VERSION): Removed. Not needed.
620            (verify_versions): Remove most of the code since it is
621            now in Thuban.version.verify_versions.o
622    
623            * Thuban/UI/mainwindow.py (MainWindow.About): Call new
624            About box in Thuban.UI.about.
625    
626            * extensions/thuban/gdalwarp.cpp (get_gdal_version): New.
627            Returns the version of gdal library being used as a string.
628    
629            * extensions/thuban/wxproj.cpp (check_version, check_version_gtk):
630            Removed.
631            (get_proj_version): Return the version of PROJ that the file
632            was compiled with.
633            (get_gtk_version): Return th version of GTK that the file
634            was compiled with.
635    
636    2003-06-25  Jonathan Coles   <[email protected]>
637    
638            * Thuban/UI/classifier.py (Classifier.EditSymbol): The parent
639            of the SelectPropertiesDialog should be self so the window
640            appears on top.
641            (ClassGroupPropertiesCtrl.DoEdit): The parent
642            of the SelectPropertiesDialog should be self so the window
643            appears on top.
644    
645            * Thuban/UI/resource.py: Cleaned up how we determine file
646            extensions.
647            (GetImageResource): Return an wxImage from our Resources.
648    
649    2003-06-24  Jonathan Coles   <[email protected]>
650    
651            * Thuban/UI/renderer.py (ExportRenderer.render_legend):
652            Check that a layer has a classification before trying
653            to get it. Raster layers don't have classifications.
654    
655    2003-06-23  Jonathan Coles   <[email protected]>
656            
657            * setup.py: Add Resources/XML to resource list.
658        
659    2003-06-23  Jonathan Coles   <[email protected]>
660    
661            * setup.cfg: Fix copyright dates
662        
663    2003-06-23  Jonathan Coles   <[email protected]>
664    
665            * MANIFEST.in: Update with Resources/XML
666    
667            * setup.py: Don't include Locale resources yet as we don't
668            have any and it causes problems building the distribution
669            for Windows. Update version to 0.8.0.
670    
671            * Doc/thuban.dtd: Removed since it is now in Resources/XML.
672    
673            * Thuban/UI/mainwindow.py: Add blank line at the end because
674            file was not being read correctly building the Windows
675            distribution.
676    
677    2003-06-23  Jonathan Coles   <[email protected]>
678    
679            * Thuban/UI/mainwindow.py (MainWindow.About): Fix text.
680    
681            * Thuban/version.py: Temporarily update longversion for
682            the 0.8 release so that it doesn't have the cvs revision.
683    
684    2003-06-23  Jonathan Coles   <[email protected]>
685    
686            * Thuban/UI/common.py (ThubanBeginBusyCursor): Call wxSafeYield
687            to make sure that we don't create reentrant possibilities with
688            wxYield.
689    
690            * Thuban/UI/view.py (MapCanvas.OnPaint): Call wxBeginBusyCursor()
691            directly to avoid the wxSafeYield() call which generates an
692            OnPaint event causing infinite recursion. Don't try to catch
693            exception anymore. This was for before there were limits on map
694            scaling.
695    
696    2003-06-23  Bernhard Herzog  <[email protected]>
697    
698            Bug fix for RT #1961:
699    
700            * Thuban/Model/load.py (SessionLoader.start_derivedshapesource):
701            Register DerivedShapestores with the session
702    
703            * Thuban/Model/session.py (Session.Tables): Make sure each table
704            is only listed once.
705    
706            * test/test_load.py (TestJoinedTable.test): Add check_format call.
707            Update file contents to match the one written out.
708    
709    2003-06-20  Bernhard Herzog  <[email protected]>
710    
711            * test/xmlsupport.py (SaxEventLister.startElementNS)
712            (SaxEventLister.endElementNS): Do not include the qname. Python
713            2.2.1 and 2.2.2 and 2.2.3 differ in this regard. In 2.2.1 qname it
714            is (presumably incorrectly) None, whereas it's a string with the
715            element name in the later versions.
716    
717            * test/test_xmlsupport.py (TestEventList.test_even_list_simple)
718            (TestEventList.test_even_list_namespace): Update tests to reflect
719            the new behaviour
720            (TestEventList.test_even_list_id_normalization): Fix doc-string
721    
722    2003-06-20  Jonathan Coles   <[email protected]>
723    
724            * Thuban/Model/layer.py (BaseLayer.HasShapes): New. Overridden
725            by deriving classes to determine if that layer supports shapes.
726            (Layer): Override HasShapes and return true.
727    
728            * Thuban/UI/classgen.py: Use Thuban[Begin|End]BusyCursor()
729            instead of a direct call to wx[Begin|End]CusyCursor().
730            (GenUniquePanel._OnRetrieve): Set busy cursor while retrieving
731            table data.
732    
733            * Thuban/UI/common.py (ThubanBeginBusyCursor, ThubanEndBusyCursor):
734            New. Wrappers around the wxWindows functions that allow us to
735            make additional calls such as wxYield which gives the native
736            system a chance to update the cursor correctly.
737    
738            * Thuban/UI/tableview.py: Use Thuban[Begin|End]BusyCursor()
739            instead of a direct call to wx[Begin|End]CusyCursor().
740    
741            * Thuban/UI/view.py: Use Thuban[Begin|End]BusyCursor()
742            instead of a direct call to wx[Begin|End]CusyCursor().
743            (MapCanvas.find_shape_at): Check if the current search layer
744            support shapes, otherwise go on to the next layer.
745    
746            * test/test_layer.py: Add tests in each type of layer for
747            HasClassification() and HasShapes()
748    
749    2003-06-20  Jonathan Coles   <[email protected]>
750    
751            * Thuban/UI/view.py (MapCanvas.OnPaint): Call wxYield after
752            turning on the busy cursor to allow the system to change the
753            cursor before we begin painting. This fixes a problem that
754            was occuring only under GTK. Fixes RTbug #1840.
755    
756    2003-06-20  Bernhard Herzog  <[email protected]>
757    
758            * Resources/XML/thuban-0.8.dtd: New DTD for the new file format
759            version.
760    
761            * Thuban/Model/save.py (sort_data_stores): New. Make topological
762            sort of the data sources so they can be written with sources that
763            data sources that depend on other data sources come after the
764            sources they depend on.
765            (SessionSaver.__init__): Add idmap instance variable to map from
766            objects to the ids used in the file.
767            (SessionSaver.get_id, SessionSaver.define_id)
768            (SessionSaver.has_id): New. Methods to manage the idmap
769            (SessionSaver.write): Use thuban-0.8.dtd
770            (SessionSaver.write_session): Add a namespace on the session and
771            write out the data sources before the maps.
772            (SessionSaver.write_data_containers): New. Write the data
773            containers.
774            (SessionSaver.write_layer): Layer elements now refer to a
775            shapestore and don't contain filenames anymore.
776    
777            * Thuban/Model/load.py (LoadError): Exception class to raise when
778            errors in the files are discovered
779            (SessionLoader.__init__): Define dispatchers for elements with a
780            thuban-0.8 namespace too.
781            (SessionLoader.check_attrs): New helper method to check and
782            convert attributes
783            (AttrDesc): New. Helper class for SessionLoader.check_attrs
784            (SessionLoader.start_fileshapesource)
785            (SessionLoader.start_derivedshapesource)
786            (SessionLoader.start_filetable, SessionLoader.start_jointable):
787            Handlers for the new elements in the new fileformat
788            (SessionLoader.start_layer): Handle the shapestore attribute in
789            addition to filename.
790            (SessionLoader.start_table, SessionLoader.end_table): Removed.
791            They were never used in the old formats and aren't needed for the
792            new.
793    
794            * Thuban/Model/session.py (Session.DataContainers): New method to
795            return all "data containers", i.e. shapestores and tables
796    
797            * test/xmlsupport.py (SaxEventLister.__init__)
798            (SaxEventLister.startElementNS, sax_eventlist): Add support to
799            normalize IDs.
800    
801            * test/test_xmlsupport.py
802            (TestEventList.test_even_list_id_normalization): New test case for
803            id normalization
804    
805            * test/test_load.py (LoadSessionTest.check_format): Use ID
806            normalization
807            (LoadSessionTest.thubanids, LoadSessionTest.thubanidrefs): New
808            class atrributes used for ID normalization
809            (TestSingleLayer, TestLayerVisibility, TestLabels.test)
810            (TestLayerProjection.test, TestRasterLayer.test): Adapt to new
811            file format
812            (TestJoinedTable): New test for loading sessions with joined
813            tables.
814            (TestLoadError): New. Test whether missing required attributes
815            cause a LoadError.
816    
817            * test/test_save.py (SaveSessionTest.thubanids)
818            (SaveSessionTest.thubanidrefs): New class attributes for ID
819            normalization in .thuban files.
820            (SaveSessionTest.compare_xml): Use id-normalization.
821            (SaveSessionTest.testEmptySession)
822            (SaveSessionTest.testLayerProjection)
823            (SaveSessionTest.testRasterLayer)
824            (SaveSessionTest.testClassifiedLayer): Adapt to new file format.
825            (SaveSessionTest.testLayerProjection): The filename used was the
826            same as for testSingleLayer. Use a different one.
827            (SaveSessionTest.test_dbf_table)
828            (SaveSessionTest.test_joined_table): New test cases for saving the
829            new data sources structures.
830            (TestStoreSort, MockDataStore): Classes to test the sorting of the
831            data stores for writing.
832    
833            * test/runtests.py: Add CVS keywords
834    
835    2003-06-20  Jonathan Coles   <[email protected]>
836    
837            * test/test_session.py
838            (UnreferencedTablesTests.test_unreferenced_tables_with_joins):
839            Use the cultural_landmark-point.dbf file for the store so that
840            the table rows and shape count match.
841    
842    2003-06-20  Jonathan Coles   <[email protected]>
843    
844            * Thuban/Model/data.py (DerivedShapeStore.__init__): Raise
845            an exception if the number of shapes is different from the
846            number of rows in the table. Address RTbug #1933.
847    
848            * test/test_layer.py (TestLayer.test_derived_store): Add
849            a test for the new exception in DerivedShapeStore.__init__.
850    
851            * test/support.py (FloatTestCase): Removed since there is
852            already FloatComparisonMixin. Fixes RTbug #1954.
853            (FloatComparisonMixin.assertFloatEqual): Include test for
854            infinity that was part of FloatTestCase.
855    
856            * test/test_range.py (RangeTest): Inherit from
857            support.FloatComparisonMixin now that we don't have
858            support.FloatTestCase.
859    
860    2003-06-20  Bernhard Herzog  <[email protected]>
861    
862            * test/test_save.py (SaxEventLister, sax_eventlist): Removed. Use
863            the implementation in xmlsupport instead.
864            (SaveSessionTest.compare_xml): sax_eventlist is now in xmlsupport
865    
866            * test/test_proj.py: Import sax_eventlist from xmlsupport instead
867            of test_save
868    
869    2003-06-20  Bernhard Herzog  <[email protected]>
870    
871            * test/test_load.py (LoadSessionTest.check_format): New helper
872            method to make sure the test files we load might have been written
873            by the current thuban version.
874            (ClassificationTest.TestLayers, TestSingleLayer.test)
875            (TestLayerVisibility.test, TestClassification.test)
876            (TestLabels.test, TestLayerProjection.test, TestRasterLayer.test):
877            Add check_format() calls and fix the thuban data to match the data
878            that would be written by saving the session loaded from it.
879    
880            * test/xmlsupport.py (SaxEventLister, sax_eventlist): Copies of
881            the same class and function in test_save.
882    
883            * test/test_xmlsupport.py (TestEventList): New. test cases for
884            sax_eventlist
885    
886    2003-06-20  Bernhard Herzog  <[email protected]>
887    
888            * Resources/XML/thuban.dtd: Add comment about which versions of
889            Thuban are covered by this DTD
890            (map): Fix content model for layers and raster layers. There can
891            be any number or layers and raster layers in any order.
892    
893    2003-06-20  Jonathan Coles   <[email protected]>
894    
895            This is mainly about fixing RTbug #1949.
896    
897            * Thuban/Model/classification.py: Remove "from __future__"
898            import statement since python 2.2 is the earliest supported
899            version.
900    
901            * Thuban/Model/proj.py (Projection.GetProjectedUnits): New.
902            Currently returns PROJ_UNITS_METERS or PROJ_UNITS_DEGREES
903            depending on the units this projection *forwards* into.
904    
905            * Thuban/Model/save.py (SessionSaver.write_classification):
906            Remove unnecessary use of lambdas and nested functions.
907    
908            * Thuban/UI/legend.py (ScaleBarBitmap.__SetScale): Do scale
909            adjustment here if the map projection uses degrees.
910    
911            * Thuban/UI/scalebar.py (ScaleBar.DrawScaleBar): Remove
912            scale adjust code since it is now done before calling
913            this method. Don't do anything if the map projection
914            is None.
915    
916    2003-06-19  Bernhard Herzog  <[email protected]>
917    
918            Move version specific load tests to their own file.
919    
920            * test/test_load.py: Expand the doc-string to explain a bit how to
921            handle file format changes.
922            (TestClassification.test): Update the docstring as this test is
923            not about Thuban 0.2 anymore.
924    
925            * test/test_load_0_2.py: New file with the load tests for thuban
926            files created with Thuban 0.2 and earlier.
927    
928    2003-06-19  Bernhard Herzog  <[email protected]>
929    
930            Add XML validation to some of the tests. Validation will only be
931            done if pyRXP is installed (http://reportlab.com/xml/pyrxp.html).
932            To make the DTD available to the test cases it's moved into
933            Resources/XML
934    
935            * Resources/XML/thuban.dtd: New. This is now the real Thuban DTD
936            for versions up to and including 0.2. Two slight changes: added an
937            encoding specification and fixed the comment which refered to
938            GRASS, not Thuban
939    
940            * test/xmlsupport.py: New support module for tests involving XML.
941            Currently there's a mix-in class for XML validation.
942    
943            * test/test_xmlsupport.py: New. Tests for the xmlsupport module
944    
945            * test/test_save.py (SaveSessionTest): Derive from ValidationTest
946            so that we can validate the
947            (SaveSessionTest.testEmptySession)
948            (SaveSessionTest.testSingleLayer)
949            (SaveSessionTest.testSingleLayer)
950            (SaveSessionTest.testLayerProjection)
951            (SaveSessionTest.testRasterLayer)
952            (SaveSessionTest.testClassifiedLayer): Validate the generated XML
953    
954            * test/runtests.py (main): Call print_additional_summary instead
955            of print_garbage_information
956    
957            * test/support.py (resource_dir): New function to return the
958            "Resource" subdirectory
959            (print_additional_summary): New function to combine several
960            summary functions
961            (run_tests): Use print_additional_summary instead of calling
962            print_garbage_information directly
963    
964    2003-06-19  Bernhard Herzog  <[email protected]>
965    
966            * Doc/thuban.dtd (classification): Correct the content model of
967            the classification element.
968            (projection): Add the "name" attribute
969    
970    2003-06-19  Frank Koormann   <[email protected]>
971    
972            MERGE from the greater-ms3 branch.
973    
974            * Thuban/UI/scalebar.py (ScaleBar.DrawScaleBar): Apply conversion to
975            scale if projection is latlong to get better estimate.
976    
977            Fix problem of hidden properties dialog under windows after double
978            click on layer tree:
979            The tree control always gets an Expanded / Collapsed event after
980            the ItemActivated  on double click, which raises the main window again.         We add a second ItemActivated event to the queue, which simply
981            raises the already displayed window.
982    
983            * Thuban/UI/legend.py (LegendTree.__init__): Instance variable
984            raiseProperties initialized to prevent endless loops
985            (LegendTree._OnItemActivated): Depending on self.raiseProperties
986            simply raise the properties or open the dialog and issue a second
987            event.
988    
989    2003-06-18  Jonathan Coles   <[email protected]>
990    
991            * setup.py: Fix a few problems that occured under Windows.
992    
993    2003-06-18  Jonathan Coles   <[email protected]>
994    
995            When Thuban loaded the map was redrawn twice because the
996            legend was being opened after the mainwindow was created
997            and not during its creation. This meant the map was drawn
998            initially and then had to be redrawn when the legend
999            caused the display to change. Now the legend is opened
1000            in the mainwindow constructor which resolves this issue.
1001    
1002            Also, although we were checking for the existence of
1003            gdal and gdalwarp modules, the gdalwarp extension was
1004            still being compiled (which may fail if the system doesn't
1005            have gdal installed). the build_ext command to setup.py
1006            now accepts the flags --with-gdal and --without-gdal.
1007            If --without-gdal is specified setup.py will try to
1008            use the gdal parameters specified by gdal-config. Under
1009            windows, those parameters have to be set in setup.py
1010            as with proj4 an wxWindows.
1011    
1012            * setup.py: Use a list instead of seperate variables for
1013            extension parameters so we can create a generic function
1014            that runs an appropriate *-config script.
1015            (run_cs_script): Renamed from run_wx_script and modified
1016            to accept a second argument which is a list of lists to
1017            be filled in by the values returned from running the command.
1018            (thuban_build_ext): New. Extends the build_ext command and
1019            provides the options --with-gdal/--without-gdal which then
1020            optionally includes the gdalwarp extension.
1021    
1022            * Thuban/Model/resource.py: First check if we can import
1023            the gdalwarp Thuban extension before checking for gdal.
1024            Also added some comments.
1025            
1026            * Thuban/UI/legend.py (ScaleBarBitmap.__SetScale): Check if
1027            the map is None which may be the case if none has been loaded
1028            yet.
1029    
1030            * Thuban/UI/main.py (main): Remove call to ShowLegend.
1031    
1032            * Thuban/UI/mainwindow.py (MainWindow.__init__): Call ShowLegend().
1033    
1034            * Thuban/UI/renderer.py: Check for gdal support before importing
1035            gdalwarp.
1036            (MapRenderer.render_map): Only try to optimize if we have gdal
1037            support otherwise nothing will get drawn.
1038    
1039            * Thuban/UI/view.py (MapCanvas.FitMapToWindow): This may be called
1040            during startup before a map has been created. Check if map is None
1041            before using it and do nothing if it is.
1042    
1043    2003-06-17  Jonathan Coles   <[email protected]>
1044    
1045            Fix the problem with raster layers under Windows that caused
1046            Thuban to crash. The view should respond to layer projection
1047            changed events to update the display. Changes to a projection
1048            should not cause the map to be set to full extent.
1049            
1050            * Thuban/UI/view.py (MapCanvas.__init__): New instance variable
1051            current_map_proj to remember the current map projection so that
1052            when the projection changes we know what the previous projection
1053            was.
1054            (MapCanvas.SetMap): Unsubscribe and subscribe to
1055            LAYER_PROJECTION_CHANGED events.
1056            (MapCanvas.projection_changed): Split into two methods that respond
1057            to map and layer projection changes.
1058            (MapCanvas.map_projection_changed): New. Takes the current view and
1059            projects it using the new projection. This does not cause the
1060            map to be redrawn at full extent.
1061            (MapCanvas.layer_projection_changed): New. Cause a redraw which
1062            will draw each layer in its new projection.
1063            
1064            * extensions/thuban/bmpdataset.cpp (BMPDataset::Open): Call
1065            VSIFClose() not VSIFCloseL() to close the file. Fixes a crash
1066            under Windows.
1067            
1068            * extensions/thuban/gdalwarp.cpp (MFILENAME): Padding should be
1069            to twice sizeof(void*) because there are two digits for each
1070            hex byte.
1071    
1072    2003-06-16  Bernhard Herzog  <[email protected]>
1073    
1074            Update to the layer interface: Direct access to the table,
1075            shapetable, shapefile and filename attributes is now actively
1076            deprecated by issuing deprecation warnings for all places where
1077            this happens.
1078    
1079            * Thuban/Model/layer.py (Layer.__getattr__): New. Implement access
1080            to the instance variables table, shapetable, shapefile and
1081            filename via __getattr__ so that we can issue a deprecation
1082            warning.
1083            (Layer.SetShapeStore): Don't set the deprecated instance variables
1084            any more
1085            (Layer.SetShapeStore): Don't use deprecated layer instance
1086            variables
1087            (Layer.Destroy): No need to explicitly remove the instance
1088            variables any more
1089            (Layer.GetFieldType, Layer.Shape): Don't use deprecated layer
1090            instance variables
1091    
1092            * Thuban/UI/classgen.py (ClassGenDialog.__init__)
1093            (GenUniformPanel._OnRetrieve, GenUniquePanel._OnRetrieve)
1094            (GenQuantilesPanel.GetList, GenQuantilesPanel.OnRetrieve): Don't
1095            use deprecated layer instance variables
1096    
1097            * Thuban/UI/classifier.py (Classifier.__init__): Don't use
1098            deprecated layer instance variables
1099    
1100            * Thuban/UI/identifyview.py (IdentifyListCtrl.selected_shape)
1101            (IdentifyGridCtrl.selected_shape): Don't set the deprecated layer
1102            instance variables
1103    
1104            * Thuban/UI/tableview.py (LayerTableGrid.select_shapes): Don't use
1105            deprecated layer instance variables
1106    
1107            * Thuban/UI/mainwindow.py (MainWindow.LayerShowTable): Don't use
1108            deprecated layer instance variables
1109    
1110            * Thuban/Model/save.py (SessionSaver.write_layer): Don't use
1111            deprecated layer instance variables
1112    
1113            * Thuban/UI/renderer.py (MapRenderer.draw_shape_layer)
1114            (MapRenderer.polygon_render_param): Don't use deprecated layer instance
1115            variables
1116    
1117            * test/runtests.py (main): Turn Thuban's deprecation warnings into
1118            errors so that they're cought by the tests
1119    
1120            * test/test_load.py (TestSingleLayer.test): Don't use deprecated
1121            layer instance variables
1122    
1123    2003-06-16  Jonathan Coles   <[email protected]>
1124    
1125            Fix a problem under Windows whereby if the user double-clicks on a
1126            layer in the legend that tree item will expand or collapse as well
1127            as open the layer properties dialog. The state of the tree item
1128            should not be affected.
1129    
1130            * Thuban/UI/legend.py (LegendTree.__init__): Add instance variable
1131            preventExpandCollapse and subscribe to expanding and collapsing
1132            events.
1133            (LegendTree.OnItemExpandCollapse): New. Responds to expanding and
1134            collapsing events and will veto the event if it has been triggered
1135            by the user double clicking on a layer.
1136            (LegendTree._OnItemActivated): Set preventExpandCollapse to indicate
1137            that an expanding/collapsing event should be vetoed.
1138    
1139    2003-06-13  Bernhard Herzog  <[email protected]>
1140    
1141            * Thuban/UI/classifier.py (Classifier.OnClose)
1142            (Classifier.map_layers_removed)
1143            (Classifier.layer_shapestore_replaced): Unsubscribe the messages
1144            in OnClose and not in map_layers_removed or
1145            layer_shapestore_replaced to make sure it always happens when the
1146            dialog is closed
1147    
1148    2003-06-13  Jonathan Coles   <[email protected]>
1149    
1150            This puts back a fix for Windows where a panel is needed so that
1151            the background of the table view appears correctly.
1152    
1153            * Thuban/UI/tableview.py (TableFrame.__init__): Add a panel
1154            object that can be used by derived classes to place any
1155            controls (including the grid) onto.
1156            (QueryTableFrame.__init__): Use the panel as the parent window
1157            for all the controls. Reparent the grid so that the panel is
1158            the parent. Call UpdateStatusText() to correctly initialize
1159            the status bar.
1160    
1161  2003-06-13  Jonathan Coles   <[email protected]>  2003-06-13  Jonathan Coles   <[email protected]>
1162    
1163          * Thuban/UI/dialogs.py (ThubanFrame): New: a class that inherits          * Thuban/UI/dialogs.py (ThubanFrame): New: a class that inherits

Legend:
Removed from v.1201  
changed lines
  Added in v.1453

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26