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. |
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]> |
236 |
|
|
237 |
|
* Thuban/UI/application.py (ThubanApplication.splash_screen): New |
238 |
|
method to create a splash screen. |
239 |
|
(ThubanApplication.ShowMainWindow): New. Show the main window. |
240 |
|
Needed so the splash screen can display the mainwindow |
241 |
|
(ThubanApplication.OnInit): Call the |
242 |
|
new splash_screen method to determine whether the application |
243 |
|
should display a splash screen. If it displays a splash screen do |
244 |
|
not immediately show the main window. |
245 |
|
|
246 |
|
2003-02-11 Jonathan Coles <[email protected]> |
247 |
|
|
248 |
|
* Thuban/Model/classification.py: Added import line to fix |
249 |
|
feature conflicts between running on python2.2 and python2.1. |
250 |
|
|
251 |
|
* Thuban/UI/classifier.py (ClassTable): Didn't need to hang |
252 |
|
onto the clinfo parameter, so removed the deepcopy(). |
253 |
|
|
254 |
|
2003-02-10 Jonathan Coles <[email protected]> |
255 |
|
|
256 |
|
* Thuban/Model/save.py (Saver.open_element, Saver.close_element): |
257 |
|
Added element_open variable to track opening and closing of tags |
258 |
|
so that tags that don't span more than one line are closed with |
259 |
|
/> instead of </tag_name>. Use the GetDefault*() methods of |
260 |
|
the Classification class. |
261 |
|
|
262 |
|
* Thuban/Model/classification.py (Classificaton): Added set and |
263 |
|
get methods for the default data. The class also takes a layer |
264 |
|
reference so that modification messages can be sent. Fixed the |
265 |
|
methods to use the new ClassData class. |
266 |
|
(ClassData): New class to encapsulate the classification data |
267 |
|
|
268 |
|
* Thuban/Model/layer.py (Layer): Remove the |
269 |
|
Set[Fill|Stroke|StrokeWidth]() methods. Code should call the |
270 |
|
SetDefault*() methods on the layer's classification object. |
271 |
|
(Layer.__init__): Use the new SetDefault*() methods in the |
272 |
|
Classification class. |
273 |
|
|
274 |
|
* Thuban/Model/load.py (ProcessSession): Use the new ClassData |
275 |
|
object instead of a dictionary. |
276 |
|
|
277 |
|
* Thuban/UI/classifier.py (ClassRenderer): New class to |
278 |
|
draw the classifications in the dialog box's table. |
279 |
|
(Classifier): Modified to use the ClassRenderer class. |
280 |
|
|
281 |
|
* Thuban/UI/mainwindow.py (MainWindow): Use the SetDefault*() |
282 |
|
methods of the Classification class. |
283 |
|
|
284 |
|
* Thuban/UI/renderer.py (MapRenderer): Use the Get*() methods |
285 |
|
of the ClassData class. |
286 |
|
|
287 |
|
* test/test_classification.py, test/test_layer.py, |
288 |
|
test/test_map.py, test/test_session.py: Fix the tests to work |
289 |
|
with the above code changes. |
290 |
|
|
291 |
|
2003-02-03 Jonathan Coles <[email protected]> |
292 |
|
|
293 |
|
* Thuban/Model/classification.py (Classification): Added getNull() |
294 |
|
to return the NullData reference |
295 |
|
|
296 |
|
* Thuban/Model/layer.py (Layer.SetFill, Layer.SetStroke, |
297 |
|
Layer.SetStrokeWidth): Modified these functions to change the |
298 |
|
null data in the classification rather than keep these values |
299 |
|
directly in the Layer class. Menu options to change these values |
300 |
|
work again. |
301 |
|
|
302 |
|
2003-01-28 Jonathan Coles <[email protected]> |
303 |
|
|
304 |
|
* Thuban/UI/classifier.py (Classifier): Resolved merging conflicts. |
305 |
|
Fixed crashing problem on some systems. Dialog box shows |
306 |
|
classification data. |
307 |
|
|
308 |
|
* Thuban/UI/tree.py (SessionTreeCtrl.add_items): Handle drawing |
309 |
|
Colors in the tree view. |
310 |
|
|
311 |
|
* Thuban/Model/layer.py (Layer.TreeInfo): Added a call to build |
312 |
|
the tree info for classifications. Commented out unnecessary lines. |
313 |
|
|
314 |
|
* Thuban/Model/classification.py (Classification.TreeInfo): New |
315 |
|
function to add information about the classification into the |
316 |
|
tree view. |
317 |
|
|
318 |
|
2003-01-27 Jan-Oliver Wagner <[email protected]> |
319 |
|
|
320 |
|
* Thuban/__init__.py (_): New. |
321 |
|
|
322 |
|
* Thuban/Model/classification.py, Thuban/Model/extension.py, |
323 |
|
Thuban/Model/layer.py, Thuban/Model/load.py, Thuban/Model/map.py, |
324 |
|
Thuban/Model/session.py, Thuban/UI/application.py, |
325 |
|
Thuban/UI/classifier.py, Thuban/UI/context.py, Thuban/UI/controls.py, |
326 |
|
Thuban/UI/identifyview.py, Thuban/UI/labeldialog.py, |
327 |
|
Thuban/UI/mainwindow.py, Thuban/UI/menu.py, Thuban/UI/proj4dialog.py, |
328 |
|
Thuban/UI/renderer.py, Thuban/UI/tree.py, Thuban/Lib/connector.py, |
329 |
|
Thuban/Lib/fileutil.py: Replace user string by _() for i18n. |
330 |
|
|
331 |
|
2003-01-27 Jonathan Coles <[email protected]> |
332 |
|
|
333 |
|
* Thuban/Model/layer.py: Classification initialization calls. |
334 |
|
|
335 |
|
* Thuban/Model/classification.py: Created class to encapsulate |
336 |
|
a layer classification. Supports specific data points and |
337 |
|
ranges. |
338 |
|
|
339 |
|
* Thuban/Model/load.py: Added support for loading classification |
340 |
|
information. |
341 |
|
|
342 |
|
* Thuban/Model/save.py: Added support for saving classification |
343 |
|
information. |
344 |
|
|
345 |
|
* Thuban/UI/classifier.py: Initial class for a dialog box for |
346 |
|
specifying classification information. |
347 |
|
|
348 |
|
* Thuban/UI/mainwindows.py: Support for opening the classifier |
349 |
|
dialog. |
350 |
|
|
351 |
|
* Thuban/UI/renderer.py: Support for drawing a layer with the |
352 |
|
classification information. |
353 |
|
|
354 |
|
* Data/iceland_sample_class.thuban: iceland_sample with |
355 |
|
classification data. |
356 |
|
|
357 |
|
* test/test_classification: Tests for the Classification class. |
358 |
|
|
359 |
|
2002-12-09 Bernhard Herzog <[email protected]> |
360 |
|
|
361 |
|
* test/test_command.py: New. Tests for the command classes. |
362 |
|
|
363 |
|
* Thuban/UI/command.py (ToolCommand): New class for tool commands. |
364 |
|
(Command.IsTool): New method to distinguish between command |
365 |
|
switching tools and other commands. |
366 |
|
|
367 |
|
* Thuban/UI/view.py (MapCanvas.SelectTool): New method to select |
368 |
|
the tool to avoid direct assignments to instance variables |
369 |
|
(MapCanvas.ZoomInTool, MapCanvas.ZoomOutTool, MapCanvas.PanTool) |
370 |
|
(MapCanvas.IdentifyTool, MapCanvas.LabelTool): Use SelectTool to |
371 |
|
change the tool |
372 |
|
|
373 |
|
* Thuban/UI/mainwindow.py (MainWindow.update_command_ui): If an |
374 |
|
active tool's command turns insensitive, disable the tool. |
375 |
|
(_tool_command): Use the new ToolCommand class |
376 |
|
|
377 |
|
* Examples/simple_extensions/simple_tool.py (simple_tool): Use the |
378 |
|
SelectTool method to change the tool |
379 |
|
(iconfile): Use the ToolCommand class |
380 |
|
|
381 |
|
2002-12-03 Bernhard Herzog <[email protected]> |
382 |
|
|
383 |
|
* Thuban/UI/tree.py (SessionTreeCtrl.normalize_selection): Handle |
384 |
|
the case of selected items that are not children of Layers or Maps |
385 |
|
properly. Previously this bug would trigger an assertion in |
386 |
|
wxWindows. |
387 |
|
|
388 |
|
2002-11-06 Frank Koormann <[email protected]> |
389 |
|
|
390 |
|
* Thuban/UI/mainwindow.py: Altered the order of tools in the |
391 |
|
toolbar: First now are all navigation tools (Zoom In/Out, Pan, |
392 |
|
Full Extent). |
393 |
|
|
394 |
|
2002-10-23 Bernhard Herzog <[email protected]> |
395 |
|
|
396 |
|
* setup.py (setup call): version now 0.1.3 |
397 |
|
|
398 |
|
* MANIFEST.in: Add the files in test/ |
399 |
|
|
400 |
|
* test/README: Add note about tests requiring the iceland data |
401 |
|
|
402 |
|
* Thuban/UI/mainwindow.py (MainWindow.About): Add 2002 to |
403 |
|
copyright notice. |
404 |
|
|
405 |
|
2002-10-18 Bernhard Herzog <[email protected]> |
406 |
|
|
407 |
|
* test/test_map.py |
408 |
|
(TestMapWithContents.test_projected_bounding_box): Use an explicit |
409 |
|
epsilon. |
410 |
|
|
411 |
|
* test/support.py (FloatComparisonMixin.assertFloatEqual) |
412 |
|
(FloatComparisonMixin.assertFloatSeqEqual): give a more useful |
413 |
|
message if the assertion fails and don't return the return value |
414 |
|
of self.assert_. In assertFloatSeqEqual the return meant that not |
415 |
|
all items of the sequence were compared. |
416 |
|
|
417 |
|
2002-09-20 Bernhard Herzog <[email protected]> |
418 |
|
|
419 |
|
* test/test_fileutil.py: New. Test cases for Thuban.Lib.fileutil |
420 |
|
|
421 |
|
* Thuban/Lib/fileutil.py: Fixup some whitespace and typos |
422 |
|
|
423 |
|
* test/test_map.py (TestMapWithContents.test_tree_info): Create |
424 |
|
the string with the bounding box on the fly because of platform |
425 |
|
differences in the way %g is handled. |
426 |
|
|
427 |
|
* test/test_layer.py (TestLayer.test_empty_layer): Create an empty |
428 |
|
DBFfile too because Thuban layers can't yet cope missing DBF |
429 |
|
files. |
430 |
|
|
431 |
|
2002-09-20 Bernhard Herzog <[email protected]> |
432 |
|
|
433 |
|
* test/test_menu.py: Use initthuban instead of |
434 |
|
add_thuban_dir_to_path to initialize Thuban. |
435 |
|
|
436 |
|
* test/support.py (FloatComparisonMixin.assertFloatEqual): New. |
437 |
|
Mixin class for float comparisons |
438 |
|
(SubscriberMixin): New. Mixin class to test messages sent through |
439 |
|
the Connector class |
440 |
|
|
441 |
|
* test/README: Fix a typo and add the -v flag to the command for |
442 |
|
individual tests |
443 |
|
|
444 |
|
* test/test_session.py: New. Test cases for Thuban.Model.session |
445 |
|
|
446 |
|
* test/test_proj.py: New. Test cases for Thuban.Model.proj |
447 |
|
|
448 |
|
* test/test_map.py: New. Test cases for Thuban.Model.map |
449 |
|
|
450 |
|
* test/test_layer.py: New. Test cases for Thuban.Model.layer |
451 |
|
|
452 |
|
* test/test_label.py: New. Test cases for Thuban.Model.label |
453 |
|
|
454 |
|
* test/test_connector.py: New. Test cases for Thuban.Lib.connector |
455 |
|
|
456 |
|
* test/test_color.py: New. Test cases for Thuban.Model.color |
457 |
|
|
458 |
|
* test/test_base.py: New. Test cases for Thuban.Model.base |
459 |
|
|
460 |
|
2002-09-13 Bernhard Herzog <[email protected]> |
461 |
|
|
462 |
|
* Thuban/Model/session.py (Session.forwarded_channels): Forward |
463 |
|
the CHANGED channel too. |
464 |
|
|
465 |
|
* Thuban/Model/map.py (Map.forwarded_channels): Forward the |
466 |
|
CHANGED channel too. |
467 |
|
(Map.__init__): Call the Modifiable constructor as well. |
468 |
|
|
469 |
|
* Thuban/Model/base.py (Modifiable.UnsetModified): Issue a CHANGED |
470 |
|
event if the modified flag changes. |
471 |
|
(Modifiable.changed): Tweak the doc-string. |
472 |
|
|
473 |
|
* Thuban/UI/mainwindow.py (MainWindow.view_position_changed) |
474 |
|
(MainWindow.set_position_text): Put the code that puts the text |
475 |
|
with the mouse position into the status bar into the new method |
476 |
|
set_position_text so that it can overwritten in derived classes. |
477 |
|
|
478 |
|
2002-09-12 Bernhard Herzog <[email protected]> |
479 |
|
|
480 |
|
* Thuban/UI/mainwindow.py (MainWindow.RunMessageBox): Center the |
481 |
|
message box on the main window. |
482 |
|
|
483 |
|
2002-09-11 Bernhard Herzog <[email protected]> |
484 |
|
|
485 |
|
* Thuban/UI/mainwindow.py: Underline the 'x' in "Exit" instead of |
486 |
|
the 'E' because it's less likely to interfere with other menu |
487 |
|
entries. |
488 |
|
(MainWindow.build_menu): remove an incorrect comment. |
489 |
|
|
490 |
|
2002-09-10 Bernhard Herzog <[email protected]> |
491 |
|
|
492 |
|
* Thuban/UI/mainwindow.py (MainWindow.Map): New. |
493 |
|
(_tool_command): Add sensitive parameter |
494 |
|
(_has_visible_map): Sensitivity callback to tools and other |
495 |
|
commands that require a visible map. Use it in map_zoom_in_tool, |
496 |
|
map_zoom_out_tool, map_pan_tool, map_identify_tool, map_label_tool |
497 |
|
and map_full_extent |
498 |
|
|
499 |
|
2002-09-06 Bernhard Herzog <[email protected]> |
500 |
|
|
501 |
|
* Thuban/UI/mainwindow.py (MainWindow.OnClose): Unsubscribe |
502 |
|
VIEW_POSITION |
503 |
|
|
504 |
|
2002-09-04 Frank Koormann <[email protected]> |
505 |
|
|
506 |
|
* Resources/Bitmaps/fullextent.xpm: Updated Icon (removed "potatoe") |
507 |
|
|
508 |
|
2002-09-02 Bernhard Herzog <[email protected]> |
509 |
|
|
510 |
|
* Thuban/UI/view.py: Get rid of the idle redraw. This is done by |
511 |
|
wxWindows already and our implementation doesn't work correctly |
512 |
|
with wxGTK 2.3: |
513 |
|
(MapCanvas.__init__): Remove the instance variable |
514 |
|
(MapCanvas.OnPaint): Always call do_redraw when there's a map to |
515 |
|
be drawin |
516 |
|
(MapCanvas.OnIdle): Removed. |
517 |
|
|
518 |
|
* Thuban/UI/view.py (MapCanvas.unprojected_rect_around_point): Add |
519 |
|
a parameter to determine the size of the rectangle. |
520 |
|
(MapCanvas.find_shape_at): Create the box around the point on a |
521 |
|
layer by layer basis and make the size depend on the shape type. |
522 |
|
This solves a problem with the selection of point shapes at the |
523 |
|
border of the layer's bounding box |
524 |
|
|
525 |
2002-08-30 Bernhard Herzog <[email protected]> |
2002-08-30 Bernhard Herzog <[email protected]> |
526 |
|
|
527 |
|
* Thuban/UI/mainwindow.py (MainWindow.CanRemoveLayer): New method |
528 |
|
for the sensitivity of remove layer. |
529 |
|
(_can_remove_layer): New. Sensitivity callback for remove layer |
530 |
|
(Command layer_remove): Use _can_remove_layer |
531 |
|
|
532 |
|
* Thuban/Model/map.py (Map.CanRemoveLayer): New method to |
533 |
|
determine whether a given layer can be deleted. |
534 |
|
|
535 |
* Thuban/UI/view.py (MapCanvas.__init__, MapCanvas.OnPaint) |
* Thuban/UI/view.py (MapCanvas.__init__, MapCanvas.OnPaint) |
536 |
(MapCanvas.do_redraw): Get rid of the unused update_region |
(MapCanvas.do_redraw): Get rid of the unused update_region |
537 |
instance variable |
instance variable |
588 |
|
|
589 |
* Thuban/Model/table.py (Table.write_record): New method to write |
* Thuban/Model/table.py (Table.write_record): New method to write |
590 |
records. |
records. |
591 |
(Table.__init__): Open the DBF file for writing too. |
(Table.__init__): Open the DBF file for writing too. |
592 |
|
|
593 |
* Thuban/UI/controls.py (RecordTable.SetValue): Write the value |
* Thuban/UI/controls.py (RecordTable.SetValue): Write the value |
594 |
into the underlying table. |
into the underlying table. |
626 |
* setup.py (ThubanInstall.run): Don't repr install_lib_orig |
* setup.py (ThubanInstall.run): Don't repr install_lib_orig |
627 |
because thubaninit_contents will do it for us. |
because thubaninit_contents will do it for us. |
628 |
|
|
629 |
2002-08-16 Jan-Oliver Wagner <[email protected]> |
2002-08-16 Jan-Oliver Wagner <[email protected]> |
630 |
|
|
631 |
* Thuban/UI/mainwindow.py: menu item 'show session tree' now disable if |
* Thuban/UI/mainwindow.py: menu item 'show session tree' now disable if |
632 |
tree window already open |
tree window already open |
754 |
* 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 |
755 |
CHANGED channel to be informed of changes. |
CHANGED channel to be informed of changes. |
756 |
(SessionTreeCtrl.session_channels): Not needed any longer. |
(SessionTreeCtrl.session_channels): Not needed any longer. |
757 |
(SessionTreeCtrl.unsubscribe_all, SessionTreeCtrl.session_changed): |
(SessionTreeCtrl.unsubscribe_all, SessionTreeCtrl.session_changed): |
758 |
Only have to (un)subscribe CHANGED |
Only have to (un)subscribe CHANGED |
759 |
|
|
760 |
* Thuban/Model/map.py (Map.TreeInfo): Deal better with empty maps. |
* Thuban/Model/map.py (Map.TreeInfo): Deal better with empty maps. |
815 |
* Thuban/Model/layer.py (Layer.TreeInfo), |
* Thuban/Model/layer.py (Layer.TreeInfo), |
816 |
Thuban/Model/extension.py (Extension.TreeInfo), |
Thuban/Model/extension.py (Extension.TreeInfo), |
817 |
Thuban/Model/map.py (Map.TreeInfo), |
Thuban/Model/map.py (Map.TreeInfo), |
818 |
Thuban/Model/session.py (Session.TreeInfo): |
Thuban/Model/session.py (Session.TreeInfo): |
819 |
Add TreeInfo methods to implement the new tree view update scheme |
Add TreeInfo methods to implement the new tree view update scheme |
820 |
|
|
821 |
2002-07-16 Bernhard Herzog <[email protected]> |
2002-07-16 Bernhard Herzog <[email protected]> |
896 |
* setup.py: In the setup call, make sure that the library |
* setup.py: In the setup call, make sure that the library |
897 |
directories are under $prefix/lib not directly under $prefix. |
directories are under $prefix/lib not directly under $prefix. |
898 |
|
|
899 |
2002-06-20 Jan-Oliver Wagner <[email protected]> |
2002-06-20 Jan-Oliver Wagner <[email protected]> |
900 |
|
|
901 |
* Thuban/Model/extension.py: new module to handle extension objects. |
* Thuban/Model/extension.py: new module to handle extension objects. |
902 |
* Thuban/Model/messages.py: new messages for extensions. |
* Thuban/Model/messages.py: new messages for extensions. |
1125 |
* Thuban/UI/messages.py (VIEW_POSITION): New message for the |
* Thuban/UI/messages.py (VIEW_POSITION): New message for the |
1126 |
position in the statusbar |
position in the statusbar |
1127 |
|
|
1128 |
2002-04-26 Frank Koormann <[email protected]> |
2002-04-26 Frank Koormann <[email protected]> |
1129 |
|
|
1130 |
* Thuban/UI/mainwindow.py: AddLayer, Dialog title s/session/data |
* Thuban/UI/mainwindow.py: AddLayer, Dialog title s/session/data |
1131 |
|
|
1132 |
2002-04-24 Frank Koormann <[email protected]> |
2002-04-24 Frank Koormann <[email protected]> |
1133 |
|
|
1134 |
* Resources/Bitmaps/identify.xpm: shadow added |
* Resources/Bitmaps/identify.xpm: shadow added |
1135 |
|
|
1136 |
* Resources/Bitmaps/fullextent.xpm: new |
* Resources/Bitmaps/fullextent.xpm: new |
|
|
|
|
2002-04-22 Jan-Oliver Wagner <[email protected]> |
|
1137 |
|
|
1138 |
* Thuban/UI/tree.py (update_tree): added test for None on map bounding box |
2002-04-22 Jan-Oliver Wagner <[email protected]> |
1139 |
|
|
1140 |
2002-04-21 Jan-Oliver Wagner <[email protected]> |
* Thuban/UI/tree.py (update_tree): added test for None on map bounding |
1141 |
|
box |
1142 |
|
|
1143 |
|
2002-04-21 Jan-Oliver Wagner <[email protected]> |
1144 |
|
|
1145 |
* Thuban/UI/proj4dialog.py (UTMProposeZoneDialog): new |
* Thuban/UI/proj4dialog.py (UTMProposeZoneDialog): new |
1146 |
|
|
1147 |
* Thuban/UI/tree.py (update_tree): added added map extent |
* Thuban/UI/tree.py (update_tree): added added map extent |
1148 |
|
|
1149 |
* Thuban/UI/mainwindow.py (_method_command): extended by parameter |
* Thuban/UI/mainwindow.py (_method_command): extended by parameter |
1150 |
icon; added map_full_extend as tool |
icon; added map_full_extend as tool |
1151 |
|
|
1152 |
2002-04-19 Jan-Oliver Wagner <[email protected]> |
2002-04-19 Jan-Oliver Wagner <[email protected]> |
1153 |
|
|
1154 |
* Thuban/UI/mainwindow.py (SaveSession): launch save as dialog for |
* Thuban/UI/mainwindow.py (SaveSession): launch save as dialog for |
1155 |
saving _new_ sessions |
saving _new_ sessions |
1251 |
|
|
1252 |
* setup.py: increase version number to 0.1 |
* setup.py: increase version number to 0.1 |
1253 |
(data_dist): New command class for data distribution |
(data_dist): New command class for data distribution |
|
|
|
1254 |
|
|
1255 |
2001-09-14 Bernhard Herzog <[email protected]> |
2001-09-14 Bernhard Herzog <[email protected]> |
1256 |
|
|
1257 |
* Thuban/UI/identifyview.py (IdentifyListCtrl.selected_shape): |
* Thuban/UI/identifyview.py (IdentifyListCtrl.selected_shape): |
1258 |
Handle the case of no layer (i.e. layer is None) properly. |
Handle the case of no layer (i.e. layer is None) properly. |
1259 |
|
|
1260 |
* Thuban/UI/proj4dialog.py (UTMDialog.__init__, Proj4Dialog.__init__): |
* Thuban/UI/proj4dialog.py (UTMDialog.__init__, Proj4Dialog.__init__): |
1261 |
Set the initial selection of the combo boxes to reflect the |
Set the initial selection of the combo boxes to reflect the |
1262 |
projection we're starting with in a way that works on windows, |
projection we're starting with in a way that works on windows, |
1263 |
too. |
too. |
1367 |
(MainWindow.identify_view_on_demand): Store the interactor in an |
(MainWindow.identify_view_on_demand): Store the interactor in an |
1368 |
instvar and use that reference instead of going through main.app |
instvar and use that reference instead of going through main.app |
1369 |
|
|
1370 |
* Thuban/UI/mainwindow.py (MainWindow.ShowSessionTree): |
* Thuban/UI/mainwindow.py (MainWindow.ShowSessionTree): |
1371 |
* Thuban/UI/application.py (ThubanApplication.OnInit): |
* Thuban/UI/application.py (ThubanApplication.OnInit): |
1372 |
* Thuban/UI/main.py (main): Create the session tree view in main |
* Thuban/UI/main.py (main): Create the session tree view in main |
1373 |
with the new mainwindow method ShowSessionTree and not directly |
with the new mainwindow method ShowSessionTree and not directly |
1374 |
the application's OnInit method |
the application's OnInit method |
1384 |
layer to the tableview dialog. |
layer to the tableview dialog. |
1385 |
|
|
1386 |
* Thuban/UI/tableview.py: Add some doc-strings |
* Thuban/UI/tableview.py: Add some doc-strings |
1387 |
(TableGrid): |
(TableGrid): |
1388 |
(TableGrid.OnRangeSelect): |
(TableGrid.OnRangeSelect): |
1389 |
(TableGrid.OnSelectCell): |
(TableGrid.OnSelectCell): |
1390 |
(TableFrame.__init__): |
(TableFrame.__init__): |
1451 |
2001-09-05 Bernhard Herzog <[email protected]> |
2001-09-05 Bernhard Herzog <[email protected]> |
1452 |
|
|
1453 |
* Thuban/UI/view.py (MapCanvas.__init__): New argument, interactor. |
* Thuban/UI/view.py (MapCanvas.__init__): New argument, interactor. |
1454 |
|
|
1455 |
* Thuban/UI/mainwindow.py (MainWindow.__init__): New argument |
* Thuban/UI/mainwindow.py (MainWindow.__init__): New argument |
1456 |
interactor to pass through to the MapCanvas |
interactor to pass through to the MapCanvas |
1457 |
|
|
1458 |
* Thuban/UI/application.py (ThubanApplication.OnInit): Use the new |
* Thuban/UI/application.py (ThubanApplication.OnInit): Use the new |
1459 |
argument to the MainWindow constructor to get rid of the ugly hack |
argument to the MainWindow constructor to get rid of the ugly hack |
1460 |
that made main.app available early just so that the mapcanvas |
that made main.app available early just so that the mapcanvas |
1501 |
(ThubanInstall.run): Remove the leading install root from the |
(ThubanInstall.run): Remove the leading install root from the |
1502 |
script filename if an install root was specified and use the new |
script filename if an install root was specified and use the new |
1503 |
link_file method |
link_file method |
1504 |
|
|
1505 |
* Thuban/UI/mainwindow.py (MainWindow.AddLayer): Fit the map to |
* Thuban/UI/mainwindow.py (MainWindow.AddLayer): Fit the map to |
1506 |
the window when the first layer is added to the map. |
the window when the first layer is added to the map. |
1507 |
|
|
1538 |
(InnoIconItem): Helper class for bdist_inno |
(InnoIconItem): Helper class for bdist_inno |
1539 |
(thuban_bdist_inno): Thuban specific version of bdist_inno. Added |
(thuban_bdist_inno): Thuban specific version of bdist_inno. Added |
1540 |
this together with the appropriate parameters, to the setup call. |
this together with the appropriate parameters, to the setup call. |
1541 |
|
|
1542 |
* setup.cfg (bdist_inno): added new section for the inno setup |
* setup.cfg (bdist_inno): added new section for the inno setup |
1543 |
installer |
installer |
1544 |
|
|