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

Legend:
Removed from v.1932  
changed lines
  Added in v.2020

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26