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

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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26