1 |
|
2002-08-30 Bernhard Herzog <[email protected]> |
2 |
|
|
3 |
|
* test/: new subdirectory with a bunch of unit tests. |
4 |
|
|
5 |
|
* test/README, test/test_table.py, test/test_save.py, |
6 |
|
test/test_menu.py, test/test_load.py: Initial set of tests and |
7 |
|
brief instructions on how to run them |
8 |
|
|
9 |
|
2002-08-29 Bernhard Herzog <[email protected]> |
10 |
|
|
11 |
|
* Thuban/UI/renderer.py (ScreenRenderer.draw_shape_layer): Handle |
12 |
|
arcs with multiple parts. |
13 |
|
|
14 |
|
* Thuban/UI/view.py (ZoomInTool.MouseUp, ZoomOutTool.MouseUp): |
15 |
|
Handle degenrate rectangles. |
16 |
|
|
17 |
|
* Thuban/Model/table.py: Make writing records work correctly: |
18 |
|
(Table.__init__): Keep track of whether the DBF is open for |
19 |
|
writing |
20 |
|
(Table.write_record): Open the DBF file for writing when necessary |
21 |
|
|
22 |
|
2002-08-27 Bernhard Herzog <[email protected]> |
23 |
|
|
24 |
|
* Thuban/Model/table.py (Table.write_record, Table.__init__): Open |
25 |
|
dbf files only for reading by default. Use a new writable dbf |
26 |
|
object for writing. |
27 |
|
|
28 |
|
2002-08-26 Bernhard Herzog <[email protected]> |
29 |
|
|
30 |
|
* Thuban/UI/mainwindow.py: Refactor the context creation: |
31 |
|
(MainWindow.Context): New method to return a context |
32 |
|
(MainWindow.invoke_command, MainWindow.update_command_ui): Use the |
33 |
|
new method |
34 |
|
|
35 |
|
* Thuban/UI/tableview.py (TableGrid, LayerTableGrid): Split the |
36 |
|
layer table specific code from TableGrid into LayerTableGrid |
37 |
|
(TableFrame, LayerTableFrame): Split the layer table specific code |
38 |
|
from TableFrame into LayerTableFrame |
39 |
|
(LayerTableGrid.select_shape): Remove a debug print |
40 |
|
|
41 |
|
* Thuban/UI/mainwindow.py (MainWindow.LayerShowTable): Use the |
42 |
|
LayerTableFrame |
43 |
|
|
44 |
|
2002-08-23 Bernhard Herzog <[email protected]> |
45 |
|
|
46 |
|
* Thuban/Model/layer.py (Layer.__init__): Make sure we have an |
47 |
|
absolute filename. |
48 |
|
|
49 |
2002-08-22 Bernhard Herzog <[email protected]> |
2002-08-22 Bernhard Herzog <[email protected]> |
50 |
|
|
51 |
|
* Thuban/Model/table.py (Table.write_record): New method to write |
52 |
|
records. |
53 |
|
(Table.__init__): Open the DBF file for writing too. |
54 |
|
|
55 |
|
* Thuban/UI/controls.py (RecordTable.SetValue): Write the value |
56 |
|
into the underlying table. |
57 |
|
|
58 |
|
* extensions/shapelib/shapefil.h (DBFCommit), |
59 |
|
extensions/shapelib/dbfopen.c (DBFCommit): New API function to |
60 |
|
commit any changes made to the DBF file. |
61 |
|
|
62 |
* Thuban/UI/mainwindow.py (make_check_current_tool) |
* Thuban/UI/mainwindow.py (make_check_current_tool) |
63 |
(_tool_command): Put the code that generates the "checked" |
(_tool_command): Put the code that generates the "checked" |
64 |
callback into a separate function so that we can reuse it |
callback into a separate function so that we can reuse it |