/[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 2586 by bh, Wed Mar 16 14:55:21 2005 UTC revision 2684 by frank, Tue Jun 27 16:11:35 2006 UTC
# Line 1  Line 1 
1    2006-06-27 Frank Koormann <[email protected]>
2    
3            * Thuban/version.py: Bugfix determination of SQLite on old systems.
4    
5    2006-05-17 Didrik Pinte <[email protected]>
6            * Extensions/ogr/__init__.py : updated test for win32 and correct
7            imports
8    
9    2006-05-15 Didrik Pinte <[email protected]>
10            Ashamed ... still some tabs in the files
11    
12      * Thuban/version.py : tabs removed    
13      * Thuban/Model/transientdb.py : tabs removed
14    
15    2006-05-15 Didrik Pinte <[email protected]>
16    
17      * Thuban/version.py : coding style correction
18      * Thuban/Model/transientdb.py : coding style correction
19    
20    2006-05-15 Didrik Pinte <[email protected]>
21    
22      * Thuban/version.py : Updated imports to support pysqlite2
23    
24      * Thuban/Model/transientdb.py : Updated imports to support pysqlite2
25            Patched the querying system to support the param style of pysqlite2
26    
27    2006-04-24 Didrik Pinte <[email protected]>
28      * Extensions/svgexport/__init__.py: The extension now works on win32
29            architecture. Bug #87 corrected.
30    
31    2006-04-20 Bernhard Reiter <[email protected]>
32            * Doc/technotes/coding_guidelines.txt: Changed text from CVS to SVN.
33            Removed emacs specific hint and replaced it with a general hint
34            that editors might support writing changelogs.
35    
36    2006-04-12 Bernhard Reiter <[email protected]>
37    
38            * Thuban/version.py: Changed thuban_release mechanism to use "svn"
39            instead of "cvs".
40    
41    2006-03-31  Bernhard Reiter <[email protected]>
42    
43            * libraries/thuban/wxproj.cpp: including proj_api.h instead of
44            projects.h now. According the Frank Warmerdam and man pj_init
45            this is the public interface to proj. Thus I have changed PJ to projPJ.
46            And I could remove the hack to avoid clashes with typedef PVALUE
47            and #define LP in projects.h clashing with symbols when trying to
48            build on windows. The file is cleaner and nicer now.
49    
50    2006-03-29  Bernhard Reiter <[email protected]>
51    
52            * libraries/thuban/wxproj.cpp: undef LP to avoid clash when
53            trying to build with mingw.
54    
55    2005-10-18  Bernhard Reiter <[email protected]>
56    
57            * Thuban/UI/about.py: remove unused import of getdefaultlocale.
58            Added display of internal encoding to the about dialog text.
59    
60            * Extensions/svgexport/__init__.py: changed version to "1.0.0+cvs".
61    
62    2005-10-18  Bernhard Reiter <[email protected]>
63    
64            Startup improved: We fail right away if the internal encoding could
65            not be determined.
66    
67            * Thuban/__init__.py (get_internal_encoding): new.
68    
69            * test/test_stringrepresentation.py (class TestInternalEncoding):
70            Preserve the internal encoding for the tests in this class.
71    
72    2005-10-17  Bernhard Reiter <[email protected]>
73    
74            * test/test_stringrepresentation.py: New file, for now testing
75            that set_internal_coding() is throwing an exception for bad exceptions.
76    
77            * Thuban/__init__.py (set_internal_encoding): added a forwards
78            and backward translation, so that we fail early if the
79            internal_encoding is bad.
80    
81    2005-10-17  Bernhard Reiter <[email protected]>
82    
83            svgexport 1.0.0cvs: Fixed ARC layer writing: No filling is done.
84            You could actually get polylines with filling in between,
85            when the classification for the lines had a fill color.
86            E.g. this happens when you generate a classification from a ramp.
87    
88            * Extensions/svgexport/test/test_svgmapwriter.py:
89            New test_export_arc_no_fill(). Extend copyright notice to 2005.
90    
91            * Extensions/svgexport/svgmapwriter.py
92            (SVGRenderer.draw_shape_layer_incrementally()):
93            Setting TRANSPARENT_BRUSH for shaptype ARC.
94            Extend copyright notice to 2005.
95    
96            * Extensions/svgexport/__init__.py: Extend copyright notice to 2005.
97    
98    2005-09-08  Frank Koormann <[email protected]>
99    
100            * Doc/manual/thuban-manual.xml (Map Management): Fixed typo reported
101            by Erik (sigra.at.home.se)
102    
103    2005-08-18  Jan-Oliver Wagner <[email protected]>
104    
105            * Thuban/UI/renderer.py (ScreenRenderer.draw_selection_incrementally):
106            Call the right method for the default size.
107    
108    2005-08-11  Jan-Oliver Wagner <[email protected]>
109    
110            * Extensions/export_shapefile: New.
111    
112            * Extensions/export_shapefile/__init__.py: New. Initialize
113            the export_shapefile extension.
114    
115            * Extensions/export_shapefile/export_shapefile.py: New.
116            Exports a layer as a Shapefile.
117    
118    2005-08-08  Jan-Oliver Wagner <[email protected]>
119    
120            * po/de.po: String fixes. This fixes Debian bug #313843.
121    
122    2005-07-27  Jan-Oliver Wagner <[email protected]>
123    
124            Remove the attributes from the layer element in
125            .thuban files for the save routine.
126            This also solves RT bug #3149,
127            https://intevation.de/rt/webrt?serial_num=3149
128    
129            * test/test_load.py: (TestSingleLayer, TestNonAsciiColumnName,
130            TestLayerVisibility, TestSymbolSize, TestClassification, TestLabels,
131            TestLayerProjection, TestJoinedTable, TestLabelLayer): Removed
132            attributes from layer element to classification clnull element.
133    
134            * test/test_save.py (SaveSessionTest.testSingleLayer,
135            SaveSessionTest.testLayerProjection,
136            SaveSessionTest.testClassifiedLayer,
137            SaveSessionTest.test_joined_table, SaveSessionTest.test_save_postgis):
138            Removed attributes from layer element to classification clnull element.
139            (test_save_postgis.NonConnectionStore._fetch_table_information):
140            added pretending to have a shape_type.
141    
142            * Resources/XML/thuban-1.1.dtd: Make the attributes field
143            and field_type of classification optional.
144    
145            * Thuban/Model/classification.py (Classification.TreeItem.build_info):
146            Added output of size.
147    
148            * Thuban/Model/load.py (SessionLoader.start_classification):
149            Change attribute 'field' and 'field_type' from obligatory to
150            optional to allow empty classes (ie.  only with a default=clnull).
151    
152            * Thuban/Model/save.py (SessionSaver.write_layer): Don't write
153            any attributes anymore for the layer element.
154            (SessionSaver.write_classification): Even if there is no
155            classification field, still write the classification because
156            the clnull (default) symbol will not be defined anymore as
157            part of the layer element.
158    
159    2005-07-05  Bernhard Herzog  <[email protected]>
160    
161            * setup.py (setup call): Version 1.1.0
162    
163            * NEWS: Update for 1.1.0
164    
165            * MANIFEST.in: Add *.txt to files taken from Doc.  Otherwise the
166            technores won't be included
167    
168            * Thuban/UI/about.py (About.__init__): Extend copyright notice to
169            2005
170    
171            * po/de.po: Updated.
172    
173    2005-07-05  Bernhard Herzog  <[email protected]>
174    
175            * README: gdal 1.1.8 is too old.  1.2.5 works.
176    
177    2005-07-05  Bernhard Herzog  <[email protected]>
178    
179            * Resources/XML/thuban-1.1.dtd (rasterlayer): Add the opacity and
180            masktype attributes.
181    
182    2005-07-05  Bernhard Herzog  <[email protected]>
183    
184            * Thuban/Model/layer.py (Layer.__mangle_bounding_box)
185            (Layer.ClipBoundingBox): Rename ClipBoundingBox to
186            __mangle_bounding_box.  See the comments in the code and RT #2845
187    
188            * test/test_layer.py (TestLayer.test_arc_layer_with_projection):
189            Remove the explicit test of ClipBoundingBox.  The method isn't
190            public anymore and the direct call in the test wasn't necessary in
191            the first place.  If ClipBoundingBox (now __mangle_bounding_box)
192            isn't called, the return value of ShapesInRegion will be
193            different.
194    
195    2005-07-05  Bernhard Herzog  <[email protected]>
196    
197            * Thuban/UI/viewport.py (ViewPort.set_view_transform): Handle
198            ZeroDivisionError exceptions.  I don't know when they happen
199            exactly.  It probably happens when the projections aren't set
200            properly.
201    
202    2005-07-01  Bernhard Herzog  <[email protected]>
203    
204            First step towards unicode.  With this roughly we're at step 1
205            string_representation.txt
206    
207            * Doc/technotes/string_representation.txt: New.  Document how
208            strings are represented in Thuban and how to get to a Unicode
209            Thuban.
210    
211            * Thuban/__init__.py (set_internal_encoding)
212            (unicode_from_internal, internal_from_unicode): New. The first few
213            functions for the internal string representation
214    
215            * Thuban/UI/about.py (unicodeToLocale): Removed.  Use
216            internal_from_unicode instead.
217    
218            * Thuban/UI/__init__.py (install_wx_translation): Determine the
219            encoding to use for the internal string representation.  Also,
220            change the translation function to return strings in internal
221            representation even on unicode builds of wxPython
222    
223            * Thuban/Model/load.py (SessionLoader.check_attrs): Decode
224            filenames too.
225            (SessionLoader.start_clrange): Use check_attrs to decode and check
226            the attributes.
227    
228            * Thuban/Model/xmlreader.py (XMLReader.encode): Use
229            internal_from_unicode to convert unicode strings.
230    
231            * Thuban/Model/xmlwriter.py (XMLWriter.encode): Use
232            unicode_from_internal when applicable
233    
234            * test/runtests.py (main): New command line option:
235            internal-encoding to specify the internal string encoding to use
236            in the tests.
237    
238            * test/support.py (initthuban): Set the internal encoding to
239            latin-1
240    
241            * test/test_load.py (TestSingleLayer.test, TestClassification.test)
242            (TestLabelLayer.test): Use the internal string representation when
243            dealing with non-ascii characters
244    
245            * test/test_load_1_0.py (TestSingleLayer.test)
246            (TestClassification.test, TestLabelLayer.test): Use the internal
247            string representation when dealing with non-ascii characters
248    
249            * test/test_load_0_9.py (TestSingleLayer.test)
250            (TestClassification.test): Use the internal string representation
251            when dealing with non-ascii characters
252    
253            * test/test_load_0_8.py (TestUnicodeStrings.test): Use the
254            internal string representation when dealing with non-ascii
255            characters
256    
257            * test/test_save.py (XMLWriterTest.testEncode)
258            (SaveSessionTest.testClassifiedLayer): Use the internal string
259            representation when dealing with non-ascii characters where
260            applicable
261    
262    2005-06-30  Bernhard Herzog  <[email protected]>
263    
264            * test/runtests.py: Untabify.
265    
266    2005-06-30  Bernhard Herzog  <[email protected]>
267    
268            * Thuban/UI/renderer.py (ScreenRenderer.draw_selection_incrementally):
269            untabify.
270    
271    2005-06-30  Bernhard Herzog  <[email protected]>
272    
273            * Extensions/ogr/test/__init__.py: Add missing coding directive
274    
275    2005-06-28  Jan-Oliver Wagner <[email protected]>
276    
277            * Thuban/UI/renderer.py (ScreenRenderer.draw_selection_incrementally):
278            Use the default size for rendering selected items of default type.
279            Fixes part 2 of https://intevation.de/rt/webrt?serial_num=3149
280    
281    2005-06-28  Jan-Oliver Wagner <[email protected]>
282    
283            * Extensions/importAPR/apr.py (APR_BShSym): Extend by 'Stripple'.
284            (APR_TClr.GetThubanColor): Fix bug in color interpretation.
285            Thanks to Frank Koormann who identified this problem.
286    
287            * Extensions/importAPR/importAPR.py (APR_VShSym): New. Just
288            another symbol identified.
289    
290    2005-06-27  Jan-Oliver Wagner <[email protected]>
291    
292            * Doc/manual/thuban-manual-de.xml: More translations.
293    
294    2005-05-12  Jonathan Coles <[email protected]>
295            
296            * Thuban/UI/projdialog.py: Add missing import, which led to an
297            exception when opening a layer's projection.
298    
299    2005-05-09  Bernhard Herzog  <[email protected]>
300    
301            * test/support.py (FileLoadTestCase.filename): Fix doc-string.
302    
303    2005-05-09  Bernhard Herzog  <[email protected]>
304    
305            * Thuban/Model/postgisdb.py (PostGISConnection.connect): Set the
306            connection to autoconnect.  Fixes RT#3148.
307    
308            * test/test_postgis_db.py
309            (TestPostGISSpecialCases.test_simple_error_handling): New test
310            that attempts to reproduce RT#3148.
311    
312    2005-05-06  Jonathan Coles <[email protected]>
313    
314            Add support for saving and loading the opacity and mask type
315            properties of RasterLayers. Also add support for proper use
316            of alpha information while drawing images not in 'RAW' format.
317            If transparency in an image format (e.g, PNG) is supported by
318            wxWidgets then the image would previously have been draw with
319            transparent regions, but the opaque regions would have been
320            unaffected by a change in the layer's opacity. This patch
321            corrects the problem.
322    
323            * Thuban/Model/layer.py (RasterLayer): Added opacity and
324            masktype parameters to the constructor, and set the
325            appropriate variables to those values.
326    
327            * Thuban/Model/load.py (SessionLoader.start_rasterlayer): Added
328            code to read the opacity and mask type of the layer and construct
329            a new layer with the additional parameters.
330    
331            * Thuban/Model/save.py (SessionSaver.write_layer): Added code
332            to save the opacity and mask type of a layer.
333    
334            * Thuban/UI/baserenderer.py (BaseRenderer.draw_raster_layer): Pass
335            the opacity of the layer to draw_raster_data rather than the layer.
336            (BaseRenderer.draw_raster_data): Remove the layer parameter because
337            the function doesn't need to know about the layer. Add the optional
338            opacity parameter whose default is 1.0. Add 'PNG' as a supported
339            graphics format.
340    
341            * Thuban/UI/renderer.py (MapRenderer.draw_raster_data): Fixed
342            signature to match that in BaseRenderer. Use the new opacity argument
343            in place of calling layer.Opacity(). In the case where the
344            format is not 'RAW', alpha_data is None and the loaded image has
345            alpha information, use the file's alpha information. This is
346            still subject to the layer's opacity setting.
347    
348            * test/test_baserenderer.py (SimpleRenderer.draw_raster_data):
349            Fixed signature to match that in BaseRenderer.
350    
351            * test/test_load.py (TestRasterLayer): Change file_contents to
352            include opacity and masktype variables.
353            (TestRasterLayer.test): Include tests for opacity and masktype
354            changes.
355    
356            * test/test_save.py (SaveSessionTest.testRasterLayer): Restructure
357            test to cover a variety of combinations of masktype and opacity
358            settings.
359    
360    2005-05-02  Jan-Oliver Wagner <[email protected]>
361    
362            * debian/rules: add --use-wx-python-swig-hack
363            to the build command.
364            Thanks to Moritz Lennert for pointing this out.
365    
366    2005-04-28  Jan-Oliver Wagner <[email protected]>
367    
368            Introduce OGRFileShapeStore in ogr extension.
369            This allows at least that loaded shapefile shape stores
370            can be saved correctly in the thuban session file
371            and reloaded again (reload is via core shapefile
372            routine, not OGR). For other types, .thuban files
373            can not be reloaded for the time being.
374    
375            * Extensions/ogr/ogrshapes.py (OGRFileShapeStore): New. This
376            class ist to be used for any file-based shape stores
377            accessed through OGR.
378    
379            * Extensions/ogr/ogrstart.py (open_with_ogr): Added
380            forgotten _ for i18n. Adapted call OpenFileShapestore
381            regarding new parameter.
382            (OpenFileShapestore): Use OGRFileShapeStore instead of
383            OGRShapeStore. Fix return value (None instead of null).
384            Add new parameter "mainwindow" to avoid accessing global
385            context.
386    
387    2005-04-27  Jan-Oliver Wagner <[email protected]>
388    
389            Introduce FileShapeStore as generalization for
390            file-based shape stores. In a first instance
391            this allows additional modules to handle shapefile
392            format as well, namely the OGR extension.
393    
394            * Thuban/Model/data.py: Various small fixes in doc-strings.
395            (FileShapeStore): New class.
396            (ShapefileStore): Derive from FileShapeStore.
397            (ShapefileStore.__init__): Call __init__ of FileShapeStore,
398            rename self.table to self._table, initialize self._bbox
399            (ShapefileStore._open_shapefile): Use self._bbox instead of self.bbox
400            and self.FileName() instead of self.filename.
401            (ShapefileStore.Table): Use self._table instead of self.table.
402            (ShapefileStore.FileName): Removed (moved to FileShapeStore).
403            (ShapefileStore.BoundingBox):  Use self._bbox instead of self.bbox.
404    
405            * Thuban/Model/save.py: Replace ShapefileStore by FileShapeStore.
406            (SessionSaver.write_data_containers): Only use methods of the
407            base class FileShapeStore.
408    
409    2005-04-26  Martin Schulze  <[email protected]>
410    
411            * Extensions/wms/wms.py (render_wms_layer): Adjusted the render
412            function to the modified render engine
413    
414    2005-04-25  Martin Schulze  <[email protected]>
415    
416            * Thuban/UI/renderer.py (MapRenderer.projected_raster_layer):
417            Added a description according to the CVS log message
418    
419    2005-04-23  Martin Schulze  <[email protected]>
420    
421            * Thuban/UI/renderer.py: Added a missing import
422    
423    2005-04-23  Russell Nelson  <[email protected]>
424    
425            * Thuban/UI/view.py (MapCanvas.OnMiddle{Up,Down}): Changed the
426            way the previous tool is remembered, so that middle-button
427            panning works even if you haven't selected a tool.
428    
429    2005-04-11  Bernhard Herzog  <[email protected]>
430    
431            * libraries/thuban/wxproj.cpp: Move the compatibility code that
432            deals with the wxPython 2.4 version of wxPython.h into the #ifdef
433            branch that includes wxPython.h because it's only needed when
434            wxPython.h is used.  Also, it won't compile when
435            USE_WX_PYTHON_SWIG_HACK is set otherwise.
436    
437    2005-04-07  Bernhard Herzog  <[email protected]>
438    
439            * Thuban/UI/classifier.py (ClassGrid.__init__): Use -1 as the ID.
440            (ID_CLASS_TABLE): Removed. It wasn't used anywhere except in
441            ClassGrid.__init__ and it's value is outside of the valid
442            range (must be < 32768).  wxPython 2.5 complains about it with an
443            exception.
444    
445    2005-04-05  Jan-Oliver Wagner <[email protected]>
446    
447            * Doc/manual/thuban-manual-de.xml: More translations.
448    
449    2005-04-05  Bernhard Herzog  <[email protected]>
450    
451            * libraries/thuban/wxproj.cpp: Make it work with a wxPython.h from
452            wxPython 2.4 as well.  Also, remove a now obsolete comment.
453    
454    2005-04-05  Bernhard Herzog  <[email protected]>
455    
456            Use wxPython.h by default but provide a workaround when it isn't
457            available.
458    
459            * setup.py (wxproj_extension): New variable.  Assign the Extension
460            instance for Lib.wxproj to this variable instead of putting it
461            directly into the listso that it can be accessed by other code
462            later.
463            (thuban_build_ext.user_options): Added boolean option
464            --use-wx-python-swig-hack.
465            (thuban_build_ext.initialize_options): Initialize the new option
466            to False.
467            (thuban_build_ext.finalize_options): If the new option was given,
468            define the preprocesser macro USE_WX_PYTHON_SWIG_HACK.
469            (thuban_build_ext): Update the doc-string
470    
471            * libraries/thuban/wxproj.cpp: Normally we use
472            wx/wxPython/wxPython.h now.  Only if USE_WX_PYTHON_SWIG_HACK is
473            defined, use swigPtrConvertHack.h instead.
474    
475            * libraries/thuban/swigPtrConvertHack.h: Remove the code that was
476            copied over from wxPython.h.
477            (decode_pointer_new): New.  Equivalent of decode_pointer for
478            wxPython 2.5.
479            (wxPyConvertSwigPtr): Modified to cope with wxPython 2.5 as well.
480    
481            * README: Add section on potential build problems which explains
482            how the work-around for a missing wxPython.h is activated.
483    
484    2005-03-29  Bernhard Herzog  <[email protected]>
485    
486            * test/postgissupport.py (find_postgis_sql): Added yet another
487            potential location for (lw)postgis.sql because the file has moved
488            again in postgis 1.0.0 rc4.
489    
490    2005-03-29  Bernhard Herzog  <[email protected]>
491    
492            * Thuban/UI/legend.py (BMP_SIZE_W, BMP_SIZE_H): Set both to 16 to
493            match the site of the legend_icon_layer icon.  Otherwise wxpython
494            2.5 complains when the legend is created with the error:
495    
496            PyAssertionError: C++ assertion "(bitmap.GetWidth() == m_width &&
497            bitmap.GetHeight() == m_height) || (m_width == 0 && m_height ==
498            0)" failed in ./src/generic/imaglist.cpp(81): invalid bitmap size
499            in wxImageList: this might work on this platform but definitely
500            won't under Windows.
501    
502    2005-03-23  Jonathan Coles <[email protected]>
503    
504            These changes add support for adjusting the opacity of a raster layer.
505    
506            * Thuban/Model/layer.py (RasterLayer.Opacity): Replaces AlphaOpacity.
507            (RasterLayer.SetOpacity): Replaces SetAlphaOpacity. Also triggers
508            a LAYER_CHANGED event if the opacity actually changes.
509    
510            * Thuban/UI/baserenderer.py (BaseRenderer.draw_raster_data): Added
511            layer parameter needed in the implementation of this method in
512            renderer.py.
513    
514            * Thuban/UI/layerproperties.py (LayerProperties.dialog_layout): Fixed
515            typo 00 -> 0.
516    
517            * Thuban/UI/rasterlayerproperties.py (RasterLayerProperties): Added
518            control to adjust opacity.
519    
520            * Thuban/UI/renderer.py (MapRenderer.draw_raster_data): Scale the
521            alpha data based on the opacity level of the layer.
522    
523            * test/test_baserenderer.py (SimpleRenderer.draw_raster_data): Now
524            accepts a layer parameter.
525    
526            * test/test_layer.py (TestLayerModification.test_raster_layer):
527            Rename opacity method calls and add test for LAYER_CHANGED.
528    
529  2005-03-16  Bernhard Herzog  <[email protected]>  2005-03-16  Bernhard Herzog  <[email protected]>
530    
531          * test/test_connector.py (DeletionTestMixin.check_deletions)          * test/test_connector.py (DeletionTestMixin.check_deletions)

Legend:
Removed from v.2586  
changed lines
  Added in v.2684

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26