/[thuban]/branches/WIP-pyshapelib-bramz/ChangeLog
ViewVC logotype

Diff of /branches/WIP-pyshapelib-bramz/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 2445 by bernhard, Sat Dec 11 03:24:36 2004 UTC revision 2524 by frank, Tue Jan 18 10:19:25 2005 UTC
# Line 1  Line 1 
1    2005-01-18  Frank Koormann <[email protected]>
2    
3            New Extension: mouseposition
4            Tool to collect mouse click positions (map coordinates) in a dialog.
5    
6            * Extensions/mouseposition/__init__.py: New, extension registration
7    
8            * Extensions/mouseposition/mouseposition.py: New, implements the
9            dialog and adds a tool to Thuban mainwindow.
10    
11            * Extensions/mouseposition/position.xpm: New, icon for tool.
12    
13    2005-01-14  Jan-Oliver Wagner <[email protected]>
14    
15            * Doc/manual/thuban-manual-de.xml: More translations.
16    
17    2005-01-11  Frank Koormann <[email protected]>
18    
19            * Thuban/UI/mainwindow.py (MainWindow.DuplicateLayer):
20            Fix indention bug.
21    
22    2005-01-09  Frank Koormann <[email protected]>
23    
24            * Thuban/UI/mainwindow.py (MainWindow.DuplicateLayer):
25            BugFix 2901: Explicitly copy layers ClassificationColumn since it
26            is not part of the layers Classification.
27    
28    2005-01-03  Frank Koormann <[email protected]>
29    
30            * Thuban/UI/renderer.py (ScreenRendererdraw_selection_incrementally):
31            BugFix 2883: Former implementation only worked on classified point
32            layers: KeyError was raised, now use the default size if field is None.
33    
34    2004-12-27  Bernhard Reiter <[email protected]>
35    
36            svgexport 1.0.0cvs: Fixed label export.
37    
38            * Extensions/svgexport/test/test_svgmapwriter.py:
39            class TestSVGRenderer(): New class; new test test_label_font().
40    
41            * Extensions/svgexport/svgmapwriter.py
42            (SVGRenderer.label_font()): initialised Font size with self.factor now,
43            makes test_label_font happy.
44    
45            * Extensions/svgexport/TODO: crossed out fixed label export item.
46            Added item for options.
47    
48            * Extensions/svgexport/__init__.py: Bumped version to 1.0.0cvs.
49    
50    2004-12-27  Russell Nelson  <[email protected]>
51    
52            Middle mouse button pans.
53    
54            * Thuban/UI/view.py (MapCanvas.__init__): Subscribe also
55            OnMiddleDown and OnMiddleUp events.
56            (MapCanvas.OnMiddleDown): New. Activate the pan tool and remember the
57            previously used tool.
58            (MapCanvas.OnMiddleUp): New. Reactivate the remebered tool used before
59            pressing the middle mouse button.
60    
61    2004-12-27  Jan-Oliver Wagner <[email protected]>
62    
63            * Doc/manual/thuban-manual-de.xml: More translations.
64    
65    2004-12-23  Jan-Oliver Wagner <[email protected]>
66    
67            * Thuban/UI/projdialog.py (ProjFrame.load_user_proj): Added a
68            \n to stderr after the warnings. Thanks to Russell Nelson.
69    
70    2004-12-20  Nina Hueffmeyer <[email protected]>
71    
72            * Extensions/ogr/ogrshapes.py: Fixed some issues from
73            Bernhard (coding guidelines etc.). Additionally it is now possible to
74            display shapefiles containing feature collections (e.g.polygons
75            with holes). Works with gdal 1.2.1 now.
76    
77            * Extensions/ogr/test/test_OGRShapestore.py: Fixed some issues
78            from Bernhard (coding guidelines etc.). If ogr can't be imported,
79            tests are skipped now.
80    
81            * Extensions/ogr/ogrstart.py: Fixed some typings.
82    
83    2004-12-20  Bernhard Reiter <[email protected]>
84    
85            * Extensions/svgexport/TODO: updated to add support for
86            raster layers and labels for 1.0.1.
87    
88            * Extensions/svgexport/svgmapwriter.py (draw_raster_layer):
89            Issue a warning now.
90    
91    2004-12-19  Bernhard Reiter <[email protected]>
92    
93            * Extensions/svgexport/TODO: Added idea to support triggering
94            the application down the pipe.
95    
96    2004-12-19  Bernhard Reiter <[email protected]>
97    
98            svgexport: Improved code quality, mainly by better naming.
99    
100            * Extensions/svgexport/svgmapwriter.py:
101            DrawPath() renamed to DrawPolygonPath(),
102            added documentation, improved comments and variable names.
103            
104            * Extensions/svgexport/svgmapwriter.py,
105              Extensions/svgexport/test/test_svgmapwriter.py:
106            All using DrawPolygonPath() now, the default parameter closed=True
107            omitted.
108    
109            * Extensions/svgexport/test/test_svgmapwriter.py:
110            renamed test_polygon_opened() to test_polyline()
111            renamed test_transparent_polygon() to test_transparent_polyline()
112    
113    2004-12-18  Jan-Oliver Wagner <[email protected]>
114    
115            Some fixes of gns2shp extension.
116    
117            * Extensions/gns2shp/test/__init__.py: New. Make this directory a
118            package.
119    
120            * Extensions/gns2shp/test/test_gns2shp.py: Add some import paths
121            dynamically.
122    
123            * Extensions/gns2shp/test/README: Simplified description how to test.
124    
125            * Extensions/gns2shp/gns2shp.py (gns2shp): Fixed doc-string,
126            fixed some dimensions of fields according to the GNS documentation
127            which seems to change undocumented.
128            Now killing trailing \n and/or \r from MODIFY_DATE.
129            This fixes RT#2453.
130    
131    2004-12-18  Bernhard Reiter <[email protected]>
132    
133            svgexport 1.0.0: Treats holes and islands nicely. Documentation added.
134    
135            * Extensions/svgexport/test/test_svgmapwriter.py:
136            Added new tests: test_export_polygon_with_hole()
137            and test_polygon_with_hole().
138    
139            * Extensions/svgexport/svgmapwriter.py
140            (draw_polygon_shape()): Uses DrawPath correctly now.
141    
142            * Doc/manual/thuban-manual.xml: Added documentation for stable
143            extention svgexport.    
144            * Doc/manual/thuban-manual-de.xml: Copied English section about
145            svexport over.
146    
147            * Extensions/svgexport/__init__.py: Bumped version number to 1.0.0.
148    
149            * Extensions/svgexport/svgsaver.py,maplegend.py:
150            Moved from experimental to stable extension menu.
151    
152            * Extensions/svgexport/TODO: updated.
153    
154    
155    2004-12-18  Bernhard Reiter <[email protected]>
156    
157            Added Extensions/svgexport/TODO
158    
159    2004-12-18  Bernhard Reiter <[email protected]>
160    
161            Refactored in svgexport:
162            DrawPath replaces DrawPolygon; added newline in front of "M" in paths.
163    
164            * Extensions/svgexport/svgmapwriter.py
165            Added verbosity level 3 to print out polygon points.
166            (class Point): added __repr__
167            (class Brush, __str__()): Added space after ,.
168            (DrawPolygon): Renamed to DrawPath()
169            (DrawPath): Takes list of polygons as input now, adds \n before "M"s.
170            (DrawLines): Using DrawPath now.
171    
172            * Extensions/svgexport/test/test_svgmapwriter.py:
173            Replaced DrawPolygon() calls with DrawPath() and put the first argument
174            inside another list. Adapted test data with a newline before "M".
175    
176    2004-12-18  Bernhard Reiter <[email protected]>
177            
178            Refactored svgexport tests: 9 double tests runs eliminated;
179            code size reduced by 8 lines.
180    
181            * Extensions/svgexport/test/test_svgmapwriter.py:
182            (class TestWithDC): Renamed to BaseTestWithDC, moved to top.
183            (class BaseWithDCtools): New, subclass from BaseTestWithDC.
184            (class TestDrawSplines): now subclass from BaseTestWithDCtools,
185            this fixed the double running of the nine tests of TestVirtualDC.
186            (class TestVirtualDC): Using self.dc and self.file from setUp().
187    
188    2004-12-17  Bernhard Herzog  <[email protected]>
189    
190            Two windows specific fixes ported from thuban-1�0-branch:
191    
192            * Thuban/UI/about.py (unicodeToLocale): Use getdefaultlocale
193            instead of getlocale because getlocale doesn't return a usable
194            encoding name on a german windows 2000
195    
196            * setup.py: windows build: Removed the absolute path names and
197            made all prfixes relative to the directory containing setup.py.
198            Makes it a little easier to adapt to a different system.
199    
200    2004-12-16  Bernhard Herzog  <[email protected]>
201    
202            Add support for PostGIS tables with LINESTRING geometries.
203            Fixes RT#2299
204    
205            * Thuban/Model/postgisdb.py (shapetype_map): Add LINESTRING
206    
207            * test/postgissupport.py
208            (PostgreSQLServer.get_default_static_data_db): Rename the "roads"
209            table to "roads-multi" because it now uses MULTILINESTRING
210            geometries and introduce a new "roads" table that uses LINESTRING
211            (coords_to_multilinestring): Make the doc string more precise
212            (coords_to_linestring): New.  Create a LINESTRING WKT
213            representatin
214            (wkt_converter): Add coords_to_linestring
215            (upload_shapefile): Rephrase the doc-string a bit.
216    
217            * test/test_postgis_db.py (TestPostGISShapestoreArc)
218            (LineStringTests)
219            (TestPostGISShapestoreLineString)
220            (TestPostGISShapestoreMultiLineString): Split
221            TestPostGISShapestoreArc into a base class LineStringTests and two
222            derived classes TestPostGISShapestoreLineString for LINESTRING
223            geometries and TestPostGISShapestoreMultiLineString for
224            MULTILINESTRING geometries.  Most test methods are in the base
225            class with the exception of tests that explicitly check the raw
226            format.
227    
228    2004-12-16  Bernhard Herzog  <[email protected]>
229    
230            Make the test suite work with PostGIS 0.8.2 and PostgreSQL 7.4
231    
232            * test/postgissupport.py (find_postgis_sql): Different postgis
233            versions put the postgis.sql file into slightly different places
234            so we have to look in both.  The updated doc string describes this
235            is more detail.
236    
237            * test/test_postgis_db.py
238            (TestPostGISSpecialCases.test_column_name_quoting): The return
239            value of UniqueValues is unsorted, so it has to be sorted for
240            comparison.
241    
242    2004-12-16  Bernhard Herzog  <[email protected]>
243    
244            Fix for RT#2237
245    
246            * Thuban/UI/projdialog.py (ProjFrame._show_proj_panel): If the
247            panel to be shown is the UnknownProjPanel disable the OK and Try
248            buttons.  Otherwise enable them.
249            (ProjFrame.__GetProjection): The UnknownProjPanel returns None for
250            the parameters.  In that case __GetProjection also returns None
251            now.
252    
253    2004-12-15  Bernhard Herzog  <[email protected]>
254    
255            * Thuban/UI/classgen.py (GenQuantilesPanel.__init__): Set the
256            minimum number of classes to 2.  The calculate_quantiles needs at
257            least two and raises an exception otherwise.  
258            Fixes RT#2549
259    
260    2004-12-15  Bernhard Herzog  <[email protected]>
261    
262            * test/postgissupport.py (PostgreSQLServer.execute_sql): Extend to
263            so that it returns a result for select statements.
264            (PostgreSQLServer.server_version): New.  Return the version of the
265            server software.
266            (PostgreSQLServer.require_authentication): The format of
267            pg_hba.conf has changed between PostgrSQL 7.2 and 7.3.  Check the
268            server version and generate the file in the correct format
269    
270    2004-12-15  Bernhard Herzog  <[email protected]>
271    
272            * test/postgissupport.py (PostgreSQLServer.is_running): Fix typo
273            in the doc string and rephrase it a little.
274    
275    2004-12-15  Frank Koormann <[email protected]>
276    
277            * test/test_load.py (TestAltPath.checkSession): New, extended checks if
278            session has been loaded successfully. The check is called by the relevant
279            tests after executing load_session().
280    
281    2004-12-13  Bernhard Herzog  <[email protected]>
282    
283            Make sure the region used to determine which shapes are visible
284            actually matches the region on the printed page.  If this isn't
285            done properly some shapes might not be printed.  
286            Fixes RT #2692
287    
288            * Thuban/UI/view.py (MapPrintout.draw_on_dc): The region for the
289            renderer has to be at the same position as the mapregion
290    
291            * Thuban/UI/renderer.py (ExportRenderer.RenderMap): self.region
292            has to be moved by (self.shiftx, self.shifty) too.
293    
294    2004-12-13  Bernhard Herzog  <[email protected]>
295    
296            * libraries/pyprojection/Projection.i: Work around a bug in the
297            generated python code which leads to exception in the __del__
298            method when the constructor fails.  See the comments in the code
299            for more details.
300    
301            * libraries/pyprojection/Projection.py: Updated from Projection.i
302            with SWIG.
303    
304    2004-12-13  Bernhard Herzog  <[email protected]>
305    
306            * test/test_load.py (TestAltPath.test_01_single_path_error_fix)
307            (TestAltPath.test_02_path_error_fix_from_list)
308            (TestAltPath.test_05_path_error_fix_from_list_changed)
309            (TestAltPath.test_06_path_error_fix_from_list_fails): self.session
310            is destroyed in tearDown, so there's no need to do it in a test
311            case.
312    
313            * Thuban/Model/load.py (SessionLoader.open_shapefile): Remove a
314            debug print
315    
316    2004-12-13  Bernhard Herzog  <[email protected]>
317    
318            * Extensions/svgexport/test/test_svgmapwriter.py
319            (TestDrawSplines.setUp): Do not use super with the unittest
320            classes because in Python 2.2 they're still old-style classes.
321    
322    2004-12-13  Frank Koormann <[email protected]>
323    
324        Alternative Path feature: When loading a (moved) session where
325            shapefiles cannot be found, ask the user. Use the specified path
326            if further shapefiles are missing. However, ask the usr for confirmation
327            in such cases.
328    
329            * test/test_load.py (TestAltPath): New, tests for alternative path feature
330            in load_session()
331            (Shapefile_CallBack): Helper, implements controllable callback.
332    
333            * Thuban/UI/application.py (ThubanApplication.OnInit):
334            Added "alt_path" to self.path
335            (ThubanApplication.OpenSession): Added shapefile_callback as second
336            callback similar to db_connection_callback.
337            (ThubanApplication.run_alt_path_dialog): New, implementaion of
338            shapefile_callback. In addition to raising the dialog the control of
339            self.path('alt_path') is implemented here.
340    
341            * Thuban/Model/load.py (SessionLoader.__init__): Added shapefile_callback.
342            (SessionLoader.open_shapefile): Open shapefile, eventually with
343            alternative path. This wrapps the "theSession.OpenShapefile(filename)"
344            formerly used in start_fileshapesource()/start_layer().
345            (SessionLoader.start_fileshapesource): Call open_shapefile().
346            (SessionLoader.start_layer): Call open_shapefile().
347            (load_session): Added shapefile_callback.
348    
349            * Thuban/UI/altpathdialog.py: New, implements dialogs for alternative path
350            feature (search / check).
351            
352            * Doc/manual/thuban-manual.xml: Added documentation of new feature.
353    
354  2004-12-11  Bernhard Reiter <[email protected]>  2004-12-11  Bernhard Reiter <[email protected]>
355    
356           svgexport 0.9.2: Point size supports for maps.           svgexport 0.9.2: Point size supports for maps.

Legend:
Removed from v.2445  
changed lines
  Added in v.2524

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26