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

Legend:
Removed from v.1951  
changed lines
  Added in v.2021

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26