/[thuban]/branches/WIP-pyshapelib-bramz/ChangeLog
ViewVC logotype

Diff of /branches/WIP-pyshapelib-bramz/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1939 by bh, Tue Nov 11 18:17:09 2003 UTC revision 2042 by bh, Tue Dec 23 11:59:18 2003 UTC
# Line 1  Line 1 
1    2003-12-23  Bernhard Herzog  <[email protected]>
2    
3            * po/it.po: Updated translation from Maurizio Napolitano
4    
5    2003-12-23  Bernhard Herzog  <[email protected]>
6    
7            * Thuban/UI/join.py (JoinDialog.__init__): Mark one more string
8            for translation
9    
10            * Thuban/UI/mainwindow.py (MainWindow.TableRename)
11            (MainWindow.RenameMap, MainWindow.RenameLayer): Mark some more
12            strings for translation
13    
14            * po/de.po: Update with the newly marked strings.
15    
16    2003-12-22  Bernhard Herzog  <[email protected]>
17    
18            * HOWTO-Release: Fix the places where version numbers have to be
19            updated
20    
21    2003-12-22  Bernhard Herzog  <[email protected]>
22    
23            * setup.py (setup call): 1.0.0, yeah!
24    
25            * Thuban/version.py (longversion): 1.0.0, yeah!
26    
27            * Thuban/Model/load.py (SessionLoader.__init__): Accept the
28            1.0.0 namespace too
29    
30            * Thuban/Model/save.py (SessionSaver.write_session): Save with
31            1.0.0 namespace
32    
33            * test/test_load.py (LoadSessionTest.dtd)
34            (TestSingleLayer.file_contents)
35            (TestNonAsciiColumnName.file_contents)
36            (TestLayerVisibility.file_contents)
37            (TestClassification.file_contents, TestLabels.file_contents)
38            (TestLayerProjection.file_contents)
39            (TestRasterLayer.file_contents, TestJoinedTable.file_contents)
40            (TestLabelLayer.file_contents, TestPostGISLayer.file_contents)
41            (TestPostGISLayerPassword.file_contents)
42            (TestLoadError.file_contents, TestLoadError.test): Update for
43            1.0.0 namespace
44    
45            * test/test_save.py (SaveSessionTest.dtd)
46            (SaveSessionTest.testEmptySession)
47            (SaveSessionTest.testSingleLayer)
48            (SaveSessionTest.testLayerProjection)
49            (SaveSessionTest.testRasterLayer)
50            (SaveSessionTest.testClassifiedLayer)
51            (SaveSessionTest.test_dbf_table)
52            (SaveSessionTest.test_joined_table)
53            (SaveSessionTest.test_save_postgis): Update for 1.0.0 namespace
54    
55    2003-12-22  Bernhard Herzog  <[email protected]>
56    
57            * Thuban/Model/load.py (SessionLoader.start_label): Make sure the
58            alignment flags are byte strings not unicode and that they have
59            valid values
60    
61            * test/test_load.py (TestLabelLayer): New. Test loading (and
62            indirectly saving) of maps with labels.
63    
64    2003-12-22  Bernhard Herzog  <[email protected]>
65    
66            * Thuban/UI/tableview.py (TableGrid.OnDestroy)
67            (TableGrid.__init__): Handle EVT_WINDOW_DESTROY in the grid to
68            unsubscribe all subscribers.
69            (LayerTableFrame.OnDestroy): Do not unsubscribe any messages from
70            self.grid since it may already have been destroyed.
71            Fixes RT #2256
72    
73    2003-12-19  Bernhard Herzog  <[email protected]>
74    
75            * po/fr.po, po/es.po: Updated translations from Daniel Calvelo
76    
77    2003-12-16  Bernhard Herzog  <[email protected]>
78            
79            * debian/bitmappath.patch, debian/setup.py.patch:
80                    added to ensure compliance with FHS for debian
81            * debian/rules, debian/changelog:
82                added patches in rules to ensure compliance with FHS for debian
83    
84    2003-12-16  Bernhard Herzog  <[email protected]>
85    
86            * po/Makefile (mo): Make the output a bit nicer so that it prints
87            statistics about the translations. Add a comment how produce even
88            nicer statistics with sed.
89    
90    2003-12-09  Frank Koormann   <[email protected]>
91    
92            * Resources/Projections/defaults.proj:
93            French projection sample with correct accents (UNICODE).
94    
95    2003-12-05  Bernhard Herzog  <[email protected]>
96    
97            * MANIFEST.in: Add the devtools directory
98    
99            * setup.py (setup call): Use license instead of licence. This
100            silences a deprecation warning on Python 2.3
101    
102    2003-12-05  Frank Koormann   <[email protected]>
103    
104            Documentation synced with 1.0rc1
105    
106            * Doc/manual/thuban-manual.xml:
107            Minor formatting changes and references to database layers .
108            Introduction.Internationalization: New section on i18n.
109            MapManagement.AddingandRemovingLayers: Added item on database layers.  
110            MapManagement.TheLegend: Added section and screenshot on popup menu.
111            ProjectionManagement: Updated screenshot and sentence on EPSG.
112            Appendix.SupportedDataSources: Added PostGIS.
113            Appendix.WorkingwithPostGIS: New section.
114    
115            * Doc/manual/images/6_projection.png: Updated screenshot including
116            EPSG checkboxes.
117    
118            * Doc/manual/images/3_5_popup_menu.png: New, popup menu screenshot.
119    
120            * Doc/manual/images/app_postgis_add_layer.png,
121            Doc/manual/images/app_postgis_db_add.png,
122            Doc/manual/images/app_postgis_db_management.png:
123            New screenshots focussing on database layers
124    
125    2003-12-05  Frank Koormann   <[email protected]>
126    
127            * Thuban/UI/projdialog.py (load_user_proj): If user.proj is missing
128            write warning to stderr instead of rising a warning dialog
129    
130    2003-12-03  Bernhard Herzog  <[email protected]>
131    
132            Fix for RT #2243
133    
134            * Thuban/UI/mainwindow.py (MainWindow.has_selected_shape_layer):
135            New. Like has_selected_layer but for shape layers only
136            (_has_selected_shape_layer): New. Like _has_selected_layer but for
137            shape layers only
138            (layer_show_table command, layer_jointable command): Use these
139            commands should only be available for shape layers
140    
141    2003-12-03  Bernhard Herzog  <[email protected]>
142    
143            * Thuban/UI/mainwindow.py (MainWindow.Unsubscribe): Deal with
144            publishers that are wx objects and may have been destroyed by wx
145            already. Fixes RT #2242.
146    
147    2003-12-03  Bernhard Herzog  <[email protected]>
148    
149            * po/ru.po: Updates from Alex Shevlakov
150    
151    2003-12-03  Silke Reimer <silkeintevation.de>
152    
153            * debian/control, debian/changelog: Added gdal-support to
154                    debian package, updated to new thuban version
155    
156    
157    2003-12-03  Bernhard Herzog  <[email protected]>
158    
159            * Thuban/Lib/version.py: New. Module for version number
160            manipulations. The version of make_tuple here also deals better
161            with more unusual version number strings, such as e.g.
162            "1.2+cvs20031111"
163    
164            * Thuban/version.py (make_tuple): Removed. It's now in
165            Thuban.Lib.version. Use that implementation instead.
166    
167            * test/test_lib_version.py: New. Tests for Thuban/Lib/version.py
168    
169    2003-12-02  Bernhard Herzog  <[email protected]>
170    
171            * MANIFEST.in: Add debian files
172    
173            * setup.py (setup call): Add packages for the Extensions so that
174            they're installed too
175            (data_files): Add READMEs and sample data from some Extensions
176    
177            * NEWS: Add note about the extensions in binary packages
178    
179    2003-12-02  Bernhard Herzog  <[email protected]>
180    
181            * Thuban/Model/save.py (SessionSaver.write_session): Save files
182            with the thuban-1.0rc1
183    
184            * Thuban/Model/load.py (SessionLoader.__init__): Recognize the
185            thuban-1.0rc1 namespace too
186    
187            * test/test_save.py (SaveSessionTest.dtd)
188            (SaveSessionTest.testEmptySession)
189            (SaveSessionTest.testSingleLayer)
190            (SaveSessionTest.testLayerProjection)
191            (SaveSessionTest.testRasterLayer)
192            (SaveSessionTest.testClassifiedLayer)
193            (SaveSessionTest.test_dbf_table)
194            (SaveSessionTest.test_joined_table)
195            (SaveSessionTest.test_save_postgis): Update to thuban-1.0rc1
196            namespace
197    
198            * test/test_load.py (LoadSessionTest.dtd): Update to thuban-1.0rc1
199            namespace
200            (TestSingleLayer.file_contents)
201            (TestNonAsciiColumnName.file_contents)
202            (TestLayerVisibility.file_contents)
203            (TestClassification.file_contents, TestLabels.file_contents)
204            (TestLayerProjection.file_contents)
205            (TestRasterLayer.file_contents, TestJoinedTable.file_contents)
206            (TestPostGISLayer.file_contents)
207            (TestPostGISLayerPassword.file_contents)
208            (TestLoadError.file_contents, TestLoadError.test): Update to
209            thuban-1.0rc1 namespace
210    
211    2003-12-01  Bernhard Herzog  <[email protected]>
212    
213            * setup.py (proj4_prefix, wx_prefix, gdal_prefix): Fix these for
214            nt to better match Intevation's current w32 setup
215    
216            * HOWTO-Release: Add note about updating MANIFEST.in
217    
218            * MANIFEST.in: Add the Extensions
219    
220            * NEWS: Update for 1.0rc1
221    
222    2003-12-01  Bernhard Herzog  <[email protected]>
223    
224            * Thuban/UI/mainwindow.py (MainWindow.AddLayer): Change the wild
225            cards for the dialog so that shapefiles ending in all uppercase
226            SHP are listed too
227    
228    2003-11-28  Bernhard Herzog  <[email protected]>
229    
230            * Thuban/version.py (longversion): Update to 1.0rc1
231    
232            * setup.py (setup call): Update version to 1.0rc1. Use the
233            [email protected] email address as author email instead of my
234            personal one.
235    
236    2003-11-28  Bernhard Herzog  <[email protected]>
237    
238            * po/de.po: Update german translation.
239    
240    2003-11-28  Bernhard Herzog  <[email protected]>
241    
242            Unify the filenames stored in .thuban files so that the .thuban
243            files are more platform independend
244    
245            * Thuban/Model/save.py (unify_filename): New. Unify filenames so
246            that they can be used on both windows and unix
247            (SessionSaver.prepare_filename): New. Handle all filename
248            transformations for filenames stored in the thuban file
249            (SessionSaver.write_data_containers, SessionSaver.write_layer):
250            Use prepare_filename
251    
252            * test/test_save.py (SaveSessionTest.testSingleLayer)
253            (SaveSessionTest.testLayerProjection)
254            (SaveSessionTest.testRasterLayer)
255            (SaveSessionTest.testClassifiedLayer)
256            (SaveSessionTest.test_dbf_table)
257            (SaveSessionTest.test_joined_table): Filenames are always stored
258            with slashes on all currently supported platforms so adapt all
259            tests to this
260    
261            * test/test_load.py (LoadSessionTest.filenames): With the new
262            filename scheme the filenames in the tests should be
263            understandable on all currently supported platforms so we turn
264            this into an empty list because we don't have to normalize them
265            anymore
266    
267    2003-11-28  Bernhard Herzog  <[email protected]>
268    
269            * test/test_layer.py (TestLayer.test_arc_layer_with_projection):
270            Add the ellipsoid to the projection since some Proj versions
271            complain if it's missing.
272    
273    2003-11-27  Bernhard Herzog  <[email protected]>
274    
275            Corect some bounding box projection problems
276    
277            * Thuban/Model/proj.py (Projection.InverseBBox): New. Inverse
278            version of ForwardBBox
279            (Projection._transform_bbox): New. common implementation of
280            ForwardBBox and InverseBBox
281            (Projection.ForwardBBox): Use _transform_bbox.
282    
283            * test/test_proj.py (TestProjection.test): Add test for
284            InverseBBox
285    
286            * Thuban/Model/layer.py (Layer.LatLongBoundingBox)
287            (Layer.ShapesBoundingBox, RasterLayer.LatLongBoundingBox): Use the
288            new InverseBBox method to determine the unprojected bounding box
289            (Layer.ShapesInRegion): Use the ForwardBBox method to project the
290            bbox.
291    
292            * test/test_layer.py (TestLayer.test_point_layer_with_projection):
293            Removed.
294            (TestLayer.test_arc_layer_with_projection): New. This test is
295            better able to test whether bounding boxes are projected correctly
296            than test_point_layer_with_projection
297    
298            * Thuban/UI/viewport.py (ViewPort.map_projection_changed): Use
299            InverseBBox to unproject bboxes
300    
301    2003-11-25  Bernhard Herzog  <[email protected]>
302    
303            * Thuban/UI/about.py (About.__init__): Make sure we have ASCII
304            source code.
305    
306    2003-11-25  Bernhard Herzog  <[email protected]>
307    
308            * Thuban/Model/layer.py (Layer.__getattr__): Removed. It was only
309            there for backwards compatibility and all code relying on that
310            should have been updated by now.
311    
312    2003-11-25  Bernhard Herzog  <[email protected]>
313    
314            * test/test_load.py (TestClassification.test): Add the missing
315            round trip test.
316            (TestClassification.file_contents): Update to the newest file
317            format
318    
319    2003-11-25  Bernhard Herzog  <[email protected]>
320    
321            Add very experimental (and possibly dangerous) extension to draw
322            polygons:
323    
324            * Extensions/drawshape/README: New. Brief installation
325            instructions
326    
327            * Extensions/drawshape/drawshape.py: New. Implementation of the
328            drawshape extensions
329    
330            * Extensions/drawshape/patch.diff: Patch to apply before the
331            extension can be used.
332    
333    2003-11-24  Bernhard Herzog  <[email protected]>
334    
335            * Thuban/Model/data.py (ShapefileStore._open_shapefile)
336            (ShapefileStore.__init__): Factor opening the shapefile into a
337            separate method (the new _open_shapefile). This makes the code a
338            bit more readable but the real reason is that it makes some evil
339            hacks easier. :-)
340    
341    2003-11-24  Bernhard Herzog  <[email protected]>
342    
343            * Thuban/Model/load.py (SessionLoader.check_attrs): If no
344            converter is specified for an attribute assume it's a string
345            containing only Latin1 characters. Update doc-string accordingly.
346            This change should fix many places where unicode objects might
347            accidentally enter Thuban.
348    
349            * test/test_load.py (TestNonAsciiColumnName): New test to check
350            what happens with column names in DBF files that contain non-ascii
351            characters
352    
353    2003-11-21  Bernhard Herzog  <[email protected]>
354    
355            Enable the experimental attribute editing again and introduce a
356            command line switch to actually activate it
357    
358            * Thuban/UI/main.py (options): New. Container for options set on
359            the commmand line
360            (main): Add the --enable-attribute-editing flag.
361    
362            * Thuban/UI/identifyview.py (IdentifyView.__init__): If attribute
363            editing is enabled use the grid ctrl which allows editing of the
364            values
365    
366            * Thuban/Model/transientdb.py (AutoTransientTable.write_record):
367            New. Just delegate this to the underlying table.
368    
369    2003-11-20  Bernhard Herzog  <[email protected]>
370    
371            * test/test_proj.py (ProjFileReadTests.test_read_unreadable_file):
372            Skip this test if run under non-posix systems since it only works
373            there
374    
375    2003-11-19  Bernhard Herzog  <[email protected]>
376    
377            * Thuban/Model/resource.py: Rework the way gdal support is
378            determined so that we can give a reason in the about why gdal is
379            not supported.
380            (gdal_support_status): New. Variable holding a string with the
381            reason for no gdal support
382    
383            * Thuban/UI/about.py (About.__init__): Add the reason why gdal is
384            not supported to the message
385    
386    2003-11-19  Bernhard Herzog  <[email protected]>
387    
388            Remove the old table interface and its test cases
389    
390            * Thuban/Model/table.py (OldTableInterfaceMixin): Removed.
391            (DBFTable, MemoryTable): Do not derive from OldTableInterfaceMixin
392            anymore
393    
394            * Thuban/Model/transientdb.py (TransientTableBase)
395            (AutoTransientTable): Do not derive from OldTableInterfaceMixin
396            anymore
397    
398            * test/test_table.py: Removed since the old interface it tests is
399            gone.
400    
401            * test/runtests.py (main): The old table interface is gone and
402            with it the deprecation warnings so remove the code that turns
403            these warnings into errors
404    
405    2003-11-19  Bernhard Herzog  <[email protected]>
406    
407            * test/test_table.py: Revert to revision 1.5 again. Changing the
408            tests to use the new table interface is completely wrong since the
409            whole purpose of the tests in this module is to test the old
410            interface.
411    
412    2003-11-18  Bernhard Herzog  <[email protected]>
413    
414            * Thuban/Model/postgisdb.py (PostGISConnection.MatchesParameters):
415            New. Test whether the connection matches a set of connection
416            parameters
417    
418            * Thuban/UI/dbdialog.py (DBFrame.conns_changed): Fix doc-string
419            (DBFrame.OnAdd): Use the new MatchesParameters method when looking
420            for existing connections with the same parameters and break out of
421            the loop correctly.
422    
423            * test/test_postgis_db.py (TestBriefDescription)
424            (TestPostGISSimple.test_brief_description): Rename
425            TestBriefDescription to TestPostGISSimple and the test method to
426            test_brief_description so that we can add more test methods.
427            (TestPostGISSimple.test_matches_parameters): New. Test the new
428            MatchesParameters method
429    
430    2003-11-18  Bernhard Herzog  <[email protected]>
431    
432            * Thuban/Lib/connector.py (Publisher): Introduce a new flag,
433            _was_destroyed, to indicate whether an publisher instance has
434            already been destroyed.
435            (Publisher.Unsubscribe): Only disconnect if the publisher has not
436            been destroyed yet.
437            (Publisher.Destroy): Set the _was_destroyed flag to true.
438    
439            * test/test_connector.py
440            (TestPublisher.test_unsubscribe_after_destroy): New. Test that
441            calling Unsubscribe after Destroy doesn't raise an exception
442    
443    2003-11-14  Bernhard Herzog  <[email protected]>
444    
445            * Thuban/UI/identifyview.py (IdentifyView.selected_shape): Fix
446            typo in doc-string
447    
448    2003-11-13  Bernhard Herzog  <[email protected]>
449    
450            Quote table and column names properly for postgis.
451    
452            * Thuban/Model/postgisdb.py (quote_identifier): New. Function to
453            quote an identifier for use in an sql statement
454            (PostGISColumn.__init__): Add the quoted_name attribute
455            (PostGISTable.__init__): New instance variable quoted_tablename
456            (PostGISTable._fetch_table_information): Use the quoted table
457            name. New isntance variable quoted_geo_col with a quoted version
458            of geometry_column
459            (PostGISTable.NumRows, PostGISTable.RowIdToOrdinal)
460            (PostGISTable.RowOrdinalToId): Use the quoted table name
461            (PostGISTable.ReadValue, PostGISTable.ValueRange)
462            (PostGISTable.UniqueValues, PostGISTable.SimpleQuery)
463            (PostGISShapeStore.BoundingBox, PostGISShapeStore.Shape)
464            (PostGISShapeStore.AllShapes, PostGISShapeStore.ShapesInRegion):
465            Use quoted table and column names
466    
467            * test/test_postgis_db.py (TestPostGISSpecialCases)
468            (TestPostGISIgnoredColumns): Rename the class to
469            TestPostGISSpecialCases because that better describes the new
470            cases
471            (TestPostGISSpecialCases.test_unsupported_types)
472            (TestPostGISSpecialCases.test): Rename the method to
473            test_unsupported_types because we need a more descriptive name now
474            that there are more methods
475            (TestPostGISSpecialCases.test_table_name_quoting)
476            (TestPostGISSpecialCases.test_column_name_quoting)
477            (TestPostGISSpecialCases.test_shapestore_name_quoting): New test
478            cases to test quoting of table and column names in PostGISTable
479            and PostGISShapeStore
480    
481            * test/postgissupport.py
482            (skip_if_addgeometrycolumn_does_not_use_quote_ident): New. Skip if
483            AddGeometryColumn desn't support table or column names with sapces
484            or double quotes
485    
486    2003-11-12  Jan-Oliver Wagner <[email protected]>
487    
488            * Extensions/wms/__init__.py: New: Init to make this
489            directory a package.
490    
491            * Extensions/wms/wms.py: New: Provide layers via OGC WMS.
492    
493    2003-11-11  Bernhard Herzog  <[email protected]>
494    
495            * Thuban/Model/resource.py (EPSG_DEPRECATED_PROJ_FILE): New.
496            Constant for the file woth deprecated epsg projections
497            (get_system_proj_file): Update doc-string
498    
499            * Thuban/UI/projdialog.py (ProjFrame.build_dialog): Add a space
500            above the EPS widgets, introduce a check box for the deprecated
501            eps projections and a label for the epsg widgets
502            (ProjFrame._OnShowEPSG): Handle the deprecated EPSG projections
503            too
504    
505  2003-11-11  Bernhard Herzog  <[email protected]>  2003-11-11  Bernhard Herzog  <[email protected]>
506    
507          Avoid warnings when run under Python 2.3          Avoid warnings when run under Python 2.3

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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26