/[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 1960 by bh, Wed Nov 19 15:31:52 2003 UTC revision 2335 by silke, Wed Aug 11 08:09:44 2004 UTC
# Line 1  Line 1 
1    2004-08-11  Silke Reimer <[email protected]>
2    
3            * Thuban/UI/about.py: Small changes to encoding related stuff to avoid
4                    too many and too enhanced imports of locale
5    
6    2004-08-10  Silke Reimer <[email protected]>
7    
8            * Thuban/UI/about.py: Fixed encoding problem of about dialog: Added
9                    function unicodeToLocale() to convert special characters to users locale
10                    encoding
11    
12    2004-08-10  Jan-Oliver Wagner <[email protected]>
13    
14            * Doc/technotes/coding_guidelines.txt: Added rule 'Method names start with
15            lower case letter'
16    
17    2004-08-09  Jan Sch�ngel  <[email protected]>
18    
19            * ChangeLog: Rewrite the last ChangeLog entry to follow
20            the standard way.
21    
22            * Extensions/umn_mapserver/mapfile: Moved the import AnnotationLayer to
23            the function where it is needed, because it don't works if it stands
24            at the beginning.
25            (MF_Layer.__init__): Removed the extra numclassed variable. Now
26            numclasses from the mapscript will be used.
27            (MF_Layer.get_index): New. Return the index of the layer in mapfile.
28            (MF_Layer.set_classes): New. A Classlist will be set to the layer.
29            (MF_Layer.set_metadata): New. A Metadata mapscript object will set.
30            (MF_Layer.remove_allclasses): New. All class of the layer will remove.
31            (MF_Map.create_new_layer): New. A new Layer is created and associated
32            with the mapscript object.
33            (MF_Map.set_layerorder): New. The Layer order like in thuban is set in
34            the mapscript.
35            (MF_Map.add_thubanlayer): Now a new layerobj is created if no one is
36            linked to the layer in thuban, else the layerobject linked to the
37            thubanlayer will be used.
38            AnnotationLayer will now store the filename of the shapefile.
39            (MF_Map.remove_layer): If a layer is removed the associated object
40            must be set new.
41            
42            * Extensions/umn_mapserver/mf_export.py(tb_layer_to_map): Add all
43            layers which are exists in thuban to the mapobj. All removed Layers
44            will be removed from the mapobj.
45            Added comments to all functions.
46            (thuban_to_map): No layer will be removed here.
47            
48            * Extensions/umn_mapserver/mf_handle.py
49            (_has_umn_mapobj_and_selectedlayer): Activating the layer menu. Now
50            Layersettings for the mapserver kann be edited.
51    
52            * Extensions/umn_mapserver/mf_import.py: Now all layers which are
53            imported, will be linked with the associated MF_Layer.
54            (import_mapfile): All layers, which are not selected, will be removed.
55            Disable the "import layer from mapfile" menu option.
56    
57            * Extensions/umn_mapserver/sample/iceland.map: Set the status of the
58            Annotation Layer from DEFAULT to OFF. The DEFAULT setting turns the
59            layer on permanently.
60    
61    2004-08-03  Jan Sch�ngel  <[email protected]>
62    
63            * Extensions/umn_mapserver/mapfile.py(MF_Metadata.remove_allmetadata):
64            New. This function removes all metadata
65            (MF_Layer.set_group): New. Set the group setting.
66            (MF_Layer.get_group): New. Get the group setting.
67            (MF_Map): Removed the extra numlayers variable, used the mapscript
68            parameter instead.
69            (MF_Map.get_numlayers): New. This get numlayers.
70            (MF_Map.remove_all_layers): New. Removes all layers from the mapobj.
71            (MF_Map.add_thubanlayer): Replaced the exception handling by a check
72            if the object is an instance. Also added the annotation layer here to
73            export, but only the layer is created in the mapfile.
74    
75            * Extensions/umn_mapserver/mf_export.py(export_mapfile): Removed
76            the check if a mapobj exist, because its not needed anymore. The
77            export function is only available if a mapobj exist.
78            Use the new function to remove all layers.
79            
80            * Extensions/umn_mapserver/mf_handle.py(Layer_Dialog): Added a group
81            option and the metadata button. The layer dialog is temporary disabled.
82            (Metadata_CustomDataTable): Added some functions to show the grid
83            correct.
84    
85            * Extensions/umn_mapserver/mf_import.py: Moved the code for showing
86            the number of layer from import_mapfile to this function.
87            (AnnotationLayer): New. This Class shows the Annotation layer in
88            thuban. The layer don't do anything. It's only to show the layer
89            and to save the layer order.
90            (add_annotationlayer): New. Import an annotation layer to thuban.
91            (select_layer2import): New. Import only layers to thuban and not
92            the other settings like projection or scalebar.
93            (create_new_mapfile): Moved the _has_umn_mapobj function and the
94            create_new_mapfile functions from mf_handle.py to mf_import.py.
95            
96            * Extensions/umn_mapserver/sample/iceland.map: Added the group
97            parameter to the roads and cultural layers. Also added a new
98            Annotation Layer for the cultural points.
99    
100            * Extensions/umn_mapserver/sample/iceland.html: Added the select
101            option for the annotation layer.
102    
103            * Extensions/umn_mapserver/sample/index.html: Added the start
104            parameter for the annotation layer.
105    
106    2004-08-01  Jan-Oliver Wagner <[email protected]>
107    
108            * Doc/manual/thuban-manual-de.xml (Chapter Session Management):
109            translation completed.
110    
111            * Doc/manual/thuban-manual.xml (Chapter Session Management):
112            Fixed unprecise description for Save Session.
113    
114    2004-07-31  Jan-Oliver Wagner <[email protected]>
115    
116            Started translation of Users Manual into german.
117    
118            * Doc/manual/thuban-manual-de.xml: New. German Users Manual.
119    
120            * Doc/manual/Makefile: Added build instructions for german
121            users manual.
122    
123            * Doc/manual/thuban-manual.xml: Minor corrections in Introduction.
124    
125    2004-07-28  Jan Sch�ngel  <[email protected]>
126    
127            * Extensions/umn_mapserver/mapfile.py(MF_Metadata): Changed all class
128            functions. Now all metadata will handle by the function and its not
129            needed to initialize it from outside. Therefor the associated mapobj
130            will be stored in the Metadata Object. So we can use the special
131            functions from the associated mapobj to get the Metadata.
132            Therefor all initialization code for the metadata is removed from the
133            other classes.
134            (MF_Layer): Added a function to get the metadata object.
135            (MF_Map): Added a function to set the mappath, the path where
136            the mapfile ist stored.
137    
138            * Extensions/umn_mapserver/mf_export.py(thuban_to_map): Changed the code
139            to set the extent in the mapfile. Now the code is set by the displayed
140            data in the Thuban-view.
141            (export_mapfile): The shapepath is now set empty, until relative
142            pathnames are supported.
143    
144            * Extension/umn_mapserver/mf_handle.py: Added a dialog to handle
145            metadata. Yet only mapfile metadata are supported. Layer and class
146            supported are not implemented.
147            Added a dialog to handle layer informations. The dialog only shows the
148            selected layer at the moment.
149    
150            * Extensions/umn_mapserver/mf_import.py(import_mapfile): Changed the
151            code for setting the extent in thuban. Now the extent is set to the
152            given extent from the mapfile.
153            Fixed a logical mistake. Now the extent is set when realy a layer is
154            loaded, and not if one is selected to load.
155    
156            * Extensions/umn_mapserver/sample/iceland.html: Added code to zoom and
157            move the shown map in the browser.
158    
159            * Extensions/umn_mapserver/sample/iceland.map: Added a new metadata
160            line to the mapobj and added metadata to the political layer.
161    
162            * Extensions/umn_mapserver/test/test_mapserver.py: Changed the test
163            for Metadata.
164    
165    2004-07-26  Martin Schulze  <[email protected]>
166    
167            * Thuban/Lib/classmapper.py (ClassMapper.has): Added the new
168            ClassMapper
169    
170            * test/test_classmapper.py (TestMapping.test_mapper): Added a Test
171            case for the new ClassMapper
172    
173    
174    2004-07-22  Bernhard Herzog  <[email protected]>
175    
176            * Thuban/UI/viewport.py (ViewPort.VisibleExtent): New.  Return the
177            visible extent of the map in projected coordinates
178    
179            * test/test_viewport.py (SimpleViewPortTest.test_default_size)
180            (SimpleViewPortTest.test_init_with_size): Add some VisibleExtent()
181            tests.
182            (SimpleViewPortTest.test_visible_extent): New. The real test for
183            VisibleExtent()
184    
185    2004-07-22  Bernhard Herzog  <[email protected]>
186    
187            * test/test_viewport.py: Use support.run_tests as the main
188            function when running asa script.
189    
190    2004-07-22  Jan Sch�ngel <[email protected]>
191    
192            * Extensions/umn_mapserver/mf_export.py: Added "import os"
193            Removed the old "import Thuban.UI.mainwindow" code.
194            (tbextent_to_map): Removed the extra function and at the code direct
195            to "thuban_to_map" function.
196            (write_creatorcomment): Added. Now a short comment is added to the
197            beginning of an generated mapfile.
198            (export_mapfile): Now the Path and filename are saved in to variables,
199            and not together in one variable. This is needed for the new
200            write_creatorcomment function.
201                    
202            * Extensions/umn_mapserver/mf_import.py (import_mapfile): Added the
203            import module "re". Also added Range and the ClassGroupRange import
204            from Thuban. Both are needed for the new range expression import.
205            (create_rangeexpression): Added. Creates a Range Expression in Thuban
206            style from a given mapfile expression.
207            (added_rasterlayer): Make some small code changes. The shapepath is
208            now stored in an extra variable and the clazz_name is set empty if no
209            class name set in the mapfile.
210            Changed the Error message for Range Expressions, becaus the new
211            function create a error string which will be shown in the dialog.
212    
213            * Extensions/umn_mapserver/test/test_mapserver.py: Added a test for the
214            range expression import.
215    
216    2004-07-21  Jan-Oliver Wagner <[email protected]>
217    
218            * Extensions/umn_mapserver/README: Added hint that
219            installation as root can be avoided. Removed all tabs.
220    
221    2004-07-16  Bernhard Herzog  <[email protected]>
222    
223            * test/test_viewport.py
224            (ViewPortTest.test_changing_map_projection): Check that changing
225            the projection of an empty map shown in a viewport doesn't lead to
226            exceptions in the viewport's handler for the
227            MAP_PROJECTION_CHANGED messages
228    
229            * Thuban/UI/viewport.py (ViewPort.map_projection_changed): Only
230            try to keep the same region visible when the map actually contains
231            something
232    
233    2004-07-15  Jan Sch�ngel <[email protected]>
234    
235            * Extensions/umn_mapserver/mapfile.py: Added a function to get the
236            mappath directly from the mapobj. Is needed because of the changes
237            in mf_import.py.
238            (MF_Layer.add_thubanclass): Added a new comment.
239            (MF_Map.set_extent): Fixed a bug with exporting empty mapobj. If the
240            mapobj is empty there is no extent get from thuban an so no one can
241            set to th mapobj.
242            
243            * Extensions/umn_mapserver/mf_import.py (import_mapfile): Updated
244            the discription.
245            Split the funktion in to three smaller ones. The new functions are
246            add_rasterlayer, add_polygonlayer and select_layer2import.
247            Removed the mapfilepath and filepath initialisation, because its know
248            include in the new functions.
249            Now nothing will be imported if cancel is pressed in the
250            layer choice dialog.
251    
252    2004-07-14  Jan Sch�ngel <[email protected]>
253    
254            * Extensions/umn_mapserver/mapfile.py: Added ClassGroupDefault to
255            import.
256            (MF_Symbolset): Removed the extra variable for numsymbols.
257            (MF_Class.__init__): Added a comment to the exception clause.
258            Removed the extent init, because it was not needed anymore.
259            (MF_Layer.add_thubanclass): Added the code to set the class name to
260            the expression value from thuban if no label is defined.
261            Added the code to export Range expressions from thuban to the mapfile.
262            (MF_Map.set_extent): Removed the exception and replace it by some if
263            code. If the size of a map is not defined the size will be set to 1,1.
264            This is necessary because if the extent is set, mapscript checks if
265            the size is greater than zero.
266            (MF_Web): Added the get and set function for the template.
267    
268            * Extensions/umn_mapserver/mf_export.py: Added the function to check
269            if a mapobject exists and used it to set the status of the menu items.
270            If no mapfile exists the settings could not be edditied.
271            Define after which menuitem the exportitem will include.
272            
273            * Extensions/umn_mapserver/mf_handle.py: Removed the import
274            Thuban.UI.mainwindow clause, because it is not needed.
275            Added the command Refresh() to all "OnChangeColor()" functions,
276            because the color preview window was not updated on a color change.
277            Added the function to check if a mapobject exists and used it to set the
278            status of the menu items. If no mapobject exists the settings could not
279            be edditied.
280            (Map_Dialog): Moved the imagetype selector from the
281            Outputformat_Dialog to Map_Dialog and removed Outputformat_Dialog.
282            (Web_Dialog): Removed the name label and added the template textbox.
283    
284            * Extensions/umn_mapserver/mf_import.py (import_mapfile): Replace
285            the exception handling on loading the layers by an if statement. It
286            is not necessary to us the exception there.
287            The Filepath creation now use os.path.join to build the path.
288    
289            * Extensions/umn_mapserver/test/test_mapserver.py: Moved the testMap
290            definition from global to the setUp function. Now the testMap will
291            initialize new on each test.
292    
293            * Extensions/umn_mapserver/sample/iceland.map: Include three new
294            classes in the Line Layer, to test logical Expressions.
295            Set the status of the class "Point9" in the Point Layer to off
296            
297    2004-07-13  Bernhard Herzog  <[email protected]>
298    
299            * Thuban/UI/baserenderer.py
300            (BaseRenderer.render_map_incrementally): Fix a logic bug in the
301            optimization that tries not to draw layers under a raster layer.
302            The bug was harmless.  All it effectively did was to produce The a
303            strange messages about not being able to draw Layer instances for
304            all vector layers below a raster layer which would be invisible
305            anyway because the raster layer currently always covers the entire
306            window
307    
308    2004-07-08  Jan Sch�ngel <[email protected]>
309    
310            * Extensions/umn_mapserver/mapfile.py: Added code to generade and get
311            a list of supported outputformats. This formats are not alle supported
312            because there is no possibility to get the outputformat without the
313            name known. Make some formal changes to the code.
314            (MF_Map.set_name()): Fixed a bug if the name is None.
315    
316            * Extensions/umn_mapserver/mf_handle.py: Removed the image_type import
317            statement, because its not needed anymore. The Outputformat is now
318            given as string from the object. Make some formal changes to the code.
319    
320            * Extensions/umn_mapserver/test/test_mapserver.py: Added new test for
321            most of the new setting which were added during the last changes.
322            Removed the MF_Size Test.
323            
324            * Extensions/umn_mapserver/test/test.map: Added a new class to the
325            cultural Layer to test expressions and the the status of that layer
326            from on to default.
327            Changed the data path the the correct Thuban Data
328            Added the Outputformat Object and Symbol Object
329            
330    2004-07-07  Jan Sch�ngel <[email protected]>
331    
332            * Extensions/umn_mapserver/mapfile.py: Added some new
333            settings to edit (outputformat, label, imagetype)
334    
335            * Extensions/umn_mapserver/mf_handle.py: Added some setting to
336            the Label Dialog and add the OutputDialog.
337            Make some changes to the code order.
338    
339    2004-07-06  Jan Sch�ngel <[email protected]>
340    
341            * Extensions/umn_mapserver/mapfile.py: Added the symbolObj, pointObj
342            and line Obj and add the scalebar_status_type, scalebar_style_type and
343            scalebar_position_type.
344            Added the symbol- and symbolsetObject (MF_Symbol,MF_Symbolset). The
345            are only used to create a Symbol like the circle in Thuban.
346            Added the scalebarObject (MF_Scalebar)
347            (MF_Class): Added set_status and get_status.
348            (MF_Layer.add_thubanclass): Added code to set the class status
349            (MF_Map): Added code to handle the symbols and scalebar
350            (MF_Label): Added the set_partials and get_partials functions
351            
352            * Extensions/umn_mapserver/mf_export.py: Added MF_Symbol to import
353            from mapfile. Added a function to create a circle object like the one
354            from thuban if no one exists.
355            
356            * Extensions/umn_mapserver/mf_handle.py: All colors are now set when
357            press ok in the assosiated dialog and not at the end of the
358            colordialog.
359            Added the Dialog for the Scalebar.
360            (Label_Dialog): Added the offset option
361    
362            * Extensions/umn_mapserver/mf_import.py: Added code to import the
363            status of the Classes.
364            Fixed a bug with the projection. Now the to_meter parameter will be
365            added to the Projection only if it doesn't exists.
366    
367    2004-07-01  Jan Sch�ngel <[email protected]>
368    
369            Added the functionality to handle the content thuban is not
370            able to handle directly.
371    
372            * Extensions/umn_mapserver/mf_handle.py: New. This module extents
373            Thuban with the possibility to edit the mapfile content.        
374            
375            * Extensions/umn_mapserver/mf_import.py: Added the possibility
376            to import mapfiles without any layer selected. So it is possible
377            to edit the other settings in a mapfile.
378            (import_mapfile): Added code to use the editing functions.
379            Added the possibility to import the projection to a layer if one
380            is defined.
381            Status settings (On,Off) will now set in thuban (visible, invisible).
382            fixed a bug with with classnames. If no classname is set in mapfile
383            the value in Thuban will set to the expression.
384            
385            * Extensions/umn_mapserver/mf_export.py(export_mapfile): Added the
386            possibility to save a new mapfile or use the old one which is
387            imported or new created.
388            Added code to use the editing functions.
389            Remove some not needed import statements
390    
391            * Extensions/umn_mapserver/mapfile.py: Added new types which are
392            need for the editing functions.
393            Added needed set-functions for the editing functions.
394            Added the possibility to export rasterimages.
395            Added new classes (MF_Web, MF_Label, MF_Legend, MF_Symbol,
396            MF_SymbolSet). MF_Symbol and MF_SymbolSet are not needed at the
397            moment.
398            (MF_Class.set_thubanstyle): Now point layers will set to a default
399            symbol to show a circle in mapserver and not only a 1px dot.
400            (MF_Style.__init__): Fixed a bug with the color. Color was not set
401            correct before.
402            (MF_Size): Removed, because it is not needed.
403            
404            * Extensions/umn_mapserver/README: Added the hints to use the
405            export and editing functions, too.
406    
407            * Extensions/umn_mapserver/sample/iceland.map: Added the
408            new parameter "UNITS METERS".
409            Change the political layer to status OFF.
410    
411            * Extensions/umn_mapserver/sample/README: Added some
412            more details to setup the sample in the MapServer.
413            
414    2004-06-26  Bernhard Reiter <[email protected]>
415    
416            * Extensions/svgexport/test/test_svgmapwriter.py:
417            Removed class VFile and used standard StringIO instead.
418    
419    2004-06-23  Jan Sch�ngel  <[email protected]>
420    
421            Add the export function to the umn_mapserver extension.
422    
423            * Extension/umn_mapserver/mf_export.py: New. This module extents
424            Thuban with the possibility to export the Thuban content.
425    
426            * Extensions/umn_mapserver/mapfile.py: Expand the classes to use
427            with the export module. Especially added the possibility to
428            add thuban objects directly to the map objects.
429    
430            * Extensions/umn_mapserver/mf_import.py: Removed the wxCHANGE_DIR,
431            because of the hint from Bernhard Herzog.
432            Corrected the handling of absolute pathnames.
433            Changed the Text of the Menu-Item, now the beginning is upper case.
434    
435            * Extensions/umn_mapserver/README: Added the --with-tiff statement.
436    
437    2004-06-16  Jan Sch�ngel  <[email protected]>
438    
439            Add a sample and make some changes.
440    
441            * Extension/umn_mapserver/mf_import.py: Changed the wxPython.wx
442            import from * to explicit used statements. Changed the
443            Thuban.UI.mainwindow import phrase, too.
444            (import_mapfile):Corrected a clerical mistake.
445            Added wxCHANGE_DIR in OpenFile Dialog.
446            Added a MultipleChoiceDialog, to select the layers to load from
447            mapfile into thuban. Thereby the projection is only set if one layer
448            is selected.
449            Added the possibility to handle relative pathnames which uses
450            up-level references.
451            Removed some doubled code.
452            Corrected an error with integer values used as label in thuban
453            ClassGroup.
454            
455            * Extensions/umn_mapserver/sample: New.
456    
457            * Extensions/umn_mapserver/sample/README: New. Describes the
458            usage of the sample files.
459    
460            * Extensions/umn_mapserver/sample/iceland.map: New. This is
461            a suitable .map-file for the iceland data.
462    
463            * Extensions/umn_mapserver/sample/index.html: New. The template
464            for the mapfile.  
465    
466            * Extensions/umn_mapserver/sample/iceland.html: New. Initialisation
467            file for the Iceland Application on web.
468    
469            * Extensions/umn_mapserver/README: Corrected a inaccuracy and added
470            some details.
471    
472            * Extensions/umn_mapserver/test/test_mapserver
473            (mapserver_import_Test_generalClasses.test_MF_Color):
474            Corrected the thubancolor test.
475    
476    2004-06-15  Jan Sch�ngel  <[email protected]>
477    
478            * Extensions/umn_mapserver/README: New. Install instruction.
479    
480    2004-06-14  Bernhard Reiter <[email protected]>
481    
482            * libraries/thuban/cpl_mfile.h: Added copyright header.
483    
484            * libraries/thuban/ cpl_mfile.cpp, cpl_mfile.h: Added non-protecting
485            Free Software License so that it is most useful with gdalwarp
486            and bmpdataset.
487    
488    2004-06-14  Bernhard Herzog  <[email protected]>
489    
490            * Thuban/UI/multiplechoicedialog.py (__version__): Add missing
491            import of wxPython.wx itself (as opposed to the contents of
492            wxPython.wx).  For some reason wxPython.wx is available as
493            wxPython.wx.wx in at least some 2.4 releases.  Fixes RT#2482
494            wrt. wxPython 2.4.
495    
496    2004-06-10  Jan Sch�ngel  <[email protected]>
497    
498            Initial version of new extension "umn_mapserver".  This extension aims
499            to manage configuration for the UMN MapServer application.  This
500            inital version just imports the .map-files and displays all, Thuban is
501            capable of.
502    
503            * Extensions/umn_mapserver, Extensions/umn_mapserver/test: New.
504    
505            * Extensions/umn_mapserver/test/README: New. Describes how to run the
506            tests.
507    
508            * Extensions/umn_mapserver/test/test.map: New. This is a test
509            .map-file for automated tests of the umn_mapserver extension of
510            Thuban.
511    
512            * Extensions/umn_mapserver/test/test_mapserver.py: New. Tests for
513            UMN Mapserver classes.
514    
515            * Extensions/umn_mapserver/__init__.py: New. Init to make this
516            directory a package.
517    
518            * Extensions/umn_mapserver/mapfile.py: New. Classes to represent
519            '.map'-file objects.
520    
521            * Extensions/umn_mapserver/mf_import.py: New. This module extends
522            Thuban with the possibility to handle UMN MapServer mapfiles.
523    
524    2004-06-03  Bernhard Herzog  <[email protected]>
525    
526            * Thuban/Model/layer.py (Layer.TreeInfo): Convert the bounding box
527            to a tuple before using it as arguments to the % operator.  This
528            fixes the formatting issue filed in RT#2239 on 2004-01-13 and
529            reported today on thuban-list by Jan Sch�ngel
530    
531            * test/test_layer.py (TestLayerModification.setUp): Save the
532            filename as an instance variable so we can refer to it in tests
533            (TestLayerModification.test_tree_info): Uncomment this method
534            again and make it work.  This tests for the formatting issue
535            filed in RT#2239 on 2004-01-13
536    
537    2004-05-28  Bernhard Herzog  <[email protected]>
538    
539            * Thuban/UI/baserenderer.py: Fix some typos.
540    
541    2004-05-18  Jan-Oliver Wagner <[email protected]>
542    
543            * Extensions/gns2shp/gns2shp.py (gns2shp): Fixed a bug
544            by increasing a field size.
545    
546    2004-05-17  Bernhard Herzog  <[email protected]>
547    
548            Update to newest shapelib and get rid of Thuban specific
549            extensions, i.e. use the new DBFUpdateHeader instead of our
550            DBFCommit kludge
551    
552            * libraries/shapelib/shpopen.c: Update to version from current
553            shapelib CVS.
554    
555            * libraries/shapelib/shapefil.h: Update to version from current
556            shapelib CVS.
557    
558            * libraries/shapelib/dbfopen.c: Update to version from current
559            shapelib CVS.
560            (DBFCommit): Effectively removed since shapelib itself has
561            DBFUpdateHeader now which is better for what DBFCommit wanted to
562            achieve.  
563            We're now using an unmodified version of dbfopen.
564    
565            * setup.py (extensions): Add the HAVE_UPDATE_HEADER macro with
566            value '1' to the Lib.dbflibc extension.  This simply reflects the
567            shapelib and pyshapelib updates
568    
569    2004-05-16  Jan-Oliver Wagner <[email protected]>
570    
571            Finished introduction of Menu.FindOrInsertMenu.
572    
573            * Extensions/drawshape/drawshape.py: Add the command
574            to the experimental menu additionally to the toolbar.
575    
576            * Extensions/svgexport/svgsaver.py: Use FindOrInsertMenu() instead of
577            finding menu on its own.
578    
579            * Doc/manual/thuban-manual.xml: updated sample file
580            to use FindOrInsertMenu().
581    
582            * Examples/simple_extensions/hello_world.py: Use FindOrInsertMenu()
583            instead of finding menu on its own.
584    
585    2004-05-11  Jan-Oliver Wagner <[email protected]>
586    
587            * test/test_menu.py (MenuTest.test): Added testing
588            of method Menu.FindOrInsertMenu.
589    
590    2004-05-10  Jan-Oliver Wagner <[email protected]>
591    
592            Introduce and use Menu.FindOrInsertMenu.
593    
594            * Thuban/UI/menu.py (Menu.FindOrInsertMenu): New. Find a
595              given menu or, if not found, insert it.
596    
597            * Extensions/bboxdump/bboxdump.py, /Extensions/gns2shp/gns2shp.py,
598            /Extensions/importAPR/importAPR.py, Extensions/profiling/profiling.py,
599            /Extensions/wms/wms.py: Use FindOrInsertMenu() instead of finding
600            menu on its own.
601    
602    2004-05-06  Jan-Oliver Wagner <[email protected]>
603    
604            Introduce a abstract ColorDialog class and remove
605            and outdated file.
606    
607            * Thuban/UI/proj4dialog.py: Removed. It is has been
608            replaced by projdialog for quite a while and is not used
609            anymore.
610    
611            * Thuban/UI/colordialog.py: New. Abstraction for color selection
612            dialog(s).
613    
614            * Thuban/UI/classifier.py (SelectPropertiesDialog.__GetColor):
615            Now calls the abstract ColorDialog instead of wxColourDialog.
616            This also removed the dependency to Color class conversion
617            from this function.
618    
619    2004-05-04  Frank Koormann  <[email protected]>
620    
621            * Extensions/bboxdump/__init__.py: Fixed string left over from
622            copying.
623    
624            * Extensions/bboxdump/bboxdump.py (bboxdump):
625            Use layer.ShapeStore().AllShapes() to loop over shapes instead of
626            xrange(layer.NumShapes()). Compile the bboxmessage from a list
627            of formatted outputs (string.join) instead of appending to the
628            message. Two progress bar dialogs to report progress on the sometimes
629            lenghty processing.
630    
631    2004-04-22  Frank Koormann  <[email protected]>
632    
633            New Extension to dump bounding boxes of all shapes of the selected
634            layer. An optional column can be specified to group the objects,
635            in this case the bounding box is a union of the separate boxes.
636            Dump can be displayed in a ScrolledMessageDialog or written to file.
637            The Extension is simply a combination of available and well tested
638            Thuban functionality.
639    
640            * Extensions/bboxdump/__init__.py: New: Init to make this
641            directory a package.
642    
643            * Extensions/bboxdump/bboxdump.py: New: Dump bounding boxes of
644            all shapes of the selected layer.
645    
646    2004-04-22  Jan-Oliver Wagner <[email protected]>
647    
648            * Thuban/UI/classgen.py (GenUniquePanel.__init__): Fixed two
649            strings to be i18n now.
650    
651    2004-04-18  Jan-Oliver Wagner <[email protected]>
652    
653            Changing popup menu of legend from direct building
654            to using the Menu construction as used for the mainwindow.
655    
656            * Thuban/UI/mainwindow.py: New method commands: layer_to_top,
657            layer_to_bottom, layer_visibility
658            (MainWindow.LayerToTop): New. Put current layer to the top.
659            (MainWindow.LayerToBottom): New. Put current layer to bottom.
660            (MainWindow.HideLayer, MainWindow.ShowLayer, _has_visible_map):
661            Replace 1,0 by True, False.
662            (MainWindow.ToggleLayerVisibility): New. Toggle visibility of
663            current layer.
664            (MainWindow.LayerShowTable): Removed raising of dialog.
665            (_has_selected_layer_visible): New. Support function.
666    
667            * Thuban/UI/legend.py: ID_POP_xxx: removed.
668            (LegendPanel.__init__): Removed EVT_MENU bindings.
669            (LegendTree._OnRightClick): Replace direct creation of
670            menu via wx Classes by applying the menu definition
671            as of Menu class of menu.py.
672            
673    2004-04-16  Jan-Oliver Wagner <[email protected]>
674    
675            * Thuban/UI/exceptiondialog.py (ExceptionDialog.dialog_layout): Improved
676        button string to stronger clearify that Thuban will be closed when hitting
677            the button.
678    
679            * Thuban/UI/mainwindow.py (MainWindow.LayerShowTable): Added docstring.
680            Now for layers without a ShapeStore a corresponding message is given
681            to the user, that this layer has no table to show.
682    
683    2004-04-15  Martin Schulze  <[email protected]>
684    
685            * Extensions/wms/layer.py (WMSLayer.setWMSFormat): Need to
686            recalculate the format for the internal render engine as well.
687    
688            * Extensions/wms/properties.py (wmsProperties): First start for a
689            properties dialog.  It's functional for a first selection of
690            layers, but still has some weired wxWidgets/GTK problems but
691            beautification can be done later.
692    
693            * Extensions/wms/layer.py: Added more documentation
694            (WMSLayer.getFormats): New: Return list of supported image formats
695            by the WMS server
696            (WMSLayer.getLayers): New: Return the list of layer names
697            supported by the WMS server
698            (WMSLayer.getLayerTitle): New: Return the title of the named layer
699            (WMSLayer.getWMSFormat): New: Return the image format that is used
700            for WMS GetMap requests
701            (WMSLayer.setWMSFormat): New: Set the image format that is used
702            for WMS GetMap requests
703            (WMSLayer.__init__): Move away from using only one layer to using
704            a list of layers (unsorted at the moment, though).
705            (WMSLayer.getVisibleLayers): New: Return the list of names for all
706            visible layers
707            (WMSLayer.setVisibleLayers): New: Set the list of names for all
708            visible layers
709    
710            * Extensions/wms/wms.py: Moved the WMS layer into layer.py in
711            order to establish a clean structure.
712    
713            * Extensions/wms/layer.py: Moved the WMS layer into a file on its
714            own in order to establish a clean structure.
715    
716    2004-04-13  Martin Schulze  <[email protected]>
717    
718            * Extensions/wms/parser.py (WMSCapabilitiesParser.grok): Added
719            support for oldstyle (WMS 1.0 apparently) image format
720            specification.
721    
722            * Extensions/wms/wms.py (WMSLayer.calcFormat): Reduce the list of
723            supported graphic formats back to JPEG and BMP, PNG and others are
724            too *cough* experimental...  Sorry, I meant to filter this out
725            before I committed this part.  This should make the WMS extension
726            run from CVS again.
727            (wms_dialog): Reset an empty URL to None so that the subsequent
728            program can depend on this, since the dialog will indeed return an
729            empty URL, causing another declaration of love by Python.
730    
731            * Extensions/wms/parser.py (WMSCapabilitiesParser.getLayerBBox):
732            Whenever a native BoundingBox request cannot be fulfilled, check
733            whether the requested SRS is EPSG:3426, in which case return the
734            LatLonBoundingBox values.
735    
736            * Extensions/wms/test/test_parser.py
737            (TestWMSCapabilitiesParser.test_LayerSRS): Added a test for
738            ignoring AUTO:* SRS.
739            (TestWMSCapabilitiesParser.test_LatLonBoundingBoxes_as_bboxes):
740            Added another test method to test whether the LatLonBoundingBox
741            values will be returned if BoundingBox values are requested with
742            SRS set to EPSG:3426.
743    
744            * Extensions/wms/parser.py (WMSCapabilitiesParser.peekLayers):
745            Added rudimentary support for non-EPSG SRS, i.e. ignore them for
746            the moment by placing them into a variable which is currently
747            unused.  Also test whether the EPSG SRS is numerical as it should
748            be and add an error message if it is not.
749    
750            * Extensions/wms/test/sample.xml: Added AUTO:* SRS since they
751            appear in the real world as well.  Since we cannot handle them yet
752            (OGCLib can't either), we will ignore them for the moment.
753    
754            * Extensions/wms/parser.py: Use a variable for denoting the sample
755            filename
756            (WMSCapabilitiesParser.peekLayers): Added support for error
757            messages during grok().  They will be aggregated in an array and
758            may be displayed later.  We may have to add a classification
759            "Warning" and "Error" to this.  That requires more experience,
760            though, since not every error may be lethal.
761    
762            * Thuban/UI/mainwindow.py (MainWindow.LayerShowTable): Raise the
763            ShowTable() dialog/frame when the user attempts to display it
764            while it has been opened before already and not closed again.
765    
766    2004-04-11  Martin Schulze  <[email protected]>
767    
768            * Extensions/wms/infodialog.py: Adjusted the class documentation
769    
770            * Extensions/wms/wms.py (WMSLayer.__init__, WMSLayer.GetMapImg):
771            Switch to using Thuban{Begin,End}BusyCursor instead of the pure
772            wxWidgets variants.
773            (WMSLayer.__init__): The epsg_id variable is named top_srs now.
774    
775            * Extensions/wms/infodialog.py: Added an information dialog that
776            will display various information about the WMS current resource,
777            so that additional information such as the title, the abstract,
778            fees and access constraints can be displayed for the user if they
779            are documented in the WMS XML.
780    
781    2004-04-10  Martin Schulze  <[email protected]>
782    
783            * Extensions/wms/parser.py (WMSCapabilitiesParser.grok): Adjusted
784            string handling.  It's "foo".lower() and not lower(foo) without
785            lower imported from strings or something.
786    
787            * Extensions/wms/wms.py (WMSLayer): Incorporated WMSCapabilities
788            from capabilities.py and parser.py.  Implement priority list for
789            supported graphics formats, take care of wbmp != bmp.  PNG, TIFF
790            and GIF are supported here, but not yet by main Thuban.  Hence,
791            support for them may be removed later.  Special contribution to
792            usability: get wxWidgets to change the cursor when we're waiting
793            for data from the network so the user won't start to worry.  This
794            causes a redrawing error/warning, though.
795    
796            * Extensions/wms/parser.py (WMSCapabilitiesParser.grok): Unlink
797            the DOM object.
798    
799    2004-04-01  Martin Schulze  <[email protected]>
800    
801            * Extensions/wms/capabilities.py: Adjusted documentation
802            (WMSCapabilities.__init__): Improved documentation, fixed syntax
803            (WMSCapabilities.saveCapabilities): Only catch IOError when
804            handling files
805            (WMSCapabilities.loadCapabilities): Only catch IOError when
806            handling files
807            __main__: corrected variable naming
808            (WMSCapabilities.fetchCapabilities,loadCapabilities): Make this
809            class a specialisation of WMSCapabilitiesParser as well.  Also
810            execute grok() after loading or fetching capabilities, if that
811            went well, so that subsequent calls can already access the data.
812            (WMSCapabilities.getVersion): Export the used version of the
813            GetCapabilities request, so we can use it for subsequent calls,
814            i.e. for GetMap requests.
815            (WMSCapabilities.fetchCapabilities): Added proper error handling
816            when the GetCapabilities request failed, so that the surrounding
817            program can act accordingly.
818    
819    2004-03-30  Martin Schulze  <[email protected]>
820    
821            * Extensions/wms/parser.py (WMSCapabilitiesParser.getLayerSRS):
822            Adjusted the getLayerSRS method to return the list of SRSes
823            extracted from <SRS> elements instead of <BoundingBox> elements.
824            Added a bit of documentation as well.
825            (WMSCapabilitiesParser.checkLayerSRS): Removed integrity test
826            since it was only implemented due to a misunderstanding.
827    
828            * Extensions/wms/test/test_parser.py
829            (TestWMSCapabilitiesParser.test_LayerSRS): Adjust the tests to
830            reflect the corrected interpretation of the standard: i.e. a layer
831            does not have to define a BoundingBox for all SRSes it supports.
832            Hence the <SRS></SRS> specification is authoritative, not the list
833            of BoundingBoxes.
834            (TestWMSCapabilitiesParser.test_BoundingBoxes): Added a new test
835            to ensure None is returned for a non-existing SRS.
836            (TestWMSCapabilitiesParser.test_grok): Removed test_grok method
837            since it is not applicable anymore.  Listing more SRSes in <SRS>
838            elements is valid according to the specs.
839    
840    2004-03-26  Bernhard Reiter <[email protected]>
841    
842            * README: Nicer formatting of text. Improved descriptions.
843            Reflected wxWidgets name change.
844            
845            * Thuban/UI/about.py: Extended copyright to 2004 and added
846            information about the thuban-devel mailinglist.
847    
848    2004-03-24  Martin Schulze  <[email protected]>
849    
850            * Extensions/wms/capabilities.py: Renamed the class to contain
851            'WMS', also added a linebreak where required
852    
853            * Extensions/wms/parser.py: Finally added the XML parser for the
854            GetCapabilities response.
855    
856            * Extensions/wms/test/sample.xml: Adjusted the sample file so that
857            <SRS> elements match the <BoundingBox> elements, except for the
858            layer 'beschriftung'.
859    
860            * Extensions/wms/test/test_parser.py: Encode non-ascii strings
861            since Python uses unicode strings internally, otherwise
862            comparisons will fail.  Removed tests for getLayerBBoxSRS() since
863            the SRS will be calculated anyway and this method is obsoleted by
864            getLayerSRS().  Denote SRS as strings and not as cardinal numbers.
865            Move loading the sample file into the setUp method.  Added a test
866            for finding the integrity problem in the sample response.
867            Improved formatting.
868    
869            * Extensions/wms/domutils.py: Added convenience routines for
870            handling of Document Object Model (DOM) nodes.
871    
872            * Extensions/wms/test/test_domutils.py: Added a test for the
873            domutils module
874    
875    2004-03-19  Martin Schulze  <[email protected]>
876    
877            * Extensions/wms/test/test_parser.py (TestWMSCapabilitiesParser):
878            Moved path detection and adding into a module of its own,
879            adjustpath, which exports thubandir as main Thuban directory.
880    
881            * Extensions/wms/test/test_ogclib.py (TestWMSLib): Moved path
882            detection and adding into a module of its own, adjustpath, which
883            exports thubandir as main Thuban directory.  Reorganised the
884            module in order to support the SkipTest feature for Thuban test
885            cases.
886    
887            * Extensions/wms/test/adjustpath.py: Moved path detection and
888            adding into a module of its own.
889    
890    2004-03-18  Martin Schulze  <[email protected]>
891    
892            * Extensions/wms/test/test_parser.py: Added another test for
893            checking whether the WMS XML parser (to be implemented) returns
894            the information we expect.  This requires a sample WMS WML file
895            (sample.xml) which has been extracted from the frida server and
896            "improved" manually.
897    
898            * Extensions/wms/test/test_ogclib.py: Added legacy code to add the
899            main Thuban directory to the path in order to be able to import
900            random modules.  Adjusted the PyOGCLib detection to reuse the
901            information gathered.  Also added a note about the PYTHONPATH
902            environment variable.
903    
904            * Extensions/wms/test/test_ogclib.py: The format specification is
905            a mime-type, not a graphic format, hence image/jpeg wou ld be the
906            proper format and not JPEG.  We'll also have to take care of the
907            encoding of / as %2F.
908    
909    2004-03-16  Martin Schulze  <[email protected]>
910    
911            * Extensions/wms/test/test_ogclib.py: Added a (hopefully)
912            comprehensive test for the getMapURL method, built compare URLs
913            according to the documentation in OGC 01-068r3
914    
915            * Extensions/wms/capabilities.py (WMSCapabilities): Added the
916            class WMSCapabilities to manage capabilites, will incorporate
917            parsing the capabilities response and provide details for other
918            classes.
919    
920    2004-03-12  Bernhard Herzog  <[email protected]>
921    
922            Support views in addition to normal tables in the postgis
923            shapestore
924    
925            * Thuban/Model/postgisdb.py
926            (PostGISShapeStore._fetch_table_information): Add a fallback for
927            the case where the table name is not in the geometry_columns
928            table.  This is usually the case for views.  Also, set
929            self.shapestore here.
930            (PostGISShapeStore.ShapeType): No need to query the database all
931            the time.  The shape type is now determined in
932            _fetch_table_information
933    
934            * test/postgissupport.py (PostgreSQLServer.new_postgis_db)
935            (PostgreSQLServer.get_static_data_db, PostGISDatabase.__init__):
936            New parameter to specify views.
937            (PostGISDatabase.has_data): Also compare the views.  New views
938            parameter
939            (PostGISDatabase.initdb): Create the views.
940            (PostgreSQLServer.get_default_static_data_db): Add the v_landmarks
941            view
942    
943            * test/test_postgis_db.py
944            (TestPostGISShapestorePointFromViews): New.  Test a
945            PostGISShapeStore with a view
946            (TestPostGISShapestorePointOIDAsGIDColumn.setUp): Pass the name of
947            the geometry_column explicitly to test whether that works
948    
949    2004-03-12  Bernhard Herzog  <[email protected]>
950    
951            Final step for explicit id/geometry columns: Loading and saving
952    
953            * Resources/XML/thuban-1.1.dtd: New.  Derived from thuban-1.0.dtd
954            with the following changes:
955            (dbshapesource): Two new attributes id_column and geometry_column
956    
957            * Thuban/Model/save.py (SessionSaver.write): Use the new dtd
958            (SessionSaver.write_session): Use the new namespace
959            (SessionSaver.write_data_containers): Write the new dbshapesource
960            parameters
961    
962            * Thuban/Model/load.py (SessionLoader.__init__): New namespace for
963            the new file format version
964            (SessionLoader.start_dbshapesource): Handle the new db parameters
965    
966            * test/test_save.py: Update to the new dtd and namespace
967            (SaveSessionTest.test_save_postgis): Update the NonConnectionStore
968            mock object to provide a working IDColumn method.
969    
970            * test/test_load_1_0.py: New.  Copy of the test_load.py before
971            today's changes but with the round-trip tests removed.
972    
973            * test/test_load_0_9.py: Update doc-string.
974    
975            * test/test_load.py: Update all .thuban files to the new dtd and
976            namespace.
977            (TestPostGISLayer.file_contents): Add the new dbshapesource
978            paramters
979    
980    2004-03-11  Bernhard Herzog  <[email protected]>
981    
982            Next step for explicit id/geometry columns: User interaction
983    
984            * Thuban/UI/dbdialog.py (ChooseDBTableDialog.__init__): Rework how
985            the dialog is constructed. Add combo boxes to select id and
986            geometry column.  Rename some instance variables.
987            (ChooseDBTableDialog.GetTable): Return id and geometry column
988            names
989            (ChooseDBTableDialog.OnTableSelect): New. Event handler for
990            selections in the table list
991    
992            * Thuban/UI/mainwindow.py (MainWindow.AddDBLayer): Use id_column
993            and geometry_column
994    
995            * Thuban/Model/session.py (Session.OpenDBShapeStore): Add the new
996            parameters for id_column and geometry column of PostGISShapeStore
997            here as well.
998    
999            * Thuban/Model/postgisdb.py (type_map): Add ROWID psycog type.
1000            (_raw_type_map): New. Map raw PostgreSQL type ints to thuban types
1001            (PostGISConnection.GeometryTables): Use a better query to
1002            determine which relations in the database might be usable for
1003            shapestores.  Now supports views as well but is more PostgreSQL
1004            specific
1005            (PostGISConnection.table_columns): New. Somewhat experimental
1006            method to let the db dialogs provide lists of columns to users so
1007            that they can select id and geometry columns.
1008            (PostGISTable.__init__): The default value of the id_column
1009            parameter is now None it still means "gid" effectively, though.
1010            (PostGISTable.IDColumn): New introspection method to return a
1011            column object for the id column
1012            (PostGISShapeStore.GeometryColumn): New introspection method to
1013            return a column object for the geometry column
1014    
1015            * test/test_postgis_db.py
1016            (TestPostGISConnection.test_gis_tables_non_empty):
1017            Removed. Subsumed by the new:
1018            (TestPostGISConnection.test_gis_tables_with_views_and_tables):
1019            New. Tes the GeometryTables and table_columns methods with actual
1020            tables and views.
1021            (PointTests.test_id_column, PointTests.test_geometry_column):
1022            New. tests for the new methods.
1023            (TestPostGISShapestorePoint.setUp)
1024            (TestPostGISShapestorePointSRID.setUp)
1025            (TestPostGISShapestorePointExplicitGIDColumn.setUp): Fill the
1026            instance variables needed by the new tests
1027    
1028    2004-03-11  Bernhard Herzog  <[email protected]>
1029    
1030            * Thuban/UI/classgen.py (GenQuantilesPanel.GetList): The row
1031            numbers given to ReadValue are ordinals.
1032    
1033    2004-03-11  Bernhard Herzog  <[email protected]>
1034    
1035            Elimiate the requirement for PostGIS tables to have a column
1036            called "gid".
1037    
1038            * Thuban/Model/postgisdb.py (PostGISTable.__init__): New parameter
1039            id_column to specify which column to use to identify rows.  Also
1040            new instance variables id_column and quoted_id_column
1041            (PostGISTable.RowIdToOrdinal, PostGISTable.RowOrdinalToId)
1042            (PostGISTable.ReadRowAsDict, PostGISTable.ReadValue)
1043            (PostGISTable.SimpleQuery): Use the id column name provided to the
1044            constructor instead of "gid"
1045            (PostGISShapeStore.__init__): New parameter id_column analogously
1046            to PostGISTable.__init__.  This parameter is simply passed through
1047            to the base class constructor
1048            (PostGISShapeStore._create_col_from_description): Fix typo in
1049            doc-string
1050            (PostGISShapeStore.Shape, PostGISShapeStore.AllShapes)
1051            (PostGISShapeStore.ShapesInRegion): Use the id column name
1052            provided to the constructor instead of "gid"
1053    
1054            * test/postgissupport.py
1055            (PostgreSQLServer.get_default_static_data_db): New static table
1056            landmarks_point_id with an id column != "gid.  Update the comments
1057            a bit.
1058            (skip_if_addgeometrycolumn_does_not_use_quote_ident): Fix typo in
1059            doc-
1060            (upload_shapefile): New parameter gid_column to use a name other
1061            than "gid" for the column to store the shape ids
1062    
1063            * test/test_postgis_db.py (TableTests): New.  Mixin-class
1064            containing all tests previously in TestPostGISTable.  The actual
1065            tests are the same but the code is a bit more configurable to
1066            allow for different id columns etc.
1067            (TestPostGISTable): Derive from TableTests now for the actual
1068            tests.
1069            (TestPostGISTableExplicitGIDColumn): New. Like TestPostGISTable
1070            except that it the landmarks_point_id table to test the id_column
1071            parameter
1072            (PointTests): Extend the doc-string
1073            (TestPostGISShapestorePointExplicitGIDColumn)
1074            (TestPostGISShapestorePointOIDAsGIDColumn): New classes derived
1075            from PointTests to test the explicit id_column parameter.  One
1076            tests with the name of the column holding the shape ids, the other
1077            uses PostgreSQL's OID column.  For the latter a number of methods
1078            have to be overwritten to make them independent of the actual id
1079            values.
1080    
1081    2004-03-08  Silke Reimer  <[email protected]>
1082    
1083            Update debian directory:
1084    
1085            * debian/changelog: Added new version.
1086            * deiban/rules: Updated management of patches (with cbds)
1087            * debian/control: Added cbds to dependencies
1088            * debian/patches/*: New. Adds better support for patches of thuban in
1089                            debian
1090            * debian/menu: Syntax of menu changed slightly
1091            * debian/setup.py.patch: removed because it has been moved to
1092                            debian/patechs/setup.py.patch
1093            
1094    
1095    2004-02-26  Bernhard Herzog  <[email protected]>
1096    
1097            Create the Doc/technotes directory for text files with information
1098            for developers
1099    
1100            * Doc/technotes/README: New. README for the technotes
1101    
1102            * Doc/technotes/coding_guidelines.txt: New. Coding guidelines for
1103            Thuban
1104    
1105            * Doc/technotes/release_process.txt: New. Used to be
1106            HOWTO-Release.  Now slightly adapted to technote formatting style.
1107    
1108            * HOWTO-Release: Removed.  It's contents are now in
1109            Doc/technotes/release_process.txt
1110    
1111    2004-02-25  Bernhard Herzog  <[email protected]>
1112    
1113            * libraries/thuban/wxproj.cpp (get_wx_version): New.  Return the
1114            version of wxWindows the module was compiled with so we can check
1115            that against the wxPython version.
1116    
1117            * Thuban/version.py (thuban_branch, thuban_release): New variables
1118            controlling which and how Thuban versions are shown.  See the
1119            comments for details.
1120            (verify_versions): Also check that the wx version that wxproj is
1121            compiled against matches that of the wxPython we use at runtime
1122    
1123    2004-02-20  Bernhard Herzog  <[email protected]>
1124    
1125            * Extensions/wms/wms.py (epsg_code_to_projection): Use
1126            get_system_proj_file to read the epsg projections.  The old way
1127            depended on the current directory being the top Thuban directory.
1128    
1129    2004-02-20  Bernhard Herzog  <[email protected]>
1130    
1131            * Extensions/svgexport/test/test_svgmapwriter.py
1132            (TestVirtualDC.test_clippath): Remove a debug print
1133    
1134    2004-02-20  Bernhard Herzog  <[email protected]>
1135    
1136            * Extensions/svgexport/__init__.py: New.  Turn
1137            Extensions/svgexport into a package.
1138    
1139            * Extensions/svgexport/svgmapwriter.py: Reorder the imports and
1140            doc-string a bit.  The doc-string must come first, otherwise it's
1141            not a doc-string.  The __future__ import must be the first thing
1142            after the doc-string.  Use only double quotes in doc-strings.
1143            Single quotes trip up emacs syntax highlighting if the text
1144            contains apostrophes.
1145    
1146    2004-02-20  Bernhard Herzog  <[email protected]>
1147    
1148            * Extensions/svgexport/test/__init__.py,
1149            Extensions/svgexport/test/test_svgmapwriter.py: New. Initial test
1150            suite for svgexport
1151    
1152            * test/runtests.py (find_test_modules): New. Function with the
1153            module finding code from main.
1154            (main): Use find_test_modules to figure out the default test
1155            modules and take modules from Extensions.svgexport.test too.
1156    
1157    2004-02-19  Bernhard Herzog  <[email protected]>
1158    
1159            * Thuban/UI/application.py (ThubanApplication.OnInit): Make sure
1160            the mainwindow has a reference to the map of the initial session.
1161            This fixes a bug introduced with the fix for RT#2245
1162    
1163    2004-02-19  Bernhard Herzog  <[email protected]>
1164    
1165            * Extensions/svgexport/svgsaver.py,
1166            Extensions/svgexport/svgmapwriter.py,
1167            Extensions/svgexport/maplegend.py: Added again.  This time in the
1168            correct place.
1169    
1170    2004-02-17  Bernhard Herzog  <[email protected]>
1171    
1172            Fix for RT#2245
1173    
1174            * Thuban/UI/application.py (ThubanApplication.OnInit): Initialize
1175            instance variables before trying to create any windows.  Creating
1176            windows can start an event loop if e.g. message boxes are popped
1177            up for some reason, and event handlers, especially EVT_UPDATE_UI
1178            may want to access things from the application.
1179            (ThubanApplication.maps_changed): The mainwindow may not have been
1180            created yet, so check whether it has been created before calling
1181            its methods
1182    
1183            * Thuban/UI/view.py (MapCanvas.OnIdle): Only try to redraw if we
1184            have a map
1185    
1186    2004-02-17  Bernhard Herzog  <[email protected]>
1187    
1188            * test/test_svgmapwriter.py, Extensions/svgsaver.py,
1189            Extensions/svgmapwriter.py, Extensions/maplegend.py,
1190            extensions/svgexport/svgsaver.py,
1191            extensions/svgexport/svgmapwriter.py,
1192            extensions/svgexport/maplegend.py: Removed.  These files were in
1193            the wrong places or didn't work at all.
1194    
1195    2004-02-16  Bernhard Herzog  <[email protected]>
1196    
1197            * Thuban/UI/view.py (MapCanvas.Export): Remove accidentally added
1198            line
1199    
1200    2004-02-16  Bernhard Herzog  <[email protected]>
1201    
1202            * Thuban/UI/view.py (MapCanvas.Export): Avoid UnboundLocalError.
1203    
1204    2004-02-15  Markus Rechtien  <[email protected]>
1205            
1206            * Extensions/svgexport/svgmapwriter.py: New. Adds the capability
1207            to write a session to a file in SVG format.
1208            * Extensions/svgexport/svgsaver.py: New. Uses svgmapwriter.py
1209            to write a SVG map of a session.
1210            * Extensions/svgexport/maplegend: New. Writes a basic maplegend
1211            in SVG format for the current session.
1212    
1213    2004-02-13  Bernhard Herzog  <[email protected]>
1214    
1215            * Thuban/UI/mainwindow.py (MainWindow.AddDBLayer): When the layer
1216            can't be created, return immediately after displaying the error
1217            message.
1218    
1219    2004-02-11  Bernhard Herzog  <[email protected]>
1220    
1221            Handle postgis tables with more than one geometry column.
1222    
1223            * Thuban/Model/postgisdb.py
1224            (PostGISTable._fetch_table_information): Delegate the creation of
1225            column objects to a different method so that we can extend that in
1226            derived classes
1227            (PostGISTable._create_col_from_description): New. Column object
1228            creation part of _fetch_table_information
1229            (PostGISShapeStore._create_col_from_description): New. Extend
1230            inherited method to handle geometry columns
1231            (PostGISShapeStore.__init__): New parameter geometry_column to
1232            specify which geometry column to use.  Optional but mandatory for
1233            tables with more than one geometry column
1234            (PostGISShapeStore._fetch_table_information): Also use the name of
1235            the geometry column when looking for the srid
1236            (PostGISShapeStore.ShapeType): Also use the name of the geometry
1237            column when looking for the shape type
1238    
1239            * test/test_save.py (SaveSessionTest.test_save_postgis): Adapt
1240            NonConnectionStore to changes in the PostGISShapeStore
1241    
1242            * test/test_postgis_db.py
1243            (TestPostGISSpecialCases.test_shapestore_two_geom_cols): Test
1244            PostGISShapeStore with tables having two geometry columns.
1245    
1246    2004-02-10  Bernhard Herzog  <[email protected]>
1247    
1248            Fix some postgis problems.  What remains to be done is real
1249            handling of SRIDs as they affect how reprojection is done
1250    
1251            * Thuban/Model/postgisdb.py (quote_identifier): Fix typo in
1252            doc-string
1253            (PostGISShapeStore._fetch_table_information): New. Extend
1254            inherited method to retrieve srid
1255            (PostGISShapeStore.BoundingBox): Handle tables without data.
1256            extent yields NULL for those
1257            (PostGISShapeStore.ShapesInRegion): Use the srid of the table.
1258    
1259            * test/test_postgis_db.py
1260            (TestPostGISSpecialCases.test_shapestore_empty_table): New test
1261            for the special case of a table without any data
1262            (TestPostGISShapestorePointSRID): New class with tests for a table
1263            that uses srids
1264            (PolygonTests): Fix a doc-string typo
1265    
1266            * test/postgissupport.py (PostGISDatabase.__init__): New parameter
1267            reference_systems with a specification of spacial reference
1268            systems to create in the new db.
1269            (PostgreSQLServer.new_postgis_db)
1270            (PostgreSQLServer.get_static_data_db): New parameter
1271            reference_systems to be passed through ultimately to
1272            PostGISDatabase.  In new_postgis_db also check whether an existing
1273            db already has the right srids
1274            (PostgreSQLServer.get_default_static_data_db): Add srids and a
1275            table that uses srids
1276            (PostGISDatabase.initdb): Create the entries for the reference
1277            systems
1278            (PostGISDatabase.has_data): Add reference_systems parameter to
1279            check for those too
1280            (upload_shapefile): New parameter srid to create tables with a
1281            specific srid
1282    
1283    2004-02-06  Frank Koormann  <[email protected]>
1284    
1285            * po/pt_BR.po: Fixed charset
1286    
1287    2004-02-05  Frank Koormann  <[email protected]>
1288    
1289            * po/pt_BR.po: Fixed format string for error message, missing %s
1290            added (Thuban/UI/application.py:273)
1291    
1292    2004-02-03  Frank Koormann  <[email protected]>
1293            
1294            First version of Portuguese (Brazilian) translation
1295    
1296            * po/pt_BR.po: New, translation of pot (2004-01-15 16:07+0300) for
1297            Brazilian Portuguese by Eduardo Patto Kanegae.
1298    
1299            * Thuban/UI/about.py (About.__init.py__): Added Eduardo to the list of
1300            translators.
1301    
1302    
1303    2004-01-22  Frank Koormann  <[email protected]>
1304    
1305            * Doc/manual/thuban-manual.xml: Added section on installation of
1306            Thuban under Win32 systems. Fixed image path references in the postgis
1307            section. Some minor source formattings.
1308    
1309    2004-01-21  Frank Koormann  <[email protected]>
1310    
1311            Make Thuban remember path selections (at least for one application run).
1312    
1313            * Thuban/UI/application.py (Application.OnInit): Initialize path as a
1314            attribute of application object. Path is a dictionary of
1315            strings, currently with the items "data" and "projection".  
1316            (Application.SetPath): New, stores path for the specified item.
1317            (Application.Path): New, return path for the specified item.
1318    
1319            * Thuban/UI/mainwindow.py
1320            (MainWindow.OpenSession, MainWindow.SaveSessionAs,
1321            MainWindow.AddLayer, MainWindow.AddRasterLayer,
1322            MainWindow.TableOpen): Access "data" path information of the
1323            application.
1324            
1325            * Thuban/UI/projdialog.py (ProjFrame._OnImport, ProjFrame._OnExport):
1326            Access "projection" path information of the application.
1327    
1328    2004-01-05  Bernhard Herzog  <[email protected]>
1329    
1330            * po/ru.po: Updated translations from Alex Shevlakov
1331    
1332    2004-01-05  Bernhard Herzog  <[email protected]>
1333    
1334            * po/Makefile, po/README: Move the description of how to generate
1335            the translation statistics to the README.
1336    
1337    2003-12-23  Bernhard Herzog  <[email protected]>
1338    
1339            * NEWS: Update for 1.0.0
1340    
1341            * po/it.po: Another update from Maurizio Napolitano
1342    
1343    2003-12-23  Bernhard Herzog  <[email protected]>
1344    
1345            * po/it.po: Updated translation from Maurizio Napolitano
1346    
1347    2003-12-23  Bernhard Herzog  <[email protected]>
1348    
1349            * Thuban/UI/join.py (JoinDialog.__init__): Mark one more string
1350            for translation
1351    
1352            * Thuban/UI/mainwindow.py (MainWindow.TableRename)
1353            (MainWindow.RenameMap, MainWindow.RenameLayer): Mark some more
1354            strings for translation
1355    
1356            * po/de.po: Update with the newly marked strings.
1357    
1358    2003-12-22  Bernhard Herzog  <[email protected]>
1359    
1360            * HOWTO-Release: Fix the places where version numbers have to be
1361            updated
1362    
1363    2003-12-22  Bernhard Herzog  <[email protected]>
1364    
1365            * setup.py (setup call): 1.0.0, yeah!
1366    
1367            * Thuban/version.py (longversion): 1.0.0, yeah!
1368    
1369            * Thuban/Model/load.py (SessionLoader.__init__): Accept the
1370            1.0.0 namespace too
1371    
1372            * Thuban/Model/save.py (SessionSaver.write_session): Save with
1373            1.0.0 namespace
1374    
1375            * test/test_load.py (LoadSessionTest.dtd)
1376            (TestSingleLayer.file_contents)
1377            (TestNonAsciiColumnName.file_contents)
1378            (TestLayerVisibility.file_contents)
1379            (TestClassification.file_contents, TestLabels.file_contents)
1380            (TestLayerProjection.file_contents)
1381            (TestRasterLayer.file_contents, TestJoinedTable.file_contents)
1382            (TestLabelLayer.file_contents, TestPostGISLayer.file_contents)
1383            (TestPostGISLayerPassword.file_contents)
1384            (TestLoadError.file_contents, TestLoadError.test): Update for
1385            1.0.0 namespace
1386    
1387            * test/test_save.py (SaveSessionTest.dtd)
1388            (SaveSessionTest.testEmptySession)
1389            (SaveSessionTest.testSingleLayer)
1390            (SaveSessionTest.testLayerProjection)
1391            (SaveSessionTest.testRasterLayer)
1392            (SaveSessionTest.testClassifiedLayer)
1393            (SaveSessionTest.test_dbf_table)
1394            (SaveSessionTest.test_joined_table)
1395            (SaveSessionTest.test_save_postgis): Update for 1.0.0 namespace
1396    
1397    2003-12-22  Bernhard Herzog  <[email protected]>
1398    
1399            * Thuban/Model/load.py (SessionLoader.start_label): Make sure the
1400            alignment flags are byte strings not unicode and that they have
1401            valid values
1402    
1403            * test/test_load.py (TestLabelLayer): New. Test loading (and
1404            indirectly saving) of maps with labels.
1405    
1406    2003-12-22  Bernhard Herzog  <[email protected]>
1407    
1408            * Thuban/UI/tableview.py (TableGrid.OnDestroy)
1409            (TableGrid.__init__): Handle EVT_WINDOW_DESTROY in the grid to
1410            unsubscribe all subscribers.
1411            (LayerTableFrame.OnDestroy): Do not unsubscribe any messages from
1412            self.grid since it may already have been destroyed.
1413            Fixes RT #2256
1414    
1415    2003-12-19  Bernhard Herzog  <[email protected]>
1416    
1417            * po/fr.po, po/es.po: Updated translations from Daniel Calvelo
1418    
1419    2003-12-16  Bernhard Herzog  <[email protected]>
1420            
1421            * debian/bitmappath.patch, debian/setup.py.patch:
1422                    added to ensure compliance with FHS for debian
1423            * debian/rules, debian/changelog:
1424                added patches in rules to ensure compliance with FHS for debian
1425    
1426    2003-12-16  Bernhard Herzog  <[email protected]>
1427    
1428            * po/Makefile (mo): Make the output a bit nicer so that it prints
1429            statistics about the translations. Add a comment how produce even
1430            nicer statistics with sed.
1431    
1432    2003-12-09  Frank Koormann   <[email protected]>
1433    
1434            * Resources/Projections/defaults.proj:
1435            French projection sample with correct accents (UNICODE).
1436    
1437    2003-12-05  Bernhard Herzog  <[email protected]>
1438    
1439            * MANIFEST.in: Add the devtools directory
1440    
1441            * setup.py (setup call): Use license instead of licence. This
1442            silences a deprecation warning on Python 2.3
1443    
1444    2003-12-05  Frank Koormann   <[email protected]>
1445    
1446            Documentation synced with 1.0rc1
1447    
1448            * Doc/manual/thuban-manual.xml:
1449            Minor formatting changes and references to database layers .
1450            Introduction.Internationalization: New section on i18n.
1451            MapManagement.AddingandRemovingLayers: Added item on database layers.  
1452            MapManagement.TheLegend: Added section and screenshot on popup menu.
1453            ProjectionManagement: Updated screenshot and sentence on EPSG.
1454            Appendix.SupportedDataSources: Added PostGIS.
1455            Appendix.WorkingwithPostGIS: New section.
1456    
1457            * Doc/manual/images/6_projection.png: Updated screenshot including
1458            EPSG checkboxes.
1459    
1460            * Doc/manual/images/3_5_popup_menu.png: New, popup menu screenshot.
1461    
1462            * Doc/manual/images/app_postgis_add_layer.png,
1463            Doc/manual/images/app_postgis_db_add.png,
1464            Doc/manual/images/app_postgis_db_management.png:
1465            New screenshots focussing on database layers
1466    
1467    2003-12-05  Frank Koormann   <[email protected]>
1468    
1469            * Thuban/UI/projdialog.py (load_user_proj): If user.proj is missing
1470            write warning to stderr instead of rising a warning dialog
1471    
1472    2003-12-03  Bernhard Herzog  <[email protected]>
1473    
1474            Fix for RT #2243
1475    
1476            * Thuban/UI/mainwindow.py (MainWindow.has_selected_shape_layer):
1477            New. Like has_selected_layer but for shape layers only
1478            (_has_selected_shape_layer): New. Like _has_selected_layer but for
1479            shape layers only
1480            (layer_show_table command, layer_jointable command): Use these
1481            commands should only be available for shape layers
1482    
1483    2003-12-03  Bernhard Herzog  <[email protected]>
1484    
1485            * Thuban/UI/mainwindow.py (MainWindow.Unsubscribe): Deal with
1486            publishers that are wx objects and may have been destroyed by wx
1487            already. Fixes RT #2242.
1488    
1489    2003-12-03  Bernhard Herzog  <[email protected]>
1490    
1491            * po/ru.po: Updates from Alex Shevlakov
1492    
1493    2003-12-03  Silke Reimer <silkeintevation.de>
1494    
1495            * debian/control, debian/changelog: Added gdal-support to
1496                    debian package, updated to new thuban version
1497    
1498    
1499    2003-12-03  Bernhard Herzog  <[email protected]>
1500    
1501            * Thuban/Lib/version.py: New. Module for version number
1502            manipulations. The version of make_tuple here also deals better
1503            with more unusual version number strings, such as e.g.
1504            "1.2+cvs20031111"
1505    
1506            * Thuban/version.py (make_tuple): Removed. It's now in
1507            Thuban.Lib.version. Use that implementation instead.
1508    
1509            * test/test_lib_version.py: New. Tests for Thuban/Lib/version.py
1510    
1511    2003-12-02  Bernhard Herzog  <[email protected]>
1512    
1513            * MANIFEST.in: Add debian files
1514    
1515            * setup.py (setup call): Add packages for the Extensions so that
1516            they're installed too
1517            (data_files): Add READMEs and sample data from some Extensions
1518    
1519            * NEWS: Add note about the extensions in binary packages
1520    
1521    2003-12-02  Bernhard Herzog  <[email protected]>
1522    
1523            * Thuban/Model/save.py (SessionSaver.write_session): Save files
1524            with the thuban-1.0rc1
1525    
1526            * Thuban/Model/load.py (SessionLoader.__init__): Recognize the
1527            thuban-1.0rc1 namespace too
1528    
1529            * test/test_save.py (SaveSessionTest.dtd)
1530            (SaveSessionTest.testEmptySession)
1531            (SaveSessionTest.testSingleLayer)
1532            (SaveSessionTest.testLayerProjection)
1533            (SaveSessionTest.testRasterLayer)
1534            (SaveSessionTest.testClassifiedLayer)
1535            (SaveSessionTest.test_dbf_table)
1536            (SaveSessionTest.test_joined_table)
1537            (SaveSessionTest.test_save_postgis): Update to thuban-1.0rc1
1538            namespace
1539    
1540            * test/test_load.py (LoadSessionTest.dtd): Update to thuban-1.0rc1
1541            namespace
1542            (TestSingleLayer.file_contents)
1543            (TestNonAsciiColumnName.file_contents)
1544            (TestLayerVisibility.file_contents)
1545            (TestClassification.file_contents, TestLabels.file_contents)
1546            (TestLayerProjection.file_contents)
1547            (TestRasterLayer.file_contents, TestJoinedTable.file_contents)
1548            (TestPostGISLayer.file_contents)
1549            (TestPostGISLayerPassword.file_contents)
1550            (TestLoadError.file_contents, TestLoadError.test): Update to
1551            thuban-1.0rc1 namespace
1552    
1553    2003-12-01  Bernhard Herzog  <[email protected]>
1554    
1555            * setup.py (proj4_prefix, wx_prefix, gdal_prefix): Fix these for
1556            nt to better match Intevation's current w32 setup
1557    
1558            * HOWTO-Release: Add note about updating MANIFEST.in
1559    
1560            * MANIFEST.in: Add the Extensions
1561    
1562            * NEWS: Update for 1.0rc1
1563    
1564    2003-12-01  Bernhard Herzog  <[email protected]>
1565    
1566            * Thuban/UI/mainwindow.py (MainWindow.AddLayer): Change the wild
1567            cards for the dialog so that shapefiles ending in all uppercase
1568            SHP are listed too
1569    
1570    2003-11-28  Bernhard Herzog  <[email protected]>
1571    
1572            * Thuban/version.py (longversion): Update to 1.0rc1
1573    
1574            * setup.py (setup call): Update version to 1.0rc1. Use the
1575            [email protected] email address as author email instead of my
1576            personal one.
1577    
1578    2003-11-28  Bernhard Herzog  <[email protected]>
1579    
1580            * po/de.po: Update german translation.
1581    
1582    2003-11-28  Bernhard Herzog  <[email protected]>
1583    
1584            Unify the filenames stored in .thuban files so that the .thuban
1585            files are more platform independend
1586    
1587            * Thuban/Model/save.py (unify_filename): New. Unify filenames so
1588            that they can be used on both windows and unix
1589            (SessionSaver.prepare_filename): New. Handle all filename
1590            transformations for filenames stored in the thuban file
1591            (SessionSaver.write_data_containers, SessionSaver.write_layer):
1592            Use prepare_filename
1593    
1594            * test/test_save.py (SaveSessionTest.testSingleLayer)
1595            (SaveSessionTest.testLayerProjection)
1596            (SaveSessionTest.testRasterLayer)
1597            (SaveSessionTest.testClassifiedLayer)
1598            (SaveSessionTest.test_dbf_table)
1599            (SaveSessionTest.test_joined_table): Filenames are always stored
1600            with slashes on all currently supported platforms so adapt all
1601            tests to this
1602    
1603            * test/test_load.py (LoadSessionTest.filenames): With the new
1604            filename scheme the filenames in the tests should be
1605            understandable on all currently supported platforms so we turn
1606            this into an empty list because we don't have to normalize them
1607            anymore
1608    
1609    2003-11-28  Bernhard Herzog  <[email protected]>
1610    
1611            * test/test_layer.py (TestLayer.test_arc_layer_with_projection):
1612            Add the ellipsoid to the projection since some Proj versions
1613            complain if it's missing.
1614    
1615    2003-11-27  Bernhard Herzog  <[email protected]>
1616    
1617            Corect some bounding box projection problems
1618    
1619            * Thuban/Model/proj.py (Projection.InverseBBox): New. Inverse
1620            version of ForwardBBox
1621            (Projection._transform_bbox): New. common implementation of
1622            ForwardBBox and InverseBBox
1623            (Projection.ForwardBBox): Use _transform_bbox.
1624    
1625            * test/test_proj.py (TestProjection.test): Add test for
1626            InverseBBox
1627    
1628            * Thuban/Model/layer.py (Layer.LatLongBoundingBox)
1629            (Layer.ShapesBoundingBox, RasterLayer.LatLongBoundingBox): Use the
1630            new InverseBBox method to determine the unprojected bounding box
1631            (Layer.ShapesInRegion): Use the ForwardBBox method to project the
1632            bbox.
1633    
1634            * test/test_layer.py (TestLayer.test_point_layer_with_projection):
1635            Removed.
1636            (TestLayer.test_arc_layer_with_projection): New. This test is
1637            better able to test whether bounding boxes are projected correctly
1638            than test_point_layer_with_projection
1639    
1640            * Thuban/UI/viewport.py (ViewPort.map_projection_changed): Use
1641            InverseBBox to unproject bboxes
1642    
1643    2003-11-25  Bernhard Herzog  <[email protected]>
1644    
1645            * Thuban/UI/about.py (About.__init__): Make sure we have ASCII
1646            source code.
1647    
1648    2003-11-25  Bernhard Herzog  <[email protected]>
1649    
1650            * Thuban/Model/layer.py (Layer.__getattr__): Removed. It was only
1651            there for backwards compatibility and all code relying on that
1652            should have been updated by now.
1653    
1654    2003-11-25  Bernhard Herzog  <[email protected]>
1655    
1656            * test/test_load.py (TestClassification.test): Add the missing
1657            round trip test.
1658            (TestClassification.file_contents): Update to the newest file
1659            format
1660    
1661    2003-11-25  Bernhard Herzog  <[email protected]>
1662    
1663            Add very experimental (and possibly dangerous) extension to draw
1664            polygons:
1665    
1666            * Extensions/drawshape/README: New. Brief installation
1667            instructions
1668    
1669            * Extensions/drawshape/drawshape.py: New. Implementation of the
1670            drawshape extensions
1671    
1672            * Extensions/drawshape/patch.diff: Patch to apply before the
1673            extension can be used.
1674    
1675    2003-11-24  Bernhard Herzog  <[email protected]>
1676    
1677            * Thuban/Model/data.py (ShapefileStore._open_shapefile)
1678            (ShapefileStore.__init__): Factor opening the shapefile into a
1679            separate method (the new _open_shapefile). This makes the code a
1680            bit more readable but the real reason is that it makes some evil
1681            hacks easier. :-)
1682    
1683    2003-11-24  Bernhard Herzog  <[email protected]>
1684    
1685            * Thuban/Model/load.py (SessionLoader.check_attrs): If no
1686            converter is specified for an attribute assume it's a string
1687            containing only Latin1 characters. Update doc-string accordingly.
1688            This change should fix many places where unicode objects might
1689            accidentally enter Thuban.
1690    
1691            * test/test_load.py (TestNonAsciiColumnName): New test to check
1692            what happens with column names in DBF files that contain non-ascii
1693            characters
1694    
1695    2003-11-21  Bernhard Herzog  <[email protected]>
1696    
1697            Enable the experimental attribute editing again and introduce a
1698            command line switch to actually activate it
1699    
1700            * Thuban/UI/main.py (options): New. Container for options set on
1701            the commmand line
1702            (main): Add the --enable-attribute-editing flag.
1703    
1704            * Thuban/UI/identifyview.py (IdentifyView.__init__): If attribute
1705            editing is enabled use the grid ctrl which allows editing of the
1706            values
1707    
1708            * Thuban/Model/transientdb.py (AutoTransientTable.write_record):
1709            New. Just delegate this to the underlying table.
1710    
1711    2003-11-20  Bernhard Herzog  <[email protected]>
1712    
1713            * test/test_proj.py (ProjFileReadTests.test_read_unreadable_file):
1714            Skip this test if run under non-posix systems since it only works
1715            there
1716    
1717    2003-11-19  Bernhard Herzog  <[email protected]>
1718    
1719            * Thuban/Model/resource.py: Rework the way gdal support is
1720            determined so that we can give a reason in the about why gdal is
1721            not supported.
1722            (gdal_support_status): New. Variable holding a string with the
1723            reason for no gdal support
1724    
1725            * Thuban/UI/about.py (About.__init__): Add the reason why gdal is
1726            not supported to the message
1727    
1728    2003-11-19  Bernhard Herzog  <[email protected]>
1729    
1730            Remove the old table interface and its test cases
1731    
1732            * Thuban/Model/table.py (OldTableInterfaceMixin): Removed.
1733            (DBFTable, MemoryTable): Do not derive from OldTableInterfaceMixin
1734            anymore
1735    
1736            * Thuban/Model/transientdb.py (TransientTableBase)
1737            (AutoTransientTable): Do not derive from OldTableInterfaceMixin
1738            anymore
1739    
1740            * test/test_table.py: Removed since the old interface it tests is
1741            gone.
1742    
1743            * test/runtests.py (main): The old table interface is gone and
1744            with it the deprecation warnings so remove the code that turns
1745            these warnings into errors
1746    
1747  2003-11-19  Bernhard Herzog  <[email protected]>  2003-11-19  Bernhard Herzog  <[email protected]>
1748    
1749          * test/test_table.py: Revert to revision 1.5 again. Changing the          * test/test_table.py: Revert to revision 1.5 again. Changing the
# Line 3582  Line 5328 
5328          Fix problem of hidden properties dialog under windows after double          Fix problem of hidden properties dialog under windows after double
5329          click on layer tree:          click on layer tree:
5330          The tree control always gets an Expanded / Collapsed event after          The tree control always gets an Expanded / Collapsed event after
5331          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.
5332            We add a second ItemActivated event to the queue, which simply
5333          raises the already displayed window.          raises the already displayed window.
5334    
5335          * Thuban/UI/legend.py (LegendTree.__init__): Instance variable          * Thuban/UI/legend.py (LegendTree.__init__): Instance variable

Legend:
Removed from v.1960  
changed lines
  Added in v.2335

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26