/[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 1224 by jonathan, Tue Jun 17 15:26:11 2003 UTC revision 1246 by bh, Thu Jun 19 19:29:33 2003 UTC
# Line 1  Line 1 
1    2003-06-19  Bernhard Herzog  <bh@intevation.de>
2    
3            Add XML validation to some of the tests. Validation will only be
4            done if pyRXP is installed (http://reportlab.com/xml/pyrxp.html).
5            To make the DTD available to the test cases it's moved into
6            Resources/XML
7    
8            * Resources/XML/thuban.dtd: New. This is now the real Thuban DTD
9            for versions up to and including 0.2. Two slight changes: added an
10            encoding specification and fixed the comment which refered to
11            GRASS, not Thuban
12    
13            * test/xmlsupport.py: New support module for tests involving XML.
14            Currently there's a mix-in class for XML validation.
15    
16            * test/test_xmlsupport.py: New. Tests for the xmlsupport module
17    
18            * test/test_save.py (SaveSessionTest): Derive from ValidationTest
19            so that we can validate the
20            (SaveSessionTest.testEmptySession)
21            (SaveSessionTest.testSingleLayer)
22            (SaveSessionTest.testSingleLayer)
23            (SaveSessionTest.testLayerProjection)
24            (SaveSessionTest.testRasterLayer)
25            (SaveSessionTest.testClassifiedLayer): Validate the generated XML
26    
27            * test/runtests.py (main): Call print_additional_summary instead
28            of print_garbage_information
29    
30            * test/support.py (resource_dir): New function to return the
31            "Resource" subdirectory
32            (print_additional_summary): New function to combine several
33            summary functions
34            (run_tests): Use print_additional_summary instead of calling
35            print_garbage_information directly
36    
37    2003-06-19  Bernhard Herzog  <bh@intevation.de>
38    
39            * Doc/thuban.dtd (classification): Correct the content model of
40            the classification element.
41            (projection): Add the "name" attribute
42    
43    2003-06-19  Frank Koormann   <frank.koormann@intevation.de>
44    
45            MERGE from the greater-ms3 branch.
46    
47            * Thuban/UI/scalebar.py (ScaleBar.DrawScaleBar): Apply conversion to
48            scale if projection is latlong to get better estimate.
49    
50            Fix problem of hidden properties dialog under windows after double
51            click on layer tree:
52            The tree control always gets an Expanded / Collapsed event after
53            the ItemActivated  on double click, which raises the main window again.         We add a second ItemActivated event to the queue, which simply
54            raises the already displayed window.
55    
56            * Thuban/UI/legend.py (LegendTree.__init__): Instance variable
57            raiseProperties initialized to prevent endless loops
58            (LegendTree._OnItemActivated): Depending on self.raiseProperties
59            simply raise the properties or open the dialog and issue a second
60            event.
61    
62    2003-06-18  Jonathan Coles   <jonathan@intevation.de>
63    
64            * setup.py: Fix a few problems that occured under Windows.
65    
66    2003-06-18  Jonathan Coles   <jonathan@intevation.de>
67    
68            When Thuban loaded the map was redrawn twice because the
69            legend was being opened after the mainwindow was created
70            and not during its creation. This meant the map was drawn
71            initially and then had to be redrawn when the legend
72            caused the display to change. Now the legend is opened
73            in the mainwindow constructor which resolves this issue.
74    
75            Also, although we were checking for the existence of
76            gdal and gdalwarp modules, the gdalwarp extension was
77            still being compiled (which may fail if the system doesn't
78            have gdal installed). the build_ext command to setup.py
79            now accepts the flags --with-gdal and --without-gdal.
80            If --without-gdal is specified setup.py will try to
81            use the gdal parameters specified by gdal-config. Under
82            windows, those parameters have to be set in setup.py
83            as with proj4 an wxWindows.
84    
85            * setup.py: Use a list instead of seperate variables for
86            extension parameters so we can create a generic function
87            that runs an appropriate *-config script.
88            (run_cs_script): Renamed from run_wx_script and modified
89            to accept a second argument which is a list of lists to
90            be filled in by the values returned from running the command.
91            (thuban_build_ext): New. Extends the build_ext command and
92            provides the options --with-gdal/--without-gdal which then
93            optionally includes the gdalwarp extension.
94    
95            * Thuban/Model/resource.py: First check if we can import
96            the gdalwarp Thuban extension before checking for gdal.
97            Also added some comments.
98            
99            * Thuban/UI/legend.py (ScaleBarBitmap.__SetScale): Check if
100            the map is None which may be the case if none has been loaded
101            yet.
102    
103            * Thuban/UI/main.py (main): Remove call to ShowLegend.
104    
105            * Thuban/UI/mainwindow.py (MainWindow.__init__): Call ShowLegend().
106    
107            * Thuban/UI/renderer.py: Check for gdal support before importing
108            gdalwarp.
109            (MapRenderer.render_map): Only try to optimize if we have gdal
110            support otherwise nothing will get drawn.
111    
112            * Thuban/UI/view.py (MapCanvas.FitMapToWindow): This may be called
113            during startup before a map has been created. Check if map is None
114            before using it and do nothing if it is.
115    
116  2003-06-17  Jonathan Coles   <jonathan@intevation.de>  2003-06-17  Jonathan Coles   <jonathan@intevation.de>
117    
118          Fix the problem with raster layers under Windows that caused          Fix the problem with raster layers under Windows that caused

Legend:
Removed from v.1224  
changed lines
  Added in v.1246

root@scm.wald.intevation.org
ViewVC Help
Powered by ViewVC 1.1.26