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