1 |
|
2002-09-06 Bernhard Herzog <[email protected]> |
2 |
|
|
3 |
|
* Thuban/UI/mainwindow.py (MainWindow.OnClose): Unsubscribe |
4 |
|
VIEW_POSITION |
5 |
|
|
6 |
|
2002-09-04 Frank Koormann <[email protected]> |
7 |
|
|
8 |
|
* Resources/Bitmaps/fullextent.xpm: Updated Icon (removed "potatoe") |
9 |
|
|
10 |
|
2002-09-02 Bernhard Herzog <[email protected]> |
11 |
|
|
12 |
|
* Thuban/UI/view.py: Get rid of the idle redraw. This is done by |
13 |
|
wxWindows already and our implementation doesn't work correctly |
14 |
|
with wxGTK 2.3: |
15 |
|
(MapCanvas.__init__): Remove the instance variable |
16 |
|
(MapCanvas.OnPaint): Always call do_redraw when there's a map to |
17 |
|
be drawin |
18 |
|
(MapCanvas.OnIdle): Removed. |
19 |
|
|
20 |
|
* Thuban/UI/view.py (MapCanvas.unprojected_rect_around_point): Add |
21 |
|
a parameter to determine the size of the rectangle. |
22 |
|
(MapCanvas.find_shape_at): Create the box around the point on a |
23 |
|
layer by layer basis and make the size depend on the shape type. |
24 |
|
This solves a problem with the selection of point shapes at the |
25 |
|
border of the layer's bounding box |
26 |
|
|
27 |
|
2002-08-30 Bernhard Herzog <[email protected]> |
28 |
|
|
29 |
|
* Thuban/UI/mainwindow.py (MainWindow.CanRemoveLayer): New method |
30 |
|
for the sensitivity of remove layer. |
31 |
|
(_can_remove_layer): New. Sensitivity callback for remove layer |
32 |
|
(Command layer_remove): Use _can_remove_layer |
33 |
|
|
34 |
|
* Thuban/Model/map.py (Map.CanRemoveLayer): New method to |
35 |
|
determine whether a given layer can be deleted. |
36 |
|
|
37 |
|
* Thuban/UI/view.py (MapCanvas.__init__, MapCanvas.OnPaint) |
38 |
|
(MapCanvas.do_redraw): Get rid of the unused update_region |
39 |
|
instance variable |
40 |
|
|
41 |
|
* Thuban/UI/view.py: Add/update some doc-strings. |
42 |
|
|
43 |
|
* test/: new subdirectory with a bunch of unit tests. |
44 |
|
|
45 |
|
* test/README, test/test_table.py, test/test_save.py, |
46 |
|
test/test_menu.py, test/test_load.py: Initial set of tests and |
47 |
|
brief instructions on how to run them |
48 |
|
|
49 |
|
2002-08-29 Bernhard Herzog <[email protected]> |
50 |
|
|
51 |
|
* Thuban/UI/renderer.py (ScreenRenderer.draw_shape_layer): Handle |
52 |
|
arcs with multiple parts. |
53 |
|
|
54 |
|
* Thuban/UI/view.py (ZoomInTool.MouseUp, ZoomOutTool.MouseUp): |
55 |
|
Handle degenrate rectangles. |
56 |
|
|
57 |
|
* Thuban/Model/table.py: Make writing records work correctly: |
58 |
|
(Table.__init__): Keep track of whether the DBF is open for |
59 |
|
writing |
60 |
|
(Table.write_record): Open the DBF file for writing when necessary |
61 |
|
|
62 |
|
2002-08-27 Bernhard Herzog <[email protected]> |
63 |
|
|
64 |
|
* Thuban/Model/table.py (Table.write_record, Table.__init__): Open |
65 |
|
dbf files only for reading by default. Use a new writable dbf |
66 |
|
object for writing. |
67 |
|
|
68 |
|
2002-08-26 Bernhard Herzog <[email protected]> |
69 |
|
|
70 |
|
* Thuban/UI/mainwindow.py: Refactor the context creation: |
71 |
|
(MainWindow.Context): New method to return a context |
72 |
|
(MainWindow.invoke_command, MainWindow.update_command_ui): Use the |
73 |
|
new method |
74 |
|
|
75 |
|
* Thuban/UI/tableview.py (TableGrid, LayerTableGrid): Split the |
76 |
|
layer table specific code from TableGrid into LayerTableGrid |
77 |
|
(TableFrame, LayerTableFrame): Split the layer table specific code |
78 |
|
from TableFrame into LayerTableFrame |
79 |
|
(LayerTableGrid.select_shape): Remove a debug print |
80 |
|
|
81 |
|
* Thuban/UI/mainwindow.py (MainWindow.LayerShowTable): Use the |
82 |
|
LayerTableFrame |
83 |
|
|
84 |
|
2002-08-23 Bernhard Herzog <[email protected]> |
85 |
|
|
86 |
|
* Thuban/Model/layer.py (Layer.__init__): Make sure we have an |
87 |
|
absolute filename. |
88 |
|
|
89 |
2002-08-22 Bernhard Herzog <[email protected]> |
2002-08-22 Bernhard Herzog <[email protected]> |
90 |
|
|
91 |
|
* Thuban/Model/table.py (Table.write_record): New method to write |
92 |
|
records. |
93 |
|
(Table.__init__): Open the DBF file for writing too. |
94 |
|
|
95 |
|
* Thuban/UI/controls.py (RecordTable.SetValue): Write the value |
96 |
|
into the underlying table. |
97 |
|
|
98 |
|
* extensions/shapelib/shapefil.h (DBFCommit), |
99 |
|
extensions/shapelib/dbfopen.c (DBFCommit): New API function to |
100 |
|
commit any changes made to the DBF file. |
101 |
|
|
102 |
* Thuban/UI/mainwindow.py (make_check_current_tool) |
* Thuban/UI/mainwindow.py (make_check_current_tool) |
103 |
(_tool_command): Put the code that generates the "checked" |
(_tool_command): Put the code that generates the "checked" |
104 |
callback into a separate function so that we can reuse it |
callback into a separate function so that we can reuse it |