1 |
|
2003-04-30 Jan-Oliver Wagner <[email protected]> |
2 |
|
|
3 |
|
* Thuban/Model/layer.py (Layer.SetShapeStore): Fixed a bug: |
4 |
|
don't set the Classification to None if the classfication field |
5 |
|
is None (ie only a DEFAULT). |
6 |
|
|
7 |
|
2003-04-30 Bernhard Herzog <[email protected]> |
8 |
|
|
9 |
|
* Thuban/UI/view.py: Fix some typos. |
10 |
|
|
11 |
|
* Thuban/UI/mainwindow.py (MainWindow.identify_view_on_demand): Do |
12 |
|
not pop up the dialog if the selection becomes empty (this could |
13 |
|
happen if e.g. a new selection is opened while the identify tool |
14 |
|
is active and dialog had been closed) |
15 |
|
|
16 |
|
2003-04-30 Bernhard Herzog <[email protected]> |
17 |
|
|
18 |
|
* Thuban/Model/transientdb.py (TransientTableBase.__init__): New |
19 |
|
instance variable read_record_last_result |
20 |
|
(TransientTableBase.read_record): Make sure reading the same |
21 |
|
record twice works. The implementation uses the new instance |
22 |
|
variable read_record_last_result |
23 |
|
|
24 |
|
* test/test_transientdb.py |
25 |
|
(TestTransientTable.test_transient_table_read_twice): New test |
26 |
|
case for the above bug-fix. |
27 |
|
|
28 |
|
2003-04-29 Bernhard Herzog <[email protected]> |
29 |
|
|
30 |
|
* Thuban/Model/session.py (Session.Destroy): Explicitly close the |
31 |
|
transient DB if it exists to make sure it doesn't leave a journal |
32 |
|
file in the temp directory. |
33 |
|
|
34 |
|
* Thuban/Model/transientdb.py (TransientDatabase.close): Set |
35 |
|
self.conn to None after closing the connection to make sure it's |
36 |
|
not closed twice |
37 |
|
|
38 |
|
2003-04-29 Jonathan Coles <[email protected]> |
39 |
|
|
40 |
|
Add a visible parameter in the layer XML tag. The default value is |
41 |
|
"true". If anything other than "false" is specified we also assume |
42 |
|
"true". Addresses RTbug #1025. |
43 |
|
|
44 |
|
* Doc/thuban.dtd: Add visible parameter to a layer. |
45 |
|
|
46 |
|
* Thuban/Model/layer.py (BaseLayer.__init__): Change default value |
47 |
|
of visible from 1 to True. |
48 |
|
(Layer.__init__): Change default value of visible from 1 to True. |
49 |
|
|
50 |
|
* Thuban/Model/load.py (SessionLoader.start_layer): Read visible |
51 |
|
parameter. |
52 |
|
|
53 |
|
* Thuban/Model/save.py (SessionSaver.write_layer): Save visible |
54 |
|
parameter. |
55 |
|
|
56 |
|
* test/test_load.py: Add new test data contents_test_visible. |
57 |
|
(LoadSessionTest.setUp): save test data. |
58 |
|
(LoadSessionTest.testLayerVisibility): Test if the visible flag |
59 |
|
is loaded correctly. |
60 |
|
|
61 |
|
* test/test_save.py (SaveSessionTest.testSingleLayer): Add test |
62 |
|
for saving an invisible layer. |
63 |
|
|
64 |
|
2003-04-29 Jonathan Coles <[email protected]> |
65 |
|
|
66 |
|
* Thuban/UI/mainwindow.py (MainWindow.SetMap): Look up the |
67 |
|
legend dialog box and tell it to change its map to the one |
68 |
|
supplied to SetMap(). Fixes RTbug #1770. |
69 |
|
|
70 |
2003-04-29 Bernhard Herzog <[email protected]> |
2003-04-29 Bernhard Herzog <[email protected]> |
71 |
|
|
72 |
Next step of table implementation. Introduce a transient database |
Next step of table implementation. Introduce a transient database |
120 |
once. Plus it introduces a reference cycle that keeps can keep the |
once. Plus it introduces a reference cycle that keeps can keep the |
121 |
session object alive for a long time. |
session object alive for a long time. |
122 |
|
|
123 |
2003-04-25 Jonathan Coles <[email protected]> |
2003-04-29 Jonathan Coles <[email protected]> |
124 |
|
|
125 |
* Thuban/Model/proj.py (Projection): Removed Set*() methods to make |
* Thuban/Model/proj.py (Projection): Removed Set*() methods to make |
126 |
Projection an immutable item. Fixes RTbug #1825. |
Projection an immutable item. Fixes RTbug #1825. |