/[thuban]/branches/greater-ms3/thuban/ChangeLog
ViewVC logotype

Diff of /branches/greater-ms3/thuban/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 403 by tkoester, Fri Feb 14 11:20:19 2003 UTC revision 471 by jonathan, Wed Mar 5 18:37:55 2003 UTC
# Line 1  Line 1 
1    2003-03-05  Jonathan Coles   <[email protected]>
2    
3            * Thuban/common.py: Move FIELDTYPE constants back to table.py
4    
5            * Thuban/Model/load.py: import FIELDTYPE constants from table
6    
7            * Thuban/UI/classifier.py: import FIELDTYPE constants from table.o
8    
9            * Thuban/Model/table.py: Put FIELDTYPE constants back
10    
11    2003-03-05  Jonathan Coles   <[email protected]>
12    
13            * Thuban/UI/classifier.py: Added class documentation.
14            Fixed RTbug #1713, #1714. Added Move[Up|Down] buttons.
15            Store just the groups in the table and generate the other
16            column information when it is requested. Add "None" field
17            to pull-down to select no classification.
18    
19            * Thuban/common.py: Moved FIELDTYPE constants from table.py
20            (Str2Num): Only catch ValueError exceptions.
21    
22            * Thuban/Model/classification.py: Class documentation. Renaming
23            of methods with Stroke to Line. Groups are stored in a single
24            list with the default as the first element. Groups are searched
25            in the order they appear in the list.
26    
27            * Thuban/Model/color.py: Documentation.
28    
29            * Thuban/Model/layer.py (Layer): Add GetFieldType to retreive
30            the kind of data represented by a field.
31    
32            * Thuban/Model/load.py (ProcessSession): Use proper string
33            conversion function; fixes RTbug #1713.
34    
35            * Thuban/Model/save.py (Saver): Store field type information.
36    
37            * Thuban/Model/table.py: Put FIELDTYPE constants in common.py.
38            (Table): Add field_info_by_name() to retrieve field information
39            by specifying the field name, not the number.
40    
41            * Thuban/UI/mainwindow.py: Function name changes.
42    
43            * Thuban/UI/renderer.py (MapRenderer.draw_shape_layer): Only
44            get the layer classification once. Don't try to classify
45            values when the field is None: just use the default properties.
46    
47            * Thuban/UI/view.py: Function name changes.
48    
49            * Doc/thuban.dtd: Add field_type attribute to a classification.
50    
51    2003-03-04  Bernhard Herzog  <[email protected]>
52    
53            * Doc/thuban.dtd: Use correct syntax for optional attributes. Make
54            the fill and stroke layer attributes optional with suitable
55            default values. Add the stroke_width layer attribute. Use correct
56            syntax for empty elements. Make the attribute list for labels
57            refer to the label element.
58    
59    2003-03-04  Bernhard Herzog  <[email protected]>
60    
61            * setup.py (thuban_build_py.build): Add a comment about distutils in
62            Python 2.3 containing some of the functionality we implement in
63            setup.py ourselves.
64    
65            * Thuban/UI/classifier.py (ClassGrid.__init__): Set the table
66            before the selection mode. Doing it the other way round triggers
67            an assertion in wxWindows.
68    
69            * Thuban/Model/save.py (escape): Fix typo in doc-string
70    
71            * Thuban/Model/classification.py: Remove unnecessary wxPython
72            import
73    
74    2003-03-04  Jonathan Coles   <[email protected]>
75    
76            * Thuban/Model/classification.py (ClassGroupRange.GetProperties):
77            Parameter 'value' should default to None.
78    
79            * Thuban/UI/mainwindow.py: Use Layer.GetClassification() since
80            the class attribute __classification is now private.
81    
82            * Thuban/UI/classifier.py (ClassGrid): Moved OnCellDClick() from
83            Classifier to ClassGrid. Added support for removing selected rows,
84            which including code for keeping track of when cells are selected,
85            and deselected.
86            (ClassTable): Support for added/removing rows. Fixed a problem
87            with __ParseInput whereby it would not allow strings (only numbers)
88            to be entered.
89            (Classifier): Added button and supporting code for removing
90            selected rows.
91    
92    2003-02-27  Jonathan Coles   <[email protected]>
93    
94            * Thuban/common.py: Moved color conversion functions into
95            Thuban/UI/common.py.
96            (Str2Num): Now converts the float (not the string) to a long/int
97            so that an exception isn't thrown.
98    
99            * Thuban/UI/common.py: Common functions used in several UI modules
100    
101            * Thuban/Model/classification.py: Changed the class hierarchy
102            so that a Classification consists of Groups which return
103            Properties when a value matches a Group.
104    
105            * Thuban/Model/layer.py: Fixed name resolution problem.
106    
107            * Thuban/Model/load.py: Use new Classification and Group functions.
108    
109            * Thuban/Model/save.py (Saver.write_attribs): Fixes a test case
110            failure.
111            (Saver.write_classification): Use new Classification and Group
112            functions.
113    
114            * Thuban/UI/classifier.py: Changes to use new Classification and Group
115            functions. Fix to create a tuple with a single value instead of
116            simply returning the value.
117    
118            * Thuban/UI/renderer.py: Use new Classification and Group functions.
119            Use common.py functions.
120    
121            * Thuban/UI/tree.py: Use common.py functions.
122            
123            * test/test_classification.py: Use new Classification and Group
124            classes.
125    
126    2003-02-24  Jonathan Coles   <[email protected]>
127    
128            * Thuban/common.py (Color2wxColour, wxColour2Color): Conversion
129            functions from Thuban color objects to wxWindow colour objects.
130    
131            * Thuban/Model/classification.py (Classification): Renamed
132            GetProperties() to GetClassData(). Used the new iterator
133            in TreeInfo().
134            (ClassIterator): Iterator implementation to iterate over the
135            ClassData objects in a classification object.
136    
137            * Thuban/Model/save.py (Saver.write_classificaton): Uses
138            the new iterator to save the classification information.
139    
140            * Thuban/UI/classifier.py (SelectPropertiesDialog): Support
141            for changing the stroke and fill colors and previewing the
142            changes.
143    
144            * Thuban/UI/mainwindow.py (MainWindow.OpenSession,
145            MainWindow.SaveSessionAs): Text string changes so the dialogs
146            have more meaningful titles.
147    
148            * Thuban/UI/renderer.py (MapRenderer.draw_shape_layer): Change
149            Classification method name from GetProperties to GetClassData.
150    
151            * Thuban/UI/view.py (MapCanvas.find_shape_at): Use method calls
152            instead of accessing now non-existent class variables.
153    
154    2003-02-24  Bernhard Herzog  <[email protected]>
155    
156            * Thuban/UI/renderer.py (MapRenderer.draw_shape_layer): Remove
157            unneeded Shape() call. Rendering is substantially faster without
158            it and it avoids some problems with broken shape files.
159    
160    2003-02-20  Frank Koormann   <[email protected]>
161    
162            Force minimal size of identify and label dialogs. The autosizing
163            looked too ugly.
164    
165            * Thuban/UI/controls.py (RecordListCtrl): Set minimal width for columns.
166            * Thuban/UI/labeldialog.py (LabelDialog.dialog_layout):
167            Set size of listctrl.
168            * Thuban/UI/identifyview.py (IdentifyView.__init__):
169            Set size of dialog.
170    
171    2003-02-19  Jonathan Coles   <[email protected]>
172    
173            * test/test_classification.py, test/test_layer.py,
174            test/test_load.py, test/test_map.py, test/test_session.py:
175            Updated the tests to use the new functions that are in the
176            respective classes.
177    
178            * Thuban/Model/classification.py (Classification):
179            Uses the new ClassData* classes. Modification messages are
180            passed up to the parent layer (if it exists).
181            (ClassData): New class to encapsulate the common data in each
182            classification property.
183            (ClassDataDefault): Represents the Default class. data.
184            (ClassDataPoint): Represents a single class. data point
185            (ClassDataRange): Represents a class. range
186            (ClassDataMap): Represents a class. map (unused).
187    
188            * Thuban/Model/color.py: Added Color.None to represent something
189            with no color. Color.Black represents the color black.
190            (NoColor): Helper class derived from Color to represent something
191            with no color.
192    
193            * Thuban/Model/layer.py (Layer): Removed references to fill, stroke,
194            stroke_width attributes. Made the 'classification' attribute private.
195            New methods for setting/getting the classification.
196    
197            * Thuban/Model/load.py (ProcessSession): Use new methods on Layer
198            to get the classifcation and use the new ClassData* classes to
199            hold the classification data. Use Str2Num to convert numbers
200            properly.
201    
202            * Thuban/Model/save.py (Saver): Use new Color and Classification
203            methods
204    
205            * Thuban/UI/classifier.py (ClassGrid): New class to represent a
206            custom grid.
207            (ClassTable): Support for editing Values and Labels and for
208            changing what type (point or range) of data is stored in each
209            property based on how the user enters the data.
210            (Classifier): Support for saving the new classifications and
211            launching the dialog to edit a property.
212            (SelectPropertiesDialog): New class for editing the visual
213            properties of a classification (stroke color, width, and fill color)
214            (ClassPreviewer): Took the Draw method from ClassRenderer and
215            made most of it into this new class. Intend to use this class in
216            the SelectPropertiesDialog for previewing changes.
217    
218            * Thuban/UI/renderer.py: Use new Color and Classification methods.
219    
220            * Thuban/UI/tree.py: Formatting changes.
221    
222            * Doc/thuban.dtd: Add 'label' element
223    
224            * Thuban/common.py: New. Contains common routines used throughout
225            the code.
226            (Str2Num): Takes a string and converts it to the "best" type of
227            number.
228    
229    2003-02-14  Bernhard Herzog  <[email protected]>
230    
231            * Thuban/UI/view.py (MapCanvas.OnLeftUp): Make sure that the
232            dragging flag is always set to 0 even when the tool implementation
233            raises an exception
234    
235  2003-02-11  Bernhard Herzog  <[email protected]>  2003-02-11  Bernhard Herzog  <[email protected]>
236    
237          * Thuban/UI/application.py (ThubanApplication.splash_screen): New          * Thuban/UI/application.py (ThubanApplication.splash_screen): New

Legend:
Removed from v.403  
changed lines
  Added in v.471

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26