1 |
|
2002-09-02 Bernhard Herzog <[email protected]> |
2 |
|
|
3 |
|
* Thuban/UI/view.py (MapCanvas.unprojected_rect_around_point): Add |
4 |
|
a parameter to determine the size of the rectangle. |
5 |
|
(MapCanvas.find_shape_at): Create the box around the point on a |
6 |
|
layer by layer basis and make the size depend on the shape type. |
7 |
|
This solves a problem with the selection of point shapes at the |
8 |
|
border of the layer's bounding box |
9 |
|
|
10 |
|
2002-08-30 Bernhard Herzog <[email protected]> |
11 |
|
|
12 |
|
* Thuban/UI/mainwindow.py (MainWindow.CanRemoveLayer): New method |
13 |
|
for the sensitivity of remove layer. |
14 |
|
(_can_remove_layer): New. Sensitivity callback for remove layer |
15 |
|
(Command layer_remove): Use _can_remove_layer |
16 |
|
|
17 |
|
* Thuban/Model/map.py (Map.CanRemoveLayer): New method to |
18 |
|
determine whether a given layer can be deleted. |
19 |
|
|
20 |
|
* Thuban/UI/view.py (MapCanvas.__init__, MapCanvas.OnPaint) |
21 |
|
(MapCanvas.do_redraw): Get rid of the unused update_region |
22 |
|
instance variable |
23 |
|
|
24 |
|
* Thuban/UI/view.py: Add/update some doc-strings. |
25 |
|
|
26 |
|
* test/: new subdirectory with a bunch of unit tests. |
27 |
|
|
28 |
|
* test/README, test/test_table.py, test/test_save.py, |
29 |
|
test/test_menu.py, test/test_load.py: Initial set of tests and |
30 |
|
brief instructions on how to run them |
31 |
|
|
32 |
|
2002-08-29 Bernhard Herzog <[email protected]> |
33 |
|
|
34 |
|
* Thuban/UI/renderer.py (ScreenRenderer.draw_shape_layer): Handle |
35 |
|
arcs with multiple parts. |
36 |
|
|
37 |
|
* Thuban/UI/view.py (ZoomInTool.MouseUp, ZoomOutTool.MouseUp): |
38 |
|
Handle degenrate rectangles. |
39 |
|
|
40 |
|
* Thuban/Model/table.py: Make writing records work correctly: |
41 |
|
(Table.__init__): Keep track of whether the DBF is open for |
42 |
|
writing |
43 |
|
(Table.write_record): Open the DBF file for writing when necessary |
44 |
|
|
45 |
|
2002-08-27 Bernhard Herzog <[email protected]> |
46 |
|
|
47 |
|
* Thuban/Model/table.py (Table.write_record, Table.__init__): Open |
48 |
|
dbf files only for reading by default. Use a new writable dbf |
49 |
|
object for writing. |
50 |
|
|
51 |
|
2002-08-26 Bernhard Herzog <[email protected]> |
52 |
|
|
53 |
|
* Thuban/UI/mainwindow.py: Refactor the context creation: |
54 |
|
(MainWindow.Context): New method to return a context |
55 |
|
(MainWindow.invoke_command, MainWindow.update_command_ui): Use the |
56 |
|
new method |
57 |
|
|
58 |
|
* Thuban/UI/tableview.py (TableGrid, LayerTableGrid): Split the |
59 |
|
layer table specific code from TableGrid into LayerTableGrid |
60 |
|
(TableFrame, LayerTableFrame): Split the layer table specific code |
61 |
|
from TableFrame into LayerTableFrame |
62 |
|
(LayerTableGrid.select_shape): Remove a debug print |
63 |
|
|
64 |
|
* Thuban/UI/mainwindow.py (MainWindow.LayerShowTable): Use the |
65 |
|
LayerTableFrame |
66 |
|
|
67 |
2002-08-23 Bernhard Herzog <[email protected]> |
2002-08-23 Bernhard Herzog <[email protected]> |
68 |
|
|
69 |
* Thuban/Model/layer.py (Layer.__init__): Make sure we have an |
* Thuban/Model/layer.py (Layer.__init__): Make sure we have an |