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

Legend:
Removed from v.1424  
changed lines
  Added in v.1500

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26