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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26