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