/[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 1312 by jonathan, Thu Jun 26 17:01:28 2003 UTC revision 1360 by jonathan, Wed Jul 2 10:51:58 2003 UTC
# Line 1  Line 1 
1    2003-07-02  Jonathan Coles   <[email protected]>
2    
3            * Thuban/Model/classgen.py (generate_singletons,
4            generate_uniform_distribution, generate_quantiles,
5            GenQuantiles0): The denominator was one to high when
6            calculating the index for the ramp causing the index
7            to never to reach one.
8    
9    2003-07-02  Jonathan Coles   <[email protected]>
10    
11            Changed the singature of ClassGroupRange.__init__ and
12            ClassGroupRange.SetRange() so that the min/max values are
13            passed as a tuple. This makes a better calling scheme for
14            when a Range object is passed instead.
15    
16            * Thuban/Model/classgen.py: Fixed parameters to
17            ClassGroupRange constructor.
18    
19            * Thuban/Model/classification.py (ClassGroupRange.__init__):
20            Consolidate the min/max parameters into a single _range which
21            can either be a tuple or a Range object.
22            (ClassGroupRange.SetRange): Consolidate the min/max parameters
23            into a single _range which can either be a tuple or a Range object.
24    
25            * Thuban/Model/load.py (SessionLoader.start_clrange): Fix
26            call to ClassGroupRange constructor to use a tuple.
27    
28            * Thuban/Model/layer.py (Layer.SetClassification): Switch
29            the classification instance variable to the new class
30            before calling _set_layer otherwise subscribers to a
31            LAYER_CHANGED event will not see any difference.
32    
33            * test/test_classification.py: Fix tests of ClassGroupRange
34            so that they use the new signature.
35    
36            * test/test_load.py: Fix use of ClassGroupRange so that it
37            uses the new signature.
38    
39            * test/test_load_0_2.py: Fix use of ClassGroupRange so that it
40            uses the new signature.
41    
42            * test/test_save.py: Fix use of ClassGroupRange so that it
43            uses the new signature.
44    
45    
46    2003-07-01  Jonathan Coles   <[email protected]>
47    
48            * Thuban/Model/classgen.py: Fixes RTbug #1972, 1971.
49            Import used objects/class from color.
50            (generate_singletons): We don't
51            need the numGroups parameter anymore because we are using
52            the new ramps with GetProperties().
53            (generate_uniform_distribution): Use new ramp method
54            GetProperties().
55            (generate_quantiles, GenQuantiles0): Use new ramp method
56            GetProperties().
57            (CustomRamp.SetNumGroups): Removed. The ramps now map
58            a value from 0 to 1 to class properties so the number
59            of groups is not needed ahead of time.
60            (CustomRamp.next): Removed. CustomRamp does not support
61            interation anymore.
62            (CustomRamp.GetProperties): Returns a ClassGroupProperties
63            object based on the index value from 0 to 1 that is
64            passed to it.
65            (GreyRamp, RedRamp, GreenRamp, BlueRamp, GreenToRedRamp):
66            Made into instances of Monochromatic class instread of
67            deriving from it.
68            (HotToCold.SetNumGroups): Removed. See CustomRamp.
69            (HotToCold.next): Removed. See CustomRamp.
70    
71            * Thuban/Model/classification.py: Fixes RTbug #1973, 1971.
72            (Classification.SetField, Classification.SetFieldType):
73            Replaced with SetFieldInfo.
74            (Classification.SetFieldInfo): New. Does a better job of
75            what SetField and SetFieldType used to do by combining
76            their function since they should really always be done
77            at the same time.
78            (Classification.SetLayer): Renamed to _set_layer.
79            (Classification._set_layer): Should only be called from
80            Layer's SetClassification. This does not cause a recursive
81            call as SetLayer did because we know that Layer knows about
82            the classification.
83    
84            * Thuban/Model/color.py: Fixes RTbug #1971.
85            (_Transparent): Renamed from Transparent so it doesn't
86            conflict with the module variable.
87            (Transparent, Black): Renamed from Color.Transparent,
88            Color.Black so they are not class variables.
89    
90            * Thuban/Model/layer.py: Fixes RTbug #1971, 1973.
91            (Layer.Destroy): We don't need to call SetClassification
92            anymore to clear out the back reference in the classifcation
93            to the layer. It's better to set it to None using _set_layer,
94            and we won't be creating another clas object too.
95            (Layer.SetClassification): Classification._set_layer is not
96            recursive so remove all the locking variables. Also clean
97            up the code so that it remains unchanged if something fails.
98    
99            * Thuban/Model/load.py: Fixes RTbug #1971.
100            (SessionLoader.start_classification): Call
101            Classification.SetFieldInfo().
102    
103            * Thuban/Model/save.py: Removed import of Color which wasn't
104            being used.
105    
106            * Thuban/UI/classgen.py: Fixes RTbug #1972.
107            (ClassGenDialog.__init__): Color ramps are now instances
108            already so we don't need to create any new objects.
109            (ClassGenDialog.OnOK): Check for numGroups is no longer
110            necessary because we never use it.
111    
112            * Thuban/UI/classifier.py: Fixes RTbug #1971.
113            (Classifier.__BuildClassification, Classifier.__SetGridTable):
114            Call Classification.SetFieldInfo() instead of SetFieldType.
115    
116            * Thuban/UI/renderer.py: Fixes RTbug #1971.
117    
118            * Thuban/UI/view.py: Fixes RTbug #1974, 1971.
119            (MapCanvas.__init__): Subscribe to the idle time event. Set
120            background color to white.
121            (MapCanvas.OnPaint): Set a flag indicating that we should
122            render the map during idle time. If we already have a bitmap
123            just draw it now.
124            (MapCanvas.OnIdle): New. Render the map only during idle time.
125            This also fixes a problem with the busy cursor under gtk.
126    
127            * test/test_classgen.py (ClassGenTest.test_generate_singletons):
128            Fix calls to generate_singletons because the signature changed.
129    
130            * test/test_classification.py: Fix color references and
131            change calls to Classification.[SetField|SetFieldType] to
132            SetFieldInfo.
133    
134            * test/test_load.py: Fix color references.
135    
136            * test/test_load_0_2.py: Fix color references.
137    
138            * test/test_save.py (SaveSessionTest.testClassifiedLayer):
139            Change calls to Classification.[SetField|SetFieldType] to
140            SetFieldInfo.
141    
142    2003-07-01  Frank Koormann   <[email protected]>
143    
144            MERGE from the greater-ms3 branch.
145    
146            * test/test_transientdb.py
147            (TestTransientTable.test_transient_joined_table_with_equal_column_names):
148            New. Test join of two tables with partly equal column names.
149    
150            * Thuban/Model/transientdb.py (TransientJoinedTable.create):
151            If duplicates in left and right tables column names are found,
152            append '_' (underscores) to the name until it is unique.
153            Create always new internal names for the resulting table and reference
154            columns in the join statement with <table>.<column>
155    
156    2003-07-01  Bernhard Herzog  <[email protected]>
157    
158            * test/test_transientdb.py
159            (TestTransientTable.test_transient_joined_table_same_column_name):
160            New. Test whether joining on columns with the same names in both
161            tables works.
162            
163            * Thuban/Model/transientdb.py (TransientJoinedTable.create): Make
164            sure to use the right internal names even when joining on field
165            with the same names in both tables. Also, detect duplicate names
166            in the joined table correctly.
167    
168    2003-07-01  Frank Koormann   <[email protected]>
169    
170            * Thuban/UI/renderer.py (ExportRenderer.render_legend):
171            Reverse List of layers to render in same order as in desktop legend.
172    
173    2003-06-30  Jonathan Coles   <[email protected]>
174    
175            * Thuban/version.py (make_tuple): Takes a version string
176            and splits it into a tuple of at most three integers.
177            Used make_tuple() to make tuple versions of the version
178            numbers.
179    
180            * Thuban/UI/about.py: Add Thuban email addresses.
181    
182    2003-06-30  Jonathan Coles   <[email protected]>
183    
184            * Thuban/version.py: SQLite/PySQLite version dependencies
185            were too high.
186    
187    2003-06-30  Jonathan Coles   <[email protected]>
188    
189            * Thuban/version.py: Update version to 0.8.1
190            
191            * MANIFEST.in: Added Projections so that default.proj is
192            included.
193    
194  2003-06-26  Jonathan Coles   <[email protected]>  2003-06-26  Jonathan Coles   <[email protected]>
195    
196          New About box with lots more information including library          New About box with lots more information including library

Legend:
Removed from v.1312  
changed lines
  Added in v.1360

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26