1 |
|
2002-04-03 Bernhard Herzog <[email protected]> |
2 |
|
|
3 |
|
* setup.py: Increment version to 0.1.1 |
4 |
|
|
5 |
|
* Thuban/UI/mainwindow.py (MainWindow.__init__): Move the "Add |
6 |
|
Layer" and "Remove Layer" commands from the layer menu to the map |
7 |
|
menu |
8 |
|
|
9 |
|
2002-02-15 Bernhard Herzog <[email protected]> |
10 |
|
|
11 |
|
* Thuban/Model/layer.py (Layer.Shape): list append only takes one |
12 |
|
argument (python <= 1.5.2 erroneously accepted multiuple |
13 |
|
arguments) |
14 |
|
|
15 |
|
2002-02-04 Bernhard Herzog <[email protected]> |
16 |
|
|
17 |
|
* Thuban/UI/identifyview.py (IdentifyGridCtrl): New class to use a |
18 |
|
RecordGrid in the identifyview. |
19 |
|
(IdentifyView.__init__): Use IdentifyGridCtrl instead of |
20 |
|
IdentifyListCtrl. The grid allows editing of the values. |
21 |
|
|
22 |
|
* Thuban/UI/controls.py (RecordTable, RecordGridCtrl): New classes |
23 |
|
implementing a grid for a single row of a thuban table. |
24 |
|
|
25 |
|
* Thuban/UI/view.py (MapCanvas.SelectShapeAt): Search through all |
26 |
|
layers by default. Easier to use than the previous default of only |
27 |
|
searching through the select layer which meant that if no layer |
28 |
|
was selected, you couldn't select a shape. |
29 |
|
|
30 |
|
* Thuban/UI/tableview.py (TableGrid.__init__): Fix typo |
31 |
|
|
32 |
|
* Thuban/UI/renderer.py (MapRenderer.draw_shape_layer): Honour the |
33 |
|
stroke_width attribute |
34 |
|
|
35 |
|
* Thuban/Model/save.py (save_session): Write the new stroke_width |
36 |
|
attribute |
37 |
|
|
38 |
|
* Thuban/Model/load.py (ProcessSession.startElement): Read the |
39 |
|
stroke_width attribute |
40 |
|
|
41 |
|
* Thuban/Model/layer.py (Layer.__init__): New parameter and |
42 |
|
instance variable stroke_width |
43 |
|
(Layer.SetStrokeWidth): Set the stroke_width. |
44 |
|
|
45 |
|
2002-02-01 Bernhard Herzog <[email protected]> |
46 |
|
|
47 |
|
* extensions/thuban/wxproj.cpp (project_points): Fix two |
48 |
|
off-by-one errors in the last loop that joins the various parts |
49 |
|
together. |
50 |
|
|
51 |
|
2002-01-14 Bernhard Herzog <[email protected]> |
52 |
|
|
53 |
|
* setup.py (data_dist.make_distribution): Fix some typos |
54 |
|
|
55 |
|
2001-09-18 Bernhard Herzog <[email protected]> |
56 |
|
|
57 |
|
* README: Slight tweaking in preparation for the 0.1 release |
58 |
|
|
59 |
|
* setup.cfg: Add section for sdist to create both tgz and zip |
60 |
|
archives |
61 |
|
|
62 |
|
* setup.py: increase version number to 0.1 |
63 |
|
(data_dist): New command class for data distribution |
64 |
|
|
65 |
|
|
66 |
|
2001-09-14 Bernhard Herzog <[email protected]> |
67 |
|
|
68 |
|
* Thuban/UI/identifyview.py (IdentifyListCtrl.selected_shape): |
69 |
|
Handle the case of no layer (i.e. layer is None) properly. |
70 |
|
|
71 |
|
* Thuban/UI/proj4dialog.py (UTMDialog.__init__, Proj4Dialog.__init__): |
72 |
|
Set the initial selection of the combo boxes to reflect the |
73 |
|
projection we're starting with in a way that works on windows, |
74 |
|
too. |
75 |
|
|
76 |
|
* Thuban/Lib/connector.py (Connector.print_connections): Print the |
77 |
|
puiblisher's ids in hex to make it easier to compare them to the |
78 |
|
standard repr of python methods |
79 |
|
|
80 |
|
* Thuban/Model/map.py (Map.Destroy): Unsubscribe the label_layer |
81 |
|
messages |
82 |
|
|
83 |
|
2001-09-13 Bernhard Herzog <[email protected]> |
84 |
|
|
85 |
|
* Thuban/UI/tree.py (SessionTreeCtrl.OnSelChanged): Make sure to |
86 |
|
deselect the layer if no layer is selected |
87 |
|
|
88 |
|
* Thuban/UI/view.py (MapCanvas.OnPaint): Only delay drawing to |
89 |
|
idle time when there actually is something to draw. If there's |
90 |
|
nothing to draw simply clear the window |
91 |
|
(MapCanvas.do_redraw): Call dc.EndDrawing and add some comments. |
92 |
|
(MapCanvas.SetMap): force a redraw in all cases because |
93 |
|
FitMapToWindow doesn't always do it. |
94 |
|
(MapCanvas.ZoomFactor): Add an optional parameter, center, to |
95 |
|
specify the point to move into the center of the window |
96 |
|
(ZoomOutTool.MouseUp, ZoomInTool.MouseUp): If the mouse wasn't |
97 |
|
dragged, zoon in/out by a factor of 2 |
98 |
|
(MapCanvas.find_shape_at): Iterate backwards (i.e. with decreasing |
99 |
|
index, i.e. reversed drawing order) so that objects appearing to |
100 |
|
be in from of others are selected first. This is probably mostly |
101 |
|
relevant for point shapes where the symbols used may overlap |
102 |
|
|
103 |
|
* Thuban/Model/session.py (create_empty_session): Unset the |
104 |
|
modified bit before returning it |
105 |
|
|
106 |
|
* Thuban/UI/mainwindow.py (MainWindow.NewSession): Use |
107 |
|
create_empty_session session to create the new, empty session. |
108 |
|
|
109 |
|
* Thuban/UI/mainwindow.py (MainWindow.__init__): Set the size of |
110 |
|
the tool bitmaps. |
111 |
|
(MainWindow.OnClose, MainWindow.save_modified_session): Separate |
112 |
|
the code that asks whether the session should be saved into the |
113 |
|
new method save_modified_session. |
114 |
|
(MainWindow.OpenSession, MainWindow.NewSession): Use the new |
115 |
|
method to save modified session here too. |
116 |
|
|
117 |
|
2001-09-11 Bernhard Herzog <[email protected]> |
118 |
|
|
119 |
|
* setup.py (InnoIconItem): fix typo |
120 |
|
|
121 |
|
(thuban_bdist_inno.run): |
122 |
|
(bdist_inno.run): Move the decision not to create symlinks on |
123 |
|
non-nt platforms to thuban_bdist_inno and do it unconditinally |
124 |
|
since we never want to create the symlinks here |
125 |
|
|
126 |
|
2001-09-10 Bernhard Herzog <[email protected]> |
127 |
|
|
128 |
|
* Thuban/UI/mainwindow.py (MainWindow.IdentifyTool): Popup the |
129 |
|
identify view immediately |
130 |
|
|
131 |
|
* Thuban/UI/controls.py: New file with two classes RecordListCtrl |
132 |
|
and SelectableRecordListCtrl that implement the code shared by the |
133 |
|
identify view and the label dialog |
134 |
|
|
135 |
|
* Thuban/UI/identifyview.py (IdentifyListCtrl): Derive from the |
136 |
|
new class RecordListCtrl |
137 |
|
|
138 |
|
* Thuban/UI/labeldialog.py (LabelDialog.OnOK): Check whether the |
139 |
|
return value of GetValue is None instead of using it as a boolean |
140 |
|
directly so that Zero numbers are handled properly. |
141 |
|
(LabelListCtrl): Derive from the new class |
142 |
|
SelectableRecordListCtrl |
143 |
|
|
144 |
|
* Thuban/UI/proj4dialog.py (Proj4Dialog.__init__): |
145 |
|
(Proj4Dialog.dialogLayout): Make the window resizable and set the |
146 |
|
size of the text control explicitly to make the sizers work on |
147 |
|
both Windows and X. |
148 |
|
|
149 |
|
2001-09-07 Bernhard Herzog <[email protected]> |
150 |
|
|
151 |
|
* Thuban/UI/view.py (MapCanvas.find_shape_at):Add a new parameter |
152 |
|
that can limit the search to the currently selected layer. |
153 |
|
(MapCanvas.SelectShapeAt): Make sure that the currently selected |
154 |
|
layer stays selected even when no shape is found |
155 |
|
(MapCanvas.FitRectToWindow): If the rect has zero with or zero |
156 |
|
height do nothing (avoids zero division errors) |
157 |
|
|
158 |
2001-09-06 Bernhard Herzog <[email protected]> |
2001-09-06 Bernhard Herzog <[email protected]> |
159 |
|
|
160 |
* Thuban/UI/tree.py (SessionTreeCtrl, SessionTreeView.__init__): |
* Thuban/UI/tree.py (SessionTreeCtrl, SessionTreeView.__init__): |