/[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 405 by bh, Fri Feb 14 17:40:41 2003 UTC revision 448 by jonathan, Tue Mar 4 10:32:42 2003 UTC
# Line 1  Line 1 
1    2003-03-04  Jonathan Coles   <[email protected]>
2    
3            * Thuban/Model/classification.py (ClassGroupRange.GetProperties):
4            Parameter 'value' should default to None.
5    
6            * Thuban/UI/mainwindow.py: Use Layer.GetClassification() since
7            the class attribute __classification is now private.
8    
9            * Thuban/UI/classifier.py (ClassGrid): Moved OnCellDClick() from
10            Classifier to ClassGrid. Added support for removing selected rows,
11            which including code for keeping track of when cells are selected,
12            and deselected.
13            (ClassTable): Support for added/removing rows. Fixed a problem
14            with __ParseInput whereby it would not allow strings (only numbers)
15            to be entered.
16            (Classifier): Added button and supporting code for removing
17            selected rows.
18    
19    2003-02-27  Jonathan Coles   <[email protected]>
20    
21            * Thuban/common.py: Moved color conversion functions into
22            Thuban/UI/common.py.
23            (Str2Num): Now converts the float (not the string) to a long/int
24            so that an exception isn't thrown.
25    
26            * Thuban/UI/common.py: Common functions used in several UI modules
27    
28            * Thuban/Model/classification.py: Changed the class hierarchy
29            so that a Classification consists of Groups which return
30            Properties when a value matches a Group.
31    
32            * Thuban/Model/layer.py: Fixed name resolution problem.
33    
34            * Thuban/Model/load.py: Use new Classification and Group functions.
35    
36            * Thuban/Model/save.py (Saver.write_attribs): Fixes a test case
37            failure.
38            (Saver.write_classification): Use new Classification and Group
39            functions.
40    
41            * Thuban/UI/classifier.py: Changes to use new Classification and Group
42            functions. Fix to create a tuple with a single value instead of
43            simply returning the value.
44    
45            * Thuban/UI/renderer.py: Use new Classification and Group functions.
46            Use common.py functions.
47    
48            * Thuban/UI/tree.py: Use common.py functions.
49            
50            * test/test_classification.py: Use new Classification and Group
51            classes.
52    
53    2003-02-24  Jonathan Coles   <[email protected]>
54    
55            * Thuban/common.py (Color2wxColour, wxColour2Color): Conversion
56            functions from Thuban color objects to wxWindow colour objects.
57    
58            * Thuban/Model/classification.py (Classification): Renamed
59            GetProperties() to GetClassData(). Used the new iterator
60            in TreeInfo().
61            (ClassIterator): Iterator implementation to iterate over the
62            ClassData objects in a classification object.
63    
64            * Thuban/Model/save.py (Saver.write_classificaton): Uses
65            the new iterator to save the classification information.
66    
67            * Thuban/UI/classifier.py (SelectPropertiesDialog): Support
68            for changing the stroke and fill colors and previewing the
69            changes.
70    
71            * Thuban/UI/mainwindow.py (MainWindow.OpenSession,
72            MainWindow.SaveSessionAs): Text string changes so the dialogs
73            have more meaningful titles.
74    
75            * Thuban/UI/renderer.py (MapRenderer.draw_shape_layer): Change
76            Classification method name from GetProperties to GetClassData.
77    
78            * Thuban/UI/view.py (MapCanvas.find_shape_at): Use method calls
79            instead of accessing now non-existent class variables.
80    
81    2003-02-24  Bernhard Herzog  <[email protected]>
82    
83            * Thuban/UI/renderer.py (MapRenderer.draw_shape_layer): Remove
84            unneeded Shape() call. Rendering is substantially faster without
85            it and it avoids some problems with broken shape files.
86    
87    2003-02-20  Frank Koormann   <[email protected]>
88    
89            Force minimal size of identify and label dialogs. The autosizing
90            looked too ugly.
91    
92            * Thuban/UI/controls.py (RecordListCtrl): Set minimal width for columns.
93            * Thuban/UI/labeldialog.py (LabelDialog.dialog_layout):
94            Set size of listctrl.
95            * Thuban/UI/identifyview.py (IdentifyView.__init__):
96            Set size of dialog.
97    
98    2003-02-19  Jonathan Coles   <[email protected]>
99    
100            * test/test_classification.py, test/test_layer.py,
101            test/test_load.py, test/test_map.py, test/test_session.py:
102            Updated the tests to use the new functions that are in the
103            respective classes.
104    
105            * Thuban/Model/classification.py (Classification):
106            Uses the new ClassData* classes. Modification messages are
107            passed up to the parent layer (if it exists).
108            (ClassData): New class to encapsulate the common data in each
109            classification property.
110            (ClassDataDefault): Represents the Default class. data.
111            (ClassDataPoint): Represents a single class. data point
112            (ClassDataRange): Represents a class. range
113            (ClassDataMap): Represents a class. map (unused).
114    
115            * Thuban/Model/color.py: Added Color.None to represent something
116            with no color. Color.Black represents the color black.
117            (NoColor): Helper class derived from Color to represent something
118            with no color.
119    
120            * Thuban/Model/layer.py (Layer): Removed references to fill, stroke,
121            stroke_width attributes. Made the 'classification' attribute private.
122            New methods for setting/getting the classification.
123    
124            * Thuban/Model/load.py (ProcessSession): Use new methods on Layer
125            to get the classifcation and use the new ClassData* classes to
126            hold the classification data. Use Str2Num to convert numbers
127            properly.
128    
129            * Thuban/Model/save.py (Saver): Use new Color and Classification
130            methods
131    
132            * Thuban/UI/classifier.py (ClassGrid): New class to represent a
133            custom grid.
134            (ClassTable): Support for editing Values and Labels and for
135            changing what type (point or range) of data is stored in each
136            property based on how the user enters the data.
137            (Classifier): Support for saving the new classifications and
138            launching the dialog to edit a property.
139            (SelectPropertiesDialog): New class for editing the visual
140            properties of a classification (stroke color, width, and fill color)
141            (ClassPreviewer): Took the Draw method from ClassRenderer and
142            made most of it into this new class. Intend to use this class in
143            the SelectPropertiesDialog for previewing changes.
144    
145            * Thuban/UI/renderer.py: Use new Color and Classification methods.
146    
147            * Thuban/UI/tree.py: Formatting changes.
148    
149            * Doc/thuban.dtd: Add 'label' element
150    
151            * Thuban/common.py: New. Contains common routines used throughout
152            the code.
153            (Str2Num): Takes a string and converts it to the "best" type of
154            number.
155    
156  2003-02-14  Bernhard Herzog  <[email protected]>  2003-02-14  Bernhard Herzog  <[email protected]>
157    
158          * Thuban/UI/view.py (MapCanvas.OnLeftUp): Make sure that the          * Thuban/UI/view.py (MapCanvas.OnLeftUp): Make sure that the

Legend:
Removed from v.405  
changed lines
  Added in v.448

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26