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

Legend:
Removed from v.2598  
changed lines
  Added in v.2711

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26