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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26