/[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 1655 by bh, Mon Aug 25 16:05:33 2003 UTC revision 1701 by bh, Mon Sep 1 17:25:24 2003 UTC
# Line 1  Line 1 
1    2003-09-01  Bernhard Herzog  <[email protected]>
2    
3            * NEWS: New. Summary of changes and release notes.
4    
5            * MANIFEST.in: Add NEWS
6    
7    2003-09-01  Bernhard Herzog  <[email protected]>
8    
9            * MANIFEST.in: Correct the include statement for the mo-files and
10            include the documentation too.
11    
12            * setup.py (data_files): Add the .mo files
13            (setup call): Up to version 0.9.0
14    
15    2003-09-01  Bernhard Herzog  <[email protected]>
16    
17            * Thuban/UI/dbdialog.py (ChooseDBTableDialog.__init__): Change the
18            parameter list to just parent and session
19            (ChooseDBTableDialog.__set_properties): Removed. Setting the
20            selection of empty list boxes is not allowed (and produces C++
21            assertion errors) and the rest of the setup is better done in
22            __init__ anyway.
23            (ChooseDBTableDialog.OnCancel, ChooseDBTableDialog.OnOK)
24            (ChooseDBTableDialog.OnLBDClick, DBDialog.OnOK): Use the Python
25            builtins True/False for booleans to avoid warnings from wxPython
26    
27            * Thuban/UI/mainwindow.py (MainWindow.AddDBLayer): Adapt to new
28            ChooseDBTableDialog constructor parameters.
29    
30    2003-09-01  Bernhard Herzog  <[email protected]>
31    
32            * Thuban/Model/postgisdb.py
33            (PostGISTable): Extend doc-string
34            (PostGISTable._fetch_table_information): Set the column index
35            correctly, pretending ignored columns don't exist.
36    
37            * test/test_postgis_db.py (TestPostGISIgnoredColumns): New tests
38            for postgis tables with data types not yet supported by thuban.
39    
40    2003-08-29  Bernhard Herzog  <[email protected]>
41    
42            * HOWTO-Release: Tweak item about running the tests.
43    
44    2003-08-29  Jan-Oliver Wagner <[email protected]>
45    
46            * /Doc/manual/thuban-manual.xml: updated to version 1.0pre2.
47    
48    2003-08-29  Bernhard Herzog  <[email protected]>
49    
50            Add some missing parameters to projections. Proj complains about
51            them on windows but for some reason not on Linux.
52    
53            * test/test_save.py (SaveSessionTest.testLayerProjection): Add
54            missing required projection parameters
55    
56            * test/test_proj.py (TestProjFile.test): Add missing required
57            projection parameters
58    
59            * test/test_load_0_8.py (TestLayerProjection.file_contents)
60            (TestLayerProjection.test): Add missing required projection
61            parameters and tests for them
62    
63            * test/test_load.py (TestLayerProjection.file_contents)
64            (TestLayerProjection.test): Add missing required projection
65            parameters and tests for them
66    
67            * test/test_layer.py (TestLayer.test_base_layer): Add missing
68            required projection parameters
69    
70    2003-08-29  Bernhard Herzog  <[email protected]>
71    
72            * libraries/pyprojection/Projection.i: Use pj_get_errno_ref to
73            access the pj_errno because directly accessing pj_errno doesn't
74            work on windows if the proj library is in a DLL
75    
76            * libraries/pyprojection/Projection_wrap.c: Update from Projection.i
77    
78    2003-08-28  Bernhard Herzog  <[email protected]>
79    
80            * test/test_proj.py: Import things from Thuban after calling
81            initthuban
82    
83            * test/test_load.py (LoadSessionTest.filenames): New class
84            variable with the filename attributes to normalize
85            (LoadSessionTest.check_format): Pass self.filenames to
86            sax_eventlist to normalize the filename attributes
87    
88            * test/xmlsupport.py: Add cvs keywords
89            (SaxEventLister.__init__): New parameter filenames which indicates
90            attributes that contain filenames
91            (SaxEventLister.startElementNS): Normalize the filename attributes
92            with os.path.normpath
93            (sax_eventlist): New parameter filenames to pass through to
94            SaxEventLister
95    
96            * test/test_derivedshapestore.py: Make this file callable as a
97            program to execute the tests
98            (TestDerivedShapeStoreExceptions.test_table_with_wrong_size): Bind
99            the session to self.session so that it gets destroyed properly
100    
101            * test/test_layer.py (TestLayer.tearDown): Call the session's
102            Destroy method
103    
104            * test/test_map.py (TestMapBase.tearDown): Destroy self.session
105            too if it exists
106            (TestMapAddLayer.test_add_layer): Bind the session to self.session
107            so that it gets destroyed properly
108    
109            * test/postgissupport.py (reason_for_not_running_tests): Add a
110            test for the existence of popen2.Popen4.
111    
112            * test/test_save.py (SaveSessionTest.tearDown): New. Provide a
113            reliable way to destroy the sessions created in the test cases
114            (SaveSessionTest.test_dbf_table): Bind the session to self.session
115            so that it gets destroyed properly
116            (SaveSessionTest.testLayerProjection): Bind the session to
117            self.session so that it gets destroyed properly
118    
119            * test/test_session.py (UnreferencedTablesTests.tearDown): Make
120            sure that the session is destroyed properly
121    
122            * test/test_shapefilestore.py: Make this callable as a program to
123            execute the tests
124    
125            * test/test_scalebar.py: Remove unnecessary import of _ from
126            Thuban
127    
128            * test/support.py (print_garbage_information): Call initthuban
129            here because it may be called indirectly from test cases that test
130            test support modules which do not use anything from thuban itself
131            (ThubanTestProgram.runTests): Remove unnecessary debug print
132    
133    2003-08-28  Bernhard Herzog  <[email protected]>
134    
135            * Thuban/version.py (longversion): Update to 0.9
136    
137            * Thuban/UI/mainwindow.py: Remove some unused imports
138    
139            * README: Add section about required additional software. Add date
140            and revision CVS keywords
141    
142            * HOWTO-Release: Add item about the translations. Add date and
143            revision CVs keywords and change formatting to match README a bit
144            better
145    
146            * po/de.po: Update for 0.9
147    
148            * test/README: Tweak the wording a little because many tests are
149            not really unittest.
150    
151    2003-08-27  Bernhard Herzog  <[email protected]>
152    
153            As preparation for the 0.9 release, switch thuban files to a
154            non-dev namespace
155    
156            * Thuban/Model/save.py (SessionSaver.write_session): Write files
157            with the http://thuban.intevation.org/dtds/thuban-0.9.dtd
158            namespace
159    
160            * Thuban/Model/load.py (SessionLoader.__init__): Accept the
161            http://thuban.intevation.org/dtds/thuban-0.9.dtd namespace too
162    
163            * test/test_save.py (SaveSessionTest.dtd)
164            (SaveSessionTest.testEmptySession)
165            (SaveSessionTest.testSingleLayer)
166            (SaveSessionTest.testLayerProjection)
167            (SaveSessionTest.testRasterLayer)
168            (SaveSessionTest.testClassifiedLayer)
169            (SaveSessionTest.test_dbf_table)
170            (SaveSessionTest.test_joined_table)
171            (SaveSessionTest.test_save_postgis): Update for new namespace
172    
173            * test/test_load.py (LoadSessionTest.dtd, TestSingleLayer)
174            (TestLayerVisibility.file_contents, TestLabels.file_contents)
175            (TestLayerProjection.file_contents)
176            (TestRasterLayer.file_contents, TestJoinedTable.file_contents)
177            (TestPostGISLayer.file_contents)
178            (TestPostGISLayerPassword.file_contents)
179            (TestLoadError.file_contents, TestLoadError.test): Update for new
180            namespace
181    
182    2003-08-27  Bernhard Herzog  <[email protected]>
183    
184            Make the table interface distinguish between row ids (an integer
185            that uniquely identifies a row) and row ordinals (a simple row
186            count from 0 to NumRows() - 1)
187    
188            * Thuban/Model/postgisdb.py (PostGISTable.RowIdToOrdinal)
189            (PostGISTable.RowOrdinalToId): New methods to conver between row
190            ids and row ordinals
191            (PostGISTable.ReadRowAsDict, PostGISTable.ReadValue): New keyword
192            parameter row_is_ordinal to indicate whether the row parameter is
193            the row id or the ordinal
194    
195            * Thuban/Model/transientdb.py (TransientTableBase.RowIdToOrdinal)
196            (TransientTableBase.RowOrdinalToId)
197            (AutoTransientTable.RowIdToOrdinal)
198            (AutoTransientTable.RowOrdinalToId): Same new methods as in
199            PostGISTable.
200            (TransientTableBase.ReadRowAsDict, TransientTableBase.ReadValue)
201            (AutoTransientTable.ReadRowAsDict, AutoTransientTable.ReadValue):
202            Same new parameter as in PostGISTable.
203    
204            * Thuban/Model/table.py (DBFTable.RowIdToOrdinal)
205            (DBFTable.RowOrdinalToId, MemoryTable.RowIdToOrdinal)
206            (MemoryTable.RowOrdinalToId): Same new methods as in PostGISTable.
207            (DBFTable.ReadValue, DBFTable.ReadRowAsDict)
208            (MemoryTable.ReadValue, MemoryTable.ReadRowAsDict): Same new
209            parameter as in PostGISTable.
210    
211            * Thuban/UI/tableview.py (DataTable.RowIdToOrdinal)
212            (DataTable.RowOrdinalToId): New methods to convert between row ids
213            and row ordinals.
214            (TableGrid.SelectRowById): New method to select a row based on its
215            ID as opposed to its ordinal
216            (DataTable.GetValue, TableGrid.OnRangeSelect)
217            (TableGrid.OnSelectCell, LayerTableGrid.select_shapes)
218            (QueryTableFrame.OnQuery, QueryTableFrame.get_selected)
219            (LayerTableFrame.__init__): Convert between row ids and row
220            ordinals as appropriate
221    
222            * test/postgissupport.py (PostGISDatabase.__init__): Add
223            doc-string.
224            (PostGISDatabase.initdb): The optional third item in a tuple in
225            tables is now a (key, value) list with additional arguments to
226            pass to upload_shapefile
227            (upload_shapefile): New parameter gid_offset to allow gids that
228            are not the same as the shapeids in the shapefile
229            (PostgreSQLServer.get_default_static_data_db): Use the new
230            gid_offset to make the gids in landmarks 1000 higher than the
231            shapeids in the shapefile
232    
233            * test/test_viewport.py
234            (TestViewportWithPostGIS.test_find_shape_at_point): Adapt to the
235            new shapeids in the landmarks table
236    
237            * test/test_transientdb.py
238            (TestTransientTable.run_iceland_political_tests)
239            (TestTransientTable.test_transient_joined_table): Add tests for
240            the new table methods and new keywords arguments.
241    
242            * test/test_postgis_db.py
243            (TestPostGISTable.test_read_row_as_dict_row_count_mode)
244            (TestPostGISTable.test_read_value_row_count_mode)
245            (TestPostGISTable.test_row_id_to_ordinal)
246            (TestPostGISTable.test_row_oridnal_to_id): New test for the new
247            table methods and the new arguments
248            (TestPostGISShapestorePoint.test_shapes_in_region)
249            (TestPostGISShapestorePoint.test_shape_raw_data)
250            (TestPostGISShapestorePoint.test_shape_points)
251            (TestPostGISShapestorePoint.test_shape_shapeid)
252            (TestPostGISShapestorePoint.test_all_shapes)
253            (TestPostGISTable.test_simple_query)
254            (TestPostGISTable.test_simple_query)
255            (TestPostGISTable.test_simple_query)
256            (TestPostGISTable.test_read_value)
257            (TestPostGISTable.test_read_row_as_dict): Adapt to the new
258            shapeids in the landmarks table
259    
260            * test/test_memory_table.py
261            (TestMemoryTable.test_read_row_as_dict_row_count_mode)
262            (TestMemoryTable.test_read_value_row_count_mode)
263            (TestMemoryTable.test_row_id_to_ordinal)
264            (TestMemoryTable.test_row_oridnal_to_id): New test for the new
265            table methods and the new arguments
266    
267            * test/test_dbf_table.py
268            (TestDBFTable.test_read_row_as_dict_row_count_mode)
269            (TestDBFTable.test_read_value_row_count_mode)
270            (TestDBFTable.test_row_id_to_ordinal)
271            (TestDBFTable.test_row_oridnal_to_id): New test for the new table
272            methods and the new arguments
273    
274    2003-08-26  Bernhard Herzog  <[email protected]>
275    
276            * Thuban/Model/postgisdb.py (PostGISShapeStore.BoundingBox): Use a
277            more postgis specific but much faster method to get the bounding
278            box
279    
280    2003-08-26  Bernhard Herzog  <[email protected]>
281    
282            * Thuban/Model/postgisdb.py (PostGISTable.Title)
283            (PostGISShapeStore.AllShapes): Add these missing methods.
284            (PostGISShapeStore.ShapesInRegion): No need to raise
285            StopIteration. We can simply return
286    
287            * test/test_postgis_db.py (TestPostGISTable.test_title)
288            (TestPostGISShapestorePoint.test_all_shapes): New tests for the
289            new methods
290    
291    2003-08-25  Bernhard Herzog  <[email protected]>
292    
293            * Thuban/Model/postgisdb.py (shapetype_map): Add MUTLIPOLYGON.
294    
295            * test/test_postgis_db.py (PolygonTests): New class containing
296            those tests from TestPostGISShapestorePolygon that can also be
297            used to test MUTLIPOLYGON tables
298            (TestPostGISShapestorePolygon): Most tests are now in PolygonTests
299            so derive from that
300            (TestPostGISShapestoreMultiPolygon): New class with tests for
301            MUTLIPOLYGON tables
302    
303            * test/postgissupport.py (PostGISDatabase.initdb): Allow the
304            tables argument to have tuples with three items to override the
305            WKT type used.
306            (PostgreSQLServer.get_default_static_data_db): Use the above to
307            create a polygon table with MUTLIPOLYGONs
308            (point_to_wkt, coords_to_point, polygon_to_wkt, coords_to_polygon)
309            (arc_to_wkt, coords_to_multilinestring): Rename from *_to_wkt to
310            coords_to*
311            (coords_to_multipolygon): New. Convert to MUTLIPOLYGON
312            (wkt_converter): New. Map WKT types to converters
313            (upload_shapefile): New parameter force_wkt_type to use a
314            different WKT type than the default
315    
316  2003-08-25  Bernhard Herzog  <[email protected]>  2003-08-25  Bernhard Herzog  <[email protected]>
317    
318          * Thuban/UI/application.py          * Thuban/UI/application.py

Legend:
Removed from v.1655  
changed lines
  Added in v.1701

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26