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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26