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