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

Legend:
Removed from v.2572  
changed lines
  Added in v.2721

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26