/[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 1334 by frank, Tue Jul 1 15:41:38 2003 UTC revision 1349 by jonathan, Tue Jul 1 16:12:38 2003 UTC
# Line 1  Line 1 
1    2003-07-01  Jonathan Coles   <[email protected]>
2    
3            * Thuban/Model/classgen.py: Fixes RTbug #1972, 1971.
4            Import used objects/class from color.
5            (generate_singletons): We don't
6            need the numGroups parameter anymore because we are using
7            the new ramps with GetProperties().
8            (generate_uniform_distribution): Use new ramp method
9            GetProperties().
10            (generate_quantiles, GenQuantiles0): Use new ramp method
11            GetProperties().
12            (CustomRamp.SetNumGroups): Removed. The ramps now map
13            a value from 0 to 1 to class properties so the number
14            of groups is not needed ahead of time.
15            (CustomRamp.next): Removed. CustomRamp does not support
16            interation anymore.
17            (CustomRamp.GetProperties): Returns a ClassGroupProperties
18            object based on the index value from 0 to 1 that is
19            passed to it.
20            (GreyRamp, RedRamp, GreenRamp, BlueRamp, GreenToRedRamp):
21            Made into instances of Monochromatic class instread of
22            deriving from it.
23            (HotToCold.SetNumGroups): Removed. See CustomRamp.
24            (HotToCold.next): Removed. See CustomRamp.
25    
26            * Thuban/Model/classification.py: Fixes RTbug #1973, 1971.
27            (Classification.SetField, Classification.SetFieldType):
28            Replaced with SetFieldInfo.
29            (Classification.SetFieldInfo): New. Does a better job of
30            what SetField and SetFieldType used to do by combining
31            their function since they should really always be done
32            at the same time.
33            (Classification.SetLayer): Renamed to _set_layer.
34            (Classification._set_layer): Should only be called from
35            Layer's SetClassification. This does not cause a recursive
36            call as SetLayer did because we know that Layer knows about
37            the classification.
38    
39            * Thuban/Model/color.py: Fixes RTbug #1971.
40            (_Transparent): Renamed from Transparent so it doesn't
41            conflict with the module variable.
42            (Transparent, Black): Renamed from Color.Transparent,
43            Color.Black so they are not class variables.
44    
45            * Thuban/Model/layer.py: Fixes RTbug #1971, 1973.
46            (Layer.Destroy): We don't need to call SetClassification
47            anymore to clear out the back reference in the classifcation
48            to the layer. It's better to set it to None using _set_layer,
49            and we won't be creating another clas object too.
50            (Layer.SetClassification): Classification._set_layer is not
51            recursive so remove all the locking variables. Also clean
52            up the code so that it remains unchanged if something fails.
53    
54            * Thuban/Model/load.py: Fixes RTbug #1971.
55            (SessionLoader.start_classification): Call
56            Classification.SetFieldInfo().
57    
58            * Thuban/Model/save.py: Removed import of Color which wasn't
59            being used.
60    
61            * Thuban/UI/classgen.py: Fixes RTbug #1972.
62            (ClassGenDialog.__init__): Color ramps are now instances
63            already so we don't need to create any new objects.
64            (ClassGenDialog.OnOK): Check for numGroups is no longer
65            necessary because we never use it.
66    
67            * Thuban/UI/classifier.py: Fixes RTbug #1971.
68            (Classifier.__BuildClassification, Classifier.__SetGridTable):
69            Call Classification.SetFieldInfo() instead of SetFieldType.
70    
71            * Thuban/UI/renderer.py: Fixes RTbug #1971.
72    
73            * Thuban/UI/view.py: Fixes RTbug #1974, 1971.
74            (MapCanvas.__init__): Subscribe to the idle time event. Set
75            background color to white.
76            (MapCanvas.OnPaint): Set a flag indicating that we should
77            render the map during idle time. If we already have a bitmap
78            just draw it now.
79            (MapCanvas.OnIdle): New. Render the map only during idle time.
80            This also fixes a problem with the busy cursor under gtk.
81    
82            * test/test_classgen.py (ClassGenTest.test_generate_singletons):
83            Fix calls to generate_singletons because the signature changed.
84    
85            * test/test_classification.py: Fix color references and
86            change calls to Classification.[SetField|SetFieldType] to
87            SetFieldInfo.
88    
89            * test/test_load.py: Fix color references.
90    
91            * test/test_load_0_2.py: Fix color references.
92    
93            * test/test_save.py (SaveSessionTest.testClassifiedLayer):
94            Change calls to Classification.[SetField|SetFieldType] to
95            SetFieldInfo.
96    
97  2003-07-01  Frank Koormann   <[email protected]>  2003-07-01  Frank Koormann   <[email protected]>
98    
99          MERGE from the greater-ms3 branch.          MERGE from the greater-ms3 branch.
# Line 31  Line 127 
127    
128  2003-06-30  Jonathan Coles   <[email protected]>  2003-06-30  Jonathan Coles   <[email protected]>
129    
130            * Thuban/version.py (make_tuple): Takes a version string
131            and splits it into a tuple of at most three integers.
132            Used make_tuple() to make tuple versions of the version
133            numbers.
134    
135            * Thuban/UI/about.py: Add Thuban email addresses.
136    
137    2003-06-30  Jonathan Coles   <[email protected]>
138    
139          * Thuban/version.py: SQLite/PySQLite version dependencies          * Thuban/version.py: SQLite/PySQLite version dependencies
140          were too high.          were too high.
141    

Legend:
Removed from v.1334  
changed lines
  Added in v.1349

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26