bernhard: thuban ChangeLog,1.688,1.689

cvs@intevation.de cvs at intevation.de
Tue Sep 21 23:30:38 CEST 2004


Author: bernhard

Update of /thubanrepository/thuban
In directory doto:/tmp/cvs-serv28184

Modified Files:
	ChangeLog 
Log Message:
Improved the svgexport to only use unique ids. Will issues 
an error message dialoge when two layer names are the same.
ShapeIDs are now added with a dash within the svg ids.

* Extensions/svgexport/svgmapwriter.py (SVGMapWriterError): New.
* Extensions/svgexport/test/test_svgmapwriter.py: Added imports
(TestSVGRenderer): New test class with test_make_in() and
test_check_for_layer_name_clash()
* Extensions/svgexport/svgmapwriter.py (SVGRenderer): Fixed __init__()
and draw_shape_layer_incrementally() to not use a baseid twice, 
satisfying test_check_for_layer_name_clash()
(VirtualDC.make_id): Use a dash between baseit and id, satisfies
test_make_in().
* Extensions/svexport/svgsaver.py: Import SVGMapWriterError, wxOK
and wxICON_HAND. 
(write_to_svg): Put dc and rendering in a try statement and on
catching SVGmapWriterError notify the user and delete the target file.
-------------------------------------------------------------------


Index: ChangeLog
===================================================================
RCS file: /thubanrepository/thuban/ChangeLog,v
retrieving revision 1.688
retrieving revision 1.689
diff -u -d -r1.688 -r1.689
--- ChangeLog	20 Sep 2004 08:13:32 -0000	1.688
+++ ChangeLog	21 Sep 2004 21:30:36 -0000	1.689
@@ -1,3 +1,23 @@
+2004-09-21  Bernhard Reiter <bernhard at intevation.de>
+
+	Improved the svgexport to only use unique ids. Will issues 
+	an error message dialoge when two layer names are the same.
+	ShapeIDs are now added with a dash within the svg ids.
+
+	* Extensions/svgexport/svgmapwriter.py (SVGMapWriterError): New.
+	* Extensions/svgexport/test/test_svgmapwriter.py: Added imports
+	(TestSVGRenderer): New test class with test_make_in() and
+	test_check_for_layer_name_clash()
+	* Extensions/svgexport/svgmapwriter.py (SVGRenderer): Fixed __init__()
+	and draw_shape_layer_incrementally() to not use a baseid twice, 
+	satisfying test_check_for_layer_name_clash()
+	(VirtualDC.make_id): Use a dash between baseit and id, satisfies
+	test_make_in().
+	* Extensions/svexport/svgsaver.py: Import SVGMapWriterError, wxOK
+	and wxICON_HAND. 
+	(write_to_svg): Put dc and rendering in a try statement and on
+	catching SVGmapWriterError notify the user and delete the target file.
+
 2004-09-20  Bernhard Reiter <bernhard at intevation.de>
 
 	* Model/base.by, Model/layer.py: Fixed typos in docstrings.





More information about the Thuban-devel mailing list

This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)