1 |
|
2003-06-05 Frank Koormann <[email protected]> |
2 |
|
|
3 |
|
* Thuban/UI/identifyview.py (IdentifyView.__init__): |
4 |
|
Layout reimplemented without panel. Make life easier to fit the list |
5 |
|
in the dialog. |
6 |
|
|
7 |
|
2003-06-05 Frank Koormann <[email protected]> |
8 |
|
|
9 |
|
* Thuban/UI/projdialog.py (ProjFrame.__init__): Fill the projchoice |
10 |
|
once on initialisation (Former implementation resulted in multiple |
11 |
|
entries for each projection). |
12 |
|
(ProjFrame.__FillAvailList): selectProj as second optional parameter, |
13 |
|
if set, select the projection found under the specified name. This |
14 |
|
overwrites any other selection estimate. |
15 |
|
Removed projchoice filling from this method. |
16 |
|
(ProjFrame._OnSave, ProjFrame._OnAddToList): |
17 |
|
Updated call of ProjFrame.__FillAvailList |
18 |
|
(LCCPanel._DoLayout): Moved parameter controls in more common order. |
19 |
|
|
20 |
|
* Resources/Projections/defaults.proj: Extended defaults representing |
21 |
|
various common European projections. |
22 |
|
|
23 |
|
2003-06-05 Frank Koormann <[email protected]> |
24 |
|
|
25 |
|
* Thuban/UI/identifyview.py (IdentifyView.__init__): |
26 |
|
Use ListCtrl instead of GridCtrl |
27 |
|
|
28 |
|
* Thuban/Model/resource.py: |
29 |
|
Guess location of .thuban directory from tempdir parent directory. |
30 |
|
|
31 |
|
* Thuban/UI/application.py (ThubanApplication.read_startup_files): |
32 |
|
Guess location of .thuban directory from tempdir parent directory. |
33 |
|
|
34 |
|
2003-06-04 Bernhard Herzog <[email protected]> |
35 |
|
|
36 |
|
Do not cache the values returned by the tree widget's |
37 |
|
GetFirstChild and GetNextChild methods because it led to lots of |
38 |
|
segfaults. The new way requires more brute force but is more |
39 |
|
reliable. |
40 |
|
|
41 |
|
* Thuban/UI/legend.py (LegendTree.__init__): Remove instance |
42 |
|
variable layer2id |
43 |
|
(LegendTree.find_layer): New method to do with brute force what |
44 |
|
layer2id tried to accomplish |
45 |
|
(LegendTree._OnMsgLayerChanged) |
46 |
|
(LegendTree._OnMsgLayerTitleChanged, LegendTree.__ShowHideLayer): |
47 |
|
Use find_layer instead of layer2id |
48 |
|
(LegendTree.__RemoveLayer, LegendTree.__AddLayer): No need to |
49 |
|
update layer2id anymore |
50 |
|
(LegendTree._OnMsgMapLayersRemoved) |
51 |
|
(LegendTree._OnMsgMapLayersAdded): Get by without layer2id. |
52 |
|
|
53 |
|
2003-06-03 Thomas Koester <[email protected]> |
54 |
|
|
55 |
|
* Thuban/Model/classgen.py (GenQuantiles0): New function. |
56 |
|
|
57 |
|
2003-06-02 Bernhard Herzog <[email protected]> |
58 |
|
|
59 |
|
* Thuban/UI/mainwindow.py (layer_rename command, table_rename command): |
60 |
|
New commands. |
61 |
|
(main_menu): Add the new commands. |
62 |
|
(MainWindow.TableRename): New. Implementation of the table_rename |
63 |
|
command. |
64 |
|
(MainWindow.RenameLayer): New. Implementation of the layer_rename |
65 |
|
command. |
66 |
|
|
67 |
|
* Thuban/Model/session.py (Session.AddTable): call self.changed to |
68 |
|
set the modified flag |
69 |
|
|
70 |
|
* test/test_session.py (TestSessionSimple.test_add_table): Test |
71 |
|
whether the modified flag is set properly |
72 |
|
|
73 |
|
* Thuban/Model/base.py (TitledObject.SetTitle): Call changed |
74 |
|
instead of issue so that the modified flags get updated. |
75 |
|
|
76 |
|
* test/test_base.py (SomeTitledObject): Derive from Modifiable |
77 |
|
instead of Publisher to reflect reality better and to accomodate |
78 |
|
the fact that SetTitle now calls changed instead of issue |
79 |
|
|
80 |
|
2003-06-02 Bernhard Herzog <[email protected]> |
81 |
|
|
82 |
|
* Thuban/UI/classgen.py (GenQuantilesPanel.GetList): Resource |
83 |
|
acquisition has to happen before the try in a try-finally. |
84 |
|
|
85 |
|
2003-06-02 Bernhard Herzog <[email protected]> |
86 |
|
|
87 |
|
* Thuban/UI/legend.py (LegendTree._OnMsgMapLayersRemoved): It's |
88 |
|
possible that a layer is removed that is not currently selected in |
89 |
|
the legend so don't check for this. |
90 |
|
|
91 |
|
2003-05-30 Bernhard Herzog <[email protected]> |
92 |
|
|
93 |
|
* Thuban/Model/layer.py (Layer.Destroy): Set all instance |
94 |
|
variables to None that have direct or indirect references to |
95 |
|
shapefiles or dbf files to make sure that they do go away and the |
96 |
|
files are closed. |
97 |
|
|
98 |
|
2003-05-30 Bernhard Herzog <[email protected]> |
99 |
|
|
100 |
|
* Thuban/UI/legend.py (LegendTree.GetRootItem): Reset |
101 |
|
availImgListIndices when a new image list is created |
102 |
|
|
103 |
|
2003-05-30 Bernhard Herzog <[email protected]> |
104 |
|
|
105 |
|
* Thuban/UI/legend.py (LegendTree.__init__): New instance variable |
106 |
|
changing_selection to indicate whether the LegendTree code itself |
107 |
|
is currently changing the selection |
108 |
|
(LegendTree.normalize_selection): New method to normalize the |
109 |
|
selection by selecting the layer item even if the user clicked on |
110 |
|
the classification. |
111 |
|
(LegendTree._OnSelChanged): normalize the selection. This works |
112 |
|
around a bug in wx which doesn't keep track of the selection |
113 |
|
properly when subtrees are deleted. |
114 |
|
|
115 |
2003-05-30 Bernhard Herzog <[email protected]> |
2003-05-30 Bernhard Herzog <[email protected]> |
116 |
|
|
117 |
* Thuban/UI/view.py (MapCanvas.set_view_transform): Limit the |
* Thuban/UI/view.py (MapCanvas.set_view_transform): Limit the |