1 |
|
2004-12-15 Bernhard Herzog <[email protected]> |
2 |
|
|
3 |
|
* test/postgissupport.py (PostgreSQLServer.execute_sql): Extend to |
4 |
|
so that it returns a result for select statements. |
5 |
|
(PostgreSQLServer.server_version): New. Return the version of the |
6 |
|
server software. |
7 |
|
(PostgreSQLServer.require_authentication): The format of |
8 |
|
pg_hba.conf has changed between PostgrSQL 7.2 and 7.3. Check the |
9 |
|
server version and generate the file in the correct format |
10 |
|
|
11 |
|
2004-12-15 Bernhard Herzog <[email protected]> |
12 |
|
|
13 |
|
* test/postgissupport.py (PostgreSQLServer.is_running): Fix typo |
14 |
|
in the doc string and rephrase it a little. |
15 |
|
|
16 |
|
2004-12-15 Frank Koormann <[email protected]> |
17 |
|
|
18 |
|
* test/test_load.py (TestAltPath.checkSession): New, extended checks if |
19 |
|
session has been loaded successfully. The check is called by the relevant |
20 |
|
tests after executing load_session(). |
21 |
|
|
22 |
|
2004-12-13 Bernhard Herzog <[email protected]> |
23 |
|
|
24 |
|
Make sure the region used to determine which shapes are visible |
25 |
|
actually matches the region on the printed page. If this isn't |
26 |
|
done properly some shapes might not be printed. |
27 |
|
Fixes RT #2692 |
28 |
|
|
29 |
|
* Thuban/UI/view.py (MapPrintout.draw_on_dc): The region for the |
30 |
|
renderer has to be at the same position as the mapregion |
31 |
|
|
32 |
|
* Thuban/UI/renderer.py (ExportRenderer.RenderMap): self.region |
33 |
|
has to be moved by (self.shiftx, self.shifty) too. |
34 |
|
|
35 |
|
2004-12-13 Bernhard Herzog <[email protected]> |
36 |
|
|
37 |
|
* libraries/pyprojection/Projection.i: Work around a bug in the |
38 |
|
generated python code which leads to exception in the __del__ |
39 |
|
method when the constructor fails. See the comments in the code |
40 |
|
for more details. |
41 |
|
|
42 |
|
* libraries/pyprojection/Projection.py: Updated from Projection.i |
43 |
|
with SWIG. |
44 |
|
|
45 |
|
2004-12-13 Bernhard Herzog <[email protected]> |
46 |
|
|
47 |
|
* test/test_load.py (TestAltPath.test_01_single_path_error_fix) |
48 |
|
(TestAltPath.test_02_path_error_fix_from_list) |
49 |
|
(TestAltPath.test_05_path_error_fix_from_list_changed) |
50 |
|
(TestAltPath.test_06_path_error_fix_from_list_fails): self.session |
51 |
|
is destroyed in tearDown, so there's no need to do it in a test |
52 |
|
case. |
53 |
|
|
54 |
|
* Thuban/Model/load.py (SessionLoader.open_shapefile): Remove a |
55 |
|
debug print |
56 |
|
|
57 |
|
2004-12-13 Bernhard Herzog <[email protected]> |
58 |
|
|
59 |
|
* Extensions/svgexport/test/test_svgmapwriter.py |
60 |
|
(TestDrawSplines.setUp): Do not use super with the unittest |
61 |
|
classes because in Python 2.2 they're still old-style classes. |
62 |
|
|
63 |
|
2004-12-13 Frank Koormann <[email protected]> |
64 |
|
|
65 |
|
Alternative Path feature: When loading a (moved) session where |
66 |
|
shapefiles cannot be found, ask the user. Use the specified path |
67 |
|
if further shapefiles are missing. However, ask the usr for confirmation |
68 |
|
in such cases. |
69 |
|
|
70 |
|
* test/test_load.py (TestAltPath): New, tests for alternative path feature |
71 |
|
in load_session() |
72 |
|
(Shapefile_CallBack): Helper, implements controllable callback. |
73 |
|
|
74 |
|
* Thuban/UI/application.py (ThubanApplication.OnInit): |
75 |
|
Added "alt_path" to self.path |
76 |
|
(ThubanApplication.OpenSession): Added shapefile_callback as second |
77 |
|
callback similar to db_connection_callback. |
78 |
|
(ThubanApplication.run_alt_path_dialog): New, implementaion of |
79 |
|
shapefile_callback. In addition to raising the dialog the control of |
80 |
|
self.path('alt_path') is implemented here. |
81 |
|
|
82 |
|
* Thuban/Model/load.py (SessionLoader.__init__): Added shapefile_callback. |
83 |
|
(SessionLoader.open_shapefile): Open shapefile, eventually with |
84 |
|
alternative path. This wrapps the "theSession.OpenShapefile(filename)" |
85 |
|
formerly used in start_fileshapesource()/start_layer(). |
86 |
|
(SessionLoader.start_fileshapesource): Call open_shapefile(). |
87 |
|
(SessionLoader.start_layer): Call open_shapefile(). |
88 |
|
(load_session): Added shapefile_callback. |
89 |
|
|
90 |
|
* Thuban/UI/altpathdialog.py: New, implements dialogs for alternative path |
91 |
|
feature (search / check). |
92 |
|
|
93 |
|
* Doc/manual/thuban-manual.xml: Added documentation of new feature. |
94 |
|
|
95 |
|
2004-12-11 Bernhard Reiter <[email protected]> |
96 |
|
|
97 |
|
svgexport 0.9.2: Point size supports for maps. |
98 |
|
|
99 |
|
* Extensions/svgexport/svgmapwriter.py: Added import of SHAPETYPE_POINT |
100 |
|
(def draw_point_shape): new parameter size defaults to 2 as before. |
101 |
|
(draw_shape_layer_incrementally): Moved draw_func log line higher. |
102 |
|
Added draw_func call with size when dealing with a point layer. |
103 |
|
|
104 |
|
* Extensions/svgexport/__init__.py: bumped version to 0.9.2. |
105 |
|
|
106 |
|
2004-12-11 Bernhard Reiter <[email protected]> |
107 |
|
|
108 |
|
Made sure that newlines are inserted in the svg path d attributes |
109 |
|
to raise the chance that the line length will be below 255 characters, |
110 |
|
as recommended by REC SVG 1.1 in section 8.3.1. |
111 |
|
|
112 |
|
* Extensions/svgexport/svgmapwriter.py(DrawPolygon): |
113 |
|
Adding \n before L's and changed whitespace handling. |
114 |
|
|
115 |
|
* Extensions/svgexport/test/test_svgmapwriter.py: |
116 |
|
Adapted tests to new whitespace handling of DrawPolygon. |
117 |
|
|
118 |
|
2004-12-11 Bernhard Reiter <[email protected]> |
119 |
|
|
120 |
|
* Doc/technotes/coding_guidelines.txt: easy typo fixed. |
121 |
|
|
122 |
|
* Extensions/svgexport/test/test_svgmapwriter.py: |
123 |
|
Removed test_drawbezier in favour of new test_drawspline3 and |
124 |
|
test_drawspline4 within new class TestDrawSplines(TestVirtualDC). |
125 |
|
All only to test DrawSpline. |
126 |
|
|
127 |
|
* Extensions/svgexport/svgmapwriter.py(DrawSpline): |
128 |
|
New implementation now really using the strange algorithm of |
129 |
|
xfig 3.1's approximated splines and its conversion to postscript |
130 |
|
with one twist: SVG can do quadratic beziers, so skipped translation |
131 |
|
to cubic beziers. |
132 |
|
(TestWithDC): Typo in comment fixed. |
133 |
|
|
134 |
|
2004-12-09 Martin Schulze <[email protected]> |
135 |
|
|
136 |
|
* Thuban/Model/classgen.py: Added missing character encoding |
137 |
|
|
138 |
|
* Extensions/wms/properties.py (OpenWMSProperties): removed |
139 |
|
|
140 |
|
* Extensions/wms/parser.py (WMSCapabilitiesParser.error): Dropped |
141 |
|
support for get_srs_discrepancies() since there are no |
142 |
|
discrepancies anymore (was a thinko) |
143 |
|
|
144 |
|
* Extensions/wms/layer.py (WMSLayer.GetMapImg): Improved graphic |
145 |
|
format priority now that more formats are supported globally by |
146 |
|
the render engine. |
147 |
|
|
148 |
|
2004-12-08 Silke Reimer <[email protected]> |
149 |
|
* Extensions/ogr/ogrshapes.py: Substituted ogr-method CloseRings |
150 |
|
because it is not available in all versions of ogr |
151 |
|
|
152 |
2004-12-08 Bernhard Reiter <[email protected]> |
2004-12-08 Bernhard Reiter <[email protected]> |
153 |
* Extensions/ogr/__init__.py: Added empty __init__.py to heal |
* Extensions/ogr/__init__.py: Added empty __init__.py to heal |
154 |
global tests until a real one is commited. |
global tests until a real one is commited. |