/[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 1497 by frank, Tue Jul 29 12:07:41 2003 UTC
# Line 1  Line 1 
1    2003-07-29  Frank Koormann   <[email protected]>
2    
3            * Doc/manual/thuban-manual.xml: gaspell-checked.
4    
5    2003-07-29  Jonathan Coles   <[email protected]>
6    
7            * Doc/manual/images/3_5_legend.png: Added border to improve look
8            on white background.
9    
10    2003-07-29  Jonathan Coles   <[email protected]>
11    
12            * Doc/manual/thuban-manual.xml: Fixed grammar and typos. Added
13            descriptions for the legend toolbar.
14    
15            * Doc/manual/images/4_2_raster_layer_properties.png: Removed
16            cursor from dialog box.
17    
18    2003-07-28  Jonathan Coles   <[email protected]>
19    
20            * Doc/manual/thuban-manual.xml: More screenshots and more chapters.
21    
22            * Doc/manual/images/2_4_session_tree.png,
23            Doc/manual/images/3_5_legend.png, Doc/manual/images/3_rename_map.png,
24            Doc/manual/images/4_2_layer_properties.png,
25            Doc/manual/images/4_2_raster_layer_properties.png,
26            Doc/manual/images/5_3_genclass.png,
27            Doc/manual/images/5_classification.png,
28            Doc/manual/images/6_projection.png,
29            Doc/manual/images/7_1_table_view.png,
30            Doc/manual/images/7_2_5_join.png: New screenshots.
31    
32    2003-07-24  Jonathan Coles   <[email protected]>
33    
34            * Doc/manual/thuban-manual.xml: Chapter on Projection Management.
35    
36    2003-07-24  Jonathan Coles   <[email protected]>
37    
38            * Doc/manual/thuban-manual.xml: Added EPS images and wrote
39            chapter on Layer Management.
40    
41            * Doc/manual/Makefile: New. Makefile to generate all formats for the
42            manual and images.
43    
44    2003-07-24  Bernhard Herzog  <[email protected]>
45    
46            * Thuban/Model/range.py, Thuban/version.py: Remove the #! line as
47            it annoys lintian which warns about these files not being
48            executable. The #1 isn't necessary here since if you absolutely
49            must execute them you can always say "python <filename>".
50    
51            * Thuban/UI/renderer.py (ScreenRenderer.draw_shape_layer): Remove
52            superfluous code to set brush and pen for point shapes
53    
54            * Thuban/UI/viewport.py: Remove commented out code that wouldn't
55            belong in viewport anyway
56    
57    2003-07-24  Frank Koormann   <[email protected]>
58    
59            * Doc/manual/thuban-manual.xml: Added section on table management.
60    
61    2003-07-24  Bernhard Herzog  <[email protected]>
62    
63            * test/runtests.py (main): Recognize the long "verbose" option
64            correctly.
65    
66    2003-07-22  Jonathan Coles   <[email protected]>
67    
68            * Doc/manual/thuban-manual.xml: Continue to write first revision
69            of the manual.
70    
71            * Thuban/UI/renderer.py (MapRenderer.render_map): Wrap method
72            with Begin/EndDrawing() calls to ensure we aren't doing to
73            many updates to the dc during rendering.
74            (ScreenRenderer.draw_shape_layer): self.draw_point_shape takes
75            a pen and brush argument so they need to be passed to the function.
76    
77            * Thuban/UI/viewport.py (ViewPort.calc_min_max_scales): New.
78            Calculates the minimum and maximum scale values. Factored out
79            of set_view_transform so that it could be used to zoom all the
80            way into a single point.
81            (ViewPort.set_view_transform): Call calc_min_max_scales().
82            (ViewPort.FitSelectedToWindow): Zoom to the maximum scale
83            if only a single point is selected.
84    
85            * Doc/manual/images/1_2_legend_close.png,
86            Doc/manual/images/1_2_legend_dock.png,
87            Doc/manual/images/1_2_mainwindow.png,
88            Doc/manual/images/1_2_mainwindow.ps,
89            Doc/manual/images/1_2_mainwindow.sk,
90            Doc/manual/images/3_2_fullextent.png,
91            Doc/manual/images/3_2_fulllayerextent.png,
92            Doc/manual/images/3_2_fullshapeextent.png,
93            Doc/manual/images/3_2_pan.png,
94            Doc/manual/images/3_2_zoomin.png,
95            Doc/manual/images/3_2_zoomout.png,
96            Doc/manual/images/3_3_identify.png,
97            Doc/manual/images/3_3_label.png,
98            Doc/manual/images/3_5_invisible.png,
99            Doc/manual/images/3_5_movedown.png,
100            Doc/manual/images/3_5_moveup.png,
101            Doc/manual/images/3_5_props.png,
102            Doc/manual/images/3_5_tobottom.png,
103            Doc/manual/images/3_5_totop.png,
104            Doc/manual/images/3_5_visible.png: New. Images for the documentation.
105    
106    2003-07-18  Bernhard Herzog  <[email protected]>
107    
108            * Thuban/UI/messages.py (MAP_REPLACED): New message.
109    
110            * Thuban/UI/viewport.py (ViewPort.SetMap): Issue MAP_REPLACED
111            after the new map has been assigned
112    
113            * Thuban/UI/mainwindow.py (MainWindow.delegated_messages):
114            Delegate MAP_REPLACED to the canvas too
115            (MainWindow.prepare_new_session): Removed. Thanks to the new
116            MAP_REPLACED message it's no longer needed
117            (MainWindow.OpenSession, MainWindow.NewSession):
118            prepare_new_session has been removed.
119    
120            * Thuban/UI/classifier.py (Classifier.__init__): Subscribe to
121            MAP_REPLACED so that we can close the dialog if a new map is set.
122            (Classifier.unsubscribe_messages): Unsubscribe from MAP_REPLACED
123            (Classifier.map_replaced): Handle MAP_REPLACED by closing the
124            dialog
125    
126            * test/test_viewport.py (SimpleViewPortTest)
127            (SimpleViewPortTest.test_default_size): Add doc-strings
128            (ViewPortTest.setUp): Bind map to self.map so we can use it in
129            tests. Subscribe to MAP_REPLACED messages too.
130            (ViewPortTest.tearDown): No need to explicitly unsubscribe
131            (ViewPortTest.test_set_map): New test for the SetMap method.
132    
133    2003-07-18  Bernhard Herzog  <[email protected]>
134    
135            * test/test_viewport.py (SimpleViewPortTest.test_default_size):
136            Move this test from ViewPortTest.setUp to this new separate test
137            case. setUp is not the place for the actual tests.
138            (ViewPortTest.test_inital_settings, ViewPortTest.setUp): Move some
139            more of the test from setUp to the new test test_inital_settings.
140            (ViewPortTest.test_win_to_proj, ViewPortTest.test_proj_to_win)
141            (ViewPortTest.test_proj_conv): Split test_proj_conv into
142            test_win_to_proj and test_proj_to_win and make the tests easier to
143            understand
144            (ViewPortTest.testFitRectToWindow, ViewPortTest.testZoomFactor)
145            (ViewPortTest.testZoomOutToRect, ViewPortTest.testTranslate)
146            (ViewPortTest.test_unprojected_rect_around_point)
147            (ViewPortTest.test_find_shape_at, ViewPortTest.testTools):
148            Reformat to increase readability.
149    
150    2003-07-18  Bernhard Herzog  <[email protected]>
151    
152            * Thuban/UI/view.py (MapCanvas.OnLeftDown): Capture the mouse.
153    
154    2003-07-18  Bernhard Herzog  <[email protected]>
155    
156            * test/runtests.py: The test suite can now be run without an X
157            connection. To make sure this remains true, remove the DISPLAY
158            environment variable so that an error occurs if the wxGTK is
159            imported accidentally
160    
161    2003-07-18  Bernhard Herzog  <[email protected]>
162    
163            * Thuban/UI/viewport.py: Remove unused imports
164    
165            * Thuban/UI/view.py: Remove unused imports
166    
167    2003-07-18  Bernhard Herzog  <[email protected]>
168    
169            * test/test_export.py Remove unused imports. The OutputTransform
170            function is now in viewport.py and is called output_transform
171            (TestScalebar.test_output_transform)
172            (TestScalebar.test_OutputTransform): Renamed to
173            test_output_transform and updated to use output_transform instead
174            of OutputTransform
175    
176            * Thuban/UI/view.py (OutputTransform): Moved to viewport.py and
177            renamed.
178            (MapCanvas.Export, MapPrintout.draw_on_dc): OutputTransform was
179            renamed to output_transform
180    
181            * Thuban/UI/viewport.py (OutputTransform, output_transform):
182            Rename to output_transform
183    
184    2003-07-18  Bernhard Herzog  <[email protected]>
185    
186            * Thuban/Model/layer.py (Layer.__init__): Rename
187            classificationField to classificatin_column and init it here so
188            that it can be used in SetClassificationColumn
189            (Layer.GetClassificationColumn, Layer.GetClassificationField):
190            Rename to GetClassificationColumn.
191            (Layer.SetClassificationColumn, Layer.SetClassificationField):
192            Rename to SetClassificationColumn and issue a LAYER_CHANGED
193            message if the column changes.
194            (Layer._classification_changed, Layer.ClassChanged): Rename to
195            _classification_changed. Update the callers.
196            (Layer.SetShapeStore): Further field->column renames.
197    
198            * Thuban/Model/load.py (SessionLoader.start_classification)
199            (SessionLoader.start_clpoint): Updates because of
200            field->column method name changes in the Layer class
201    
202            * Thuban/Model/save.py (SessionSaver.write_classification): Updates
203            because of field->column method name changes in the Layer class
204    
205            * Thuban/UI/classifier.py (Classifier.__init__)
206            (Classifier._OnTry, Classifier._OnRevert): Updates because of
207            field->column method name changes in the Layer class
208    
209            * Thuban/UI/renderer.py (MapRenderer.draw_shape_layer): Updates
210            because of field->column method name changes in the Layer class
211    
212            * Thuban/UI/viewport.py (ViewPort.find_shape_at): Updates because
213            of field->column method name changes in the Layer class
214    
215            * test/test_save.py (SaveSessionTest.testClassifiedLayer)
216            (SaveSessionTest.testClassifiedLayer): Update because of
217            field->column method name changes in the Layer class
218    
219            * test/test_layer.py (SetShapeStoreTests.setUp)
220            (SetShapeStoreTests.test_sanity): Update because of field->column
221            method name changes in the Layer class
222            (TestLayerModification.setUp): Subscribe to LAYER_CHANGED as well
223            (TestLayerModification.test_sanity)
224            (TestLayerModification.test_initial_settings): remove unsued code
225            and rename to test_sanity.
226            (TestLayerModification.test_set_classification): New test for
227            SetClassification and SetClassificationField.
228    
229    2003-07-18  Bernhard Herzog  <[email protected]>
230    
231            * test/test_classgen.py (TestFixedRamp.test): Extend test to check
232            the non-fixed values as well. The old test would have accepted a
233            fixed ramp that only returnes the fixed properties
234    
235    2003-07-17  Jonathan Coles   <[email protected]>
236    
237            * Doc/manual/mainwindow.png, Doc/manual/mainwindow.xcf: Screen
238            shots for the manual. The XCF file is the source image and
239            has additional layers to support changes.
240    
241            * Doc/manual/thuban-manual.xml: Wrote an initial Introduction.
242    
243            * Thuban/UI/classifier.py (Classifier.__BuildClassification):
244            Return both the new class and the field name.
245    
246            * Thuban/UI/mainwindow.py (MainWindow.ToggleLegend): Don't
247            fit the map to the window as this changes any zoom level that
248            the user may have set.
249    
250    2003-07-16  Jonathan Coles   <[email protected]>
251    
252            * Thuban/Model/classgen.py (generate_singletons,
253            generate_uniform_distribution, generate_quantiles): Remove
254            fixes parameter, but maintain the same functionality by having
255            the calling function pass a FixedRamp object for the ramp.
256            (FixedRamp): New. Adapts a ramp to have fixed property values.
257    
258            * Thuban/Model/classification.py: Use new CLASS_CHANGED message.
259            (Classification): Inherit from Publisher.
260            (Classification.__init__): Remove the layer parameter.
261            Classifications no longer need to have a parent layer.
262            (Classification.GetField, Classification.GetFieldType,
263            Classification.SetFieldInfo): Removed. The field name is stored
264            in the layer, and the type can be retreived by calling
265            Layer.GetFieldType().
266            (Classification._set_layer, Classification.GetLayer): Removed.
267            Classifications no longer have a parent layer.
268    
269            * Thuban/Model/layer.py (Layer.Destroy): Unsubscribe from the
270            classification.
271            (Layer.SetShapeStore): Reset the classification first while
272            we still have the old shape store to work with.
273            (Layer.GetClassificationField, Layer.SetClassificationField):
274            New. Method for getting/setting the field to classify on.
275            (Layer.SetClassification): Simplified now that the layer
276            simply has to hold a reference to the classification and not
277            tell the classification who owns it.
278            Fixes RTbug #2023.
279    
280            * Thuban/Model/load.py (SessionLoader.start_classification):
281            Set the field name on the layer, not the classification.
282    
283            * Thuban/Model/messages.py: Add CLASS_CHANGED for when a
284            classification is modified.
285    
286            * Thuban/Model/save.py (SessionSaver.write_classification):
287            Get the field name and type from the layer.
288    
289            * Thuban/Model/table.py (table_to_dbf, table_to_csv): Renamed
290            parameter records to rows and add docstring. Fixes RTbug #1997.
291    
292            * Thuban/UI/classgen.py (ClassGenDialog.OnOK): Use a fixed
293            ramp when we need to fix certain values of a ramp rather than
294            using the old fixes parameter. Fixes RTbug #2024.
295    
296            * Thuban/UI/classifier.py (ClassGrid.CreateTable): Add fieldType
297            parameter.
298            (ClassTable.Reset): Add fieldType parameter and use it, rather
299            than asking the classification.
300            (Classifier.__init__): Remember the original class's field
301            and ask the layer for the field type, rather than the classification.
302            (Classifier.__SetGridTable): Retrieve the field and field type
303            for the table because they are not in the classification.
304            (Classifier._OnTry, Classifier._OnRevert): Set the classification
305            field on the layer in addition to the classification itself.
306    
307            * Thuban/UI/renderer.py (MapRenderer.draw_shape_layer): Get the
308            classification field from layer.
309    
310            * Thuban/UI/viewport.py (ViewPort.find_shape_at): Get the
311            classification field from layer. Split up tests and remove
312            *-imports. Fixes RTbug #1992.
313    
314            * test/test_classgen.py (TestFixedRamp): Test for the FixedRamp class.
315    
316            * test/test_classification.py
317            (TestClassification.test_classification): Remove tests for methods
318            that no longer exist.
319    
320            * test/test_layer.py (SetShapeStoreTests.setUp): Classification
321            __init__ no longer has a field parameter, use SetClassificationField.
322            (SetShapeStoreTests.test_sanity): Use layer object to get class
323            field info.
324    
325            * test/test_save.py (SaveSessionTest.testClassifiedLayer): Use
326            SetClassificationField on layer to set class field info.
327    
328            * test/test_viewport.py: Renamed from test/test_view.py.
329    
330    2003-07-16  Jan-Oliver Wagner <[email protected]>
331    
332            * Doc/manual/thuban-manual.xml: Added authors and an initial
333            coarse structure.
334    
335    2003-07-15  Bernhard Herzog  <[email protected]>
336    
337            * test/support.py (FloatComparisonMixin): This is a mix-in class
338            and therefore should not be derived from any other class.
339    
340            * test/test_range.py (RangeTest): FloatComparisonMixin is a
341            mix-in, so derive from TestCase as well.
342    
343    2003-07-15  Bernhard Herzog  <[email protected]>
344    
345            * Thuban/UI/renderer.py (MapRenderer.draw_shape_layer): Rework the
346            draw_func handling a bit to remove one layer of indirection. This
347            makes the renderer about 10% faster in the non-classifying case
348            and the code a bit cleaner
349            (MapRenderer.draw_point_shape): Add the pen and brush parameters
350            and set them in the dc. Now the draw_point_shape method and
351            wxproj's draw_polygon_shape function have basically the same
352            signature so that both can be directly used as draw_func
353    
354  2003-07-15  Bernhard Herzog  <[email protected]>  2003-07-15  Bernhard Herzog  <[email protected]>
355    
356          * 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.1497

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26