1 |
|
2004-12-15 Bernhard Herzog <[email protected]> |
2 |
|
|
3 |
|
* test/postgissupport.py (PostgreSQLServer.is_running): Fix typo |
4 |
|
in the doc string and rephrase it a little. |
5 |
|
|
6 |
|
2004-12-15 Frank Koormann <[email protected]> |
7 |
|
|
8 |
|
* test/test_load.py (TestAltPath.checkSession): New, extended checks if |
9 |
|
session has been loaded successfully. The check is called by the relevant |
10 |
|
tests after executing load_session(). |
11 |
|
|
12 |
|
2004-12-13 Bernhard Herzog <[email protected]> |
13 |
|
|
14 |
|
Make sure the region used to determine which shapes are visible |
15 |
|
actually matches the region on the printed page. If this isn't |
16 |
|
done properly some shapes might not be printed. |
17 |
|
Fixes RT #2692 |
18 |
|
|
19 |
|
* Thuban/UI/view.py (MapPrintout.draw_on_dc): The region for the |
20 |
|
renderer has to be at the same position as the mapregion |
21 |
|
|
22 |
|
* Thuban/UI/renderer.py (ExportRenderer.RenderMap): self.region |
23 |
|
has to be moved by (self.shiftx, self.shifty) too. |
24 |
|
|
25 |
|
2004-12-13 Bernhard Herzog <[email protected]> |
26 |
|
|
27 |
|
* libraries/pyprojection/Projection.i: Work around a bug in the |
28 |
|
generated python code which leads to exception in the __del__ |
29 |
|
method when the constructor fails. See the comments in the code |
30 |
|
for more details. |
31 |
|
|
32 |
|
* libraries/pyprojection/Projection.py: Updated from Projection.i |
33 |
|
with SWIG. |
34 |
|
|
35 |
|
2004-12-13 Bernhard Herzog <[email protected]> |
36 |
|
|
37 |
|
* test/test_load.py (TestAltPath.test_01_single_path_error_fix) |
38 |
|
(TestAltPath.test_02_path_error_fix_from_list) |
39 |
|
(TestAltPath.test_05_path_error_fix_from_list_changed) |
40 |
|
(TestAltPath.test_06_path_error_fix_from_list_fails): self.session |
41 |
|
is destroyed in tearDown, so there's no need to do it in a test |
42 |
|
case. |
43 |
|
|
44 |
|
* Thuban/Model/load.py (SessionLoader.open_shapefile): Remove a |
45 |
|
debug print |
46 |
|
|
47 |
|
2004-12-13 Bernhard Herzog <[email protected]> |
48 |
|
|
49 |
|
* Extensions/svgexport/test/test_svgmapwriter.py |
50 |
|
(TestDrawSplines.setUp): Do not use super with the unittest |
51 |
|
classes because in Python 2.2 they're still old-style classes. |
52 |
|
|
53 |
|
2004-12-13 Frank Koormann <[email protected]> |
54 |
|
|
55 |
|
Alternative Path feature: When loading a (moved) session where |
56 |
|
shapefiles cannot be found, ask the user. Use the specified path |
57 |
|
if further shapefiles are missing. However, ask the usr for confirmation |
58 |
|
in such cases. |
59 |
|
|
60 |
|
* test/test_load.py (TestAltPath): New, tests for alternative path feature |
61 |
|
in load_session() |
62 |
|
(Shapefile_CallBack): Helper, implements controllable callback. |
63 |
|
|
64 |
|
* Thuban/UI/application.py (ThubanApplication.OnInit): |
65 |
|
Added "alt_path" to self.path |
66 |
|
(ThubanApplication.OpenSession): Added shapefile_callback as second |
67 |
|
callback similar to db_connection_callback. |
68 |
|
(ThubanApplication.run_alt_path_dialog): New, implementaion of |
69 |
|
shapefile_callback. In addition to raising the dialog the control of |
70 |
|
self.path('alt_path') is implemented here. |
71 |
|
|
72 |
|
* Thuban/Model/load.py (SessionLoader.__init__): Added shapefile_callback. |
73 |
|
(SessionLoader.open_shapefile): Open shapefile, eventually with |
74 |
|
alternative path. This wrapps the "theSession.OpenShapefile(filename)" |
75 |
|
formerly used in start_fileshapesource()/start_layer(). |
76 |
|
(SessionLoader.start_fileshapesource): Call open_shapefile(). |
77 |
|
(SessionLoader.start_layer): Call open_shapefile(). |
78 |
|
(load_session): Added shapefile_callback. |
79 |
|
|
80 |
|
* Thuban/UI/altpathdialog.py: New, implements dialogs for alternative path |
81 |
|
feature (search / check). |
82 |
|
|
83 |
|
* Doc/manual/thuban-manual.xml: Added documentation of new feature. |
84 |
|
|
85 |
|
2004-12-11 Bernhard Reiter <[email protected]> |
86 |
|
|
87 |
|
svgexport 0.9.2: Point size supports for maps. |
88 |
|
|
89 |
|
* Extensions/svgexport/svgmapwriter.py: Added import of SHAPETYPE_POINT |
90 |
|
(def draw_point_shape): new parameter size defaults to 2 as before. |
91 |
|
(draw_shape_layer_incrementally): Moved draw_func log line higher. |
92 |
|
Added draw_func call with size when dealing with a point layer. |
93 |
|
|
94 |
|
* Extensions/svgexport/__init__.py: bumped version to 0.9.2. |
95 |
|
|
96 |
|
2004-12-11 Bernhard Reiter <[email protected]> |
97 |
|
|
98 |
|
Made sure that newlines are inserted in the svg path d attributes |
99 |
|
to raise the chance that the line length will be below 255 characters, |
100 |
|
as recommended by REC SVG 1.1 in section 8.3.1. |
101 |
|
|
102 |
|
* Extensions/svgexport/svgmapwriter.py(DrawPolygon): |
103 |
|
Adding \n before L's and changed whitespace handling. |
104 |
|
|
105 |
|
* Extensions/svgexport/test/test_svgmapwriter.py: |
106 |
|
Adapted tests to new whitespace handling of DrawPolygon. |
107 |
|
|
108 |
|
2004-12-11 Bernhard Reiter <[email protected]> |
109 |
|
|
110 |
|
* Doc/technotes/coding_guidelines.txt: easy typo fixed. |
111 |
|
|
112 |
|
* Extensions/svgexport/test/test_svgmapwriter.py: |
113 |
|
Removed test_drawbezier in favour of new test_drawspline3 and |
114 |
|
test_drawspline4 within new class TestDrawSplines(TestVirtualDC). |
115 |
|
All only to test DrawSpline. |
116 |
|
|
117 |
|
* Extensions/svgexport/svgmapwriter.py(DrawSpline): |
118 |
|
New implementation now really using the strange algorithm of |
119 |
|
xfig 3.1's approximated splines and its conversion to postscript |
120 |
|
with one twist: SVG can do quadratic beziers, so skipped translation |
121 |
|
to cubic beziers. |
122 |
|
(TestWithDC): Typo in comment fixed. |
123 |
|
|
124 |
|
2004-12-09 Martin Schulze <[email protected]> |
125 |
|
|
126 |
|
* Thuban/Model/classgen.py: Added missing character encoding |
127 |
|
|
128 |
|
* Extensions/wms/properties.py (OpenWMSProperties): removed |
129 |
|
|
130 |
|
* Extensions/wms/parser.py (WMSCapabilitiesParser.error): Dropped |
131 |
|
support for get_srs_discrepancies() since there are no |
132 |
|
discrepancies anymore (was a thinko) |
133 |
|
|
134 |
|
* Extensions/wms/layer.py (WMSLayer.GetMapImg): Improved graphic |
135 |
|
format priority now that more formats are supported globally by |
136 |
|
the render engine. |
137 |
|
|
138 |
|
2004-12-08 Silke Reimer <[email protected]> |
139 |
|
* Extensions/ogr/ogrshapes.py: Substituted ogr-method CloseRings |
140 |
|
because it is not available in all versions of ogr |
141 |
|
|
142 |
|
2004-12-08 Bernhard Reiter <[email protected]> |
143 |
|
* Extensions/ogr/__init__.py: Added empty __init__.py to heal |
144 |
|
global tests until a real one is commited. |
145 |
|
|
146 |
|
2004-12-07 Nina H�ffmeyer <[email protected]> |
147 |
|
|
148 |
|
* /Extensions/ogr/: Adding a new extension to read shapefiles with |
149 |
|
ogr. It is planned to add other vector formats. |
150 |
|
|
151 |
|
* /test/runtests.py: Adding tests from /Extensions/ogr/test/. |
152 |
|
|
153 |
|
2004-12-07 Jan-Oliver Wagner <[email protected]> |
154 |
|
|
155 |
|
* /Extensions/svgexport/test/test_svgmapwriter.py: Reverting |
156 |
|
part of a (non-)fix to renable that the tests are always |
157 |
|
executed. |
158 |
|
|
159 |
|
2004-12-07 Bernhard Reiter <[email protected]> |
160 |
|
|
161 |
|
* Extensions/svgexport/test/test_svgmapwriter.py: |
162 |
|
Added test_drawbezier() to test DrawSpline(). |
163 |
|
|
164 |
|
* Extensions/svgexport/svgmapwriter.py(DrawSpline): |
165 |
|
Really implemented bezier drawing. |
166 |
|
|
167 |
|
* Extensions/svgexport/__init__.py: Bumped version of svgexport |
168 |
|
to 0.9.1 because now the legend examples lines styles |
169 |
|
will be drawing with beziers. |
170 |
|
|
171 |
|
2004-12-05 Martin Schulze <[email protected]> |
172 |
|
|
173 |
|
* Thuban/UI/renderer.py (raster_format_map): Added PNG, TIFF and |
174 |
|
GIF as supported bitmap image formats (helpful for the WMS extension) |
175 |
|
|
176 |
|
2004-11-30 Martin Schulze <[email protected]> |
177 |
|
|
178 |
|
* Extensions/wms/test/test_ogclib.py (TestOGCLib.test_compareURLs): |
179 |
|
Improved the test for the internal compare method |
180 |
|
|
181 |
|
2004-11-27 Jan-Oliver Wagner <[email protected]> |
182 |
|
|
183 |
|
* Thuban/UI/about.py (About.__init__): Added |
184 |
|
Norbert Solymosi for hungarian translation and Ole Rahn |
185 |
|
as contrbutor. Moved Bernhard Reiter from Contributor |
186 |
|
to Developer. |
187 |
|
|
188 |
|
2004-11-27 Bernhard Reiter <[email protected]> |
189 |
|
|
190 |
|
* Extensions/svgexport/test/test_svgmapwriter.py: |
191 |
|
Removed Jan from author list as he did not change enough significant |
192 |
|
lines yet. |
193 |
|
|
194 |
|
* Extensions/svgexport/__init__.py: Added Bernhard as author |
195 |
|
of the Extension. |
196 |
|
|
197 |
|
2004-11-27 Jan-Oliver Wagner <[email protected]> |
198 |
|
|
199 |
|
* po/hu.po: New. Hungarian translation. Contributed |
200 |
|
by Norbert Solymosi. |
201 |
|
|
202 |
|
2004-11-26 Bernhard Herzog <[email protected]> |
203 |
|
|
204 |
|
* Extensions/svgexport/test/test_svgmapwriter.py |
205 |
|
(Testobjectexport.test_transparent_polygon): Commented out some |
206 |
|
debug prints |
207 |
|
|
208 |
|
2004-11-24 Jan-Oliver Wagner <[email protected]> |
209 |
|
|
210 |
|
Fix broken tests for svg extension and added svg legend |
211 |
|
to Experimental menu. |
212 |
|
|
213 |
|
* Extensions/svgexport/test/test_svgmapwriter.py: Fix to have |
214 |
|
the test run correctly even if the extension is a package. |
215 |
|
Also removed the "import Thuban" which makes no sense. |
216 |
|
|
217 |
|
* Extensions/svgexport/__init__.py: Fix to have the extensions' |
218 |
|
test module also be executed from the global test routine. |
219 |
|
This is done by looking for the absense of the DISPLAY variable. |
220 |
|
|
221 |
|
* Extensions/svgexport/maplegend.py: Moved the menu entry from Extensions |
222 |
|
to Experimental menu since this module has yet not reached a stable |
223 |
|
status (ie. 1.0). |
224 |
|
|
225 |
|
2004-11-22 Bernhard Reiter <[email protected]> |
226 |
|
|
227 |
|
* Extensions/svgexport/svgmapwriter.py: |
228 |
|
Added verbose variable and some logging depending on it. |
229 |
|
(class VirtualDC(XMLWriter)): Minor improvement in the polygon loop, |
230 |
|
because counting i is not necessary. |
231 |
|
(class Pen, class Brush): Added simple __str__ methods. |
232 |
|
(SVGRenderer.draw_polygone_shape): Fix #2698 (transparent polygons are |
233 |
|
not exported to svg file) Note: holes still unhandled. |
234 |
|
|
235 |
|
* Extensions/svgexport/test/test_svgmapwriter.py: |
236 |
|
Made a baseclass TestWithDC for test needed a DC. |
237 |
|
Added tests for bug #2698 (transparent polygons are not |
238 |
|
exported to svg file): |
239 |
|
Testobjectexport.test_transparent_polygon() |
240 |
|
|
241 |
|
* Thuban/Model/base.py (UnsetModified): |
242 |
|
Fixed some typos in docstring. |
243 |
|
|
244 |
|
* Thuban/UI/baserenderer.py (BaseRenderer.draw_polygon_shape()): |
245 |
|
Added hints on the used algorithm for handling holes. |
246 |
|
|
247 |
|
2004-11-20 Jan-Oliver Wagner <[email protected]> |
248 |
|
|
249 |
|
Some face lifting for the examples. |
250 |
|
|
251 |
|
* Examples/__init__.py: Make this directory a package. |
252 |
|
|
253 |
|
* Examples/simple_extensions/__init__.py: Make this directory a package. |
254 |
|
|
255 |
|
* Examples/simple_extensions/hello_world.py: Moved entry from Extensions |
256 |
|
menu to Examples menu. |
257 |
|
|
258 |
|
* Examples/simple_extensions/simple_command.py: Some more comments, |
259 |
|
minor changes. |
260 |
|
|
261 |
|
* Examples/simple_extensions/simple_tool.py: Minor changes. |
262 |
|
|
263 |
|
2004-11-20 Jan-Oliver Wagner <[email protected]> |
264 |
|
|
265 |
|
Changed way of extension registry for wms and added extension |
266 |
|
registry for umn_mapserver extension. |
267 |
|
|
268 |
|
* Extensions/wms/__init__.py: Added registry entry and the importing |
269 |
|
of the actual wms module. Included a test for the required PyOGCLib. |
270 |
|
|
271 |
|
* Extensions/wms/wms.py: Removed registry entry (moved to __init__.py). |
272 |
|
|
273 |
|
* Extensions/umn_mapserver/__init__.py: Added registry entry and the |
274 |
|
importing of the actual umn mapserver management modules. |
275 |
|
Included a test for the required Python MapScript. |
276 |
|
|
277 |
|
2004-11-20 Jan-Oliver Wagner <[email protected]> |
278 |
|
|
279 |
|
Changed way of extension registry for importAPR, bboxdump |
280 |
|
and added extension registry for svgexport.extension registry for |
281 |
|
svgexport. |
282 |
|
|
283 |
|
* Extensions/importAPR/__init__.py: Added registry entry and the importing |
284 |
|
of the actual importAPR module. |
285 |
|
|
286 |
|
* Extensions/importAPR/importAPR.py: Removed registry entry (moved to |
287 |
|
__init__.py). |
288 |
|
|
289 |
|
* Extensions/bboxdump/__init__.py: Added registry entry and the importing |
290 |
|
����of the actual bboxdump module. |
291 |
|
|
292 |
|
* Extensions/bboxdump/bboxdump.py: Removed registry entry (moved to |
293 |
|
����__init__.py). |
294 |
|
|
295 |
|
* Extensions/svgexport/__init__.py: Added registry entry and the importing |
296 |
|
of the svgsaver module. |
297 |
|
|
298 |
|
* Extensions/svgexport/svgsaver.py: Moved the menu entry from Extensions |
299 |
|
to Experimental menu since this module has yet not reached a stable |
300 |
|
status (ie. 1.0). |
301 |
|
|
302 |
|
2004-11-18 Jan-Oliver Wagner <[email protected]> |
303 |
|
|
304 |
|
Now the hit test considers the size of point symbols. |
305 |
|
|
306 |
|
* Thuban/UI/viewport.py (ViewPort._hit_point): Added optional parameter |
307 |
|
'size' defaulting to the previously fixed value 5. |
308 |
|
Extended doc-string. |
309 |
|
(Viewport._find_shape_in_layer): Resolved FIXME regarding flexibility |
310 |
|
for symbols. |
311 |
|
Now the size of the largest point symbol is determined to find out |
312 |
|
about whether the point has been hit. |
313 |
|
This fixes the problem that only clicks inside a fixed distance of |
314 |
|
5 where found. |
315 |
|
|
316 |
|
2004-11-17 Jan-Oliver Wagner <[email protected]> |
317 |
|
|
318 |
|
Another open issue fixed regarding sizeable symbols: correct rendering of |
319 |
|
selected symbols. |
320 |
|
|
321 |
|
* Thuban/UI/renderer.py (ScreenRenderer.draw_selection_incrementally): |
322 |
|
Added consideration of the specific size of point symbols. |
323 |
|
The property for each point symbol is retrieved and the size applied |
324 |
|
for the rendering method. |
325 |
|
Added doc-string. |
326 |
|
|
327 |
|
2004-11-16 Jan-Oliver Wagner <[email protected]> |
328 |
|
|
329 |
|
Changed way of Extension Registry for gns2shp and profiling. |
330 |
|
|
331 |
|
* Extensions/gns2shp/gns2shp.py: Removed registry entry (moved to |
332 |
|
__init__.py). |
333 |
|
|
334 |
|
* Extensions/gns2shp/__init__.py: Added registry entry and the importing |
335 |
|
of the actual gns2shp module. |
336 |
|
|
337 |
|
* Extensions/profiling/profiling.py: Removed registry entry (moved to |
338 |
|
__init__.py). |
339 |
|
|
340 |
|
* Extensions/profiling/__init__.py: Added registry entry and the importing |
341 |
|
of the actual profiling module. |
342 |
|
|
343 |
|
2004-10-28 Bernhard Reiter <[email protected]> |
344 |
|
|
345 |
|
* Extensions/svgexport/: Minor improvements to doc strings. |
346 |
|
|
347 |
|
2004-10-07 Jan-Oliver Wagner <[email protected]> |
348 |
|
|
349 |
|
Further elements for sizable point objects now |
350 |
|
making this feature usable though not yet complete. |
351 |
|
|
352 |
|
* Thuban/Model/save.py (SessionSaver.write_classification): Write |
353 |
|
attribute 'size' for cldata when the shape layer is of point type. |
354 |
|
This also now make the test_load.py tests happy. |
355 |
|
|
356 |
|
* Thuban/Model/classgen.py (CustomRamp.GetProperties): Added size |
357 |
|
gradient. |
358 |
|
|
359 |
|
* Thuban/UI/classifier.py (ID_SELPROP_SPINCTRL): Renamed to |
360 |
|
ID_SELPROP_SPINCTRL_LINEWIDTH. |
361 |
|
(ID_SELPROP_SPINCTRL_LINEWIDTH): New Id replaces ID_SELPROP_SPINCTRL. |
362 |
|
(ID_SELPROP_SPINCTRL_SIZE): New Id. |
363 |
|
(SelectPropertiesDialog.__init__): Added a second spin control |
364 |
|
for the size in case the corresponding layer is of point type. |
365 |
|
(SelectPropertiesDialog._OnSpin): Renamed to _OnSpinLineWidth. |
366 |
|
(SelectPropertiesDialog._OnSpinLineWidth): New. Former _OnSpin. |
367 |
|
(SelectPropertiesDialog._OnSpinSize): New. Set size of property |
368 |
|
and refresh preview. |
369 |
|
|
370 |
|
|
371 |
|
|
372 |
|
2004-10-04 Martin Schulze <[email protected]> |
373 |
|
|
374 |
|
* Extensions/wms/test/test_parser.py |
375 |
|
(TestWMSCapabilitiesParser.test_compareLists): Added missing |
376 |
|
self-test for compareLists() |
377 |
|
(TestWMSCapabilitiesParser.test_compareDicts): Added missing |
378 |
|
self-test for compareDicts() |
379 |
|
(TestWMSCapabilitiesParser.test_compareLists): Adding more tests |
380 |
|
to verify the test routine fails with non-equal arguments |
381 |
|
(TestWMSCapabilitiesParser.test_compareDicts): Adding more tests |
382 |
|
to verify the test routine fails with non-equal arguments |
383 |
|
|
384 |
|
2004-10-03 Jan-Oliver Wagner <[email protected]> |
385 |
|
|
386 |
|
First elements for sizeable point objects. |
387 |
|
|
388 |
|
* Resources/XML/thuban-1.1.dtd: Added size attribute to cldata. |
389 |
|
|
390 |
|
* Data/iceland_sample_size.thuban: New. Sample for sized point objects. |
391 |
|
|
392 |
|
* test/test_load.py (ClassificationTest.TestLayers): Added SetSize in case |
393 |
|
of a corresponding argument is given. |
394 |
|
(TestSymbolSize): New. Test the size attribute of cldata. |
395 |
|
|
396 |
|
* Thuban/Model/classification.py: Removed some trailing whitespaces. |
397 |
|
(ClassGroupProperties.__init__): Set default size. |
398 |
|
(ClassGroupProperties.SetProperties): Set the size. |
399 |
|
(ClassGroupProperties.GetSize): New. Return the size. |
400 |
|
(ClassGroupProperties.SetSize): New. Set the size. |
401 |
|
(ClassGroupProperties__eq__): Compare also size. |
402 |
|
(ClassGroupProperties__repr__): Print also size. |
403 |
|
|
404 |
|
* Thuban/Model/load.py (SessionLoader.start_cldata): Also parse |
405 |
|
the size attribute. |
406 |
|
|
407 |
|
* Thuban/UI/classifier.py (ClassDataPreviewer.Draw): Added doc-string. |
408 |
|
Also, now there is a return value that indicates whether the drawing |
409 |
|
size exceeded the given rect extent and if so the new extent. |
410 |
|
Finally, point objects are drawn depending on the size. If either |
411 |
|
the width or height is exceeded, the new extent is returned. |
412 |
|
(ClassRenderer.Draw): Now when calling the previewer drawing function, |
413 |
|
evaluate the return value and, if not None, adapt the grid widget size |
414 |
|
accordingly and redraw again. |
415 |
|
|
416 |
|
* Thuban/UI/baserenderer.py (BaseRenderer.draw_shape_layer_incrementally): |
417 |
|
If the draw function is for points, call it with the size as additional |
418 |
|
parameter. |
419 |
|
(BaseRenderer.draw_point_shape): Added additional, optional parameter for |
420 |
|
the size. Compute the radius using the size. |
421 |
|
|
422 |
|
* Extensions/importAPR/apr.py (APR_BMkSym.GetThubanProp): Now |
423 |
|
that Thuban supports size, apply this correctly. |
424 |
|
|
425 |
|
* Extensions/importAPR/importAPR.py: Bumped version to 0.1.1. |
426 |
|
|
427 |
|
2004-10-03 Jan-Oliver Wagner <[email protected]> |
428 |
|
|
429 |
|
* Doc/manual/thuban-manual-de.xml: Started translation of |
430 |
|
Map chapter. |
431 |
|
|
432 |
|
2004-10-01 Martin Schulze <[email protected]> |
433 |
|
|
434 |
|
* Extensions/wms/properties.py (wmsProperties.__init__): Extended |
435 |
|
argument for general use through properties-dialog selector |
436 |
|
|
437 |
|
* Thuban/UI/classifier.py: Register properties dialog classes for |
438 |
|
both provided layer classes/types. |
439 |
|
|
440 |
|
* Thuban/UI/mainwindow.py (MainWindow.OpenLayerProperties): The |
441 |
|
map can be retrieved through the parent which is passed to the |
442 |
|
constructor anyway and doesn't require an argument of its own, |
443 |
|
required for the unification of arguments for general use through |
444 |
|
properties-dialog selector. |
445 |
|
(MainWindow.OpenOrRaiseDialog): Move the logic for checking |
446 |
|
whether a dialog is already opened (and raising it to the users |
447 |
|
attention) and creating a new dialog into a function of its own |
448 |
|
(MainWindow.OpenLayerProperties): Use the new OpenOrRaiseDialog() |
449 |
|
method |
450 |
|
(MainWindow.OpenLayerProperties): Utilise the new ClassMapper for |
451 |
|
global registration of properties dialog classes (which are indeed |
452 |
|
layer-specific). |
453 |
|
|
454 |
|
* Thuban/UI/classifier.py (Classifier.__init__): Unify arguments |
455 |
|
for general use through properties-dialog selector, the map can be |
456 |
|
retrieved through the parent and doesn't require an argument of |
457 |
|
its own. |
458 |
|
|
459 |
|
* Extensions/wms/wms.py: Register the properties dialog class for |
460 |
|
the provided WMS layer |
461 |
|
|
462 |
|
2004-09-28 Jan-Oliver Wagner <[email protected]> |
463 |
|
|
464 |
|
New feature: Registry for Extensions. |
465 |
|
|
466 |
|
* Thuban/UI/extensionregistry.py: This module defines a registry for |
467 |
|
Extensions. |
468 |
|
|
469 |
|
* Thuban/UI/about.py (About.__init__): Added description |
470 |
|
of the registered extensions with all of the information. |
471 |
|
|
472 |
|
* Thuban/Model/extension.py (Extension): Improved doc-string. |
473 |
|
|
474 |
|
* Extensions/gns2shp/gns2shp.py, Extensions/importAPR/importAPR.py, |
475 |
|
Extensions/bboxdump/bboxdump.py, Extensions/profiling/profiling.py, |
476 |
|
Extensions/wms/wms.py: Added registration of the extension. |
477 |
|
|
478 |
|
2004-09-27 Bernhard Reiter <[email protected]> |
479 |
|
|
480 |
|
More fixes to svgexport to make used ids unique and |
481 |
|
conforming to XML's Name production. |
482 |
|
|
483 |
|
* Extensions/svgexport/test/test_svgmapwriter.py: Added new tests |
484 |
|
test_xml_id_constraints(), test_make_ide_nosetbaseid() and |
485 |
|
test_make_id_nonintegersetid(). Switched SetID and SetBaseID. |
486 |
|
Added Bernhard R. as author. |
487 |
|
* Extensions/svgexport/svgmapwriter.py (make_id): Using "_" as |
488 |
|
concatenation char now (makes test_make_ide_nosetbaseid() valid). |
489 |
|
Also transform second id part with "%d" and catch the TypeError |
490 |
|
to raise SVGMapWriterError (making test_make_id_nonintegersetid() ok). |
491 |
|
Corrected typo inBernhard's author line. |
492 |
|
(SetBaseID): Return the transformed base id. Transform characters |
493 |
|
which are not alnum() or in ".-_" to binascii.b2a_hex(). Added |
494 |
|
import binascii. If to be set string starts with "xml" or so, add "t". |
495 |
|
(draw_shape_layer_incrementally): use the returned value of SetBaseID |
496 |
|
for used_baseids checks. |
497 |
|
|
498 |
|
2004-09-25 Bernhard Herzog <[email protected]> |
499 |
|
|
500 |
|
* test/test_layer.py (TestLayer.test_arc_layer_with_projection): |
501 |
|
Remove a debug print and some tab characters. |
502 |
|
|
503 |
|
2004-09-25 Bernhard Reiter <[email protected]> |
504 |
|
|
505 |
|
* Extensions/svgexport/svgmapwriter.py: Added Bernhard R. as Author. |
506 |
|
(SetBaseID, SetID, make_id): Improved docstring comments to explain |
507 |
|
the interaction of the three functions and the XML id contrains. |
508 |
|
|
509 |
|
|
510 |
|
2004-09-23 Jan-Oliver Wagner <[email protected]> |
511 |
|
|
512 |
|
* Doc/ThubanModel.xmi: New. UML file for Thuban Model |
513 |
|
Module. |
514 |
|
|
515 |
|
* Doc/README: Added info on ThubanModel.xmi. |
516 |
|
|
517 |
|
2004-09-23 Jan-Oliver Wagner <[email protected]> |
518 |
|
|
519 |
|
* Doc/README: New. Some info about how to generate technical |
520 |
|
documentation from the source code. |
521 |
|
This text was send to the Thuban developer mailing list on |
522 |
|
September 21st 2004 by Bernhard Reiter. |
523 |
|
|
524 |
|
2004-09-21 Bernhard Reiter <[email protected]> |
525 |
|
|
526 |
|
Improved the svgexport to only use unique ids. Will issues |
527 |
|
an error message dialoge when two layer names are the same. |
528 |
|
ShapeIDs are now added with a dash within the svg ids. |
529 |
|
|
530 |
|
* Extensions/svgexport/svgmapwriter.py (SVGMapWriterError): New. |
531 |
|
* Extensions/svgexport/test/test_svgmapwriter.py: Added imports |
532 |
|
(TestSVGRenderer): New test class with test_make_in() and |
533 |
|
test_check_for_layer_name_clash() |
534 |
|
* Extensions/svgexport/svgmapwriter.py (SVGRenderer): Fixed __init__() |
535 |
|
and draw_shape_layer_incrementally() to not use a baseid twice, |
536 |
|
satisfying test_check_for_layer_name_clash() |
537 |
|
(VirtualDC.make_id): Use a dash between baseit and id, satisfies |
538 |
|
test_make_in(). |
539 |
|
* Extensions/svexport/svgsaver.py: Import SVGMapWriterError, wxOK |
540 |
|
and wxICON_HAND. |
541 |
|
(write_to_svg): Put dc and rendering in a try statement and on |
542 |
|
catching SVGmapWriterError notify the user and delete the target file. |
543 |
|
|
544 |
2004-09-20 Bernhard Reiter <[email protected]> |
2004-09-20 Bernhard Reiter <[email protected]> |
545 |
|
|
546 |
* Model/base.by, Model/layer.py: Fixed typos in docstrings. |
* Model/base.by, Model/layer.py: Fixed typos in docstrings. |