/[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 1522 by bh, Wed Jul 30 12:34:22 2003 UTC revision 1584 by jan, Tue Aug 12 16:13:59 2003 UTC
# Line 1  Line 1 
1    2003-08-12  Jan-Oliver Wagner <[email protected]>
2    
3            * Thuban/UI/about.py (About.__init__): Added Bj�rn Broscheit.
4    
5    2003-08-12  Bernhard Herzog  <[email protected]>
6    
7            * po/de.po: New. German translations by Bjoern Broscheit
8    
9    2003-08-12  Bernhard Herzog  <[email protected]>
10    
11            * Thuban/UI/projdialog.py (UnknownProjPanel._DoLayout): Translated
12            strings have to be one string literal.
13    
14    2003-08-11  Bernhard Herzog  <[email protected]>
15    
16            * test/support.py (FloatComparisonMixin.assertPointListEquals):
17            New. This method was used in various derived classes, but it's
18            better to have it here.
19    
20            * test/test_shapefilestore.py
21            (ShapefileStoreTests.assertPointListEquals): Removed. It's now in
22            FloatComparisonMixin
23    
24            * test/test_layer.py (TestLayer.assertPointListEquals): Removed.
25            It's now in FloatComparisonMixin
26    
27            * test/test_derivedshapestore.py
28            (TestDerivedShapeStore.assertPointListEquals): Removed. It's now
29            in FloatComparisonMixin
30    
31    2003-08-11  Bernhard Herzog  <[email protected]>
32    
33            * Thuban/UI/join.py (JoinDialog.OnJoin): Add missing space to
34            error message
35    
36    2003-08-08  Jan-Oliver Wagner <[email protected]>
37    
38            * Doc/manual/thuban-manual.xml: Now use authorgroup. Added revhistory
39            with version number.
40            Changed title to reflect version number of Thuban.
41    
42    2003-08-08  Jan-Oliver Wagner <[email protected]>
43    
44            * Thuban/UI/about.py (About.__init__): Reworked the hall of fame. Now
45            the list corresponds to the "About" web page.
46    
47    2003-08-08  Bernhard Herzog  <[email protected]>
48    
49            * Thuban/UI/projdialog.py (UTMProposeZoneDialog.dialogLayout):
50            Make sure translated strings are recognized as one string literal.
51    
52            * Thuban/UI/proj4dialog.py (UTMProposeZoneDialog.dialogLayout):
53            Make sure translated strings are recognized as one string literal.
54    
55            * Thuban/UI/classgen.py (ClassGenDialog.OnOK): Make sure
56            translated strings are recognized as one string literal.
57    
58            * Thuban/UI/application.py (ThubanApplication.OpenSession): Make
59            sure translated strings are recognized as one string literal.
60    
61    2003-08-07  Bernhard Herzog  <[email protected]>
62    
63            * Thuban/Model/data.py (DerivedShapeStore.RawShapeFormat): New.
64            Simply delegates to the original shapestore.
65    
66            * test/test_derivedshapestore.py
67            (TestDerivedShapeStore.test_raw_format): New. Test case for
68            DerivedShapeStore.RawShapeFormat
69    
70    2003-08-07  Bernhard Herzog  <[email protected]>
71    
72            Add raw data interface to shape objects.
73    
74            * Thuban/Model/data.py (ShapefileShape, Shape): Rname the shape
75            class to ShapefileShape which now holds shapefile specific
76            information.
77            (ShapefileShape.compute_bbox): Simplified to not cache any
78            information. The way this method is used that shouldn't matter
79            performance wise.
80            (ShapefileShape.RawData): New. Return the shapeid which is the raw
81            data format for shapes from shapefiles.
82            (ShapefileStore.RawShapeFormat): New. Return the raw datatype used
83            in the shape objects returned by a shapestore. For a
84            ShapefileStore this is always RAW_SHAPEFILE.
85            (RAW_PYTHON, RAW_SHAPEFILE): Constants for the RawShapeFormat
86            method.
87    
88            * test/test_shapefilestore.py
89            (TestShapefileStore.test_raw_format): New test to test the raw
90            format feature of shapes.
91    
92            * Thuban/Model/layer.py: Remove the unused import of Shape from
93            data. It was only there for interface compatibility but it's not
94            used inside of Thuban and the generic Shape class has gone away.
95    
96            * Thuban/UI/renderer.py (MapRenderer.low_level_renderer): Check
97            the raw data format and only use an optimized version of its a
98            shapefile.
99    
100    2003-08-07  Bernhard Herzog  <[email protected]>
101    
102            * test/test_baserenderer.py (SimpleShape): Shape class for the
103            tests.
104            (SimpleShapeStore.Shape): Use SimpleShape instead of
105            Thuban.Model.data.Shape to make the tests independed of the coming
106            changes.
107    
108    2003-08-07  Bernhard Herzog  <[email protected]>
109    
110            * test/support.py (SkipTest, ThubanTestResult, ThubanTestRunner)
111            (ThubanTestProgram): New classes that extend the respective
112            classes from unittest. These new version support skipping tests
113            under certain expected conditions. In the Thuban test suite we
114            uses this for tests that require the optional gdal support.
115            (run_tests): Use ThubanTestProgram instead of the unittest.main()
116    
117            * test/runtests.py (main): Use the new ThubanTestRunner instead of
118            the normal one from unittest
119    
120            * test/test_layer.py (TestLayer.test_raster_layer): If this test
121            is not run because gdal support isn't available report this to the
122            runner.
123    
124            * test/test_baserenderer.py
125            (TestBaseRenderer.test_raster_no_projection): Do not run this test
126            if gdal support isn't available and report this to the runner.
127    
128    2003-08-06  Bernhard Herzog  <[email protected]>
129    
130            Rearrange the renderers a bit, partly in preparation for changes
131            required for the postgis merge, partly to make it more testable.
132            Also make the representation of coordinates in Shapes more
133            consistent.
134    
135            * Thuban/UI/renderer.py (MapRenderer): Most of the code/methods in
136            this class is now in BaseRenderer. This class is now practically
137            only a specialization of BaseRenderer for rendering to an actual
138            wx DC.
139            (ScreenRenderer.draw_shape_layer): Use self.low_level_renderer()
140            to get the shapetype specific rendering functions.
141    
142            * Thuban/UI/baserenderer.py: New file with the basic rendering
143            logic. The code in this file is completely independend of wx.
144            (BaseRenderer): Class with the basic rendering logic
145    
146            * test/test_baserenderer.py: New. Test cases for BaseRenderer
147    
148            * Thuban/UI/view.py (MapCanvas.__init__): New instance variable
149            error_on_redraw to guard agains endless loops and stack overflows
150            when there's a bug in the rendering code that raises exceptions.
151            (MapCanvas.OnIdle, MapCanvas._do_redraw): Split the actual
152            rendering into a separate method _do_redraw so that error handling
153            is a bit easier. When an exception occurs, set error_on_redraw to
154            true. When it's true on entry to OnIdle do nothing and return
155            immediately.
156    
157            * Thuban/Model/data.py (ShapefileStore.Shape): For consistency, a
158            Shape object will always have the coordinates as a list of list of
159            coordinate pairs (tuples).
160            (Shape.compute_bbox): Adapt to new representation.
161    
162            * Thuban/UI/viewport.py (ViewPort.find_shape_at)
163            (ViewPort.LabelShapeAt): Adapt to new coordinate representation in
164            Shape objects.
165    
166            * test/test_shapefilestore.py
167            (ShapefileStoreTests.assertFloatTuplesEqual)
168            (ShapefileStoreTests.assertPointListEquals): Rename to
169            assertPointListEquals and change purpose to checking equality of
170            the lists returned by Shape.Points().
171            (TestShapefileStoreArc.test_shape)
172            (TestShapefileStorePolygon.test_shape)
173            (TestShapefileStorePoint.test_shape): Use the new
174            assertPointListEquals instead of assertFloatTuplesEqual
175    
176            * test/test_layer.py (TestLayer.assertFloatTuplesEqual)
177            (TestLayer.assertPointListEquals): Rename to assertPointListEquals
178            and change purpose to checking equality of the lists returned by
179            Shape.Points().
180            (TestLayer.test_arc_layer, TestLayer.test_arc_layer)
181            (TestLayer.test_polygon_layer, TestLayer.test_point_layer)
182            (TestLayer.test_derived_store): Use the new assertPointListEquals
183            instead of assertFloatTuplesEqual
184    
185            * test/test_derivedshapestore.py
186            (TestDerivedShapeStore.assertFloatTuplesEqual)
187            (TestDerivedShapeStore.assertPointListEquals): Rename to
188            assertPointListEquals and change purpose to checking equality of
189            the lists returned by Shape.Points().
190            (TestDerivedShapeStore.test_shape): Use the new
191            assertPointListEquals instead of assertFloatTuplesEqual
192    
193    2003-08-06  Jan-Oliver Wagner <[email protected]>
194    
195            * Thuban/UI/projdialog.py (UTMPanel._OnPropose): Added test for
196            a bounding box. A dialog is raised in case, no bounding box
197            is found. This fixes bug #2043:
198            https://intevation.de/rt/webrt?serial_num=2043
199    
200    2003-08-05  Bernhard Herzog  <[email protected]>
201    
202            * Thuban/Model/color.py (Color.__repr__): Make the repr of a color
203            object look like a Color instantiation. Formerly it looked like a
204            tuple.
205    
206            * test/test_color.py (TestColor.test_repr)
207            (TestColor.test_equality, TestColor.test_inequality): New. test
208            some more apects of the Color class
209            (TestTransparent.test_repr, TestTransparent.test_hex)
210            (TestTransparent.test_equality): New. Test cases for the
211            Transparent object.
212    
213    2003-08-04  Jan-Oliver Wagner <[email protected]>
214    
215            * Doc/manual/thuban-manual.xml: a number of small improvements.
216            The resulting file is the version submitted for GREAT-ER II.
217    
218    2003-08-01  Bernhard Herzog  <[email protected]>
219    
220            * Thuban/UI/resource.py, Thuban/UI/projdialog.py,
221            Thuban/UI/join.py, Thuban/UI/classgen.py, Thuban/UI/about.py,
222            Thuban/Model/resource.py: Insert cvs keywords and doc-strings.
223    
224            * Thuban/UI/common.py: Insert cvs keywords and doc-strings.
225            (Color2wxColour, wxColour2Color, ThubanBeginBusyCursor)
226            (ThubanEndBusyCursor): Add doc-strings
227    
228    2003-08-01  Bernhard Herzog  <[email protected]>
229    
230            First step towards PostGIS integration. More abstraction by movin
231            more code from the layer to the shapestore. More methods of the
232            layer are now simply delegated to the equivalent method of the
233            shapestore. The SHAPETYPE_* constants are now in data not in
234            layer.
235    
236            * Thuban/Model/data.py (SHAPETYPE_POLYGON, SHAPETYPE_ARC)
237            (SHAPETYPE_POINT, Shape): Move these constants and classes from
238            layer.py to data.py
239            (ShapefileStore.__init__): More Initialization for the new methods
240            and functionality.
241            (ShapefileStore.ShapeType, ShapefileStore.NumShapes)
242            (ShapefileStore.BoundingBox, ShapefileStore.ShapesInRegion)
243            (ShapefileStore.Shape): New methods that were formerly implemented
244            in the layer.
245            (DerivedShapeStore.Shape, DerivedShapeStore.ShapesInRegion)
246            (DerivedShapeStore.ShapeType, DerivedShapeStore.NumShapes)
247            (DerivedShapeStore.BoundingBox): New. DerivedShapeStore
248            equivalents of the new shape methods. These versions are simply
249            delegated to the original shapstore.
250    
251            * Thuban/Model/layer.py (SHAPETYPE_POLYGON, SHAPETYPE_ARC)
252            (SHAPETYPE_POINT, Shape): Removed. They're now in data.py
253            (Layer.SetShapeStore): Removed the initializatin of instance
254            variables that were needed for the stuff that's now in
255            ShapefileStore
256            (Layer.BoundingBox, Layer.NumShapes, Layer.ShapeType)
257            (Layer.Shape, Layer.ShapesInRegion): Simply delegate to the
258            shapestore.
259    
260            * Thuban/UI/classifier.py, Thuban/UI/renderer.py,
261            Thuban/UI/viewport.py: Import the SHAPETYPE_* constants from data
262            instead of layer.
263    
264            * test/test_shapefilestore.py: New. Tests for ShapefileStore.
265    
266            * test/test_derivedshapestore.py: New. Tests for DerivedShapeStore.
267    
268            * test/test_layer.py: Import the SHAPETYPE_* constants from data
269            instead of layer.
270            (TestLayer.test_derived_store): Remove the test for the exception
271            when instantiating the DerivedShapeStore with an incompatible
272            table which is now in test_derivedshapestore.py. Add some more
273            tests of the layer methods to determine whether they work for a
274            DerivedShapeStore as well.
275    
276    2003-07-31  Jonathan Coles   <[email protected]>
277    
278            * Doc/manual/thuban-manual.xml: Fix the list of required packages
279            by just listing the name and where they can be found.
280    
281    2003-07-31  Frank Koormann   <[email protected]>
282    
283            * Doc/manual/thuban-manual.xml:
284            Changed the screenshot elements to figure.
285            Changed some variablelist elements to itemizedlist.
286            Added section on GDAL formats.
287    
288    2003-07-31  Jonathan Coles   <[email protected]>
289    
290            * Doc/manual/thuban-manual.xml: Added a few sentences about
291            the Fix Border Color option when generating classes.
292    
293    2003-07-30  Jonathan Coles   <[email protected]>
294    
295            * Thuban/Model/classgen.py: Add docstrings. Rename specific
296            Ramp instances to use lower_case_style.
297    
298            * Thuban/UI/classgen.py: Use renamed Ramp instances.
299            
300            * Thuban/UI/classifier.py: Add docstrings.
301    
302            * Thuban/UI/dock.py: Add docstrings.
303    
304            * test/test_classgen.py: Use renamed Ramp instances.
305    
306    2003-07-30  Bernhard Herzog  <[email protected]>
307    
308            * Thuban/Lib/connector.py (QueueingPublisher): Removed. This class
309            was never used in Thuban.
310    
311  2003-07-30  Bernhard Herzog  <[email protected]>  2003-07-30  Bernhard Herzog  <[email protected]>
312    
313          * Thuban/UI/join.py (JoinDialog.__init__): Use the table's Title()          * Thuban/UI/join.py (JoinDialog.__init__): Use the table's Title()

Legend:
Removed from v.1522  
changed lines
  Added in v.1584

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26