/[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 1479 by frank, Thu Jul 24 17:01:43 2003 UTC revision 1567 by bh, Fri Aug 8 13:01:44 2003 UTC
# Line 1  Line 1 
1    2003-08-08  Bernhard Herzog  <[email protected]>
2    
3            * Thuban/UI/projdialog.py (UTMProposeZoneDialog.dialogLayout):
4            Make sure translated strings are recognized as one string literal.
5    
6            * Thuban/UI/proj4dialog.py (UTMProposeZoneDialog.dialogLayout):
7            Make sure translated strings are recognized as one string literal.
8    
9            * Thuban/UI/classgen.py (ClassGenDialog.OnOK): Make sure
10            translated strings are recognized as one string literal.
11    
12            * Thuban/UI/application.py (ThubanApplication.OpenSession): Make
13            sure translated strings are recognized as one string literal.
14    
15    2003-08-07  Bernhard Herzog  <[email protected]>
16    
17            * Thuban/Model/data.py (DerivedShapeStore.RawShapeFormat): New.
18            Simply delegates to the original shapestore.
19    
20            * test/test_derivedshapestore.py
21            (TestDerivedShapeStore.test_raw_format): New. Test case for
22            DerivedShapeStore.RawShapeFormat
23    
24    2003-08-07  Bernhard Herzog  <[email protected]>
25    
26            Add raw data interface to shape objects.
27    
28            * Thuban/Model/data.py (ShapefileShape, Shape): Rname the shape
29            class to ShapefileShape which now holds shapefile specific
30            information.
31            (ShapefileShape.compute_bbox): Simplified to not cache any
32            information. The way this method is used that shouldn't matter
33            performance wise.
34            (ShapefileShape.RawData): New. Return the shapeid which is the raw
35            data format for shapes from shapefiles.
36            (ShapefileStore.RawShapeFormat): New. Return the raw datatype used
37            in the shape objects returned by a shapestore. For a
38            ShapefileStore this is always RAW_SHAPEFILE.
39            (RAW_PYTHON, RAW_SHAPEFILE): Constants for the RawShapeFormat
40            method.
41    
42            * test/test_shapefilestore.py
43            (TestShapefileStore.test_raw_format): New test to test the raw
44            format feature of shapes.
45    
46            * Thuban/Model/layer.py: Remove the unused import of Shape from
47            data. It was only there for interface compatibility but it's not
48            used inside of Thuban and the generic Shape class has gone away.
49    
50            * Thuban/UI/renderer.py (MapRenderer.low_level_renderer): Check
51            the raw data format and only use an optimized version of its a
52            shapefile.
53    
54    2003-08-07  Bernhard Herzog  <[email protected]>
55    
56            * test/test_baserenderer.py (SimpleShape): Shape class for the
57            tests.
58            (SimpleShapeStore.Shape): Use SimpleShape instead of
59            Thuban.Model.data.Shape to make the tests independed of the coming
60            changes.
61    
62    2003-08-07  Bernhard Herzog  <[email protected]>
63    
64            * test/support.py (SkipTest, ThubanTestResult, ThubanTestRunner)
65            (ThubanTestProgram): New classes that extend the respective
66            classes from unittest. These new version support skipping tests
67            under certain expected conditions. In the Thuban test suite we
68            uses this for tests that require the optional gdal support.
69            (run_tests): Use ThubanTestProgram instead of the unittest.main()
70    
71            * test/runtests.py (main): Use the new ThubanTestRunner instead of
72            the normal one from unittest
73    
74            * test/test_layer.py (TestLayer.test_raster_layer): If this test
75            is not run because gdal support isn't available report this to the
76            runner.
77    
78            * test/test_baserenderer.py
79            (TestBaseRenderer.test_raster_no_projection): Do not run this test
80            if gdal support isn't available and report this to the runner.
81    
82    2003-08-06  Bernhard Herzog  <[email protected]>
83    
84            Rearrange the renderers a bit, partly in preparation for changes
85            required for the postgis merge, partly to make it more testable.
86            Also make the representation of coordinates in Shapes more
87            consistent.
88    
89            * Thuban/UI/renderer.py (MapRenderer): Most of the code/methods in
90            this class is now in BaseRenderer. This class is now practically
91            only a specialization of BaseRenderer for rendering to an actual
92            wx DC.
93            (ScreenRenderer.draw_shape_layer): Use self.low_level_renderer()
94            to get the shapetype specific rendering functions.
95    
96            * Thuban/UI/baserenderer.py: New file with the basic rendering
97            logic. The code in this file is completely independend of wx.
98            (BaseRenderer): Class with the basic rendering logic
99    
100            * test/test_baserenderer.py: New. Test cases for BaseRenderer
101    
102            * Thuban/UI/view.py (MapCanvas.__init__): New instance variable
103            error_on_redraw to guard agains endless loops and stack overflows
104            when there's a bug in the rendering code that raises exceptions.
105            (MapCanvas.OnIdle, MapCanvas._do_redraw): Split the actual
106            rendering into a separate method _do_redraw so that error handling
107            is a bit easier. When an exception occurs, set error_on_redraw to
108            true. When it's true on entry to OnIdle do nothing and return
109            immediately.
110    
111            * Thuban/Model/data.py (ShapefileStore.Shape): For consistency, a
112            Shape object will always have the coordinates as a list of list of
113            coordinate pairs (tuples).
114            (Shape.compute_bbox): Adapt to new representation.
115    
116            * Thuban/UI/viewport.py (ViewPort.find_shape_at)
117            (ViewPort.LabelShapeAt): Adapt to new coordinate representation in
118            Shape objects.
119    
120            * test/test_shapefilestore.py
121            (ShapefileStoreTests.assertFloatTuplesEqual)
122            (ShapefileStoreTests.assertPointListEquals): Rename to
123            assertPointListEquals and change purpose to checking equality of
124            the lists returned by Shape.Points().
125            (TestShapefileStoreArc.test_shape)
126            (TestShapefileStorePolygon.test_shape)
127            (TestShapefileStorePoint.test_shape): Use the new
128            assertPointListEquals instead of assertFloatTuplesEqual
129    
130            * test/test_layer.py (TestLayer.assertFloatTuplesEqual)
131            (TestLayer.assertPointListEquals): Rename to assertPointListEquals
132            and change purpose to checking equality of the lists returned by
133            Shape.Points().
134            (TestLayer.test_arc_layer, TestLayer.test_arc_layer)
135            (TestLayer.test_polygon_layer, TestLayer.test_point_layer)
136            (TestLayer.test_derived_store): Use the new assertPointListEquals
137            instead of assertFloatTuplesEqual
138    
139            * test/test_derivedshapestore.py
140            (TestDerivedShapeStore.assertFloatTuplesEqual)
141            (TestDerivedShapeStore.assertPointListEquals): Rename to
142            assertPointListEquals and change purpose to checking equality of
143            the lists returned by Shape.Points().
144            (TestDerivedShapeStore.test_shape): Use the new
145            assertPointListEquals instead of assertFloatTuplesEqual
146    
147    2003-08-06  Jan-Oliver Wagner <[email protected]>
148    
149            * Thuban/UI/projdialog.py (UTMPanel._OnPropose): Added test for
150            a bounding box. A dialog is raised in case, no bounding box
151            is found. This fixes bug #2043:
152            https://intevation.de/rt/webrt?serial_num=2043
153    
154    2003-08-05  Bernhard Herzog  <[email protected]>
155    
156            * Thuban/Model/color.py (Color.__repr__): Make the repr of a color
157            object look like a Color instantiation. Formerly it looked like a
158            tuple.
159    
160            * test/test_color.py (TestColor.test_repr)
161            (TestColor.test_equality, TestColor.test_inequality): New. test
162            some more apects of the Color class
163            (TestTransparent.test_repr, TestTransparent.test_hex)
164            (TestTransparent.test_equality): New. Test cases for the
165            Transparent object.
166    
167    2003-08-04  Jan-Oliver Wagner <[email protected]>
168    
169            * Doc/manual/thuban-manual.xml: a number of small improvements.
170            The resulting file is the version submitted for GREAT-ER II.
171    
172    2003-08-01  Bernhard Herzog  <[email protected]>
173    
174            * Thuban/UI/resource.py, Thuban/UI/projdialog.py,
175            Thuban/UI/join.py, Thuban/UI/classgen.py, Thuban/UI/about.py,
176            Thuban/Model/resource.py: Insert cvs keywords and doc-strings.
177    
178            * Thuban/UI/common.py: Insert cvs keywords and doc-strings.
179            (Color2wxColour, wxColour2Color, ThubanBeginBusyCursor)
180            (ThubanEndBusyCursor): Add doc-strings
181    
182    2003-08-01  Bernhard Herzog  <[email protected]>
183    
184            First step towards PostGIS integration. More abstraction by movin
185            more code from the layer to the shapestore. More methods of the
186            layer are now simply delegated to the equivalent method of the
187            shapestore. The SHAPETYPE_* constants are now in data not in
188            layer.
189    
190            * Thuban/Model/data.py (SHAPETYPE_POLYGON, SHAPETYPE_ARC)
191            (SHAPETYPE_POINT, Shape): Move these constants and classes from
192            layer.py to data.py
193            (ShapefileStore.__init__): More Initialization for the new methods
194            and functionality.
195            (ShapefileStore.ShapeType, ShapefileStore.NumShapes)
196            (ShapefileStore.BoundingBox, ShapefileStore.ShapesInRegion)
197            (ShapefileStore.Shape): New methods that were formerly implemented
198            in the layer.
199            (DerivedShapeStore.Shape, DerivedShapeStore.ShapesInRegion)
200            (DerivedShapeStore.ShapeType, DerivedShapeStore.NumShapes)
201            (DerivedShapeStore.BoundingBox): New. DerivedShapeStore
202            equivalents of the new shape methods. These versions are simply
203            delegated to the original shapstore.
204    
205            * Thuban/Model/layer.py (SHAPETYPE_POLYGON, SHAPETYPE_ARC)
206            (SHAPETYPE_POINT, Shape): Removed. They're now in data.py
207            (Layer.SetShapeStore): Removed the initializatin of instance
208            variables that were needed for the stuff that's now in
209            ShapefileStore
210            (Layer.BoundingBox, Layer.NumShapes, Layer.ShapeType)
211            (Layer.Shape, Layer.ShapesInRegion): Simply delegate to the
212            shapestore.
213    
214            * Thuban/UI/classifier.py, Thuban/UI/renderer.py,
215            Thuban/UI/viewport.py: Import the SHAPETYPE_* constants from data
216            instead of layer.
217    
218            * test/test_shapefilestore.py: New. Tests for ShapefileStore.
219    
220            * test/test_derivedshapestore.py: New. Tests for DerivedShapeStore.
221    
222            * test/test_layer.py: Import the SHAPETYPE_* constants from data
223            instead of layer.
224            (TestLayer.test_derived_store): Remove the test for the exception
225            when instantiating the DerivedShapeStore with an incompatible
226            table which is now in test_derivedshapestore.py. Add some more
227            tests of the layer methods to determine whether they work for a
228            DerivedShapeStore as well.
229    
230    2003-07-31  Jonathan Coles   <[email protected]>
231    
232            * Doc/manual/thuban-manual.xml: Fix the list of required packages
233            by just listing the name and where they can be found.
234    
235    2003-07-31  Frank Koormann   <[email protected]>
236    
237            * Doc/manual/thuban-manual.xml:
238            Changed the screenshot elements to figure.
239            Changed some variablelist elements to itemizedlist.
240            Added section on GDAL formats.
241    
242    2003-07-31  Jonathan Coles   <[email protected]>
243    
244            * Doc/manual/thuban-manual.xml: Added a few sentences about
245            the Fix Border Color option when generating classes.
246    
247    2003-07-30  Jonathan Coles   <[email protected]>
248    
249            * Thuban/Model/classgen.py: Add docstrings. Rename specific
250            Ramp instances to use lower_case_style.
251    
252            * Thuban/UI/classgen.py: Use renamed Ramp instances.
253            
254            * Thuban/UI/classifier.py: Add docstrings.
255    
256            * Thuban/UI/dock.py: Add docstrings.
257    
258            * test/test_classgen.py: Use renamed Ramp instances.
259    
260    2003-07-30  Bernhard Herzog  <[email protected]>
261    
262            * Thuban/Lib/connector.py (QueueingPublisher): Removed. This class
263            was never used in Thuban.
264    
265    2003-07-30  Bernhard Herzog  <[email protected]>
266    
267            * Thuban/UI/join.py (JoinDialog.__init__): Use the table's Title()
268            method directly instead of going through the transient_table
269            method. This faster because transient_table may force the copy of
270            a DBF file into the transient database and setting a table's title
271            doesnm't affect the title of the associated transient table, so
272            this fixes RT #2042
273    
274            * Thuban/UI/main.py (__version__): Don't import the already
275            removed show_exception_dialog.
276    
277    2003-07-29  Jonathan Coles   <[email protected]>
278    
279            * Thuban/UI/application.py (ThubanApplication.ShowExceptionDialog):
280            Put back this method and remove the equivalent function since we
281            are setting the exception hook from within this class (OnInit).
282    
283    2003-07-29  Jonathan Coles   <[email protected]>
284    
285            * Doc/manual/images/5_2_custom_ramp.png,
286            Doc/manual/images/5_2_quantiles.png,
287            Doc/manual/images/5_2_uniform_dist.png,
288            Doc/manual/images/5_2_unique_values.png,
289            Doc/manual/images/8_int_error.png: New screen shots.
290    
291            * Doc/manual/thuban-manual.xml: Fixed typos and wording, clarified
292            some points, and added more screen shots.
293    
294    2003-07-29  Bernhard Herzog  <[email protected]>
295    
296            * Thuban/Model/data.py: Remove the now unused import of warnings
297    
298    2003-07-29  Bernhard Herzog  <[email protected]>
299    
300            * Thuban/Model/data.py (SimpleStore): Removed. This class has been
301            deprecated since before the 0.8 release and isn't used in Thuban
302            itself anymore.
303    
304            * Thuban/Model/transientdb.py: Remove some unnecessary imports
305    
306    2003-07-29  Jonathan Coles   <[email protected]>
307    
308            * Thuban/UI/application.py (ThubanApplication.OnInit): set the
309            python exception hook here so that we are sure to catch any
310            Thuban exception that happen during initialization.
311    
312            * Thuban/UI/main.py (main): Don't set the exception hook here,
313            it will get set in ThubanApplication.OnInit.
314    
315    2003-07-29  Jonathan Coles   <[email protected]>
316                                                                                
317            * Thuban/UI/application.py (ThubanApplication.ShowExceptionDialog):
318            Removed and called it show_exception_dialog() so that the exception
319            handler can be set before the class is created.
320                                                                                
321            * Thuban/UI/main.py (main): Install the exception handler before
322            a ThubanApplication is created.
323                                                                                    
324    2003-07-29  Bernhard Herzog  <[email protected]>
325    
326            * po/it.po: New. Italian translation by Maurizio Napolitano
327    
328            * po/ru.po: New. Russian translation by Alex Shevlakov
329    
330    2003-07-29  Frank Koormann   <[email protected]>
331    
332            * Doc/manual/thuban-manual.xml: Extended section on supported
333            projections.
334            
335    2003-07-29  Frank Koormann   <[email protected]>
336    
337            * Doc/manual/thuban-manual.xml: gaspell-checked.
338    
339    2003-07-29  Jonathan Coles   <[email protected]>
340    
341            * Doc/manual/images/3_5_legend.png: Added border to improve look
342            on white background.
343    
344    2003-07-29  Jonathan Coles   <[email protected]>
345    
346            * Doc/manual/thuban-manual.xml: Fixed grammar and typos. Added
347            descriptions for the legend toolbar.
348    
349            * Doc/manual/images/4_2_raster_layer_properties.png: Removed
350            cursor from dialog box.
351    
352    2003-07-28  Jonathan Coles   <[email protected]>
353    
354            * Doc/manual/thuban-manual.xml: More screenshots and more chapters.
355    
356            * Doc/manual/images/2_4_session_tree.png,
357            Doc/manual/images/3_5_legend.png, Doc/manual/images/3_rename_map.png,
358            Doc/manual/images/4_2_layer_properties.png,
359            Doc/manual/images/4_2_raster_layer_properties.png,
360            Doc/manual/images/5_3_genclass.png,
361            Doc/manual/images/5_classification.png,
362            Doc/manual/images/6_projection.png,
363            Doc/manual/images/7_1_table_view.png,
364            Doc/manual/images/7_2_5_join.png: New screenshots.
365    
366    2003-07-24  Jonathan Coles   <[email protected]>
367    
368            * Doc/manual/thuban-manual.xml: Chapter on Projection Management.
369    
370    2003-07-24  Jonathan Coles   <[email protected]>
371    
372            * Doc/manual/thuban-manual.xml: Added EPS images and wrote
373            chapter on Layer Management.
374    
375            * Doc/manual/Makefile: New. Makefile to generate all formats for the
376            manual and images.
377    
378    2003-07-24  Bernhard Herzog  <[email protected]>
379    
380            * Thuban/Model/range.py, Thuban/version.py: Remove the #! line as
381            it annoys lintian which warns about these files not being
382            executable. The #1 isn't necessary here since if you absolutely
383            must execute them you can always say "python <filename>".
384    
385            * Thuban/UI/renderer.py (ScreenRenderer.draw_shape_layer): Remove
386            superfluous code to set brush and pen for point shapes
387    
388            * Thuban/UI/viewport.py: Remove commented out code that wouldn't
389            belong in viewport anyway
390    
391  2003-07-24  Frank Koormann   <[email protected]>  2003-07-24  Frank Koormann   <[email protected]>
392    
393          * Doc/manual/thuban-manual.xml: Added section on table management.          * Doc/manual/thuban-manual.xml: Added section on table management.

Legend:
Removed from v.1479  
changed lines
  Added in v.1567

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26