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

Legend:
Removed from v.2570  
changed lines
  Added in v.2688

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26