/[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 1349 by jonathan, Tue Jul 1 16:12:38 2003 UTC revision 1403 by jonathan, Thu Jul 10 14:56:46 2003 UTC
# Line 1  Line 1 
1    2003-07-10  Jonathan Coles   <[email protected]>
2    
3            The most important part of this is the seperation of view.py into
4            two pieces. viewport.py now has a class called ViewPort which
5            contains all the non-wx parts of view.py and can therefore be
6            tested. view.py contains only the wx-specific parts and is fairly
7            simple.
8    
9            * Thuban/UI/view.py: Stripped out all non-wx functionality. Fixes
10            RTTbug #1992.
11            * Thuban/UI/viewport.py: New. Contains non-wx view functionality.
12            RTTbug #1992.
13    
14            * Thuban/Model/classgen.py (generate_singletons,
15            generate_uniform_distribution, generate_quantiles):
16            Added 'fixes' parameter so that property attributes can
17            be held constant over the generated classification groups.
18            (CustomRamp.GetProperties): Remove unused variables.
19    
20            * Thuban/Model/map.py (Map.SetProjection): Send the old
21            projection as an argument to listeners of the MAP_PROJECTION_CHANGED
22            event.
23    
24            * Thuban/Model/table.py (table_to_dbf, table_to_csv): Added 'records'
25            parameter which is a list of records that restricts which
26            records are saved. Fixes RTbug #1997.
27    
28            * Thuban/UI/application.py (ThubanApplication.ShowExceptionDialog):
29            Port exception dialog from GREAT-ER. Fixes RTbug #1993.
30    
31            * Thuban/UI/classgen.py (ClassGenDialog.__init__): Add controls
32            to allow the user to fix line color/width on generated groups.
33            (ClassGenDialog.OnOK): Use new 'fixes' parameter of the generate_*
34            functions to optionally fix group properties.
35    
36            * Thuban/UI/main.py (main): Set exception hook to the
37            ShowExceptionDialog. Fixes RTbug #1993.
38    
39            * Thuban/UI/mainwindow.py (MainWindow.ShowTableView): Raise
40            the table window when it is selectd to be shown.
41    
42            * Thuban/UI/tableview.py (QueryTableFrame.__init__): Add an
43            Export Selection button and move the export buttons underneath
44            the table.
45            (QueryTableFrame.UpdateStatusText): Added event argument so
46            that it can respond to grid selection events. The status text
47            is now updated even when the table is not associated with a
48            layer as was previously assumed.
49            (QueryTableFrame.OnGridSelectRange, OnGridSelectCell): Removed.
50            UpdateStatusText responds to these events.
51            (QueryTableFrame.OnSaveAs): Renamed to doExport.
52            (QueryTableFrame.doExport): Helper function that saves the
53            entire table, or selected rows, to a file.
54            (QueryTableFrame.OnExport, QueryTableFrame.OnExportSel): New.
55            Respond to export button events and call doExport.
56    
57            * extensions/thuban/gdalwarp.cpp (ProjectRasterFile): Make sure
58            the function doesn't return NULL without first setting a Python
59            Error.
60    
61            * test/runtests.py (main): Only print "Unknown option" for
62            unsupported options.
63    
64            * test/support.py (FloatComparisonMixin.assertFloatEqual): Take
65            optional epsilon argument to specify floating point accuracy.
66            (FloatComparisonMixin.assertFloatSeqEqual): Call assertFloatEqual
67            for each item test.
68    
69            * test/test_csv_table.py (TestCSVTable.test_table_to_cvs): Add
70            tests for saving selected records.
71    
72            * test/test_dbf_table.py (TestTableToDBF.test_table_to_dbf): Add
73            tests for saving selected records.
74    
75            * test/test_map.py (TestMapWithContents.test_set_projection):
76            MAP_PROJECTION_CHANGED events send the old projection.
77    
78            * test/test_session.py
79            (TestSessionWithContent.test_forward_map_projection):
80            MAP_PROJECTION_CHANGED events send the old projection.
81    
82            * test/test_table.py (TableTest): Update tests to use non-deprecated
83            functions.
84    
85    2003-07-08  Bernhard Herzog  <[email protected]>
86    
87            * Thuban/Model/transientdb.py (TransientTableBase.Width): The type
88            constants in the column objects are the standard ones defined in
89            the table module.
90    
91            * test/test_transientdb.py
92            (TestTransientTable.test_transienttable_to_dbf): New. Test whether
93            exporting transient tables as DBF works. This should catch the bug
94            just fixed in TransientTableBase.Width.
95    
96    2003-07-08  Bernhard Herzog  <[email protected]>
97    
98            * Thuban/Model/classgen.py (CustomRamp.GetProperties): Compute the
99            interpolated colors correctly.
100    
101            * test/test_classgen.py (TestCustomRamp.test_color_interpolation):
102            New. Test case for the fix in classgen.py
103    
104    2003-07-08  Bernhard Herzog  <[email protected]>
105    
106            * test/runtests.py (main): Make the default output less verbose
107            and add a verbosity option (-v) to get the old output
108    
109    2003-07-08  Bernhard Herzog  <[email protected]>
110    
111            * Resources/XML/thuban-0.9.dtd: New. This will become the DTD for
112            0.9.
113    
114            * Thuban/Model/transientdb.py (TransientJoinedTable.JoinType):
115            New. Return the join type
116    
117            * Thuban/Model/save.py (SessionSaver.write_session): Use new 0.9
118            DTD
119            (SessionSaver.write_data_containers): Save the join type for
120            joined tables
121    
122            * Thuban/Model/load.py (SessionLoader.__init__): Add the new 0.9
123            namespace
124            (SessionLoader.start_jointable): Handle the jointype attribute
125    
126            * test/test_load_0_8.py: New. Effectively a copy of test_load.py
127            as of Thuban 0.8. These are now tests to determine whether Thuban
128            can still read files generated by Thuban 0.8
129    
130            * test/test_load.py (LoadSessionTest.dtd)
131            (TestSingleLayer.file_contents)
132            (TestLayerVisibility.file_contents, TestLabels.file_contents)
133            (TestLayerProjection.file_contents)
134            (TestRasterLayer.file_contents, TestJoinedTable.file_contents)
135            (TestJoinedTable.file_contents)
136            (TestLoadError.file_contents): Update for new DTD
137            (TestJoinedTable.file_contents, TestJoinedTable.setUp): Add test
138            for new join type attribute
139    
140            * test/test_save.py (SaveSessionTest.dtd)
141            (SaveSessionTest.testEmptySession)
142            (SaveSessionTest.testSingleLayer)
143            (SaveSessionTest.testLayerProjection)
144            (SaveSessionTest.testRasterLayer)
145            (SaveSessionTest.testClassifiedLayer)
146            (SaveSessionTest.test_dbf_table)
147            (SaveSessionTest.test_joined_table): Update for new DTD
148            (SaveSessionTest.test_joined_table): Add test for new join type
149            attribute
150    
151    2003-07-04  Bernhard Herzog  <[email protected]>
152    
153            * Thuban/Model/table.py (_find_dbf_column_names): New. Helper
154            function for table_to_dbf
155            (table_to_dbf): Deal with names longer than the 10 character limit
156    
157            * test/test_dbf_table.py (TestTableToDBF.test_table_to_dbf): Add
158            doc-string
159            (TestTableToDBF.test_table_to_dbf_long_col_names): New test for
160            long column names
161    
162    2003-07-03  Bernhard Herzog  <[email protected]>
163    
164            * Doc/manual/thuban-manual.xml: Fix the CVS Revision Tag syntax
165    
166    2003-07-03  Bernhard Herzog  <[email protected]>
167    
168            * Doc/manual/thuban-manual.xml, Doc/manual/README: New. Skeleton
169            for the Thuban manual and README with some basic information about
170            the manual
171    
172    2003-07-03  Bernhard Herzog  <[email protected]>
173    
174            * Thuban/Model/transientdb.py (TransientJoinedTable.__init__):
175            Update doc-string
176            (TransientJoinedTable.create): Do not modify the column objects of
177            the input tables in place and copy all columns of the input tables
178            into the joined table after all.
179    
180            * test/test_transientdb.py
181            (TestTransientTable.test_transient_joined_table_same_column_name):
182            Update to reflect the new behavior
183            (TestTransientTable.test_transient_joined_table_with_equal_column_names):
184            Update to reflect the new behavior
185            (TestTransientTable.test_transient_joined_table_name_collisions_dont_modify_in_place):
186            New test case for a bug which modified the column objects in place
187    
188    2003-07-02  Jonathan Coles   <[email protected]>
189    
190            * Thuban/Model/classgen.py (generate_singletons,
191            generate_uniform_distribution, generate_quantiles,
192            GenQuantiles0): Make sure maxValue isn't less than
193            one, otherwise we could divide by zero.
194    
195            * test/test_classgen.py (ClassGenTest.doClassRangeTest,
196            ClassGenTest.doClassSingleTest): Call doBoundsTest to
197            check the end classification groups against the
198            proper property values.
199            (ClassGenTest.doBoundsTest): New. Checks the first and
200            last classification groups to make sure their properties
201            are the correct upper and lower bounds for a color ramp.
202    
203    2003-07-02  Jonathan Coles   <[email protected]>
204    
205            * Thuban/Model/classgen.py (generate_singletons,
206            generate_uniform_distribution, generate_quantiles,
207            GenQuantiles0): The denominator was one to high when
208            calculating the index for the ramp causing the index
209            to never to reach one.
210    
211    2003-07-02  Jonathan Coles   <[email protected]>
212    
213            Changed the singature of ClassGroupRange.__init__ and
214            ClassGroupRange.SetRange() so that the min/max values are
215            passed as a tuple. This makes a better calling scheme for
216            when a Range object is passed instead.
217    
218            * Thuban/Model/classgen.py: Fixed parameters to
219            ClassGroupRange constructor.
220    
221            * Thuban/Model/classification.py (ClassGroupRange.__init__):
222            Consolidate the min/max parameters into a single _range which
223            can either be a tuple or a Range object.
224            (ClassGroupRange.SetRange): Consolidate the min/max parameters
225            into a single _range which can either be a tuple or a Range object.
226    
227            * Thuban/Model/load.py (SessionLoader.start_clrange): Fix
228            call to ClassGroupRange constructor to use a tuple.
229    
230            * Thuban/Model/layer.py (Layer.SetClassification): Switch
231            the classification instance variable to the new class
232            before calling _set_layer otherwise subscribers to a
233            LAYER_CHANGED event will not see any difference.
234    
235            * test/test_classification.py: Fix tests of ClassGroupRange
236            so that they use the new signature.
237    
238            * test/test_load.py: Fix use of ClassGroupRange so that it
239            uses the new signature.
240    
241            * test/test_load_0_2.py: Fix use of ClassGroupRange so that it
242            uses the new signature.
243    
244            * test/test_save.py: Fix use of ClassGroupRange so that it
245            uses the new signature.
246    
247    
248  2003-07-01  Jonathan Coles   <[email protected]>  2003-07-01  Jonathan Coles   <[email protected]>
249    
250          * Thuban/Model/classgen.py: Fixes RTbug #1972, 1971.          * Thuban/Model/classgen.py: Fixes RTbug #1972, 1971.

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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26