/[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 2612 by jan, Mon May 2 16:24:19 2005 UTC revision 2729 by bernhard, Tue Feb 20 10:52:38 2007 UTC
# Line 1  Line 1 
1    2007-02-20 Bernhard Reiter <[email protected]>
2    
3            * Thuban/version.py, setup.py: Getting ready for release 1.2.0.
4            Using this version number.
5    
6            * Doc/README: fixed a typo.
7    
8            * Doc/technotes/release_process.txt: Updated. Reference platform
9            is Debian Etch now. If windows, it should be window XP.
10            Marked a few entries in the instructions as "Old:".
11    
12            * README: Bumped requirements to wxWidgets 2.6.3.2 and gdal 1.3.2..
13            Added urls for homepage and infrastructure on wald. Fixed a typo.
14    
15            * MANIFEST.in: Added subdir packaging which should be in the tarball.
16    
17            * NEWS: Completed changes from 1.1.0 until today as gathered from
18            the Changelog entries. Added small section about OGR known problems
19            because we do not have a release-notes file so far.
20    
21            * Doc/manual/thuban-manual.xml: Removed the installation instructions
22            as they are outdated and they should be only in one place.
23            Bumped version number of the document to 1.2.0. Marked it as Draft
24            in the title.
25    
26            * Extensions/svgexport/: Get ready for release. Bump version
27            number to 1.0.1. Adjusted numbers in TODO.
28    
29            * Thuban/UI/about.py: Reworked the about text. It shows now
30            when somebody was active on Thuban. Added a list of maintainers.
31            Bernhard Reiter is the current maintainer, following up on Bernhard
32            Herzog.
33    
34            * Extensions/export_shapefile/export_shapefile.py: untabify.
35    
36            * test/README: Added example how to set the PATH for postgis on
37            Debian Etch.
38    
39    2007-01-13 Didrik Pinte <[email protected]>
40    
41            bboxdump, gns2shp, importAPR, mouseposition, ogr, profiling, svgexport
42            extensions migrated to wxPython 2.6
43    
44            * Extensions/bboxdump/bboxdump.py:
45            updated wx statements
46    
47            * Extensions/gns2shp/gns2shp.py:
48            updated wx statements
49    
50            * Extensions/importAPR/importAPR.py:
51            updated wx statements
52    
53            * Extensions/mouseposition/mouseposition.py:
54            updated wx statements
55    
56            * Extensions/ogr/
57            ogrdialog.py, ogrstart.py:
58            updated wx statements
59    
60            * Extensions/profiling/profiling.py:
61            updated wx statements
62    
63            * Extensions/svgexport/
64            maplegend.py, svgsaver.py:
65            updated wx statements
66    
67    
68    2007-01-08 Didrik Pinte <[email protected]>
69            
70            export_shapefile extension migrated to wxPython 2.6
71    
72            * Extensions/export_shapefile/export_shapefile.py:
73            updated wx statements, changed the FileDialog to wx.SAVE (was wx.OPEN)
74    
75    2007-01-08 Didrik Pinte <[email protected]>
76            
77            umn_mapserver extension migrated to wxPython 2.6
78    
79            * Extensions/umn_maserver/
80            mf_handle.py, mf_import.py, mf_export.py:
81            update wx imports to 2.6 policy
82    
83    2007-01-06 Didrik Pinte <[email protected]>
84    
85            UTF-8 locales support reading non utf-8 files.
86            This is a workaround and not a real bugfix. See
87            http://wald.intevation.org/tracker/index.php?func=detail&aid=118
88            for more details
89    
90            * Thuban/UI/tableview.py, controls.py, baserenderer.py, view.py:
91            decode text from iso-8859-1 encoding.
92    
93    2007-01-01 Bernhard Reiter <[email protected]>
94    
95            * test/postgissupport.py, test/test_postgis_db.py: adding an
96            explicit WITH OIDS to the create table commands. This fixes tests
97            that rely on an oid column to be present for postgresql >=8.0.
98            Thanks for Frank Koormann for the hint.
99    
100    2006-11-06 Didrik Pinte <[email protected]>
101    
102            * libraries/thuban/wxproj.cpp: bugfix - allow compilation with
103            msvc++ toolkit 2003
104    
105    2006-11-06 Bernhard Reiter <[email protected]>
106    
107            Made it easier to run PostGIS test on Debian Etch. Improving
108            https://wald.intevation.org/tracker/index.php?func=detail&aid=173 .
109    
110            * test/postgissupport.py: Taking pg_ctl and initdb commands
111            from internal variables now. Adding deactivated example values
112            for Debian Etch.  
113            find_postgis_sql(): Added special line for Debian Etch postgresql-8.1.
114            Added copyright year 2006.
115    
116    2006-10-25 Bernhard Reiter <[email protected]>
117            
118            Moved ogr Extension to Extension menu.
119    
120            * Extensions/ogr/
121            __init__.py, ogrstart.py, ogrshapes.py, ogrdialog.py
122            test/test_OGRShapestore.py, test/__init__.py:
123            adding encoding information and made sure Autor's names
124            with an umlaut are actually written with an umlaut.
125    
126            * Extensions/ogr/ogrstrat.py: now registering in menu "Extensions",
127            having a "(testing)" string before the submenu to prepare for 1.2.0
128            release.  Bumped copyright year to 2006.
129    
130    2006-10-15 Bernhard Reiter <[email protected]>
131    
132            * Thuban/UI/renderer.py: Added module variable verbose and
133            added verbose output before doing a raster projection.
134            Minor: Added (c) year 2006.
135    
136            * test/test_baserenderer.py: Added new function
137            test_projected_raster_decimalcommalocale()
138            Added new author Bernhard Reiter and new copyright year 2006.
139    
140            * libraries/thuban/gdalwarp.cpp(ProjectRasterFile): Adding
141            switching to LC_NUMERIC "C" and back before calling GDAL functions -
142            only #if python >=2.4 .
143    
144    2006-10-10 Didrik Pinte <[email protected]>
145    
146            Win32 build updates
147    
148            * setup.py :
149                - update to the latest libs for win32 setup tasks
150                    - added gdal and Lib content to the inno setup build task
151                    - added stable and experimental extensions to setup packages
152    
153            * thuban.py :
154                    - gdal support for win32 inno installation
155    
156    2006-10-10 Didrik Pinte <[email protected]>
157    
158            * Thuban/Model/layer.py (Layer.GetLabelPosFromShape): new method
159            extracted from Thuban/UI/viewport.py
160            * Thuban/UI/viewport.py (Viewport.LabelShapeAt): uses new method
161    
162    2006-09-28 Didrik Pinte <[email protected]>
163    
164            * Thuban/UI/classgen.py: bugfix due to wx2.6 update
165    
166            * Thuban/UI/view.py: removed non needed declaration
167    
168            * Thuban/UI/selection.py : typo correction
169    
170    2006-09-24 Bernhard Reiter <[email protected]>
171    
172            * Thuban/Model/proj.py(_do_we_have_to_work_around_broken_proj):
173            Making the test more robust for observed python 2.3 problems
174            with setlocale().
175    
176            * test/runtests.py: Added new option ---setdecimalcommalocale
177            to run all tests with an LC_NUMERIC that uses comma as decimal_point.
178            Minor: Added (c) year 2006. Fixed typo in a docstring.
179    
180            * test/test_transientdb.py: Minor: Added (c) year 2006. Fixed typo in
181            a docstring.
182    
183    2006-09-23 Bernhard Reiter <[email protected]>
184    
185            * Extensions/ogr/test/test_OGRShapestore.py: fixed skip_if_no_ogr()
186            and added it to TestOGRTable.setUp() so that all tests get skipped
187            if ogr cannot be imported. Added (c) year 2006.
188    
189    2006-09-18 Didrik Pinte <[email protected]>
190            
191            * wxPython 2.6 update : wx 2.4 syntax has been updated to 2.6
192            
193    2006-09-18 Bernhard Reiter <[email protected]>
194    
195            Fixed proj behaviour with python >=2.4 when decimal_point != '.'.
196    
197            * Thuban/UI/application.py: Fixed warning dialog when gdal is missing.
198    
199            * test/test_proj.py: new test_lc_numeric_robustness(). Added author
200            Bernhard Reiter and new copyright year 2006.
201    
202            * Thuban/Model/proj.py: New _do_we_have_to_work_around_broken_proj()
203            and Projection.assuregoodlocale(), Projection.assureinitlocale().
204            Added author Bernhard Reiter and (c) 2006.
205    
206    2006-09-15 Bernhard Reiter <[email protected]>
207    
208            * README: added RXP and pyRXP as optional for tests.
209    
210            * test/localessupport.py: New. Contains a helper function
211            to find a locale with comma used as decimal_point.
212    
213    2006-08-31 Bernhard Reiter <[email protected]>
214    
215            * README: fixed URLs to sqlite and pysqlite.
216    
217            * Thuban/UI/about.py: Added Didrik Pinte as contributor. Extended
218              copyright range to include 2006.
219    
220    2006-06-29 Didrik Pinte <[email protected]>
221    
222            * Thuban/UI/main.py: circular import fix.
223    
224    2006-06-27 Frank Koormann <[email protected]>
225    
226            New Classification "Pattern": Classify text attributes by regexp.
227    
228            * Thuban/Model/classification.py (class ClassGroupPattern):
229            New, group is associated with a regular expression.
230            (Classification._compile_classification): Store compiled regexp and
231            original group for pattern.
232            (Classification.FindGroup): Added pattern.
233    
234            * Thuban/UI/classifier.py
235            (ClassGrid._OnLabelRightClicked, ClassGrid.labelPopup):
236            New, add popup to select singleton/pattern.
237            (ClassTable.GetRowLabelValue, ClassTable.GetValueAsCustom,
238            ClassTable.SetValueAsCustom): Added pattern.
239            (ClassTable.__ParseInput): Autodetect singleton/pattern.
240    
241            * Thuban/Model/save.py (SessionSaver.write_classification):
242            Added pattern.
243    
244            * Thuban/Model/load.py (SessionLoader.start_clpattern,
245            SessionLoader.end_clpattern): New, process pattern elements.
246    
247            * test/test_classification.py (class TestClassGroupPattern): New.
248            (TestClassification.test_add_pattern,
249            TestClassification.test_multiple_groups_textual,
250            TestClassification.test_deepcopy_textual): New.
251            (TestClassification.test_multiple_groups_numerical):
252            Renamed test_multiple_groups.
253            (TestClassification.test_deepcopy_numerical): Renamed test_deepcopy.
254    
255            * test/test_save.py (SaveSessionTest.testClassifiedLayer):
256            Added pattern.
257    
258            * test/test_load.py (ClassificationTest.TestLayers, TestClassification):
259            Added pattern.
260    
261            * test/test_layer.py
262            (TestLayerModification.test_set_classification_textual): New
263            (TestLayerModification.test_set_classification_numerical):
264            Renamed test_set_classification.
265    
266            * Doc/manual/thuban-manual.xml: Added pattern to layer classification
267            description.
268    
269            * Resources/XML/thuban-1.1.dtd: Added clpattern element and attribs.
270    
271    2006-06-29 Didrik Pinte <[email protected]>
272    
273            * Thuban/version.py: Bugfix determination of SQLite, the wright one !
274              
275    2006-06-28 Didrik Pinte <[email protected]>
276    
277            * packaging/windows/thubanstart.py: sample file loading all the stable
278            extensions
279            
280    2006-06-28 Didrik Pinte <[email protected]>
281    
282            * Thuban/version.py: Bugfix determination of SQLite on old and recent
283            systems (support pysqlite1 and pysqlite2)
284    
285    2006-06-27 Frank Koormann <[email protected]>
286    
287            * Thuban/version.py: Bugfix determination of SQLite on old systems.
288    
289    2006-05-17 Didrik Pinte <[email protected]>
290            * Extensions/ogr/__init__.py : updated test for win32 and correct
291            imports
292    
293    2006-05-15 Didrik Pinte <[email protected]>
294            Ashamed ... still some tabs in the files
295    
296            * Thuban/version.py : tabs removed      
297            * Thuban/Model/transientdb.py : tabs removed
298    
299    2006-05-15 Didrik Pinte <[email protected]>
300    
301            * Thuban/version.py : coding style correction  
302            * Thuban/Model/transientdb.py : coding style correction
303    
304    2006-05-15 Didrik Pinte <[email protected]>
305    
306            * Thuban/version.py : Updated imports to support pysqlite2
307    
308            * Thuban/Model/transientdb.py : Updated imports to support pysqlite2
309            Patched the querying system to support the param style of pysqlite2
310    
311    2006-04-24 Didrik Pinte <[email protected]>
312    
313            * Extensions/svgexport/__init__.py: The extension now works on win32
314            architecture. Bug #87 corrected.
315    
316    2006-04-20 Bernhard Reiter <[email protected]>
317    
318            * Doc/technotes/coding_guidelines.txt: Changed text from CVS to SVN.
319            Removed emacs specific hint and replaced it with a general hint
320            that editors might support writing changelogs.
321    
322    2006-04-12 Bernhard Reiter <[email protected]>
323    
324            * Thuban/version.py: Changed thuban_release mechanism to use "svn"
325            instead of "cvs".
326    
327    2006-03-31  Bernhard Reiter <[email protected]>
328    
329            * libraries/thuban/wxproj.cpp: including proj_api.h instead of
330            projects.h now. According the Frank Warmerdam and man pj_init
331            this is the public interface to proj. Thus I have changed PJ to projPJ.
332            And I could remove the hack to avoid clashes with typedef PVALUE
333            and #define LP in projects.h clashing with symbols when trying to
334            build on windows. The file is cleaner and nicer now.
335    
336    2006-03-29  Bernhard Reiter <[email protected]>
337    
338            * libraries/thuban/wxproj.cpp: undef LP to avoid clash when
339            trying to build with mingw.
340    
341    2005-10-18  Bernhard Reiter <[email protected]>
342    
343            * Thuban/UI/about.py: remove unused import of getdefaultlocale.
344            Added display of internal encoding to the about dialog text.
345    
346            * Extensions/svgexport/__init__.py: changed version to "1.0.0+cvs".
347    
348    2005-10-18  Bernhard Reiter <[email protected]>
349    
350            Startup improved: We fail right away if the internal encoding could
351            not be determined.
352    
353            * Thuban/__init__.py (get_internal_encoding): new.
354    
355            * test/test_stringrepresentation.py (class TestInternalEncoding):
356            Preserve the internal encoding for the tests in this class.
357    
358    2005-10-17  Bernhard Reiter <[email protected]>
359    
360            * test/test_stringrepresentation.py: New file, for now testing
361            that set_internal_coding() is throwing an exception for bad exceptions.
362    
363            * Thuban/__init__.py (set_internal_encoding): added a forwards
364            and backward translation, so that we fail early if the
365            internal_encoding is bad.
366    
367    2005-10-17  Bernhard Reiter <[email protected]>
368    
369            svgexport 1.0.0cvs: Fixed ARC layer writing: No filling is done.
370            You could actually get polylines with filling in between,
371            when the classification for the lines had a fill color.
372            E.g. this happens when you generate a classification from a ramp.
373    
374            * Extensions/svgexport/test/test_svgmapwriter.py:
375            New test_export_arc_no_fill(). Extend copyright notice to 2005.
376    
377            * Extensions/svgexport/svgmapwriter.py
378            (SVGRenderer.draw_shape_layer_incrementally()):
379            Setting TRANSPARENT_BRUSH for shaptype ARC.
380            Extend copyright notice to 2005.
381    
382            * Extensions/svgexport/__init__.py: Extend copyright notice to 2005.
383    
384    2005-09-08  Frank Koormann <[email protected]>
385    
386            * Doc/manual/thuban-manual.xml (Map Management): Fixed typo reported
387            by Erik (sigra.at.home.se)
388    
389    2005-08-18  Jan-Oliver Wagner <[email protected]>
390    
391            * Thuban/UI/renderer.py (ScreenRenderer.draw_selection_incrementally):
392            Call the right method for the default size.
393    
394    2005-08-11  Jan-Oliver Wagner <[email protected]>
395    
396            * Extensions/export_shapefile: New.
397    
398            * Extensions/export_shapefile/__init__.py: New. Initialize
399            the export_shapefile extension.
400    
401            * Extensions/export_shapefile/export_shapefile.py: New.
402            Exports a layer as a Shapefile.
403    
404    2005-08-08  Jan-Oliver Wagner <[email protected]>
405    
406            * po/de.po: String fixes. This fixes Debian bug #313843.
407    
408    2005-07-27  Jan-Oliver Wagner <[email protected]>
409    
410            Remove the attributes from the layer element in
411            .thuban files for the save routine.
412            This also solves RT bug #3149,
413            https://intevation.de/rt/webrt?serial_num=3149
414    
415            * test/test_load.py: (TestSingleLayer, TestNonAsciiColumnName,
416            TestLayerVisibility, TestSymbolSize, TestClassification, TestLabels,
417            TestLayerProjection, TestJoinedTable, TestLabelLayer): Removed
418            attributes from layer element to classification clnull element.
419    
420            * test/test_save.py (SaveSessionTest.testSingleLayer,
421            SaveSessionTest.testLayerProjection,
422            SaveSessionTest.testClassifiedLayer,
423            SaveSessionTest.test_joined_table, SaveSessionTest.test_save_postgis):
424            Removed attributes from layer element to classification clnull element.
425            (test_save_postgis.NonConnectionStore._fetch_table_information):
426            added pretending to have a shape_type.
427    
428            * Resources/XML/thuban-1.1.dtd: Make the attributes field
429            and field_type of classification optional.
430    
431            * Thuban/Model/classification.py (Classification.TreeItem.build_info):
432            Added output of size.
433    
434            * Thuban/Model/load.py (SessionLoader.start_classification):
435            Change attribute 'field' and 'field_type' from obligatory to
436            optional to allow empty classes (ie.  only with a default=clnull).
437    
438            * Thuban/Model/save.py (SessionSaver.write_layer): Don't write
439            any attributes anymore for the layer element.
440            (SessionSaver.write_classification): Even if there is no
441            classification field, still write the classification because
442            the clnull (default) symbol will not be defined anymore as
443            part of the layer element.
444    
445    2005-07-05  Bernhard Herzog  <[email protected]>
446    
447            * setup.py (setup call): Version 1.1.0
448    
449            * NEWS: Update for 1.1.0
450    
451            * MANIFEST.in: Add *.txt to files taken from Doc.  Otherwise the
452            technores won't be included
453    
454            * Thuban/UI/about.py (About.__init__): Extend copyright notice to
455            2005
456    
457            * po/de.po: Updated.
458    
459    2005-07-05  Bernhard Herzog  <[email protected]>
460    
461            * README: gdal 1.1.8 is too old.  1.2.5 works.
462    
463    2005-07-05  Bernhard Herzog  <[email protected]>
464    
465            * Resources/XML/thuban-1.1.dtd (rasterlayer): Add the opacity and
466            masktype attributes.
467    
468    2005-07-05  Bernhard Herzog  <[email protected]>
469    
470            * Thuban/Model/layer.py (Layer.__mangle_bounding_box)
471            (Layer.ClipBoundingBox): Rename ClipBoundingBox to
472            __mangle_bounding_box.  See the comments in the code and RT #2845
473    
474            * test/test_layer.py (TestLayer.test_arc_layer_with_projection):
475            Remove the explicit test of ClipBoundingBox.  The method isn't
476            public anymore and the direct call in the test wasn't necessary in
477            the first place.  If ClipBoundingBox (now __mangle_bounding_box)
478            isn't called, the return value of ShapesInRegion will be
479            different.
480    
481    2005-07-05  Bernhard Herzog  <[email protected]>
482    
483            * Thuban/UI/viewport.py (ViewPort.set_view_transform): Handle
484            ZeroDivisionError exceptions.  I don't know when they happen
485            exactly.  It probably happens when the projections aren't set
486            properly.
487    
488    2005-07-01  Bernhard Herzog  <[email protected]>
489    
490            First step towards unicode.  With this roughly we're at step 1
491            string_representation.txt
492    
493            * Doc/technotes/string_representation.txt: New.  Document how
494            strings are represented in Thuban and how to get to a Unicode
495            Thuban.
496    
497            * Thuban/__init__.py (set_internal_encoding)
498            (unicode_from_internal, internal_from_unicode): New. The first few
499            functions for the internal string representation
500    
501            * Thuban/UI/about.py (unicodeToLocale): Removed.  Use
502            internal_from_unicode instead.
503    
504            * Thuban/UI/__init__.py (install_wx_translation): Determine the
505            encoding to use for the internal string representation.  Also,
506            change the translation function to return strings in internal
507            representation even on unicode builds of wxPython
508    
509            * Thuban/Model/load.py (SessionLoader.check_attrs): Decode
510            filenames too.
511            (SessionLoader.start_clrange): Use check_attrs to decode and check
512            the attributes.
513    
514            * Thuban/Model/xmlreader.py (XMLReader.encode): Use
515            internal_from_unicode to convert unicode strings.
516    
517            * Thuban/Model/xmlwriter.py (XMLWriter.encode): Use
518            unicode_from_internal when applicable
519    
520            * test/runtests.py (main): New command line option:
521            internal-encoding to specify the internal string encoding to use
522            in the tests.
523    
524            * test/support.py (initthuban): Set the internal encoding to
525            latin-1
526    
527            * test/test_load.py (TestSingleLayer.test, TestClassification.test)
528            (TestLabelLayer.test): Use the internal string representation when
529            dealing with non-ascii characters
530    
531            * test/test_load_1_0.py (TestSingleLayer.test)
532            (TestClassification.test, TestLabelLayer.test): Use the internal
533            string representation when dealing with non-ascii characters
534    
535            * test/test_load_0_9.py (TestSingleLayer.test)
536            (TestClassification.test): Use the internal string representation
537            when dealing with non-ascii characters
538    
539            * test/test_load_0_8.py (TestUnicodeStrings.test): Use the
540            internal string representation when dealing with non-ascii
541            characters
542    
543            * test/test_save.py (XMLWriterTest.testEncode)
544            (SaveSessionTest.testClassifiedLayer): Use the internal string
545            representation when dealing with non-ascii characters where
546            applicable
547    
548    2005-06-30  Bernhard Herzog  <[email protected]>
549    
550            * test/runtests.py: Untabify.
551    
552    2005-06-30  Bernhard Herzog  <[email protected]>
553    
554            * Thuban/UI/renderer.py (ScreenRenderer.draw_selection_incrementally):
555            untabify.
556    
557    2005-06-30  Bernhard Herzog  <[email protected]>
558    
559            * Extensions/ogr/test/__init__.py: Add missing coding directive
560    
561    2005-06-28  Jan-Oliver Wagner <[email protected]>
562    
563            * Thuban/UI/renderer.py (ScreenRenderer.draw_selection_incrementally):
564            Use the default size for rendering selected items of default type.
565            Fixes part 2 of https://intevation.de/rt/webrt?serial_num=3149
566    
567    2005-06-28  Jan-Oliver Wagner <[email protected]>
568    
569            * Extensions/importAPR/apr.py (APR_BShSym): Extend by 'Stripple'.
570            (APR_TClr.GetThubanColor): Fix bug in color interpretation.
571            Thanks to Frank Koormann who identified this problem.
572    
573            * Extensions/importAPR/importAPR.py (APR_VShSym): New. Just
574            another symbol identified.
575    
576    2005-06-27  Jan-Oliver Wagner <[email protected]>
577    
578            * Doc/manual/thuban-manual-de.xml: More translations.
579    
580    2005-05-12  Jonathan Coles <[email protected]>
581            
582            * Thuban/UI/projdialog.py: Add missing import, which led to an
583            exception when opening a layer's projection.
584    
585    2005-05-09  Bernhard Herzog  <[email protected]>
586    
587            * test/support.py (FileLoadTestCase.filename): Fix doc-string.
588    
589    2005-05-09  Bernhard Herzog  <[email protected]>
590    
591            * Thuban/Model/postgisdb.py (PostGISConnection.connect): Set the
592            connection to autoconnect.  Fixes RT#3148.
593    
594            * test/test_postgis_db.py
595            (TestPostGISSpecialCases.test_simple_error_handling): New test
596            that attempts to reproduce RT#3148.
597    
598    2005-05-06  Jonathan Coles <[email protected]>
599    
600            Add support for saving and loading the opacity and mask type
601            properties of RasterLayers. Also add support for proper use
602            of alpha information while drawing images not in 'RAW' format.
603            If transparency in an image format (e.g, PNG) is supported by
604            wxWidgets then the image would previously have been draw with
605            transparent regions, but the opaque regions would have been
606            unaffected by a change in the layer's opacity. This patch
607            corrects the problem.
608    
609            * Thuban/Model/layer.py (RasterLayer): Added opacity and
610            masktype parameters to the constructor, and set the
611            appropriate variables to those values.
612    
613            * Thuban/Model/load.py (SessionLoader.start_rasterlayer): Added
614            code to read the opacity and mask type of the layer and construct
615            a new layer with the additional parameters.
616    
617            * Thuban/Model/save.py (SessionSaver.write_layer): Added code
618            to save the opacity and mask type of a layer.
619    
620            * Thuban/UI/baserenderer.py (BaseRenderer.draw_raster_layer): Pass
621            the opacity of the layer to draw_raster_data rather than the layer.
622            (BaseRenderer.draw_raster_data): Remove the layer parameter because
623            the function doesn't need to know about the layer. Add the optional
624            opacity parameter whose default is 1.0. Add 'PNG' as a supported
625            graphics format.
626    
627            * Thuban/UI/renderer.py (MapRenderer.draw_raster_data): Fixed
628            signature to match that in BaseRenderer. Use the new opacity argument
629            in place of calling layer.Opacity(). In the case where the
630            format is not 'RAW', alpha_data is None and the loaded image has
631            alpha information, use the file's alpha information. This is
632            still subject to the layer's opacity setting.
633    
634            * test/test_baserenderer.py (SimpleRenderer.draw_raster_data):
635            Fixed signature to match that in BaseRenderer.
636    
637            * test/test_load.py (TestRasterLayer): Change file_contents to
638            include opacity and masktype variables.
639            (TestRasterLayer.test): Include tests for opacity and masktype
640            changes.
641    
642            * test/test_save.py (SaveSessionTest.testRasterLayer): Restructure
643            test to cover a variety of combinations of masktype and opacity
644            settings.
645    
646  2005-05-02  Jan-Oliver Wagner <[email protected]>  2005-05-02  Jan-Oliver Wagner <[email protected]>
647    
648          * debian/rules: add --use-wx-python-swig-hack          * debian/rules: add --use-wx-python-swig-hack
# Line 63  Line 708 
708    
709  2005-04-23  Russell Nelson  <[email protected]>  2005-04-23  Russell Nelson  <[email protected]>
710    
711          * Changed the way the previous tool is remembered, so that          * Thuban/UI/view.py (MapCanvas.OnMiddle{Up,Down}): Changed the
712          middle-button panning works even if you haven't selected a tool.          way the previous tool is remembered, so that middle-button
713            panning works even if you haven't selected a tool.
714    
715  2005-04-11  Bernhard Herzog  <[email protected]>  2005-04-11  Bernhard Herzog  <[email protected]>
716    
# Line 1158  Line 1804 
1804    
1805          * Thuban/UI/about.py (About.__init__): Added          * Thuban/UI/about.py (About.__init__): Added
1806          Norbert Solymosi for hungarian translation and Ole Rahn          Norbert Solymosi for hungarian translation and Ole Rahn
1807          as contrbutor. Moved Bernhard Reiter from Contributor          as contributor. Moved Bernhard Reiter from Contributor
1808          to Developer.          to Developer.
1809    
1810  2004-11-27  Bernhard Reiter <[email protected]>  2004-11-27  Bernhard Reiter <[email protected]>

Legend:
Removed from v.2612  
changed lines
  Added in v.2729

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26