1 |
|
2002-11-06 Frank Koormann <[email protected]> |
2 |
|
|
3 |
|
* Thuban/UI/mainwindow.py: Altered the order of tools in the toolbar: |
4 |
|
First now are all navigation tools (Zoom In/Out, Pan, Full Extent). |
5 |
|
|
6 |
|
2002-10-23 Bernhard Herzog <[email protected]> |
7 |
|
|
8 |
|
* setup.py (setup call): version now 0.1.3 |
9 |
|
|
10 |
|
* MANIFEST.in: Add the files in test/ |
11 |
|
|
12 |
|
* test/README: Add note about tests requiring the iceland data |
13 |
|
|
14 |
|
* Thuban/UI/mainwindow.py (MainWindow.About): Add 2002 to |
15 |
|
copyright notice. |
16 |
|
|
17 |
|
2002-10-18 Bernhard Herzog <[email protected]> |
18 |
|
|
19 |
|
* test/test_map.py |
20 |
|
(TestMapWithContents.test_projected_bounding_box): Use an explicit |
21 |
|
epsilon. |
22 |
|
|
23 |
|
* test/support.py (FloatComparisonMixin.assertFloatEqual) |
24 |
|
(FloatComparisonMixin.assertFloatSeqEqual): give a more useful |
25 |
|
message if the assertion fails and don't return the return value |
26 |
|
of self.assert_. In assertFloatSeqEqual the return meant that not |
27 |
|
all items of the sequence were compared. |
28 |
|
|
29 |
|
2002-09-20 Bernhard Herzog <[email protected]> |
30 |
|
|
31 |
|
* test/test_fileutil.py: New. Test cases for Thuban.Lib.fileutil |
32 |
|
|
33 |
|
* Thuban/Lib/fileutil.py: Fixup some whitespace and typos |
34 |
|
|
35 |
|
* test/test_map.py (TestMapWithContents.test_tree_info): Create |
36 |
|
the string with the bounding box on the fly because of platform |
37 |
|
differences in the way %g is handled. |
38 |
|
|
39 |
|
* test/test_layer.py (TestLayer.test_empty_layer): Create an empty |
40 |
|
DBFfile too because Thuban layers can't yet cope missing DBF |
41 |
|
files. |
42 |
|
|
43 |
|
2002-09-20 Bernhard Herzog <[email protected]> |
44 |
|
|
45 |
|
* test/test_menu.py: Use initthuban instead of |
46 |
|
add_thuban_dir_to_path to initialize Thuban. |
47 |
|
|
48 |
|
* test/support.py (FloatComparisonMixin.assertFloatEqual): New. |
49 |
|
Mixin class for float comparisons |
50 |
|
(SubscriberMixin): New. Mixin class to test messages sent through |
51 |
|
the Connector class |
52 |
|
|
53 |
|
* test/README: Fix a typo and add the -v flag to the command for |
54 |
|
individual tests |
55 |
|
|
56 |
|
* test/test_session.py: New. Test cases for Thuban.Model.session |
57 |
|
|
58 |
|
* test/test_proj.py: New. Test cases for Thuban.Model.proj |
59 |
|
|
60 |
|
* test/test_map.py: New. Test cases for Thuban.Model.map |
61 |
|
|
62 |
|
* test/test_layer.py: New. Test cases for Thuban.Model.layer |
63 |
|
|
64 |
|
* test/test_label.py: New. Test cases for Thuban.Model.label |
65 |
|
|
66 |
|
* test/test_connector.py: New. Test cases for Thuban.Lib.connector |
67 |
|
|
68 |
|
* test/test_color.py: New. Test cases for Thuban.Model.color |
69 |
|
|
70 |
|
* test/test_base.py: New. Test cases for Thuban.Model.base |
71 |
|
|
72 |
|
2002-09-13 Bernhard Herzog <[email protected]> |
73 |
|
|
74 |
|
* Thuban/Model/session.py (Session.forwarded_channels): Forward |
75 |
|
the CHANGED channel too. |
76 |
|
|
77 |
|
* Thuban/Model/map.py (Map.forwarded_channels): Forward the |
78 |
|
CHANGED channel too. |
79 |
|
(Map.__init__): Call the Modifiable constructor as well. |
80 |
|
|
81 |
|
* Thuban/Model/base.py (Modifiable.UnsetModified): Issue a CHANGED |
82 |
|
event if the modified flag changes. |
83 |
|
(Modifiable.changed): Tweak the doc-string. |
84 |
|
|
85 |
|
* Thuban/UI/mainwindow.py (MainWindow.view_position_changed) |
86 |
|
(MainWindow.set_position_text): Put the code that puts the text |
87 |
|
with the mouse position into the status bar into the new method |
88 |
|
set_position_text so that it can overwritten in derived classes. |
89 |
|
|
90 |
|
2002-09-12 Bernhard Herzog <[email protected]> |
91 |
|
|
92 |
|
* Thuban/UI/mainwindow.py (MainWindow.RunMessageBox): Center the |
93 |
|
message box on the main window. |
94 |
|
|
95 |
|
2002-09-11 Bernhard Herzog <[email protected]> |
96 |
|
|
97 |
|
* Thuban/UI/mainwindow.py: Underline the 'x' in "Exit" instead of |
98 |
|
the 'E' because it's less likely to interfere with other menu |
99 |
|
entries. |
100 |
|
(MainWindow.build_menu): remove an incorrect comment. |
101 |
|
|
102 |
|
2002-09-10 Bernhard Herzog <[email protected]> |
103 |
|
|
104 |
|
* Thuban/UI/mainwindow.py (MainWindow.Map): New. |
105 |
|
(_tool_command): Add sensitive parameter |
106 |
|
(_has_visible_map): Sensitivity callback to tools and other |
107 |
|
commands that require a visible map. Use it in map_zoom_in_tool, |
108 |
|
map_zoom_out_tool, map_pan_tool, map_identify_tool, map_label_tool |
109 |
|
and map_full_extent |
110 |
|
|
111 |
|
2002-09-06 Bernhard Herzog <[email protected]> |
112 |
|
|
113 |
|
* Thuban/UI/mainwindow.py (MainWindow.OnClose): Unsubscribe |
114 |
|
VIEW_POSITION |
115 |
|
|
116 |
|
2002-09-04 Frank Koormann <[email protected]> |
117 |
|
|
118 |
|
* Resources/Bitmaps/fullextent.xpm: Updated Icon (removed "potatoe") |
119 |
|
|
120 |
|
2002-09-02 Bernhard Herzog <[email protected]> |
121 |
|
|
122 |
|
* Thuban/UI/view.py: Get rid of the idle redraw. This is done by |
123 |
|
wxWindows already and our implementation doesn't work correctly |
124 |
|
with wxGTK 2.3: |
125 |
|
(MapCanvas.__init__): Remove the instance variable |
126 |
|
(MapCanvas.OnPaint): Always call do_redraw when there's a map to |
127 |
|
be drawin |
128 |
|
(MapCanvas.OnIdle): Removed. |
129 |
|
|
130 |
|
* Thuban/UI/view.py (MapCanvas.unprojected_rect_around_point): Add |
131 |
|
a parameter to determine the size of the rectangle. |
132 |
|
(MapCanvas.find_shape_at): Create the box around the point on a |
133 |
|
layer by layer basis and make the size depend on the shape type. |
134 |
|
This solves a problem with the selection of point shapes at the |
135 |
|
border of the layer's bounding box |
136 |
|
|
137 |
2002-08-30 Bernhard Herzog <[email protected]> |
2002-08-30 Bernhard Herzog <[email protected]> |
138 |
|
|
139 |
|
* Thuban/UI/mainwindow.py (MainWindow.CanRemoveLayer): New method |
140 |
|
for the sensitivity of remove layer. |
141 |
|
(_can_remove_layer): New. Sensitivity callback for remove layer |
142 |
|
(Command layer_remove): Use _can_remove_layer |
143 |
|
|
144 |
|
* Thuban/Model/map.py (Map.CanRemoveLayer): New method to |
145 |
|
determine whether a given layer can be deleted. |
146 |
|
|
147 |
* Thuban/UI/view.py (MapCanvas.__init__, MapCanvas.OnPaint) |
* Thuban/UI/view.py (MapCanvas.__init__, MapCanvas.OnPaint) |
148 |
(MapCanvas.do_redraw): Get rid of the unused update_region |
(MapCanvas.do_redraw): Get rid of the unused update_region |
149 |
instance variable |
instance variable |