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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26