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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26