1 |
|
2002-08-27 Bernhard Herzog <[email protected]> |
2 |
|
|
3 |
|
* Thuban/Model/table.py (Table.write_record, Table.__init__): Open |
4 |
|
dbf files only for reading by default. Use a new writable dbf |
5 |
|
object for writing. |
6 |
|
|
7 |
|
2002-08-26 Bernhard Herzog <[email protected]> |
8 |
|
|
9 |
|
* Thuban/UI/mainwindow.py: Refactor the context creation: |
10 |
|
(MainWindow.Context): New method to return a context |
11 |
|
(MainWindow.invoke_command, MainWindow.update_command_ui): Use the |
12 |
|
new method |
13 |
|
|
14 |
|
* Thuban/UI/tableview.py (TableGrid, LayerTableGrid): Split the |
15 |
|
layer table specific code from TableGrid into LayerTableGrid |
16 |
|
(TableFrame, LayerTableFrame): Split the layer table specific code |
17 |
|
from TableFrame into LayerTableFrame |
18 |
|
(LayerTableGrid.select_shape): Remove a debug print |
19 |
|
|
20 |
|
* Thuban/UI/mainwindow.py (MainWindow.LayerShowTable): Use the |
21 |
|
LayerTableFrame |
22 |
|
|
23 |
|
2002-08-23 Bernhard Herzog <[email protected]> |
24 |
|
|
25 |
|
* Thuban/Model/layer.py (Layer.__init__): Make sure we have an |
26 |
|
absolute filename. |
27 |
|
|
28 |
2002-08-22 Bernhard Herzog <[email protected]> |
2002-08-22 Bernhard Herzog <[email protected]> |
29 |
|
|
30 |
|
* Thuban/Model/table.py (Table.write_record): New method to write |
31 |
|
records. |
32 |
|
(Table.__init__): Open the DBF file for writing too. |
33 |
|
|
34 |
|
* Thuban/UI/controls.py (RecordTable.SetValue): Write the value |
35 |
|
into the underlying table. |
36 |
|
|
37 |
|
* extensions/shapelib/shapefil.h (DBFCommit), |
38 |
|
extensions/shapelib/dbfopen.c (DBFCommit): New API function to |
39 |
|
commit any changes made to the DBF file. |
40 |
|
|
41 |
* Thuban/UI/mainwindow.py (make_check_current_tool) |
* Thuban/UI/mainwindow.py (make_check_current_tool) |
42 |
(_tool_command): Put the code that generates the "checked" |
(_tool_command): Put the code that generates the "checked" |
43 |
callback into a separate function so that we can reuse it |
callback into a separate function so that we can reuse it |