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

Legend:
Removed from v.2591  
changed lines
  Added in v.2709

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26