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

Legend:
Removed from v.2587  
changed lines
  Added in v.2727

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26