/[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 1960 by bh, Wed Nov 19 15:31:52 2003 UTC revision 2213 by bh, Mon May 17 15:48:53 2004 UTC
# Line 1  Line 1 
1    2004-05-17  Bernhard Herzog  <[email protected]>
2    
3            Update to newest shapelib and get rid of Thuban specific
4            extensions, i.e. use the new DBFUpdateHeader instead of our
5            DBFCommit kludge
6    
7            * libraries/shapelib/shpopen.c: Update to version from current
8            shapelib CVS.
9    
10            * libraries/shapelib/shapefil.h: Update to version from current
11            shapelib CVS.
12    
13            * libraries/shapelib/dbfopen.c: Update to version from current
14            shapelib CVS.
15            (DBFCommit): Effectively removed since shapelib itself has
16            DBFUpdateHeader now which is better for what DBFCommit wanted to
17            achieve.  
18            We're now using an unmodified version of dbfopen.
19    
20            * setup.py (extensions): Add the HAVE_UPDATE_HEADER macro with
21            value '1' to the Lib.dbflibc extension.  This simply reflects the
22            shapelib and pyshapelib updates
23    
24    2004-05-16  Jan-Oliver Wagner <[email protected]>
25    
26            Finished introduction of Menu.FindOrInsertMenu.
27    
28            * Extensions/drawshape/drawshape.py: Add the command
29            to the experimental menu additionally to the toolbar.
30    
31            * Extensions/svgexport/svgsaver.py: Use FindOrInsertMenu() instead of
32            finding menu on its own.
33    
34            * Doc/manual/thuban-manual.xml: updated sample file
35            to use FindOrInsertMenu().
36    
37            * Examples/simple_extensions/hello_world.py: Use FindOrInsertMenu()
38            instead of finding menu on its own.
39    
40    2004-05-11  Jan-Oliver Wagner <[email protected]>
41    
42            * test/test_menu.py (MenuTest.test): Added testing
43            of method Menu.FindOrInsertMenu.
44    
45    2004-05-10  Jan-Oliver Wagner <[email protected]>
46    
47            Introduce and use Menu.FindOrInsertMenu.
48    
49            * Thuban/UI/menu.py (Menu.FindOrInsertMenu): New. Find a
50              given menu or, if not found, insert it.
51    
52            * Extensions/bboxdump/bboxdump.py, /Extensions/gns2shp/gns2shp.py,
53            /Extensions/importAPR/importAPR.py, Extensions/profiling/profiling.py,
54            /Extensions/wms/wms.py: Use FindOrInsertMenu() instead of finding
55            menu on its own.
56    
57    2004-05-06  Jan-Oliver Wagner <[email protected]>
58    
59            Introduce a abstract ColorDialog class and remove
60            and outdated file.
61    
62            * Thuban/UI/proj4dialog.py: Removed. It is has been
63            replaced by projdialog for quite a while and is not used
64            anymore.
65    
66            * Thuban/UI/colordialog.py: New. Abstraction for color selection
67            dialog(s).
68    
69            * Thuban/UI/classifier.py (SelectPropertiesDialog.__GetColor):
70            Now calls the abstract ColorDialog instead of wxColourDialog.
71            This also removed the dependency to Color class conversion
72            from this function.
73    
74    2004-05-04  Frank Koormann  <[email protected]>
75    
76            * Extensions/bboxdump/__init__.py: Fixed string left over from
77            copying.
78    
79            * Extensions/bboxdump/bboxdump.py (bboxdump):
80            Use layer.ShapeStore().AllShapes() to loop over shapes instead of
81            xrange(layer.NumShapes()). Compile the bboxmessage from a list
82            of formatted outputs (string.join) instead of appending to the
83            message. Two progress bar dialogs to report progress on the sometimes
84            lenghty processing.
85    
86    2004-04-22  Frank Koormann  <[email protected]>
87    
88            New Extension to dump bounding boxes of all shapes of the selected
89            layer. An optional column can be specified to group the objects,
90            in this case the bounding box is a union of the separate boxes.
91            Dump can be displayed in a ScrolledMessageDialog or written to file.
92            The Extension is simply a combination of available and well tested
93            Thuban functionality.
94    
95            * Extensions/bboxdump/__init__.py: New: Init to make this
96            directory a package.
97    
98            * Extensions/bboxdump/bboxdump.py: New: Dump bounding boxes of
99            all shapes of the selected layer.
100    
101    2004-04-22  Jan-Oliver Wagner <[email protected]>
102    
103            * Thuban/UI/classgen.py (GenUniquePanel.__init__): Fixed two
104            strings to be i18n now.
105    
106    2004-04-18  Jan-Oliver Wagner <[email protected]>
107    
108            Changing popup menu of legend from direct building
109            to using the Menu construction as used for the mainwindow.
110    
111            * Thuban/UI/mainwindow.py: New method commands: layer_to_top,
112            layer_to_bottom, layer_visibility
113            (MainWindow.LayerToTop): New. Put current layer to the top.
114            (MainWindow.LayerToBottom): New. Put current layer to bottom.
115            (MainWindow.HideLayer, MainWindow.ShowLayer, _has_visible_map):
116            Replace 1,0 by True, False.
117            (MainWindow.ToggleLayerVisibility): New. Toggle visibility of
118            current layer.
119            (MainWindow.LayerShowTable): Removed raising of dialog.
120            (_has_selected_layer_visible): New. Support function.
121    
122            * Thuban/UI/legend.py: ID_POP_xxx: removed.
123            (LegendPanel.__init__): Removed EVT_MENU bindings.
124            (LegendTree._OnRightClick): Replace direct creation of
125            menu via wx Classes by applying the menu definition
126            as of Menu class of menu.py.
127            
128    2004-04-16  Jan-Oliver Wagner <[email protected]>
129    
130            * Thuban/UI/exceptiondialog.py (ExceptionDialog.dialog_layout): Improved
131        button string to stronger clearify that Thuban will be closed when hitting
132            the button.
133    
134            * Thuban/UI/mainwindow.py (MainWindow.LayerShowTable): Added docstring.
135            Now for layers without a ShapeStore a corresponding message is given
136            to the user, that this layer has no table to show.
137    
138    2004-04-15  Martin Schulze  <[email protected]>
139    
140            * Extensions/wms/layer.py (WMSLayer.setWMSFormat): Need to
141            recalculate the format for the internal render engine as well.
142    
143            * Extensions/wms/properties.py (wmsProperties): First start for a
144            properties dialog.  It's functional for a first selection of
145            layers, but still has some weired wxWidgets/GTK problems but
146            beautification can be done later.
147    
148            * Extensions/wms/layer.py: Added more documentation
149            (WMSLayer.getFormats): New: Return list of supported image formats
150            by the WMS server
151            (WMSLayer.getLayers): New: Return the list of layer names
152            supported by the WMS server
153            (WMSLayer.getLayerTitle): New: Return the title of the named layer
154            (WMSLayer.getWMSFormat): New: Return the image format that is used
155            for WMS GetMap requests
156            (WMSLayer.setWMSFormat): New: Set the image format that is used
157            for WMS GetMap requests
158            (WMSLayer.__init__): Move away from using only one layer to using
159            a list of layers (unsorted at the moment, though).
160            (WMSLayer.getVisibleLayers): New: Return the list of names for all
161            visible layers
162            (WMSLayer.setVisibleLayers): New: Set the list of names for all
163            visible layers
164    
165            * Extensions/wms/wms.py: Moved the WMS layer into layer.py in
166            order to establish a clean structure.
167    
168            * Extensions/wms/layer.py: Moved the WMS layer into a file on its
169            own in order to establish a clean structure.
170    
171    2004-04-13  Martin Schulze  <[email protected]>
172    
173            * Extensions/wms/parser.py (WMSCapabilitiesParser.grok): Added
174            support for oldstyle (WMS 1.0 apparently) image format
175            specification.
176    
177            * Extensions/wms/wms.py (WMSLayer.calcFormat): Reduce the list of
178            supported graphic formats back to JPEG and BMP, PNG and others are
179            too *cough* experimental...  Sorry, I meant to filter this out
180            before I committed this part.  This should make the WMS extension
181            run from CVS again.
182            (wms_dialog): Reset an empty URL to None so that the subsequent
183            program can depend on this, since the dialog will indeed return an
184            empty URL, causing another declaration of love by Python.
185    
186            * Extensions/wms/parser.py (WMSCapabilitiesParser.getLayerBBox):
187            Whenever a native BoundingBox request cannot be fulfilled, check
188            whether the requested SRS is EPSG:3426, in which case return the
189            LatLonBoundingBox values.
190    
191            * Extensions/wms/test/test_parser.py
192            (TestWMSCapabilitiesParser.test_LayerSRS): Added a test for
193            ignoring AUTO:* SRS.
194            (TestWMSCapabilitiesParser.test_LatLonBoundingBoxes_as_bboxes):
195            Added another test method to test whether the LatLonBoundingBox
196            values will be returned if BoundingBox values are requested with
197            SRS set to EPSG:3426.
198    
199            * Extensions/wms/parser.py (WMSCapabilitiesParser.peekLayers):
200            Added rudimentary support for non-EPSG SRS, i.e. ignore them for
201            the moment by placing them into a variable which is currently
202            unused.  Also test whether the EPSG SRS is numerical as it should
203            be and add an error message if it is not.
204    
205            * Extensions/wms/test/sample.xml: Added AUTO:* SRS since they
206            appear in the real world as well.  Since we cannot handle them yet
207            (OGCLib can't either), we will ignore them for the moment.
208    
209            * Extensions/wms/parser.py: Use a variable for denoting the sample
210            filename
211            (WMSCapabilitiesParser.peekLayers): Added support for error
212            messages during grok().  They will be aggregated in an array and
213            may be displayed later.  We may have to add a classification
214            "Warning" and "Error" to this.  That requires more experience,
215            though, since not every error may be lethal.
216    
217            * Thuban/UI/mainwindow.py (MainWindow.LayerShowTable): Raise the
218            ShowTable() dialog/frame when the user attempts to display it
219            while it has been opened before already and not closed again.
220    
221    2004-04-11  Martin Schulze  <[email protected]>
222    
223            * Extensions/wms/infodialog.py: Adjusted the class documentation
224    
225            * Extensions/wms/wms.py (WMSLayer.__init__, WMSLayer.GetMapImg):
226            Switch to using Thuban{Begin,End}BusyCursor instead of the pure
227            wxWidgets variants.
228            (WMSLayer.__init__): The epsg_id variable is named top_srs now.
229    
230            * Extensions/wms/infodialog.py: Added an information dialog that
231            will display various information about the WMS current resource,
232            so that additional information such as the title, the abstract,
233            fees and access constraints can be displayed for the user if they
234            are documented in the WMS XML.
235    
236    2004-04-10  Martin Schulze  <[email protected]>
237    
238            * Extensions/wms/parser.py (WMSCapabilitiesParser.grok): Adjusted
239            string handling.  It's "foo".lower() and not lower(foo) without
240            lower imported from strings or something.
241    
242            * Extensions/wms/wms.py (WMSLayer): Incorporated WMSCapabilities
243            from capabilities.py and parser.py.  Implement priority list for
244            supported graphics formats, take care of wbmp != bmp.  PNG, TIFF
245            and GIF are supported here, but not yet by main Thuban.  Hence,
246            support for them may be removed later.  Special contribution to
247            usability: get wxWidgets to change the cursor when we're waiting
248            for data from the network so the user won't start to worry.  This
249            causes a redrawing error/warning, though.
250    
251            * Extensions/wms/parser.py (WMSCapabilitiesParser.grok): Unlink
252            the DOM object.
253    
254    2004-04-01  Martin Schulze  <[email protected]>
255    
256            * Extensions/wms/capabilities.py: Adjusted documentation
257            (WMSCapabilities.__init__): Improved documentation, fixed syntax
258            (WMSCapabilities.saveCapabilities): Only catch IOError when
259            handling files
260            (WMSCapabilities.loadCapabilities): Only catch IOError when
261            handling files
262            __main__: corrected variable naming
263            (WMSCapabilities.fetchCapabilities,loadCapabilities): Make this
264            class a specialisation of WMSCapabilitiesParser as well.  Also
265            execute grok() after loading or fetching capabilities, if that
266            went well, so that subsequent calls can already access the data.
267            (WMSCapabilities.getVersion): Export the used version of the
268            GetCapabilities request, so we can use it for subsequent calls,
269            i.e. for GetMap requests.
270            (WMSCapabilities.fetchCapabilities): Added proper error handling
271            when the GetCapabilities request failed, so that the surrounding
272            program can act accordingly.
273    
274    2004-03-30  Martin Schulze  <[email protected]>
275    
276            * Extensions/wms/parser.py (WMSCapabilitiesParser.getLayerSRS):
277            Adjusted the getLayerSRS method to return the list of SRSes
278            extracted from <SRS> elements instead of <BoundingBox> elements.
279            Added a bit of documentation as well.
280            (WMSCapabilitiesParser.checkLayerSRS): Removed integrity test
281            since it was only implemented due to a misunderstanding.
282    
283            * Extensions/wms/test/test_parser.py
284            (TestWMSCapabilitiesParser.test_LayerSRS): Adjust the tests to
285            reflect the corrected interpretation of the standard: i.e. a layer
286            does not have to define a BoundingBox for all SRSes it supports.
287            Hence the <SRS></SRS> specification is authoritative, not the list
288            of BoundingBoxes.
289            (TestWMSCapabilitiesParser.test_BoundingBoxes): Added a new test
290            to ensure None is returned for a non-existing SRS.
291            (TestWMSCapabilitiesParser.test_grok): Removed test_grok method
292            since it is not applicable anymore.  Listing more SRSes in <SRS>
293            elements is valid according to the specs.
294    
295    2004-03-26  Bernhard Reiter <[email protected]>
296    
297            * README: Nicer formatting of text. Improved descriptions.
298            Reflected wxWidgets name change.
299            
300            * Thuban/UI/about.py: Extended copyright to 2004 and added
301            information about the thuban-devel mailinglist.
302    
303    2004-03-24  Martin Schulze  <[email protected]>
304    
305            * Extensions/wms/capabilities.py: Renamed the class to contain
306            'WMS', also added a linebreak where required
307    
308            * Extensions/wms/parser.py: Finally added the XML parser for the
309            GetCapabilities response.
310    
311            * Extensions/wms/test/sample.xml: Adjusted the sample file so that
312            <SRS> elements match the <BoundingBox> elements, except for the
313            layer 'beschriftung'.
314    
315            * Extensions/wms/test/test_parser.py: Encode non-ascii strings
316            since Python uses unicode strings internally, otherwise
317            comparisons will fail.  Removed tests for getLayerBBoxSRS() since
318            the SRS will be calculated anyway and this method is obsoleted by
319            getLayerSRS().  Denote SRS as strings and not as cardinal numbers.
320            Move loading the sample file into the setUp method.  Added a test
321            for finding the integrity problem in the sample response.
322            Improved formatting.
323    
324            * Extensions/wms/domutils.py: Added convenience routines for
325            handling of Document Object Model (DOM) nodes.
326    
327            * Extensions/wms/test/test_domutils.py: Added a test for the
328            domutils module
329    
330    2004-03-19  Martin Schulze  <[email protected]>
331    
332            * Extensions/wms/test/test_parser.py (TestWMSCapabilitiesParser):
333            Moved path detection and adding into a module of its own,
334            adjustpath, which exports thubandir as main Thuban directory.
335    
336            * Extensions/wms/test/test_ogclib.py (TestWMSLib): Moved path
337            detection and adding into a module of its own, adjustpath, which
338            exports thubandir as main Thuban directory.  Reorganised the
339            module in order to support the SkipTest feature for Thuban test
340            cases.
341    
342            * Extensions/wms/test/adjustpath.py: Moved path detection and
343            adding into a module of its own.
344    
345    2004-03-18  Martin Schulze  <[email protected]>
346    
347            * Extensions/wms/test/test_parser.py: Added another test for
348            checking whether the WMS XML parser (to be implemented) returns
349            the information we expect.  This requires a sample WMS WML file
350            (sample.xml) which has been extracted from the frida server and
351            "improved" manually.
352    
353            * Extensions/wms/test/test_ogclib.py: Added legacy code to add the
354            main Thuban directory to the path in order to be able to import
355            random modules.  Adjusted the PyOGCLib detection to reuse the
356            information gathered.  Also added a note about the PYTHONPATH
357            environment variable.
358    
359            * Extensions/wms/test/test_ogclib.py: The format specification is
360            a mime-type, not a graphic format, hence image/jpeg wou ld be the
361            proper format and not JPEG.  We'll also have to take care of the
362            encoding of / as %2F.
363    
364    2004-03-16  Martin Schulze  <[email protected]>
365    
366            * Extensions/wms/test/test_ogclib.py: Added a (hopefully)
367            comprehensive test for the getMapURL method, built compare URLs
368            according to the documentation in OGC 01-068r3
369    
370            * Extensions/wms/capabilities.py (WMSCapabilities): Added the
371            class WMSCapabilities to manage capabilites, will incorporate
372            parsing the capabilities response and provide details for other
373            classes.
374    
375    2004-03-12  Bernhard Herzog  <[email protected]>
376    
377            Support views in addition to normal tables in the postgis
378            shapestore
379    
380            * Thuban/Model/postgisdb.py
381            (PostGISShapeStore._fetch_table_information): Add a fallback for
382            the case where the table name is not in the geometry_columns
383            table.  This is usually the case for views.  Also, set
384            self.shapestore here.
385            (PostGISShapeStore.ShapeType): No need to query the database all
386            the time.  The shape type is now determined in
387            _fetch_table_information
388    
389            * test/postgissupport.py (PostgreSQLServer.new_postgis_db)
390            (PostgreSQLServer.get_static_data_db, PostGISDatabase.__init__):
391            New parameter to specify views.
392            (PostGISDatabase.has_data): Also compare the views.  New views
393            parameter
394            (PostGISDatabase.initdb): Create the views.
395            (PostgreSQLServer.get_default_static_data_db): Add the v_landmarks
396            view
397    
398            * test/test_postgis_db.py
399            (TestPostGISShapestorePointFromViews): New.  Test a
400            PostGISShapeStore with a view
401            (TestPostGISShapestorePointOIDAsGIDColumn.setUp): Pass the name of
402            the geometry_column explicitly to test whether that works
403    
404    2004-03-12  Bernhard Herzog  <[email protected]>
405    
406            Final step for explicit id/geometry columns: Loading and saving
407    
408            * Resources/XML/thuban-1.1.dtd: New.  Derived from thuban-1.0.dtd
409            with the following changes:
410            (dbshapesource): Two new attributes id_column and geometry_column
411    
412            * Thuban/Model/save.py (SessionSaver.write): Use the new dtd
413            (SessionSaver.write_session): Use the new namespace
414            (SessionSaver.write_data_containers): Write the new dbshapesource
415            parameters
416    
417            * Thuban/Model/load.py (SessionLoader.__init__): New namespace for
418            the new file format version
419            (SessionLoader.start_dbshapesource): Handle the new db parameters
420    
421            * test/test_save.py: Update to the new dtd and namespace
422            (SaveSessionTest.test_save_postgis): Update the NonConnectionStore
423            mock object to provide a working IDColumn method.
424    
425            * test/test_load_1_0.py: New.  Copy of the test_load.py before
426            today's changes but with the round-trip tests removed.
427    
428            * test/test_load_0_9.py: Update doc-string.
429    
430            * test/test_load.py: Update all .thuban files to the new dtd and
431            namespace.
432            (TestPostGISLayer.file_contents): Add the new dbshapesource
433            paramters
434    
435    2004-03-11  Bernhard Herzog  <[email protected]>
436    
437            Next step for explicit id/geometry columns: User interaction
438    
439            * Thuban/UI/dbdialog.py (ChooseDBTableDialog.__init__): Rework how
440            the dialog is constructed. Add combo boxes to select id and
441            geometry column.  Rename some instance variables.
442            (ChooseDBTableDialog.GetTable): Return id and geometry column
443            names
444            (ChooseDBTableDialog.OnTableSelect): New. Event handler for
445            selections in the table list
446    
447            * Thuban/UI/mainwindow.py (MainWindow.AddDBLayer): Use id_column
448            and geometry_column
449    
450            * Thuban/Model/session.py (Session.OpenDBShapeStore): Add the new
451            parameters for id_column and geometry column of PostGISShapeStore
452            here as well.
453    
454            * Thuban/Model/postgisdb.py (type_map): Add ROWID psycog type.
455            (_raw_type_map): New. Map raw PostgreSQL type ints to thuban types
456            (PostGISConnection.GeometryTables): Use a better query to
457            determine which relations in the database might be usable for
458            shapestores.  Now supports views as well but is more PostgreSQL
459            specific
460            (PostGISConnection.table_columns): New. Somewhat experimental
461            method to let the db dialogs provide lists of columns to users so
462            that they can select id and geometry columns.
463            (PostGISTable.__init__): The default value of the id_column
464            parameter is now None it still means "gid" effectively, though.
465            (PostGISTable.IDColumn): New introspection method to return a
466            column object for the id column
467            (PostGISShapeStore.GeometryColumn): New introspection method to
468            return a column object for the geometry column
469    
470            * test/test_postgis_db.py
471            (TestPostGISConnection.test_gis_tables_non_empty):
472            Removed. Subsumed by the new:
473            (TestPostGISConnection.test_gis_tables_with_views_and_tables):
474            New. Tes the GeometryTables and table_columns methods with actual
475            tables and views.
476            (PointTests.test_id_column, PointTests.test_geometry_column):
477            New. tests for the new methods.
478            (TestPostGISShapestorePoint.setUp)
479            (TestPostGISShapestorePointSRID.setUp)
480            (TestPostGISShapestorePointExplicitGIDColumn.setUp): Fill the
481            instance variables needed by the new tests
482    
483    2004-03-11  Bernhard Herzog  <[email protected]>
484    
485            * Thuban/UI/classgen.py (GenQuantilesPanel.GetList): The row
486            numbers given to ReadValue are ordinals.
487    
488    2004-03-11  Bernhard Herzog  <[email protected]>
489    
490            Elimiate the requirement for PostGIS tables to have a column
491            called "gid".
492    
493            * Thuban/Model/postgisdb.py (PostGISTable.__init__): New parameter
494            id_column to specify which column to use to identify rows.  Also
495            new instance variables id_column and quoted_id_column
496            (PostGISTable.RowIdToOrdinal, PostGISTable.RowOrdinalToId)
497            (PostGISTable.ReadRowAsDict, PostGISTable.ReadValue)
498            (PostGISTable.SimpleQuery): Use the id column name provided to the
499            constructor instead of "gid"
500            (PostGISShapeStore.__init__): New parameter id_column analogously
501            to PostGISTable.__init__.  This parameter is simply passed through
502            to the base class constructor
503            (PostGISShapeStore._create_col_from_description): Fix typo in
504            doc-string
505            (PostGISShapeStore.Shape, PostGISShapeStore.AllShapes)
506            (PostGISShapeStore.ShapesInRegion): Use the id column name
507            provided to the constructor instead of "gid"
508    
509            * test/postgissupport.py
510            (PostgreSQLServer.get_default_static_data_db): New static table
511            landmarks_point_id with an id column != "gid.  Update the comments
512            a bit.
513            (skip_if_addgeometrycolumn_does_not_use_quote_ident): Fix typo in
514            doc-
515            (upload_shapefile): New parameter gid_column to use a name other
516            than "gid" for the column to store the shape ids
517    
518            * test/test_postgis_db.py (TableTests): New.  Mixin-class
519            containing all tests previously in TestPostGISTable.  The actual
520            tests are the same but the code is a bit more configurable to
521            allow for different id columns etc.
522            (TestPostGISTable): Derive from TableTests now for the actual
523            tests.
524            (TestPostGISTableExplicitGIDColumn): New. Like TestPostGISTable
525            except that it the landmarks_point_id table to test the id_column
526            parameter
527            (PointTests): Extend the doc-string
528            (TestPostGISShapestorePointExplicitGIDColumn)
529            (TestPostGISShapestorePointOIDAsGIDColumn): New classes derived
530            from PointTests to test the explicit id_column parameter.  One
531            tests with the name of the column holding the shape ids, the other
532            uses PostgreSQL's OID column.  For the latter a number of methods
533            have to be overwritten to make them independent of the actual id
534            values.
535    
536    2004-03-08  Silke Reimer  <[email protected]>
537    
538            Update debian directory:
539    
540            * debian/changelog: Added new version.
541            * deiban/rules: Updated management of patches (with cbds)
542            * debian/control: Added cbds to dependencies
543            * debian/patches/*: New. Adds better support for patches of thuban in
544                            debian
545            * debian/menu: Syntax of menu changed slightly
546            * debian/setup.py.patch: removed because it has been moved to
547                            debian/patechs/setup.py.patch
548            
549    
550    2004-02-26  Bernhard Herzog  <[email protected]>
551    
552            Create the Doc/technotes directory for text files with information
553            for developers
554    
555            * Doc/technotes/README: New. README for the technotes
556    
557            * Doc/technotes/coding_guidelines.txt: New. Coding guidelines for
558            Thuban
559    
560            * Doc/technotes/release_process.txt: New. Used to be
561            HOWTO-Release.  Now slightly adapted to technote formatting style.
562    
563            * HOWTO-Release: Removed.  It's contents are now in
564            Doc/technotes/release_process.txt
565    
566    2004-02-25  Bernhard Herzog  <[email protected]>
567    
568            * libraries/thuban/wxproj.cpp (get_wx_version): New.  Return the
569            version of wxWindows the module was compiled with so we can check
570            that against the wxPython version.
571    
572            * Thuban/version.py (thuban_branch, thuban_release): New variables
573            controlling which and how Thuban versions are shown.  See the
574            comments for details.
575            (verify_versions): Also check that the wx version that wxproj is
576            compiled against matches that of the wxPython we use at runtime
577    
578    2004-02-20  Bernhard Herzog  <[email protected]>
579    
580            * Extensions/wms/wms.py (epsg_code_to_projection): Use
581            get_system_proj_file to read the epsg projections.  The old way
582            depended on the current directory being the top Thuban directory.
583    
584    2004-02-20  Bernhard Herzog  <[email protected]>
585    
586            * Extensions/svgexport/test/test_svgmapwriter.py
587            (TestVirtualDC.test_clippath): Remove a debug print
588    
589    2004-02-20  Bernhard Herzog  <[email protected]>
590    
591            * Extensions/svgexport/__init__.py: New.  Turn
592            Extensions/svgexport into a package.
593    
594            * Extensions/svgexport/svgmapwriter.py: Reorder the imports and
595            doc-string a bit.  The doc-string must come first, otherwise it's
596            not a doc-string.  The __future__ import must be the first thing
597            after the doc-string.  Use only double quotes in doc-strings.
598            Single quotes trip up emacs syntax highlighting if the text
599            contains apostrophes.
600    
601    2004-02-20  Bernhard Herzog  <[email protected]>
602    
603            * Extensions/svgexport/test/__init__.py,
604            Extensions/svgexport/test/test_svgmapwriter.py: New. Initial test
605            suite for svgexport
606    
607            * test/runtests.py (find_test_modules): New. Function with the
608            module finding code from main.
609            (main): Use find_test_modules to figure out the default test
610            modules and take modules from Extensions.svgexport.test too.
611    
612    2004-02-19  Bernhard Herzog  <[email protected]>
613    
614            * Thuban/UI/application.py (ThubanApplication.OnInit): Make sure
615            the mainwindow has a reference to the map of the initial session.
616            This fixes a bug introduced with the fix for RT#2245
617    
618    2004-02-19  Bernhard Herzog  <[email protected]>
619    
620            * Extensions/svgexport/svgsaver.py,
621            Extensions/svgexport/svgmapwriter.py,
622            Extensions/svgexport/maplegend.py: Added again.  This time in the
623            correct place.
624    
625    2004-02-17  Bernhard Herzog  <[email protected]>
626    
627            Fix for RT#2245
628    
629            * Thuban/UI/application.py (ThubanApplication.OnInit): Initialize
630            instance variables before trying to create any windows.  Creating
631            windows can start an event loop if e.g. message boxes are popped
632            up for some reason, and event handlers, especially EVT_UPDATE_UI
633            may want to access things from the application.
634            (ThubanApplication.maps_changed): The mainwindow may not have been
635            created yet, so check whether it has been created before calling
636            its methods
637    
638            * Thuban/UI/view.py (MapCanvas.OnIdle): Only try to redraw if we
639            have a map
640    
641    2004-02-17  Bernhard Herzog  <[email protected]>
642    
643            * test/test_svgmapwriter.py, Extensions/svgsaver.py,
644            Extensions/svgmapwriter.py, Extensions/maplegend.py,
645            extensions/svgexport/svgsaver.py,
646            extensions/svgexport/svgmapwriter.py,
647            extensions/svgexport/maplegend.py: Removed.  These files were in
648            the wrong places or didn't work at all.
649    
650    2004-02-16  Bernhard Herzog  <[email protected]>
651    
652            * Thuban/UI/view.py (MapCanvas.Export): Remove accidentally added
653            line
654    
655    2004-02-16  Bernhard Herzog  <[email protected]>
656    
657            * Thuban/UI/view.py (MapCanvas.Export): Avoid UnboundLocalError.
658    
659    2004-02-15  Markus Rechtien  <[email protected]>
660            
661            * Extensions/svgexport/svgmapwriter.py: New. Adds the capability
662            to write a session to a file in SVG format.
663            * Extensions/svgexport/svgsaver.py: New. Uses svgmapwriter.py
664            to write a SVG map of a session.
665            * Extensions/svgexport/maplegend: New. Writes a basic maplegend
666            in SVG format for the current session.
667    
668    2004-02-13  Bernhard Herzog  <[email protected]>
669    
670            * Thuban/UI/mainwindow.py (MainWindow.AddDBLayer): When the layer
671            can't be created, return immediately after displaying the error
672            message.
673    
674    2004-02-11  Bernhard Herzog  <[email protected]>
675    
676            Handle postgis tables with more than one geometry column.
677    
678            * Thuban/Model/postgisdb.py
679            (PostGISTable._fetch_table_information): Delegate the creation of
680            column objects to a different method so that we can extend that in
681            derived classes
682            (PostGISTable._create_col_from_description): New. Column object
683            creation part of _fetch_table_information
684            (PostGISShapeStore._create_col_from_description): New. Extend
685            inherited method to handle geometry columns
686            (PostGISShapeStore.__init__): New parameter geometry_column to
687            specify which geometry column to use.  Optional but mandatory for
688            tables with more than one geometry column
689            (PostGISShapeStore._fetch_table_information): Also use the name of
690            the geometry column when looking for the srid
691            (PostGISShapeStore.ShapeType): Also use the name of the geometry
692            column when looking for the shape type
693    
694            * test/test_save.py (SaveSessionTest.test_save_postgis): Adapt
695            NonConnectionStore to changes in the PostGISShapeStore
696    
697            * test/test_postgis_db.py
698            (TestPostGISSpecialCases.test_shapestore_two_geom_cols): Test
699            PostGISShapeStore with tables having two geometry columns.
700    
701    2004-02-10  Bernhard Herzog  <[email protected]>
702    
703            Fix some postgis problems.  What remains to be done is real
704            handling of SRIDs as they affect how reprojection is done
705    
706            * Thuban/Model/postgisdb.py (quote_identifier): Fix typo in
707            doc-string
708            (PostGISShapeStore._fetch_table_information): New. Extend
709            inherited method to retrieve srid
710            (PostGISShapeStore.BoundingBox): Handle tables without data.
711            extent yields NULL for those
712            (PostGISShapeStore.ShapesInRegion): Use the srid of the table.
713    
714            * test/test_postgis_db.py
715            (TestPostGISSpecialCases.test_shapestore_empty_table): New test
716            for the special case of a table without any data
717            (TestPostGISShapestorePointSRID): New class with tests for a table
718            that uses srids
719            (PolygonTests): Fix a doc-string typo
720    
721            * test/postgissupport.py (PostGISDatabase.__init__): New parameter
722            reference_systems with a specification of spacial reference
723            systems to create in the new db.
724            (PostgreSQLServer.new_postgis_db)
725            (PostgreSQLServer.get_static_data_db): New parameter
726            reference_systems to be passed through ultimately to
727            PostGISDatabase.  In new_postgis_db also check whether an existing
728            db already has the right srids
729            (PostgreSQLServer.get_default_static_data_db): Add srids and a
730            table that uses srids
731            (PostGISDatabase.initdb): Create the entries for the reference
732            systems
733            (PostGISDatabase.has_data): Add reference_systems parameter to
734            check for those too
735            (upload_shapefile): New parameter srid to create tables with a
736            specific srid
737    
738    2004-02-06  Frank Koormann  <[email protected]>
739    
740            * po/pt_BR.po: Fixed charset
741    
742    2004-02-05  Frank Koormann  <[email protected]>
743    
744            * po/pt_BR.po: Fixed format string for error message, missing %s
745            added (Thuban/UI/application.py:273)
746    
747    2004-02-03  Frank Koormann  <[email protected]>
748            
749            First version of Portuguese (Brazilian) translation
750    
751            * po/pt_BR.po: New, translation of pot (2004-01-15 16:07+0300) for
752            Brazilian Portuguese by Eduardo Patto Kanegae.
753    
754            * Thuban/UI/about.py (About.__init.py__): Added Eduardo to the list of
755            translators.
756    
757    
758    2004-01-22  Frank Koormann  <[email protected]>
759    
760            * Doc/manual/thuban-manual.xml: Added section on installation of
761            Thuban under Win32 systems. Fixed image path references in the postgis
762            section. Some minor source formattings.
763    
764    2004-01-21  Frank Koormann  <[email protected]>
765    
766            Make Thuban remember path selections (at least for one application run).
767    
768            * Thuban/UI/application.py (Application.OnInit): Initialize path as a
769            attribute of application object. Path is a dictionary of
770            strings, currently with the items "data" and "projection".  
771            (Application.SetPath): New, stores path for the specified item.
772            (Application.Path): New, return path for the specified item.
773    
774            * Thuban/UI/mainwindow.py
775            (MainWindow.OpenSession, MainWindow.SaveSessionAs,
776            MainWindow.AddLayer, MainWindow.AddRasterLayer,
777            MainWindow.TableOpen): Access "data" path information of the
778            application.
779            
780            * Thuban/UI/projdialog.py (ProjFrame._OnImport, ProjFrame._OnExport):
781            Access "projection" path information of the application.
782    
783    2004-01-05  Bernhard Herzog  <[email protected]>
784    
785            * po/ru.po: Updated translations from Alex Shevlakov
786    
787    2004-01-05  Bernhard Herzog  <[email protected]>
788    
789            * po/Makefile, po/README: Move the description of how to generate
790            the translation statistics to the README.
791    
792    2003-12-23  Bernhard Herzog  <[email protected]>
793    
794            * NEWS: Update for 1.0.0
795    
796            * po/it.po: Another update from Maurizio Napolitano
797    
798    2003-12-23  Bernhard Herzog  <[email protected]>
799    
800            * po/it.po: Updated translation from Maurizio Napolitano
801    
802    2003-12-23  Bernhard Herzog  <[email protected]>
803    
804            * Thuban/UI/join.py (JoinDialog.__init__): Mark one more string
805            for translation
806    
807            * Thuban/UI/mainwindow.py (MainWindow.TableRename)
808            (MainWindow.RenameMap, MainWindow.RenameLayer): Mark some more
809            strings for translation
810    
811            * po/de.po: Update with the newly marked strings.
812    
813    2003-12-22  Bernhard Herzog  <[email protected]>
814    
815            * HOWTO-Release: Fix the places where version numbers have to be
816            updated
817    
818    2003-12-22  Bernhard Herzog  <[email protected]>
819    
820            * setup.py (setup call): 1.0.0, yeah!
821    
822            * Thuban/version.py (longversion): 1.0.0, yeah!
823    
824            * Thuban/Model/load.py (SessionLoader.__init__): Accept the
825            1.0.0 namespace too
826    
827            * Thuban/Model/save.py (SessionSaver.write_session): Save with
828            1.0.0 namespace
829    
830            * test/test_load.py (LoadSessionTest.dtd)
831            (TestSingleLayer.file_contents)
832            (TestNonAsciiColumnName.file_contents)
833            (TestLayerVisibility.file_contents)
834            (TestClassification.file_contents, TestLabels.file_contents)
835            (TestLayerProjection.file_contents)
836            (TestRasterLayer.file_contents, TestJoinedTable.file_contents)
837            (TestLabelLayer.file_contents, TestPostGISLayer.file_contents)
838            (TestPostGISLayerPassword.file_contents)
839            (TestLoadError.file_contents, TestLoadError.test): Update for
840            1.0.0 namespace
841    
842            * test/test_save.py (SaveSessionTest.dtd)
843            (SaveSessionTest.testEmptySession)
844            (SaveSessionTest.testSingleLayer)
845            (SaveSessionTest.testLayerProjection)
846            (SaveSessionTest.testRasterLayer)
847            (SaveSessionTest.testClassifiedLayer)
848            (SaveSessionTest.test_dbf_table)
849            (SaveSessionTest.test_joined_table)
850            (SaveSessionTest.test_save_postgis): Update for 1.0.0 namespace
851    
852    2003-12-22  Bernhard Herzog  <[email protected]>
853    
854            * Thuban/Model/load.py (SessionLoader.start_label): Make sure the
855            alignment flags are byte strings not unicode and that they have
856            valid values
857    
858            * test/test_load.py (TestLabelLayer): New. Test loading (and
859            indirectly saving) of maps with labels.
860    
861    2003-12-22  Bernhard Herzog  <[email protected]>
862    
863            * Thuban/UI/tableview.py (TableGrid.OnDestroy)
864            (TableGrid.__init__): Handle EVT_WINDOW_DESTROY in the grid to
865            unsubscribe all subscribers.
866            (LayerTableFrame.OnDestroy): Do not unsubscribe any messages from
867            self.grid since it may already have been destroyed.
868            Fixes RT #2256
869    
870    2003-12-19  Bernhard Herzog  <[email protected]>
871    
872            * po/fr.po, po/es.po: Updated translations from Daniel Calvelo
873    
874    2003-12-16  Bernhard Herzog  <[email protected]>
875            
876            * debian/bitmappath.patch, debian/setup.py.patch:
877                    added to ensure compliance with FHS for debian
878            * debian/rules, debian/changelog:
879                added patches in rules to ensure compliance with FHS for debian
880    
881    2003-12-16  Bernhard Herzog  <[email protected]>
882    
883            * po/Makefile (mo): Make the output a bit nicer so that it prints
884            statistics about the translations. Add a comment how produce even
885            nicer statistics with sed.
886    
887    2003-12-09  Frank Koormann   <[email protected]>
888    
889            * Resources/Projections/defaults.proj:
890            French projection sample with correct accents (UNICODE).
891    
892    2003-12-05  Bernhard Herzog  <[email protected]>
893    
894            * MANIFEST.in: Add the devtools directory
895    
896            * setup.py (setup call): Use license instead of licence. This
897            silences a deprecation warning on Python 2.3
898    
899    2003-12-05  Frank Koormann   <[email protected]>
900    
901            Documentation synced with 1.0rc1
902    
903            * Doc/manual/thuban-manual.xml:
904            Minor formatting changes and references to database layers .
905            Introduction.Internationalization: New section on i18n.
906            MapManagement.AddingandRemovingLayers: Added item on database layers.  
907            MapManagement.TheLegend: Added section and screenshot on popup menu.
908            ProjectionManagement: Updated screenshot and sentence on EPSG.
909            Appendix.SupportedDataSources: Added PostGIS.
910            Appendix.WorkingwithPostGIS: New section.
911    
912            * Doc/manual/images/6_projection.png: Updated screenshot including
913            EPSG checkboxes.
914    
915            * Doc/manual/images/3_5_popup_menu.png: New, popup menu screenshot.
916    
917            * Doc/manual/images/app_postgis_add_layer.png,
918            Doc/manual/images/app_postgis_db_add.png,
919            Doc/manual/images/app_postgis_db_management.png:
920            New screenshots focussing on database layers
921    
922    2003-12-05  Frank Koormann   <[email protected]>
923    
924            * Thuban/UI/projdialog.py (load_user_proj): If user.proj is missing
925            write warning to stderr instead of rising a warning dialog
926    
927    2003-12-03  Bernhard Herzog  <[email protected]>
928    
929            Fix for RT #2243
930    
931            * Thuban/UI/mainwindow.py (MainWindow.has_selected_shape_layer):
932            New. Like has_selected_layer but for shape layers only
933            (_has_selected_shape_layer): New. Like _has_selected_layer but for
934            shape layers only
935            (layer_show_table command, layer_jointable command): Use these
936            commands should only be available for shape layers
937    
938    2003-12-03  Bernhard Herzog  <[email protected]>
939    
940            * Thuban/UI/mainwindow.py (MainWindow.Unsubscribe): Deal with
941            publishers that are wx objects and may have been destroyed by wx
942            already. Fixes RT #2242.
943    
944    2003-12-03  Bernhard Herzog  <[email protected]>
945    
946            * po/ru.po: Updates from Alex Shevlakov
947    
948    2003-12-03  Silke Reimer <silkeintevation.de>
949    
950            * debian/control, debian/changelog: Added gdal-support to
951                    debian package, updated to new thuban version
952    
953    
954    2003-12-03  Bernhard Herzog  <[email protected]>
955    
956            * Thuban/Lib/version.py: New. Module for version number
957            manipulations. The version of make_tuple here also deals better
958            with more unusual version number strings, such as e.g.
959            "1.2+cvs20031111"
960    
961            * Thuban/version.py (make_tuple): Removed. It's now in
962            Thuban.Lib.version. Use that implementation instead.
963    
964            * test/test_lib_version.py: New. Tests for Thuban/Lib/version.py
965    
966    2003-12-02  Bernhard Herzog  <[email protected]>
967    
968            * MANIFEST.in: Add debian files
969    
970            * setup.py (setup call): Add packages for the Extensions so that
971            they're installed too
972            (data_files): Add READMEs and sample data from some Extensions
973    
974            * NEWS: Add note about the extensions in binary packages
975    
976    2003-12-02  Bernhard Herzog  <[email protected]>
977    
978            * Thuban/Model/save.py (SessionSaver.write_session): Save files
979            with the thuban-1.0rc1
980    
981            * Thuban/Model/load.py (SessionLoader.__init__): Recognize the
982            thuban-1.0rc1 namespace too
983    
984            * test/test_save.py (SaveSessionTest.dtd)
985            (SaveSessionTest.testEmptySession)
986            (SaveSessionTest.testSingleLayer)
987            (SaveSessionTest.testLayerProjection)
988            (SaveSessionTest.testRasterLayer)
989            (SaveSessionTest.testClassifiedLayer)
990            (SaveSessionTest.test_dbf_table)
991            (SaveSessionTest.test_joined_table)
992            (SaveSessionTest.test_save_postgis): Update to thuban-1.0rc1
993            namespace
994    
995            * test/test_load.py (LoadSessionTest.dtd): Update to thuban-1.0rc1
996            namespace
997            (TestSingleLayer.file_contents)
998            (TestNonAsciiColumnName.file_contents)
999            (TestLayerVisibility.file_contents)
1000            (TestClassification.file_contents, TestLabels.file_contents)
1001            (TestLayerProjection.file_contents)
1002            (TestRasterLayer.file_contents, TestJoinedTable.file_contents)
1003            (TestPostGISLayer.file_contents)
1004            (TestPostGISLayerPassword.file_contents)
1005            (TestLoadError.file_contents, TestLoadError.test): Update to
1006            thuban-1.0rc1 namespace
1007    
1008    2003-12-01  Bernhard Herzog  <[email protected]>
1009    
1010            * setup.py (proj4_prefix, wx_prefix, gdal_prefix): Fix these for
1011            nt to better match Intevation's current w32 setup
1012    
1013            * HOWTO-Release: Add note about updating MANIFEST.in
1014    
1015            * MANIFEST.in: Add the Extensions
1016    
1017            * NEWS: Update for 1.0rc1
1018    
1019    2003-12-01  Bernhard Herzog  <[email protected]>
1020    
1021            * Thuban/UI/mainwindow.py (MainWindow.AddLayer): Change the wild
1022            cards for the dialog so that shapefiles ending in all uppercase
1023            SHP are listed too
1024    
1025    2003-11-28  Bernhard Herzog  <[email protected]>
1026    
1027            * Thuban/version.py (longversion): Update to 1.0rc1
1028    
1029            * setup.py (setup call): Update version to 1.0rc1. Use the
1030            [email protected] email address as author email instead of my
1031            personal one.
1032    
1033    2003-11-28  Bernhard Herzog  <[email protected]>
1034    
1035            * po/de.po: Update german translation.
1036    
1037    2003-11-28  Bernhard Herzog  <[email protected]>
1038    
1039            Unify the filenames stored in .thuban files so that the .thuban
1040            files are more platform independend
1041    
1042            * Thuban/Model/save.py (unify_filename): New. Unify filenames so
1043            that they can be used on both windows and unix
1044            (SessionSaver.prepare_filename): New. Handle all filename
1045            transformations for filenames stored in the thuban file
1046            (SessionSaver.write_data_containers, SessionSaver.write_layer):
1047            Use prepare_filename
1048    
1049            * test/test_save.py (SaveSessionTest.testSingleLayer)
1050            (SaveSessionTest.testLayerProjection)
1051            (SaveSessionTest.testRasterLayer)
1052            (SaveSessionTest.testClassifiedLayer)
1053            (SaveSessionTest.test_dbf_table)
1054            (SaveSessionTest.test_joined_table): Filenames are always stored
1055            with slashes on all currently supported platforms so adapt all
1056            tests to this
1057    
1058            * test/test_load.py (LoadSessionTest.filenames): With the new
1059            filename scheme the filenames in the tests should be
1060            understandable on all currently supported platforms so we turn
1061            this into an empty list because we don't have to normalize them
1062            anymore
1063    
1064    2003-11-28  Bernhard Herzog  <[email protected]>
1065    
1066            * test/test_layer.py (TestLayer.test_arc_layer_with_projection):
1067            Add the ellipsoid to the projection since some Proj versions
1068            complain if it's missing.
1069    
1070    2003-11-27  Bernhard Herzog  <[email protected]>
1071    
1072            Corect some bounding box projection problems
1073    
1074            * Thuban/Model/proj.py (Projection.InverseBBox): New. Inverse
1075            version of ForwardBBox
1076            (Projection._transform_bbox): New. common implementation of
1077            ForwardBBox and InverseBBox
1078            (Projection.ForwardBBox): Use _transform_bbox.
1079    
1080            * test/test_proj.py (TestProjection.test): Add test for
1081            InverseBBox
1082    
1083            * Thuban/Model/layer.py (Layer.LatLongBoundingBox)
1084            (Layer.ShapesBoundingBox, RasterLayer.LatLongBoundingBox): Use the
1085            new InverseBBox method to determine the unprojected bounding box
1086            (Layer.ShapesInRegion): Use the ForwardBBox method to project the
1087            bbox.
1088    
1089            * test/test_layer.py (TestLayer.test_point_layer_with_projection):
1090            Removed.
1091            (TestLayer.test_arc_layer_with_projection): New. This test is
1092            better able to test whether bounding boxes are projected correctly
1093            than test_point_layer_with_projection
1094    
1095            * Thuban/UI/viewport.py (ViewPort.map_projection_changed): Use
1096            InverseBBox to unproject bboxes
1097    
1098    2003-11-25  Bernhard Herzog  <[email protected]>
1099    
1100            * Thuban/UI/about.py (About.__init__): Make sure we have ASCII
1101            source code.
1102    
1103    2003-11-25  Bernhard Herzog  <[email protected]>
1104    
1105            * Thuban/Model/layer.py (Layer.__getattr__): Removed. It was only
1106            there for backwards compatibility and all code relying on that
1107            should have been updated by now.
1108    
1109    2003-11-25  Bernhard Herzog  <[email protected]>
1110    
1111            * test/test_load.py (TestClassification.test): Add the missing
1112            round trip test.
1113            (TestClassification.file_contents): Update to the newest file
1114            format
1115    
1116    2003-11-25  Bernhard Herzog  <[email protected]>
1117    
1118            Add very experimental (and possibly dangerous) extension to draw
1119            polygons:
1120    
1121            * Extensions/drawshape/README: New. Brief installation
1122            instructions
1123    
1124            * Extensions/drawshape/drawshape.py: New. Implementation of the
1125            drawshape extensions
1126    
1127            * Extensions/drawshape/patch.diff: Patch to apply before the
1128            extension can be used.
1129    
1130    2003-11-24  Bernhard Herzog  <[email protected]>
1131    
1132            * Thuban/Model/data.py (ShapefileStore._open_shapefile)
1133            (ShapefileStore.__init__): Factor opening the shapefile into a
1134            separate method (the new _open_shapefile). This makes the code a
1135            bit more readable but the real reason is that it makes some evil
1136            hacks easier. :-)
1137    
1138    2003-11-24  Bernhard Herzog  <[email protected]>
1139    
1140            * Thuban/Model/load.py (SessionLoader.check_attrs): If no
1141            converter is specified for an attribute assume it's a string
1142            containing only Latin1 characters. Update doc-string accordingly.
1143            This change should fix many places where unicode objects might
1144            accidentally enter Thuban.
1145    
1146            * test/test_load.py (TestNonAsciiColumnName): New test to check
1147            what happens with column names in DBF files that contain non-ascii
1148            characters
1149    
1150    2003-11-21  Bernhard Herzog  <[email protected]>
1151    
1152            Enable the experimental attribute editing again and introduce a
1153            command line switch to actually activate it
1154    
1155            * Thuban/UI/main.py (options): New. Container for options set on
1156            the commmand line
1157            (main): Add the --enable-attribute-editing flag.
1158    
1159            * Thuban/UI/identifyview.py (IdentifyView.__init__): If attribute
1160            editing is enabled use the grid ctrl which allows editing of the
1161            values
1162    
1163            * Thuban/Model/transientdb.py (AutoTransientTable.write_record):
1164            New. Just delegate this to the underlying table.
1165    
1166    2003-11-20  Bernhard Herzog  <[email protected]>
1167    
1168            * test/test_proj.py (ProjFileReadTests.test_read_unreadable_file):
1169            Skip this test if run under non-posix systems since it only works
1170            there
1171    
1172    2003-11-19  Bernhard Herzog  <[email protected]>
1173    
1174            * Thuban/Model/resource.py: Rework the way gdal support is
1175            determined so that we can give a reason in the about why gdal is
1176            not supported.
1177            (gdal_support_status): New. Variable holding a string with the
1178            reason for no gdal support
1179    
1180            * Thuban/UI/about.py (About.__init__): Add the reason why gdal is
1181            not supported to the message
1182    
1183    2003-11-19  Bernhard Herzog  <[email protected]>
1184    
1185            Remove the old table interface and its test cases
1186    
1187            * Thuban/Model/table.py (OldTableInterfaceMixin): Removed.
1188            (DBFTable, MemoryTable): Do not derive from OldTableInterfaceMixin
1189            anymore
1190    
1191            * Thuban/Model/transientdb.py (TransientTableBase)
1192            (AutoTransientTable): Do not derive from OldTableInterfaceMixin
1193            anymore
1194    
1195            * test/test_table.py: Removed since the old interface it tests is
1196            gone.
1197    
1198            * test/runtests.py (main): The old table interface is gone and
1199            with it the deprecation warnings so remove the code that turns
1200            these warnings into errors
1201    
1202  2003-11-19  Bernhard Herzog  <[email protected]>  2003-11-19  Bernhard Herzog  <[email protected]>
1203    
1204          * test/test_table.py: Revert to revision 1.5 again. Changing the          * test/test_table.py: Revert to revision 1.5 again. Changing the
# Line 3582  Line 4783 
4783          Fix problem of hidden properties dialog under windows after double          Fix problem of hidden properties dialog under windows after double
4784          click on layer tree:          click on layer tree:
4785          The tree control always gets an Expanded / Collapsed event after          The tree control always gets an Expanded / Collapsed event after
4786          the ItemActivated  on double click, which raises the main window again.         We add a second ItemActivated event to the queue, which simply          the ItemActivated  on double click, which raises the main window again.
4787            We add a second ItemActivated event to the queue, which simply
4788          raises the already displayed window.          raises the already displayed window.
4789    
4790          * Thuban/UI/legend.py (LegendTree.__init__): Instance variable          * Thuban/UI/legend.py (LegendTree.__init__): Instance variable

Legend:
Removed from v.1960  
changed lines
  Added in v.2213

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26