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

Legend:
Removed from v.2585  
changed lines
  Added in v.2716

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26