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

Legend:
Removed from v.1973  
changed lines
  Added in v.2080

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26