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

Legend:
Removed from v.1403  
changed lines
  Added in v.1503

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26