1 |
|
2003-03-10 Jonathan Coles <[email protected]> |
2 |
|
|
3 |
|
* Thuban/UI/application.py: Changed SESSION_CHANGED to |
4 |
|
SESSION_REPLACED. |
5 |
|
|
6 |
|
* Thuban/UI/classifier.py: Wrap text with _(). |
7 |
|
(ClassGrid.CreateTable): Set dimensions and size hints here, |
8 |
|
instead of in Reset, so we only set the size once. |
9 |
|
|
10 |
|
* Thuban/UI/dialogs.py: Don't need Shutdown(); just use Close()! |
11 |
|
|
12 |
|
* Thuban/UI/mainwindow.py (MainWindow.prepare_new_session): |
13 |
|
Call Close() instead of Shutdown(). |
14 |
|
|
15 |
|
* Thuban/UI/messages.py: Changed SESSION_CHANGED to SESSION_REPLACED. |
16 |
|
|
17 |
|
* Thuban/UI/tree.py: Changed SESSION_CHANGED to SESSION_REPLACED. |
18 |
|
Go back to using OnClose() instead of Shutdown(). |
19 |
|
|
20 |
|
2003-03-10 Jonathan Coles <[email protected]> |
21 |
|
|
22 |
|
* Thuban/UI/classifier.py (Classifier): SelectField() needed |
23 |
|
to know the old field index as well as the new one. |
24 |
|
|
25 |
|
2003-03-10 Jonathan Coles <[email protected]> |
26 |
|
|
27 |
|
* Thuban/UI/classifier.py (Classifier): Use __SelectField() |
28 |
|
to correctly set the table information and call this from |
29 |
|
__init__ and from _OnFieldSelect so that all the information |
30 |
|
is up to date when the dialog opens and when a field is changed. |
31 |
|
|
32 |
|
2003-03-10 Jonathan Coles <[email protected]> |
33 |
|
|
34 |
|
* Thuban/Model/classification.py (Classification): Don't use |
35 |
|
layer's message function directly, use the ClassChanged() method |
36 |
|
when then classification changes. SetField/SetFieldType/SetLayer |
37 |
|
must keep the information about field name and field type in |
38 |
|
sync when an owning layer is set or removed. |
39 |
|
|
40 |
|
* Thuban/Model/layer.py: Added ClassChanged() so that the |
41 |
|
classification can tell the layer when its data has changed. |
42 |
|
(Layer.SetClassification): Accepts None as an arguement to |
43 |
|
remove the current classification and correctly handles |
44 |
|
adding a new classification. |
45 |
|
|
46 |
|
* Thuban/Model/load.py: Comment out print statement |
47 |
|
|
48 |
|
* test/test_classification.py, test/test_save.py: New and |
49 |
|
improved tests. |
50 |
|
|
51 |
|
2003-03-07 Jonathan Coles <[email protected]> |
52 |
|
|
53 |
|
* Thuban/Model/classification.py: Implemented __copy__ and |
54 |
|
__deepcopy__ for ClassGroup* and ClassGroupProperites so |
55 |
|
they can easily be copied by the classifier dialog. |
56 |
|
(ClassGroupProperites.__init__): The default line color should |
57 |
|
have been Color.Black. |
58 |
|
|
59 |
|
* Thuban/UI/classifier.py: Setting and Getting table values now |
60 |
|
uses a consistent set of functions. |
61 |
|
(Classifier): Now non-modal. Has field type label which changes |
62 |
|
as the field changes. Keep track of buttons in a list so that |
63 |
|
we can enable/disable the buttons when the None field is selected. |
64 |
|
(SelectPropertiesDialog): Add buttons to make the colors transparent. |
65 |
|
|
66 |
|
* Thuban/UI/dialogs.py (NonModalDialog.Shutdown): New method which |
67 |
|
does what OnClose did, but can be called by the application to |
68 |
|
close a window. Needed when a session changes, and we have to |
69 |
|
close the classifier windows. |
70 |
|
|
71 |
|
* Thuban/UI/mainwindow.py (MainWindow.prepare_new_session): |
72 |
|
Shuts down open dialogs. Used when a new session is created |
73 |
|
or a session is opened. |
74 |
|
(MainWindow.SaveSession): Should only call application.SaveSession() |
75 |
|
if we don't call SaveSessionAs first. |
76 |
|
(MainWindow.Classify): Allow different classifier dialogs for |
77 |
|
different layers. |
78 |
|
|
79 |
|
* Thuban/UI/tree.py (SessionTreeView): Remove OnClose and let |
80 |
|
the parent class handle it. Add Shutdown() to unsubscibe from |
81 |
|
event notification and call the parent Shutdown(). This was |
82 |
|
necessary so the application can close the tree window. |
83 |
|
|
84 |
|
2003-03-06 Jonathan Coles <[email protected]> |
85 |
|
|
86 |
|
* Thuban/Model/classification.py: Minor documentation changes, |
87 |
|
Addition of __eq__ and __ne__ methods. |
88 |
|
(Classification.SetLayer): prevent recursion between this method |
89 |
|
and Layer.SetClassification(). |
90 |
|
|
91 |
|
* Thuban/Model/color.py: Addition of __eq__ and __ne__ methods. |
92 |
|
|
93 |
|
* Thuban/Model/layer.py (SetClassification): prevent recursion |
94 |
|
between this method and Classification.SetLayer(). |
95 |
|
|
96 |
|
* test/test_classification.py, test/test_load.py, |
97 |
|
test/test_session.py: Fixed and added tests for the classification |
98 |
|
classes. |
99 |
|
|
100 |
|
2003-03-06 Bernhard Herzog <[email protected]> |
101 |
|
|
102 |
|
* Thuban/UI/classifier.py (ClassGrid.__init__) |
103 |
|
(ClassGrid.CreateTable): Move the SetSelectionMode call to |
104 |
|
CreateTable because otherwise it triggers an assertion in |
105 |
|
wxPython/wxGTK 2.4. |
106 |
|
|
107 |
|
2003-03-05 Jonathan Coles <[email protected]> |
108 |
|
|
109 |
|
* Thuban/common.py: Move FIELDTYPE constants back to table.py. |
110 |
|
|
111 |
|
* Thuban/Model/load.py: import FIELDTYPE constants from table. |
112 |
|
|
113 |
|
* Thuban/UI/classifier.py: import FIELDTYPE constants from table. |
114 |
|
|
115 |
|
* Thuban/Model/table.py: Put FIELDTYPE constants back. |
116 |
|
|
117 |
|
2003-03-05 Jonathan Coles <[email protected]> |
118 |
|
|
119 |
|
* Thuban/UI/classifier.py: Added class documentation. |
120 |
|
Fixed RTbug #1713, #1714. Added Move[Up|Down] buttons. |
121 |
|
Store just the groups in the table and generate the other |
122 |
|
column information when it is requested. Add "None" field |
123 |
|
to pull-down to select no classification. |
124 |
|
|
125 |
|
* Thuban/common.py: Moved FIELDTYPE constants from table.py |
126 |
|
(Str2Num): Only catch ValueError exceptions. |
127 |
|
|
128 |
|
* Thuban/Model/classification.py: Class documentation. Renaming |
129 |
|
of methods with Stroke to Line. Groups are stored in a single |
130 |
|
list with the default as the first element. Groups are searched |
131 |
|
in the order they appear in the list. |
132 |
|
|
133 |
|
* Thuban/Model/color.py: Documentation. |
134 |
|
|
135 |
|
* Thuban/Model/layer.py (Layer): Add GetFieldType to retreive |
136 |
|
the kind of data represented by a field. |
137 |
|
|
138 |
|
* Thuban/Model/load.py (ProcessSession): Use proper string |
139 |
|
conversion function; fixes RTbug #1713. |
140 |
|
|
141 |
|
* Thuban/Model/save.py (Saver): Store field type information. |
142 |
|
|
143 |
|
* Thuban/Model/table.py: Put FIELDTYPE constants in common.py. |
144 |
|
(Table): Add field_info_by_name() to retrieve field information |
145 |
|
by specifying the field name, not the number. |
146 |
|
|
147 |
|
* Thuban/UI/mainwindow.py: Function name changes. |
148 |
|
|
149 |
|
* Thuban/UI/renderer.py (MapRenderer.draw_shape_layer): Only |
150 |
|
get the layer classification once. Don't try to classify |
151 |
|
values when the field is None: just use the default properties. |
152 |
|
|
153 |
|
* Thuban/UI/view.py: Function name changes. |
154 |
|
|
155 |
|
* Doc/thuban.dtd: Add field_type attribute to a classification. |
156 |
|
|
157 |
|
2003-03-04 Bernhard Herzog <[email protected]> |
158 |
|
|
159 |
|
* Doc/thuban.dtd: Use correct syntax for optional attributes. Make |
160 |
|
the fill and stroke layer attributes optional with suitable |
161 |
|
default values. Add the stroke_width layer attribute. Use correct |
162 |
|
syntax for empty elements. Make the attribute list for labels |
163 |
|
refer to the label element. |
164 |
|
|
165 |
|
2003-03-04 Bernhard Herzog <[email protected]> |
166 |
|
|
167 |
|
* setup.py (thuban_build_py.build): Add a comment about distutils in |
168 |
|
Python 2.3 containing some of the functionality we implement in |
169 |
|
setup.py ourselves. |
170 |
|
|
171 |
|
* Thuban/UI/classifier.py (ClassGrid.__init__): Set the table |
172 |
|
before the selection mode. Doing it the other way round triggers |
173 |
|
an assertion in wxWindows. |
174 |
|
|
175 |
|
* Thuban/Model/save.py (escape): Fix typo in doc-string |
176 |
|
|
177 |
|
* Thuban/Model/classification.py: Remove unnecessary wxPython |
178 |
|
import |
179 |
|
|
180 |
|
2003-03-04 Jonathan Coles <[email protected]> |
181 |
|
|
182 |
|
* Thuban/Model/classification.py (ClassGroupRange.GetProperties): |
183 |
|
Parameter 'value' should default to None. |
184 |
|
|
185 |
|
* Thuban/UI/mainwindow.py: Use Layer.GetClassification() since |
186 |
|
the class attribute __classification is now private. |
187 |
|
|
188 |
|
* Thuban/UI/classifier.py (ClassGrid): Moved OnCellDClick() from |
189 |
|
Classifier to ClassGrid. Added support for removing selected rows, |
190 |
|
which including code for keeping track of when cells are selected, |
191 |
|
and deselected. |
192 |
|
(ClassTable): Support for added/removing rows. Fixed a problem |
193 |
|
with __ParseInput whereby it would not allow strings (only numbers) |
194 |
|
to be entered. |
195 |
|
(Classifier): Added button and supporting code for removing |
196 |
|
selected rows. |
197 |
|
|
198 |
|
2003-02-27 Jonathan Coles <[email protected]> |
199 |
|
|
200 |
|
* Thuban/common.py: Moved color conversion functions into |
201 |
|
Thuban/UI/common.py. |
202 |
|
(Str2Num): Now converts the float (not the string) to a long/int |
203 |
|
so that an exception isn't thrown. |
204 |
|
|
205 |
|
* Thuban/UI/common.py: Common functions used in several UI modules |
206 |
|
|
207 |
|
* Thuban/Model/classification.py: Changed the class hierarchy |
208 |
|
so that a Classification consists of Groups which return |
209 |
|
Properties when a value matches a Group. |
210 |
|
|
211 |
|
* Thuban/Model/layer.py: Fixed name resolution problem. |
212 |
|
|
213 |
|
* Thuban/Model/load.py: Use new Classification and Group functions. |
214 |
|
|
215 |
|
* Thuban/Model/save.py (Saver.write_attribs): Fixes a test case |
216 |
|
failure. |
217 |
|
(Saver.write_classification): Use new Classification and Group |
218 |
|
functions. |
219 |
|
|
220 |
|
* Thuban/UI/classifier.py: Changes to use new Classification and Group |
221 |
|
functions. Fix to create a tuple with a single value instead of |
222 |
|
simply returning the value. |
223 |
|
|
224 |
|
* Thuban/UI/renderer.py: Use new Classification and Group functions. |
225 |
|
Use common.py functions. |
226 |
|
|
227 |
|
* Thuban/UI/tree.py: Use common.py functions. |
228 |
|
|
229 |
|
* test/test_classification.py: Use new Classification and Group |
230 |
|
classes. |
231 |
|
|
232 |
|
2003-02-24 Jonathan Coles <[email protected]> |
233 |
|
|
234 |
|
* Thuban/common.py (Color2wxColour, wxColour2Color): Conversion |
235 |
|
functions from Thuban color objects to wxWindow colour objects. |
236 |
|
|
237 |
|
* Thuban/Model/classification.py (Classification): Renamed |
238 |
|
GetProperties() to GetClassData(). Used the new iterator |
239 |
|
in TreeInfo(). |
240 |
|
(ClassIterator): Iterator implementation to iterate over the |
241 |
|
ClassData objects in a classification object. |
242 |
|
|
243 |
|
* Thuban/Model/save.py (Saver.write_classificaton): Uses |
244 |
|
the new iterator to save the classification information. |
245 |
|
|
246 |
|
* Thuban/UI/classifier.py (SelectPropertiesDialog): Support |
247 |
|
for changing the stroke and fill colors and previewing the |
248 |
|
changes. |
249 |
|
|
250 |
|
* Thuban/UI/mainwindow.py (MainWindow.OpenSession, |
251 |
|
MainWindow.SaveSessionAs): Text string changes so the dialogs |
252 |
|
have more meaningful titles. |
253 |
|
|
254 |
|
* Thuban/UI/renderer.py (MapRenderer.draw_shape_layer): Change |
255 |
|
Classification method name from GetProperties to GetClassData. |
256 |
|
|
257 |
|
* Thuban/UI/view.py (MapCanvas.find_shape_at): Use method calls |
258 |
|
instead of accessing now non-existent class variables. |
259 |
|
|
260 |
|
2003-02-24 Bernhard Herzog <[email protected]> |
261 |
|
|
262 |
|
* Thuban/UI/renderer.py (MapRenderer.draw_shape_layer): Remove |
263 |
|
unneeded Shape() call. Rendering is substantially faster without |
264 |
|
it and it avoids some problems with broken shape files. |
265 |
|
|
266 |
|
2003-02-20 Frank Koormann <[email protected]> |
267 |
|
|
268 |
|
Force minimal size of identify and label dialogs. The autosizing |
269 |
|
looked too ugly. |
270 |
|
|
271 |
|
* Thuban/UI/controls.py (RecordListCtrl): Set minimal width for columns. |
272 |
|
* Thuban/UI/labeldialog.py (LabelDialog.dialog_layout): |
273 |
|
Set size of listctrl. |
274 |
|
* Thuban/UI/identifyview.py (IdentifyView.__init__): |
275 |
|
Set size of dialog. |
276 |
|
|
277 |
|
2003-02-19 Jonathan Coles <[email protected]> |
278 |
|
|
279 |
|
* test/test_classification.py, test/test_layer.py, |
280 |
|
test/test_load.py, test/test_map.py, test/test_session.py: |
281 |
|
Updated the tests to use the new functions that are in the |
282 |
|
respective classes. |
283 |
|
|
284 |
|
* Thuban/Model/classification.py (Classification): |
285 |
|
Uses the new ClassData* classes. Modification messages are |
286 |
|
passed up to the parent layer (if it exists). |
287 |
|
(ClassData): New class to encapsulate the common data in each |
288 |
|
classification property. |
289 |
|
(ClassDataDefault): Represents the Default class. data. |
290 |
|
(ClassDataPoint): Represents a single class. data point |
291 |
|
(ClassDataRange): Represents a class. range |
292 |
|
(ClassDataMap): Represents a class. map (unused). |
293 |
|
|
294 |
|
* Thuban/Model/color.py: Added Color.None to represent something |
295 |
|
with no color. Color.Black represents the color black. |
296 |
|
(NoColor): Helper class derived from Color to represent something |
297 |
|
with no color. |
298 |
|
|
299 |
|
* Thuban/Model/layer.py (Layer): Removed references to fill, stroke, |
300 |
|
stroke_width attributes. Made the 'classification' attribute private. |
301 |
|
New methods for setting/getting the classification. |
302 |
|
|
303 |
|
* Thuban/Model/load.py (ProcessSession): Use new methods on Layer |
304 |
|
to get the classifcation and use the new ClassData* classes to |
305 |
|
hold the classification data. Use Str2Num to convert numbers |
306 |
|
properly. |
307 |
|
|
308 |
|
* Thuban/Model/save.py (Saver): Use new Color and Classification |
309 |
|
methods |
310 |
|
|
311 |
|
* Thuban/UI/classifier.py (ClassGrid): New class to represent a |
312 |
|
custom grid. |
313 |
|
(ClassTable): Support for editing Values and Labels and for |
314 |
|
changing what type (point or range) of data is stored in each |
315 |
|
property based on how the user enters the data. |
316 |
|
(Classifier): Support for saving the new classifications and |
317 |
|
launching the dialog to edit a property. |
318 |
|
(SelectPropertiesDialog): New class for editing the visual |
319 |
|
properties of a classification (stroke color, width, and fill color) |
320 |
|
(ClassPreviewer): Took the Draw method from ClassRenderer and |
321 |
|
made most of it into this new class. Intend to use this class in |
322 |
|
the SelectPropertiesDialog for previewing changes. |
323 |
|
|
324 |
|
* Thuban/UI/renderer.py: Use new Color and Classification methods. |
325 |
|
|
326 |
|
* Thuban/UI/tree.py: Formatting changes. |
327 |
|
|
328 |
|
* Doc/thuban.dtd: Add 'label' element |
329 |
|
|
330 |
|
* Thuban/common.py: New. Contains common routines used throughout |
331 |
|
the code. |
332 |
|
(Str2Num): Takes a string and converts it to the "best" type of |
333 |
|
number. |
334 |
|
|
335 |
|
2003-02-14 Bernhard Herzog <[email protected]> |
336 |
|
|
337 |
|
* Thuban/UI/view.py (MapCanvas.OnLeftUp): Make sure that the |
338 |
|
dragging flag is always set to 0 even when the tool implementation |
339 |
|
raises an exception |
340 |
|
|
341 |
2003-02-11 Bernhard Herzog <[email protected]> |
2003-02-11 Bernhard Herzog <[email protected]> |
342 |
|
|
343 |
* Thuban/UI/application.py (ThubanApplication.splash_screen): New |
* Thuban/UI/application.py (ThubanApplication.splash_screen): New |
359 |
|
|
360 |
2003-02-10 Jonathan Coles <[email protected]> |
2003-02-10 Jonathan Coles <[email protected]> |
361 |
|
|
362 |
* Thuban/Model/save.py (Saver.open_element, Saver.close_element): |
* Thuban/Model/save.py (Saver.open_element, Saver.close_element): |
363 |
Added element_open variable to track opening and closing of tags |
Added element_open variable to track opening and closing of tags |
364 |
so that tags that don't span more than one line are closed with |
so that tags that don't span more than one line are closed with |
365 |
/> instead of </tag_name>. Use the GetDefault*() methods of |
/> instead of </tag_name>. Use the GetDefault*() methods of |
372 |
(ClassData): New class to encapsulate the classification data |
(ClassData): New class to encapsulate the classification data |
373 |
|
|
374 |
* Thuban/Model/layer.py (Layer): Remove the |
* Thuban/Model/layer.py (Layer): Remove the |
375 |
Set[Fill|Stroke|StrokeWidth]() methods. Code should call the |
Set[Fill|Stroke|StrokeWidth]() methods. Code should call the |
376 |
SetDefault*() methods on the layer's classification object. |
SetDefault*() methods on the layer's classification object. |
377 |
(Layer.__init__): Use the new SetDefault*() methods in the |
(Layer.__init__): Use the new SetDefault*() methods in the |
378 |
Classification class. |
Classification class. |
379 |
|
|
380 |
* Thuban/Model/load.py (ProcessSession): Use the new ClassData |
* Thuban/Model/load.py (ProcessSession): Use the new ClassData |
381 |
object instead of a dictionary. |
object instead of a dictionary. |
382 |
|
|
383 |
* Thuban/UI/classifier.py (ClassRenderer): New class to |
* Thuban/UI/classifier.py (ClassRenderer): New class to |
384 |
draw the classifications in the dialog box's table. |
draw the classifications in the dialog box's table. |
385 |
(Classifier): Modified to use the ClassRenderer class. |
(Classifier): Modified to use the ClassRenderer class. |
386 |
|
|
387 |
* Thuban/UI/mainwindow.py (MainWindow): Use the SetDefault*() |
* Thuban/UI/mainwindow.py (MainWindow): Use the SetDefault*() |
388 |
methods of the Classification class. |
methods of the Classification class. |
389 |
|
|
390 |
* Thuban/UI/renderer.py (MapRenderer): Use the Get*() methods |
* Thuban/UI/renderer.py (MapRenderer): Use the Get*() methods |
391 |
of the ClassData class. |
of the ClassData class. |
408 |
2003-01-28 Jonathan Coles <[email protected]> |
2003-01-28 Jonathan Coles <[email protected]> |
409 |
|
|
410 |
* Thuban/UI/classifier.py (Classifier): Resolved merging conflicts. |
* Thuban/UI/classifier.py (Classifier): Resolved merging conflicts. |
411 |
Fixed crashing problem on some systems. Dialog box shows |
Fixed crashing problem on some systems. Dialog box shows |
412 |
classification data. |
classification data. |
413 |
|
|
414 |
* Thuban/UI/tree.py (SessionTreeCtrl.add_items): Handle drawing |
* Thuban/UI/tree.py (SessionTreeCtrl.add_items): Handle drawing |
421 |
function to add information about the classification into the |
function to add information about the classification into the |
422 |
tree view. |
tree view. |
423 |
|
|
424 |
2003-01-27 Jan-Oliver Wagner <[email protected]> |
2003-01-27 Jan-Oliver Wagner <[email protected]> |
425 |
|
|
426 |
* Thuban/__init__.py (_): New. |
* Thuban/__init__.py (_): New. |
427 |
|
|
428 |
* Thuban/Model/classification.py, Thuban/Model/extension.py, |
* Thuban/Model/classification.py, Thuban/Model/extension.py, |
429 |
Thuban/Model/layer.py, Thuban/Model/load.py, Thuban/Model/map.py, |
Thuban/Model/layer.py, Thuban/Model/load.py, Thuban/Model/map.py, |
430 |
Thuban/Model/session.py, Thuban/UI/application.py, Thuban/UI/classifier.py, |
Thuban/Model/session.py, Thuban/UI/application.py, |
431 |
Thuban/UI/context.py, Thuban/UI/controls.py, Thuban/UI/identifyview.py, |
Thuban/UI/classifier.py, Thuban/UI/context.py, Thuban/UI/controls.py, |
432 |
Thuban/UI/labeldialog.py, Thuban/UI/mainwindow.py, Thuban/UI/menu.py, |
Thuban/UI/identifyview.py, Thuban/UI/labeldialog.py, |
433 |
Thuban/UI/proj4dialog.py, Thuban/UI/renderer.py, Thuban/UI/tree.py, |
Thuban/UI/mainwindow.py, Thuban/UI/menu.py, Thuban/UI/proj4dialog.py, |
434 |
Thuban/Lib/connector.py, Thuban/Lib/fileutil.py: |
Thuban/UI/renderer.py, Thuban/UI/tree.py, Thuban/Lib/connector.py, |
435 |
Replace user string by _() for i18n. |
Thuban/Lib/fileutil.py: Replace user string by _() for i18n. |
436 |
|
|
437 |
2003-01-27 Jonathan Coles <[email protected]> |
2003-01-27 Jonathan Coles <[email protected]> |
438 |
|
|
439 |
* Thuban/Model/layer.py: Classification initialization calls. |
* Thuban/Model/layer.py: Classification initialization calls. |
440 |
|
|
441 |
* Thuban/Model/classification.py: Created class to encapsulate |
* Thuban/Model/classification.py: Created class to encapsulate |
442 |
a layer classification. Supports specific data points and |
a layer classification. Supports specific data points and |
443 |
ranges. |
ranges. |
444 |
|
|
445 |
* Thuban/Model/load.py: Added support for loading classification |
* Thuban/Model/load.py: Added support for loading classification |
446 |
information. |
information. |
447 |
|
|
448 |
* Thuban/Model/save.py: Added support for saving classification |
* Thuban/Model/save.py: Added support for saving classification |
449 |
information. |
information. |
450 |
|
|
451 |
* Thuban/UI/classifier.py: Initial class for a dialog box for |
* Thuban/UI/classifier.py: Initial class for a dialog box for |
452 |
specifying classification information. |
specifying classification information. |
453 |
|
|
454 |
* Thuban/UI/mainwindows.py: Support for opening the classifier |
* Thuban/UI/mainwindows.py: Support for opening the classifier |
455 |
dialog. |
dialog. |
456 |
|
|
457 |
* Thuban/UI/renderer.py: Support for drawing a layer with the |
* Thuban/UI/renderer.py: Support for drawing a layer with the |
458 |
classification information. |
classification information. |
459 |
|
|
460 |
* Data/iceland_sample_class.thuban: iceland_sample with |
* Data/iceland_sample_class.thuban: iceland_sample with |
461 |
classification data. |
classification data. |
462 |
|
|
463 |
* test/test_classification: Tests for the Classification class. |
* test/test_classification: Tests for the Classification class. |
464 |
|
|
465 |
2002-12-09 Bernhard Herzog <[email protected]> |
2002-12-09 Bernhard Herzog <[email protected]> |
466 |
|
|
496 |
* Thuban/UI/mainwindow.py: Altered the order of tools in the |
* Thuban/UI/mainwindow.py: Altered the order of tools in the |
497 |
toolbar: First now are all navigation tools (Zoom In/Out, Pan, |
toolbar: First now are all navigation tools (Zoom In/Out, Pan, |
498 |
Full Extent). |
Full Extent). |
499 |
|
|
500 |
2002-10-23 Bernhard Herzog <[email protected]> |
2002-10-23 Bernhard Herzog <[email protected]> |
501 |
|
|
502 |
* setup.py (setup call): version now 0.1.3 |
* setup.py (setup call): version now 0.1.3 |
607 |
* Thuban/UI/mainwindow.py (MainWindow.OnClose): Unsubscribe |
* Thuban/UI/mainwindow.py (MainWindow.OnClose): Unsubscribe |
608 |
VIEW_POSITION |
VIEW_POSITION |
609 |
|
|
610 |
2002-09-04 Frank Koormann <[email protected]> |
2002-09-04 Frank Koormann <[email protected]> |
611 |
|
|
612 |
* Resources/Bitmaps/fullextent.xpm: Updated Icon (removed "potatoe") |
* Resources/Bitmaps/fullextent.xpm: Updated Icon (removed "potatoe") |
613 |
|
|
694 |
|
|
695 |
* Thuban/Model/table.py (Table.write_record): New method to write |
* Thuban/Model/table.py (Table.write_record): New method to write |
696 |
records. |
records. |
697 |
(Table.__init__): Open the DBF file for writing too. |
(Table.__init__): Open the DBF file for writing too. |
698 |
|
|
699 |
* Thuban/UI/controls.py (RecordTable.SetValue): Write the value |
* Thuban/UI/controls.py (RecordTable.SetValue): Write the value |
700 |
into the underlying table. |
into the underlying table. |
732 |
* setup.py (ThubanInstall.run): Don't repr install_lib_orig |
* setup.py (ThubanInstall.run): Don't repr install_lib_orig |
733 |
because thubaninit_contents will do it for us. |
because thubaninit_contents will do it for us. |
734 |
|
|
735 |
2002-08-16 Jan-Oliver Wagner <[email protected]> |
2002-08-16 Jan-Oliver Wagner <[email protected]> |
736 |
|
|
737 |
* Thuban/UI/mainwindow.py: menu item 'show session tree' now disable if |
* Thuban/UI/mainwindow.py: menu item 'show session tree' now disable if |
738 |
tree window already open |
tree window already open |
860 |
* Thuban/UI/tree.py: We can now simply subscribe to the session's |
* Thuban/UI/tree.py: We can now simply subscribe to the session's |
861 |
CHANGED channel to be informed of changes. |
CHANGED channel to be informed of changes. |
862 |
(SessionTreeCtrl.session_channels): Not needed any longer. |
(SessionTreeCtrl.session_channels): Not needed any longer. |
863 |
(SessionTreeCtrl.unsubscribe_all, SessionTreeCtrl.session_changed): |
(SessionTreeCtrl.unsubscribe_all, SessionTreeCtrl.session_changed): |
864 |
Only have to (un)subscribe CHANGED |
Only have to (un)subscribe CHANGED |
865 |
|
|
866 |
* Thuban/Model/map.py (Map.TreeInfo): Deal better with empty maps. |
* Thuban/Model/map.py (Map.TreeInfo): Deal better with empty maps. |
921 |
* Thuban/Model/layer.py (Layer.TreeInfo), |
* Thuban/Model/layer.py (Layer.TreeInfo), |
922 |
Thuban/Model/extension.py (Extension.TreeInfo), |
Thuban/Model/extension.py (Extension.TreeInfo), |
923 |
Thuban/Model/map.py (Map.TreeInfo), |
Thuban/Model/map.py (Map.TreeInfo), |
924 |
Thuban/Model/session.py (Session.TreeInfo): |
Thuban/Model/session.py (Session.TreeInfo): |
925 |
Add TreeInfo methods to implement the new tree view update scheme |
Add TreeInfo methods to implement the new tree view update scheme |
926 |
|
|
927 |
2002-07-16 Bernhard Herzog <[email protected]> |
2002-07-16 Bernhard Herzog <[email protected]> |
1002 |
* setup.py: In the setup call, make sure that the library |
* setup.py: In the setup call, make sure that the library |
1003 |
directories are under $prefix/lib not directly under $prefix. |
directories are under $prefix/lib not directly under $prefix. |
1004 |
|
|
1005 |
2002-06-20 Jan-Oliver Wagner <[email protected]> |
2002-06-20 Jan-Oliver Wagner <[email protected]> |
1006 |
|
|
1007 |
* Thuban/Model/extension.py: new module to handle extension objects. |
* Thuban/Model/extension.py: new module to handle extension objects. |
1008 |
* Thuban/Model/messages.py: new messages for extensions. |
* Thuban/Model/messages.py: new messages for extensions. |
1231 |
* Thuban/UI/messages.py (VIEW_POSITION): New message for the |
* Thuban/UI/messages.py (VIEW_POSITION): New message for the |
1232 |
position in the statusbar |
position in the statusbar |
1233 |
|
|
1234 |
2002-04-26 Frank Koormann <[email protected]> |
2002-04-26 Frank Koormann <[email protected]> |
1235 |
|
|
1236 |
* Thuban/UI/mainwindow.py: AddLayer, Dialog title s/session/data |
* Thuban/UI/mainwindow.py: AddLayer, Dialog title s/session/data |
1237 |
|
|
1238 |
2002-04-24 Frank Koormann <[email protected]> |
2002-04-24 Frank Koormann <[email protected]> |
1239 |
|
|
1240 |
* Resources/Bitmaps/identify.xpm: shadow added |
* Resources/Bitmaps/identify.xpm: shadow added |
1241 |
|
|
1242 |
* Resources/Bitmaps/fullextent.xpm: new |
* Resources/Bitmaps/fullextent.xpm: new |
|
|
|
|
2002-04-22 Jan-Oliver Wagner <[email protected]> |
|
1243 |
|
|
1244 |
* Thuban/UI/tree.py (update_tree): added test for None on map bounding box |
2002-04-22 Jan-Oliver Wagner <[email protected]> |
1245 |
|
|
1246 |
2002-04-21 Jan-Oliver Wagner <[email protected]> |
* Thuban/UI/tree.py (update_tree): added test for None on map bounding |
1247 |
|
box |
1248 |
|
|
1249 |
|
2002-04-21 Jan-Oliver Wagner <[email protected]> |
1250 |
|
|
1251 |
* Thuban/UI/proj4dialog.py (UTMProposeZoneDialog): new |
* Thuban/UI/proj4dialog.py (UTMProposeZoneDialog): new |
1252 |
|
|
1253 |
* Thuban/UI/tree.py (update_tree): added added map extent |
* Thuban/UI/tree.py (update_tree): added added map extent |
1254 |
|
|
1255 |
* Thuban/UI/mainwindow.py (_method_command): extended by parameter |
* Thuban/UI/mainwindow.py (_method_command): extended by parameter |
1256 |
icon; added map_full_extend as tool |
icon; added map_full_extend as tool |
1257 |
|
|
1258 |
2002-04-19 Jan-Oliver Wagner <[email protected]> |
2002-04-19 Jan-Oliver Wagner <[email protected]> |
1259 |
|
|
1260 |
* Thuban/UI/mainwindow.py (SaveSession): launch save as dialog for |
* Thuban/UI/mainwindow.py (SaveSession): launch save as dialog for |
1261 |
saving _new_ sessions |
saving _new_ sessions |
1357 |
|
|
1358 |
* setup.py: increase version number to 0.1 |
* setup.py: increase version number to 0.1 |
1359 |
(data_dist): New command class for data distribution |
(data_dist): New command class for data distribution |
|
|
|
1360 |
|
|
1361 |
2001-09-14 Bernhard Herzog <[email protected]> |
2001-09-14 Bernhard Herzog <[email protected]> |
1362 |
|
|
1363 |
* Thuban/UI/identifyview.py (IdentifyListCtrl.selected_shape): |
* Thuban/UI/identifyview.py (IdentifyListCtrl.selected_shape): |
1364 |
Handle the case of no layer (i.e. layer is None) properly. |
Handle the case of no layer (i.e. layer is None) properly. |
1365 |
|
|
1366 |
* Thuban/UI/proj4dialog.py (UTMDialog.__init__, Proj4Dialog.__init__): |
* Thuban/UI/proj4dialog.py (UTMDialog.__init__, Proj4Dialog.__init__): |
1367 |
Set the initial selection of the combo boxes to reflect the |
Set the initial selection of the combo boxes to reflect the |
1368 |
projection we're starting with in a way that works on windows, |
projection we're starting with in a way that works on windows, |
1369 |
too. |
too. |
1473 |
(MainWindow.identify_view_on_demand): Store the interactor in an |
(MainWindow.identify_view_on_demand): Store the interactor in an |
1474 |
instvar and use that reference instead of going through main.app |
instvar and use that reference instead of going through main.app |
1475 |
|
|
1476 |
* Thuban/UI/mainwindow.py (MainWindow.ShowSessionTree): |
* Thuban/UI/mainwindow.py (MainWindow.ShowSessionTree): |
1477 |
* Thuban/UI/application.py (ThubanApplication.OnInit): |
* Thuban/UI/application.py (ThubanApplication.OnInit): |
1478 |
* Thuban/UI/main.py (main): Create the session tree view in main |
* Thuban/UI/main.py (main): Create the session tree view in main |
1479 |
with the new mainwindow method ShowSessionTree and not directly |
with the new mainwindow method ShowSessionTree and not directly |
1480 |
the application's OnInit method |
the application's OnInit method |
1490 |
layer to the tableview dialog. |
layer to the tableview dialog. |
1491 |
|
|
1492 |
* Thuban/UI/tableview.py: Add some doc-strings |
* Thuban/UI/tableview.py: Add some doc-strings |
1493 |
(TableGrid): |
(TableGrid): |
1494 |
(TableGrid.OnRangeSelect): |
(TableGrid.OnRangeSelect): |
1495 |
(TableGrid.OnSelectCell): |
(TableGrid.OnSelectCell): |
1496 |
(TableFrame.__init__): |
(TableFrame.__init__): |
1557 |
2001-09-05 Bernhard Herzog <[email protected]> |
2001-09-05 Bernhard Herzog <[email protected]> |
1558 |
|
|
1559 |
* Thuban/UI/view.py (MapCanvas.__init__): New argument, interactor. |
* Thuban/UI/view.py (MapCanvas.__init__): New argument, interactor. |
1560 |
|
|
1561 |
* Thuban/UI/mainwindow.py (MainWindow.__init__): New argument |
* Thuban/UI/mainwindow.py (MainWindow.__init__): New argument |
1562 |
interactor to pass through to the MapCanvas |
interactor to pass through to the MapCanvas |
1563 |
|
|
1564 |
* Thuban/UI/application.py (ThubanApplication.OnInit): Use the new |
* Thuban/UI/application.py (ThubanApplication.OnInit): Use the new |
1565 |
argument to the MainWindow constructor to get rid of the ugly hack |
argument to the MainWindow constructor to get rid of the ugly hack |
1566 |
that made main.app available early just so that the mapcanvas |
that made main.app available early just so that the mapcanvas |
1607 |
(ThubanInstall.run): Remove the leading install root from the |
(ThubanInstall.run): Remove the leading install root from the |
1608 |
script filename if an install root was specified and use the new |
script filename if an install root was specified and use the new |
1609 |
link_file method |
link_file method |
1610 |
|
|
1611 |
* Thuban/UI/mainwindow.py (MainWindow.AddLayer): Fit the map to |
* Thuban/UI/mainwindow.py (MainWindow.AddLayer): Fit the map to |
1612 |
the window when the first layer is added to the map. |
the window when the first layer is added to the map. |
1613 |
|
|
1644 |
(InnoIconItem): Helper class for bdist_inno |
(InnoIconItem): Helper class for bdist_inno |
1645 |
(thuban_bdist_inno): Thuban specific version of bdist_inno. Added |
(thuban_bdist_inno): Thuban specific version of bdist_inno. Added |
1646 |
this together with the appropriate parameters, to the setup call. |
this together with the appropriate parameters, to the setup call. |
1647 |
|
|
1648 |
* setup.cfg (bdist_inno): added new section for the inno setup |
* setup.cfg (bdist_inno): added new section for the inno setup |
1649 |
installer |
installer |
1650 |
|
|