/[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 1922 by bh, Mon Nov 3 18:42:35 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]>
554    
555            * test/test_table.py: Revert to revision 1.5 again. Changing the
556            tests to use the new table interface is completely wrong since the
557            whole purpose of the tests in this module is to test the old
558            interface.
559    
560    2003-11-18  Bernhard Herzog  <[email protected]>
561    
562            * Thuban/Model/postgisdb.py (PostGISConnection.MatchesParameters):
563            New. Test whether the connection matches a set of connection
564            parameters
565    
566            * Thuban/UI/dbdialog.py (DBFrame.conns_changed): Fix doc-string
567            (DBFrame.OnAdd): Use the new MatchesParameters method when looking
568            for existing connections with the same parameters and break out of
569            the loop correctly.
570    
571            * test/test_postgis_db.py (TestBriefDescription)
572            (TestPostGISSimple.test_brief_description): Rename
573            TestBriefDescription to TestPostGISSimple and the test method to
574            test_brief_description so that we can add more test methods.
575            (TestPostGISSimple.test_matches_parameters): New. Test the new
576            MatchesParameters method
577    
578    2003-11-18  Bernhard Herzog  <[email protected]>
579    
580            * Thuban/Lib/connector.py (Publisher): Introduce a new flag,
581            _was_destroyed, to indicate whether an publisher instance has
582            already been destroyed.
583            (Publisher.Unsubscribe): Only disconnect if the publisher has not
584            been destroyed yet.
585            (Publisher.Destroy): Set the _was_destroyed flag to true.
586    
587            * test/test_connector.py
588            (TestPublisher.test_unsubscribe_after_destroy): New. Test that
589            calling Unsubscribe after Destroy doesn't raise an exception
590    
591    2003-11-14  Bernhard Herzog  <[email protected]>
592    
593            * Thuban/UI/identifyview.py (IdentifyView.selected_shape): Fix
594            typo in doc-string
595    
596    2003-11-13  Bernhard Herzog  <[email protected]>
597    
598            Quote table and column names properly for postgis.
599    
600            * Thuban/Model/postgisdb.py (quote_identifier): New. Function to
601            quote an identifier for use in an sql statement
602            (PostGISColumn.__init__): Add the quoted_name attribute
603            (PostGISTable.__init__): New instance variable quoted_tablename
604            (PostGISTable._fetch_table_information): Use the quoted table
605            name. New isntance variable quoted_geo_col with a quoted version
606            of geometry_column
607            (PostGISTable.NumRows, PostGISTable.RowIdToOrdinal)
608            (PostGISTable.RowOrdinalToId): Use the quoted table name
609            (PostGISTable.ReadValue, PostGISTable.ValueRange)
610            (PostGISTable.UniqueValues, PostGISTable.SimpleQuery)
611            (PostGISShapeStore.BoundingBox, PostGISShapeStore.Shape)
612            (PostGISShapeStore.AllShapes, PostGISShapeStore.ShapesInRegion):
613            Use quoted table and column names
614    
615            * test/test_postgis_db.py (TestPostGISSpecialCases)
616            (TestPostGISIgnoredColumns): Rename the class to
617            TestPostGISSpecialCases because that better describes the new
618            cases
619            (TestPostGISSpecialCases.test_unsupported_types)
620            (TestPostGISSpecialCases.test): Rename the method to
621            test_unsupported_types because we need a more descriptive name now
622            that there are more methods
623            (TestPostGISSpecialCases.test_table_name_quoting)
624            (TestPostGISSpecialCases.test_column_name_quoting)
625            (TestPostGISSpecialCases.test_shapestore_name_quoting): New test
626            cases to test quoting of table and column names in PostGISTable
627            and PostGISShapeStore
628    
629            * test/postgissupport.py
630            (skip_if_addgeometrycolumn_does_not_use_quote_ident): New. Skip if
631            AddGeometryColumn desn't support table or column names with sapces
632            or double quotes
633    
634    2003-11-12  Jan-Oliver Wagner <[email protected]>
635    
636            * Extensions/wms/__init__.py: New: Init to make this
637            directory a package.
638    
639            * Extensions/wms/wms.py: New: Provide layers via OGC WMS.
640    
641    2003-11-11  Bernhard Herzog  <[email protected]>
642    
643            * Thuban/Model/resource.py (EPSG_DEPRECATED_PROJ_FILE): New.
644            Constant for the file woth deprecated epsg projections
645            (get_system_proj_file): Update doc-string
646    
647            * Thuban/UI/projdialog.py (ProjFrame.build_dialog): Add a space
648            above the EPS widgets, introduce a check box for the deprecated
649            eps projections and a label for the epsg widgets
650            (ProjFrame._OnShowEPSG): Handle the deprecated EPSG projections
651            too
652    
653    2003-11-11  Bernhard Herzog  <[email protected]>
654    
655            Avoid warnings when run under Python 2.3
656    
657            * Thuban/UI/baserenderer.py (BaseRenderer.draw_point_shape)
658            (BaseRenderer.draw_label_layer): Coordinates must be ints.
659    
660            * Thuban/UI/renderer.py (MapRenderer.make_point): Turn this into a
661            real method so that we can convert to int.
662            (MapRenderer.label_font): The font size mist be an int.
663    
664            * Thuban/UI/common.py (Color2wxColour): The color values must be
665            ints. Also, remove the unnecessary asserts.
666    
667            * test/test_load_0_8.py (TestUnicodeStrings.file_contents)
668            (TestUnicodeStrings.test): Python source code should not contain
669            non-ascii characters unless an encoding is specified in the file.
670            Therefore use \x escapes in the string literals for non-ascii
671            characters.
672    
673    2003-11-11  Bernhard Herzog  <[email protected]>
674    
675            * Thuban/Model/resource.py (get_system_proj_file): Add a filename
676            parameter so that this function can be used for all proj files in
677            Resource/Projections
678            (DEFAULT_PROJ_FILE, EPSG_PROJ_FILE): New. Predefined filenames for
679            get_system_proj_file
680    
681            * Thuban/UI/projdialog.py (ProjFrame.__init__): Instead of one
682            ProjFile self.__sysProjFile use a dictionary of system ProjFile
683            objects self._sys_proj_files
684            (ProjFrame.build_dialog): Adapt to the new changes in the
685            ProjectionList constructor. Add a check button to toggle whether
686            EPSG projections are shown
687            (ProjFrame._OnShowEPSG): New. Handler for the epsg check button
688            events.
689            (ProjFrame.load_user_proj, ProjFrame.load_system_proj): Only show
690            the busy cursor if the files have not yet been loaded by the
691            dialog.
692            (ProjFrame.load_system_proj): Add a parameter for the name of the
693            proj file. Maintain the dictionary of system projections
694            self._sys_proj_files
695    
696            * Thuban/UI/projlist.py (ProjectionList): Merge the system_projs,
697            user_projs parameters into one parameter proj_files which is a
698            list of proj files.
699            (ProjectionList._subscribe_proj_files)
700            (ProjectionList._unsubscribe_proj_files): New. Move
701            subscription/unsubscription of projfile messages to separate
702            methods
703            (ProjectionList.Destroy): The unsubscribe is now done in
704            _unsubscribe_proj_files
705            (ProjectionList.update_projections): We now have a list of proj
706            file objects
707            (ProjectionList.SetProjFiles): New method to set a new list of
708            proj file objects
709    
710            * test/test_proj.py (ProjFileReadTests.test_get_system_proj_file):
711            Specify explicitly which system proj file to load.
712    
713    2003-11-11  Bernhard Herzog  <[email protected]>
714    
715            * Thuban/Model/load.py (SessionLoader.Destroy): New. Clear all
716            instance variables to cut cyclic references. The GC would have
717            collected the loader eventually but it can happen that it doesn't
718            run at all until thuban is closed (2.3 but not 2.2 tries a bit
719            harder and forces a collection when the interpreter terminates)
720            (load_session): Call the handler's Destroy method to make sure
721            that it gets garbage collected early. Otherwise it will be
722            collected very late if at all and it holds some references to e.g.
723            shapestores and the session which can lead to leaks (of e.g. the
724            temporary files)
725    
726            * test/test_load.py (TestSingleLayer.test_leak): New. test for the
727            resource leak in load_session
728    
729    2003-11-10  Bernhard Herzog  <[email protected]>
730    
731            * Thuban/UI/baserenderer.py: Add a way to specify how layers in
732            extensions are to be rendered.
733            (_renderer_extensions): New. List with renderer for layers in
734            extensions
735            (add_renderer_extension): New. Add a renderer extension
736            (init_renderer_extensions): New. Init the renderer extensions
737            (BaseRenderer.render_map_incrementally): Search
738            _renderer_extensions for how to draw unknown layer types
739            (BaseRenderer.draw_raster_data): Add format parameter so that
740            formats other than BMP can be drawn
741            (BaseRenderer.draw_raster_layer): Pass an explicit format to
742            draw_raster_data
743    
744            * Thuban/UI/renderer.py (raster_format_map): New. Mapping form the
745            strings of the format parameter of draw_raster_data method to wx
746            constants
747            (MapRenderer.draw_raster_data): Add the format parameter and use
748            raster_format_map to map it to the right wxwindows constant for
749            wxImageFromStream
750    
751            * test/test_baserenderer.py (SimpleRenderer.draw_raster_data): Add
752            the format parameter and record it
753            (TestBaseRenderer.test_raster_no_projection): check the format
754            paramter of the draw_raster_data method
755            (TestBaseRenderer.test_renderer_extension): New. Test the renderer
756            extension facility
757    
758    2003-11-07  Bernhard Herzog  <[email protected]>
759    
760            Tweak the usage of the sqlite database to make common use cases
761            more responsive. In most cases copying the data to the sqlite
762            database takes so long that using sqlite doesn't have enough
763            advantages.
764    
765            * Thuban/Model/transientdb.py (TransientTableBase.ValueRange): Add
766            comments about performance and query the min and max in separate
767            statements because only that way will indexes be used.
768            (TransientTableBase.UniqueValues): Add some comments about
769            performance.
770            (AutoTransientTable.ValueRange, AutoTransientTable.UniqueValues):
771            Do not copy the data to the transient DB but use the transient
772            copy if it exists. See the new comments for the performance trade
773            offs
774    
775            * test/test_transientdb.py
776            (TestTransientTable.test_auto_transient_table): Make sure that the
777            data is copied to the transient database at some point.
778    
779  2003-11-03  Bernhard Herzog  <[email protected]>  2003-11-03  Bernhard Herzog  <[email protected]>
780    
781          * Thuban/Model/data.py (ShapefileStore.ShapesInRegion): Bind some          * Thuban/Model/data.py (ShapefileStore.ShapesInRegion): Bind some

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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26