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

Legend:
Removed from v.2596  
changed lines
  Added in v.2687

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26