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

Legend:
Removed from v.1967  
changed lines
  Added in v.2058

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26