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

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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26