/[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 2058 by bh, Tue Feb 10 15:52:13 2004 UTC revision 2213 by bh, Mon May 17 15:48:53 2004 UTC
# Line 1  Line 1 
1    2004-05-17  Bernhard Herzog  <[email protected]>
2    
3            Update to newest shapelib and get rid of Thuban specific
4            extensions, i.e. use the new DBFUpdateHeader instead of our
5            DBFCommit kludge
6    
7            * libraries/shapelib/shpopen.c: Update to version from current
8            shapelib CVS.
9    
10            * libraries/shapelib/shapefil.h: Update to version from current
11            shapelib CVS.
12    
13            * libraries/shapelib/dbfopen.c: Update to version from current
14            shapelib CVS.
15            (DBFCommit): Effectively removed since shapelib itself has
16            DBFUpdateHeader now which is better for what DBFCommit wanted to
17            achieve.  
18            We're now using an unmodified version of dbfopen.
19    
20            * setup.py (extensions): Add the HAVE_UPDATE_HEADER macro with
21            value '1' to the Lib.dbflibc extension.  This simply reflects the
22            shapelib and pyshapelib updates
23    
24    2004-05-16  Jan-Oliver Wagner <[email protected]>
25    
26            Finished introduction of Menu.FindOrInsertMenu.
27    
28            * Extensions/drawshape/drawshape.py: Add the command
29            to the experimental menu additionally to the toolbar.
30    
31            * Extensions/svgexport/svgsaver.py: Use FindOrInsertMenu() instead of
32            finding menu on its own.
33    
34            * Doc/manual/thuban-manual.xml: updated sample file
35            to use FindOrInsertMenu().
36    
37            * Examples/simple_extensions/hello_world.py: Use FindOrInsertMenu()
38            instead of finding menu on its own.
39    
40    2004-05-11  Jan-Oliver Wagner <[email protected]>
41    
42            * test/test_menu.py (MenuTest.test): Added testing
43            of method Menu.FindOrInsertMenu.
44    
45    2004-05-10  Jan-Oliver Wagner <[email protected]>
46    
47            Introduce and use Menu.FindOrInsertMenu.
48    
49            * Thuban/UI/menu.py (Menu.FindOrInsertMenu): New. Find a
50              given menu or, if not found, insert it.
51    
52            * Extensions/bboxdump/bboxdump.py, /Extensions/gns2shp/gns2shp.py,
53            /Extensions/importAPR/importAPR.py, Extensions/profiling/profiling.py,
54            /Extensions/wms/wms.py: Use FindOrInsertMenu() instead of finding
55            menu on its own.
56    
57    2004-05-06  Jan-Oliver Wagner <[email protected]>
58    
59            Introduce a abstract ColorDialog class and remove
60            and outdated file.
61    
62            * Thuban/UI/proj4dialog.py: Removed. It is has been
63            replaced by projdialog for quite a while and is not used
64            anymore.
65    
66            * Thuban/UI/colordialog.py: New. Abstraction for color selection
67            dialog(s).
68    
69            * Thuban/UI/classifier.py (SelectPropertiesDialog.__GetColor):
70            Now calls the abstract ColorDialog instead of wxColourDialog.
71            This also removed the dependency to Color class conversion
72            from this function.
73    
74    2004-05-04  Frank Koormann  <[email protected]>
75    
76            * Extensions/bboxdump/__init__.py: Fixed string left over from
77            copying.
78    
79            * Extensions/bboxdump/bboxdump.py (bboxdump):
80            Use layer.ShapeStore().AllShapes() to loop over shapes instead of
81            xrange(layer.NumShapes()). Compile the bboxmessage from a list
82            of formatted outputs (string.join) instead of appending to the
83            message. Two progress bar dialogs to report progress on the sometimes
84            lenghty processing.
85    
86    2004-04-22  Frank Koormann  <[email protected]>
87    
88            New Extension to dump bounding boxes of all shapes of the selected
89            layer. An optional column can be specified to group the objects,
90            in this case the bounding box is a union of the separate boxes.
91            Dump can be displayed in a ScrolledMessageDialog or written to file.
92            The Extension is simply a combination of available and well tested
93            Thuban functionality.
94    
95            * Extensions/bboxdump/__init__.py: New: Init to make this
96            directory a package.
97    
98            * Extensions/bboxdump/bboxdump.py: New: Dump bounding boxes of
99            all shapes of the selected layer.
100    
101    2004-04-22  Jan-Oliver Wagner <[email protected]>
102    
103            * Thuban/UI/classgen.py (GenUniquePanel.__init__): Fixed two
104            strings to be i18n now.
105    
106    2004-04-18  Jan-Oliver Wagner <[email protected]>
107    
108            Changing popup menu of legend from direct building
109            to using the Menu construction as used for the mainwindow.
110    
111            * Thuban/UI/mainwindow.py: New method commands: layer_to_top,
112            layer_to_bottom, layer_visibility
113            (MainWindow.LayerToTop): New. Put current layer to the top.
114            (MainWindow.LayerToBottom): New. Put current layer to bottom.
115            (MainWindow.HideLayer, MainWindow.ShowLayer, _has_visible_map):
116            Replace 1,0 by True, False.
117            (MainWindow.ToggleLayerVisibility): New. Toggle visibility of
118            current layer.
119            (MainWindow.LayerShowTable): Removed raising of dialog.
120            (_has_selected_layer_visible): New. Support function.
121    
122            * Thuban/UI/legend.py: ID_POP_xxx: removed.
123            (LegendPanel.__init__): Removed EVT_MENU bindings.
124            (LegendTree._OnRightClick): Replace direct creation of
125            menu via wx Classes by applying the menu definition
126            as of Menu class of menu.py.
127            
128    2004-04-16  Jan-Oliver Wagner <[email protected]>
129    
130            * Thuban/UI/exceptiondialog.py (ExceptionDialog.dialog_layout): Improved
131        button string to stronger clearify that Thuban will be closed when hitting
132            the button.
133    
134            * Thuban/UI/mainwindow.py (MainWindow.LayerShowTable): Added docstring.
135            Now for layers without a ShapeStore a corresponding message is given
136            to the user, that this layer has no table to show.
137    
138    2004-04-15  Martin Schulze  <[email protected]>
139    
140            * Extensions/wms/layer.py (WMSLayer.setWMSFormat): Need to
141            recalculate the format for the internal render engine as well.
142    
143            * Extensions/wms/properties.py (wmsProperties): First start for a
144            properties dialog.  It's functional for a first selection of
145            layers, but still has some weired wxWidgets/GTK problems but
146            beautification can be done later.
147    
148            * Extensions/wms/layer.py: Added more documentation
149            (WMSLayer.getFormats): New: Return list of supported image formats
150            by the WMS server
151            (WMSLayer.getLayers): New: Return the list of layer names
152            supported by the WMS server
153            (WMSLayer.getLayerTitle): New: Return the title of the named layer
154            (WMSLayer.getWMSFormat): New: Return the image format that is used
155            for WMS GetMap requests
156            (WMSLayer.setWMSFormat): New: Set the image format that is used
157            for WMS GetMap requests
158            (WMSLayer.__init__): Move away from using only one layer to using
159            a list of layers (unsorted at the moment, though).
160            (WMSLayer.getVisibleLayers): New: Return the list of names for all
161            visible layers
162            (WMSLayer.setVisibleLayers): New: Set the list of names for all
163            visible layers
164    
165            * Extensions/wms/wms.py: Moved the WMS layer into layer.py in
166            order to establish a clean structure.
167    
168            * Extensions/wms/layer.py: Moved the WMS layer into a file on its
169            own in order to establish a clean structure.
170    
171    2004-04-13  Martin Schulze  <[email protected]>
172    
173            * Extensions/wms/parser.py (WMSCapabilitiesParser.grok): Added
174            support for oldstyle (WMS 1.0 apparently) image format
175            specification.
176    
177            * Extensions/wms/wms.py (WMSLayer.calcFormat): Reduce the list of
178            supported graphic formats back to JPEG and BMP, PNG and others are
179            too *cough* experimental...  Sorry, I meant to filter this out
180            before I committed this part.  This should make the WMS extension
181            run from CVS again.
182            (wms_dialog): Reset an empty URL to None so that the subsequent
183            program can depend on this, since the dialog will indeed return an
184            empty URL, causing another declaration of love by Python.
185    
186            * Extensions/wms/parser.py (WMSCapabilitiesParser.getLayerBBox):
187            Whenever a native BoundingBox request cannot be fulfilled, check
188            whether the requested SRS is EPSG:3426, in which case return the
189            LatLonBoundingBox values.
190    
191            * Extensions/wms/test/test_parser.py
192            (TestWMSCapabilitiesParser.test_LayerSRS): Added a test for
193            ignoring AUTO:* SRS.
194            (TestWMSCapabilitiesParser.test_LatLonBoundingBoxes_as_bboxes):
195            Added another test method to test whether the LatLonBoundingBox
196            values will be returned if BoundingBox values are requested with
197            SRS set to EPSG:3426.
198    
199            * Extensions/wms/parser.py (WMSCapabilitiesParser.peekLayers):
200            Added rudimentary support for non-EPSG SRS, i.e. ignore them for
201            the moment by placing them into a variable which is currently
202            unused.  Also test whether the EPSG SRS is numerical as it should
203            be and add an error message if it is not.
204    
205            * Extensions/wms/test/sample.xml: Added AUTO:* SRS since they
206            appear in the real world as well.  Since we cannot handle them yet
207            (OGCLib can't either), we will ignore them for the moment.
208    
209            * Extensions/wms/parser.py: Use a variable for denoting the sample
210            filename
211            (WMSCapabilitiesParser.peekLayers): Added support for error
212            messages during grok().  They will be aggregated in an array and
213            may be displayed later.  We may have to add a classification
214            "Warning" and "Error" to this.  That requires more experience,
215            though, since not every error may be lethal.
216    
217            * Thuban/UI/mainwindow.py (MainWindow.LayerShowTable): Raise the
218            ShowTable() dialog/frame when the user attempts to display it
219            while it has been opened before already and not closed again.
220    
221    2004-04-11  Martin Schulze  <[email protected]>
222    
223            * Extensions/wms/infodialog.py: Adjusted the class documentation
224    
225            * Extensions/wms/wms.py (WMSLayer.__init__, WMSLayer.GetMapImg):
226            Switch to using Thuban{Begin,End}BusyCursor instead of the pure
227            wxWidgets variants.
228            (WMSLayer.__init__): The epsg_id variable is named top_srs now.
229    
230            * Extensions/wms/infodialog.py: Added an information dialog that
231            will display various information about the WMS current resource,
232            so that additional information such as the title, the abstract,
233            fees and access constraints can be displayed for the user if they
234            are documented in the WMS XML.
235    
236    2004-04-10  Martin Schulze  <[email protected]>
237    
238            * Extensions/wms/parser.py (WMSCapabilitiesParser.grok): Adjusted
239            string handling.  It's "foo".lower() and not lower(foo) without
240            lower imported from strings or something.
241    
242            * Extensions/wms/wms.py (WMSLayer): Incorporated WMSCapabilities
243            from capabilities.py and parser.py.  Implement priority list for
244            supported graphics formats, take care of wbmp != bmp.  PNG, TIFF
245            and GIF are supported here, but not yet by main Thuban.  Hence,
246            support for them may be removed later.  Special contribution to
247            usability: get wxWidgets to change the cursor when we're waiting
248            for data from the network so the user won't start to worry.  This
249            causes a redrawing error/warning, though.
250    
251            * Extensions/wms/parser.py (WMSCapabilitiesParser.grok): Unlink
252            the DOM object.
253    
254    2004-04-01  Martin Schulze  <[email protected]>
255    
256            * Extensions/wms/capabilities.py: Adjusted documentation
257            (WMSCapabilities.__init__): Improved documentation, fixed syntax
258            (WMSCapabilities.saveCapabilities): Only catch IOError when
259            handling files
260            (WMSCapabilities.loadCapabilities): Only catch IOError when
261            handling files
262            __main__: corrected variable naming
263            (WMSCapabilities.fetchCapabilities,loadCapabilities): Make this
264            class a specialisation of WMSCapabilitiesParser as well.  Also
265            execute grok() after loading or fetching capabilities, if that
266            went well, so that subsequent calls can already access the data.
267            (WMSCapabilities.getVersion): Export the used version of the
268            GetCapabilities request, so we can use it for subsequent calls,
269            i.e. for GetMap requests.
270            (WMSCapabilities.fetchCapabilities): Added proper error handling
271            when the GetCapabilities request failed, so that the surrounding
272            program can act accordingly.
273    
274    2004-03-30  Martin Schulze  <[email protected]>
275    
276            * Extensions/wms/parser.py (WMSCapabilitiesParser.getLayerSRS):
277            Adjusted the getLayerSRS method to return the list of SRSes
278            extracted from <SRS> elements instead of <BoundingBox> elements.
279            Added a bit of documentation as well.
280            (WMSCapabilitiesParser.checkLayerSRS): Removed integrity test
281            since it was only implemented due to a misunderstanding.
282    
283            * Extensions/wms/test/test_parser.py
284            (TestWMSCapabilitiesParser.test_LayerSRS): Adjust the tests to
285            reflect the corrected interpretation of the standard: i.e. a layer
286            does not have to define a BoundingBox for all SRSes it supports.
287            Hence the <SRS></SRS> specification is authoritative, not the list
288            of BoundingBoxes.
289            (TestWMSCapabilitiesParser.test_BoundingBoxes): Added a new test
290            to ensure None is returned for a non-existing SRS.
291            (TestWMSCapabilitiesParser.test_grok): Removed test_grok method
292            since it is not applicable anymore.  Listing more SRSes in <SRS>
293            elements is valid according to the specs.
294    
295    2004-03-26  Bernhard Reiter <[email protected]>
296    
297            * README: Nicer formatting of text. Improved descriptions.
298            Reflected wxWidgets name change.
299            
300            * Thuban/UI/about.py: Extended copyright to 2004 and added
301            information about the thuban-devel mailinglist.
302    
303    2004-03-24  Martin Schulze  <[email protected]>
304    
305            * Extensions/wms/capabilities.py: Renamed the class to contain
306            'WMS', also added a linebreak where required
307    
308            * Extensions/wms/parser.py: Finally added the XML parser for the
309            GetCapabilities response.
310    
311            * Extensions/wms/test/sample.xml: Adjusted the sample file so that
312            <SRS> elements match the <BoundingBox> elements, except for the
313            layer 'beschriftung'.
314    
315            * Extensions/wms/test/test_parser.py: Encode non-ascii strings
316            since Python uses unicode strings internally, otherwise
317            comparisons will fail.  Removed tests for getLayerBBoxSRS() since
318            the SRS will be calculated anyway and this method is obsoleted by
319            getLayerSRS().  Denote SRS as strings and not as cardinal numbers.
320            Move loading the sample file into the setUp method.  Added a test
321            for finding the integrity problem in the sample response.
322            Improved formatting.
323    
324            * Extensions/wms/domutils.py: Added convenience routines for
325            handling of Document Object Model (DOM) nodes.
326    
327            * Extensions/wms/test/test_domutils.py: Added a test for the
328            domutils module
329    
330    2004-03-19  Martin Schulze  <[email protected]>
331    
332            * Extensions/wms/test/test_parser.py (TestWMSCapabilitiesParser):
333            Moved path detection and adding into a module of its own,
334            adjustpath, which exports thubandir as main Thuban directory.
335    
336            * Extensions/wms/test/test_ogclib.py (TestWMSLib): Moved path
337            detection and adding into a module of its own, adjustpath, which
338            exports thubandir as main Thuban directory.  Reorganised the
339            module in order to support the SkipTest feature for Thuban test
340            cases.
341    
342            * Extensions/wms/test/adjustpath.py: Moved path detection and
343            adding into a module of its own.
344    
345    2004-03-18  Martin Schulze  <[email protected]>
346    
347            * Extensions/wms/test/test_parser.py: Added another test for
348            checking whether the WMS XML parser (to be implemented) returns
349            the information we expect.  This requires a sample WMS WML file
350            (sample.xml) which has been extracted from the frida server and
351            "improved" manually.
352    
353            * Extensions/wms/test/test_ogclib.py: Added legacy code to add the
354            main Thuban directory to the path in order to be able to import
355            random modules.  Adjusted the PyOGCLib detection to reuse the
356            information gathered.  Also added a note about the PYTHONPATH
357            environment variable.
358    
359            * Extensions/wms/test/test_ogclib.py: The format specification is
360            a mime-type, not a graphic format, hence image/jpeg wou ld be the
361            proper format and not JPEG.  We'll also have to take care of the
362            encoding of / as %2F.
363    
364    2004-03-16  Martin Schulze  <[email protected]>
365    
366            * Extensions/wms/test/test_ogclib.py: Added a (hopefully)
367            comprehensive test for the getMapURL method, built compare URLs
368            according to the documentation in OGC 01-068r3
369    
370            * Extensions/wms/capabilities.py (WMSCapabilities): Added the
371            class WMSCapabilities to manage capabilites, will incorporate
372            parsing the capabilities response and provide details for other
373            classes.
374    
375    2004-03-12  Bernhard Herzog  <[email protected]>
376    
377            Support views in addition to normal tables in the postgis
378            shapestore
379    
380            * Thuban/Model/postgisdb.py
381            (PostGISShapeStore._fetch_table_information): Add a fallback for
382            the case where the table name is not in the geometry_columns
383            table.  This is usually the case for views.  Also, set
384            self.shapestore here.
385            (PostGISShapeStore.ShapeType): No need to query the database all
386            the time.  The shape type is now determined in
387            _fetch_table_information
388    
389            * test/postgissupport.py (PostgreSQLServer.new_postgis_db)
390            (PostgreSQLServer.get_static_data_db, PostGISDatabase.__init__):
391            New parameter to specify views.
392            (PostGISDatabase.has_data): Also compare the views.  New views
393            parameter
394            (PostGISDatabase.initdb): Create the views.
395            (PostgreSQLServer.get_default_static_data_db): Add the v_landmarks
396            view
397    
398            * test/test_postgis_db.py
399            (TestPostGISShapestorePointFromViews): New.  Test a
400            PostGISShapeStore with a view
401            (TestPostGISShapestorePointOIDAsGIDColumn.setUp): Pass the name of
402            the geometry_column explicitly to test whether that works
403    
404    2004-03-12  Bernhard Herzog  <[email protected]>
405    
406            Final step for explicit id/geometry columns: Loading and saving
407    
408            * Resources/XML/thuban-1.1.dtd: New.  Derived from thuban-1.0.dtd
409            with the following changes:
410            (dbshapesource): Two new attributes id_column and geometry_column
411    
412            * Thuban/Model/save.py (SessionSaver.write): Use the new dtd
413            (SessionSaver.write_session): Use the new namespace
414            (SessionSaver.write_data_containers): Write the new dbshapesource
415            parameters
416    
417            * Thuban/Model/load.py (SessionLoader.__init__): New namespace for
418            the new file format version
419            (SessionLoader.start_dbshapesource): Handle the new db parameters
420    
421            * test/test_save.py: Update to the new dtd and namespace
422            (SaveSessionTest.test_save_postgis): Update the NonConnectionStore
423            mock object to provide a working IDColumn method.
424    
425            * test/test_load_1_0.py: New.  Copy of the test_load.py before
426            today's changes but with the round-trip tests removed.
427    
428            * test/test_load_0_9.py: Update doc-string.
429    
430            * test/test_load.py: Update all .thuban files to the new dtd and
431            namespace.
432            (TestPostGISLayer.file_contents): Add the new dbshapesource
433            paramters
434    
435    2004-03-11  Bernhard Herzog  <[email protected]>
436    
437            Next step for explicit id/geometry columns: User interaction
438    
439            * Thuban/UI/dbdialog.py (ChooseDBTableDialog.__init__): Rework how
440            the dialog is constructed. Add combo boxes to select id and
441            geometry column.  Rename some instance variables.
442            (ChooseDBTableDialog.GetTable): Return id and geometry column
443            names
444            (ChooseDBTableDialog.OnTableSelect): New. Event handler for
445            selections in the table list
446    
447            * Thuban/UI/mainwindow.py (MainWindow.AddDBLayer): Use id_column
448            and geometry_column
449    
450            * Thuban/Model/session.py (Session.OpenDBShapeStore): Add the new
451            parameters for id_column and geometry column of PostGISShapeStore
452            here as well.
453    
454            * Thuban/Model/postgisdb.py (type_map): Add ROWID psycog type.
455            (_raw_type_map): New. Map raw PostgreSQL type ints to thuban types
456            (PostGISConnection.GeometryTables): Use a better query to
457            determine which relations in the database might be usable for
458            shapestores.  Now supports views as well but is more PostgreSQL
459            specific
460            (PostGISConnection.table_columns): New. Somewhat experimental
461            method to let the db dialogs provide lists of columns to users so
462            that they can select id and geometry columns.
463            (PostGISTable.__init__): The default value of the id_column
464            parameter is now None it still means "gid" effectively, though.
465            (PostGISTable.IDColumn): New introspection method to return a
466            column object for the id column
467            (PostGISShapeStore.GeometryColumn): New introspection method to
468            return a column object for the geometry column
469    
470            * test/test_postgis_db.py
471            (TestPostGISConnection.test_gis_tables_non_empty):
472            Removed. Subsumed by the new:
473            (TestPostGISConnection.test_gis_tables_with_views_and_tables):
474            New. Tes the GeometryTables and table_columns methods with actual
475            tables and views.
476            (PointTests.test_id_column, PointTests.test_geometry_column):
477            New. tests for the new methods.
478            (TestPostGISShapestorePoint.setUp)
479            (TestPostGISShapestorePointSRID.setUp)
480            (TestPostGISShapestorePointExplicitGIDColumn.setUp): Fill the
481            instance variables needed by the new tests
482    
483    2004-03-11  Bernhard Herzog  <[email protected]>
484    
485            * Thuban/UI/classgen.py (GenQuantilesPanel.GetList): The row
486            numbers given to ReadValue are ordinals.
487    
488    2004-03-11  Bernhard Herzog  <[email protected]>
489    
490            Elimiate the requirement for PostGIS tables to have a column
491            called "gid".
492    
493            * Thuban/Model/postgisdb.py (PostGISTable.__init__): New parameter
494            id_column to specify which column to use to identify rows.  Also
495            new instance variables id_column and quoted_id_column
496            (PostGISTable.RowIdToOrdinal, PostGISTable.RowOrdinalToId)
497            (PostGISTable.ReadRowAsDict, PostGISTable.ReadValue)
498            (PostGISTable.SimpleQuery): Use the id column name provided to the
499            constructor instead of "gid"
500            (PostGISShapeStore.__init__): New parameter id_column analogously
501            to PostGISTable.__init__.  This parameter is simply passed through
502            to the base class constructor
503            (PostGISShapeStore._create_col_from_description): Fix typo in
504            doc-string
505            (PostGISShapeStore.Shape, PostGISShapeStore.AllShapes)
506            (PostGISShapeStore.ShapesInRegion): Use the id column name
507            provided to the constructor instead of "gid"
508    
509            * test/postgissupport.py
510            (PostgreSQLServer.get_default_static_data_db): New static table
511            landmarks_point_id with an id column != "gid.  Update the comments
512            a bit.
513            (skip_if_addgeometrycolumn_does_not_use_quote_ident): Fix typo in
514            doc-
515            (upload_shapefile): New parameter gid_column to use a name other
516            than "gid" for the column to store the shape ids
517    
518            * test/test_postgis_db.py (TableTests): New.  Mixin-class
519            containing all tests previously in TestPostGISTable.  The actual
520            tests are the same but the code is a bit more configurable to
521            allow for different id columns etc.
522            (TestPostGISTable): Derive from TableTests now for the actual
523            tests.
524            (TestPostGISTableExplicitGIDColumn): New. Like TestPostGISTable
525            except that it the landmarks_point_id table to test the id_column
526            parameter
527            (PointTests): Extend the doc-string
528            (TestPostGISShapestorePointExplicitGIDColumn)
529            (TestPostGISShapestorePointOIDAsGIDColumn): New classes derived
530            from PointTests to test the explicit id_column parameter.  One
531            tests with the name of the column holding the shape ids, the other
532            uses PostgreSQL's OID column.  For the latter a number of methods
533            have to be overwritten to make them independent of the actual id
534            values.
535    
536    2004-03-08  Silke Reimer  <[email protected]>
537    
538            Update debian directory:
539    
540            * debian/changelog: Added new version.
541            * deiban/rules: Updated management of patches (with cbds)
542            * debian/control: Added cbds to dependencies
543            * debian/patches/*: New. Adds better support for patches of thuban in
544                            debian
545            * debian/menu: Syntax of menu changed slightly
546            * debian/setup.py.patch: removed because it has been moved to
547                            debian/patechs/setup.py.patch
548            
549    
550    2004-02-26  Bernhard Herzog  <[email protected]>
551    
552            Create the Doc/technotes directory for text files with information
553            for developers
554    
555            * Doc/technotes/README: New. README for the technotes
556    
557            * Doc/technotes/coding_guidelines.txt: New. Coding guidelines for
558            Thuban
559    
560            * Doc/technotes/release_process.txt: New. Used to be
561            HOWTO-Release.  Now slightly adapted to technote formatting style.
562    
563            * HOWTO-Release: Removed.  It's contents are now in
564            Doc/technotes/release_process.txt
565    
566    2004-02-25  Bernhard Herzog  <[email protected]>
567    
568            * libraries/thuban/wxproj.cpp (get_wx_version): New.  Return the
569            version of wxWindows the module was compiled with so we can check
570            that against the wxPython version.
571    
572            * Thuban/version.py (thuban_branch, thuban_release): New variables
573            controlling which and how Thuban versions are shown.  See the
574            comments for details.
575            (verify_versions): Also check that the wx version that wxproj is
576            compiled against matches that of the wxPython we use at runtime
577    
578    2004-02-20  Bernhard Herzog  <[email protected]>
579    
580            * Extensions/wms/wms.py (epsg_code_to_projection): Use
581            get_system_proj_file to read the epsg projections.  The old way
582            depended on the current directory being the top Thuban directory.
583    
584    2004-02-20  Bernhard Herzog  <[email protected]>
585    
586            * Extensions/svgexport/test/test_svgmapwriter.py
587            (TestVirtualDC.test_clippath): Remove a debug print
588    
589    2004-02-20  Bernhard Herzog  <[email protected]>
590    
591            * Extensions/svgexport/__init__.py: New.  Turn
592            Extensions/svgexport into a package.
593    
594            * Extensions/svgexport/svgmapwriter.py: Reorder the imports and
595            doc-string a bit.  The doc-string must come first, otherwise it's
596            not a doc-string.  The __future__ import must be the first thing
597            after the doc-string.  Use only double quotes in doc-strings.
598            Single quotes trip up emacs syntax highlighting if the text
599            contains apostrophes.
600    
601    2004-02-20  Bernhard Herzog  <[email protected]>
602    
603            * Extensions/svgexport/test/__init__.py,
604            Extensions/svgexport/test/test_svgmapwriter.py: New. Initial test
605            suite for svgexport
606    
607            * test/runtests.py (find_test_modules): New. Function with the
608            module finding code from main.
609            (main): Use find_test_modules to figure out the default test
610            modules and take modules from Extensions.svgexport.test too.
611    
612    2004-02-19  Bernhard Herzog  <[email protected]>
613    
614            * Thuban/UI/application.py (ThubanApplication.OnInit): Make sure
615            the mainwindow has a reference to the map of the initial session.
616            This fixes a bug introduced with the fix for RT#2245
617    
618    2004-02-19  Bernhard Herzog  <[email protected]>
619    
620            * Extensions/svgexport/svgsaver.py,
621            Extensions/svgexport/svgmapwriter.py,
622            Extensions/svgexport/maplegend.py: Added again.  This time in the
623            correct place.
624    
625    2004-02-17  Bernhard Herzog  <[email protected]>
626    
627            Fix for RT#2245
628    
629            * Thuban/UI/application.py (ThubanApplication.OnInit): Initialize
630            instance variables before trying to create any windows.  Creating
631            windows can start an event loop if e.g. message boxes are popped
632            up for some reason, and event handlers, especially EVT_UPDATE_UI
633            may want to access things from the application.
634            (ThubanApplication.maps_changed): The mainwindow may not have been
635            created yet, so check whether it has been created before calling
636            its methods
637    
638            * Thuban/UI/view.py (MapCanvas.OnIdle): Only try to redraw if we
639            have a map
640    
641    2004-02-17  Bernhard Herzog  <[email protected]>
642    
643            * test/test_svgmapwriter.py, Extensions/svgsaver.py,
644            Extensions/svgmapwriter.py, Extensions/maplegend.py,
645            extensions/svgexport/svgsaver.py,
646            extensions/svgexport/svgmapwriter.py,
647            extensions/svgexport/maplegend.py: Removed.  These files were in
648            the wrong places or didn't work at all.
649    
650    2004-02-16  Bernhard Herzog  <[email protected]>
651    
652            * Thuban/UI/view.py (MapCanvas.Export): Remove accidentally added
653            line
654    
655    2004-02-16  Bernhard Herzog  <[email protected]>
656    
657            * Thuban/UI/view.py (MapCanvas.Export): Avoid UnboundLocalError.
658    
659    2004-02-15  Markus Rechtien  <[email protected]>
660            
661            * Extensions/svgexport/svgmapwriter.py: New. Adds the capability
662            to write a session to a file in SVG format.
663            * Extensions/svgexport/svgsaver.py: New. Uses svgmapwriter.py
664            to write a SVG map of a session.
665            * Extensions/svgexport/maplegend: New. Writes a basic maplegend
666            in SVG format for the current session.
667    
668    2004-02-13  Bernhard Herzog  <[email protected]>
669    
670            * Thuban/UI/mainwindow.py (MainWindow.AddDBLayer): When the layer
671            can't be created, return immediately after displaying the error
672            message.
673    
674    2004-02-11  Bernhard Herzog  <[email protected]>
675    
676            Handle postgis tables with more than one geometry column.
677    
678            * Thuban/Model/postgisdb.py
679            (PostGISTable._fetch_table_information): Delegate the creation of
680            column objects to a different method so that we can extend that in
681            derived classes
682            (PostGISTable._create_col_from_description): New. Column object
683            creation part of _fetch_table_information
684            (PostGISShapeStore._create_col_from_description): New. Extend
685            inherited method to handle geometry columns
686            (PostGISShapeStore.__init__): New parameter geometry_column to
687            specify which geometry column to use.  Optional but mandatory for
688            tables with more than one geometry column
689            (PostGISShapeStore._fetch_table_information): Also use the name of
690            the geometry column when looking for the srid
691            (PostGISShapeStore.ShapeType): Also use the name of the geometry
692            column when looking for the shape type
693    
694            * test/test_save.py (SaveSessionTest.test_save_postgis): Adapt
695            NonConnectionStore to changes in the PostGISShapeStore
696    
697            * test/test_postgis_db.py
698            (TestPostGISSpecialCases.test_shapestore_two_geom_cols): Test
699            PostGISShapeStore with tables having two geometry columns.
700    
701  2004-02-10  Bernhard Herzog  <[email protected]>  2004-02-10  Bernhard Herzog  <[email protected]>
702    
703          Fix some postgis problems.  What remains to be done is real          Fix some postgis problems.  What remains to be done is real
# Line 4083  Line 4783 
4783          Fix problem of hidden properties dialog under windows after double          Fix problem of hidden properties dialog under windows after double
4784          click on layer tree:          click on layer tree:
4785          The tree control always gets an Expanded / Collapsed event after          The tree control always gets an Expanded / Collapsed event after
4786          the ItemActivated  on double click, which raises the main window again.         We add a second ItemActivated event to the queue, which simply          the ItemActivated  on double click, which raises the main window again.
4787            We add a second ItemActivated event to the queue, which simply
4788          raises the already displayed window.          raises the already displayed window.
4789    
4790          * Thuban/UI/legend.py (LegendTree.__init__): Instance variable          * Thuban/UI/legend.py (LegendTree.__init__): Instance variable

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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26