/[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

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

Legend:
Removed from v.2571  
changed lines
  Added in v.2742

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26