/[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 2604 by joey, Tue Apr 26 15:05:19 2005 UTC revision 2674 by bernhard, Wed Oct 19 08:56:47 2005 UTC
# Line 1  Line 1 
1    2005-10-18  Bernhard Reiter <[email protected]>
2    
3            * Thuban/UI/about.py: remove unused import of getdefaultlocale.
4            Added display of internal encoding to the about dialog text.
5    
6            * Extensions/svgexport/__init__.py: changed version to "1.0.0+cvs".
7    
8    2005-10-18  Bernhard Reiter <[email protected]>
9    
10            Startup improved: We fail right away if the internal encoding could
11            not be determined.
12    
13            * Thuban/__init__.py (get_internal_encoding): new.
14    
15            * test/test_stringrepresentation.py (class TestInternalEncoding):
16            Preserve the internal encoding for the tests in this class.
17    
18    2005-10-17  Bernhard Reiter <[email protected]>
19    
20    
21            * test/test_stringrepresentation.py: New file, for now testing
22            that set_internal_coding() is throwing an exception for bad exceptions.
23    
24            * Thuban/__init__.py (set_internal_encoding): added a forwards
25            and backward translation, so that we fail early if the
26            internal_encoding is bad.
27    
28    2005-10-17  Bernhard Reiter <[email protected]>
29    
30            svgexport 1.0.0cvs: Fixed ARC layer writing: No filling is done.
31            You could actually get polylines with filling in between,
32            when the classification for the lines had a fill color.
33            E.g. this happens when you generate a classification from a ramp.
34    
35            * Extensions/svgexport/test/test_svgmapwriter.py:
36            New test_export_arc_no_fill(). Extend copyright notice to 2005.
37    
38            * Extensions/svgexport/svgmapwriter.py
39            (SVGRenderer.draw_shape_layer_incrementally()):
40            Setting TRANSPARENT_BRUSH for shaptype ARC.
41            Extend copyright notice to 2005.
42    
43            * Extensions/svgexport/__init__.py: Extend copyright notice to 2005.
44    
45    2005-09-08  Frank Koormann <[email protected]>
46    
47            * Doc/manual/thuban-manual.xml (Map Management): Fixed typo reported
48            by Erik (sigra.at.home.se)
49    
50    2005-08-18  Jan-Oliver Wagner <[email protected]>
51    
52            * Thuban/UI/renderer.py (ScreenRenderer.draw_selection_incrementally):
53            Call the right method for the default size.
54    
55    2005-08-11  Jan-Oliver Wagner <[email protected]>
56    
57            * Extensions/export_shapefile: New.
58    
59            * Extensions/export_shapefile/__init__.py: New. Initialize
60            the export_shapefile extension.
61    
62            * Extensions/export_shapefile/export_shapefile.py: New.
63            Exports a layer as a Shapefile.
64    
65    2005-08-08  Jan-Oliver Wagner <[email protected]>
66    
67            * po/de.po: String fixes. This fixes Debian bug #313843.
68    
69    2005-07-27  Jan-Oliver Wagner <[email protected]>
70    
71            Remove the attributes from the layer element in
72            .thuban files for the save routine.
73            This also solves RT bug #3149,
74            https://intevation.de/rt/webrt?serial_num=3149
75    
76            * test/test_load.py: (TestSingleLayer, TestNonAsciiColumnName,
77            TestLayerVisibility, TestSymbolSize, TestClassification, TestLabels,
78            TestLayerProjection, TestJoinedTable, TestLabelLayer): Removed
79            attributes from layer element to classification clnull element.
80    
81            * test/test_save.py (SaveSessionTest.testSingleLayer,
82            SaveSessionTest.testLayerProjection,
83            SaveSessionTest.testClassifiedLayer,
84            SaveSessionTest.test_joined_table, SaveSessionTest.test_save_postgis):
85            Removed attributes from layer element to classification clnull element.
86            (test_save_postgis.NonConnectionStore._fetch_table_information):
87            added pretending to have a shape_type.
88    
89            * Resources/XML/thuban-1.1.dtd: Make the attributes field
90            and field_type of classification optional.
91    
92            * Thuban/Model/classification.py (Classification.TreeItem.build_info):
93            Added output of size.
94    
95            * Thuban/Model/load.py (SessionLoader.start_classification):
96            Change attribute 'field' and 'field_type' from obligatory to
97            optional to allow empty classes (ie.  only with a default=clnull).
98    
99            * Thuban/Model/save.py (SessionSaver.write_layer): Don't write
100            any attributes anymore for the layer element.
101            (SessionSaver.write_classification): Even if there is no
102            classification field, still write the classification because
103            the clnull (default) symbol will not be defined anymore as
104            part of the layer element.
105    
106    2005-07-05  Bernhard Herzog  <[email protected]>
107    
108            * setup.py (setup call): Version 1.1.0
109    
110            * NEWS: Update for 1.1.0
111    
112            * MANIFEST.in: Add *.txt to files taken from Doc.  Otherwise the
113            technores won't be included
114    
115            * Thuban/UI/about.py (About.__init__): Extend copyright notice to
116            2005
117    
118            * po/de.po: Updated.
119    
120    2005-07-05  Bernhard Herzog  <[email protected]>
121    
122            * README: gdal 1.1.8 is too old.  1.2.5 works.
123    
124    2005-07-05  Bernhard Herzog  <[email protected]>
125    
126            * Resources/XML/thuban-1.1.dtd (rasterlayer): Add the opacity and
127            masktype attributes.
128    
129    2005-07-05  Bernhard Herzog  <[email protected]>
130    
131            * Thuban/Model/layer.py (Layer.__mangle_bounding_box)
132            (Layer.ClipBoundingBox): Rename ClipBoundingBox to
133            __mangle_bounding_box.  See the comments in the code and RT #2845
134    
135            * test/test_layer.py (TestLayer.test_arc_layer_with_projection):
136            Remove the explicit test of ClipBoundingBox.  The method isn't
137            public anymore and the direct call in the test wasn't necessary in
138            the first place.  If ClipBoundingBox (now __mangle_bounding_box)
139            isn't called, the return value of ShapesInRegion will be
140            different.
141    
142    2005-07-05  Bernhard Herzog  <[email protected]>
143    
144            * Thuban/UI/viewport.py (ViewPort.set_view_transform): Handle
145            ZeroDivisionError exceptions.  I don't know when they happen
146            exactly.  It probably happens when the projections aren't set
147            properly.
148    
149    2005-07-01  Bernhard Herzog  <[email protected]>
150    
151            First step towards unicode.  With this roughly we're at step 1
152            string_representation.txt
153    
154            * Doc/technotes/string_representation.txt: New.  Document how
155            strings are represented in Thuban and how to get to a Unicode
156            Thuban.
157    
158            * Thuban/__init__.py (set_internal_encoding)
159            (unicode_from_internal, internal_from_unicode): New. The first few
160            functions for the internal string representation
161    
162            * Thuban/UI/about.py (unicodeToLocale): Removed.  Use
163            internal_from_unicode instead.
164    
165            * Thuban/UI/__init__.py (install_wx_translation): Determine the
166            encoding to use for the internal string representation.  Also,
167            change the translation function to return strings in internal
168            representation even on unicode builds of wxPython
169    
170            * Thuban/Model/load.py (SessionLoader.check_attrs): Decode
171            filenames too.
172            (SessionLoader.start_clrange): Use check_attrs to decode and check
173            the attributes.
174    
175            * Thuban/Model/xmlreader.py (XMLReader.encode): Use
176            internal_from_unicode to convert unicode strings.
177    
178            * Thuban/Model/xmlwriter.py (XMLWriter.encode): Use
179            unicode_from_internal when applicable
180    
181            * test/runtests.py (main): New command line option:
182            internal-encoding to specify the internal string encoding to use
183            in the tests.
184    
185            * test/support.py (initthuban): Set the internal encoding to
186            latin-1
187    
188            * test/test_load.py (TestSingleLayer.test, TestClassification.test)
189            (TestLabelLayer.test): Use the internal string representation when
190            dealing with non-ascii characters
191    
192            * test/test_load_1_0.py (TestSingleLayer.test)
193            (TestClassification.test, TestLabelLayer.test): Use the internal
194            string representation when dealing with non-ascii characters
195    
196            * test/test_load_0_9.py (TestSingleLayer.test)
197            (TestClassification.test): Use the internal string representation
198            when dealing with non-ascii characters
199    
200            * test/test_load_0_8.py (TestUnicodeStrings.test): Use the
201            internal string representation when dealing with non-ascii
202            characters
203    
204            * test/test_save.py (XMLWriterTest.testEncode)
205            (SaveSessionTest.testClassifiedLayer): Use the internal string
206            representation when dealing with non-ascii characters where
207            applicable
208    
209    2005-06-30  Bernhard Herzog  <[email protected]>
210    
211            * test/runtests.py: Untabify.
212    
213    2005-06-30  Bernhard Herzog  <[email protected]>
214    
215            * Thuban/UI/renderer.py (ScreenRenderer.draw_selection_incrementally):
216            untabify.
217    
218    2005-06-30  Bernhard Herzog  <[email protected]>
219    
220            * Extensions/ogr/test/__init__.py: Add missing coding directive
221    
222    2005-06-28  Jan-Oliver Wagner <[email protected]>
223    
224            * Thuban/UI/renderer.py (ScreenRenderer.draw_selection_incrementally):
225            Use the default size for rendering selected items of default type.
226            Fixes part 2 of https://intevation.de/rt/webrt?serial_num=3149
227    
228    2005-06-28  Jan-Oliver Wagner <[email protected]>
229    
230            * Extensions/importAPR/apr.py (APR_BShSym): Extend by 'Stripple'.
231            (APR_TClr.GetThubanColor): Fix bug in color interpretation.
232            Thanks to Frank Koormann who identified this problem.
233    
234            * Extensions/importAPR/importAPR.py (APR_VShSym): New. Just
235            another symbol identified.
236    
237    2005-06-27  Jan-Oliver Wagner <[email protected]>
238    
239            * Doc/manual/thuban-manual-de.xml: More translations.
240    
241    2005-05-12  Jonathan Coles <[email protected]>
242            
243            * Thuban/UI/projdialog.py: Add missing import, which led to an
244            exception when opening a layer's projection.
245    
246    2005-05-09  Bernhard Herzog  <[email protected]>
247    
248            * test/support.py (FileLoadTestCase.filename): Fix doc-string.
249    
250    2005-05-09  Bernhard Herzog  <[email protected]>
251    
252            * Thuban/Model/postgisdb.py (PostGISConnection.connect): Set the
253            connection to autoconnect.  Fixes RT#3148.
254    
255            * test/test_postgis_db.py
256            (TestPostGISSpecialCases.test_simple_error_handling): New test
257            that attempts to reproduce RT#3148.
258    
259    2005-05-06  Jonathan Coles <[email protected]>
260    
261            Add support for saving and loading the opacity and mask type
262            properties of RasterLayers. Also add support for proper use
263            of alpha information while drawing images not in 'RAW' format.
264            If transparency in an image format (e.g, PNG) is supported by
265            wxWidgets then the image would previously have been draw with
266            transparent regions, but the opaque regions would have been
267            unaffected by a change in the layer's opacity. This patch
268            corrects the problem.
269    
270            * Thuban/Model/layer.py (RasterLayer): Added opacity and
271            masktype parameters to the constructor, and set the
272            appropriate variables to those values.
273    
274            * Thuban/Model/load.py (SessionLoader.start_rasterlayer): Added
275            code to read the opacity and mask type of the layer and construct
276            a new layer with the additional parameters.
277    
278            * Thuban/Model/save.py (SessionSaver.write_layer): Added code
279            to save the opacity and mask type of a layer.
280    
281            * Thuban/UI/baserenderer.py (BaseRenderer.draw_raster_layer): Pass
282            the opacity of the layer to draw_raster_data rather than the layer.
283            (BaseRenderer.draw_raster_data): Remove the layer parameter because
284            the function doesn't need to know about the layer. Add the optional
285            opacity parameter whose default is 1.0. Add 'PNG' as a supported
286            graphics format.
287    
288            * Thuban/UI/renderer.py (MapRenderer.draw_raster_data): Fixed
289            signature to match that in BaseRenderer. Use the new opacity argument
290            in place of calling layer.Opacity(). In the case where the
291            format is not 'RAW', alpha_data is None and the loaded image has
292            alpha information, use the file's alpha information. This is
293            still subject to the layer's opacity setting.
294    
295            * test/test_baserenderer.py (SimpleRenderer.draw_raster_data):
296            Fixed signature to match that in BaseRenderer.
297    
298            * test/test_load.py (TestRasterLayer): Change file_contents to
299            include opacity and masktype variables.
300            (TestRasterLayer.test): Include tests for opacity and masktype
301            changes.
302    
303            * test/test_save.py (SaveSessionTest.testRasterLayer): Restructure
304            test to cover a variety of combinations of masktype and opacity
305            settings.
306    
307    2005-05-02  Jan-Oliver Wagner <[email protected]>
308    
309            * debian/rules: add --use-wx-python-swig-hack
310            to the build command.
311            Thanks to Moritz Lennert for pointing this out.
312    
313    2005-04-28  Jan-Oliver Wagner <[email protected]>
314    
315            Introduce OGRFileShapeStore in ogr extension.
316            This allows at least that loaded shapefile shape stores
317            can be saved correctly in the thuban session file
318            and reloaded again (reload is via core shapefile
319            routine, not OGR). For other types, .thuban files
320            can not be reloaded for the time being.
321    
322            * Extensions/ogr/ogrshapes.py (OGRFileShapeStore): New. This
323            class ist to be used for any file-based shape stores
324            accessed through OGR.
325    
326            * Extensions/ogr/ogrstart.py (open_with_ogr): Added
327            forgotten _ for i18n. Adapted call OpenFileShapestore
328            regarding new parameter.
329            (OpenFileShapestore): Use OGRFileShapeStore instead of
330            OGRShapeStore. Fix return value (None instead of null).
331            Add new parameter "mainwindow" to avoid accessing global
332            context.
333    
334    2005-04-27  Jan-Oliver Wagner <[email protected]>
335    
336            Introduce FileShapeStore as generalization for
337            file-based shape stores. In a first instance
338            this allows additional modules to handle shapefile
339            format as well, namely the OGR extension.
340    
341            * Thuban/Model/data.py: Various small fixes in doc-strings.
342            (FileShapeStore): New class.
343            (ShapefileStore): Derive from FileShapeStore.
344            (ShapefileStore.__init__): Call __init__ of FileShapeStore,
345            rename self.table to self._table, initialize self._bbox
346            (ShapefileStore._open_shapefile): Use self._bbox instead of self.bbox
347            and self.FileName() instead of self.filename.
348            (ShapefileStore.Table): Use self._table instead of self.table.
349            (ShapefileStore.FileName): Removed (moved to FileShapeStore).
350            (ShapefileStore.BoundingBox):  Use self._bbox instead of self.bbox.
351    
352            * Thuban/Model/save.py: Replace ShapefileStore by FileShapeStore.
353            (SessionSaver.write_data_containers): Only use methods of the
354            base class FileShapeStore.
355    
356  2005-04-26  Martin Schulze  <[email protected]>  2005-04-26  Martin Schulze  <[email protected]>
357    
358          * Extensions/wms/wms.py (render_wms_layer): Adjusted the render          * Extensions/wms/wms.py (render_wms_layer): Adjusted the render
# Line 14  Line 369 
369    
370  2005-04-23  Russell Nelson  <[email protected]>  2005-04-23  Russell Nelson  <[email protected]>
371    
372          * Changed the way the previous tool is remembered, so that          * Thuban/UI/view.py (MapCanvas.OnMiddle{Up,Down}): Changed the
373          middle-button panning works even if you haven't selected a tool.          way the previous tool is remembered, so that middle-button
374            panning works even if you haven't selected a tool.
375    
376  2005-04-11  Bernhard Herzog  <[email protected]>  2005-04-11  Bernhard Herzog  <[email protected]>
377    

Legend:
Removed from v.2604  
changed lines
  Added in v.2674

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26