1 |
|
2002-08-30 Bernhard Herzog <[email protected]> |
2 |
|
|
3 |
|
* Thuban/UI/view.py (MapCanvas.__init__, MapCanvas.OnPaint) |
4 |
|
(MapCanvas.do_redraw): Get rid of the unused update_region |
5 |
|
instance variable |
6 |
|
|
7 |
|
* Thuban/UI/view.py: Add/update some doc-strings. |
8 |
|
|
9 |
|
* test/: new subdirectory with a bunch of unit tests. |
10 |
|
|
11 |
|
* test/README, test/test_table.py, test/test_save.py, |
12 |
|
test/test_menu.py, test/test_load.py: Initial set of tests and |
13 |
|
brief instructions on how to run them |
14 |
|
|
15 |
|
2002-08-29 Bernhard Herzog <[email protected]> |
16 |
|
|
17 |
|
* Thuban/UI/renderer.py (ScreenRenderer.draw_shape_layer): Handle |
18 |
|
arcs with multiple parts. |
19 |
|
|
20 |
|
* Thuban/UI/view.py (ZoomInTool.MouseUp, ZoomOutTool.MouseUp): |
21 |
|
Handle degenrate rectangles. |
22 |
|
|
23 |
|
* Thuban/Model/table.py: Make writing records work correctly: |
24 |
|
(Table.__init__): Keep track of whether the DBF is open for |
25 |
|
writing |
26 |
|
(Table.write_record): Open the DBF file for writing when necessary |
27 |
|
|
28 |
|
2002-08-27 Bernhard Herzog <[email protected]> |
29 |
|
|
30 |
|
* Thuban/Model/table.py (Table.write_record, Table.__init__): Open |
31 |
|
dbf files only for reading by default. Use a new writable dbf |
32 |
|
object for writing. |
33 |
|
|
34 |
|
2002-08-26 Bernhard Herzog <[email protected]> |
35 |
|
|
36 |
|
* Thuban/UI/mainwindow.py: Refactor the context creation: |
37 |
|
(MainWindow.Context): New method to return a context |
38 |
|
(MainWindow.invoke_command, MainWindow.update_command_ui): Use the |
39 |
|
new method |
40 |
|
|
41 |
|
* Thuban/UI/tableview.py (TableGrid, LayerTableGrid): Split the |
42 |
|
layer table specific code from TableGrid into LayerTableGrid |
43 |
|
(TableFrame, LayerTableFrame): Split the layer table specific code |
44 |
|
from TableFrame into LayerTableFrame |
45 |
|
(LayerTableGrid.select_shape): Remove a debug print |
46 |
|
|
47 |
|
* Thuban/UI/mainwindow.py (MainWindow.LayerShowTable): Use the |
48 |
|
LayerTableFrame |
49 |
|
|
50 |
|
2002-08-23 Bernhard Herzog <[email protected]> |
51 |
|
|
52 |
|
* Thuban/Model/layer.py (Layer.__init__): Make sure we have an |
53 |
|
absolute filename. |
54 |
|
|
55 |
2002-08-22 Bernhard Herzog <[email protected]> |
2002-08-22 Bernhard Herzog <[email protected]> |
56 |
|
|
57 |
* Thuban/Model/table.py (Table.write_record): New method to write |
* Thuban/Model/table.py (Table.write_record): New method to write |