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

Legend:
Removed from v.1483  
changed lines
  Added in v.1571

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26