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

Legend:
Removed from v.1363  
changed lines
  Added in v.1424

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26