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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26