/[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 1304 by jonathan, Wed Jun 25 09:40:02 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]>
98    
99            MERGE from the greater-ms3 branch.
100    
101            * test/test_transientdb.py
102            (TestTransientTable.test_transient_joined_table_with_equal_column_names):
103            New. Test join of two tables with partly equal column names.
104    
105            * Thuban/Model/transientdb.py (TransientJoinedTable.create):
106            If duplicates in left and right tables column names are found,
107            append '_' (underscores) to the name until it is unique.
108            Create always new internal names for the resulting table and reference
109            columns in the join statement with <table>.<column>
110    
111    2003-07-01  Bernhard Herzog  <[email protected]>
112    
113            * test/test_transientdb.py
114            (TestTransientTable.test_transient_joined_table_same_column_name):
115            New. Test whether joining on columns with the same names in both
116            tables works.
117            
118            * Thuban/Model/transientdb.py (TransientJoinedTable.create): Make
119            sure to use the right internal names even when joining on field
120            with the same names in both tables. Also, detect duplicate names
121            in the joined table correctly.
122    
123    2003-07-01  Frank Koormann   <[email protected]>
124    
125            * Thuban/UI/renderer.py (ExportRenderer.render_legend):
126            Reverse List of layers to render in same order as in desktop legend.
127    
128    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
140            were too high.
141    
142    2003-06-30  Jonathan Coles   <[email protected]>
143    
144            * Thuban/version.py: Update version to 0.8.1
145            
146            * MANIFEST.in: Added Projections so that default.proj is
147            included.
148    
149    2003-06-26  Jonathan Coles   <[email protected]>
150    
151            New About box with lots more information including library
152            versions and credits. More/better version checking before
153            Thuban starts.
154    
155            * Thuban/UI/about.py: New. New About box that displays
156            library version information and credits.
157    
158            * Thuban/version.py: Added new 'versions' dictionary which
159            contains the verions of various libraries which are checked
160            when the module loads.
161            (verify_versions): Check all version numbers and returns
162            a list of errors.
163    
164            * Thuban/UI/classifier.py (Classifier.__EnableButtons):
165            Reset the status of the buttons as the situation warrants,
166            but in a better more reliable way by not relying on the
167            current status to determine what needs to change.
168    
169            * Thuban/UI/main.py (wxCHECK_VERSION): Removed. Not needed.
170            (verify_versions): Remove most of the code since it is
171            now in Thuban.version.verify_versions.o
172    
173            * Thuban/UI/mainwindow.py (MainWindow.About): Call new
174            About box in Thuban.UI.about.
175    
176            * extensions/thuban/gdalwarp.cpp (get_gdal_version): New.
177            Returns the version of gdal library being used as a string.
178    
179            * extensions/thuban/wxproj.cpp (check_version, check_version_gtk):
180            Removed.
181            (get_proj_version): Return the version of PROJ that the file
182            was compiled with.
183            (get_gtk_version): Return th version of GTK that the file
184            was compiled with.
185    
186  2003-06-25  Jonathan Coles   <[email protected]>  2003-06-25  Jonathan Coles   <[email protected]>
187    
188          * Thuban/UI/classifier.py (Classifier.EditSymbol): The parent          * Thuban/UI/classifier.py (Classifier.EditSymbol): The parent

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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26