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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26