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

Legend:
Removed from v.1657  
changed lines
  Added in v.1720

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26