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

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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26