/[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 1894 by bh, Thu Oct 30 18:17:17 2003 UTC revision 2095 by silke, Mon Mar 8 09:42:50 2004 UTC
# Line 1  Line 1 
1    2004-03-08  Silke Reimer  <[email protected]>
2    
3            Update debian directory:
4    
5            * debian/changelog: Added new version.
6            * deiban/rules: Updated management of patches (with cbds)
7            * debian/control: Added cbds to dependencies
8            * debian/patches/*: New. Adds better support for patches of thuban in
9                            debian
10            * debian/menu: Syntax of menu changed slightly
11            * debian/setup.py.patch: removed because it has been moved to
12                            debian/patechs/setup.py.patch
13            
14    
15    2004-02-26  Bernhard Herzog  <[email protected]>
16    
17            Create the Doc/technotes directory for text files with information
18            for developers
19    
20            * Doc/technotes/README: New. README for the technotes
21    
22            * Doc/technotes/coding_guidelines.txt: New. Coding guidelines for
23            Thuban
24    
25            * Doc/technotes/release_process.txt: New. Used to be
26            HOWTO-Release.  Now slightly adapted to technote formatting style.
27    
28            * HOWTO-Release: Removed.  It's contents are now in
29            Doc/technotes/release_process.txt
30    
31    2004-02-25  Bernhard Herzog  <[email protected]>
32    
33            * libraries/thuban/wxproj.cpp (get_wx_version): New.  Return the
34            version of wxWindows the module was compiled with so we can check
35            that against the wxPython version.
36    
37            * Thuban/version.py (thuban_branch, thuban_release): New variables
38            controlling which and how Thuban versions are shown.  See the
39            comments for details.
40            (verify_versions): Also check that the wx version that wxproj is
41            compiled against matches that of the wxPython we use at runtime
42    
43    2004-02-20  Bernhard Herzog  <[email protected]>
44    
45            * Extensions/wms/wms.py (epsg_code_to_projection): Use
46            get_system_proj_file to read the epsg projections.  The old way
47            depended on the current directory being the top Thuban directory.
48    
49    2004-02-20  Bernhard Herzog  <[email protected]>
50    
51            * Extensions/svgexport/test/test_svgmapwriter.py
52            (TestVirtualDC.test_clippath): Remove a debug print
53    
54    2004-02-20  Bernhard Herzog  <[email protected]>
55    
56            * Extensions/svgexport/__init__.py: New.  Turn
57            Extensions/svgexport into a package.
58    
59            * Extensions/svgexport/svgmapwriter.py: Reorder the imports and
60            doc-string a bit.  The doc-string must come first, otherwise it's
61            not a doc-string.  The __future__ import must be the first thing
62            after the doc-string.  Use only double quotes in doc-strings.
63            Single quotes trip up emacs syntax highlighting if the text
64            contains apostrophes.
65    
66    2004-02-20  Bernhard Herzog  <[email protected]>
67    
68            * Extensions/svgexport/test/__init__.py,
69            Extensions/svgexport/test/test_svgmapwriter.py: New. Initial test
70            suite for svgexport
71    
72            * test/runtests.py (find_test_modules): New. Function with the
73            module finding code from main.
74            (main): Use find_test_modules to figure out the default test
75            modules and take modules from Extensions.svgexport.test too.
76    
77    2004-02-19  Bernhard Herzog  <[email protected]>
78    
79            * Thuban/UI/application.py (ThubanApplication.OnInit): Make sure
80            the mainwindow has a reference to the map of the initial session.
81            This fixes a bug introduced with the fix for RT#2245
82    
83    2004-02-19  Bernhard Herzog  <[email protected]>
84    
85            * Extensions/svgexport/svgsaver.py,
86            Extensions/svgexport/svgmapwriter.py,
87            Extensions/svgexport/maplegend.py: Added again.  This time in the
88            correct place.
89    
90    2004-02-17  Bernhard Herzog  <[email protected]>
91    
92            Fix for RT#2245
93    
94            * Thuban/UI/application.py (ThubanApplication.OnInit): Initialize
95            instance variables before trying to create any windows.  Creating
96            windows can start an event loop if e.g. message boxes are popped
97            up for some reason, and event handlers, especially EVT_UPDATE_UI
98            may want to access things from the application.
99            (ThubanApplication.maps_changed): The mainwindow may not have been
100            created yet, so check whether it has been created before calling
101            its methods
102    
103            * Thuban/UI/view.py (MapCanvas.OnIdle): Only try to redraw if we
104            have a map
105    
106    2004-02-17  Bernhard Herzog  <[email protected]>
107    
108            * test/test_svgmapwriter.py, Extensions/svgsaver.py,
109            Extensions/svgmapwriter.py, Extensions/maplegend.py,
110            extensions/svgexport/svgsaver.py,
111            extensions/svgexport/svgmapwriter.py,
112            extensions/svgexport/maplegend.py: Removed.  These files were in
113            the wrong places or didn't work at all.
114    
115    2004-02-16  Bernhard Herzog  <[email protected]>
116    
117            * Thuban/UI/view.py (MapCanvas.Export): Remove accidentally added
118            line
119    
120    2004-02-16  Bernhard Herzog  <[email protected]>
121    
122            * Thuban/UI/view.py (MapCanvas.Export): Avoid UnboundLocalError.
123    
124    2004-02-15  Markus Rechtien  <[email protected]>
125            
126            * Extensions/svgexport/svgmapwriter.py: New. Adds the capability
127            to write a session to a file in SVG format.
128            * Extensions/svgexport/svgsaver.py: New. Uses svgmapwriter.py
129            to write a SVG map of a session.
130            * Extensions/svgexport/maplegend: New. Writes a basic maplegend
131            in SVG format for the current session.
132    
133    2004-02-13  Bernhard Herzog  <[email protected]>
134    
135            * Thuban/UI/mainwindow.py (MainWindow.AddDBLayer): When the layer
136            can't be created, return immediately after displaying the error
137            message.
138    
139    2004-02-11  Bernhard Herzog  <[email protected]>
140    
141            Handle postgis tables with more than one geometry column.
142    
143            * Thuban/Model/postgisdb.py
144            (PostGISTable._fetch_table_information): Delegate the creation of
145            column objects to a different method so that we can extend that in
146            derived classes
147            (PostGISTable._create_col_from_description): New. Column object
148            creation part of _fetch_table_information
149            (PostGISShapeStore._create_col_from_description): New. Extend
150            inherited method to handle geometry columns
151            (PostGISShapeStore.__init__): New parameter geometry_column to
152            specify which geometry column to use.  Optional but mandatory for
153            tables with more than one geometry column
154            (PostGISShapeStore._fetch_table_information): Also use the name of
155            the geometry column when looking for the srid
156            (PostGISShapeStore.ShapeType): Also use the name of the geometry
157            column when looking for the shape type
158    
159            * test/test_save.py (SaveSessionTest.test_save_postgis): Adapt
160            NonConnectionStore to changes in the PostGISShapeStore
161    
162            * test/test_postgis_db.py
163            (TestPostGISSpecialCases.test_shapestore_two_geom_cols): Test
164            PostGISShapeStore with tables having two geometry columns.
165    
166    2004-02-10  Bernhard Herzog  <[email protected]>
167    
168            Fix some postgis problems.  What remains to be done is real
169            handling of SRIDs as they affect how reprojection is done
170    
171            * Thuban/Model/postgisdb.py (quote_identifier): Fix typo in
172            doc-string
173            (PostGISShapeStore._fetch_table_information): New. Extend
174            inherited method to retrieve srid
175            (PostGISShapeStore.BoundingBox): Handle tables without data.
176            extent yields NULL for those
177            (PostGISShapeStore.ShapesInRegion): Use the srid of the table.
178    
179            * test/test_postgis_db.py
180            (TestPostGISSpecialCases.test_shapestore_empty_table): New test
181            for the special case of a table without any data
182            (TestPostGISShapestorePointSRID): New class with tests for a table
183            that uses srids
184            (PolygonTests): Fix a doc-string typo
185    
186            * test/postgissupport.py (PostGISDatabase.__init__): New parameter
187            reference_systems with a specification of spacial reference
188            systems to create in the new db.
189            (PostgreSQLServer.new_postgis_db)
190            (PostgreSQLServer.get_static_data_db): New parameter
191            reference_systems to be passed through ultimately to
192            PostGISDatabase.  In new_postgis_db also check whether an existing
193            db already has the right srids
194            (PostgreSQLServer.get_default_static_data_db): Add srids and a
195            table that uses srids
196            (PostGISDatabase.initdb): Create the entries for the reference
197            systems
198            (PostGISDatabase.has_data): Add reference_systems parameter to
199            check for those too
200            (upload_shapefile): New parameter srid to create tables with a
201            specific srid
202    
203    2004-02-06  Frank Koormann  <[email protected]>
204    
205            * po/pt_BR.po: Fixed charset
206    
207    2004-02-05  Frank Koormann  <[email protected]>
208    
209            * po/pt_BR.po: Fixed format string for error message, missing %s
210            added (Thuban/UI/application.py:273)
211    
212    2004-02-03  Frank Koormann  <[email protected]>
213            
214            First version of Portuguese (Brazilian) translation
215    
216            * po/pt_BR.po: New, translation of pot (2004-01-15 16:07+0300) for
217            Brazilian Portuguese by Eduardo Patto Kanegae.
218    
219            * Thuban/UI/about.py (About.__init.py__): Added Eduardo to the list of
220            translators.
221    
222    
223    2004-01-22  Frank Koormann  <[email protected]>
224    
225            * Doc/manual/thuban-manual.xml: Added section on installation of
226            Thuban under Win32 systems. Fixed image path references in the postgis
227            section. Some minor source formattings.
228    
229    2004-01-21  Frank Koormann  <[email protected]>
230    
231            Make Thuban remember path selections (at least for one application run).
232    
233            * Thuban/UI/application.py (Application.OnInit): Initialize path as a
234            attribute of application object. Path is a dictionary of
235            strings, currently with the items "data" and "projection".  
236            (Application.SetPath): New, stores path for the specified item.
237            (Application.Path): New, return path for the specified item.
238    
239            * Thuban/UI/mainwindow.py
240            (MainWindow.OpenSession, MainWindow.SaveSessionAs,
241            MainWindow.AddLayer, MainWindow.AddRasterLayer,
242            MainWindow.TableOpen): Access "data" path information of the
243            application.
244            
245            * Thuban/UI/projdialog.py (ProjFrame._OnImport, ProjFrame._OnExport):
246            Access "projection" path information of the application.
247    
248    2004-01-05  Bernhard Herzog  <[email protected]>
249    
250            * po/ru.po: Updated translations from Alex Shevlakov
251    
252    2004-01-05  Bernhard Herzog  <[email protected]>
253    
254            * po/Makefile, po/README: Move the description of how to generate
255            the translation statistics to the README.
256    
257    2003-12-23  Bernhard Herzog  <[email protected]>
258    
259            * NEWS: Update for 1.0.0
260    
261            * po/it.po: Another update from Maurizio Napolitano
262    
263    2003-12-23  Bernhard Herzog  <[email protected]>
264    
265            * po/it.po: Updated translation from Maurizio Napolitano
266    
267    2003-12-23  Bernhard Herzog  <[email protected]>
268    
269            * Thuban/UI/join.py (JoinDialog.__init__): Mark one more string
270            for translation
271    
272            * Thuban/UI/mainwindow.py (MainWindow.TableRename)
273            (MainWindow.RenameMap, MainWindow.RenameLayer): Mark some more
274            strings for translation
275    
276            * po/de.po: Update with the newly marked strings.
277    
278    2003-12-22  Bernhard Herzog  <[email protected]>
279    
280            * HOWTO-Release: Fix the places where version numbers have to be
281            updated
282    
283    2003-12-22  Bernhard Herzog  <[email protected]>
284    
285            * setup.py (setup call): 1.0.0, yeah!
286    
287            * Thuban/version.py (longversion): 1.0.0, yeah!
288    
289            * Thuban/Model/load.py (SessionLoader.__init__): Accept the
290            1.0.0 namespace too
291    
292            * Thuban/Model/save.py (SessionSaver.write_session): Save with
293            1.0.0 namespace
294    
295            * test/test_load.py (LoadSessionTest.dtd)
296            (TestSingleLayer.file_contents)
297            (TestNonAsciiColumnName.file_contents)
298            (TestLayerVisibility.file_contents)
299            (TestClassification.file_contents, TestLabels.file_contents)
300            (TestLayerProjection.file_contents)
301            (TestRasterLayer.file_contents, TestJoinedTable.file_contents)
302            (TestLabelLayer.file_contents, TestPostGISLayer.file_contents)
303            (TestPostGISLayerPassword.file_contents)
304            (TestLoadError.file_contents, TestLoadError.test): Update for
305            1.0.0 namespace
306    
307            * test/test_save.py (SaveSessionTest.dtd)
308            (SaveSessionTest.testEmptySession)
309            (SaveSessionTest.testSingleLayer)
310            (SaveSessionTest.testLayerProjection)
311            (SaveSessionTest.testRasterLayer)
312            (SaveSessionTest.testClassifiedLayer)
313            (SaveSessionTest.test_dbf_table)
314            (SaveSessionTest.test_joined_table)
315            (SaveSessionTest.test_save_postgis): Update for 1.0.0 namespace
316    
317    2003-12-22  Bernhard Herzog  <[email protected]>
318    
319            * Thuban/Model/load.py (SessionLoader.start_label): Make sure the
320            alignment flags are byte strings not unicode and that they have
321            valid values
322    
323            * test/test_load.py (TestLabelLayer): New. Test loading (and
324            indirectly saving) of maps with labels.
325    
326    2003-12-22  Bernhard Herzog  <[email protected]>
327    
328            * Thuban/UI/tableview.py (TableGrid.OnDestroy)
329            (TableGrid.__init__): Handle EVT_WINDOW_DESTROY in the grid to
330            unsubscribe all subscribers.
331            (LayerTableFrame.OnDestroy): Do not unsubscribe any messages from
332            self.grid since it may already have been destroyed.
333            Fixes RT #2256
334    
335    2003-12-19  Bernhard Herzog  <[email protected]>
336    
337            * po/fr.po, po/es.po: Updated translations from Daniel Calvelo
338    
339    2003-12-16  Bernhard Herzog  <[email protected]>
340            
341            * debian/bitmappath.patch, debian/setup.py.patch:
342                    added to ensure compliance with FHS for debian
343            * debian/rules, debian/changelog:
344                added patches in rules to ensure compliance with FHS for debian
345    
346    2003-12-16  Bernhard Herzog  <[email protected]>
347    
348            * po/Makefile (mo): Make the output a bit nicer so that it prints
349            statistics about the translations. Add a comment how produce even
350            nicer statistics with sed.
351    
352    2003-12-09  Frank Koormann   <[email protected]>
353    
354            * Resources/Projections/defaults.proj:
355            French projection sample with correct accents (UNICODE).
356    
357    2003-12-05  Bernhard Herzog  <[email protected]>
358    
359            * MANIFEST.in: Add the devtools directory
360    
361            * setup.py (setup call): Use license instead of licence. This
362            silences a deprecation warning on Python 2.3
363    
364    2003-12-05  Frank Koormann   <[email protected]>
365    
366            Documentation synced with 1.0rc1
367    
368            * Doc/manual/thuban-manual.xml:
369            Minor formatting changes and references to database layers .
370            Introduction.Internationalization: New section on i18n.
371            MapManagement.AddingandRemovingLayers: Added item on database layers.  
372            MapManagement.TheLegend: Added section and screenshot on popup menu.
373            ProjectionManagement: Updated screenshot and sentence on EPSG.
374            Appendix.SupportedDataSources: Added PostGIS.
375            Appendix.WorkingwithPostGIS: New section.
376    
377            * Doc/manual/images/6_projection.png: Updated screenshot including
378            EPSG checkboxes.
379    
380            * Doc/manual/images/3_5_popup_menu.png: New, popup menu screenshot.
381    
382            * Doc/manual/images/app_postgis_add_layer.png,
383            Doc/manual/images/app_postgis_db_add.png,
384            Doc/manual/images/app_postgis_db_management.png:
385            New screenshots focussing on database layers
386    
387    2003-12-05  Frank Koormann   <[email protected]>
388    
389            * Thuban/UI/projdialog.py (load_user_proj): If user.proj is missing
390            write warning to stderr instead of rising a warning dialog
391    
392    2003-12-03  Bernhard Herzog  <[email protected]>
393    
394            Fix for RT #2243
395    
396            * Thuban/UI/mainwindow.py (MainWindow.has_selected_shape_layer):
397            New. Like has_selected_layer but for shape layers only
398            (_has_selected_shape_layer): New. Like _has_selected_layer but for
399            shape layers only
400            (layer_show_table command, layer_jointable command): Use these
401            commands should only be available for shape layers
402    
403    2003-12-03  Bernhard Herzog  <[email protected]>
404    
405            * Thuban/UI/mainwindow.py (MainWindow.Unsubscribe): Deal with
406            publishers that are wx objects and may have been destroyed by wx
407            already. Fixes RT #2242.
408    
409    2003-12-03  Bernhard Herzog  <[email protected]>
410    
411            * po/ru.po: Updates from Alex Shevlakov
412    
413    2003-12-03  Silke Reimer <silkeintevation.de>
414    
415            * debian/control, debian/changelog: Added gdal-support to
416                    debian package, updated to new thuban version
417    
418    
419    2003-12-03  Bernhard Herzog  <[email protected]>
420    
421            * Thuban/Lib/version.py: New. Module for version number
422            manipulations. The version of make_tuple here also deals better
423            with more unusual version number strings, such as e.g.
424            "1.2+cvs20031111"
425    
426            * Thuban/version.py (make_tuple): Removed. It's now in
427            Thuban.Lib.version. Use that implementation instead.
428    
429            * test/test_lib_version.py: New. Tests for Thuban/Lib/version.py
430    
431    2003-12-02  Bernhard Herzog  <[email protected]>
432    
433            * MANIFEST.in: Add debian files
434    
435            * setup.py (setup call): Add packages for the Extensions so that
436            they're installed too
437            (data_files): Add READMEs and sample data from some Extensions
438    
439            * NEWS: Add note about the extensions in binary packages
440    
441    2003-12-02  Bernhard Herzog  <[email protected]>
442    
443            * Thuban/Model/save.py (SessionSaver.write_session): Save files
444            with the thuban-1.0rc1
445    
446            * Thuban/Model/load.py (SessionLoader.__init__): Recognize the
447            thuban-1.0rc1 namespace too
448    
449            * test/test_save.py (SaveSessionTest.dtd)
450            (SaveSessionTest.testEmptySession)
451            (SaveSessionTest.testSingleLayer)
452            (SaveSessionTest.testLayerProjection)
453            (SaveSessionTest.testRasterLayer)
454            (SaveSessionTest.testClassifiedLayer)
455            (SaveSessionTest.test_dbf_table)
456            (SaveSessionTest.test_joined_table)
457            (SaveSessionTest.test_save_postgis): Update to thuban-1.0rc1
458            namespace
459    
460            * test/test_load.py (LoadSessionTest.dtd): Update to thuban-1.0rc1
461            namespace
462            (TestSingleLayer.file_contents)
463            (TestNonAsciiColumnName.file_contents)
464            (TestLayerVisibility.file_contents)
465            (TestClassification.file_contents, TestLabels.file_contents)
466            (TestLayerProjection.file_contents)
467            (TestRasterLayer.file_contents, TestJoinedTable.file_contents)
468            (TestPostGISLayer.file_contents)
469            (TestPostGISLayerPassword.file_contents)
470            (TestLoadError.file_contents, TestLoadError.test): Update to
471            thuban-1.0rc1 namespace
472    
473    2003-12-01  Bernhard Herzog  <[email protected]>
474    
475            * setup.py (proj4_prefix, wx_prefix, gdal_prefix): Fix these for
476            nt to better match Intevation's current w32 setup
477    
478            * HOWTO-Release: Add note about updating MANIFEST.in
479    
480            * MANIFEST.in: Add the Extensions
481    
482            * NEWS: Update for 1.0rc1
483    
484    2003-12-01  Bernhard Herzog  <[email protected]>
485    
486            * Thuban/UI/mainwindow.py (MainWindow.AddLayer): Change the wild
487            cards for the dialog so that shapefiles ending in all uppercase
488            SHP are listed too
489    
490    2003-11-28  Bernhard Herzog  <[email protected]>
491    
492            * Thuban/version.py (longversion): Update to 1.0rc1
493    
494            * setup.py (setup call): Update version to 1.0rc1. Use the
495            [email protected] email address as author email instead of my
496            personal one.
497    
498    2003-11-28  Bernhard Herzog  <[email protected]>
499    
500            * po/de.po: Update german translation.
501    
502    2003-11-28  Bernhard Herzog  <[email protected]>
503    
504            Unify the filenames stored in .thuban files so that the .thuban
505            files are more platform independend
506    
507            * Thuban/Model/save.py (unify_filename): New. Unify filenames so
508            that they can be used on both windows and unix
509            (SessionSaver.prepare_filename): New. Handle all filename
510            transformations for filenames stored in the thuban file
511            (SessionSaver.write_data_containers, SessionSaver.write_layer):
512            Use prepare_filename
513    
514            * test/test_save.py (SaveSessionTest.testSingleLayer)
515            (SaveSessionTest.testLayerProjection)
516            (SaveSessionTest.testRasterLayer)
517            (SaveSessionTest.testClassifiedLayer)
518            (SaveSessionTest.test_dbf_table)
519            (SaveSessionTest.test_joined_table): Filenames are always stored
520            with slashes on all currently supported platforms so adapt all
521            tests to this
522    
523            * test/test_load.py (LoadSessionTest.filenames): With the new
524            filename scheme the filenames in the tests should be
525            understandable on all currently supported platforms so we turn
526            this into an empty list because we don't have to normalize them
527            anymore
528    
529    2003-11-28  Bernhard Herzog  <[email protected]>
530    
531            * test/test_layer.py (TestLayer.test_arc_layer_with_projection):
532            Add the ellipsoid to the projection since some Proj versions
533            complain if it's missing.
534    
535    2003-11-27  Bernhard Herzog  <[email protected]>
536    
537            Corect some bounding box projection problems
538    
539            * Thuban/Model/proj.py (Projection.InverseBBox): New. Inverse
540            version of ForwardBBox
541            (Projection._transform_bbox): New. common implementation of
542            ForwardBBox and InverseBBox
543            (Projection.ForwardBBox): Use _transform_bbox.
544    
545            * test/test_proj.py (TestProjection.test): Add test for
546            InverseBBox
547    
548            * Thuban/Model/layer.py (Layer.LatLongBoundingBox)
549            (Layer.ShapesBoundingBox, RasterLayer.LatLongBoundingBox): Use the
550            new InverseBBox method to determine the unprojected bounding box
551            (Layer.ShapesInRegion): Use the ForwardBBox method to project the
552            bbox.
553    
554            * test/test_layer.py (TestLayer.test_point_layer_with_projection):
555            Removed.
556            (TestLayer.test_arc_layer_with_projection): New. This test is
557            better able to test whether bounding boxes are projected correctly
558            than test_point_layer_with_projection
559    
560            * Thuban/UI/viewport.py (ViewPort.map_projection_changed): Use
561            InverseBBox to unproject bboxes
562    
563    2003-11-25  Bernhard Herzog  <[email protected]>
564    
565            * Thuban/UI/about.py (About.__init__): Make sure we have ASCII
566            source code.
567    
568    2003-11-25  Bernhard Herzog  <[email protected]>
569    
570            * Thuban/Model/layer.py (Layer.__getattr__): Removed. It was only
571            there for backwards compatibility and all code relying on that
572            should have been updated by now.
573    
574    2003-11-25  Bernhard Herzog  <[email protected]>
575    
576            * test/test_load.py (TestClassification.test): Add the missing
577            round trip test.
578            (TestClassification.file_contents): Update to the newest file
579            format
580    
581    2003-11-25  Bernhard Herzog  <[email protected]>
582    
583            Add very experimental (and possibly dangerous) extension to draw
584            polygons:
585    
586            * Extensions/drawshape/README: New. Brief installation
587            instructions
588    
589            * Extensions/drawshape/drawshape.py: New. Implementation of the
590            drawshape extensions
591    
592            * Extensions/drawshape/patch.diff: Patch to apply before the
593            extension can be used.
594    
595    2003-11-24  Bernhard Herzog  <[email protected]>
596    
597            * Thuban/Model/data.py (ShapefileStore._open_shapefile)
598            (ShapefileStore.__init__): Factor opening the shapefile into a
599            separate method (the new _open_shapefile). This makes the code a
600            bit more readable but the real reason is that it makes some evil
601            hacks easier. :-)
602    
603    2003-11-24  Bernhard Herzog  <[email protected]>
604    
605            * Thuban/Model/load.py (SessionLoader.check_attrs): If no
606            converter is specified for an attribute assume it's a string
607            containing only Latin1 characters. Update doc-string accordingly.
608            This change should fix many places where unicode objects might
609            accidentally enter Thuban.
610    
611            * test/test_load.py (TestNonAsciiColumnName): New test to check
612            what happens with column names in DBF files that contain non-ascii
613            characters
614    
615    2003-11-21  Bernhard Herzog  <[email protected]>
616    
617            Enable the experimental attribute editing again and introduce a
618            command line switch to actually activate it
619    
620            * Thuban/UI/main.py (options): New. Container for options set on
621            the commmand line
622            (main): Add the --enable-attribute-editing flag.
623    
624            * Thuban/UI/identifyview.py (IdentifyView.__init__): If attribute
625            editing is enabled use the grid ctrl which allows editing of the
626            values
627    
628            * Thuban/Model/transientdb.py (AutoTransientTable.write_record):
629            New. Just delegate this to the underlying table.
630    
631    2003-11-20  Bernhard Herzog  <[email protected]>
632    
633            * test/test_proj.py (ProjFileReadTests.test_read_unreadable_file):
634            Skip this test if run under non-posix systems since it only works
635            there
636    
637    2003-11-19  Bernhard Herzog  <[email protected]>
638    
639            * Thuban/Model/resource.py: Rework the way gdal support is
640            determined so that we can give a reason in the about why gdal is
641            not supported.
642            (gdal_support_status): New. Variable holding a string with the
643            reason for no gdal support
644    
645            * Thuban/UI/about.py (About.__init__): Add the reason why gdal is
646            not supported to the message
647    
648    2003-11-19  Bernhard Herzog  <[email protected]>
649    
650            Remove the old table interface and its test cases
651    
652            * Thuban/Model/table.py (OldTableInterfaceMixin): Removed.
653            (DBFTable, MemoryTable): Do not derive from OldTableInterfaceMixin
654            anymore
655    
656            * Thuban/Model/transientdb.py (TransientTableBase)
657            (AutoTransientTable): Do not derive from OldTableInterfaceMixin
658            anymore
659    
660            * test/test_table.py: Removed since the old interface it tests is
661            gone.
662    
663            * test/runtests.py (main): The old table interface is gone and
664            with it the deprecation warnings so remove the code that turns
665            these warnings into errors
666    
667    2003-11-19  Bernhard Herzog  <[email protected]>
668    
669            * test/test_table.py: Revert to revision 1.5 again. Changing the
670            tests to use the new table interface is completely wrong since the
671            whole purpose of the tests in this module is to test the old
672            interface.
673    
674    2003-11-18  Bernhard Herzog  <[email protected]>
675    
676            * Thuban/Model/postgisdb.py (PostGISConnection.MatchesParameters):
677            New. Test whether the connection matches a set of connection
678            parameters
679    
680            * Thuban/UI/dbdialog.py (DBFrame.conns_changed): Fix doc-string
681            (DBFrame.OnAdd): Use the new MatchesParameters method when looking
682            for existing connections with the same parameters and break out of
683            the loop correctly.
684    
685            * test/test_postgis_db.py (TestBriefDescription)
686            (TestPostGISSimple.test_brief_description): Rename
687            TestBriefDescription to TestPostGISSimple and the test method to
688            test_brief_description so that we can add more test methods.
689            (TestPostGISSimple.test_matches_parameters): New. Test the new
690            MatchesParameters method
691    
692    2003-11-18  Bernhard Herzog  <[email protected]>
693    
694            * Thuban/Lib/connector.py (Publisher): Introduce a new flag,
695            _was_destroyed, to indicate whether an publisher instance has
696            already been destroyed.
697            (Publisher.Unsubscribe): Only disconnect if the publisher has not
698            been destroyed yet.
699            (Publisher.Destroy): Set the _was_destroyed flag to true.
700    
701            * test/test_connector.py
702            (TestPublisher.test_unsubscribe_after_destroy): New. Test that
703            calling Unsubscribe after Destroy doesn't raise an exception
704    
705    2003-11-14  Bernhard Herzog  <[email protected]>
706    
707            * Thuban/UI/identifyview.py (IdentifyView.selected_shape): Fix
708            typo in doc-string
709    
710    2003-11-13  Bernhard Herzog  <[email protected]>
711    
712            Quote table and column names properly for postgis.
713    
714            * Thuban/Model/postgisdb.py (quote_identifier): New. Function to
715            quote an identifier for use in an sql statement
716            (PostGISColumn.__init__): Add the quoted_name attribute
717            (PostGISTable.__init__): New instance variable quoted_tablename
718            (PostGISTable._fetch_table_information): Use the quoted table
719            name. New isntance variable quoted_geo_col with a quoted version
720            of geometry_column
721            (PostGISTable.NumRows, PostGISTable.RowIdToOrdinal)
722            (PostGISTable.RowOrdinalToId): Use the quoted table name
723            (PostGISTable.ReadValue, PostGISTable.ValueRange)
724            (PostGISTable.UniqueValues, PostGISTable.SimpleQuery)
725            (PostGISShapeStore.BoundingBox, PostGISShapeStore.Shape)
726            (PostGISShapeStore.AllShapes, PostGISShapeStore.ShapesInRegion):
727            Use quoted table and column names
728    
729            * test/test_postgis_db.py (TestPostGISSpecialCases)
730            (TestPostGISIgnoredColumns): Rename the class to
731            TestPostGISSpecialCases because that better describes the new
732            cases
733            (TestPostGISSpecialCases.test_unsupported_types)
734            (TestPostGISSpecialCases.test): Rename the method to
735            test_unsupported_types because we need a more descriptive name now
736            that there are more methods
737            (TestPostGISSpecialCases.test_table_name_quoting)
738            (TestPostGISSpecialCases.test_column_name_quoting)
739            (TestPostGISSpecialCases.test_shapestore_name_quoting): New test
740            cases to test quoting of table and column names in PostGISTable
741            and PostGISShapeStore
742    
743            * test/postgissupport.py
744            (skip_if_addgeometrycolumn_does_not_use_quote_ident): New. Skip if
745            AddGeometryColumn desn't support table or column names with sapces
746            or double quotes
747    
748    2003-11-12  Jan-Oliver Wagner <[email protected]>
749    
750            * Extensions/wms/__init__.py: New: Init to make this
751            directory a package.
752    
753            * Extensions/wms/wms.py: New: Provide layers via OGC WMS.
754    
755    2003-11-11  Bernhard Herzog  <[email protected]>
756    
757            * Thuban/Model/resource.py (EPSG_DEPRECATED_PROJ_FILE): New.
758            Constant for the file woth deprecated epsg projections
759            (get_system_proj_file): Update doc-string
760    
761            * Thuban/UI/projdialog.py (ProjFrame.build_dialog): Add a space
762            above the EPS widgets, introduce a check box for the deprecated
763            eps projections and a label for the epsg widgets
764            (ProjFrame._OnShowEPSG): Handle the deprecated EPSG projections
765            too
766    
767    2003-11-11  Bernhard Herzog  <[email protected]>
768    
769            Avoid warnings when run under Python 2.3
770    
771            * Thuban/UI/baserenderer.py (BaseRenderer.draw_point_shape)
772            (BaseRenderer.draw_label_layer): Coordinates must be ints.
773    
774            * Thuban/UI/renderer.py (MapRenderer.make_point): Turn this into a
775            real method so that we can convert to int.
776            (MapRenderer.label_font): The font size mist be an int.
777    
778            * Thuban/UI/common.py (Color2wxColour): The color values must be
779            ints. Also, remove the unnecessary asserts.
780    
781            * test/test_load_0_8.py (TestUnicodeStrings.file_contents)
782            (TestUnicodeStrings.test): Python source code should not contain
783            non-ascii characters unless an encoding is specified in the file.
784            Therefore use \x escapes in the string literals for non-ascii
785            characters.
786    
787    2003-11-11  Bernhard Herzog  <[email protected]>
788    
789            * Thuban/Model/resource.py (get_system_proj_file): Add a filename
790            parameter so that this function can be used for all proj files in
791            Resource/Projections
792            (DEFAULT_PROJ_FILE, EPSG_PROJ_FILE): New. Predefined filenames for
793            get_system_proj_file
794    
795            * Thuban/UI/projdialog.py (ProjFrame.__init__): Instead of one
796            ProjFile self.__sysProjFile use a dictionary of system ProjFile
797            objects self._sys_proj_files
798            (ProjFrame.build_dialog): Adapt to the new changes in the
799            ProjectionList constructor. Add a check button to toggle whether
800            EPSG projections are shown
801            (ProjFrame._OnShowEPSG): New. Handler for the epsg check button
802            events.
803            (ProjFrame.load_user_proj, ProjFrame.load_system_proj): Only show
804            the busy cursor if the files have not yet been loaded by the
805            dialog.
806            (ProjFrame.load_system_proj): Add a parameter for the name of the
807            proj file. Maintain the dictionary of system projections
808            self._sys_proj_files
809    
810            * Thuban/UI/projlist.py (ProjectionList): Merge the system_projs,
811            user_projs parameters into one parameter proj_files which is a
812            list of proj files.
813            (ProjectionList._subscribe_proj_files)
814            (ProjectionList._unsubscribe_proj_files): New. Move
815            subscription/unsubscription of projfile messages to separate
816            methods
817            (ProjectionList.Destroy): The unsubscribe is now done in
818            _unsubscribe_proj_files
819            (ProjectionList.update_projections): We now have a list of proj
820            file objects
821            (ProjectionList.SetProjFiles): New method to set a new list of
822            proj file objects
823    
824            * test/test_proj.py (ProjFileReadTests.test_get_system_proj_file):
825            Specify explicitly which system proj file to load.
826    
827    2003-11-11  Bernhard Herzog  <[email protected]>
828    
829            * Thuban/Model/load.py (SessionLoader.Destroy): New. Clear all
830            instance variables to cut cyclic references. The GC would have
831            collected the loader eventually but it can happen that it doesn't
832            run at all until thuban is closed (2.3 but not 2.2 tries a bit
833            harder and forces a collection when the interpreter terminates)
834            (load_session): Call the handler's Destroy method to make sure
835            that it gets garbage collected early. Otherwise it will be
836            collected very late if at all and it holds some references to e.g.
837            shapestores and the session which can lead to leaks (of e.g. the
838            temporary files)
839    
840            * test/test_load.py (TestSingleLayer.test_leak): New. test for the
841            resource leak in load_session
842    
843    2003-11-10  Bernhard Herzog  <[email protected]>
844    
845            * Thuban/UI/baserenderer.py: Add a way to specify how layers in
846            extensions are to be rendered.
847            (_renderer_extensions): New. List with renderer for layers in
848            extensions
849            (add_renderer_extension): New. Add a renderer extension
850            (init_renderer_extensions): New. Init the renderer extensions
851            (BaseRenderer.render_map_incrementally): Search
852            _renderer_extensions for how to draw unknown layer types
853            (BaseRenderer.draw_raster_data): Add format parameter so that
854            formats other than BMP can be drawn
855            (BaseRenderer.draw_raster_layer): Pass an explicit format to
856            draw_raster_data
857    
858            * Thuban/UI/renderer.py (raster_format_map): New. Mapping form the
859            strings of the format parameter of draw_raster_data method to wx
860            constants
861            (MapRenderer.draw_raster_data): Add the format parameter and use
862            raster_format_map to map it to the right wxwindows constant for
863            wxImageFromStream
864    
865            * test/test_baserenderer.py (SimpleRenderer.draw_raster_data): Add
866            the format parameter and record it
867            (TestBaseRenderer.test_raster_no_projection): check the format
868            paramter of the draw_raster_data method
869            (TestBaseRenderer.test_renderer_extension): New. Test the renderer
870            extension facility
871    
872    2003-11-07  Bernhard Herzog  <[email protected]>
873    
874            Tweak the usage of the sqlite database to make common use cases
875            more responsive. In most cases copying the data to the sqlite
876            database takes so long that using sqlite doesn't have enough
877            advantages.
878    
879            * Thuban/Model/transientdb.py (TransientTableBase.ValueRange): Add
880            comments about performance and query the min and max in separate
881            statements because only that way will indexes be used.
882            (TransientTableBase.UniqueValues): Add some comments about
883            performance.
884            (AutoTransientTable.ValueRange, AutoTransientTable.UniqueValues):
885            Do not copy the data to the transient DB but use the transient
886            copy if it exists. See the new comments for the performance trade
887            offs
888    
889            * test/test_transientdb.py
890            (TestTransientTable.test_auto_transient_table): Make sure that the
891            data is copied to the transient database at some point.
892    
893    2003-11-03  Bernhard Herzog  <[email protected]>
894    
895            * Thuban/Model/data.py (ShapefileStore.ShapesInRegion): Bind some
896            globals to locals so that it's a bit faster
897    
898    2003-11-03  Bernhard Herzog  <[email protected]>
899    
900            * Thuban/UI/baserenderer.py
901            (BaseRenderer.draw_shape_layer_incrementally): Use the ReadValue
902            method. ReadValue is faster than ReadRowAsDict since it only reads
903            one cell especially now that the dbf file objects actually
904            implement it.
905    
906            * Thuban/Model/table.py (DBFTable.ReadValue): Use the new
907            read_attribute method of the dbf objects
908    
909    2003-11-03  Bernhard Herzog  <[email protected]>
910    
911            * Extensions/profiling/profiling.py (popup_dialog_box): New config
912            variable to indicate whether the result should be shown in a
913            dialog box
914            (profile_screen_renderer, time_screen_renderer): Only show a
915            dialog box if popup_dialog_box is true.
916            (profile_screen_renderer): Flush stdout after the printing the
917            first part of the "profiling..." message
918    
919            * Thuban/UI/baserenderer.py
920            (BaseRenderer.draw_shape_layer_incrementally): Cache the pens and
921            brushes for the groups so that they're not created over and over
922            again
923    
924            * Thuban/Model/classification.py (Classification.__getattr__)
925            (Classification._compile_classification)
926            (Classification._clear_compiled_classification): New. Methods to
927            manage a 'compiled' representation of the classification groups
928            which is created on demand
929            (Classification.InsertGroup, Classification.RemoveGroup)
930            (Classification.ReplaceGroup): reset the compiled representation
931            (Classification.FindGroup): Use the compiled representation to
932            find the matching group
933            (ClassGroupRange.GetRangeTuple): New. Return the range as a tuple
934    
935    2003-10-31  Bernhard Herzog  <[email protected]>
936    
937            * Thuban/Model/classification.py (Classification.SetDefaultGroup):
938            Send a CLASS_CHANGED message
939            (Classification.RemoveGroup): Send a CLASS_CHANGED message and do
940            not return the removed group since it wasn't used.
941    
942            * test/test_classification.py
943            (TestClassification.test_set_default_group): New. Test the
944            SetDefaultGroup method
945            (TestClassification.test_insert_group): New. Test the InsertGroup
946            method
947            (TestClassification.test_remove_group): New. Test the RemoveGroup
948            method
949            (TestClassification.test_replace_group): New. Test the
950            ReplaceGroup method
951    
952    2003-10-31  Bernhard Herzog  <[email protected]>
953    
954            * test/test_classification.py (TestClassification.setUp):
955            Subscribe to the CLASS_CHANGED messages
956            (TestClassification.tearDown): New. Destroy the classification
957            properly
958            (TestClassification.test_defaults): Add tests for the default line
959            width and whether no messages were sent yet
960            (TestClassification.test_set_default_properties): Add tests for
961            messages and setting the default line width
962            (TestClassification.test_add_singleton)
963            (TestClassification.test_add_range)
964            (TestClassification.test_multiple_groups): Add tests for messages
965    
966    2003-10-31  Bernhard Herzog  <[email protected]>
967    
968            Some more refactoring in preparation for new tests:
969    
970            * test/test_classification.py (TestClassification.setUp): New.
971            Instantiate the classification here. Update the test methods
972            accordingly.
973            (TestClassification.test_multiple_groups): Make sure that the two
974            singletons matching 1 are considered different.
975    
976    2003-10-31  Bernhard Herzog  <[email protected]>
977    
978            * test/test_classification.py (red, green, blue): New. These
979            constants were used in several cases. Update the relevant methods.
980            (TestClassification.test_defaults)
981            (TestClassification.test_set_default_properties)
982            (TestClassification.test_add_singleton)
983            (TestClassification.test_add_range)
984            (TestClassification.test_multiple_groups)
985            (TestClassification.test_deepcopy): New. These were formerly all
986            part of the single method test.
987            (TestClassification.test_deepcopy): Removed.
988            (TestClassIterator): Removed. The test case is now a method of
989            TestClassification since it tests part of the public interface of
990            Classification
991            (TestClassification.test_iterator): New. Used to be
992            TestClassIterator effectively
993    
994    2003-10-31  Jan-Oliver Wagner <[email protected]>
995    
996            GUIfied the functions of the profiling extension.
997    
998            * /Extensions/profiling/__init__.py: New: Init to make this
999            directory a package.
1000    
1001            * Extensions/profiling/profiling.py: Moved menu entries to
1002            the Extensions menu. Applied _() for strings.
1003            (profile_screen_renderer): Catch the detailed printout and present
1004            it in a dialog.
1005            (time_screen_renderer): Raise a dialog to present the result instead
1006            of printing it to stdout.
1007    
1008    2003-10-31  Bernhard Herzog  <[email protected]>
1009    
1010            * test/test_classification.py (TestClassGroupProperties)
1011            (TestClassGroup, TestClassGroupDefault, TestClassGroupRange)
1012            (TestClassGroupSingleton, TestClassIterator, TestClassification):
1013            Split TestClassification into several classes, one for each class
1014            being tested. TestClassification itself now only tests
1015            Classification. This split makes changes to the tests a bit easier
1016    
1017    2003-10-31  Bernhard Herzog  <[email protected]>
1018    
1019            * Extensions/profiling/profiling.py: New. Extension to measure
1020            Thuban performance
1021    
1022    2003-10-31  Frank Koormann <[email protected]>
1023    
1024            Added two items to legend popup menu: Remove Layer and Show Layer Table
1025    
1026            * Thuban/UI/legend.py (LegendPanel._OnRemoveLayer,
1027            LegendPanel._OnShowTable): New event handlers, call the corresponding
1028            mainwindow methods.
1029            (LegendTree._OnRightClick): Added items to popup menu.
1030    
1031  2003-10-30  Bernhard Herzog  <[email protected]>  2003-10-30  Bernhard Herzog  <[email protected]>
1032    
1033          * Thuban/UI/dialogs.py (ThubanFrame.__init__): Handle          * Thuban/UI/dialogs.py (ThubanFrame.__init__): Handle

Legend:
Removed from v.1894  
changed lines
  Added in v.2095

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26