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

Legend:
Removed from v.1403  
changed lines
  Added in v.1457

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26