/[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 1272 by jonathan, Fri Jun 20 16:43:13 2003 UTC revision 1449 by jonathan, Thu Jul 17 14:59:59 2003 UTC
# Line 1  Line 1 
1    2003-07-17  Jonathan Coles   <[email protected]>
2    
3            * Doc/manual/mainwindow.png, Doc/manual/mainwindow.xcf: Screen
4            shots for the manual. The XCF file is the source image and
5            has additional layers to support changes.
6    
7            * Doc/manual/thuban-manual.xml: Wrote an initial Introduction.
8    
9            * Thuban/UI/classifier.py (Classifier.__BuildClassification):
10            Return both the new class and the field name.
11    
12            * Thuban/UI/mainwindow.py (MainWindow.ToggleLegend): Don't
13            fit the map to the window as this changes any zoom level that
14            the user may have set.
15    
16    2003-07-16  Jonathan Coles   <[email protected]>
17    
18            * Thuban/Model/classgen.py (generate_singletons,
19            generate_uniform_distribution, generate_quantiles): Remove
20            fixes parameter, but maintain the same functionality by having
21            the calling function pass a FixedRamp object for the ramp.
22            (FixedRamp): New. Adapts a ramp to have fixed property values.
23    
24            * Thuban/Model/classification.py: Use new CLASS_CHANGED message.
25            (Classification): Inherit from Publisher.
26            (Classification.__init__): Remove the layer parameter.
27            Classifications no longer need to have a parent layer.
28            (Classification.GetField, Classification.GetFieldType,
29            Classification.SetFieldInfo): Removed. The field name is stored
30            in the layer, and the type can be retreived by calling
31            Layer.GetFieldType().
32            (Classification._set_layer, Classification.GetLayer): Removed.
33            Classifications no longer have a parent layer.
34    
35            * Thuban/Model/layer.py (Layer.Destroy): Unsubscribe from the
36            classification.
37            (Layer.SetShapeStore): Reset the classification first while
38            we still have the old shape store to work with.
39            (Layer.GetClassificationField, Layer.SetClassificationField):
40            New. Method for getting/setting the field to classify on.
41            (Layer.SetClassification): Simplified now that the layer
42            simply has to hold a reference to the classification and not
43            tell the classification who owns it.
44            Fixes RTbug #2023.
45    
46            * Thuban/Model/load.py (SessionLoader.start_classification):
47            Set the field name on the layer, not the classification.
48    
49            * Thuban/Model/messages.py: Add CLASS_CHANGED for when a
50            classification is modified.
51    
52            * Thuban/Model/save.py (SessionSaver.write_classification):
53            Get the field name and type from the layer.
54    
55            * Thuban/Model/table.py (table_to_dbf, table_to_csv): Renamed
56            parameter records to rows and add docstring. Fixes RTbug #1997.
57    
58            * Thuban/UI/classgen.py (ClassGenDialog.OnOK): Use a fixed
59            ramp when we need to fix certain values of a ramp rather than
60            using the old fixes parameter. Fixes RTbug #2024.
61    
62            * Thuban/UI/classifier.py (ClassGrid.CreateTable): Add fieldType
63            parameter.
64            (ClassTable.Reset): Add fieldType parameter and use it, rather
65            than asking the classification.
66            (Classifier.__init__): Remember the original class's field
67            and ask the layer for the field type, rather than the classification.
68            (Classifier.__SetGridTable): Retrieve the field and field type
69            for the table because they are not in the classification.
70            (Classifier._OnTry, Classifier._OnRevert): Set the classification
71            field on the layer in addition to the classification itself.
72    
73            * Thuban/UI/renderer.py (MapRenderer.draw_shape_layer): Get the
74            classification field from layer.
75    
76            * Thuban/UI/viewport.py (ViewPort.find_shape_at): Get the
77            classification field from layer. Split up tests and remove
78            *-imports. Fixes RTbug #1992.
79    
80            * test/test_classgen.py (TestFixedRamp): Test for the FixedRamp class.
81    
82            * test/test_classification.py
83            (TestClassification.test_classification): Remove tests for methods
84            that no longer exist.
85    
86            * test/test_layer.py (SetShapeStoreTests.setUp): Classification
87            __init__ no longer has a field parameter, use SetClassificationField.
88            (SetShapeStoreTests.test_sanity): Use layer object to get class
89            field info.
90    
91            * test/test_save.py (SaveSessionTest.testClassifiedLayer): Use
92            SetClassificationField on layer to set class field info.
93    
94            * test/test_viewport.py: Renamed from test/test_view.py.
95    
96    2003-07-16  Jan-Oliver Wagner <[email protected]>
97    
98            * Doc/manual/thuban-manual.xml: Added authors and an initial
99            coarse structure.
100    
101    2003-07-15  Bernhard Herzog  <[email protected]>
102    
103            * test/support.py (FloatComparisonMixin): This is a mix-in class
104            and therefore should not be derived from any other class.
105    
106            * test/test_range.py (RangeTest): FloatComparisonMixin is a
107            mix-in, so derive from TestCase as well.
108    
109    2003-07-15  Bernhard Herzog  <[email protected]>
110    
111            * Thuban/UI/renderer.py (MapRenderer.draw_shape_layer): Rework the
112            draw_func handling a bit to remove one layer of indirection. This
113            makes the renderer about 10% faster in the non-classifying case
114            and the code a bit cleaner
115            (MapRenderer.draw_point_shape): Add the pen and brush parameters
116            and set them in the dc. Now the draw_point_shape method and
117            wxproj's draw_polygon_shape function have basically the same
118            signature so that both can be directly used as draw_func
119    
120    2003-07-15  Bernhard Herzog  <[email protected]>
121    
122            * Thuban/Model/save.py (SessionSaver.write_classification): Encode
123            string values (in addition to the labels) as UTF 8
124    
125            * Thuban/Model/load.py (SessionLoader.start_clpoint): Decode the
126            values if the field type is string
127    
128            * test/test_save.py (SaveSessionTest.testClassifiedLayer): Test
129            saving a session with non-ascii string classification values.
130    
131            * test/test_load.py (TestClassification.file_contents)
132            (TestClassification.test): Check for non-ascii values in string
133            classifications
134    
135    2003-07-14  Jonathan Coles   <[email protected]>
136    
137            * test/test_view.py: New. Tests for ViewPort.
138    
139    2003-07-14  Frank Koormann   <[email protected]>
140    
141            * Thuban/Model/load.py (SessionLoader.start_map): Encode map
142            title to latin1.  Fixes https://intevation.de/rt/webrt?serial_num=2013
143    
144            * test/test_load_0_8.py (TestUnicodeStrings): New, test load of
145            unicode strings from session file: session title, map title and
146            projection name.
147            
148    2003-07-10  Jonathan Coles   <[email protected]>
149    
150            * Thuban/UI/viewport.py (Tool.MouseUp): Should have called
151            drag_stop, not drag_move when the mouse is released.
152    
153    2003-07-10  Jonathan Coles   <[email protected]>
154    
155            The most important part of this is the seperation of view.py into
156            two pieces. viewport.py now has a class called ViewPort which
157            contains all the non-wx parts of view.py and can therefore be
158            tested. view.py contains only the wx-specific parts and is fairly
159            simple.
160    
161            * Thuban/UI/view.py: Stripped out all non-wx functionality. Fixes
162            RTTbug #1992.
163            * Thuban/UI/viewport.py: New. Contains non-wx view functionality.
164            RTTbug #1992.
165    
166            * Thuban/Model/classgen.py (generate_singletons,
167            generate_uniform_distribution, generate_quantiles):
168            Added 'fixes' parameter so that property attributes can
169            be held constant over the generated classification groups.
170            (CustomRamp.GetProperties): Remove unused variables.
171    
172            * Thuban/Model/map.py (Map.SetProjection): Send the old
173            projection as an argument to listeners of the MAP_PROJECTION_CHANGED
174            event.
175    
176            * Thuban/Model/table.py (table_to_dbf, table_to_csv): Added 'records'
177            parameter which is a list of records that restricts which
178            records are saved. Fixes RTbug #1997.
179    
180            * Thuban/UI/application.py (ThubanApplication.ShowExceptionDialog):
181            Port exception dialog from GREAT-ER. Fixes RTbug #1993.
182    
183            * Thuban/UI/classgen.py (ClassGenDialog.__init__): Add controls
184            to allow the user to fix line color/width on generated groups.
185            (ClassGenDialog.OnOK): Use new 'fixes' parameter of the generate_*
186            functions to optionally fix group properties.
187    
188            * Thuban/UI/main.py (main): Set exception hook to the
189            ShowExceptionDialog. Fixes RTbug #1993.
190    
191            * Thuban/UI/mainwindow.py (MainWindow.ShowTableView): Raise
192            the table window when it is selectd to be shown.
193    
194            * Thuban/UI/tableview.py (QueryTableFrame.__init__): Add an
195            Export Selection button and move the export buttons underneath
196            the table.
197            (QueryTableFrame.UpdateStatusText): Added event argument so
198            that it can respond to grid selection events. The status text
199            is now updated even when the table is not associated with a
200            layer as was previously assumed.
201            (QueryTableFrame.OnGridSelectRange, OnGridSelectCell): Removed.
202            UpdateStatusText responds to these events.
203            (QueryTableFrame.OnSaveAs): Renamed to doExport.
204            (QueryTableFrame.doExport): Helper function that saves the
205            entire table, or selected rows, to a file.
206            (QueryTableFrame.OnExport, QueryTableFrame.OnExportSel): New.
207            Respond to export button events and call doExport.
208    
209            * extensions/thuban/gdalwarp.cpp (ProjectRasterFile): Make sure
210            the function doesn't return NULL without first setting a Python
211            Error.
212    
213            * test/runtests.py (main): Only print "Unknown option" for
214            unsupported options.
215    
216            * test/support.py (FloatComparisonMixin.assertFloatEqual): Take
217            optional epsilon argument to specify floating point accuracy.
218            (FloatComparisonMixin.assertFloatSeqEqual): Call assertFloatEqual
219            for each item test.
220    
221            * test/test_csv_table.py (TestCSVTable.test_table_to_cvs): Add
222            tests for saving selected records.
223    
224            * test/test_dbf_table.py (TestTableToDBF.test_table_to_dbf): Add
225            tests for saving selected records.
226    
227            * test/test_map.py (TestMapWithContents.test_set_projection):
228            MAP_PROJECTION_CHANGED events send the old projection.
229    
230            * test/test_session.py
231            (TestSessionWithContent.test_forward_map_projection):
232            MAP_PROJECTION_CHANGED events send the old projection.
233    
234            * test/test_table.py (TableTest): Update tests to use non-deprecated
235            functions.
236    
237    2003-07-08  Bernhard Herzog  <[email protected]>
238    
239            * Thuban/Model/transientdb.py (TransientTableBase.Width): The type
240            constants in the column objects are the standard ones defined in
241            the table module.
242    
243            * test/test_transientdb.py
244            (TestTransientTable.test_transienttable_to_dbf): New. Test whether
245            exporting transient tables as DBF works. This should catch the bug
246            just fixed in TransientTableBase.Width.
247    
248    2003-07-08  Bernhard Herzog  <[email protected]>
249    
250            * Thuban/Model/classgen.py (CustomRamp.GetProperties): Compute the
251            interpolated colors correctly.
252    
253            * test/test_classgen.py (TestCustomRamp.test_color_interpolation):
254            New. Test case for the fix in classgen.py
255    
256    2003-07-08  Bernhard Herzog  <[email protected]>
257    
258            * test/runtests.py (main): Make the default output less verbose
259            and add a verbosity option (-v) to get the old output
260    
261    2003-07-08  Bernhard Herzog  <[email protected]>
262    
263            * Resources/XML/thuban-0.9.dtd: New. This will become the DTD for
264            0.9.
265    
266            * Thuban/Model/transientdb.py (TransientJoinedTable.JoinType):
267            New. Return the join type
268    
269            * Thuban/Model/save.py (SessionSaver.write_session): Use new 0.9
270            DTD
271            (SessionSaver.write_data_containers): Save the join type for
272            joined tables
273    
274            * Thuban/Model/load.py (SessionLoader.__init__): Add the new 0.9
275            namespace
276            (SessionLoader.start_jointable): Handle the jointype attribute
277    
278            * test/test_load_0_8.py: New. Effectively a copy of test_load.py
279            as of Thuban 0.8. These are now tests to determine whether Thuban
280            can still read files generated by Thuban 0.8
281    
282            * test/test_load.py (LoadSessionTest.dtd)
283            (TestSingleLayer.file_contents)
284            (TestLayerVisibility.file_contents, TestLabels.file_contents)
285            (TestLayerProjection.file_contents)
286            (TestRasterLayer.file_contents, TestJoinedTable.file_contents)
287            (TestJoinedTable.file_contents)
288            (TestLoadError.file_contents): Update for new DTD
289            (TestJoinedTable.file_contents, TestJoinedTable.setUp): Add test
290            for new join type attribute
291    
292            * test/test_save.py (SaveSessionTest.dtd)
293            (SaveSessionTest.testEmptySession)
294            (SaveSessionTest.testSingleLayer)
295            (SaveSessionTest.testLayerProjection)
296            (SaveSessionTest.testRasterLayer)
297            (SaveSessionTest.testClassifiedLayer)
298            (SaveSessionTest.test_dbf_table)
299            (SaveSessionTest.test_joined_table): Update for new DTD
300            (SaveSessionTest.test_joined_table): Add test for new join type
301            attribute
302    
303    2003-07-04  Bernhard Herzog  <[email protected]>
304    
305            * Thuban/Model/table.py (_find_dbf_column_names): New. Helper
306            function for table_to_dbf
307            (table_to_dbf): Deal with names longer than the 10 character limit
308    
309            * test/test_dbf_table.py (TestTableToDBF.test_table_to_dbf): Add
310            doc-string
311            (TestTableToDBF.test_table_to_dbf_long_col_names): New test for
312            long column names
313    
314    2003-07-03  Bernhard Herzog  <[email protected]>
315    
316            * Doc/manual/thuban-manual.xml: Fix the CVS Revision Tag syntax
317    
318    2003-07-03  Bernhard Herzog  <[email protected]>
319    
320            * Doc/manual/thuban-manual.xml, Doc/manual/README: New. Skeleton
321            for the Thuban manual and README with some basic information about
322            the manual
323    
324    2003-07-03  Bernhard Herzog  <[email protected]>
325    
326            * Thuban/Model/transientdb.py (TransientJoinedTable.__init__):
327            Update doc-string
328            (TransientJoinedTable.create): Do not modify the column objects of
329            the input tables in place and copy all columns of the input tables
330            into the joined table after all.
331    
332            * test/test_transientdb.py
333            (TestTransientTable.test_transient_joined_table_same_column_name):
334            Update to reflect the new behavior
335            (TestTransientTable.test_transient_joined_table_with_equal_column_names):
336            Update to reflect the new behavior
337            (TestTransientTable.test_transient_joined_table_name_collisions_dont_modify_in_place):
338            New test case for a bug which modified the column objects in place
339    
340    2003-07-02  Jonathan Coles   <[email protected]>
341    
342            * Thuban/Model/classgen.py (generate_singletons,
343            generate_uniform_distribution, generate_quantiles,
344            GenQuantiles0): Make sure maxValue isn't less than
345            one, otherwise we could divide by zero.
346    
347            * test/test_classgen.py (ClassGenTest.doClassRangeTest,
348            ClassGenTest.doClassSingleTest): Call doBoundsTest to
349            check the end classification groups against the
350            proper property values.
351            (ClassGenTest.doBoundsTest): New. Checks the first and
352            last classification groups to make sure their properties
353            are the correct upper and lower bounds for a color ramp.
354    
355    2003-07-02  Jonathan Coles   <[email protected]>
356    
357            * Thuban/Model/classgen.py (generate_singletons,
358            generate_uniform_distribution, generate_quantiles,
359            GenQuantiles0): The denominator was one to high when
360            calculating the index for the ramp causing the index
361            to never to reach one.
362    
363    2003-07-02  Jonathan Coles   <[email protected]>
364    
365            Changed the singature of ClassGroupRange.__init__ and
366            ClassGroupRange.SetRange() so that the min/max values are
367            passed as a tuple. This makes a better calling scheme for
368            when a Range object is passed instead.
369    
370            * Thuban/Model/classgen.py: Fixed parameters to
371            ClassGroupRange constructor.
372    
373            * Thuban/Model/classification.py (ClassGroupRange.__init__):
374            Consolidate the min/max parameters into a single _range which
375            can either be a tuple or a Range object.
376            (ClassGroupRange.SetRange): Consolidate the min/max parameters
377            into a single _range which can either be a tuple or a Range object.
378    
379            * Thuban/Model/load.py (SessionLoader.start_clrange): Fix
380            call to ClassGroupRange constructor to use a tuple.
381    
382            * Thuban/Model/layer.py (Layer.SetClassification): Switch
383            the classification instance variable to the new class
384            before calling _set_layer otherwise subscribers to a
385            LAYER_CHANGED event will not see any difference.
386    
387            * test/test_classification.py: Fix tests of ClassGroupRange
388            so that they use the new signature.
389    
390            * test/test_load.py: Fix use of ClassGroupRange so that it
391            uses the new signature.
392    
393            * test/test_load_0_2.py: Fix use of ClassGroupRange so that it
394            uses the new signature.
395    
396            * test/test_save.py: Fix use of ClassGroupRange so that it
397            uses the new signature.
398    
399    
400    2003-07-01  Jonathan Coles   <[email protected]>
401    
402            * Thuban/Model/classgen.py: Fixes RTbug #1972, 1971.
403            Import used objects/class from color.
404            (generate_singletons): We don't
405            need the numGroups parameter anymore because we are using
406            the new ramps with GetProperties().
407            (generate_uniform_distribution): Use new ramp method
408            GetProperties().
409            (generate_quantiles, GenQuantiles0): Use new ramp method
410            GetProperties().
411            (CustomRamp.SetNumGroups): Removed. The ramps now map
412            a value from 0 to 1 to class properties so the number
413            of groups is not needed ahead of time.
414            (CustomRamp.next): Removed. CustomRamp does not support
415            interation anymore.
416            (CustomRamp.GetProperties): Returns a ClassGroupProperties
417            object based on the index value from 0 to 1 that is
418            passed to it.
419            (GreyRamp, RedRamp, GreenRamp, BlueRamp, GreenToRedRamp):
420            Made into instances of Monochromatic class instread of
421            deriving from it.
422            (HotToCold.SetNumGroups): Removed. See CustomRamp.
423            (HotToCold.next): Removed. See CustomRamp.
424    
425            * Thuban/Model/classification.py: Fixes RTbug #1973, 1971.
426            (Classification.SetField, Classification.SetFieldType):
427            Replaced with SetFieldInfo.
428            (Classification.SetFieldInfo): New. Does a better job of
429            what SetField and SetFieldType used to do by combining
430            their function since they should really always be done
431            at the same time.
432            (Classification.SetLayer): Renamed to _set_layer.
433            (Classification._set_layer): Should only be called from
434            Layer's SetClassification. This does not cause a recursive
435            call as SetLayer did because we know that Layer knows about
436            the classification.
437    
438            * Thuban/Model/color.py: Fixes RTbug #1971.
439            (_Transparent): Renamed from Transparent so it doesn't
440            conflict with the module variable.
441            (Transparent, Black): Renamed from Color.Transparent,
442            Color.Black so they are not class variables.
443    
444            * Thuban/Model/layer.py: Fixes RTbug #1971, 1973.
445            (Layer.Destroy): We don't need to call SetClassification
446            anymore to clear out the back reference in the classifcation
447            to the layer. It's better to set it to None using _set_layer,
448            and we won't be creating another clas object too.
449            (Layer.SetClassification): Classification._set_layer is not
450            recursive so remove all the locking variables. Also clean
451            up the code so that it remains unchanged if something fails.
452    
453            * Thuban/Model/load.py: Fixes RTbug #1971.
454            (SessionLoader.start_classification): Call
455            Classification.SetFieldInfo().
456    
457            * Thuban/Model/save.py: Removed import of Color which wasn't
458            being used.
459    
460            * Thuban/UI/classgen.py: Fixes RTbug #1972.
461            (ClassGenDialog.__init__): Color ramps are now instances
462            already so we don't need to create any new objects.
463            (ClassGenDialog.OnOK): Check for numGroups is no longer
464            necessary because we never use it.
465    
466            * Thuban/UI/classifier.py: Fixes RTbug #1971.
467            (Classifier.__BuildClassification, Classifier.__SetGridTable):
468            Call Classification.SetFieldInfo() instead of SetFieldType.
469    
470            * Thuban/UI/renderer.py: Fixes RTbug #1971.
471    
472            * Thuban/UI/view.py: Fixes RTbug #1974, 1971.
473            (MapCanvas.__init__): Subscribe to the idle time event. Set
474            background color to white.
475            (MapCanvas.OnPaint): Set a flag indicating that we should
476            render the map during idle time. If we already have a bitmap
477            just draw it now.
478            (MapCanvas.OnIdle): New. Render the map only during idle time.
479            This also fixes a problem with the busy cursor under gtk.
480    
481            * test/test_classgen.py (ClassGenTest.test_generate_singletons):
482            Fix calls to generate_singletons because the signature changed.
483    
484            * test/test_classification.py: Fix color references and
485            change calls to Classification.[SetField|SetFieldType] to
486            SetFieldInfo.
487    
488            * test/test_load.py: Fix color references.
489    
490            * test/test_load_0_2.py: Fix color references.
491    
492            * test/test_save.py (SaveSessionTest.testClassifiedLayer):
493            Change calls to Classification.[SetField|SetFieldType] to
494            SetFieldInfo.
495    
496    2003-07-01  Frank Koormann   <[email protected]>
497    
498            MERGE from the greater-ms3 branch.
499    
500            * test/test_transientdb.py
501            (TestTransientTable.test_transient_joined_table_with_equal_column_names):
502            New. Test join of two tables with partly equal column names.
503    
504            * Thuban/Model/transientdb.py (TransientJoinedTable.create):
505            If duplicates in left and right tables column names are found,
506            append '_' (underscores) to the name until it is unique.
507            Create always new internal names for the resulting table and reference
508            columns in the join statement with <table>.<column>
509    
510    2003-07-01  Bernhard Herzog  <[email protected]>
511    
512            * test/test_transientdb.py
513            (TestTransientTable.test_transient_joined_table_same_column_name):
514            New. Test whether joining on columns with the same names in both
515            tables works.
516            
517            * Thuban/Model/transientdb.py (TransientJoinedTable.create): Make
518            sure to use the right internal names even when joining on field
519            with the same names in both tables. Also, detect duplicate names
520            in the joined table correctly.
521    
522    2003-07-01  Frank Koormann   <[email protected]>
523    
524            * Thuban/UI/renderer.py (ExportRenderer.render_legend):
525            Reverse List of layers to render in same order as in desktop legend.
526    
527    2003-06-30  Jonathan Coles   <[email protected]>
528    
529            * Thuban/version.py (make_tuple): Takes a version string
530            and splits it into a tuple of at most three integers.
531            Used make_tuple() to make tuple versions of the version
532            numbers.
533    
534            * Thuban/UI/about.py: Add Thuban email addresses.
535    
536    2003-06-30  Jonathan Coles   <[email protected]>
537    
538            * Thuban/version.py: SQLite/PySQLite version dependencies
539            were too high.
540    
541    2003-06-30  Jonathan Coles   <[email protected]>
542    
543            * Thuban/version.py: Update version to 0.8.1
544            
545            * MANIFEST.in: Added Projections so that default.proj is
546            included.
547    
548    2003-06-26  Jonathan Coles   <[email protected]>
549    
550            New About box with lots more information including library
551            versions and credits. More/better version checking before
552            Thuban starts.
553    
554            * Thuban/UI/about.py: New. New About box that displays
555            library version information and credits.
556    
557            * Thuban/version.py: Added new 'versions' dictionary which
558            contains the verions of various libraries which are checked
559            when the module loads.
560            (verify_versions): Check all version numbers and returns
561            a list of errors.
562    
563            * Thuban/UI/classifier.py (Classifier.__EnableButtons):
564            Reset the status of the buttons as the situation warrants,
565            but in a better more reliable way by not relying on the
566            current status to determine what needs to change.
567    
568            * Thuban/UI/main.py (wxCHECK_VERSION): Removed. Not needed.
569            (verify_versions): Remove most of the code since it is
570            now in Thuban.version.verify_versions.o
571    
572            * Thuban/UI/mainwindow.py (MainWindow.About): Call new
573            About box in Thuban.UI.about.
574    
575            * extensions/thuban/gdalwarp.cpp (get_gdal_version): New.
576            Returns the version of gdal library being used as a string.
577    
578            * extensions/thuban/wxproj.cpp (check_version, check_version_gtk):
579            Removed.
580            (get_proj_version): Return the version of PROJ that the file
581            was compiled with.
582            (get_gtk_version): Return th version of GTK that the file
583            was compiled with.
584    
585    2003-06-25  Jonathan Coles   <[email protected]>
586    
587            * Thuban/UI/classifier.py (Classifier.EditSymbol): The parent
588            of the SelectPropertiesDialog should be self so the window
589            appears on top.
590            (ClassGroupPropertiesCtrl.DoEdit): The parent
591            of the SelectPropertiesDialog should be self so the window
592            appears on top.
593    
594            * Thuban/UI/resource.py: Cleaned up how we determine file
595            extensions.
596            (GetImageResource): Return an wxImage from our Resources.
597    
598    2003-06-24  Jonathan Coles   <[email protected]>
599    
600            * Thuban/UI/renderer.py (ExportRenderer.render_legend):
601            Check that a layer has a classification before trying
602            to get it. Raster layers don't have classifications.
603    
604    2003-06-23  Jonathan Coles   <[email protected]>
605            
606            * setup.py: Add Resources/XML to resource list.
607        
608    2003-06-23  Jonathan Coles   <[email protected]>
609    
610            * setup.cfg: Fix copyright dates
611        
612    2003-06-23  Jonathan Coles   <[email protected]>
613    
614            * MANIFEST.in: Update with Resources/XML
615    
616            * setup.py: Don't include Locale resources yet as we don't
617            have any and it causes problems building the distribution
618            for Windows. Update version to 0.8.0.
619    
620            * Doc/thuban.dtd: Removed since it is now in Resources/XML.
621    
622            * Thuban/UI/mainwindow.py: Add blank line at the end because
623            file was not being read correctly building the Windows
624            distribution.
625    
626    2003-06-23  Jonathan Coles   <[email protected]>
627    
628            * Thuban/UI/mainwindow.py (MainWindow.About): Fix text.
629    
630            * Thuban/version.py: Temporarily update longversion for
631            the 0.8 release so that it doesn't have the cvs revision.
632    
633    2003-06-23  Jonathan Coles   <[email protected]>
634    
635            * Thuban/UI/common.py (ThubanBeginBusyCursor): Call wxSafeYield
636            to make sure that we don't create reentrant possibilities with
637            wxYield.
638    
639            * Thuban/UI/view.py (MapCanvas.OnPaint): Call wxBeginBusyCursor()
640            directly to avoid the wxSafeYield() call which generates an
641            OnPaint event causing infinite recursion. Don't try to catch
642            exception anymore. This was for before there were limits on map
643            scaling.
644    
645    2003-06-23  Bernhard Herzog  <[email protected]>
646    
647            Bug fix for RT #1961:
648    
649            * Thuban/Model/load.py (SessionLoader.start_derivedshapesource):
650            Register DerivedShapestores with the session
651    
652            * Thuban/Model/session.py (Session.Tables): Make sure each table
653            is only listed once.
654    
655            * test/test_load.py (TestJoinedTable.test): Add check_format call.
656            Update file contents to match the one written out.
657    
658    2003-06-20  Bernhard Herzog  <[email protected]>
659    
660            * test/xmlsupport.py (SaxEventLister.startElementNS)
661            (SaxEventLister.endElementNS): Do not include the qname. Python
662            2.2.1 and 2.2.2 and 2.2.3 differ in this regard. In 2.2.1 qname it
663            is (presumably incorrectly) None, whereas it's a string with the
664            element name in the later versions.
665    
666            * test/test_xmlsupport.py (TestEventList.test_even_list_simple)
667            (TestEventList.test_even_list_namespace): Update tests to reflect
668            the new behaviour
669            (TestEventList.test_even_list_id_normalization): Fix doc-string
670    
671    2003-06-20  Jonathan Coles   <[email protected]>
672    
673            * Thuban/Model/layer.py (BaseLayer.HasShapes): New. Overridden
674            by deriving classes to determine if that layer supports shapes.
675            (Layer): Override HasShapes and return true.
676    
677            * Thuban/UI/classgen.py: Use Thuban[Begin|End]BusyCursor()
678            instead of a direct call to wx[Begin|End]CusyCursor().
679            (GenUniquePanel._OnRetrieve): Set busy cursor while retrieving
680            table data.
681    
682            * Thuban/UI/common.py (ThubanBeginBusyCursor, ThubanEndBusyCursor):
683            New. Wrappers around the wxWindows functions that allow us to
684            make additional calls such as wxYield which gives the native
685            system a chance to update the cursor correctly.
686    
687            * Thuban/UI/tableview.py: Use Thuban[Begin|End]BusyCursor()
688            instead of a direct call to wx[Begin|End]CusyCursor().
689    
690            * Thuban/UI/view.py: Use Thuban[Begin|End]BusyCursor()
691            instead of a direct call to wx[Begin|End]CusyCursor().
692            (MapCanvas.find_shape_at): Check if the current search layer
693            support shapes, otherwise go on to the next layer.
694    
695            * test/test_layer.py: Add tests in each type of layer for
696            HasClassification() and HasShapes()
697    
698  2003-06-20  Jonathan Coles   <[email protected]>  2003-06-20  Jonathan Coles   <[email protected]>
699    
700          * Thuban/UI/view.py (MapCanvas.OnPaint): Call wxYield after          * Thuban/UI/view.py (MapCanvas.OnPaint): Call wxYield after

Legend:
Removed from v.1272  
changed lines
  Added in v.1449

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26