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