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

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

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

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

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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26