/[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 2612 by jan, Mon May 2 16:24:19 2005 UTC revision 2664 by jan, Mon Aug 8 18:39:59 2005 UTC
# Line 1  Line 1 
1    2005-08-08  Jan-Oliver Wagner <[email protected]>
2    
3            * po/de.po: String fixes. This fixes Debian bug #313843.
4    
5    2005-07-27  Jan-Oliver Wagner <[email protected]>
6    
7            Remove the attributes from the layer element in
8            .thuban files for the save routine.
9            This also solves RT bug #3149,
10            https://intevation.de/rt/webrt?serial_num=3149
11    
12            * test/test_load.py: (TestSingleLayer, TestNonAsciiColumnName,
13            TestLayerVisibility, TestSymbolSize, TestClassification, TestLabels,
14            TestLayerProjection, TestJoinedTable, TestLabelLayer): Removed
15            attributes from layer element to classification clnull element.
16    
17            * test/test_save.py (SaveSessionTest.testSingleLayer,
18            SaveSessionTest.testLayerProjection,
19            SaveSessionTest.testClassifiedLayer,
20            SaveSessionTest.test_joined_table, SaveSessionTest.test_save_postgis):
21            Removed attributes from layer element to classification clnull element.
22            (test_save_postgis.NonConnectionStore._fetch_table_information):
23            added pretending to have a shape_type.
24    
25            * Resources/XML/thuban-1.1.dtd: Make the attributes field
26            and field_type of classification optional.
27    
28            * Thuban/Model/classification.py (Classification.TreeItem.build_info):
29            Added output of size.
30    
31            * Thuban/Model/load.py (SessionLoader.start_classification):
32            Change attribute 'field' and 'field_type' from obligatory to
33            optional to allow empty classes (ie.  only with a default=clnull).
34    
35            * Thuban/Model/save.py (SessionSaver.write_layer): Don't write
36            any attributes anymore for the layer element.
37            (SessionSaver.write_classification): Even if there is no
38            classification field, still write the classification because
39            the clnull (default) symbol will not be defined anymore as
40            part of the layer element.
41    
42    2005-07-05  Bernhard Herzog  <[email protected]>
43    
44            * setup.py (setup call): Version 1.1.0
45    
46            * NEWS: Update for 1.1.0
47    
48            * MANIFEST.in: Add *.txt to files taken from Doc.  Otherwise the
49            technores won't be included
50    
51            * Thuban/UI/about.py (About.__init__): Extend copyright notice to
52            2005
53    
54            * po/de.po: Updated.
55    
56    2005-07-05  Bernhard Herzog  <[email protected]>
57    
58            * README: gdal 1.1.8 is too old.  1.2.5 works.
59    
60    2005-07-05  Bernhard Herzog  <[email protected]>
61    
62            * Resources/XML/thuban-1.1.dtd (rasterlayer): Add the opacity and
63            masktype attributes.
64    
65    2005-07-05  Bernhard Herzog  <[email protected]>
66    
67            * Thuban/Model/layer.py (Layer.__mangle_bounding_box)
68            (Layer.ClipBoundingBox): Rename ClipBoundingBox to
69            __mangle_bounding_box.  See the comments in the code and RT #2845
70    
71            * test/test_layer.py (TestLayer.test_arc_layer_with_projection):
72            Remove the explicit test of ClipBoundingBox.  The method isn't
73            public anymore and the direct call in the test wasn't necessary in
74            the first place.  If ClipBoundingBox (now __mangle_bounding_box)
75            isn't called, the return value of ShapesInRegion will be
76            different.
77    
78    2005-07-05  Bernhard Herzog  <[email protected]>
79    
80            * Thuban/UI/viewport.py (ViewPort.set_view_transform): Handle
81            ZeroDivisionError exceptions.  I don't know when they happen
82            exactly.  It probably happens when the projections aren't set
83            properly.
84    
85    2005-07-01  Bernhard Herzog  <[email protected]>
86    
87            First step towards unicode.  With this roughly we're at step 1
88            string_representation.txt
89    
90            * Doc/technotes/string_representation.txt: New.  Document how
91            strings are represented in Thuban and how to get to a Unicode
92            Thuban.
93    
94            * Thuban/__init__.py (set_internal_encoding)
95            (unicode_from_internal, internal_from_unicode): New. The first few
96            functions for the internal string representation
97    
98            * Thuban/UI/about.py (unicodeToLocale): Removed.  Use
99            internal_from_unicode instead.
100    
101            * Thuban/UI/__init__.py (install_wx_translation): Determine the
102            encoding to use for the internal string representation.  Also,
103            change the translation function to return strings in internal
104            representation even on unicode builds of wxPython
105    
106            * Thuban/Model/load.py (SessionLoader.check_attrs): Decode
107            filenames too.
108            (SessionLoader.start_clrange): Use check_attrs to decode and check
109            the attributes.
110    
111            * Thuban/Model/xmlreader.py (XMLReader.encode): Use
112            internal_from_unicode to convert unicode strings.
113    
114            * Thuban/Model/xmlwriter.py (XMLWriter.encode): Use
115            unicode_from_internal when applicable
116    
117            * test/runtests.py (main): New command line option:
118            internal-encoding to specify the internal string encoding to use
119            in the tests.
120    
121            * test/support.py (initthuban): Set the internal encoding to
122            latin-1
123    
124            * test/test_load.py (TestSingleLayer.test, TestClassification.test)
125            (TestLabelLayer.test): Use the internal string representation when
126            dealing with non-ascii characters
127    
128            * test/test_load_1_0.py (TestSingleLayer.test)
129            (TestClassification.test, TestLabelLayer.test): Use the internal
130            string representation when dealing with non-ascii characters
131    
132            * test/test_load_0_9.py (TestSingleLayer.test)
133            (TestClassification.test): Use the internal string representation
134            when dealing with non-ascii characters
135    
136            * test/test_load_0_8.py (TestUnicodeStrings.test): Use the
137            internal string representation when dealing with non-ascii
138            characters
139    
140            * test/test_save.py (XMLWriterTest.testEncode)
141            (SaveSessionTest.testClassifiedLayer): Use the internal string
142            representation when dealing with non-ascii characters where
143            applicable
144    
145    2005-06-30  Bernhard Herzog  <[email protected]>
146    
147            * test/runtests.py: Untabify.
148    
149    2005-06-30  Bernhard Herzog  <[email protected]>
150    
151            * Thuban/UI/renderer.py (ScreenRenderer.draw_selection_incrementally):
152            untabify.
153    
154    2005-06-30  Bernhard Herzog  <[email protected]>
155    
156            * Extensions/ogr/test/__init__.py: Add missing coding directive
157    
158    2005-06-28  Jan-Oliver Wagner <[email protected]>
159    
160            * Thuban/UI/renderer.py (ScreenRenderer.draw_selection_incrementally):
161            Use the default size for rendering selected items of default type.
162            Fixes part 2 of https://intevation.de/rt/webrt?serial_num=3149
163    
164    2005-06-28  Jan-Oliver Wagner <[email protected]>
165    
166            * Extensions/importAPR/apr.py (APR_BShSym): Extend by 'Stripple'.
167            (APR_TClr.GetThubanColor): Fix bug in color interpretation.
168            Thanks to Frank Koormann who identified this problem.
169    
170            * Extensions/importAPR/importAPR.py (APR_VShSym): New. Just
171            another symbol identified.
172    
173    2005-06-27  Jan-Oliver Wagner <[email protected]>
174    
175            * Doc/manual/thuban-manual-de.xml: More translations.
176    
177    2005-05-12  Jonathan Coles <[email protected]>
178            
179            * Thuban/UI/projdialog.py: Add missing import, which led to an
180            exception when opening a layer's projection.
181    
182    2005-05-09  Bernhard Herzog  <[email protected]>
183    
184            * test/support.py (FileLoadTestCase.filename): Fix doc-string.
185    
186    2005-05-09  Bernhard Herzog  <[email protected]>
187    
188            * Thuban/Model/postgisdb.py (PostGISConnection.connect): Set the
189            connection to autoconnect.  Fixes RT#3148.
190    
191            * test/test_postgis_db.py
192            (TestPostGISSpecialCases.test_simple_error_handling): New test
193            that attempts to reproduce RT#3148.
194    
195    2005-05-06  Jonathan Coles <[email protected]>
196    
197            Add support for saving and loading the opacity and mask type
198            properties of RasterLayers. Also add support for proper use
199            of alpha information while drawing images not in 'RAW' format.
200            If transparency in an image format (e.g, PNG) is supported by
201            wxWidgets then the image would previously have been draw with
202            transparent regions, but the opaque regions would have been
203            unaffected by a change in the layer's opacity. This patch
204            corrects the problem.
205    
206            * Thuban/Model/layer.py (RasterLayer): Added opacity and
207            masktype parameters to the constructor, and set the
208            appropriate variables to those values.
209    
210            * Thuban/Model/load.py (SessionLoader.start_rasterlayer): Added
211            code to read the opacity and mask type of the layer and construct
212            a new layer with the additional parameters.
213    
214            * Thuban/Model/save.py (SessionSaver.write_layer): Added code
215            to save the opacity and mask type of a layer.
216    
217            * Thuban/UI/baserenderer.py (BaseRenderer.draw_raster_layer): Pass
218            the opacity of the layer to draw_raster_data rather than the layer.
219            (BaseRenderer.draw_raster_data): Remove the layer parameter because
220            the function doesn't need to know about the layer. Add the optional
221            opacity parameter whose default is 1.0. Add 'PNG' as a supported
222            graphics format.
223    
224            * Thuban/UI/renderer.py (MapRenderer.draw_raster_data): Fixed
225            signature to match that in BaseRenderer. Use the new opacity argument
226            in place of calling layer.Opacity(). In the case where the
227            format is not 'RAW', alpha_data is None and the loaded image has
228            alpha information, use the file's alpha information. This is
229            still subject to the layer's opacity setting.
230    
231            * test/test_baserenderer.py (SimpleRenderer.draw_raster_data):
232            Fixed signature to match that in BaseRenderer.
233    
234            * test/test_load.py (TestRasterLayer): Change file_contents to
235            include opacity and masktype variables.
236            (TestRasterLayer.test): Include tests for opacity and masktype
237            changes.
238    
239            * test/test_save.py (SaveSessionTest.testRasterLayer): Restructure
240            test to cover a variety of combinations of masktype and opacity
241            settings.
242    
243  2005-05-02  Jan-Oliver Wagner <[email protected]>  2005-05-02  Jan-Oliver Wagner <[email protected]>
244    
245          * debian/rules: add --use-wx-python-swig-hack          * debian/rules: add --use-wx-python-swig-hack
# Line 63  Line 305 
305    
306  2005-04-23  Russell Nelson  <[email protected]>  2005-04-23  Russell Nelson  <[email protected]>
307    
308          * Changed the way the previous tool is remembered, so that          * Thuban/UI/view.py (MapCanvas.OnMiddle{Up,Down}): Changed the
309          middle-button panning works even if you haven't selected a tool.          way the previous tool is remembered, so that middle-button
310            panning works even if you haven't selected a tool.
311    
312  2005-04-11  Bernhard Herzog  <[email protected]>  2005-04-11  Bernhard Herzog  <[email protected]>
313    

Legend:
Removed from v.2612  
changed lines
  Added in v.2664

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26