1 |
|
2003-06-04 Bernhard Herzog <[email protected]> |
2 |
|
|
3 |
|
Do not cache the values returned by the tree widget's |
4 |
|
GetFirstChild and GetNextChild methods because it led to lots of |
5 |
|
segfaults. The new way requires more brute force but is more |
6 |
|
reliable. |
7 |
|
|
8 |
|
* Thuban/UI/legend.py (LegendTree.__init__): Remove instance |
9 |
|
variable layer2id |
10 |
|
(LegendTree.find_layer): New method to do with brute force what |
11 |
|
layer2id tried to accomplish |
12 |
|
(LegendTree._OnMsgLayerChanged) |
13 |
|
(LegendTree._OnMsgLayerTitleChanged, LegendTree.__ShowHideLayer): |
14 |
|
Use find_layer instead of layer2id |
15 |
|
(LegendTree.__RemoveLayer, LegendTree.__AddLayer): No need to |
16 |
|
update layer2id anymore |
17 |
|
(LegendTree._OnMsgMapLayersRemoved) |
18 |
|
(LegendTree._OnMsgMapLayersAdded): Get by without layer2id. |
19 |
|
|
20 |
|
2003-06-03 Thomas Koester <[email protected]> |
21 |
|
|
22 |
|
* Thuban/Model/classgen.py (GenQuantiles0): New function. |
23 |
|
|
24 |
|
2003-06-02 Bernhard Herzog <[email protected]> |
25 |
|
|
26 |
|
* Thuban/UI/mainwindow.py (layer_rename command, table_rename command): |
27 |
|
New commands. |
28 |
|
(main_menu): Add the new commands. |
29 |
|
(MainWindow.TableRename): New. Implementation of the table_rename |
30 |
|
command. |
31 |
|
(MainWindow.RenameLayer): New. Implementation of the layer_rename |
32 |
|
command. |
33 |
|
|
34 |
|
* Thuban/Model/session.py (Session.AddTable): call self.changed to |
35 |
|
set the modified flag |
36 |
|
|
37 |
|
* test/test_session.py (TestSessionSimple.test_add_table): Test |
38 |
|
whether the modified flag is set properly |
39 |
|
|
40 |
|
* Thuban/Model/base.py (TitledObject.SetTitle): Call changed |
41 |
|
instead of issue so that the modified flags get updated. |
42 |
|
|
43 |
|
* test/test_base.py (SomeTitledObject): Derive from Modifiable |
44 |
|
instead of Publisher to reflect reality better and to accomodate |
45 |
|
the fact that SetTitle now calls changed instead of issue |
46 |
|
|
47 |
|
2003-06-02 Bernhard Herzog <[email protected]> |
48 |
|
|
49 |
|
* Thuban/UI/classgen.py (GenQuantilesPanel.GetList): Resource |
50 |
|
acquisition has to happen before the try in a try-finally. |
51 |
|
|
52 |
|
2003-06-02 Bernhard Herzog <[email protected]> |
53 |
|
|
54 |
|
* Thuban/UI/legend.py (LegendTree._OnMsgMapLayersRemoved): It's |
55 |
|
possible that a layer is removed that is not currently selected in |
56 |
|
the legend so don't check for this. |
57 |
|
|
58 |
2003-05-30 Bernhard Herzog <[email protected]> |
2003-05-30 Bernhard Herzog <[email protected]> |
59 |
|
|
60 |
* Thuban/Model/layer.py (Layer.Destroy): Set all instance |
* Thuban/Model/layer.py (Layer.Destroy): Set all instance |