/[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 1960 by bh, Wed Nov 19 15:31:52 2003 UTC revision 2069 by bh, Mon Feb 16 19:42:23 2004 UTC
# Line 1  Line 1 
1    2004-02-16  Bernhard Herzog  <[email protected]>
2    
3            * Thuban/UI/view.py (MapCanvas.Export): Remove accidentally added
4            line
5    
6    2004-02-16  Bernhard Herzog  <[email protected]>
7    
8            * Thuban/UI/view.py (MapCanvas.Export): Avoid UnboundLocalError.
9    
10    2004-02-15  Markus Rechtien  <[email protected]>
11            
12            * Extensions/svgexport/svgmapwriter.py: New. Adds the capability
13            to write a session to a file in SVG format.
14            * Extensions/svgexport/svgsaver.py: New. Uses svgmapwriter.py
15            to write a SVG map of a session.
16            * Extensions/svgexport/maplegend: New. Writes a basic maplegend
17            in SVG format for the current session.
18    
19    2004-02-13  Bernhard Herzog  <[email protected]>
20    
21            * Thuban/UI/mainwindow.py (MainWindow.AddDBLayer): When the layer
22            can't be created, return immediately after displaying the error
23            message.
24    
25    2004-02-11  Bernhard Herzog  <[email protected]>
26    
27            Handle postgis tables with more than one geometry column.
28    
29            * Thuban/Model/postgisdb.py
30            (PostGISTable._fetch_table_information): Delegate the creation of
31            column objects to a different method so that we can extend that in
32            derived classes
33            (PostGISTable._create_col_from_description): New. Column object
34            creation part of _fetch_table_information
35            (PostGISShapeStore._create_col_from_description): New. Extend
36            inherited method to handle geometry columns
37            (PostGISShapeStore.__init__): New parameter geometry_column to
38            specify which geometry column to use.  Optional but mandatory for
39            tables with more than one geometry column
40            (PostGISShapeStore._fetch_table_information): Also use the name of
41            the geometry column when looking for the srid
42            (PostGISShapeStore.ShapeType): Also use the name of the geometry
43            column when looking for the shape type
44    
45            * test/test_save.py (SaveSessionTest.test_save_postgis): Adapt
46            NonConnectionStore to changes in the PostGISShapeStore
47    
48            * test/test_postgis_db.py
49            (TestPostGISSpecialCases.test_shapestore_two_geom_cols): Test
50            PostGISShapeStore with tables having two geometry columns.
51    
52    2004-02-10  Bernhard Herzog  <[email protected]>
53    
54            Fix some postgis problems.  What remains to be done is real
55            handling of SRIDs as they affect how reprojection is done
56    
57            * Thuban/Model/postgisdb.py (quote_identifier): Fix typo in
58            doc-string
59            (PostGISShapeStore._fetch_table_information): New. Extend
60            inherited method to retrieve srid
61            (PostGISShapeStore.BoundingBox): Handle tables without data.
62            extent yields NULL for those
63            (PostGISShapeStore.ShapesInRegion): Use the srid of the table.
64    
65            * test/test_postgis_db.py
66            (TestPostGISSpecialCases.test_shapestore_empty_table): New test
67            for the special case of a table without any data
68            (TestPostGISShapestorePointSRID): New class with tests for a table
69            that uses srids
70            (PolygonTests): Fix a doc-string typo
71    
72            * test/postgissupport.py (PostGISDatabase.__init__): New parameter
73            reference_systems with a specification of spacial reference
74            systems to create in the new db.
75            (PostgreSQLServer.new_postgis_db)
76            (PostgreSQLServer.get_static_data_db): New parameter
77            reference_systems to be passed through ultimately to
78            PostGISDatabase.  In new_postgis_db also check whether an existing
79            db already has the right srids
80            (PostgreSQLServer.get_default_static_data_db): Add srids and a
81            table that uses srids
82            (PostGISDatabase.initdb): Create the entries for the reference
83            systems
84            (PostGISDatabase.has_data): Add reference_systems parameter to
85            check for those too
86            (upload_shapefile): New parameter srid to create tables with a
87            specific srid
88    
89    2004-02-06  Frank Koormann  <[email protected]>
90    
91            * po/pt_BR.po: Fixed charset
92    
93    2004-02-05  Frank Koormann  <[email protected]>
94    
95            * po/pt_BR.po: Fixed format string for error message, missing %s
96            added (Thuban/UI/application.py:273)
97    
98    2004-02-03  Frank Koormann  <[email protected]>
99            
100            First version of Portuguese (Brazilian) translation
101    
102            * po/pt_BR.po: New, translation of pot (2004-01-15 16:07+0300) for
103            Brazilian Portuguese by Eduardo Patto Kanegae.
104    
105            * Thuban/UI/about.py (About.__init.py__): Added Eduardo to the list of
106            translators.
107    
108    
109    2004-01-22  Frank Koormann  <[email protected]>
110    
111            * Doc/manual/thuban-manual.xml: Added section on installation of
112            Thuban under Win32 systems. Fixed image path references in the postgis
113            section. Some minor source formattings.
114    
115    2004-01-21  Frank Koormann  <[email protected]>
116    
117            Make Thuban remember path selections (at least for one application run).
118    
119            * Thuban/UI/application.py (Application.OnInit): Initialize path as a
120            attribute of application object. Path is a dictionary of
121            strings, currently with the items "data" and "projection".  
122            (Application.SetPath): New, stores path for the specified item.
123            (Application.Path): New, return path for the specified item.
124    
125            * Thuban/UI/mainwindow.py
126            (MainWindow.OpenSession, MainWindow.SaveSessionAs,
127            MainWindow.AddLayer, MainWindow.AddRasterLayer,
128            MainWindow.TableOpen): Access "data" path information of the
129            application.
130            
131            * Thuban/UI/projdialog.py (ProjFrame._OnImport, ProjFrame._OnExport):
132            Access "projection" path information of the application.
133    
134    2004-01-05  Bernhard Herzog  <[email protected]>
135    
136            * po/ru.po: Updated translations from Alex Shevlakov
137    
138    2004-01-05  Bernhard Herzog  <[email protected]>
139    
140            * po/Makefile, po/README: Move the description of how to generate
141            the translation statistics to the README.
142    
143    2003-12-23  Bernhard Herzog  <[email protected]>
144    
145            * NEWS: Update for 1.0.0
146    
147            * po/it.po: Another update from Maurizio Napolitano
148    
149    2003-12-23  Bernhard Herzog  <[email protected]>
150    
151            * po/it.po: Updated translation from Maurizio Napolitano
152    
153    2003-12-23  Bernhard Herzog  <[email protected]>
154    
155            * Thuban/UI/join.py (JoinDialog.__init__): Mark one more string
156            for translation
157    
158            * Thuban/UI/mainwindow.py (MainWindow.TableRename)
159            (MainWindow.RenameMap, MainWindow.RenameLayer): Mark some more
160            strings for translation
161    
162            * po/de.po: Update with the newly marked strings.
163    
164    2003-12-22  Bernhard Herzog  <[email protected]>
165    
166            * HOWTO-Release: Fix the places where version numbers have to be
167            updated
168    
169    2003-12-22  Bernhard Herzog  <[email protected]>
170    
171            * setup.py (setup call): 1.0.0, yeah!
172    
173            * Thuban/version.py (longversion): 1.0.0, yeah!
174    
175            * Thuban/Model/load.py (SessionLoader.__init__): Accept the
176            1.0.0 namespace too
177    
178            * Thuban/Model/save.py (SessionSaver.write_session): Save with
179            1.0.0 namespace
180    
181            * test/test_load.py (LoadSessionTest.dtd)
182            (TestSingleLayer.file_contents)
183            (TestNonAsciiColumnName.file_contents)
184            (TestLayerVisibility.file_contents)
185            (TestClassification.file_contents, TestLabels.file_contents)
186            (TestLayerProjection.file_contents)
187            (TestRasterLayer.file_contents, TestJoinedTable.file_contents)
188            (TestLabelLayer.file_contents, TestPostGISLayer.file_contents)
189            (TestPostGISLayerPassword.file_contents)
190            (TestLoadError.file_contents, TestLoadError.test): Update for
191            1.0.0 namespace
192    
193            * test/test_save.py (SaveSessionTest.dtd)
194            (SaveSessionTest.testEmptySession)
195            (SaveSessionTest.testSingleLayer)
196            (SaveSessionTest.testLayerProjection)
197            (SaveSessionTest.testRasterLayer)
198            (SaveSessionTest.testClassifiedLayer)
199            (SaveSessionTest.test_dbf_table)
200            (SaveSessionTest.test_joined_table)
201            (SaveSessionTest.test_save_postgis): Update for 1.0.0 namespace
202    
203    2003-12-22  Bernhard Herzog  <[email protected]>
204    
205            * Thuban/Model/load.py (SessionLoader.start_label): Make sure the
206            alignment flags are byte strings not unicode and that they have
207            valid values
208    
209            * test/test_load.py (TestLabelLayer): New. Test loading (and
210            indirectly saving) of maps with labels.
211    
212    2003-12-22  Bernhard Herzog  <[email protected]>
213    
214            * Thuban/UI/tableview.py (TableGrid.OnDestroy)
215            (TableGrid.__init__): Handle EVT_WINDOW_DESTROY in the grid to
216            unsubscribe all subscribers.
217            (LayerTableFrame.OnDestroy): Do not unsubscribe any messages from
218            self.grid since it may already have been destroyed.
219            Fixes RT #2256
220    
221    2003-12-19  Bernhard Herzog  <[email protected]>
222    
223            * po/fr.po, po/es.po: Updated translations from Daniel Calvelo
224    
225    2003-12-16  Bernhard Herzog  <[email protected]>
226            
227            * debian/bitmappath.patch, debian/setup.py.patch:
228                    added to ensure compliance with FHS for debian
229            * debian/rules, debian/changelog:
230                added patches in rules to ensure compliance with FHS for debian
231    
232    2003-12-16  Bernhard Herzog  <[email protected]>
233    
234            * po/Makefile (mo): Make the output a bit nicer so that it prints
235            statistics about the translations. Add a comment how produce even
236            nicer statistics with sed.
237    
238    2003-12-09  Frank Koormann   <[email protected]>
239    
240            * Resources/Projections/defaults.proj:
241            French projection sample with correct accents (UNICODE).
242    
243    2003-12-05  Bernhard Herzog  <[email protected]>
244    
245            * MANIFEST.in: Add the devtools directory
246    
247            * setup.py (setup call): Use license instead of licence. This
248            silences a deprecation warning on Python 2.3
249    
250    2003-12-05  Frank Koormann   <[email protected]>
251    
252            Documentation synced with 1.0rc1
253    
254            * Doc/manual/thuban-manual.xml:
255            Minor formatting changes and references to database layers .
256            Introduction.Internationalization: New section on i18n.
257            MapManagement.AddingandRemovingLayers: Added item on database layers.  
258            MapManagement.TheLegend: Added section and screenshot on popup menu.
259            ProjectionManagement: Updated screenshot and sentence on EPSG.
260            Appendix.SupportedDataSources: Added PostGIS.
261            Appendix.WorkingwithPostGIS: New section.
262    
263            * Doc/manual/images/6_projection.png: Updated screenshot including
264            EPSG checkboxes.
265    
266            * Doc/manual/images/3_5_popup_menu.png: New, popup menu screenshot.
267    
268            * Doc/manual/images/app_postgis_add_layer.png,
269            Doc/manual/images/app_postgis_db_add.png,
270            Doc/manual/images/app_postgis_db_management.png:
271            New screenshots focussing on database layers
272    
273    2003-12-05  Frank Koormann   <[email protected]>
274    
275            * Thuban/UI/projdialog.py (load_user_proj): If user.proj is missing
276            write warning to stderr instead of rising a warning dialog
277    
278    2003-12-03  Bernhard Herzog  <[email protected]>
279    
280            Fix for RT #2243
281    
282            * Thuban/UI/mainwindow.py (MainWindow.has_selected_shape_layer):
283            New. Like has_selected_layer but for shape layers only
284            (_has_selected_shape_layer): New. Like _has_selected_layer but for
285            shape layers only
286            (layer_show_table command, layer_jointable command): Use these
287            commands should only be available for shape layers
288    
289    2003-12-03  Bernhard Herzog  <[email protected]>
290    
291            * Thuban/UI/mainwindow.py (MainWindow.Unsubscribe): Deal with
292            publishers that are wx objects and may have been destroyed by wx
293            already. Fixes RT #2242.
294    
295    2003-12-03  Bernhard Herzog  <[email protected]>
296    
297            * po/ru.po: Updates from Alex Shevlakov
298    
299    2003-12-03  Silke Reimer <silkeintevation.de>
300    
301            * debian/control, debian/changelog: Added gdal-support to
302                    debian package, updated to new thuban version
303    
304    
305    2003-12-03  Bernhard Herzog  <[email protected]>
306    
307            * Thuban/Lib/version.py: New. Module for version number
308            manipulations. The version of make_tuple here also deals better
309            with more unusual version number strings, such as e.g.
310            "1.2+cvs20031111"
311    
312            * Thuban/version.py (make_tuple): Removed. It's now in
313            Thuban.Lib.version. Use that implementation instead.
314    
315            * test/test_lib_version.py: New. Tests for Thuban/Lib/version.py
316    
317    2003-12-02  Bernhard Herzog  <[email protected]>
318    
319            * MANIFEST.in: Add debian files
320    
321            * setup.py (setup call): Add packages for the Extensions so that
322            they're installed too
323            (data_files): Add READMEs and sample data from some Extensions
324    
325            * NEWS: Add note about the extensions in binary packages
326    
327    2003-12-02  Bernhard Herzog  <[email protected]>
328    
329            * Thuban/Model/save.py (SessionSaver.write_session): Save files
330            with the thuban-1.0rc1
331    
332            * Thuban/Model/load.py (SessionLoader.__init__): Recognize the
333            thuban-1.0rc1 namespace too
334    
335            * test/test_save.py (SaveSessionTest.dtd)
336            (SaveSessionTest.testEmptySession)
337            (SaveSessionTest.testSingleLayer)
338            (SaveSessionTest.testLayerProjection)
339            (SaveSessionTest.testRasterLayer)
340            (SaveSessionTest.testClassifiedLayer)
341            (SaveSessionTest.test_dbf_table)
342            (SaveSessionTest.test_joined_table)
343            (SaveSessionTest.test_save_postgis): Update to thuban-1.0rc1
344            namespace
345    
346            * test/test_load.py (LoadSessionTest.dtd): Update to thuban-1.0rc1
347            namespace
348            (TestSingleLayer.file_contents)
349            (TestNonAsciiColumnName.file_contents)
350            (TestLayerVisibility.file_contents)
351            (TestClassification.file_contents, TestLabels.file_contents)
352            (TestLayerProjection.file_contents)
353            (TestRasterLayer.file_contents, TestJoinedTable.file_contents)
354            (TestPostGISLayer.file_contents)
355            (TestPostGISLayerPassword.file_contents)
356            (TestLoadError.file_contents, TestLoadError.test): Update to
357            thuban-1.0rc1 namespace
358    
359    2003-12-01  Bernhard Herzog  <[email protected]>
360    
361            * setup.py (proj4_prefix, wx_prefix, gdal_prefix): Fix these for
362            nt to better match Intevation's current w32 setup
363    
364            * HOWTO-Release: Add note about updating MANIFEST.in
365    
366            * MANIFEST.in: Add the Extensions
367    
368            * NEWS: Update for 1.0rc1
369    
370    2003-12-01  Bernhard Herzog  <[email protected]>
371    
372            * Thuban/UI/mainwindow.py (MainWindow.AddLayer): Change the wild
373            cards for the dialog so that shapefiles ending in all uppercase
374            SHP are listed too
375    
376    2003-11-28  Bernhard Herzog  <[email protected]>
377    
378            * Thuban/version.py (longversion): Update to 1.0rc1
379    
380            * setup.py (setup call): Update version to 1.0rc1. Use the
381            [email protected] email address as author email instead of my
382            personal one.
383    
384    2003-11-28  Bernhard Herzog  <[email protected]>
385    
386            * po/de.po: Update german translation.
387    
388    2003-11-28  Bernhard Herzog  <[email protected]>
389    
390            Unify the filenames stored in .thuban files so that the .thuban
391            files are more platform independend
392    
393            * Thuban/Model/save.py (unify_filename): New. Unify filenames so
394            that they can be used on both windows and unix
395            (SessionSaver.prepare_filename): New. Handle all filename
396            transformations for filenames stored in the thuban file
397            (SessionSaver.write_data_containers, SessionSaver.write_layer):
398            Use prepare_filename
399    
400            * test/test_save.py (SaveSessionTest.testSingleLayer)
401            (SaveSessionTest.testLayerProjection)
402            (SaveSessionTest.testRasterLayer)
403            (SaveSessionTest.testClassifiedLayer)
404            (SaveSessionTest.test_dbf_table)
405            (SaveSessionTest.test_joined_table): Filenames are always stored
406            with slashes on all currently supported platforms so adapt all
407            tests to this
408    
409            * test/test_load.py (LoadSessionTest.filenames): With the new
410            filename scheme the filenames in the tests should be
411            understandable on all currently supported platforms so we turn
412            this into an empty list because we don't have to normalize them
413            anymore
414    
415    2003-11-28  Bernhard Herzog  <[email protected]>
416    
417            * test/test_layer.py (TestLayer.test_arc_layer_with_projection):
418            Add the ellipsoid to the projection since some Proj versions
419            complain if it's missing.
420    
421    2003-11-27  Bernhard Herzog  <[email protected]>
422    
423            Corect some bounding box projection problems
424    
425            * Thuban/Model/proj.py (Projection.InverseBBox): New. Inverse
426            version of ForwardBBox
427            (Projection._transform_bbox): New. common implementation of
428            ForwardBBox and InverseBBox
429            (Projection.ForwardBBox): Use _transform_bbox.
430    
431            * test/test_proj.py (TestProjection.test): Add test for
432            InverseBBox
433    
434            * Thuban/Model/layer.py (Layer.LatLongBoundingBox)
435            (Layer.ShapesBoundingBox, RasterLayer.LatLongBoundingBox): Use the
436            new InverseBBox method to determine the unprojected bounding box
437            (Layer.ShapesInRegion): Use the ForwardBBox method to project the
438            bbox.
439    
440            * test/test_layer.py (TestLayer.test_point_layer_with_projection):
441            Removed.
442            (TestLayer.test_arc_layer_with_projection): New. This test is
443            better able to test whether bounding boxes are projected correctly
444            than test_point_layer_with_projection
445    
446            * Thuban/UI/viewport.py (ViewPort.map_projection_changed): Use
447            InverseBBox to unproject bboxes
448    
449    2003-11-25  Bernhard Herzog  <[email protected]>
450    
451            * Thuban/UI/about.py (About.__init__): Make sure we have ASCII
452            source code.
453    
454    2003-11-25  Bernhard Herzog  <[email protected]>
455    
456            * Thuban/Model/layer.py (Layer.__getattr__): Removed. It was only
457            there for backwards compatibility and all code relying on that
458            should have been updated by now.
459    
460    2003-11-25  Bernhard Herzog  <[email protected]>
461    
462            * test/test_load.py (TestClassification.test): Add the missing
463            round trip test.
464            (TestClassification.file_contents): Update to the newest file
465            format
466    
467    2003-11-25  Bernhard Herzog  <[email protected]>
468    
469            Add very experimental (and possibly dangerous) extension to draw
470            polygons:
471    
472            * Extensions/drawshape/README: New. Brief installation
473            instructions
474    
475            * Extensions/drawshape/drawshape.py: New. Implementation of the
476            drawshape extensions
477    
478            * Extensions/drawshape/patch.diff: Patch to apply before the
479            extension can be used.
480    
481    2003-11-24  Bernhard Herzog  <[email protected]>
482    
483            * Thuban/Model/data.py (ShapefileStore._open_shapefile)
484            (ShapefileStore.__init__): Factor opening the shapefile into a
485            separate method (the new _open_shapefile). This makes the code a
486            bit more readable but the real reason is that it makes some evil
487            hacks easier. :-)
488    
489    2003-11-24  Bernhard Herzog  <[email protected]>
490    
491            * Thuban/Model/load.py (SessionLoader.check_attrs): If no
492            converter is specified for an attribute assume it's a string
493            containing only Latin1 characters. Update doc-string accordingly.
494            This change should fix many places where unicode objects might
495            accidentally enter Thuban.
496    
497            * test/test_load.py (TestNonAsciiColumnName): New test to check
498            what happens with column names in DBF files that contain non-ascii
499            characters
500    
501    2003-11-21  Bernhard Herzog  <[email protected]>
502    
503            Enable the experimental attribute editing again and introduce a
504            command line switch to actually activate it
505    
506            * Thuban/UI/main.py (options): New. Container for options set on
507            the commmand line
508            (main): Add the --enable-attribute-editing flag.
509    
510            * Thuban/UI/identifyview.py (IdentifyView.__init__): If attribute
511            editing is enabled use the grid ctrl which allows editing of the
512            values
513    
514            * Thuban/Model/transientdb.py (AutoTransientTable.write_record):
515            New. Just delegate this to the underlying table.
516    
517    2003-11-20  Bernhard Herzog  <[email protected]>
518    
519            * test/test_proj.py (ProjFileReadTests.test_read_unreadable_file):
520            Skip this test if run under non-posix systems since it only works
521            there
522    
523    2003-11-19  Bernhard Herzog  <[email protected]>
524    
525            * Thuban/Model/resource.py: Rework the way gdal support is
526            determined so that we can give a reason in the about why gdal is
527            not supported.
528            (gdal_support_status): New. Variable holding a string with the
529            reason for no gdal support
530    
531            * Thuban/UI/about.py (About.__init__): Add the reason why gdal is
532            not supported to the message
533    
534    2003-11-19  Bernhard Herzog  <[email protected]>
535    
536            Remove the old table interface and its test cases
537    
538            * Thuban/Model/table.py (OldTableInterfaceMixin): Removed.
539            (DBFTable, MemoryTable): Do not derive from OldTableInterfaceMixin
540            anymore
541    
542            * Thuban/Model/transientdb.py (TransientTableBase)
543            (AutoTransientTable): Do not derive from OldTableInterfaceMixin
544            anymore
545    
546            * test/test_table.py: Removed since the old interface it tests is
547            gone.
548    
549            * test/runtests.py (main): The old table interface is gone and
550            with it the deprecation warnings so remove the code that turns
551            these warnings into errors
552    
553  2003-11-19  Bernhard Herzog  <[email protected]>  2003-11-19  Bernhard Herzog  <[email protected]>
554    
555          * test/test_table.py: Revert to revision 1.5 again. Changing the          * test/test_table.py: Revert to revision 1.5 again. Changing the

Legend:
Removed from v.1960  
changed lines
  Added in v.2069

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26