1 |
|
2001-09-18 Bernhard Herzog <[email protected]> |
2 |
|
|
3 |
|
* README: Slight tweaking in preparation for the 0.1 release |
4 |
|
|
5 |
|
* setup.cfg: Add section for sdist to create both tgz and zip |
6 |
|
archives |
7 |
|
|
8 |
|
* setup.py: increase version number to 0.1 |
9 |
|
(data_dist): New command class for data distribution |
10 |
|
|
11 |
|
|
12 |
|
2001-09-14 Bernhard Herzog <[email protected]> |
13 |
|
|
14 |
|
* Thuban/UI/identifyview.py (IdentifyListCtrl.selected_shape): |
15 |
|
Handle the case of no layer (i.e. layer is None) properly. |
16 |
|
|
17 |
|
* Thuban/UI/proj4dialog.py (UTMDialog.__init__, Proj4Dialog.__init__): |
18 |
|
Set the initial selection of the combo boxes to reflect the |
19 |
|
projection we're starting with in a way that works on windows, |
20 |
|
too. |
21 |
|
|
22 |
|
* Thuban/Lib/connector.py (Connector.print_connections): Print the |
23 |
|
puiblisher's ids in hex to make it easier to compare them to the |
24 |
|
standard repr of python methods |
25 |
|
|
26 |
|
* Thuban/Model/map.py (Map.Destroy): Unsubscribe the label_layer |
27 |
|
messages |
28 |
|
|
29 |
|
2001-09-13 Bernhard Herzog <[email protected]> |
30 |
|
|
31 |
|
* Thuban/UI/tree.py (SessionTreeCtrl.OnSelChanged): Make sure to |
32 |
|
deselect the layer if no layer is selected |
33 |
|
|
34 |
|
* Thuban/UI/view.py (MapCanvas.OnPaint): Only delay drawing to |
35 |
|
idle time when there actually is something to draw. If there's |
36 |
|
nothing to draw simply clear the window |
37 |
|
(MapCanvas.do_redraw): Call dc.EndDrawing and add some comments. |
38 |
|
(MapCanvas.SetMap): force a redraw in all cases because |
39 |
|
FitMapToWindow doesn't always do it. |
40 |
|
(MapCanvas.ZoomFactor): Add an optional parameter, center, to |
41 |
|
specify the point to move into the center of the window |
42 |
|
(ZoomOutTool.MouseUp, ZoomInTool.MouseUp): If the mouse wasn't |
43 |
|
dragged, zoon in/out by a factor of 2 |
44 |
|
(MapCanvas.find_shape_at): Iterate backwards (i.e. with decreasing |
45 |
|
index, i.e. reversed drawing order) so that objects appearing to |
46 |
|
be in from of others are selected first. This is probably mostly |
47 |
|
relevant for point shapes where the symbols used may overlap |
48 |
|
|
49 |
|
* Thuban/Model/session.py (create_empty_session): Unset the |
50 |
|
modified bit before returning it |
51 |
|
|
52 |
|
* Thuban/UI/mainwindow.py (MainWindow.NewSession): Use |
53 |
|
create_empty_session session to create the new, empty session. |
54 |
|
|
55 |
|
* Thuban/UI/mainwindow.py (MainWindow.__init__): Set the size of |
56 |
|
the tool bitmaps. |
57 |
|
(MainWindow.OnClose, MainWindow.save_modified_session): Separate |
58 |
|
the code that asks whether the session should be saved into the |
59 |
|
new method save_modified_session. |
60 |
|
(MainWindow.OpenSession, MainWindow.NewSession): Use the new |
61 |
|
method to save modified session here too. |
62 |
|
|
63 |
|
2001-09-11 Bernhard Herzog <[email protected]> |
64 |
|
|
65 |
|
* setup.py (InnoIconItem): fix typo |
66 |
|
|
67 |
|
(thuban_bdist_inno.run): |
68 |
|
(bdist_inno.run): Move the decision not to create symlinks on |
69 |
|
non-nt platforms to thuban_bdist_inno and do it unconditinally |
70 |
|
since we never want to create the symlinks here |
71 |
|
|
72 |
|
2001-09-10 Bernhard Herzog <[email protected]> |
73 |
|
|
74 |
|
* Thuban/UI/mainwindow.py (MainWindow.IdentifyTool): Popup the |
75 |
|
identify view immediately |
76 |
|
|
77 |
|
* Thuban/UI/controls.py: New file with two classes RecordListCtrl |
78 |
|
and SelectableRecordListCtrl that implement the code shared by the |
79 |
|
identify view and the label dialog |
80 |
|
|
81 |
|
* Thuban/UI/identifyview.py (IdentifyListCtrl): Derive from the |
82 |
|
new class RecordListCtrl |
83 |
|
|
84 |
|
* Thuban/UI/labeldialog.py (LabelDialog.OnOK): Check whether the |
85 |
|
return value of GetValue is None instead of using it as a boolean |
86 |
|
directly so that Zero numbers are handled properly. |
87 |
|
(LabelListCtrl): Derive from the new class |
88 |
|
SelectableRecordListCtrl |
89 |
|
|
90 |
|
* Thuban/UI/proj4dialog.py (Proj4Dialog.__init__): |
91 |
|
(Proj4Dialog.dialogLayout): Make the window resizable and set the |
92 |
|
size of the text control explicitly to make the sizers work on |
93 |
|
both Windows and X. |
94 |
|
|
95 |
|
2001-09-07 Bernhard Herzog <[email protected]> |
96 |
|
|
97 |
|
* Thuban/UI/view.py (MapCanvas.find_shape_at):Add a new parameter |
98 |
|
that can limit the search to the currently selected layer. |
99 |
|
(MapCanvas.SelectShapeAt): Make sure that the currently selected |
100 |
|
layer stays selected even when no shape is found |
101 |
|
(MapCanvas.FitRectToWindow): If the rect has zero with or zero |
102 |
|
height do nothing (avoids zero division errors) |
103 |
|
|
104 |
2001-09-06 Bernhard Herzog <[email protected]> |
2001-09-06 Bernhard Herzog <[email protected]> |
105 |
|
|
106 |
|
* Thuban/UI/tree.py (SessionTreeCtrl, SessionTreeView.__init__): |
107 |
|
Correct the spelling of SessionTreeCtrl. dabbrev is too damn |
108 |
|
convenient :-) |
109 |
|
(SessionTreeCtrl.__init__, SessionTreeCtrl.update_tree): Introduce |
110 |
|
a new instvar layer_to_item to map layers to tree items |
111 |
|
(SessionTreeCtrl.layer_selected): Select the appropriate tree item |
112 |
|
to match the current selection in the interactor |
113 |
|
|
114 |
|
* Thuban/UI/interactor.py (Interactor.SelectedLayer): |
115 |
|
(Interactor.HasSelectedLayer): New methods to query the current |
116 |
|
selection |
117 |
|
|
118 |
|
* Thuban/UI/mainwindow.py (MainWindow.current_layer): |
119 |
|
(MainWindow.has_selected_layer): Simply call the appropriate |
120 |
|
interactor method |
121 |
|
|
122 |
|
* Thuban/UI/mainwindow.py (MainWindow.__init__): |
123 |
|
(MainWindow.LayerShowTable): |
124 |
|
(MainWindow.identify_view_on_demand): Store the interactor in an |
125 |
|
instvar and use that reference instead of going through main.app |
126 |
|
|
127 |
|
* Thuban/UI/mainwindow.py (MainWindow.ShowSessionTree): |
128 |
|
* Thuban/UI/application.py (ThubanApplication.OnInit): |
129 |
|
* Thuban/UI/main.py (main): Create the session tree view in main |
130 |
|
with the new mainwindow method ShowSessionTree and not directly |
131 |
|
the application's OnInit method |
132 |
|
|
133 |
|
* Thuban/UI/tree.py (myTreeCtrlPanel): |
134 |
|
(SessioinTreeCtrl): Rename to SessioinTreeCtrl and turn it into a |
135 |
|
TreeCtrl isntead of a panel. This affects most method since we now |
136 |
|
refer to self instead of self.tree |
137 |
|
(SessionTreeView): New class implementing a non-modal dialog |
138 |
|
showing the session tree. |
139 |
|
|
140 |
* Thuban/UI/mainwindow.py (MainWindow.LayerShowTable): Pass the |
* Thuban/UI/mainwindow.py (MainWindow.LayerShowTable): Pass the |
141 |
layer to the tableview dialog. |
layer to the tableview dialog. |
142 |
|
|