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