/[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 1939 by bh, Tue Nov 11 18:17:09 2003 UTC revision 2016 by bh, Wed Dec 3 13:07:42 2003 UTC
# Line 1  Line 1 
1    2003-12-03  Bernhard Herzog  <[email protected]>
2    
3            * po/ru.po: Updates from Alex Shevlakov
4    
5    2003-12-03  Silke Reimer <silkeintevation.de>
6    
7            * debian/control, debian/changelog: Added gdal-support to
8                    debian package, updated to new thuban version
9    
10    
11    2003-12-03  Bernhard Herzog  <[email protected]>
12    
13            * Thuban/Lib/version.py: New. Module for version number
14            manipulations. The version of make_tuple here also deals better
15            with more unusual version number strings, such as e.g.
16            "1.2+cvs20031111"
17    
18            * Thuban/version.py (make_tuple): Removed. It's now in
19            Thuban.Lib.version. Use that implementation instead.
20    
21            * test/test_lib_version.py: New. Tests for Thuban/Lib/version.py
22    
23    2003-12-02  Bernhard Herzog  <[email protected]>
24    
25            * MANIFEST.in: Add debian files
26    
27            * setup.py (setup call): Add packages for the Extensions so that
28            they're installed too
29            (data_files): Add READMEs and sample data from some Extensions
30    
31            * NEWS: Add note about the extensions in binary packages
32    
33    2003-12-02  Bernhard Herzog  <[email protected]>
34    
35            * Thuban/Model/save.py (SessionSaver.write_session): Save files
36            with the thuban-1.0rc1
37    
38            * Thuban/Model/load.py (SessionLoader.__init__): Recognize the
39            thuban-1.0rc1 namespace too
40    
41            * test/test_save.py (SaveSessionTest.dtd)
42            (SaveSessionTest.testEmptySession)
43            (SaveSessionTest.testSingleLayer)
44            (SaveSessionTest.testLayerProjection)
45            (SaveSessionTest.testRasterLayer)
46            (SaveSessionTest.testClassifiedLayer)
47            (SaveSessionTest.test_dbf_table)
48            (SaveSessionTest.test_joined_table)
49            (SaveSessionTest.test_save_postgis): Update to thuban-1.0rc1
50            namespace
51    
52            * test/test_load.py (LoadSessionTest.dtd): Update to thuban-1.0rc1
53            namespace
54            (TestSingleLayer.file_contents)
55            (TestNonAsciiColumnName.file_contents)
56            (TestLayerVisibility.file_contents)
57            (TestClassification.file_contents, TestLabels.file_contents)
58            (TestLayerProjection.file_contents)
59            (TestRasterLayer.file_contents, TestJoinedTable.file_contents)
60            (TestPostGISLayer.file_contents)
61            (TestPostGISLayerPassword.file_contents)
62            (TestLoadError.file_contents, TestLoadError.test): Update to
63            thuban-1.0rc1 namespace
64    
65    2003-12-01  Bernhard Herzog  <[email protected]>
66    
67            * setup.py (proj4_prefix, wx_prefix, gdal_prefix): Fix these for
68            nt to better match Intevation's current w32 setup
69    
70            * HOWTO-Release: Add note about updating MANIFEST.in
71    
72            * MANIFEST.in: Add the Extensions
73    
74            * NEWS: Update for 1.0rc1
75    
76    2003-12-01  Bernhard Herzog  <[email protected]>
77    
78            * Thuban/UI/mainwindow.py (MainWindow.AddLayer): Change the wild
79            cards for the dialog so that shapefiles ending in all uppercase
80            SHP are listed too
81    
82    2003-11-28  Bernhard Herzog  <[email protected]>
83    
84            * Thuban/version.py (longversion): Update to 1.0rc1
85    
86            * setup.py (setup call): Update version to 1.0rc1. Use the
87            [email protected] email address as author email instead of my
88            personal one.
89    
90    2003-11-28  Bernhard Herzog  <[email protected]>
91    
92            * po/de.po: Update german translation.
93    
94    2003-11-28  Bernhard Herzog  <[email protected]>
95    
96            Unify the filenames stored in .thuban files so that the .thuban
97            files are more platform independend
98    
99            * Thuban/Model/save.py (unify_filename): New. Unify filenames so
100            that they can be used on both windows and unix
101            (SessionSaver.prepare_filename): New. Handle all filename
102            transformations for filenames stored in the thuban file
103            (SessionSaver.write_data_containers, SessionSaver.write_layer):
104            Use prepare_filename
105    
106            * test/test_save.py (SaveSessionTest.testSingleLayer)
107            (SaveSessionTest.testLayerProjection)
108            (SaveSessionTest.testRasterLayer)
109            (SaveSessionTest.testClassifiedLayer)
110            (SaveSessionTest.test_dbf_table)
111            (SaveSessionTest.test_joined_table): Filenames are always stored
112            with slashes on all currently supported platforms so adapt all
113            tests to this
114    
115            * test/test_load.py (LoadSessionTest.filenames): With the new
116            filename scheme the filenames in the tests should be
117            understandable on all currently supported platforms so we turn
118            this into an empty list because we don't have to normalize them
119            anymore
120    
121    2003-11-28  Bernhard Herzog  <[email protected]>
122    
123            * test/test_layer.py (TestLayer.test_arc_layer_with_projection):
124            Add the ellipsoid to the projection since some Proj versions
125            complain if it's missing.
126    
127    2003-11-27  Bernhard Herzog  <[email protected]>
128    
129            Corect some bounding box projection problems
130    
131            * Thuban/Model/proj.py (Projection.InverseBBox): New. Inverse
132            version of ForwardBBox
133            (Projection._transform_bbox): New. common implementation of
134            ForwardBBox and InverseBBox
135            (Projection.ForwardBBox): Use _transform_bbox.
136    
137            * test/test_proj.py (TestProjection.test): Add test for
138            InverseBBox
139    
140            * Thuban/Model/layer.py (Layer.LatLongBoundingBox)
141            (Layer.ShapesBoundingBox, RasterLayer.LatLongBoundingBox): Use the
142            new InverseBBox method to determine the unprojected bounding box
143            (Layer.ShapesInRegion): Use the ForwardBBox method to project the
144            bbox.
145    
146            * test/test_layer.py (TestLayer.test_point_layer_with_projection):
147            Removed.
148            (TestLayer.test_arc_layer_with_projection): New. This test is
149            better able to test whether bounding boxes are projected correctly
150            than test_point_layer_with_projection
151    
152            * Thuban/UI/viewport.py (ViewPort.map_projection_changed): Use
153            InverseBBox to unproject bboxes
154    
155    2003-11-25  Bernhard Herzog  <[email protected]>
156    
157            * Thuban/UI/about.py (About.__init__): Make sure we have ASCII
158            source code.
159    
160    2003-11-25  Bernhard Herzog  <[email protected]>
161    
162            * Thuban/Model/layer.py (Layer.__getattr__): Removed. It was only
163            there for backwards compatibility and all code relying on that
164            should have been updated by now.
165    
166    2003-11-25  Bernhard Herzog  <[email protected]>
167    
168            * test/test_load.py (TestClassification.test): Add the missing
169            round trip test.
170            (TestClassification.file_contents): Update to the newest file
171            format
172    
173    2003-11-25  Bernhard Herzog  <[email protected]>
174    
175            Add very experimental (and possibly dangerous) extension to draw
176            polygons:
177    
178            * Extensions/drawshape/README: New. Brief installation
179            instructions
180    
181            * Extensions/drawshape/drawshape.py: New. Implementation of the
182            drawshape extensions
183    
184            * Extensions/drawshape/patch.diff: Patch to apply before the
185            extension can be used.
186    
187    2003-11-24  Bernhard Herzog  <[email protected]>
188    
189            * Thuban/Model/data.py (ShapefileStore._open_shapefile)
190            (ShapefileStore.__init__): Factor opening the shapefile into a
191            separate method (the new _open_shapefile). This makes the code a
192            bit more readable but the real reason is that it makes some evil
193            hacks easier. :-)
194    
195    2003-11-24  Bernhard Herzog  <[email protected]>
196    
197            * Thuban/Model/load.py (SessionLoader.check_attrs): If no
198            converter is specified for an attribute assume it's a string
199            containing only Latin1 characters. Update doc-string accordingly.
200            This change should fix many places where unicode objects might
201            accidentally enter Thuban.
202    
203            * test/test_load.py (TestNonAsciiColumnName): New test to check
204            what happens with column names in DBF files that contain non-ascii
205            characters
206    
207    2003-11-21  Bernhard Herzog  <[email protected]>
208    
209            Enable the experimental attribute editing again and introduce a
210            command line switch to actually activate it
211    
212            * Thuban/UI/main.py (options): New. Container for options set on
213            the commmand line
214            (main): Add the --enable-attribute-editing flag.
215    
216            * Thuban/UI/identifyview.py (IdentifyView.__init__): If attribute
217            editing is enabled use the grid ctrl which allows editing of the
218            values
219    
220            * Thuban/Model/transientdb.py (AutoTransientTable.write_record):
221            New. Just delegate this to the underlying table.
222    
223    2003-11-20  Bernhard Herzog  <[email protected]>
224    
225            * test/test_proj.py (ProjFileReadTests.test_read_unreadable_file):
226            Skip this test if run under non-posix systems since it only works
227            there
228    
229    2003-11-19  Bernhard Herzog  <[email protected]>
230    
231            * Thuban/Model/resource.py: Rework the way gdal support is
232            determined so that we can give a reason in the about why gdal is
233            not supported.
234            (gdal_support_status): New. Variable holding a string with the
235            reason for no gdal support
236    
237            * Thuban/UI/about.py (About.__init__): Add the reason why gdal is
238            not supported to the message
239    
240    2003-11-19  Bernhard Herzog  <[email protected]>
241    
242            Remove the old table interface and its test cases
243    
244            * Thuban/Model/table.py (OldTableInterfaceMixin): Removed.
245            (DBFTable, MemoryTable): Do not derive from OldTableInterfaceMixin
246            anymore
247    
248            * Thuban/Model/transientdb.py (TransientTableBase)
249            (AutoTransientTable): Do not derive from OldTableInterfaceMixin
250            anymore
251    
252            * test/test_table.py: Removed since the old interface it tests is
253            gone.
254    
255            * test/runtests.py (main): The old table interface is gone and
256            with it the deprecation warnings so remove the code that turns
257            these warnings into errors
258    
259    2003-11-19  Bernhard Herzog  <[email protected]>
260    
261            * test/test_table.py: Revert to revision 1.5 again. Changing the
262            tests to use the new table interface is completely wrong since the
263            whole purpose of the tests in this module is to test the old
264            interface.
265    
266    2003-11-18  Bernhard Herzog  <[email protected]>
267    
268            * Thuban/Model/postgisdb.py (PostGISConnection.MatchesParameters):
269            New. Test whether the connection matches a set of connection
270            parameters
271    
272            * Thuban/UI/dbdialog.py (DBFrame.conns_changed): Fix doc-string
273            (DBFrame.OnAdd): Use the new MatchesParameters method when looking
274            for existing connections with the same parameters and break out of
275            the loop correctly.
276    
277            * test/test_postgis_db.py (TestBriefDescription)
278            (TestPostGISSimple.test_brief_description): Rename
279            TestBriefDescription to TestPostGISSimple and the test method to
280            test_brief_description so that we can add more test methods.
281            (TestPostGISSimple.test_matches_parameters): New. Test the new
282            MatchesParameters method
283    
284    2003-11-18  Bernhard Herzog  <[email protected]>
285    
286            * Thuban/Lib/connector.py (Publisher): Introduce a new flag,
287            _was_destroyed, to indicate whether an publisher instance has
288            already been destroyed.
289            (Publisher.Unsubscribe): Only disconnect if the publisher has not
290            been destroyed yet.
291            (Publisher.Destroy): Set the _was_destroyed flag to true.
292    
293            * test/test_connector.py
294            (TestPublisher.test_unsubscribe_after_destroy): New. Test that
295            calling Unsubscribe after Destroy doesn't raise an exception
296    
297    2003-11-14  Bernhard Herzog  <[email protected]>
298    
299            * Thuban/UI/identifyview.py (IdentifyView.selected_shape): Fix
300            typo in doc-string
301    
302    2003-11-13  Bernhard Herzog  <[email protected]>
303    
304            Quote table and column names properly for postgis.
305    
306            * Thuban/Model/postgisdb.py (quote_identifier): New. Function to
307            quote an identifier for use in an sql statement
308            (PostGISColumn.__init__): Add the quoted_name attribute
309            (PostGISTable.__init__): New instance variable quoted_tablename
310            (PostGISTable._fetch_table_information): Use the quoted table
311            name. New isntance variable quoted_geo_col with a quoted version
312            of geometry_column
313            (PostGISTable.NumRows, PostGISTable.RowIdToOrdinal)
314            (PostGISTable.RowOrdinalToId): Use the quoted table name
315            (PostGISTable.ReadValue, PostGISTable.ValueRange)
316            (PostGISTable.UniqueValues, PostGISTable.SimpleQuery)
317            (PostGISShapeStore.BoundingBox, PostGISShapeStore.Shape)
318            (PostGISShapeStore.AllShapes, PostGISShapeStore.ShapesInRegion):
319            Use quoted table and column names
320    
321            * test/test_postgis_db.py (TestPostGISSpecialCases)
322            (TestPostGISIgnoredColumns): Rename the class to
323            TestPostGISSpecialCases because that better describes the new
324            cases
325            (TestPostGISSpecialCases.test_unsupported_types)
326            (TestPostGISSpecialCases.test): Rename the method to
327            test_unsupported_types because we need a more descriptive name now
328            that there are more methods
329            (TestPostGISSpecialCases.test_table_name_quoting)
330            (TestPostGISSpecialCases.test_column_name_quoting)
331            (TestPostGISSpecialCases.test_shapestore_name_quoting): New test
332            cases to test quoting of table and column names in PostGISTable
333            and PostGISShapeStore
334    
335            * test/postgissupport.py
336            (skip_if_addgeometrycolumn_does_not_use_quote_ident): New. Skip if
337            AddGeometryColumn desn't support table or column names with sapces
338            or double quotes
339    
340    2003-11-12  Jan-Oliver Wagner <[email protected]>
341    
342            * Extensions/wms/__init__.py: New: Init to make this
343            directory a package.
344    
345            * Extensions/wms/wms.py: New: Provide layers via OGC WMS.
346    
347    2003-11-11  Bernhard Herzog  <[email protected]>
348    
349            * Thuban/Model/resource.py (EPSG_DEPRECATED_PROJ_FILE): New.
350            Constant for the file woth deprecated epsg projections
351            (get_system_proj_file): Update doc-string
352    
353            * Thuban/UI/projdialog.py (ProjFrame.build_dialog): Add a space
354            above the EPS widgets, introduce a check box for the deprecated
355            eps projections and a label for the epsg widgets
356            (ProjFrame._OnShowEPSG): Handle the deprecated EPSG projections
357            too
358    
359  2003-11-11  Bernhard Herzog  <[email protected]>  2003-11-11  Bernhard Herzog  <[email protected]>
360    
361          Avoid warnings when run under Python 2.3          Avoid warnings when run under Python 2.3

Legend:
Removed from v.1939  
changed lines
  Added in v.2016

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26