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

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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26