/[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 1451 by bh, Fri Jul 18 10:19:19 2003 UTC revision 1550 by jan, Wed Aug 6 11:19:41 2003 UTC
# Line 1  Line 1 
1    2003-08-06  Jan-Oliver Wagner <[email protected]>
2    
3            * Thuban/UI/projdialog.py (UTMPanel._OnPropose): Added test for
4            a bounding box. A dialog is raised in case, no bounding box
5            is found. This fixes bug #2043:
6            https://intevation.de/rt/webrt?serial_num=2043
7    
8    2003-08-05  Bernhard Herzog  <[email protected]>
9    
10            * Thuban/Model/color.py (Color.__repr__): Make the repr of a color
11            object look like a Color instantiation. Formerly it looked like a
12            tuple.
13    
14            * test/test_color.py (TestColor.test_repr)
15            (TestColor.test_equality, TestColor.test_inequality): New. test
16            some more apects of the Color class
17            (TestTransparent.test_repr, TestTransparent.test_hex)
18            (TestTransparent.test_equality): New. Test cases for the
19            Transparent object.
20    
21    2003-08-04  Jan-Oliver Wagner <[email protected]>
22    
23            * Doc/manual/thuban-manual.xml: a number of small improvements.
24            The resulting file is the version submitted for GREAT-ER II.
25    
26    2003-08-01  Bernhard Herzog  <[email protected]>
27    
28            * Thuban/UI/resource.py, Thuban/UI/projdialog.py,
29            Thuban/UI/join.py, Thuban/UI/classgen.py, Thuban/UI/about.py,
30            Thuban/Model/resource.py: Insert cvs keywords and doc-strings.
31    
32            * Thuban/UI/common.py: Insert cvs keywords and doc-strings.
33            (Color2wxColour, wxColour2Color, ThubanBeginBusyCursor)
34            (ThubanEndBusyCursor): Add doc-strings
35    
36    2003-08-01  Bernhard Herzog  <[email protected]>
37    
38            First step towards PostGIS integration. More abstraction by movin
39            more code from the layer to the shapestore. More methods of the
40            layer are now simply delegated to the equivalent method of the
41            shapestore. The SHAPETYPE_* constants are now in data not in
42            layer.
43    
44            * Thuban/Model/data.py (SHAPETYPE_POLYGON, SHAPETYPE_ARC)
45            (SHAPETYPE_POINT, Shape): Move these constants and classes from
46            layer.py to data.py
47            (ShapefileStore.__init__): More Initialization for the new methods
48            and functionality.
49            (ShapefileStore.ShapeType, ShapefileStore.NumShapes)
50            (ShapefileStore.BoundingBox, ShapefileStore.ShapesInRegion)
51            (ShapefileStore.Shape): New methods that were formerly implemented
52            in the layer.
53            (DerivedShapeStore.Shape, DerivedShapeStore.ShapesInRegion)
54            (DerivedShapeStore.ShapeType, DerivedShapeStore.NumShapes)
55            (DerivedShapeStore.BoundingBox): New. DerivedShapeStore
56            equivalents of the new shape methods. These versions are simply
57            delegated to the original shapstore.
58    
59            * Thuban/Model/layer.py (SHAPETYPE_POLYGON, SHAPETYPE_ARC)
60            (SHAPETYPE_POINT, Shape): Removed. They're now in data.py
61            (Layer.SetShapeStore): Removed the initializatin of instance
62            variables that were needed for the stuff that's now in
63            ShapefileStore
64            (Layer.BoundingBox, Layer.NumShapes, Layer.ShapeType)
65            (Layer.Shape, Layer.ShapesInRegion): Simply delegate to the
66            shapestore.
67    
68            * Thuban/UI/classifier.py, Thuban/UI/renderer.py,
69            Thuban/UI/viewport.py: Import the SHAPETYPE_* constants from data
70            instead of layer.
71    
72            * test/test_shapefilestore.py: New. Tests for ShapefileStore.
73    
74            * test/test_derivedshapestore.py: New. Tests for DerivedShapeStore.
75    
76            * test/test_layer.py: Import the SHAPETYPE_* constants from data
77            instead of layer.
78            (TestLayer.test_derived_store): Remove the test for the exception
79            when instantiating the DerivedShapeStore with an incompatible
80            table which is now in test_derivedshapestore.py. Add some more
81            tests of the layer methods to determine whether they work for a
82            DerivedShapeStore as well.
83    
84    2003-07-31  Jonathan Coles   <[email protected]>
85    
86            * Doc/manual/thuban-manual.xml: Fix the list of required packages
87            by just listing the name and where they can be found.
88    
89    2003-07-31  Frank Koormann   <[email protected]>
90    
91            * Doc/manual/thuban-manual.xml:
92            Changed the screenshot elements to figure.
93            Changed some variablelist elements to itemizedlist.
94            Added section on GDAL formats.
95    
96    2003-07-31  Jonathan Coles   <[email protected]>
97    
98            * Doc/manual/thuban-manual.xml: Added a few sentences about
99            the Fix Border Color option when generating classes.
100    
101    2003-07-30  Jonathan Coles   <[email protected]>
102    
103            * Thuban/Model/classgen.py: Add docstrings. Rename specific
104            Ramp instances to use lower_case_style.
105    
106            * Thuban/UI/classgen.py: Use renamed Ramp instances.
107            
108            * Thuban/UI/classifier.py: Add docstrings.
109    
110            * Thuban/UI/dock.py: Add docstrings.
111    
112            * test/test_classgen.py: Use renamed Ramp instances.
113    
114    2003-07-30  Bernhard Herzog  <[email protected]>
115    
116            * Thuban/Lib/connector.py (QueueingPublisher): Removed. This class
117            was never used in Thuban.
118    
119    2003-07-30  Bernhard Herzog  <[email protected]>
120    
121            * Thuban/UI/join.py (JoinDialog.__init__): Use the table's Title()
122            method directly instead of going through the transient_table
123            method. This faster because transient_table may force the copy of
124            a DBF file into the transient database and setting a table's title
125            doesnm't affect the title of the associated transient table, so
126            this fixes RT #2042
127    
128            * Thuban/UI/main.py (__version__): Don't import the already
129            removed show_exception_dialog.
130    
131    2003-07-29  Jonathan Coles   <[email protected]>
132    
133            * Thuban/UI/application.py (ThubanApplication.ShowExceptionDialog):
134            Put back this method and remove the equivalent function since we
135            are setting the exception hook from within this class (OnInit).
136    
137    2003-07-29  Jonathan Coles   <[email protected]>
138    
139            * Doc/manual/images/5_2_custom_ramp.png,
140            Doc/manual/images/5_2_quantiles.png,
141            Doc/manual/images/5_2_uniform_dist.png,
142            Doc/manual/images/5_2_unique_values.png,
143            Doc/manual/images/8_int_error.png: New screen shots.
144    
145            * Doc/manual/thuban-manual.xml: Fixed typos and wording, clarified
146            some points, and added more screen shots.
147    
148    2003-07-29  Bernhard Herzog  <[email protected]>
149    
150            * Thuban/Model/data.py: Remove the now unused import of warnings
151    
152    2003-07-29  Bernhard Herzog  <[email protected]>
153    
154            * Thuban/Model/data.py (SimpleStore): Removed. This class has been
155            deprecated since before the 0.8 release and isn't used in Thuban
156            itself anymore.
157    
158            * Thuban/Model/transientdb.py: Remove some unnecessary imports
159    
160    2003-07-29  Jonathan Coles   <[email protected]>
161    
162            * Thuban/UI/application.py (ThubanApplication.OnInit): set the
163            python exception hook here so that we are sure to catch any
164            Thuban exception that happen during initialization.
165    
166            * Thuban/UI/main.py (main): Don't set the exception hook here,
167            it will get set in ThubanApplication.OnInit.
168    
169    2003-07-29  Jonathan Coles   <[email protected]>
170                                                                                
171            * Thuban/UI/application.py (ThubanApplication.ShowExceptionDialog):
172            Removed and called it show_exception_dialog() so that the exception
173            handler can be set before the class is created.
174                                                                                
175            * Thuban/UI/main.py (main): Install the exception handler before
176            a ThubanApplication is created.
177                                                                                    
178    2003-07-29  Bernhard Herzog  <[email protected]>
179    
180            * po/it.po: New. Italian translation by Maurizio Napolitano
181    
182            * po/ru.po: New. Russian translation by Alex Shevlakov
183    
184    2003-07-29  Frank Koormann   <[email protected]>
185    
186            * Doc/manual/thuban-manual.xml: Extended section on supported
187            projections.
188            
189    2003-07-29  Frank Koormann   <[email protected]>
190    
191            * Doc/manual/thuban-manual.xml: gaspell-checked.
192    
193    2003-07-29  Jonathan Coles   <[email protected]>
194    
195            * Doc/manual/images/3_5_legend.png: Added border to improve look
196            on white background.
197    
198    2003-07-29  Jonathan Coles   <[email protected]>
199    
200            * Doc/manual/thuban-manual.xml: Fixed grammar and typos. Added
201            descriptions for the legend toolbar.
202    
203            * Doc/manual/images/4_2_raster_layer_properties.png: Removed
204            cursor from dialog box.
205    
206    2003-07-28  Jonathan Coles   <[email protected]>
207    
208            * Doc/manual/thuban-manual.xml: More screenshots and more chapters.
209    
210            * Doc/manual/images/2_4_session_tree.png,
211            Doc/manual/images/3_5_legend.png, Doc/manual/images/3_rename_map.png,
212            Doc/manual/images/4_2_layer_properties.png,
213            Doc/manual/images/4_2_raster_layer_properties.png,
214            Doc/manual/images/5_3_genclass.png,
215            Doc/manual/images/5_classification.png,
216            Doc/manual/images/6_projection.png,
217            Doc/manual/images/7_1_table_view.png,
218            Doc/manual/images/7_2_5_join.png: New screenshots.
219    
220    2003-07-24  Jonathan Coles   <[email protected]>
221    
222            * Doc/manual/thuban-manual.xml: Chapter on Projection Management.
223    
224    2003-07-24  Jonathan Coles   <[email protected]>
225    
226            * Doc/manual/thuban-manual.xml: Added EPS images and wrote
227            chapter on Layer Management.
228    
229            * Doc/manual/Makefile: New. Makefile to generate all formats for the
230            manual and images.
231    
232    2003-07-24  Bernhard Herzog  <[email protected]>
233    
234            * Thuban/Model/range.py, Thuban/version.py: Remove the #! line as
235            it annoys lintian which warns about these files not being
236            executable. The #1 isn't necessary here since if you absolutely
237            must execute them you can always say "python <filename>".
238    
239            * Thuban/UI/renderer.py (ScreenRenderer.draw_shape_layer): Remove
240            superfluous code to set brush and pen for point shapes
241    
242            * Thuban/UI/viewport.py: Remove commented out code that wouldn't
243            belong in viewport anyway
244    
245    2003-07-24  Frank Koormann   <[email protected]>
246    
247            * Doc/manual/thuban-manual.xml: Added section on table management.
248    
249    2003-07-24  Bernhard Herzog  <[email protected]>
250    
251            * test/runtests.py (main): Recognize the long "verbose" option
252            correctly.
253    
254    2003-07-22  Jonathan Coles   <[email protected]>
255    
256            * Doc/manual/thuban-manual.xml: Continue to write first revision
257            of the manual.
258    
259            * Thuban/UI/renderer.py (MapRenderer.render_map): Wrap method
260            with Begin/EndDrawing() calls to ensure we aren't doing to
261            many updates to the dc during rendering.
262            (ScreenRenderer.draw_shape_layer): self.draw_point_shape takes
263            a pen and brush argument so they need to be passed to the function.
264    
265            * Thuban/UI/viewport.py (ViewPort.calc_min_max_scales): New.
266            Calculates the minimum and maximum scale values. Factored out
267            of set_view_transform so that it could be used to zoom all the
268            way into a single point.
269            (ViewPort.set_view_transform): Call calc_min_max_scales().
270            (ViewPort.FitSelectedToWindow): Zoom to the maximum scale
271            if only a single point is selected.
272    
273            * Doc/manual/images/1_2_legend_close.png,
274            Doc/manual/images/1_2_legend_dock.png,
275            Doc/manual/images/1_2_mainwindow.png,
276            Doc/manual/images/1_2_mainwindow.ps,
277            Doc/manual/images/1_2_mainwindow.sk,
278            Doc/manual/images/3_2_fullextent.png,
279            Doc/manual/images/3_2_fulllayerextent.png,
280            Doc/manual/images/3_2_fullshapeextent.png,
281            Doc/manual/images/3_2_pan.png,
282            Doc/manual/images/3_2_zoomin.png,
283            Doc/manual/images/3_2_zoomout.png,
284            Doc/manual/images/3_3_identify.png,
285            Doc/manual/images/3_3_label.png,
286            Doc/manual/images/3_5_invisible.png,
287            Doc/manual/images/3_5_movedown.png,
288            Doc/manual/images/3_5_moveup.png,
289            Doc/manual/images/3_5_props.png,
290            Doc/manual/images/3_5_tobottom.png,
291            Doc/manual/images/3_5_totop.png,
292            Doc/manual/images/3_5_visible.png: New. Images for the documentation.
293    
294    2003-07-18  Bernhard Herzog  <[email protected]>
295    
296            * Thuban/UI/messages.py (MAP_REPLACED): New message.
297    
298            * Thuban/UI/viewport.py (ViewPort.SetMap): Issue MAP_REPLACED
299            after the new map has been assigned
300    
301            * Thuban/UI/mainwindow.py (MainWindow.delegated_messages):
302            Delegate MAP_REPLACED to the canvas too
303            (MainWindow.prepare_new_session): Removed. Thanks to the new
304            MAP_REPLACED message it's no longer needed
305            (MainWindow.OpenSession, MainWindow.NewSession):
306            prepare_new_session has been removed.
307    
308            * Thuban/UI/classifier.py (Classifier.__init__): Subscribe to
309            MAP_REPLACED so that we can close the dialog if a new map is set.
310            (Classifier.unsubscribe_messages): Unsubscribe from MAP_REPLACED
311            (Classifier.map_replaced): Handle MAP_REPLACED by closing the
312            dialog
313    
314            * test/test_viewport.py (SimpleViewPortTest)
315            (SimpleViewPortTest.test_default_size): Add doc-strings
316            (ViewPortTest.setUp): Bind map to self.map so we can use it in
317            tests. Subscribe to MAP_REPLACED messages too.
318            (ViewPortTest.tearDown): No need to explicitly unsubscribe
319            (ViewPortTest.test_set_map): New test for the SetMap method.
320    
321    2003-07-18  Bernhard Herzog  <[email protected]>
322    
323            * test/test_viewport.py (SimpleViewPortTest.test_default_size):
324            Move this test from ViewPortTest.setUp to this new separate test
325            case. setUp is not the place for the actual tests.
326            (ViewPortTest.test_inital_settings, ViewPortTest.setUp): Move some
327            more of the test from setUp to the new test test_inital_settings.
328            (ViewPortTest.test_win_to_proj, ViewPortTest.test_proj_to_win)
329            (ViewPortTest.test_proj_conv): Split test_proj_conv into
330            test_win_to_proj and test_proj_to_win and make the tests easier to
331            understand
332            (ViewPortTest.testFitRectToWindow, ViewPortTest.testZoomFactor)
333            (ViewPortTest.testZoomOutToRect, ViewPortTest.testTranslate)
334            (ViewPortTest.test_unprojected_rect_around_point)
335            (ViewPortTest.test_find_shape_at, ViewPortTest.testTools):
336            Reformat to increase readability.
337    
338    2003-07-18  Bernhard Herzog  <[email protected]>
339    
340            * Thuban/UI/view.py (MapCanvas.OnLeftDown): Capture the mouse.
341    
342    2003-07-18  Bernhard Herzog  <[email protected]>
343    
344            * test/runtests.py: The test suite can now be run without an X
345            connection. To make sure this remains true, remove the DISPLAY
346            environment variable so that an error occurs if the wxGTK is
347            imported accidentally
348    
349    2003-07-18  Bernhard Herzog  <[email protected]>
350    
351            * Thuban/UI/viewport.py: Remove unused imports
352    
353            * Thuban/UI/view.py: Remove unused imports
354    
355    2003-07-18  Bernhard Herzog  <[email protected]>
356    
357            * test/test_export.py Remove unused imports. The OutputTransform
358            function is now in viewport.py and is called output_transform
359            (TestScalebar.test_output_transform)
360            (TestScalebar.test_OutputTransform): Renamed to
361            test_output_transform and updated to use output_transform instead
362            of OutputTransform
363    
364            * Thuban/UI/view.py (OutputTransform): Moved to viewport.py and
365            renamed.
366            (MapCanvas.Export, MapPrintout.draw_on_dc): OutputTransform was
367            renamed to output_transform
368    
369            * Thuban/UI/viewport.py (OutputTransform, output_transform):
370            Rename to output_transform
371    
372    2003-07-18  Bernhard Herzog  <[email protected]>
373    
374            * Thuban/Model/layer.py (Layer.__init__): Rename
375            classificationField to classificatin_column and init it here so
376            that it can be used in SetClassificationColumn
377            (Layer.GetClassificationColumn, Layer.GetClassificationField):
378            Rename to GetClassificationColumn.
379            (Layer.SetClassificationColumn, Layer.SetClassificationField):
380            Rename to SetClassificationColumn and issue a LAYER_CHANGED
381            message if the column changes.
382            (Layer._classification_changed, Layer.ClassChanged): Rename to
383            _classification_changed. Update the callers.
384            (Layer.SetShapeStore): Further field->column renames.
385    
386            * Thuban/Model/load.py (SessionLoader.start_classification)
387            (SessionLoader.start_clpoint): Updates because of
388            field->column method name changes in the Layer class
389    
390            * Thuban/Model/save.py (SessionSaver.write_classification): Updates
391            because of field->column method name changes in the Layer class
392    
393            * Thuban/UI/classifier.py (Classifier.__init__)
394            (Classifier._OnTry, Classifier._OnRevert): Updates because of
395            field->column method name changes in the Layer class
396    
397            * Thuban/UI/renderer.py (MapRenderer.draw_shape_layer): Updates
398            because of field->column method name changes in the Layer class
399    
400            * Thuban/UI/viewport.py (ViewPort.find_shape_at): Updates because
401            of field->column method name changes in the Layer class
402    
403            * test/test_save.py (SaveSessionTest.testClassifiedLayer)
404            (SaveSessionTest.testClassifiedLayer): Update because of
405            field->column method name changes in the Layer class
406    
407            * test/test_layer.py (SetShapeStoreTests.setUp)
408            (SetShapeStoreTests.test_sanity): Update because of field->column
409            method name changes in the Layer class
410            (TestLayerModification.setUp): Subscribe to LAYER_CHANGED as well
411            (TestLayerModification.test_sanity)
412            (TestLayerModification.test_initial_settings): remove unsued code
413            and rename to test_sanity.
414            (TestLayerModification.test_set_classification): New test for
415            SetClassification and SetClassificationField.
416    
417  2003-07-18  Bernhard Herzog  <[email protected]>  2003-07-18  Bernhard Herzog  <[email protected]>
418    
419          * test/test_classgen.py (TestFixedRamp.test): Extend test to check          * test/test_classgen.py (TestFixedRamp.test): Extend test to check

Legend:
Removed from v.1451  
changed lines
  Added in v.1550

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26