/[thuban]/branches/WIP-pyshapelib-bramz/ChangeLog
ViewVC logotype

Diff of /branches/WIP-pyshapelib-bramz/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

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

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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26