1 |
2003-04-29 Bernhard Herzog <[email protected]> |
2003-04-29 Bernhard Herzog <[email protected]> |
2 |
|
|
3 |
|
* Thuban/Model/session.py (Session.Destroy): Explicitly close the |
4 |
|
transient DB if it exists to make sure it doesn't leave a journal |
5 |
|
file in the temp directory. |
6 |
|
|
7 |
|
* Thuban/Model/transientdb.py (TransientDatabase.close): Set |
8 |
|
self.conn to None after closing the connection to make sure it's |
9 |
|
not closed twice |
10 |
|
|
11 |
|
2003-04-29 Jonathan Coles <[email protected]> |
12 |
|
|
13 |
|
Add a visible parameter in the layer XML tag. The default value is |
14 |
|
"true". If anything other than "false" is specified we also assume |
15 |
|
"true". Addresses RTbug #1025. |
16 |
|
|
17 |
|
* Doc/thuban.dtd: Add visible parameter to a layer. |
18 |
|
|
19 |
|
* Thuban/Model/layer.py (BaseLayer.__init__): Change default value |
20 |
|
of visible from 1 to True. |
21 |
|
(Layer.__init__): Change default value of visible from 1 to True. |
22 |
|
|
23 |
|
* Thuban/Model/load.py (SessionLoader.start_layer): Read visible |
24 |
|
parameter. |
25 |
|
|
26 |
|
* Thuban/Model/save.py (SessionSaver.write_layer): Save visible |
27 |
|
parameter. |
28 |
|
|
29 |
|
* test/test_load.py: Add new test data contents_test_visible. |
30 |
|
(LoadSessionTest.setUp): save test data. |
31 |
|
(LoadSessionTest.testLayerVisibility): Test if the visible flag |
32 |
|
is loaded correctly. |
33 |
|
|
34 |
|
* test/test_save.py (SaveSessionTest.testSingleLayer): Add test |
35 |
|
for saving an invisible layer. |
36 |
|
|
37 |
|
2003-04-29 Jonathan Coles <[email protected]> |
38 |
|
|
39 |
|
* Thuban/UI/mainwindow.py (MainWindow.SetMap): Look up the |
40 |
|
legend dialog box and tell it to change its map to the one |
41 |
|
supplied to SetMap(). Fixes RTbug #1770. |
42 |
|
|
43 |
|
2003-04-29 Bernhard Herzog <[email protected]> |
44 |
|
|
45 |
Next step of table implementation. Introduce a transient database |
Next step of table implementation. Introduce a transient database |
46 |
using SQLite that some of the data is copied to on demand. This |
using SQLite that some of the data is copied to on demand. This |
47 |
allows us to do joins and other operations that require an index |
allows us to do joins and other operations that require an index |
93 |
once. Plus it introduces a reference cycle that keeps can keep the |
once. Plus it introduces a reference cycle that keeps can keep the |
94 |
session object alive for a long time. |
session object alive for a long time. |
95 |
|
|
96 |
2003-04-25 Jonathan Coles <[email protected]> |
2003-04-29 Jonathan Coles <[email protected]> |
97 |
|
|
98 |
* Thuban/Model/proj.py (Projection): Removed Set*() methods to make |
* Thuban/Model/proj.py (Projection): Removed Set*() methods to make |
99 |
Projection an immutable item. Fixes RTbug #1825. |
Projection an immutable item. Fixes RTbug #1825. |