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