/[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 2070 by bh, Tue Feb 17 12:53:37 2004 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]>  2004-02-17  Bernhard Herzog  <[email protected]>
664    
665          * test/test_svgmapwriter.py, Extensions/svgsaver.py,          * test/test_svgmapwriter.py, Extensions/svgsaver.py,
# Line 4143  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.2070  
changed lines
  Added in v.2230

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26