/[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 1493 by jonathan, Tue Jul 29 08:26:22 2003 UTC revision 1556 by bh, Thu Aug 7 15:41:14 2003 UTC
# Line 1  Line 1 
1    2003-08-07  Bernhard Herzog  <[email protected]>
2    
3            * test/support.py (SkipTest, ThubanTestResult, ThubanTestRunner)
4            (ThubanTestProgram): New classes that extend the respective
5            classes from unittest. These new version support skipping tests
6            under certain expected conditions. In the Thuban test suite we
7            uses this for tests that require the optional gdal support.
8            (run_tests): Use ThubanTestProgram instead of the unittest.main()
9    
10            * test/runtests.py (main): Use the new ThubanTestRunner instead of
11            the normal one from unittest
12    
13            * test/test_layer.py (TestLayer.test_raster_layer): If this test
14            is not run because gdal support isn't available report this to the
15            runner.
16    
17            * test/test_baserenderer.py
18            (TestBaseRenderer.test_raster_no_projection): Do not run this test
19            if gdal support isn't available and report this to the runner.
20    
21    2003-08-06  Bernhard Herzog  <[email protected]>
22    
23            Rearrange the renderers a bit, partly in preparation for changes
24            required for the postgis merge, partly to make it more testable.
25            Also make the representation of coordinates in Shapes more
26            consistent.
27    
28            * Thuban/UI/renderer.py (MapRenderer): Most of the code/methods in
29            this class is now in BaseRenderer. This class is now practically
30            only a specialization of BaseRenderer for rendering to an actual
31            wx DC.
32            (ScreenRenderer.draw_shape_layer): Use self.low_level_renderer()
33            to get the shapetype specific rendering functions.
34    
35            * Thuban/UI/baserenderer.py: New file with the basic rendering
36            logic. The code in this file is completely independend of wx.
37            (BaseRenderer): Class with the basic rendering logic
38    
39            * test/test_baserenderer.py: New. Test cases for BaseRenderer
40    
41            * Thuban/UI/view.py (MapCanvas.__init__): New instance variable
42            error_on_redraw to guard agains endless loops and stack overflows
43            when there's a bug in the rendering code that raises exceptions.
44            (MapCanvas.OnIdle, MapCanvas._do_redraw): Split the actual
45            rendering into a separate method _do_redraw so that error handling
46            is a bit easier. When an exception occurs, set error_on_redraw to
47            true. When it's true on entry to OnIdle do nothing and return
48            immediately.
49    
50            * Thuban/Model/data.py (ShapefileStore.Shape): For consistency, a
51            Shape object will always have the coordinates as a list of list of
52            coordinate pairs (tuples).
53            (Shape.compute_bbox): Adapt to new representation.
54    
55            * Thuban/UI/viewport.py (ViewPort.find_shape_at)
56            (ViewPort.LabelShapeAt): Adapt to new coordinate representation in
57            Shape objects.
58    
59            * test/test_shapefilestore.py
60            (ShapefileStoreTests.assertFloatTuplesEqual)
61            (ShapefileStoreTests.assertPointListEquals): Rename to
62            assertPointListEquals and change purpose to checking equality of
63            the lists returned by Shape.Points().
64            (TestShapefileStoreArc.test_shape)
65            (TestShapefileStorePolygon.test_shape)
66            (TestShapefileStorePoint.test_shape): Use the new
67            assertPointListEquals instead of assertFloatTuplesEqual
68    
69            * test/test_layer.py (TestLayer.assertFloatTuplesEqual)
70            (TestLayer.assertPointListEquals): Rename to assertPointListEquals
71            and change purpose to checking equality of the lists returned by
72            Shape.Points().
73            (TestLayer.test_arc_layer, TestLayer.test_arc_layer)
74            (TestLayer.test_polygon_layer, TestLayer.test_point_layer)
75            (TestLayer.test_derived_store): Use the new assertPointListEquals
76            instead of assertFloatTuplesEqual
77    
78            * test/test_derivedshapestore.py
79            (TestDerivedShapeStore.assertFloatTuplesEqual)
80            (TestDerivedShapeStore.assertPointListEquals): Rename to
81            assertPointListEquals and change purpose to checking equality of
82            the lists returned by Shape.Points().
83            (TestDerivedShapeStore.test_shape): Use the new
84            assertPointListEquals instead of assertFloatTuplesEqual
85    
86    2003-08-06  Jan-Oliver Wagner <[email protected]>
87    
88            * Thuban/UI/projdialog.py (UTMPanel._OnPropose): Added test for
89            a bounding box. A dialog is raised in case, no bounding box
90            is found. This fixes bug #2043:
91            https://intevation.de/rt/webrt?serial_num=2043
92    
93    2003-08-05  Bernhard Herzog  <[email protected]>
94    
95            * Thuban/Model/color.py (Color.__repr__): Make the repr of a color
96            object look like a Color instantiation. Formerly it looked like a
97            tuple.
98    
99            * test/test_color.py (TestColor.test_repr)
100            (TestColor.test_equality, TestColor.test_inequality): New. test
101            some more apects of the Color class
102            (TestTransparent.test_repr, TestTransparent.test_hex)
103            (TestTransparent.test_equality): New. Test cases for the
104            Transparent object.
105    
106    2003-08-04  Jan-Oliver Wagner <[email protected]>
107    
108            * Doc/manual/thuban-manual.xml: a number of small improvements.
109            The resulting file is the version submitted for GREAT-ER II.
110    
111    2003-08-01  Bernhard Herzog  <[email protected]>
112    
113            * Thuban/UI/resource.py, Thuban/UI/projdialog.py,
114            Thuban/UI/join.py, Thuban/UI/classgen.py, Thuban/UI/about.py,
115            Thuban/Model/resource.py: Insert cvs keywords and doc-strings.
116    
117            * Thuban/UI/common.py: Insert cvs keywords and doc-strings.
118            (Color2wxColour, wxColour2Color, ThubanBeginBusyCursor)
119            (ThubanEndBusyCursor): Add doc-strings
120    
121    2003-08-01  Bernhard Herzog  <[email protected]>
122    
123            First step towards PostGIS integration. More abstraction by movin
124            more code from the layer to the shapestore. More methods of the
125            layer are now simply delegated to the equivalent method of the
126            shapestore. The SHAPETYPE_* constants are now in data not in
127            layer.
128    
129            * Thuban/Model/data.py (SHAPETYPE_POLYGON, SHAPETYPE_ARC)
130            (SHAPETYPE_POINT, Shape): Move these constants and classes from
131            layer.py to data.py
132            (ShapefileStore.__init__): More Initialization for the new methods
133            and functionality.
134            (ShapefileStore.ShapeType, ShapefileStore.NumShapes)
135            (ShapefileStore.BoundingBox, ShapefileStore.ShapesInRegion)
136            (ShapefileStore.Shape): New methods that were formerly implemented
137            in the layer.
138            (DerivedShapeStore.Shape, DerivedShapeStore.ShapesInRegion)
139            (DerivedShapeStore.ShapeType, DerivedShapeStore.NumShapes)
140            (DerivedShapeStore.BoundingBox): New. DerivedShapeStore
141            equivalents of the new shape methods. These versions are simply
142            delegated to the original shapstore.
143    
144            * Thuban/Model/layer.py (SHAPETYPE_POLYGON, SHAPETYPE_ARC)
145            (SHAPETYPE_POINT, Shape): Removed. They're now in data.py
146            (Layer.SetShapeStore): Removed the initializatin of instance
147            variables that were needed for the stuff that's now in
148            ShapefileStore
149            (Layer.BoundingBox, Layer.NumShapes, Layer.ShapeType)
150            (Layer.Shape, Layer.ShapesInRegion): Simply delegate to the
151            shapestore.
152    
153            * Thuban/UI/classifier.py, Thuban/UI/renderer.py,
154            Thuban/UI/viewport.py: Import the SHAPETYPE_* constants from data
155            instead of layer.
156    
157            * test/test_shapefilestore.py: New. Tests for ShapefileStore.
158    
159            * test/test_derivedshapestore.py: New. Tests for DerivedShapeStore.
160    
161            * test/test_layer.py: Import the SHAPETYPE_* constants from data
162            instead of layer.
163            (TestLayer.test_derived_store): Remove the test for the exception
164            when instantiating the DerivedShapeStore with an incompatible
165            table which is now in test_derivedshapestore.py. Add some more
166            tests of the layer methods to determine whether they work for a
167            DerivedShapeStore as well.
168    
169    2003-07-31  Jonathan Coles   <[email protected]>
170    
171            * Doc/manual/thuban-manual.xml: Fix the list of required packages
172            by just listing the name and where they can be found.
173    
174    2003-07-31  Frank Koormann   <[email protected]>
175    
176            * Doc/manual/thuban-manual.xml:
177            Changed the screenshot elements to figure.
178            Changed some variablelist elements to itemizedlist.
179            Added section on GDAL formats.
180    
181    2003-07-31  Jonathan Coles   <[email protected]>
182    
183            * Doc/manual/thuban-manual.xml: Added a few sentences about
184            the Fix Border Color option when generating classes.
185    
186    2003-07-30  Jonathan Coles   <[email protected]>
187    
188            * Thuban/Model/classgen.py: Add docstrings. Rename specific
189            Ramp instances to use lower_case_style.
190    
191            * Thuban/UI/classgen.py: Use renamed Ramp instances.
192            
193            * Thuban/UI/classifier.py: Add docstrings.
194    
195            * Thuban/UI/dock.py: Add docstrings.
196    
197            * test/test_classgen.py: Use renamed Ramp instances.
198    
199    2003-07-30  Bernhard Herzog  <[email protected]>
200    
201            * Thuban/Lib/connector.py (QueueingPublisher): Removed. This class
202            was never used in Thuban.
203    
204    2003-07-30  Bernhard Herzog  <[email protected]>
205    
206            * Thuban/UI/join.py (JoinDialog.__init__): Use the table's Title()
207            method directly instead of going through the transient_table
208            method. This faster because transient_table may force the copy of
209            a DBF file into the transient database and setting a table's title
210            doesnm't affect the title of the associated transient table, so
211            this fixes RT #2042
212    
213            * Thuban/UI/main.py (__version__): Don't import the already
214            removed show_exception_dialog.
215    
216    2003-07-29  Jonathan Coles   <[email protected]>
217    
218            * Thuban/UI/application.py (ThubanApplication.ShowExceptionDialog):
219            Put back this method and remove the equivalent function since we
220            are setting the exception hook from within this class (OnInit).
221    
222    2003-07-29  Jonathan Coles   <[email protected]>
223    
224            * Doc/manual/images/5_2_custom_ramp.png,
225            Doc/manual/images/5_2_quantiles.png,
226            Doc/manual/images/5_2_uniform_dist.png,
227            Doc/manual/images/5_2_unique_values.png,
228            Doc/manual/images/8_int_error.png: New screen shots.
229    
230            * Doc/manual/thuban-manual.xml: Fixed typos and wording, clarified
231            some points, and added more screen shots.
232    
233    2003-07-29  Bernhard Herzog  <[email protected]>
234    
235            * Thuban/Model/data.py: Remove the now unused import of warnings
236    
237    2003-07-29  Bernhard Herzog  <[email protected]>
238    
239            * Thuban/Model/data.py (SimpleStore): Removed. This class has been
240            deprecated since before the 0.8 release and isn't used in Thuban
241            itself anymore.
242    
243            * Thuban/Model/transientdb.py: Remove some unnecessary imports
244    
245    2003-07-29  Jonathan Coles   <[email protected]>
246    
247            * Thuban/UI/application.py (ThubanApplication.OnInit): set the
248            python exception hook here so that we are sure to catch any
249            Thuban exception that happen during initialization.
250    
251            * Thuban/UI/main.py (main): Don't set the exception hook here,
252            it will get set in ThubanApplication.OnInit.
253    
254    2003-07-29  Jonathan Coles   <[email protected]>
255                                                                                
256            * Thuban/UI/application.py (ThubanApplication.ShowExceptionDialog):
257            Removed and called it show_exception_dialog() so that the exception
258            handler can be set before the class is created.
259                                                                                
260            * Thuban/UI/main.py (main): Install the exception handler before
261            a ThubanApplication is created.
262                                                                                    
263    2003-07-29  Bernhard Herzog  <[email protected]>
264    
265            * po/it.po: New. Italian translation by Maurizio Napolitano
266    
267            * po/ru.po: New. Russian translation by Alex Shevlakov
268    
269    2003-07-29  Frank Koormann   <[email protected]>
270    
271            * Doc/manual/thuban-manual.xml: Extended section on supported
272            projections.
273            
274    2003-07-29  Frank Koormann   <[email protected]>
275    
276            * Doc/manual/thuban-manual.xml: gaspell-checked.
277    
278    2003-07-29  Jonathan Coles   <[email protected]>
279    
280            * Doc/manual/images/3_5_legend.png: Added border to improve look
281            on white background.
282    
283  2003-07-29  Jonathan Coles   <[email protected]>  2003-07-29  Jonathan Coles   <[email protected]>
284    
285          * Doc/manual/thuban-manual.xml: Fixed grammar and typos. Added          * Doc/manual/thuban-manual.xml: Fixed grammar and typos. Added

Legend:
Removed from v.1493  
changed lines
  Added in v.1556

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26