1 |
|
2003-03-05 Jonathan Coles <[email protected]> |
2 |
|
|
3 |
|
* Thuban/UI/classifier.py: Added class documentation. |
4 |
|
Fixed RTbug #1713, #1714. Added Move[Up|Down] buttons. |
5 |
|
Store just the groups in the table and generate the other |
6 |
|
column information when it is requested. Add "None" field |
7 |
|
to pull-down to select no classification. |
8 |
|
|
9 |
|
* Thuban/common.py: Moved FIELDTYPE constants from table.py |
10 |
|
(Str2Num): Only catch ValueError exceptions. |
11 |
|
|
12 |
|
* Thuban/Model/classification.py: Class documentation. Renaming |
13 |
|
of methods with Stroke to Line. Groups are stored in a single |
14 |
|
list with the default as the first element. Groups are searched |
15 |
|
in the order they appear in the list. |
16 |
|
|
17 |
|
* Thuban/Model/color.py: Documentation. |
18 |
|
|
19 |
|
* Thuban/Model/layer.py (Layer): Add GetFieldType to retreive |
20 |
|
the kind of data represented by a field. |
21 |
|
|
22 |
|
* Thuban/Model/load.py (ProcessSession): Use proper string |
23 |
|
conversion function; fixes RTbug #1713. |
24 |
|
|
25 |
|
* Thuban/Model/save.py (Saver): Store field type information. |
26 |
|
|
27 |
|
* Thuban/Model/table.py: Put FIELDTYPE constants in common.py. |
28 |
|
(Table): Add field_info_by_name() to retrieve field information |
29 |
|
by specifying the field name, not the number. |
30 |
|
|
31 |
|
* Thuban/UI/mainwindow.py: Function name changes. |
32 |
|
|
33 |
|
* Thuban/UI/renderer.py (MapRenderer.draw_shape_layer): Only |
34 |
|
get the layer classification once. Don't try to classify |
35 |
|
values when the field is None: just use the default properties. |
36 |
|
|
37 |
|
* Thuban/UI/view.py: Function name changes. |
38 |
|
|
39 |
|
* Doc/thuban.dtd: Add field_type attribute to a classification. |
40 |
|
|
41 |
|
2003-03-04 Bernhard Herzog <[email protected]> |
42 |
|
|
43 |
|
* Doc/thuban.dtd: Use correct syntax for optional attributes. Make |
44 |
|
the fill and stroke layer attributes optional with suitable |
45 |
|
default values. Add the stroke_width layer attribute. Use correct |
46 |
|
syntax for empty elements. Make the attribute list for labels |
47 |
|
refer to the label element. |
48 |
|
|
49 |
|
2003-03-04 Bernhard Herzog <[email protected]> |
50 |
|
|
51 |
|
* setup.py (thuban_build_py.build): Add a comment about distutils in |
52 |
|
Python 2.3 containing some of the functionality we implement in |
53 |
|
setup.py ourselves. |
54 |
|
|
55 |
|
* Thuban/UI/classifier.py (ClassGrid.__init__): Set the table |
56 |
|
before the selection mode. Doing it the other way round triggers |
57 |
|
an assertion in wxWindows. |
58 |
|
|
59 |
|
* Thuban/Model/save.py (escape): Fix typo in doc-string |
60 |
|
|
61 |
|
* Thuban/Model/classification.py: Remove unnecessary wxPython |
62 |
|
import |
63 |
|
|
64 |
|
2003-03-04 Jonathan Coles <[email protected]> |
65 |
|
|
66 |
|
* Thuban/Model/classification.py (ClassGroupRange.GetProperties): |
67 |
|
Parameter 'value' should default to None. |
68 |
|
|
69 |
|
* Thuban/UI/mainwindow.py: Use Layer.GetClassification() since |
70 |
|
the class attribute __classification is now private. |
71 |
|
|
72 |
|
* Thuban/UI/classifier.py (ClassGrid): Moved OnCellDClick() from |
73 |
|
Classifier to ClassGrid. Added support for removing selected rows, |
74 |
|
which including code for keeping track of when cells are selected, |
75 |
|
and deselected. |
76 |
|
(ClassTable): Support for added/removing rows. Fixed a problem |
77 |
|
with __ParseInput whereby it would not allow strings (only numbers) |
78 |
|
to be entered. |
79 |
|
(Classifier): Added button and supporting code for removing |
80 |
|
selected rows. |
81 |
|
|
82 |
|
2003-02-27 Jonathan Coles <[email protected]> |
83 |
|
|
84 |
|
* Thuban/common.py: Moved color conversion functions into |
85 |
|
Thuban/UI/common.py. |
86 |
|
(Str2Num): Now converts the float (not the string) to a long/int |
87 |
|
so that an exception isn't thrown. |
88 |
|
|
89 |
|
* Thuban/UI/common.py: Common functions used in several UI modules |
90 |
|
|
91 |
|
* Thuban/Model/classification.py: Changed the class hierarchy |
92 |
|
so that a Classification consists of Groups which return |
93 |
|
Properties when a value matches a Group. |
94 |
|
|
95 |
|
* Thuban/Model/layer.py: Fixed name resolution problem. |
96 |
|
|
97 |
|
* Thuban/Model/load.py: Use new Classification and Group functions. |
98 |
|
|
99 |
|
* Thuban/Model/save.py (Saver.write_attribs): Fixes a test case |
100 |
|
failure. |
101 |
|
(Saver.write_classification): Use new Classification and Group |
102 |
|
functions. |
103 |
|
|
104 |
|
* Thuban/UI/classifier.py: Changes to use new Classification and Group |
105 |
|
functions. Fix to create a tuple with a single value instead of |
106 |
|
simply returning the value. |
107 |
|
|
108 |
|
* Thuban/UI/renderer.py: Use new Classification and Group functions. |
109 |
|
Use common.py functions. |
110 |
|
|
111 |
|
* Thuban/UI/tree.py: Use common.py functions. |
112 |
|
|
113 |
|
* test/test_classification.py: Use new Classification and Group |
114 |
|
classes. |
115 |
|
|
116 |
|
2003-02-24 Jonathan Coles <[email protected]> |
117 |
|
|
118 |
|
* Thuban/common.py (Color2wxColour, wxColour2Color): Conversion |
119 |
|
functions from Thuban color objects to wxWindow colour objects. |
120 |
|
|
121 |
|
* Thuban/Model/classification.py (Classification): Renamed |
122 |
|
GetProperties() to GetClassData(). Used the new iterator |
123 |
|
in TreeInfo(). |
124 |
|
(ClassIterator): Iterator implementation to iterate over the |
125 |
|
ClassData objects in a classification object. |
126 |
|
|
127 |
|
* Thuban/Model/save.py (Saver.write_classificaton): Uses |
128 |
|
the new iterator to save the classification information. |
129 |
|
|
130 |
|
* Thuban/UI/classifier.py (SelectPropertiesDialog): Support |
131 |
|
for changing the stroke and fill colors and previewing the |
132 |
|
changes. |
133 |
|
|
134 |
|
* Thuban/UI/mainwindow.py (MainWindow.OpenSession, |
135 |
|
MainWindow.SaveSessionAs): Text string changes so the dialogs |
136 |
|
have more meaningful titles. |
137 |
|
|
138 |
|
* Thuban/UI/renderer.py (MapRenderer.draw_shape_layer): Change |
139 |
|
Classification method name from GetProperties to GetClassData. |
140 |
|
|
141 |
|
* Thuban/UI/view.py (MapCanvas.find_shape_at): Use method calls |
142 |
|
instead of accessing now non-existent class variables. |
143 |
|
|
144 |
|
2003-02-24 Bernhard Herzog <[email protected]> |
145 |
|
|
146 |
|
* Thuban/UI/renderer.py (MapRenderer.draw_shape_layer): Remove |
147 |
|
unneeded Shape() call. Rendering is substantially faster without |
148 |
|
it and it avoids some problems with broken shape files. |
149 |
|
|
150 |
|
2003-02-20 Frank Koormann <[email protected]> |
151 |
|
|
152 |
|
Force minimal size of identify and label dialogs. The autosizing |
153 |
|
looked too ugly. |
154 |
|
|
155 |
|
* Thuban/UI/controls.py (RecordListCtrl): Set minimal width for columns. |
156 |
|
* Thuban/UI/labeldialog.py (LabelDialog.dialog_layout): |
157 |
|
Set size of listctrl. |
158 |
|
* Thuban/UI/identifyview.py (IdentifyView.__init__): |
159 |
|
Set size of dialog. |
160 |
|
|
161 |
2003-02-19 Jonathan Coles <[email protected]> |
2003-02-19 Jonathan Coles <[email protected]> |
162 |
|
|
163 |
* test/test_classification.py, test/test_layer.py, |
* test/test_classification.py, test/test_layer.py, |