1 |
|
2002-12-09 Bernhard Herzog <[email protected]> |
2 |
|
|
3 |
|
* Thuban/UI/command.py (ToolCommand): New class for tool commands. |
4 |
|
(Command.IsTool): New method to distinguish between command |
5 |
|
switching tools and other commands. |
6 |
|
|
7 |
|
* Thuban/UI/view.py (MapCanvas.SelectTool): New method to select |
8 |
|
the tool to avoid direct assignments to instance variables |
9 |
|
(MapCanvas.ZoomInTool, MapCanvas.ZoomOutTool, MapCanvas.PanTool) |
10 |
|
(MapCanvas.IdentifyTool, MapCanvas.LabelTool): Use SelectTool to |
11 |
|
change the tool |
12 |
|
|
13 |
|
* Thuban/UI/mainwindow.py (MainWindow.update_command_ui): If an |
14 |
|
active tool's command turns insensitive, disable the tool. |
15 |
|
(_tool_command): Use the new ToolCommand class |
16 |
|
|
17 |
|
* Examples/simple_extensions/simple_tool.py (simple_tool): Use the |
18 |
|
SelectTool method to change the tool |
19 |
|
(iconfile): Use the ToolCommand class |
20 |
|
|
21 |
|
2002-12-03 Bernhard Herzog <[email protected]> |
22 |
|
|
23 |
|
* Thuban/UI/tree.py (SessionTreeCtrl.normalize_selection): Handle |
24 |
|
the case of selected items that are not children of Layers or Maps |
25 |
|
properly. Previously this bug would trigger an assertion in |
26 |
|
wxWindows. |
27 |
|
|
28 |
|
2002-11-06 Frank Koormann <[email protected]> |
29 |
|
|
30 |
|
* Thuban/UI/mainwindow.py: Altered the order of tools in the |
31 |
|
toolbar: First now are all navigation tools (Zoom In/Out, Pan, |
32 |
|
Full Extent). |
33 |
|
|
34 |
|
2002-10-23 Bernhard Herzog <[email protected]> |
35 |
|
|
36 |
|
* setup.py (setup call): version now 0.1.3 |
37 |
|
|
38 |
|
* MANIFEST.in: Add the files in test/ |
39 |
|
|
40 |
|
* test/README: Add note about tests requiring the iceland data |
41 |
|
|
42 |
|
* Thuban/UI/mainwindow.py (MainWindow.About): Add 2002 to |
43 |
|
copyright notice. |
44 |
|
|
45 |
|
2002-10-18 Bernhard Herzog <[email protected]> |
46 |
|
|
47 |
|
* test/test_map.py |
48 |
|
(TestMapWithContents.test_projected_bounding_box): Use an explicit |
49 |
|
epsilon. |
50 |
|
|
51 |
|
* test/support.py (FloatComparisonMixin.assertFloatEqual) |
52 |
|
(FloatComparisonMixin.assertFloatSeqEqual): give a more useful |
53 |
|
message if the assertion fails and don't return the return value |
54 |
|
of self.assert_. In assertFloatSeqEqual the return meant that not |
55 |
|
all items of the sequence were compared. |
56 |
|
|
57 |
|
2002-09-20 Bernhard Herzog <[email protected]> |
58 |
|
|
59 |
|
* test/test_fileutil.py: New. Test cases for Thuban.Lib.fileutil |
60 |
|
|
61 |
|
* Thuban/Lib/fileutil.py: Fixup some whitespace and typos |
62 |
|
|
63 |
|
* test/test_map.py (TestMapWithContents.test_tree_info): Create |
64 |
|
the string with the bounding box on the fly because of platform |
65 |
|
differences in the way %g is handled. |
66 |
|
|
67 |
|
* test/test_layer.py (TestLayer.test_empty_layer): Create an empty |
68 |
|
DBFfile too because Thuban layers can't yet cope missing DBF |
69 |
|
files. |
70 |
|
|
71 |
|
2002-09-20 Bernhard Herzog <[email protected]> |
72 |
|
|
73 |
|
* test/test_menu.py: Use initthuban instead of |
74 |
|
add_thuban_dir_to_path to initialize Thuban. |
75 |
|
|
76 |
|
* test/support.py (FloatComparisonMixin.assertFloatEqual): New. |
77 |
|
Mixin class for float comparisons |
78 |
|
(SubscriberMixin): New. Mixin class to test messages sent through |
79 |
|
the Connector class |
80 |
|
|
81 |
|
* test/README: Fix a typo and add the -v flag to the command for |
82 |
|
individual tests |
83 |
|
|
84 |
|
* test/test_session.py: New. Test cases for Thuban.Model.session |
85 |
|
|
86 |
|
* test/test_proj.py: New. Test cases for Thuban.Model.proj |
87 |
|
|
88 |
|
* test/test_map.py: New. Test cases for Thuban.Model.map |
89 |
|
|
90 |
|
* test/test_layer.py: New. Test cases for Thuban.Model.layer |
91 |
|
|
92 |
|
* test/test_label.py: New. Test cases for Thuban.Model.label |
93 |
|
|
94 |
|
* test/test_connector.py: New. Test cases for Thuban.Lib.connector |
95 |
|
|
96 |
|
* test/test_color.py: New. Test cases for Thuban.Model.color |
97 |
|
|
98 |
|
* test/test_base.py: New. Test cases for Thuban.Model.base |
99 |
|
|
100 |
|
2002-09-13 Bernhard Herzog <[email protected]> |
101 |
|
|
102 |
|
* Thuban/Model/session.py (Session.forwarded_channels): Forward |
103 |
|
the CHANGED channel too. |
104 |
|
|
105 |
|
* Thuban/Model/map.py (Map.forwarded_channels): Forward the |
106 |
|
CHANGED channel too. |
107 |
|
(Map.__init__): Call the Modifiable constructor as well. |
108 |
|
|
109 |
|
* Thuban/Model/base.py (Modifiable.UnsetModified): Issue a CHANGED |
110 |
|
event if the modified flag changes. |
111 |
|
(Modifiable.changed): Tweak the doc-string. |
112 |
|
|
113 |
|
* Thuban/UI/mainwindow.py (MainWindow.view_position_changed) |
114 |
|
(MainWindow.set_position_text): Put the code that puts the text |
115 |
|
with the mouse position into the status bar into the new method |
116 |
|
set_position_text so that it can overwritten in derived classes. |
117 |
|
|
118 |
|
2002-09-12 Bernhard Herzog <[email protected]> |
119 |
|
|
120 |
|
* Thuban/UI/mainwindow.py (MainWindow.RunMessageBox): Center the |
121 |
|
message box on the main window. |
122 |
|
|
123 |
|
2002-09-11 Bernhard Herzog <[email protected]> |
124 |
|
|
125 |
|
* Thuban/UI/mainwindow.py: Underline the 'x' in "Exit" instead of |
126 |
|
the 'E' because it's less likely to interfere with other menu |
127 |
|
entries. |
128 |
|
(MainWindow.build_menu): remove an incorrect comment. |
129 |
|
|
130 |
2002-09-10 Bernhard Herzog <[email protected]> |
2002-09-10 Bernhard Herzog <[email protected]> |
131 |
|
|
132 |
* Thuban/UI/mainwindow.py (MainWindow.Map): New. |
* Thuban/UI/mainwindow.py (MainWindow.Map): New. |