/[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 1237 by jonathan, Wed Jun 18 15:30:14 2003 UTC revision 1260 by bh, Fri Jun 20 12:32:05 2003 UTC
# Line 1  Line 1 
1    2003-06-20  Bernhard Herzog  <[email protected]>
2    
3            * test/test_save.py (SaxEventLister, sax_eventlist): Removed. Use
4            the implementation in xmlsupport instead.
5            (SaveSessionTest.compare_xml): sax_eventlist is now in xmlsupport
6    
7            * test/test_proj.py: Import sax_eventlist from xmlsupport instead
8            of test_save
9    
10    2003-06-20  Bernhard Herzog  <[email protected]>
11    
12            * test/test_load.py (LoadSessionTest.check_format): New helper
13            method to make sure the test files we load might have been written
14            by the current thuban version.
15            (ClassificationTest.TestLayers, TestSingleLayer.test)
16            (TestLayerVisibility.test, TestClassification.test)
17            (TestLabels.test, TestLayerProjection.test, TestRasterLayer.test):
18            Add check_format() calls and fix the thuban data to match the data
19            that would be written by saving the session loaded from it.
20    
21            * test/xmlsupport.py (SaxEventLister, sax_eventlist): Copies of
22            the same class and function in test_save.
23    
24            * test/test_xmlsupport.py (TestEventList): New. test cases for
25            sax_eventlist
26    
27    2003-06-20  Bernhard Herzog  <[email protected]>
28    
29            * Resources/XML/thuban.dtd: Add comment about which versions of
30            Thuban are covered by this DTD
31            (map): Fix content model for layers and raster layers. There can
32            be any number or layers and raster layers in any order.
33    
34    2003-06-20  Jonathan Coles   <[email protected]>
35    
36            * Thuban/Model/classification.py: Remove "from __future__"
37            import statement since python 2.2 is the earliest supported
38            version.
39    
40            * Thuban/Model/proj.py (Projection.GetProjectedUnits): New.
41            Currently returns PROJ_UNITS_METERS or PROJ_UNITS_DEGREES
42            depending on the units this projection *forwards* into.
43    
44            * Thuban/Model/save.py (SessionSaver.write_classification):
45            Remove unnecessary use of lambdas and nested functions.
46    
47            * Thuban/UI/legend.py (ScaleBarBitmap.__SetScale): Do scale
48            adjustment here if the map projection uses degrees.
49    
50            * Thuban/UI/scalebar.py (ScaleBar.DrawScaleBar): Remove
51            scale adjust code since it is now done before calling
52            this method. Don't do anything if the map projection
53            is None.
54    
55    2003-06-19  Bernhard Herzog  <[email protected]>
56    
57            Move version specific load tests to their own file.
58    
59            * test/test_load.py: Expand the doc-string to explain a bit how to
60            handle file format changes.
61            (TestClassification.test): Update the docstring as this test is
62            not about Thuban 0.2 anymore.
63    
64            * test/test_load_0_2.py: New file with the load tests for thuban
65            files created with Thuban 0.2 and earlier.
66    
67    2003-06-19  Bernhard Herzog  <[email protected]>
68    
69            Add XML validation to some of the tests. Validation will only be
70            done if pyRXP is installed (http://reportlab.com/xml/pyrxp.html).
71            To make the DTD available to the test cases it's moved into
72            Resources/XML
73    
74            * Resources/XML/thuban.dtd: New. This is now the real Thuban DTD
75            for versions up to and including 0.2. Two slight changes: added an
76            encoding specification and fixed the comment which refered to
77            GRASS, not Thuban
78    
79            * test/xmlsupport.py: New support module for tests involving XML.
80            Currently there's a mix-in class for XML validation.
81    
82            * test/test_xmlsupport.py: New. Tests for the xmlsupport module
83    
84            * test/test_save.py (SaveSessionTest): Derive from ValidationTest
85            so that we can validate the
86            (SaveSessionTest.testEmptySession)
87            (SaveSessionTest.testSingleLayer)
88            (SaveSessionTest.testSingleLayer)
89            (SaveSessionTest.testLayerProjection)
90            (SaveSessionTest.testRasterLayer)
91            (SaveSessionTest.testClassifiedLayer): Validate the generated XML
92    
93            * test/runtests.py (main): Call print_additional_summary instead
94            of print_garbage_information
95    
96            * test/support.py (resource_dir): New function to return the
97            "Resource" subdirectory
98            (print_additional_summary): New function to combine several
99            summary functions
100            (run_tests): Use print_additional_summary instead of calling
101            print_garbage_information directly
102    
103    2003-06-19  Bernhard Herzog  <[email protected]>
104    
105            * Doc/thuban.dtd (classification): Correct the content model of
106            the classification element.
107            (projection): Add the "name" attribute
108    
109    2003-06-19  Frank Koormann   <[email protected]>
110    
111            MERGE from the greater-ms3 branch.
112    
113            * Thuban/UI/scalebar.py (ScaleBar.DrawScaleBar): Apply conversion to
114            scale if projection is latlong to get better estimate.
115    
116            Fix problem of hidden properties dialog under windows after double
117            click on layer tree:
118            The tree control always gets an Expanded / Collapsed event after
119            the ItemActivated  on double click, which raises the main window again.         We add a second ItemActivated event to the queue, which simply
120            raises the already displayed window.
121    
122            * Thuban/UI/legend.py (LegendTree.__init__): Instance variable
123            raiseProperties initialized to prevent endless loops
124            (LegendTree._OnItemActivated): Depending on self.raiseProperties
125            simply raise the properties or open the dialog and issue a second
126            event.
127    
128    2003-06-18  Jonathan Coles   <[email protected]>
129    
130            * setup.py: Fix a few problems that occured under Windows.
131    
132  2003-06-18  Jonathan Coles   <[email protected]>  2003-06-18  Jonathan Coles   <[email protected]>
133    
134          When Thuban loaded the map was redrawn twice because the          When Thuban loaded the map was redrawn twice because the

Legend:
Removed from v.1237  
changed lines
  Added in v.1260

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26