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

Legend:
Removed from v.1965  
changed lines
  Added in v.2230

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26