/[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 1376 by bh, Tue Jul 8 10:53:26 2003 UTC
# Line 1  Line 1 
1    2003-07-08  Bernhard Herzog  <[email protected]>
2    
3            * Resources/XML/thuban-0.9.dtd: New. This will become the DTD for
4            0.9.
5    
6            * Thuban/Model/transientdb.py (TransientJoinedTable.JoinType):
7            New. Return the join type
8    
9            * Thuban/Model/save.py (SessionSaver.write_session): Use new 0.9
10            DTD
11            (SessionSaver.write_data_containers): Save the join type for
12            joined tables
13    
14            * Thuban/Model/load.py (SessionLoader.__init__): Add the new 0.9
15            namespace
16            (SessionLoader.start_jointable): Handle the jointype attribute
17    
18            * test/test_load_0_8.py: New. Effectively a copy of test_load.py
19            as of Thuban 0.8. These are now tests to determine whether Thuban
20            can still read files generated by Thuban 0.8
21    
22            * test/test_load.py (LoadSessionTest.dtd)
23            (TestSingleLayer.file_contents)
24            (TestLayerVisibility.file_contents, TestLabels.file_contents)
25            (TestLayerProjection.file_contents)
26            (TestRasterLayer.file_contents, TestJoinedTable.file_contents)
27            (TestJoinedTable.file_contents)
28            (TestLoadError.file_contents): Update for new DTD
29            (TestJoinedTable.file_contents, TestJoinedTable.setUp): Add test
30            for new join type attribute
31    
32            * test/test_save.py (SaveSessionTest.dtd)
33            (SaveSessionTest.testEmptySession)
34            (SaveSessionTest.testSingleLayer)
35            (SaveSessionTest.testLayerProjection)
36            (SaveSessionTest.testRasterLayer)
37            (SaveSessionTest.testClassifiedLayer)
38            (SaveSessionTest.test_dbf_table)
39            (SaveSessionTest.test_joined_table): Update for new DTD
40            (SaveSessionTest.test_joined_table): Add test for new join type
41            attribute
42    
43    2003-07-04  Bernhard Herzog  <[email protected]>
44    
45            * Thuban/Model/table.py (_find_dbf_column_names): New. Helper
46            function for table_to_dbf
47            (table_to_dbf): Deal with names longer than the 10 character limit
48    
49            * test/test_dbf_table.py (TestTableToDBF.test_table_to_dbf): Add
50            doc-string
51            (TestTableToDBF.test_table_to_dbf_long_col_names): New test for
52            long column names
53    
54    2003-07-03  Bernhard Herzog  <[email protected]>
55    
56            * Doc/manual/thuban-manual.xml: Fix the CVS Revision Tag syntax
57    
58    2003-07-03  Bernhard Herzog  <[email protected]>
59    
60            * Doc/manual/thuban-manual.xml, Doc/manual/README: New. Skeleton
61            for the Thuban manual and README with some basic information about
62            the manual
63    
64    2003-07-03  Bernhard Herzog  <[email protected]>
65    
66            * Thuban/Model/transientdb.py (TransientJoinedTable.__init__):
67            Update doc-string
68            (TransientJoinedTable.create): Do not modify the column objects of
69            the input tables in place and copy all columns of the input tables
70            into the joined table after all.
71    
72            * test/test_transientdb.py
73            (TestTransientTable.test_transient_joined_table_same_column_name):
74            Update to reflect the new behavior
75            (TestTransientTable.test_transient_joined_table_with_equal_column_names):
76            Update to reflect the new behavior
77            (TestTransientTable.test_transient_joined_table_name_collisions_dont_modify_in_place):
78            New test case for a bug which modified the column objects in place
79    
80    2003-07-02  Jonathan Coles   <[email protected]>
81    
82            * Thuban/Model/classgen.py (generate_singletons,
83            generate_uniform_distribution, generate_quantiles,
84            GenQuantiles0): Make sure maxValue isn't less than
85            one, otherwise we could divide by zero.
86    
87            * test/test_classgen.py (ClassGenTest.doClassRangeTest,
88            ClassGenTest.doClassSingleTest): Call doBoundsTest to
89            check the end classification groups against the
90            proper property values.
91            (ClassGenTest.doBoundsTest): New. Checks the first and
92            last classification groups to make sure their properties
93            are the correct upper and lower bounds for a color ramp.
94    
95    2003-07-02  Jonathan Coles   <[email protected]>
96    
97            * Thuban/Model/classgen.py (generate_singletons,
98            generate_uniform_distribution, generate_quantiles,
99            GenQuantiles0): The denominator was one to high when
100            calculating the index for the ramp causing the index
101            to never to reach one.
102    
103    2003-07-02  Jonathan Coles   <[email protected]>
104    
105            Changed the singature of ClassGroupRange.__init__ and
106            ClassGroupRange.SetRange() so that the min/max values are
107            passed as a tuple. This makes a better calling scheme for
108            when a Range object is passed instead.
109    
110            * Thuban/Model/classgen.py: Fixed parameters to
111            ClassGroupRange constructor.
112    
113            * Thuban/Model/classification.py (ClassGroupRange.__init__):
114            Consolidate the min/max parameters into a single _range which
115            can either be a tuple or a Range object.
116            (ClassGroupRange.SetRange): Consolidate the min/max parameters
117            into a single _range which can either be a tuple or a Range object.
118    
119            * Thuban/Model/load.py (SessionLoader.start_clrange): Fix
120            call to ClassGroupRange constructor to use a tuple.
121    
122            * Thuban/Model/layer.py (Layer.SetClassification): Switch
123            the classification instance variable to the new class
124            before calling _set_layer otherwise subscribers to a
125            LAYER_CHANGED event will not see any difference.
126    
127            * test/test_classification.py: Fix tests of ClassGroupRange
128            so that they use the new signature.
129    
130            * test/test_load.py: Fix use of ClassGroupRange so that it
131            uses the new signature.
132    
133            * test/test_load_0_2.py: Fix use of ClassGroupRange so that it
134            uses the new signature.
135    
136            * test/test_save.py: Fix use of ClassGroupRange so that it
137            uses the new signature.
138    
139    
140    2003-07-01  Jonathan Coles   <[email protected]>
141    
142            * Thuban/Model/classgen.py: Fixes RTbug #1972, 1971.
143            Import used objects/class from color.
144            (generate_singletons): We don't
145            need the numGroups parameter anymore because we are using
146            the new ramps with GetProperties().
147            (generate_uniform_distribution): Use new ramp method
148            GetProperties().
149            (generate_quantiles, GenQuantiles0): Use new ramp method
150            GetProperties().
151            (CustomRamp.SetNumGroups): Removed. The ramps now map
152            a value from 0 to 1 to class properties so the number
153            of groups is not needed ahead of time.
154            (CustomRamp.next): Removed. CustomRamp does not support
155            interation anymore.
156            (CustomRamp.GetProperties): Returns a ClassGroupProperties
157            object based on the index value from 0 to 1 that is
158            passed to it.
159            (GreyRamp, RedRamp, GreenRamp, BlueRamp, GreenToRedRamp):
160            Made into instances of Monochromatic class instread of
161            deriving from it.
162            (HotToCold.SetNumGroups): Removed. See CustomRamp.
163            (HotToCold.next): Removed. See CustomRamp.
164    
165            * Thuban/Model/classification.py: Fixes RTbug #1973, 1971.
166            (Classification.SetField, Classification.SetFieldType):
167            Replaced with SetFieldInfo.
168            (Classification.SetFieldInfo): New. Does a better job of
169            what SetField and SetFieldType used to do by combining
170            their function since they should really always be done
171            at the same time.
172            (Classification.SetLayer): Renamed to _set_layer.
173            (Classification._set_layer): Should only be called from
174            Layer's SetClassification. This does not cause a recursive
175            call as SetLayer did because we know that Layer knows about
176            the classification.
177    
178            * Thuban/Model/color.py: Fixes RTbug #1971.
179            (_Transparent): Renamed from Transparent so it doesn't
180            conflict with the module variable.
181            (Transparent, Black): Renamed from Color.Transparent,
182            Color.Black so they are not class variables.
183    
184            * Thuban/Model/layer.py: Fixes RTbug #1971, 1973.
185            (Layer.Destroy): We don't need to call SetClassification
186            anymore to clear out the back reference in the classifcation
187            to the layer. It's better to set it to None using _set_layer,
188            and we won't be creating another clas object too.
189            (Layer.SetClassification): Classification._set_layer is not
190            recursive so remove all the locking variables. Also clean
191            up the code so that it remains unchanged if something fails.
192    
193            * Thuban/Model/load.py: Fixes RTbug #1971.
194            (SessionLoader.start_classification): Call
195            Classification.SetFieldInfo().
196    
197            * Thuban/Model/save.py: Removed import of Color which wasn't
198            being used.
199    
200            * Thuban/UI/classgen.py: Fixes RTbug #1972.
201            (ClassGenDialog.__init__): Color ramps are now instances
202            already so we don't need to create any new objects.
203            (ClassGenDialog.OnOK): Check for numGroups is no longer
204            necessary because we never use it.
205    
206            * Thuban/UI/classifier.py: Fixes RTbug #1971.
207            (Classifier.__BuildClassification, Classifier.__SetGridTable):
208            Call Classification.SetFieldInfo() instead of SetFieldType.
209    
210            * Thuban/UI/renderer.py: Fixes RTbug #1971.
211    
212            * Thuban/UI/view.py: Fixes RTbug #1974, 1971.
213            (MapCanvas.__init__): Subscribe to the idle time event. Set
214            background color to white.
215            (MapCanvas.OnPaint): Set a flag indicating that we should
216            render the map during idle time. If we already have a bitmap
217            just draw it now.
218            (MapCanvas.OnIdle): New. Render the map only during idle time.
219            This also fixes a problem with the busy cursor under gtk.
220    
221            * test/test_classgen.py (ClassGenTest.test_generate_singletons):
222            Fix calls to generate_singletons because the signature changed.
223    
224            * test/test_classification.py: Fix color references and
225            change calls to Classification.[SetField|SetFieldType] to
226            SetFieldInfo.
227    
228            * test/test_load.py: Fix color references.
229    
230            * test/test_load_0_2.py: Fix color references.
231    
232            * test/test_save.py (SaveSessionTest.testClassifiedLayer):
233            Change calls to Classification.[SetField|SetFieldType] to
234            SetFieldInfo.
235    
236    2003-07-01  Frank Koormann   <[email protected]>
237    
238            MERGE from the greater-ms3 branch.
239    
240            * test/test_transientdb.py
241            (TestTransientTable.test_transient_joined_table_with_equal_column_names):
242            New. Test join of two tables with partly equal column names.
243    
244            * Thuban/Model/transientdb.py (TransientJoinedTable.create):
245            If duplicates in left and right tables column names are found,
246            append '_' (underscores) to the name until it is unique.
247            Create always new internal names for the resulting table and reference
248            columns in the join statement with <table>.<column>
249    
250    2003-07-01  Bernhard Herzog  <[email protected]>
251    
252            * test/test_transientdb.py
253            (TestTransientTable.test_transient_joined_table_same_column_name):
254            New. Test whether joining on columns with the same names in both
255            tables works.
256            
257            * Thuban/Model/transientdb.py (TransientJoinedTable.create): Make
258            sure to use the right internal names even when joining on field
259            with the same names in both tables. Also, detect duplicate names
260            in the joined table correctly.
261    
262    2003-07-01  Frank Koormann   <[email protected]>
263    
264            * Thuban/UI/renderer.py (ExportRenderer.render_legend):
265            Reverse List of layers to render in same order as in desktop legend.
266    
267    2003-06-30  Jonathan Coles   <[email protected]>
268    
269            * Thuban/version.py (make_tuple): Takes a version string
270            and splits it into a tuple of at most three integers.
271            Used make_tuple() to make tuple versions of the version
272            numbers.
273    
274            * Thuban/UI/about.py: Add Thuban email addresses.
275    
276    2003-06-30  Jonathan Coles   <[email protected]>
277    
278            * Thuban/version.py: SQLite/PySQLite version dependencies
279            were too high.
280    
281    2003-06-30  Jonathan Coles   <[email protected]>
282    
283            * Thuban/version.py: Update version to 0.8.1
284            
285            * MANIFEST.in: Added Projections so that default.proj is
286            included.
287    
288  2003-06-26  Jonathan Coles   <[email protected]>  2003-06-26  Jonathan Coles   <[email protected]>
289    
290          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.1376

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26