/[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 1403 by jonathan, Thu Jul 10 14:56:46 2003 UTC revision 1442 by jonathan, Wed Jul 16 13:31:05 2003 UTC
# Line 1  Line 1 
1    2003-07-16  Jonathan Coles   <[email protected]>
2    
3            * Thuban/Model/classgen.py (generate_singletons,
4            generate_uniform_distribution, generate_quantiles): Remove
5            fixes parameter, but maintain the same functionality by having
6            the calling function pass a FixedRamp object for the ramp.
7            (FixedRamp): New. Adapts a ramp to have fixed property values.
8    
9            * Thuban/Model/classification.py: Use new CLASS_CHANGED message.
10            (Classification): Inherit from Publisher.
11            (Classification.__init__): Remove the layer parameter.
12            Classifications no longer need to have a parent layer.
13            (Classification.GetField, Classification.GetFieldType,
14            Classification.SetFieldInfo): Removed. The field name is stored
15            in the layer, and the type can be retreived by calling
16            Layer.GetFieldType().
17            (Classification._set_layer, Classification.GetLayer): Removed.
18            Classifications no longer have a parent layer.
19    
20            * Thuban/Model/layer.py (Layer.Destroy): Unsubscribe from the
21            classification.
22            (Layer.SetShapeStore): Reset the classification first while
23            we still have the old shape store to work with.
24            (Layer.GetClassificationField, Layer.SetClassificationField):
25            New. Method for getting/setting the field to classify on.
26            (Layer.SetClassification): Simplified now that the layer
27            simply has to hold a reference to the classification and not
28            tell the classification who owns it.
29            Fixes RTbug #2023.
30    
31            * Thuban/Model/load.py (SessionLoader.start_classification):
32            Set the field name on the layer, not the classification.
33    
34            * Thuban/Model/messages.py: Add CLASS_CHANGED for when a
35            classification is modified.
36    
37            * Thuban/Model/save.py (SessionSaver.write_classification):
38            Get the field name and type from the layer.
39    
40            * Thuban/Model/table.py (table_to_dbf, table_to_csv): Renamed
41            parameter records to rows and add docstring. Fixes RTbug #1997.
42    
43            * Thuban/UI/classgen.py (ClassGenDialog.OnOK): Use a fixed
44            ramp when we need to fix certain values of a ramp rather than
45            using the old fixes parameter. Fixes RTbug #2024.
46    
47            * Thuban/UI/classifier.py (ClassGrid.CreateTable): Add fieldType
48            parameter.
49            (ClassTable.Reset): Add fieldType parameter and use it, rather
50            than asking the classification.
51            (Classifier.__init__): Remember the original class's field
52            and ask the layer for the field type, rather than the classification.
53            (Classifier.__SetGridTable): Retrieve the field and field type
54            for the table because they are not in the classification.
55            (Classifier._OnTry, Classifier._OnRevert): Set the classification
56            field on the layer in addition to the classification itself.
57    
58            * Thuban/UI/renderer.py (MapRenderer.draw_shape_layer): Get the
59            classification field from layer.
60    
61            * Thuban/UI/viewport.py (ViewPort.find_shape_at): Get the
62            classification field from layer. Split up tests and remove
63            *-imports. Fixes RTbug #1992.
64    
65            * test/test_classgen.py (TestFixedRamp): Test for the FixedRamp class.
66    
67            * test/test_classification.py
68            (TestClassification.test_classification): Remove tests for methods
69            that no longer exist.
70    
71            * test/test_layer.py (SetShapeStoreTests.setUp): Classification
72            __init__ no longer has a field parameter, use SetClassificationField.
73            (SetShapeStoreTests.test_sanity): Use layer object to get class
74            field info.
75    
76            * test/test_save.py (SaveSessionTest.testClassifiedLayer): Use
77            SetClassificationField on layer to set class field info.
78    
79            * test/test_viewport.py: Renamed from test/test_view.py.
80    
81    2003-07-16  Jan-Oliver Wagner <[email protected]>
82    
83            * Doc/manual/thuban-manual.xml: Added authors and an initial
84            coarse structure.
85    
86    2003-07-15  Bernhard Herzog  <[email protected]>
87    
88            * test/support.py (FloatComparisonMixin): This is a mix-in class
89            and therefore should not be derived from any other class.
90    
91            * test/test_range.py (RangeTest): FloatComparisonMixin is a
92            mix-in, so derive from TestCase as well.
93    
94    2003-07-15  Bernhard Herzog  <[email protected]>
95    
96            * Thuban/UI/renderer.py (MapRenderer.draw_shape_layer): Rework the
97            draw_func handling a bit to remove one layer of indirection. This
98            makes the renderer about 10% faster in the non-classifying case
99            and the code a bit cleaner
100            (MapRenderer.draw_point_shape): Add the pen and brush parameters
101            and set them in the dc. Now the draw_point_shape method and
102            wxproj's draw_polygon_shape function have basically the same
103            signature so that both can be directly used as draw_func
104    
105    2003-07-15  Bernhard Herzog  <[email protected]>
106    
107            * Thuban/Model/save.py (SessionSaver.write_classification): Encode
108            string values (in addition to the labels) as UTF 8
109    
110            * Thuban/Model/load.py (SessionLoader.start_clpoint): Decode the
111            values if the field type is string
112    
113            * test/test_save.py (SaveSessionTest.testClassifiedLayer): Test
114            saving a session with non-ascii string classification values.
115    
116            * test/test_load.py (TestClassification.file_contents)
117            (TestClassification.test): Check for non-ascii values in string
118            classifications
119    
120    2003-07-14  Jonathan Coles   <[email protected]>
121    
122            * test/test_view.py: New. Tests for ViewPort.
123    
124    2003-07-14  Frank Koormann   <[email protected]>
125    
126            * Thuban/Model/load.py (SessionLoader.start_map): Encode map
127            title to latin1.  Fixes https://intevation.de/rt/webrt?serial_num=2013
128    
129            * test/test_load_0_8.py (TestUnicodeStrings): New, test load of
130            unicode strings from session file: session title, map title and
131            projection name.
132            
133    2003-07-10  Jonathan Coles   <[email protected]>
134    
135            * Thuban/UI/viewport.py (Tool.MouseUp): Should have called
136            drag_stop, not drag_move when the mouse is released.
137    
138  2003-07-10  Jonathan Coles   <[email protected]>  2003-07-10  Jonathan Coles   <[email protected]>
139    
140          The most important part of this is the seperation of view.py into          The most important part of this is the seperation of view.py into

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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26