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

Legend:
Removed from v.1519  
changed lines
  Added in v.1582

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26