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

Legend:
Removed from v.2610  
changed lines
  Added in v.2683

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26