/[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 2067 by bh, Mon Feb 16 19:39:48 2004 UTC revision 2334 by silke, Tue Aug 10 19:58:50 2004 UTC
# Line 1  Line 1 
1    
2    2004-08-10  Silke Reimer <[email protected]>
3    
4            * Thuban/UI/about.py: Fixed encoding problem of about dialog: Added
5                    function unicodeToLocale() to convert special characters to users locale
6                    encoding
7    
8    2004-08-10  Jan-Oliver Wagner <[email protected]>
9    
10            * Doc/technotes/coding_guidelines.txt: Added rule 'Method names start with
11            lower case letter'
12    
13    2004-08-09  Jan Sch�ngel  <[email protected]>
14    
15            * ChangeLog: Rewrite the last ChangeLog entry to follow
16            the standard way.
17    
18            * Extensions/umn_mapserver/mapfile: Moved the import AnnotationLayer to
19            the function where it is needed, because it don't works if it stands
20            at the beginning.
21            (MF_Layer.__init__): Removed the extra numclassed variable. Now
22            numclasses from the mapscript will be used.
23            (MF_Layer.get_index): New. Return the index of the layer in mapfile.
24            (MF_Layer.set_classes): New. A Classlist will be set to the layer.
25            (MF_Layer.set_metadata): New. A Metadata mapscript object will set.
26            (MF_Layer.remove_allclasses): New. All class of the layer will remove.
27            (MF_Map.create_new_layer): New. A new Layer is created and associated
28            with the mapscript object.
29            (MF_Map.set_layerorder): New. The Layer order like in thuban is set in
30            the mapscript.
31            (MF_Map.add_thubanlayer): Now a new layerobj is created if no one is
32            linked to the layer in thuban, else the layerobject linked to the
33            thubanlayer will be used.
34            AnnotationLayer will now store the filename of the shapefile.
35            (MF_Map.remove_layer): If a layer is removed the associated object
36            must be set new.
37            
38            * Extensions/umn_mapserver/mf_export.py(tb_layer_to_map): Add all
39            layers which are exists in thuban to the mapobj. All removed Layers
40            will be removed from the mapobj.
41            Added comments to all functions.
42            (thuban_to_map): No layer will be removed here.
43            
44            * Extensions/umn_mapserver/mf_handle.py
45            (_has_umn_mapobj_and_selectedlayer): Activating the layer menu. Now
46            Layersettings for the mapserver kann be edited.
47    
48            * Extensions/umn_mapserver/mf_import.py: Now all layers which are
49            imported, will be linked with the associated MF_Layer.
50            (import_mapfile): All layers, which are not selected, will be removed.
51            Disable the "import layer from mapfile" menu option.
52    
53            * Extensions/umn_mapserver/sample/iceland.map: Set the status of the
54            Annotation Layer from DEFAULT to OFF. The DEFAULT setting turns the
55            layer on permanently.
56    
57    2004-08-03  Jan Sch�ngel  <[email protected]>
58    
59            * Extensions/umn_mapserver/mapfile.py(MF_Metadata.remove_allmetadata):
60            New. This function removes all metadata
61            (MF_Layer.set_group): New. Set the group setting.
62            (MF_Layer.get_group): New. Get the group setting.
63            (MF_Map): Removed the extra numlayers variable, used the mapscript
64            parameter instead.
65            (MF_Map.get_numlayers): New. This get numlayers.
66            (MF_Map.remove_all_layers): New. Removes all layers from the mapobj.
67            (MF_Map.add_thubanlayer): Replaced the exception handling by a check
68            if the object is an instance. Also added the annotation layer here to
69            export, but only the layer is created in the mapfile.
70    
71            * Extensions/umn_mapserver/mf_export.py(export_mapfile): Removed
72            the check if a mapobj exist, because its not needed anymore. The
73            export function is only available if a mapobj exist.
74            Use the new function to remove all layers.
75            
76            * Extensions/umn_mapserver/mf_handle.py(Layer_Dialog): Added a group
77            option and the metadata button. The layer dialog is temporary disabled.
78            (Metadata_CustomDataTable): Added some functions to show the grid
79            correct.
80    
81            * Extensions/umn_mapserver/mf_import.py: Moved the code for showing
82            the number of layer from import_mapfile to this function.
83            (AnnotationLayer): New. This Class shows the Annotation layer in
84            thuban. The layer don't do anything. It's only to show the layer
85            and to save the layer order.
86            (add_annotationlayer): New. Import an annotation layer to thuban.
87            (select_layer2import): New. Import only layers to thuban and not
88            the other settings like projection or scalebar.
89            (create_new_mapfile): Moved the _has_umn_mapobj function and the
90            create_new_mapfile functions from mf_handle.py to mf_import.py.
91            
92            * Extensions/umn_mapserver/sample/iceland.map: Added the group
93            parameter to the roads and cultural layers. Also added a new
94            Annotation Layer for the cultural points.
95    
96            * Extensions/umn_mapserver/sample/iceland.html: Added the select
97            option for the annotation layer.
98    
99            * Extensions/umn_mapserver/sample/index.html: Added the start
100            parameter for the annotation layer.
101    
102    2004-08-01  Jan-Oliver Wagner <[email protected]>
103    
104            * Doc/manual/thuban-manual-de.xml (Chapter Session Management):
105            translation completed.
106    
107            * Doc/manual/thuban-manual.xml (Chapter Session Management):
108            Fixed unprecise description for Save Session.
109    
110    2004-07-31  Jan-Oliver Wagner <[email protected]>
111    
112            Started translation of Users Manual into german.
113    
114            * Doc/manual/thuban-manual-de.xml: New. German Users Manual.
115    
116            * Doc/manual/Makefile: Added build instructions for german
117            users manual.
118    
119            * Doc/manual/thuban-manual.xml: Minor corrections in Introduction.
120    
121    2004-07-28  Jan Sch�ngel  <[email protected]>
122    
123            * Extensions/umn_mapserver/mapfile.py(MF_Metadata): Changed all class
124            functions. Now all metadata will handle by the function and its not
125            needed to initialize it from outside. Therefor the associated mapobj
126            will be stored in the Metadata Object. So we can use the special
127            functions from the associated mapobj to get the Metadata.
128            Therefor all initialization code for the metadata is removed from the
129            other classes.
130            (MF_Layer): Added a function to get the metadata object.
131            (MF_Map): Added a function to set the mappath, the path where
132            the mapfile ist stored.
133    
134            * Extensions/umn_mapserver/mf_export.py(thuban_to_map): Changed the code
135            to set the extent in the mapfile. Now the code is set by the displayed
136            data in the Thuban-view.
137            (export_mapfile): The shapepath is now set empty, until relative
138            pathnames are supported.
139    
140            * Extension/umn_mapserver/mf_handle.py: Added a dialog to handle
141            metadata. Yet only mapfile metadata are supported. Layer and class
142            supported are not implemented.
143            Added a dialog to handle layer informations. The dialog only shows the
144            selected layer at the moment.
145    
146            * Extensions/umn_mapserver/mf_import.py(import_mapfile): Changed the
147            code for setting the extent in thuban. Now the extent is set to the
148            given extent from the mapfile.
149            Fixed a logical mistake. Now the extent is set when realy a layer is
150            loaded, and not if one is selected to load.
151    
152            * Extensions/umn_mapserver/sample/iceland.html: Added code to zoom and
153            move the shown map in the browser.
154    
155            * Extensions/umn_mapserver/sample/iceland.map: Added a new metadata
156            line to the mapobj and added metadata to the political layer.
157    
158            * Extensions/umn_mapserver/test/test_mapserver.py: Changed the test
159            for Metadata.
160    
161    2004-07-26  Martin Schulze  <[email protected]>
162    
163            * Thuban/Lib/classmapper.py (ClassMapper.has): Added the new
164            ClassMapper
165    
166            * test/test_classmapper.py (TestMapping.test_mapper): Added a Test
167            case for the new ClassMapper
168    
169    
170    2004-07-22  Bernhard Herzog  <[email protected]>
171    
172            * Thuban/UI/viewport.py (ViewPort.VisibleExtent): New.  Return the
173            visible extent of the map in projected coordinates
174    
175            * test/test_viewport.py (SimpleViewPortTest.test_default_size)
176            (SimpleViewPortTest.test_init_with_size): Add some VisibleExtent()
177            tests.
178            (SimpleViewPortTest.test_visible_extent): New. The real test for
179            VisibleExtent()
180    
181    2004-07-22  Bernhard Herzog  <[email protected]>
182    
183            * test/test_viewport.py: Use support.run_tests as the main
184            function when running asa script.
185    
186    2004-07-22  Jan Sch�ngel <[email protected]>
187    
188            * Extensions/umn_mapserver/mf_export.py: Added "import os"
189            Removed the old "import Thuban.UI.mainwindow" code.
190            (tbextent_to_map): Removed the extra function and at the code direct
191            to "thuban_to_map" function.
192            (write_creatorcomment): Added. Now a short comment is added to the
193            beginning of an generated mapfile.
194            (export_mapfile): Now the Path and filename are saved in to variables,
195            and not together in one variable. This is needed for the new
196            write_creatorcomment function.
197                    
198            * Extensions/umn_mapserver/mf_import.py (import_mapfile): Added the
199            import module "re". Also added Range and the ClassGroupRange import
200            from Thuban. Both are needed for the new range expression import.
201            (create_rangeexpression): Added. Creates a Range Expression in Thuban
202            style from a given mapfile expression.
203            (added_rasterlayer): Make some small code changes. The shapepath is
204            now stored in an extra variable and the clazz_name is set empty if no
205            class name set in the mapfile.
206            Changed the Error message for Range Expressions, becaus the new
207            function create a error string which will be shown in the dialog.
208    
209            * Extensions/umn_mapserver/test/test_mapserver.py: Added a test for the
210            range expression import.
211    
212    2004-07-21  Jan-Oliver Wagner <[email protected]>
213    
214            * Extensions/umn_mapserver/README: Added hint that
215            installation as root can be avoided. Removed all tabs.
216    
217    2004-07-16  Bernhard Herzog  <[email protected]>
218    
219            * test/test_viewport.py
220            (ViewPortTest.test_changing_map_projection): Check that changing
221            the projection of an empty map shown in a viewport doesn't lead to
222            exceptions in the viewport's handler for the
223            MAP_PROJECTION_CHANGED messages
224    
225            * Thuban/UI/viewport.py (ViewPort.map_projection_changed): Only
226            try to keep the same region visible when the map actually contains
227            something
228    
229    2004-07-15  Jan Sch�ngel <[email protected]>
230    
231            * Extensions/umn_mapserver/mapfile.py: Added a function to get the
232            mappath directly from the mapobj. Is needed because of the changes
233            in mf_import.py.
234            (MF_Layer.add_thubanclass): Added a new comment.
235            (MF_Map.set_extent): Fixed a bug with exporting empty mapobj. If the
236            mapobj is empty there is no extent get from thuban an so no one can
237            set to th mapobj.
238            
239            * Extensions/umn_mapserver/mf_import.py (import_mapfile): Updated
240            the discription.
241            Split the funktion in to three smaller ones. The new functions are
242            add_rasterlayer, add_polygonlayer and select_layer2import.
243            Removed the mapfilepath and filepath initialisation, because its know
244            include in the new functions.
245            Now nothing will be imported if cancel is pressed in the
246            layer choice dialog.
247    
248    2004-07-14  Jan Sch�ngel <[email protected]>
249    
250            * Extensions/umn_mapserver/mapfile.py: Added ClassGroupDefault to
251            import.
252            (MF_Symbolset): Removed the extra variable for numsymbols.
253            (MF_Class.__init__): Added a comment to the exception clause.
254            Removed the extent init, because it was not needed anymore.
255            (MF_Layer.add_thubanclass): Added the code to set the class name to
256            the expression value from thuban if no label is defined.
257            Added the code to export Range expressions from thuban to the mapfile.
258            (MF_Map.set_extent): Removed the exception and replace it by some if
259            code. If the size of a map is not defined the size will be set to 1,1.
260            This is necessary because if the extent is set, mapscript checks if
261            the size is greater than zero.
262            (MF_Web): Added the get and set function for the template.
263    
264            * Extensions/umn_mapserver/mf_export.py: Added the function to check
265            if a mapobject exists and used it to set the status of the menu items.
266            If no mapfile exists the settings could not be edditied.
267            Define after which menuitem the exportitem will include.
268            
269            * Extensions/umn_mapserver/mf_handle.py: Removed the import
270            Thuban.UI.mainwindow clause, because it is not needed.
271            Added the command Refresh() to all "OnChangeColor()" functions,
272            because the color preview window was not updated on a color change.
273            Added the function to check if a mapobject exists and used it to set the
274            status of the menu items. If no mapobject exists the settings could not
275            be edditied.
276            (Map_Dialog): Moved the imagetype selector from the
277            Outputformat_Dialog to Map_Dialog and removed Outputformat_Dialog.
278            (Web_Dialog): Removed the name label and added the template textbox.
279    
280            * Extensions/umn_mapserver/mf_import.py (import_mapfile): Replace
281            the exception handling on loading the layers by an if statement. It
282            is not necessary to us the exception there.
283            The Filepath creation now use os.path.join to build the path.
284    
285            * Extensions/umn_mapserver/test/test_mapserver.py: Moved the testMap
286            definition from global to the setUp function. Now the testMap will
287            initialize new on each test.
288    
289            * Extensions/umn_mapserver/sample/iceland.map: Include three new
290            classes in the Line Layer, to test logical Expressions.
291            Set the status of the class "Point9" in the Point Layer to off
292            
293    2004-07-13  Bernhard Herzog  <[email protected]>
294    
295            * Thuban/UI/baserenderer.py
296            (BaseRenderer.render_map_incrementally): Fix a logic bug in the
297            optimization that tries not to draw layers under a raster layer.
298            The bug was harmless.  All it effectively did was to produce The a
299            strange messages about not being able to draw Layer instances for
300            all vector layers below a raster layer which would be invisible
301            anyway because the raster layer currently always covers the entire
302            window
303    
304    2004-07-08  Jan Sch�ngel <[email protected]>
305    
306            * Extensions/umn_mapserver/mapfile.py: Added code to generade and get
307            a list of supported outputformats. This formats are not alle supported
308            because there is no possibility to get the outputformat without the
309            name known. Make some formal changes to the code.
310            (MF_Map.set_name()): Fixed a bug if the name is None.
311    
312            * Extensions/umn_mapserver/mf_handle.py: Removed the image_type import
313            statement, because its not needed anymore. The Outputformat is now
314            given as string from the object. Make some formal changes to the code.
315    
316            * Extensions/umn_mapserver/test/test_mapserver.py: Added new test for
317            most of the new setting which were added during the last changes.
318            Removed the MF_Size Test.
319            
320            * Extensions/umn_mapserver/test/test.map: Added a new class to the
321            cultural Layer to test expressions and the the status of that layer
322            from on to default.
323            Changed the data path the the correct Thuban Data
324            Added the Outputformat Object and Symbol Object
325            
326    2004-07-07  Jan Sch�ngel <[email protected]>
327    
328            * Extensions/umn_mapserver/mapfile.py: Added some new
329            settings to edit (outputformat, label, imagetype)
330    
331            * Extensions/umn_mapserver/mf_handle.py: Added some setting to
332            the Label Dialog and add the OutputDialog.
333            Make some changes to the code order.
334    
335    2004-07-06  Jan Sch�ngel <[email protected]>
336    
337            * Extensions/umn_mapserver/mapfile.py: Added the symbolObj, pointObj
338            and line Obj and add the scalebar_status_type, scalebar_style_type and
339            scalebar_position_type.
340            Added the symbol- and symbolsetObject (MF_Symbol,MF_Symbolset). The
341            are only used to create a Symbol like the circle in Thuban.
342            Added the scalebarObject (MF_Scalebar)
343            (MF_Class): Added set_status and get_status.
344            (MF_Layer.add_thubanclass): Added code to set the class status
345            (MF_Map): Added code to handle the symbols and scalebar
346            (MF_Label): Added the set_partials and get_partials functions
347            
348            * Extensions/umn_mapserver/mf_export.py: Added MF_Symbol to import
349            from mapfile. Added a function to create a circle object like the one
350            from thuban if no one exists.
351            
352            * Extensions/umn_mapserver/mf_handle.py: All colors are now set when
353            press ok in the assosiated dialog and not at the end of the
354            colordialog.
355            Added the Dialog for the Scalebar.
356            (Label_Dialog): Added the offset option
357    
358            * Extensions/umn_mapserver/mf_import.py: Added code to import the
359            status of the Classes.
360            Fixed a bug with the projection. Now the to_meter parameter will be
361            added to the Projection only if it doesn't exists.
362    
363    2004-07-01  Jan Sch�ngel <[email protected]>
364    
365            Added the functionality to handle the content thuban is not
366            able to handle directly.
367    
368            * Extensions/umn_mapserver/mf_handle.py: New. This module extents
369            Thuban with the possibility to edit the mapfile content.        
370            
371            * Extensions/umn_mapserver/mf_import.py: Added the possibility
372            to import mapfiles without any layer selected. So it is possible
373            to edit the other settings in a mapfile.
374            (import_mapfile): Added code to use the editing functions.
375            Added the possibility to import the projection to a layer if one
376            is defined.
377            Status settings (On,Off) will now set in thuban (visible, invisible).
378            fixed a bug with with classnames. If no classname is set in mapfile
379            the value in Thuban will set to the expression.
380            
381            * Extensions/umn_mapserver/mf_export.py(export_mapfile): Added the
382            possibility to save a new mapfile or use the old one which is
383            imported or new created.
384            Added code to use the editing functions.
385            Remove some not needed import statements
386    
387            * Extensions/umn_mapserver/mapfile.py: Added new types which are
388            need for the editing functions.
389            Added needed set-functions for the editing functions.
390            Added the possibility to export rasterimages.
391            Added new classes (MF_Web, MF_Label, MF_Legend, MF_Symbol,
392            MF_SymbolSet). MF_Symbol and MF_SymbolSet are not needed at the
393            moment.
394            (MF_Class.set_thubanstyle): Now point layers will set to a default
395            symbol to show a circle in mapserver and not only a 1px dot.
396            (MF_Style.__init__): Fixed a bug with the color. Color was not set
397            correct before.
398            (MF_Size): Removed, because it is not needed.
399            
400            * Extensions/umn_mapserver/README: Added the hints to use the
401            export and editing functions, too.
402    
403            * Extensions/umn_mapserver/sample/iceland.map: Added the
404            new parameter "UNITS METERS".
405            Change the political layer to status OFF.
406    
407            * Extensions/umn_mapserver/sample/README: Added some
408            more details to setup the sample in the MapServer.
409            
410    2004-06-26  Bernhard Reiter <[email protected]>
411    
412            * Extensions/svgexport/test/test_svgmapwriter.py:
413            Removed class VFile and used standard StringIO instead.
414    
415    2004-06-23  Jan Sch�ngel  <[email protected]>
416    
417            Add the export function to the umn_mapserver extension.
418    
419            * Extension/umn_mapserver/mf_export.py: New. This module extents
420            Thuban with the possibility to export the Thuban content.
421    
422            * Extensions/umn_mapserver/mapfile.py: Expand the classes to use
423            with the export module. Especially added the possibility to
424            add thuban objects directly to the map objects.
425    
426            * Extensions/umn_mapserver/mf_import.py: Removed the wxCHANGE_DIR,
427            because of the hint from Bernhard Herzog.
428            Corrected the handling of absolute pathnames.
429            Changed the Text of the Menu-Item, now the beginning is upper case.
430    
431            * Extensions/umn_mapserver/README: Added the --with-tiff statement.
432    
433    2004-06-16  Jan Sch�ngel  <[email protected]>
434    
435            Add a sample and make some changes.
436    
437            * Extension/umn_mapserver/mf_import.py: Changed the wxPython.wx
438            import from * to explicit used statements. Changed the
439            Thuban.UI.mainwindow import phrase, too.
440            (import_mapfile):Corrected a clerical mistake.
441            Added wxCHANGE_DIR in OpenFile Dialog.
442            Added a MultipleChoiceDialog, to select the layers to load from
443            mapfile into thuban. Thereby the projection is only set if one layer
444            is selected.
445            Added the possibility to handle relative pathnames which uses
446            up-level references.
447            Removed some doubled code.
448            Corrected an error with integer values used as label in thuban
449            ClassGroup.
450            
451            * Extensions/umn_mapserver/sample: New.
452    
453            * Extensions/umn_mapserver/sample/README: New. Describes the
454            usage of the sample files.
455    
456            * Extensions/umn_mapserver/sample/iceland.map: New. This is
457            a suitable .map-file for the iceland data.
458    
459            * Extensions/umn_mapserver/sample/index.html: New. The template
460            for the mapfile.  
461    
462            * Extensions/umn_mapserver/sample/iceland.html: New. Initialisation
463            file for the Iceland Application on web.
464    
465            * Extensions/umn_mapserver/README: Corrected a inaccuracy and added
466            some details.
467    
468            * Extensions/umn_mapserver/test/test_mapserver
469            (mapserver_import_Test_generalClasses.test_MF_Color):
470            Corrected the thubancolor test.
471    
472    2004-06-15  Jan Sch�ngel  <[email protected]>
473    
474            * Extensions/umn_mapserver/README: New. Install instruction.
475    
476    2004-06-14  Bernhard Reiter <[email protected]>
477    
478            * libraries/thuban/cpl_mfile.h: Added copyright header.
479    
480            * libraries/thuban/ cpl_mfile.cpp, cpl_mfile.h: Added non-protecting
481            Free Software License so that it is most useful with gdalwarp
482            and bmpdataset.
483    
484    2004-06-14  Bernhard Herzog  <[email protected]>
485    
486            * Thuban/UI/multiplechoicedialog.py (__version__): Add missing
487            import of wxPython.wx itself (as opposed to the contents of
488            wxPython.wx).  For some reason wxPython.wx is available as
489            wxPython.wx.wx in at least some 2.4 releases.  Fixes RT#2482
490            wrt. wxPython 2.4.
491    
492    2004-06-10  Jan Sch�ngel  <[email protected]>
493    
494            Initial version of new extension "umn_mapserver".  This extension aims
495            to manage configuration for the UMN MapServer application.  This
496            inital version just imports the .map-files and displays all, Thuban is
497            capable of.
498    
499            * Extensions/umn_mapserver, Extensions/umn_mapserver/test: New.
500    
501            * Extensions/umn_mapserver/test/README: New. Describes how to run the
502            tests.
503    
504            * Extensions/umn_mapserver/test/test.map: New. This is a test
505            .map-file for automated tests of the umn_mapserver extension of
506            Thuban.
507    
508            * Extensions/umn_mapserver/test/test_mapserver.py: New. Tests for
509            UMN Mapserver classes.
510    
511            * Extensions/umn_mapserver/__init__.py: New. Init to make this
512            directory a package.
513    
514            * Extensions/umn_mapserver/mapfile.py: New. Classes to represent
515            '.map'-file objects.
516    
517            * Extensions/umn_mapserver/mf_import.py: New. This module extends
518            Thuban with the possibility to handle UMN MapServer mapfiles.
519    
520    2004-06-03  Bernhard Herzog  <[email protected]>
521    
522            * Thuban/Model/layer.py (Layer.TreeInfo): Convert the bounding box
523            to a tuple before using it as arguments to the % operator.  This
524            fixes the formatting issue filed in RT#2239 on 2004-01-13 and
525            reported today on thuban-list by Jan Sch�ngel
526    
527            * test/test_layer.py (TestLayerModification.setUp): Save the
528            filename as an instance variable so we can refer to it in tests
529            (TestLayerModification.test_tree_info): Uncomment this method
530            again and make it work.  This tests for the formatting issue
531            filed in RT#2239 on 2004-01-13
532    
533    2004-05-28  Bernhard Herzog  <[email protected]>
534    
535            * Thuban/UI/baserenderer.py: Fix some typos.
536    
537    2004-05-18  Jan-Oliver Wagner <[email protected]>
538    
539            * Extensions/gns2shp/gns2shp.py (gns2shp): Fixed a bug
540            by increasing a field size.
541    
542    2004-05-17  Bernhard Herzog  <[email protected]>
543    
544            Update to newest shapelib and get rid of Thuban specific
545            extensions, i.e. use the new DBFUpdateHeader instead of our
546            DBFCommit kludge
547    
548            * libraries/shapelib/shpopen.c: Update to version from current
549            shapelib CVS.
550    
551            * libraries/shapelib/shapefil.h: Update to version from current
552            shapelib CVS.
553    
554            * libraries/shapelib/dbfopen.c: Update to version from current
555            shapelib CVS.
556            (DBFCommit): Effectively removed since shapelib itself has
557            DBFUpdateHeader now which is better for what DBFCommit wanted to
558            achieve.  
559            We're now using an unmodified version of dbfopen.
560    
561            * setup.py (extensions): Add the HAVE_UPDATE_HEADER macro with
562            value '1' to the Lib.dbflibc extension.  This simply reflects the
563            shapelib and pyshapelib updates
564    
565    2004-05-16  Jan-Oliver Wagner <[email protected]>
566    
567            Finished introduction of Menu.FindOrInsertMenu.
568    
569            * Extensions/drawshape/drawshape.py: Add the command
570            to the experimental menu additionally to the toolbar.
571    
572            * Extensions/svgexport/svgsaver.py: Use FindOrInsertMenu() instead of
573            finding menu on its own.
574    
575            * Doc/manual/thuban-manual.xml: updated sample file
576            to use FindOrInsertMenu().
577    
578            * Examples/simple_extensions/hello_world.py: Use FindOrInsertMenu()
579            instead of finding menu on its own.
580    
581    2004-05-11  Jan-Oliver Wagner <[email protected]>
582    
583            * test/test_menu.py (MenuTest.test): Added testing
584            of method Menu.FindOrInsertMenu.
585    
586    2004-05-10  Jan-Oliver Wagner <[email protected]>
587    
588            Introduce and use Menu.FindOrInsertMenu.
589    
590            * Thuban/UI/menu.py (Menu.FindOrInsertMenu): New. Find a
591              given menu or, if not found, insert it.
592    
593            * Extensions/bboxdump/bboxdump.py, /Extensions/gns2shp/gns2shp.py,
594            /Extensions/importAPR/importAPR.py, Extensions/profiling/profiling.py,
595            /Extensions/wms/wms.py: Use FindOrInsertMenu() instead of finding
596            menu on its own.
597    
598    2004-05-06  Jan-Oliver Wagner <[email protected]>
599    
600            Introduce a abstract ColorDialog class and remove
601            and outdated file.
602    
603            * Thuban/UI/proj4dialog.py: Removed. It is has been
604            replaced by projdialog for quite a while and is not used
605            anymore.
606    
607            * Thuban/UI/colordialog.py: New. Abstraction for color selection
608            dialog(s).
609    
610            * Thuban/UI/classifier.py (SelectPropertiesDialog.__GetColor):
611            Now calls the abstract ColorDialog instead of wxColourDialog.
612            This also removed the dependency to Color class conversion
613            from this function.
614    
615    2004-05-04  Frank Koormann  <[email protected]>
616    
617            * Extensions/bboxdump/__init__.py: Fixed string left over from
618            copying.
619    
620            * Extensions/bboxdump/bboxdump.py (bboxdump):
621            Use layer.ShapeStore().AllShapes() to loop over shapes instead of
622            xrange(layer.NumShapes()). Compile the bboxmessage from a list
623            of formatted outputs (string.join) instead of appending to the
624            message. Two progress bar dialogs to report progress on the sometimes
625            lenghty processing.
626    
627    2004-04-22  Frank Koormann  <[email protected]>
628    
629            New Extension to dump bounding boxes of all shapes of the selected
630            layer. An optional column can be specified to group the objects,
631            in this case the bounding box is a union of the separate boxes.
632            Dump can be displayed in a ScrolledMessageDialog or written to file.
633            The Extension is simply a combination of available and well tested
634            Thuban functionality.
635    
636            * Extensions/bboxdump/__init__.py: New: Init to make this
637            directory a package.
638    
639            * Extensions/bboxdump/bboxdump.py: New: Dump bounding boxes of
640            all shapes of the selected layer.
641    
642    2004-04-22  Jan-Oliver Wagner <[email protected]>
643    
644            * Thuban/UI/classgen.py (GenUniquePanel.__init__): Fixed two
645            strings to be i18n now.
646    
647    2004-04-18  Jan-Oliver Wagner <[email protected]>
648    
649            Changing popup menu of legend from direct building
650            to using the Menu construction as used for the mainwindow.
651    
652            * Thuban/UI/mainwindow.py: New method commands: layer_to_top,
653            layer_to_bottom, layer_visibility
654            (MainWindow.LayerToTop): New. Put current layer to the top.
655            (MainWindow.LayerToBottom): New. Put current layer to bottom.
656            (MainWindow.HideLayer, MainWindow.ShowLayer, _has_visible_map):
657            Replace 1,0 by True, False.
658            (MainWindow.ToggleLayerVisibility): New. Toggle visibility of
659            current layer.
660            (MainWindow.LayerShowTable): Removed raising of dialog.
661            (_has_selected_layer_visible): New. Support function.
662    
663            * Thuban/UI/legend.py: ID_POP_xxx: removed.
664            (LegendPanel.__init__): Removed EVT_MENU bindings.
665            (LegendTree._OnRightClick): Replace direct creation of
666            menu via wx Classes by applying the menu definition
667            as of Menu class of menu.py.
668            
669    2004-04-16  Jan-Oliver Wagner <[email protected]>
670    
671            * Thuban/UI/exceptiondialog.py (ExceptionDialog.dialog_layout): Improved
672        button string to stronger clearify that Thuban will be closed when hitting
673            the button.
674    
675            * Thuban/UI/mainwindow.py (MainWindow.LayerShowTable): Added docstring.
676            Now for layers without a ShapeStore a corresponding message is given
677            to the user, that this layer has no table to show.
678    
679    2004-04-15  Martin Schulze  <[email protected]>
680    
681            * Extensions/wms/layer.py (WMSLayer.setWMSFormat): Need to
682            recalculate the format for the internal render engine as well.
683    
684            * Extensions/wms/properties.py (wmsProperties): First start for a
685            properties dialog.  It's functional for a first selection of
686            layers, but still has some weired wxWidgets/GTK problems but
687            beautification can be done later.
688    
689            * Extensions/wms/layer.py: Added more documentation
690            (WMSLayer.getFormats): New: Return list of supported image formats
691            by the WMS server
692            (WMSLayer.getLayers): New: Return the list of layer names
693            supported by the WMS server
694            (WMSLayer.getLayerTitle): New: Return the title of the named layer
695            (WMSLayer.getWMSFormat): New: Return the image format that is used
696            for WMS GetMap requests
697            (WMSLayer.setWMSFormat): New: Set the image format that is used
698            for WMS GetMap requests
699            (WMSLayer.__init__): Move away from using only one layer to using
700            a list of layers (unsorted at the moment, though).
701            (WMSLayer.getVisibleLayers): New: Return the list of names for all
702            visible layers
703            (WMSLayer.setVisibleLayers): New: Set the list of names for all
704            visible layers
705    
706            * Extensions/wms/wms.py: Moved the WMS layer into layer.py in
707            order to establish a clean structure.
708    
709            * Extensions/wms/layer.py: Moved the WMS layer into a file on its
710            own in order to establish a clean structure.
711    
712    2004-04-13  Martin Schulze  <[email protected]>
713    
714            * Extensions/wms/parser.py (WMSCapabilitiesParser.grok): Added
715            support for oldstyle (WMS 1.0 apparently) image format
716            specification.
717    
718            * Extensions/wms/wms.py (WMSLayer.calcFormat): Reduce the list of
719            supported graphic formats back to JPEG and BMP, PNG and others are
720            too *cough* experimental...  Sorry, I meant to filter this out
721            before I committed this part.  This should make the WMS extension
722            run from CVS again.
723            (wms_dialog): Reset an empty URL to None so that the subsequent
724            program can depend on this, since the dialog will indeed return an
725            empty URL, causing another declaration of love by Python.
726    
727            * Extensions/wms/parser.py (WMSCapabilitiesParser.getLayerBBox):
728            Whenever a native BoundingBox request cannot be fulfilled, check
729            whether the requested SRS is EPSG:3426, in which case return the
730            LatLonBoundingBox values.
731    
732            * Extensions/wms/test/test_parser.py
733            (TestWMSCapabilitiesParser.test_LayerSRS): Added a test for
734            ignoring AUTO:* SRS.
735            (TestWMSCapabilitiesParser.test_LatLonBoundingBoxes_as_bboxes):
736            Added another test method to test whether the LatLonBoundingBox
737            values will be returned if BoundingBox values are requested with
738            SRS set to EPSG:3426.
739    
740            * Extensions/wms/parser.py (WMSCapabilitiesParser.peekLayers):
741            Added rudimentary support for non-EPSG SRS, i.e. ignore them for
742            the moment by placing them into a variable which is currently
743            unused.  Also test whether the EPSG SRS is numerical as it should
744            be and add an error message if it is not.
745    
746            * Extensions/wms/test/sample.xml: Added AUTO:* SRS since they
747            appear in the real world as well.  Since we cannot handle them yet
748            (OGCLib can't either), we will ignore them for the moment.
749    
750            * Extensions/wms/parser.py: Use a variable for denoting the sample
751            filename
752            (WMSCapabilitiesParser.peekLayers): Added support for error
753            messages during grok().  They will be aggregated in an array and
754            may be displayed later.  We may have to add a classification
755            "Warning" and "Error" to this.  That requires more experience,
756            though, since not every error may be lethal.
757    
758            * Thuban/UI/mainwindow.py (MainWindow.LayerShowTable): Raise the
759            ShowTable() dialog/frame when the user attempts to display it
760            while it has been opened before already and not closed again.
761    
762    2004-04-11  Martin Schulze  <[email protected]>
763    
764            * Extensions/wms/infodialog.py: Adjusted the class documentation
765    
766            * Extensions/wms/wms.py (WMSLayer.__init__, WMSLayer.GetMapImg):
767            Switch to using Thuban{Begin,End}BusyCursor instead of the pure
768            wxWidgets variants.
769            (WMSLayer.__init__): The epsg_id variable is named top_srs now.
770    
771            * Extensions/wms/infodialog.py: Added an information dialog that
772            will display various information about the WMS current resource,
773            so that additional information such as the title, the abstract,
774            fees and access constraints can be displayed for the user if they
775            are documented in the WMS XML.
776    
777    2004-04-10  Martin Schulze  <[email protected]>
778    
779            * Extensions/wms/parser.py (WMSCapabilitiesParser.grok): Adjusted
780            string handling.  It's "foo".lower() and not lower(foo) without
781            lower imported from strings or something.
782    
783            * Extensions/wms/wms.py (WMSLayer): Incorporated WMSCapabilities
784            from capabilities.py and parser.py.  Implement priority list for
785            supported graphics formats, take care of wbmp != bmp.  PNG, TIFF
786            and GIF are supported here, but not yet by main Thuban.  Hence,
787            support for them may be removed later.  Special contribution to
788            usability: get wxWidgets to change the cursor when we're waiting
789            for data from the network so the user won't start to worry.  This
790            causes a redrawing error/warning, though.
791    
792            * Extensions/wms/parser.py (WMSCapabilitiesParser.grok): Unlink
793            the DOM object.
794    
795    2004-04-01  Martin Schulze  <[email protected]>
796    
797            * Extensions/wms/capabilities.py: Adjusted documentation
798            (WMSCapabilities.__init__): Improved documentation, fixed syntax
799            (WMSCapabilities.saveCapabilities): Only catch IOError when
800            handling files
801            (WMSCapabilities.loadCapabilities): Only catch IOError when
802            handling files
803            __main__: corrected variable naming
804            (WMSCapabilities.fetchCapabilities,loadCapabilities): Make this
805            class a specialisation of WMSCapabilitiesParser as well.  Also
806            execute grok() after loading or fetching capabilities, if that
807            went well, so that subsequent calls can already access the data.
808            (WMSCapabilities.getVersion): Export the used version of the
809            GetCapabilities request, so we can use it for subsequent calls,
810            i.e. for GetMap requests.
811            (WMSCapabilities.fetchCapabilities): Added proper error handling
812            when the GetCapabilities request failed, so that the surrounding
813            program can act accordingly.
814    
815    2004-03-30  Martin Schulze  <[email protected]>
816    
817            * Extensions/wms/parser.py (WMSCapabilitiesParser.getLayerSRS):
818            Adjusted the getLayerSRS method to return the list of SRSes
819            extracted from <SRS> elements instead of <BoundingBox> elements.
820            Added a bit of documentation as well.
821            (WMSCapabilitiesParser.checkLayerSRS): Removed integrity test
822            since it was only implemented due to a misunderstanding.
823    
824            * Extensions/wms/test/test_parser.py
825            (TestWMSCapabilitiesParser.test_LayerSRS): Adjust the tests to
826            reflect the corrected interpretation of the standard: i.e. a layer
827            does not have to define a BoundingBox for all SRSes it supports.
828            Hence the <SRS></SRS> specification is authoritative, not the list
829            of BoundingBoxes.
830            (TestWMSCapabilitiesParser.test_BoundingBoxes): Added a new test
831            to ensure None is returned for a non-existing SRS.
832            (TestWMSCapabilitiesParser.test_grok): Removed test_grok method
833            since it is not applicable anymore.  Listing more SRSes in <SRS>
834            elements is valid according to the specs.
835    
836    2004-03-26  Bernhard Reiter <[email protected]>
837    
838            * README: Nicer formatting of text. Improved descriptions.
839            Reflected wxWidgets name change.
840            
841            * Thuban/UI/about.py: Extended copyright to 2004 and added
842            information about the thuban-devel mailinglist.
843    
844    2004-03-24  Martin Schulze  <[email protected]>
845    
846            * Extensions/wms/capabilities.py: Renamed the class to contain
847            'WMS', also added a linebreak where required
848    
849            * Extensions/wms/parser.py: Finally added the XML parser for the
850            GetCapabilities response.
851    
852            * Extensions/wms/test/sample.xml: Adjusted the sample file so that
853            <SRS> elements match the <BoundingBox> elements, except for the
854            layer 'beschriftung'.
855    
856            * Extensions/wms/test/test_parser.py: Encode non-ascii strings
857            since Python uses unicode strings internally, otherwise
858            comparisons will fail.  Removed tests for getLayerBBoxSRS() since
859            the SRS will be calculated anyway and this method is obsoleted by
860            getLayerSRS().  Denote SRS as strings and not as cardinal numbers.
861            Move loading the sample file into the setUp method.  Added a test
862            for finding the integrity problem in the sample response.
863            Improved formatting.
864    
865            * Extensions/wms/domutils.py: Added convenience routines for
866            handling of Document Object Model (DOM) nodes.
867    
868            * Extensions/wms/test/test_domutils.py: Added a test for the
869            domutils module
870    
871    2004-03-19  Martin Schulze  <[email protected]>
872    
873            * Extensions/wms/test/test_parser.py (TestWMSCapabilitiesParser):
874            Moved path detection and adding into a module of its own,
875            adjustpath, which exports thubandir as main Thuban directory.
876    
877            * Extensions/wms/test/test_ogclib.py (TestWMSLib): Moved path
878            detection and adding into a module of its own, adjustpath, which
879            exports thubandir as main Thuban directory.  Reorganised the
880            module in order to support the SkipTest feature for Thuban test
881            cases.
882    
883            * Extensions/wms/test/adjustpath.py: Moved path detection and
884            adding into a module of its own.
885    
886    2004-03-18  Martin Schulze  <[email protected]>
887    
888            * Extensions/wms/test/test_parser.py: Added another test for
889            checking whether the WMS XML parser (to be implemented) returns
890            the information we expect.  This requires a sample WMS WML file
891            (sample.xml) which has been extracted from the frida server and
892            "improved" manually.
893    
894            * Extensions/wms/test/test_ogclib.py: Added legacy code to add the
895            main Thuban directory to the path in order to be able to import
896            random modules.  Adjusted the PyOGCLib detection to reuse the
897            information gathered.  Also added a note about the PYTHONPATH
898            environment variable.
899    
900            * Extensions/wms/test/test_ogclib.py: The format specification is
901            a mime-type, not a graphic format, hence image/jpeg wou ld be the
902            proper format and not JPEG.  We'll also have to take care of the
903            encoding of / as %2F.
904    
905    2004-03-16  Martin Schulze  <[email protected]>
906    
907            * Extensions/wms/test/test_ogclib.py: Added a (hopefully)
908            comprehensive test for the getMapURL method, built compare URLs
909            according to the documentation in OGC 01-068r3
910    
911            * Extensions/wms/capabilities.py (WMSCapabilities): Added the
912            class WMSCapabilities to manage capabilites, will incorporate
913            parsing the capabilities response and provide details for other
914            classes.
915    
916    2004-03-12  Bernhard Herzog  <[email protected]>
917    
918            Support views in addition to normal tables in the postgis
919            shapestore
920    
921            * Thuban/Model/postgisdb.py
922            (PostGISShapeStore._fetch_table_information): Add a fallback for
923            the case where the table name is not in the geometry_columns
924            table.  This is usually the case for views.  Also, set
925            self.shapestore here.
926            (PostGISShapeStore.ShapeType): No need to query the database all
927            the time.  The shape type is now determined in
928            _fetch_table_information
929    
930            * test/postgissupport.py (PostgreSQLServer.new_postgis_db)
931            (PostgreSQLServer.get_static_data_db, PostGISDatabase.__init__):
932            New parameter to specify views.
933            (PostGISDatabase.has_data): Also compare the views.  New views
934            parameter
935            (PostGISDatabase.initdb): Create the views.
936            (PostgreSQLServer.get_default_static_data_db): Add the v_landmarks
937            view
938    
939            * test/test_postgis_db.py
940            (TestPostGISShapestorePointFromViews): New.  Test a
941            PostGISShapeStore with a view
942            (TestPostGISShapestorePointOIDAsGIDColumn.setUp): Pass the name of
943            the geometry_column explicitly to test whether that works
944    
945    2004-03-12  Bernhard Herzog  <[email protected]>
946    
947            Final step for explicit id/geometry columns: Loading and saving
948    
949            * Resources/XML/thuban-1.1.dtd: New.  Derived from thuban-1.0.dtd
950            with the following changes:
951            (dbshapesource): Two new attributes id_column and geometry_column
952    
953            * Thuban/Model/save.py (SessionSaver.write): Use the new dtd
954            (SessionSaver.write_session): Use the new namespace
955            (SessionSaver.write_data_containers): Write the new dbshapesource
956            parameters
957    
958            * Thuban/Model/load.py (SessionLoader.__init__): New namespace for
959            the new file format version
960            (SessionLoader.start_dbshapesource): Handle the new db parameters
961    
962            * test/test_save.py: Update to the new dtd and namespace
963            (SaveSessionTest.test_save_postgis): Update the NonConnectionStore
964            mock object to provide a working IDColumn method.
965    
966            * test/test_load_1_0.py: New.  Copy of the test_load.py before
967            today's changes but with the round-trip tests removed.
968    
969            * test/test_load_0_9.py: Update doc-string.
970    
971            * test/test_load.py: Update all .thuban files to the new dtd and
972            namespace.
973            (TestPostGISLayer.file_contents): Add the new dbshapesource
974            paramters
975    
976    2004-03-11  Bernhard Herzog  <[email protected]>
977    
978            Next step for explicit id/geometry columns: User interaction
979    
980            * Thuban/UI/dbdialog.py (ChooseDBTableDialog.__init__): Rework how
981            the dialog is constructed. Add combo boxes to select id and
982            geometry column.  Rename some instance variables.
983            (ChooseDBTableDialog.GetTable): Return id and geometry column
984            names
985            (ChooseDBTableDialog.OnTableSelect): New. Event handler for
986            selections in the table list
987    
988            * Thuban/UI/mainwindow.py (MainWindow.AddDBLayer): Use id_column
989            and geometry_column
990    
991            * Thuban/Model/session.py (Session.OpenDBShapeStore): Add the new
992            parameters for id_column and geometry column of PostGISShapeStore
993            here as well.
994    
995            * Thuban/Model/postgisdb.py (type_map): Add ROWID psycog type.
996            (_raw_type_map): New. Map raw PostgreSQL type ints to thuban types
997            (PostGISConnection.GeometryTables): Use a better query to
998            determine which relations in the database might be usable for
999            shapestores.  Now supports views as well but is more PostgreSQL
1000            specific
1001            (PostGISConnection.table_columns): New. Somewhat experimental
1002            method to let the db dialogs provide lists of columns to users so
1003            that they can select id and geometry columns.
1004            (PostGISTable.__init__): The default value of the id_column
1005            parameter is now None it still means "gid" effectively, though.
1006            (PostGISTable.IDColumn): New introspection method to return a
1007            column object for the id column
1008            (PostGISShapeStore.GeometryColumn): New introspection method to
1009            return a column object for the geometry column
1010    
1011            * test/test_postgis_db.py
1012            (TestPostGISConnection.test_gis_tables_non_empty):
1013            Removed. Subsumed by the new:
1014            (TestPostGISConnection.test_gis_tables_with_views_and_tables):
1015            New. Tes the GeometryTables and table_columns methods with actual
1016            tables and views.
1017            (PointTests.test_id_column, PointTests.test_geometry_column):
1018            New. tests for the new methods.
1019            (TestPostGISShapestorePoint.setUp)
1020            (TestPostGISShapestorePointSRID.setUp)
1021            (TestPostGISShapestorePointExplicitGIDColumn.setUp): Fill the
1022            instance variables needed by the new tests
1023    
1024    2004-03-11  Bernhard Herzog  <[email protected]>
1025    
1026            * Thuban/UI/classgen.py (GenQuantilesPanel.GetList): The row
1027            numbers given to ReadValue are ordinals.
1028    
1029    2004-03-11  Bernhard Herzog  <[email protected]>
1030    
1031            Elimiate the requirement for PostGIS tables to have a column
1032            called "gid".
1033    
1034            * Thuban/Model/postgisdb.py (PostGISTable.__init__): New parameter
1035            id_column to specify which column to use to identify rows.  Also
1036            new instance variables id_column and quoted_id_column
1037            (PostGISTable.RowIdToOrdinal, PostGISTable.RowOrdinalToId)
1038            (PostGISTable.ReadRowAsDict, PostGISTable.ReadValue)
1039            (PostGISTable.SimpleQuery): Use the id column name provided to the
1040            constructor instead of "gid"
1041            (PostGISShapeStore.__init__): New parameter id_column analogously
1042            to PostGISTable.__init__.  This parameter is simply passed through
1043            to the base class constructor
1044            (PostGISShapeStore._create_col_from_description): Fix typo in
1045            doc-string
1046            (PostGISShapeStore.Shape, PostGISShapeStore.AllShapes)
1047            (PostGISShapeStore.ShapesInRegion): Use the id column name
1048            provided to the constructor instead of "gid"
1049    
1050            * test/postgissupport.py
1051            (PostgreSQLServer.get_default_static_data_db): New static table
1052            landmarks_point_id with an id column != "gid.  Update the comments
1053            a bit.
1054            (skip_if_addgeometrycolumn_does_not_use_quote_ident): Fix typo in
1055            doc-
1056            (upload_shapefile): New parameter gid_column to use a name other
1057            than "gid" for the column to store the shape ids
1058    
1059            * test/test_postgis_db.py (TableTests): New.  Mixin-class
1060            containing all tests previously in TestPostGISTable.  The actual
1061            tests are the same but the code is a bit more configurable to
1062            allow for different id columns etc.
1063            (TestPostGISTable): Derive from TableTests now for the actual
1064            tests.
1065            (TestPostGISTableExplicitGIDColumn): New. Like TestPostGISTable
1066            except that it the landmarks_point_id table to test the id_column
1067            parameter
1068            (PointTests): Extend the doc-string
1069            (TestPostGISShapestorePointExplicitGIDColumn)
1070            (TestPostGISShapestorePointOIDAsGIDColumn): New classes derived
1071            from PointTests to test the explicit id_column parameter.  One
1072            tests with the name of the column holding the shape ids, the other
1073            uses PostgreSQL's OID column.  For the latter a number of methods
1074            have to be overwritten to make them independent of the actual id
1075            values.
1076    
1077    2004-03-08  Silke Reimer  <[email protected]>
1078    
1079            Update debian directory:
1080    
1081            * debian/changelog: Added new version.
1082            * deiban/rules: Updated management of patches (with cbds)
1083            * debian/control: Added cbds to dependencies
1084            * debian/patches/*: New. Adds better support for patches of thuban in
1085                            debian
1086            * debian/menu: Syntax of menu changed slightly
1087            * debian/setup.py.patch: removed because it has been moved to
1088                            debian/patechs/setup.py.patch
1089            
1090    
1091    2004-02-26  Bernhard Herzog  <[email protected]>
1092    
1093            Create the Doc/technotes directory for text files with information
1094            for developers
1095    
1096            * Doc/technotes/README: New. README for the technotes
1097    
1098            * Doc/technotes/coding_guidelines.txt: New. Coding guidelines for
1099            Thuban
1100    
1101            * Doc/technotes/release_process.txt: New. Used to be
1102            HOWTO-Release.  Now slightly adapted to technote formatting style.
1103    
1104            * HOWTO-Release: Removed.  It's contents are now in
1105            Doc/technotes/release_process.txt
1106    
1107    2004-02-25  Bernhard Herzog  <[email protected]>
1108    
1109            * libraries/thuban/wxproj.cpp (get_wx_version): New.  Return the
1110            version of wxWindows the module was compiled with so we can check
1111            that against the wxPython version.
1112    
1113            * Thuban/version.py (thuban_branch, thuban_release): New variables
1114            controlling which and how Thuban versions are shown.  See the
1115            comments for details.
1116            (verify_versions): Also check that the wx version that wxproj is
1117            compiled against matches that of the wxPython we use at runtime
1118    
1119    2004-02-20  Bernhard Herzog  <[email protected]>
1120    
1121            * Extensions/wms/wms.py (epsg_code_to_projection): Use
1122            get_system_proj_file to read the epsg projections.  The old way
1123            depended on the current directory being the top Thuban directory.
1124    
1125    2004-02-20  Bernhard Herzog  <[email protected]>
1126    
1127            * Extensions/svgexport/test/test_svgmapwriter.py
1128            (TestVirtualDC.test_clippath): Remove a debug print
1129    
1130    2004-02-20  Bernhard Herzog  <[email protected]>
1131    
1132            * Extensions/svgexport/__init__.py: New.  Turn
1133            Extensions/svgexport into a package.
1134    
1135            * Extensions/svgexport/svgmapwriter.py: Reorder the imports and
1136            doc-string a bit.  The doc-string must come first, otherwise it's
1137            not a doc-string.  The __future__ import must be the first thing
1138            after the doc-string.  Use only double quotes in doc-strings.
1139            Single quotes trip up emacs syntax highlighting if the text
1140            contains apostrophes.
1141    
1142    2004-02-20  Bernhard Herzog  <[email protected]>
1143    
1144            * Extensions/svgexport/test/__init__.py,
1145            Extensions/svgexport/test/test_svgmapwriter.py: New. Initial test
1146            suite for svgexport
1147    
1148            * test/runtests.py (find_test_modules): New. Function with the
1149            module finding code from main.
1150            (main): Use find_test_modules to figure out the default test
1151            modules and take modules from Extensions.svgexport.test too.
1152    
1153    2004-02-19  Bernhard Herzog  <[email protected]>
1154    
1155            * Thuban/UI/application.py (ThubanApplication.OnInit): Make sure
1156            the mainwindow has a reference to the map of the initial session.
1157            This fixes a bug introduced with the fix for RT#2245
1158    
1159    2004-02-19  Bernhard Herzog  <[email protected]>
1160    
1161            * Extensions/svgexport/svgsaver.py,
1162            Extensions/svgexport/svgmapwriter.py,
1163            Extensions/svgexport/maplegend.py: Added again.  This time in the
1164            correct place.
1165    
1166    2004-02-17  Bernhard Herzog  <[email protected]>
1167    
1168            Fix for RT#2245
1169    
1170            * Thuban/UI/application.py (ThubanApplication.OnInit): Initialize
1171            instance variables before trying to create any windows.  Creating
1172            windows can start an event loop if e.g. message boxes are popped
1173            up for some reason, and event handlers, especially EVT_UPDATE_UI
1174            may want to access things from the application.
1175            (ThubanApplication.maps_changed): The mainwindow may not have been
1176            created yet, so check whether it has been created before calling
1177            its methods
1178    
1179            * Thuban/UI/view.py (MapCanvas.OnIdle): Only try to redraw if we
1180            have a map
1181    
1182    2004-02-17  Bernhard Herzog  <[email protected]>
1183    
1184            * test/test_svgmapwriter.py, Extensions/svgsaver.py,
1185            Extensions/svgmapwriter.py, Extensions/maplegend.py,
1186            extensions/svgexport/svgsaver.py,
1187            extensions/svgexport/svgmapwriter.py,
1188            extensions/svgexport/maplegend.py: Removed.  These files were in
1189            the wrong places or didn't work at all.
1190    
1191    2004-02-16  Bernhard Herzog  <[email protected]>
1192    
1193            * Thuban/UI/view.py (MapCanvas.Export): Remove accidentally added
1194            line
1195    
1196  2004-02-16  Bernhard Herzog  <[email protected]>  2004-02-16  Bernhard Herzog  <[email protected]>
1197    
1198          * Thuban/UI/view.py (MapCanvas.Export): Avoid UnboundLocalError.          * Thuban/UI/view.py (MapCanvas.Export): Avoid UnboundLocalError.
# Line 4129  Line 5324 
5324          Fix problem of hidden properties dialog under windows after double          Fix problem of hidden properties dialog under windows after double
5325          click on layer tree:          click on layer tree:
5326          The tree control always gets an Expanded / Collapsed event after          The tree control always gets an Expanded / Collapsed event after
5327          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.
5328            We add a second ItemActivated event to the queue, which simply
5329          raises the already displayed window.          raises the already displayed window.
5330    
5331          * Thuban/UI/legend.py (LegendTree.__init__): Instance variable          * Thuban/UI/legend.py (LegendTree.__init__): Instance variable

Legend:
Removed from v.2067  
changed lines
  Added in v.2334

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26