/[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 1418 by bh, Tue Jul 15 08:44:20 2003 UTC revision 1459 by bh, Fri Jul 18 15:09:32 2003 UTC
# Line 1  Line 1 
1    2003-07-18  Bernhard Herzog  <[email protected]>
2    
3            * test/runtests.py: The test suite can now be run without an X
4            connection. To make sure this remains true, remove the DISPLAY
5            environment variable so that an error occurs if the wxGTK is
6            imported accidentally
7    
8    2003-07-18  Bernhard Herzog  <[email protected]>
9    
10            * Thuban/UI/viewport.py: Remove unused imports
11    
12            * Thuban/UI/view.py: Remove unused imports
13    
14    2003-07-18  Bernhard Herzog  <[email protected]>
15    
16            * test/test_export.py Remove unused imports. The OutputTransform
17            function is now in viewport.py and is called output_transform
18            (TestScalebar.test_output_transform)
19            (TestScalebar.test_OutputTransform): Renamed to
20            test_output_transform and updated to use output_transform instead
21            of OutputTransform
22    
23            * Thuban/UI/view.py (OutputTransform): Moved to viewport.py and
24            renamed.
25            (MapCanvas.Export, MapPrintout.draw_on_dc): OutputTransform was
26            renamed to output_transform
27    
28            * Thuban/UI/viewport.py (OutputTransform, output_transform):
29            Rename to output_transform
30    
31    2003-07-18  Bernhard Herzog  <[email protected]>
32    
33            * Thuban/Model/layer.py (Layer.__init__): Rename
34            classificationField to classificatin_column and init it here so
35            that it can be used in SetClassificationColumn
36            (Layer.GetClassificationColumn, Layer.GetClassificationField):
37            Rename to GetClassificationColumn.
38            (Layer.SetClassificationColumn, Layer.SetClassificationField):
39            Rename to SetClassificationColumn and issue a LAYER_CHANGED
40            message if the column changes.
41            (Layer._classification_changed, Layer.ClassChanged): Rename to
42            _classification_changed. Update the callers.
43            (Layer.SetShapeStore): Further field->column renames.
44    
45            * Thuban/Model/load.py (SessionLoader.start_classification)
46            (SessionLoader.start_clpoint): Updates because of
47            field->column method name changes in the Layer class
48    
49            * Thuban/Model/save.py (SessionSaver.write_classification): Updates
50            because of field->column method name changes in the Layer class
51    
52            * Thuban/UI/classifier.py (Classifier.__init__)
53            (Classifier._OnTry, Classifier._OnRevert): Updates because of
54            field->column method name changes in the Layer class
55    
56            * Thuban/UI/renderer.py (MapRenderer.draw_shape_layer): Updates
57            because of field->column method name changes in the Layer class
58    
59            * Thuban/UI/viewport.py (ViewPort.find_shape_at): Updates because
60            of field->column method name changes in the Layer class
61    
62            * test/test_save.py (SaveSessionTest.testClassifiedLayer)
63            (SaveSessionTest.testClassifiedLayer): Update because of
64            field->column method name changes in the Layer class
65    
66            * test/test_layer.py (SetShapeStoreTests.setUp)
67            (SetShapeStoreTests.test_sanity): Update because of field->column
68            method name changes in the Layer class
69            (TestLayerModification.setUp): Subscribe to LAYER_CHANGED as well
70            (TestLayerModification.test_sanity)
71            (TestLayerModification.test_initial_settings): remove unsued code
72            and rename to test_sanity.
73            (TestLayerModification.test_set_classification): New test for
74            SetClassification and SetClassificationField.
75    
76    2003-07-18  Bernhard Herzog  <[email protected]>
77    
78            * test/test_classgen.py (TestFixedRamp.test): Extend test to check
79            the non-fixed values as well. The old test would have accepted a
80            fixed ramp that only returnes the fixed properties
81    
82    2003-07-17  Jonathan Coles   <[email protected]>
83    
84            * Doc/manual/mainwindow.png, Doc/manual/mainwindow.xcf: Screen
85            shots for the manual. The XCF file is the source image and
86            has additional layers to support changes.
87    
88            * Doc/manual/thuban-manual.xml: Wrote an initial Introduction.
89    
90            * Thuban/UI/classifier.py (Classifier.__BuildClassification):
91            Return both the new class and the field name.
92    
93            * Thuban/UI/mainwindow.py (MainWindow.ToggleLegend): Don't
94            fit the map to the window as this changes any zoom level that
95            the user may have set.
96    
97    2003-07-16  Jonathan Coles   <[email protected]>
98    
99            * Thuban/Model/classgen.py (generate_singletons,
100            generate_uniform_distribution, generate_quantiles): Remove
101            fixes parameter, but maintain the same functionality by having
102            the calling function pass a FixedRamp object for the ramp.
103            (FixedRamp): New. Adapts a ramp to have fixed property values.
104    
105            * Thuban/Model/classification.py: Use new CLASS_CHANGED message.
106            (Classification): Inherit from Publisher.
107            (Classification.__init__): Remove the layer parameter.
108            Classifications no longer need to have a parent layer.
109            (Classification.GetField, Classification.GetFieldType,
110            Classification.SetFieldInfo): Removed. The field name is stored
111            in the layer, and the type can be retreived by calling
112            Layer.GetFieldType().
113            (Classification._set_layer, Classification.GetLayer): Removed.
114            Classifications no longer have a parent layer.
115    
116            * Thuban/Model/layer.py (Layer.Destroy): Unsubscribe from the
117            classification.
118            (Layer.SetShapeStore): Reset the classification first while
119            we still have the old shape store to work with.
120            (Layer.GetClassificationField, Layer.SetClassificationField):
121            New. Method for getting/setting the field to classify on.
122            (Layer.SetClassification): Simplified now that the layer
123            simply has to hold a reference to the classification and not
124            tell the classification who owns it.
125            Fixes RTbug #2023.
126    
127            * Thuban/Model/load.py (SessionLoader.start_classification):
128            Set the field name on the layer, not the classification.
129    
130            * Thuban/Model/messages.py: Add CLASS_CHANGED for when a
131            classification is modified.
132    
133            * Thuban/Model/save.py (SessionSaver.write_classification):
134            Get the field name and type from the layer.
135    
136            * Thuban/Model/table.py (table_to_dbf, table_to_csv): Renamed
137            parameter records to rows and add docstring. Fixes RTbug #1997.
138    
139            * Thuban/UI/classgen.py (ClassGenDialog.OnOK): Use a fixed
140            ramp when we need to fix certain values of a ramp rather than
141            using the old fixes parameter. Fixes RTbug #2024.
142    
143            * Thuban/UI/classifier.py (ClassGrid.CreateTable): Add fieldType
144            parameter.
145            (ClassTable.Reset): Add fieldType parameter and use it, rather
146            than asking the classification.
147            (Classifier.__init__): Remember the original class's field
148            and ask the layer for the field type, rather than the classification.
149            (Classifier.__SetGridTable): Retrieve the field and field type
150            for the table because they are not in the classification.
151            (Classifier._OnTry, Classifier._OnRevert): Set the classification
152            field on the layer in addition to the classification itself.
153    
154            * Thuban/UI/renderer.py (MapRenderer.draw_shape_layer): Get the
155            classification field from layer.
156    
157            * Thuban/UI/viewport.py (ViewPort.find_shape_at): Get the
158            classification field from layer. Split up tests and remove
159            *-imports. Fixes RTbug #1992.
160    
161            * test/test_classgen.py (TestFixedRamp): Test for the FixedRamp class.
162    
163            * test/test_classification.py
164            (TestClassification.test_classification): Remove tests for methods
165            that no longer exist.
166    
167            * test/test_layer.py (SetShapeStoreTests.setUp): Classification
168            __init__ no longer has a field parameter, use SetClassificationField.
169            (SetShapeStoreTests.test_sanity): Use layer object to get class
170            field info.
171    
172            * test/test_save.py (SaveSessionTest.testClassifiedLayer): Use
173            SetClassificationField on layer to set class field info.
174    
175            * test/test_viewport.py: Renamed from test/test_view.py.
176    
177    2003-07-16  Jan-Oliver Wagner <[email protected]>
178    
179            * Doc/manual/thuban-manual.xml: Added authors and an initial
180            coarse structure.
181    
182    2003-07-15  Bernhard Herzog  <[email protected]>
183    
184            * test/support.py (FloatComparisonMixin): This is a mix-in class
185            and therefore should not be derived from any other class.
186    
187            * test/test_range.py (RangeTest): FloatComparisonMixin is a
188            mix-in, so derive from TestCase as well.
189    
190    2003-07-15  Bernhard Herzog  <[email protected]>
191    
192            * Thuban/UI/renderer.py (MapRenderer.draw_shape_layer): Rework the
193            draw_func handling a bit to remove one layer of indirection. This
194            makes the renderer about 10% faster in the non-classifying case
195            and the code a bit cleaner
196            (MapRenderer.draw_point_shape): Add the pen and brush parameters
197            and set them in the dc. Now the draw_point_shape method and
198            wxproj's draw_polygon_shape function have basically the same
199            signature so that both can be directly used as draw_func
200    
201  2003-07-15  Bernhard Herzog  <[email protected]>  2003-07-15  Bernhard Herzog  <[email protected]>
202    
203          * Thuban/Model/save.py (SessionSaver.write_classification): Encode          * Thuban/Model/save.py (SessionSaver.write_classification): Encode

Legend:
Removed from v.1418  
changed lines
  Added in v.1459

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26