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