1 |
|
2004-09-27 Bernhard Reiter <[email protected]> |
2 |
|
|
3 |
|
More fixes to svgexport to make used ids unique and |
4 |
|
conforming to XML's Name production. |
5 |
|
|
6 |
|
* Extensions/svgexport/test/test_svgmapwriter.py: Added new tests |
7 |
|
test_xml_id_constraints(), test_make_ide_nosetbaseid() and |
8 |
|
test_make_id_nonintegersetid(). Switched SetID and SetBaseID. |
9 |
|
Added Bernhard R. as author. |
10 |
|
* Extensions/svgexport/svgmapwriter.py (make_id): Using "_" as |
11 |
|
concatenation char now (makes test_make_ide_nosetbaseid() valid). |
12 |
|
Also transform second id part with "%d" and catch the TypeError |
13 |
|
to raise SVGMapWriterError (making test_make_id_nonintegersetid() ok). |
14 |
|
Corrected typo inBernhard's author line. |
15 |
|
(SetBaseID): Return the transformed base id. Transform characters |
16 |
|
which are not alnum() or in ".-_" to binascii.b2a_hex(). Added |
17 |
|
import binascii. If to be set string starts with "xml" or so, add "t". |
18 |
|
(draw_shape_layer_incrementally): use the returned value of SetBaseID |
19 |
|
for used_baseids checks. |
20 |
|
|
21 |
|
2004-09-25 Bernhard Herzog <[email protected]> |
22 |
|
|
23 |
|
* test/test_layer.py (TestLayer.test_arc_layer_with_projection): |
24 |
|
Remove a debug print and some tab characters. |
25 |
|
|
26 |
|
2004-09-25 Bernhard Reiter <[email protected]> |
27 |
|
|
28 |
|
* Extensions/svgexport/svgmapwriter.py: Added Bernhard R. as Author. |
29 |
|
(SetBaseID, SetID, make_id): Improved docstring comments to explain |
30 |
|
the interaction of the three functions and the XML id contrains. |
31 |
|
|
32 |
|
|
33 |
|
2004-09-23 Jan-Oliver Wagner <[email protected]> |
34 |
|
|
35 |
|
* Doc/ThubanModel.xmi: New. UML file for Thuban Model |
36 |
|
Module. |
37 |
|
|
38 |
|
* Doc/README: Added info on ThubanModel.xmi. |
39 |
|
|
40 |
|
2004-09-23 Jan-Oliver Wagner <[email protected]> |
41 |
|
|
42 |
|
* Doc/README: New. Some info about how to generate technical |
43 |
|
documentation from the source code. |
44 |
|
This text was send to the Thuban developer mailing list on |
45 |
|
September 21st 2004 by Bernhard Reiter. |
46 |
|
|
47 |
|
2004-09-21 Bernhard Reiter <[email protected]> |
48 |
|
|
49 |
|
Improved the svgexport to only use unique ids. Will issues |
50 |
|
an error message dialoge when two layer names are the same. |
51 |
|
ShapeIDs are now added with a dash within the svg ids. |
52 |
|
|
53 |
|
* Extensions/svgexport/svgmapwriter.py (SVGMapWriterError): New. |
54 |
|
* Extensions/svgexport/test/test_svgmapwriter.py: Added imports |
55 |
|
(TestSVGRenderer): New test class with test_make_in() and |
56 |
|
test_check_for_layer_name_clash() |
57 |
|
* Extensions/svgexport/svgmapwriter.py (SVGRenderer): Fixed __init__() |
58 |
|
and draw_shape_layer_incrementally() to not use a baseid twice, |
59 |
|
satisfying test_check_for_layer_name_clash() |
60 |
|
(VirtualDC.make_id): Use a dash between baseit and id, satisfies |
61 |
|
test_make_in(). |
62 |
|
* Extensions/svexport/svgsaver.py: Import SVGMapWriterError, wxOK |
63 |
|
and wxICON_HAND. |
64 |
|
(write_to_svg): Put dc and rendering in a try statement and on |
65 |
|
catching SVGmapWriterError notify the user and delete the target file. |
66 |
|
|
67 |
2004-09-20 Bernhard Reiter <[email protected]> |
2004-09-20 Bernhard Reiter <[email protected]> |
68 |
|
|
69 |
* Model/base.by, Model/layer.py: Fixed typos in docstrings. |
* Model/base.by, Model/layer.py: Fixed typos in docstrings. |