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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26