1 |
|
2002-09-11 Bernhard Herzog <[email protected]> |
2 |
|
|
3 |
|
* Thuban/UI/mainwindow.py: Underline the 'x' in "Exit" instead of |
4 |
|
the 'E' because it's less likely to interfere with other menu |
5 |
|
entries. |
6 |
|
|
7 |
|
2002-09-10 Bernhard Herzog <[email protected]> |
8 |
|
|
9 |
|
* Thuban/UI/mainwindow.py (MainWindow.Map): New. |
10 |
|
(_tool_command): Add sensitive parameter |
11 |
|
(_has_visible_map): Sensitivity callback to tools and other |
12 |
|
commands that require a visible map. Use it in map_zoom_in_tool, |
13 |
|
map_zoom_out_tool, map_pan_tool, map_identify_tool, map_label_tool |
14 |
|
and map_full_extent |
15 |
|
|
16 |
|
2002-09-06 Bernhard Herzog <[email protected]> |
17 |
|
|
18 |
|
* Thuban/UI/mainwindow.py (MainWindow.OnClose): Unsubscribe |
19 |
|
VIEW_POSITION |
20 |
|
|
21 |
|
2002-09-04 Frank Koormann <[email protected]> |
22 |
|
|
23 |
|
* Resources/Bitmaps/fullextent.xpm: Updated Icon (removed "potatoe") |
24 |
|
|
25 |
|
2002-09-02 Bernhard Herzog <[email protected]> |
26 |
|
|
27 |
|
* Thuban/UI/view.py: Get rid of the idle redraw. This is done by |
28 |
|
wxWindows already and our implementation doesn't work correctly |
29 |
|
with wxGTK 2.3: |
30 |
|
(MapCanvas.__init__): Remove the instance variable |
31 |
|
(MapCanvas.OnPaint): Always call do_redraw when there's a map to |
32 |
|
be drawin |
33 |
|
(MapCanvas.OnIdle): Removed. |
34 |
|
|
35 |
|
* Thuban/UI/view.py (MapCanvas.unprojected_rect_around_point): Add |
36 |
|
a parameter to determine the size of the rectangle. |
37 |
|
(MapCanvas.find_shape_at): Create the box around the point on a |
38 |
|
layer by layer basis and make the size depend on the shape type. |
39 |
|
This solves a problem with the selection of point shapes at the |
40 |
|
border of the layer's bounding box |
41 |
|
|
42 |
|
2002-08-30 Bernhard Herzog <[email protected]> |
43 |
|
|
44 |
|
* Thuban/UI/mainwindow.py (MainWindow.CanRemoveLayer): New method |
45 |
|
for the sensitivity of remove layer. |
46 |
|
(_can_remove_layer): New. Sensitivity callback for remove layer |
47 |
|
(Command layer_remove): Use _can_remove_layer |
48 |
|
|
49 |
|
* Thuban/Model/map.py (Map.CanRemoveLayer): New method to |
50 |
|
determine whether a given layer can be deleted. |
51 |
|
|
52 |
|
* Thuban/UI/view.py (MapCanvas.__init__, MapCanvas.OnPaint) |
53 |
|
(MapCanvas.do_redraw): Get rid of the unused update_region |
54 |
|
instance variable |
55 |
|
|
56 |
|
* Thuban/UI/view.py: Add/update some doc-strings. |
57 |
|
|
58 |
|
* test/: new subdirectory with a bunch of unit tests. |
59 |
|
|
60 |
|
* test/README, test/test_table.py, test/test_save.py, |
61 |
|
test/test_menu.py, test/test_load.py: Initial set of tests and |
62 |
|
brief instructions on how to run them |
63 |
|
|
64 |
|
2002-08-29 Bernhard Herzog <[email protected]> |
65 |
|
|
66 |
|
* Thuban/UI/renderer.py (ScreenRenderer.draw_shape_layer): Handle |
67 |
|
arcs with multiple parts. |
68 |
|
|
69 |
|
* Thuban/UI/view.py (ZoomInTool.MouseUp, ZoomOutTool.MouseUp): |
70 |
|
Handle degenrate rectangles. |
71 |
|
|
72 |
|
* Thuban/Model/table.py: Make writing records work correctly: |
73 |
|
(Table.__init__): Keep track of whether the DBF is open for |
74 |
|
writing |
75 |
|
(Table.write_record): Open the DBF file for writing when necessary |
76 |
|
|
77 |
2002-08-27 Bernhard Herzog <[email protected]> |
2002-08-27 Bernhard Herzog <[email protected]> |
78 |
|
|
79 |
* Thuban/Model/table.py (Table.write_record, Table.__init__): Open |
* Thuban/Model/table.py (Table.write_record, Table.__init__): Open |