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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26