/[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 2643 by bh, Tue Jul 5 16:00:48 2005 UTC
# Line 1  Line 1 
1    2005-07-05  Bernhard Herzog  <[email protected]>
2    
3            * Thuban/UI/viewport.py (ViewPort.set_view_transform): Handle
4            ZeroDivisionError exceptions.  I don't know when they happen
5            exactly.  It probably happens when the projections aren't set
6            properly.
7    
8    2005-07-01  Bernhard Herzog  <[email protected]>
9    
10            First step towards unicode.  With this roughly we're at step 1
11            string_representation.txt
12    
13            * Doc/technotes/string_representation.txt: New.  Document how
14            strings are represented in Thuban and how to get to a Unicode
15            Thuban.
16    
17            * Thuban/__init__.py (set_internal_encoding)
18            (unicode_from_internal, internal_from_unicode): New. The first few
19            functions for the internal string representation
20    
21            * Thuban/UI/about.py (unicodeToLocale): Removed.  Use
22            internal_from_unicode instead.
23    
24            * Thuban/UI/__init__.py (install_wx_translation): Determine the
25            encoding to use for the internal string representation.  Also,
26            change the translation function to return strings in internal
27            representation even on unicode builds of wxPython
28    
29            * Thuban/Model/load.py (SessionLoader.check_attrs): Decode
30            filenames too.
31            (SessionLoader.start_clrange): Use check_attrs to decode and check
32            the attributes.
33    
34            * Thuban/Model/xmlreader.py (XMLReader.encode): Use
35            internal_from_unicode to convert unicode strings.
36    
37            * Thuban/Model/xmlwriter.py (XMLWriter.encode): Use
38            unicode_from_internal when applicable
39    
40            * test/runtests.py (main): New command line option:
41            internal-encoding to specify the internal string encoding to use
42            in the tests.
43    
44            * test/support.py (initthuban): Set the internal encoding to
45            latin-1
46    
47            * test/test_load.py (TestSingleLayer.test, TestClassification.test)
48            (TestLabelLayer.test): Use the internal string representation when
49            dealing with non-ascii characters
50    
51            * test/test_load_1_0.py (TestSingleLayer.test)
52            (TestClassification.test, TestLabelLayer.test): Use the internal
53            string representation when dealing with non-ascii characters
54    
55            * test/test_load_0_9.py (TestSingleLayer.test)
56            (TestClassification.test): Use the internal string representation
57            when dealing with non-ascii characters
58    
59            * test/test_load_0_8.py (TestUnicodeStrings.test): Use the
60            internal string representation when dealing with non-ascii
61            characters
62    
63            * test/test_save.py (XMLWriterTest.testEncode)
64            (SaveSessionTest.testClassifiedLayer): Use the internal string
65            representation when dealing with non-ascii characters where
66            applicable
67    
68    2005-06-30  Bernhard Herzog  <[email protected]>
69    
70            * test/runtests.py: Untabify.
71    
72    2005-06-30  Bernhard Herzog  <[email protected]>
73    
74            * Thuban/UI/renderer.py (ScreenRenderer.draw_selection_incrementally):
75            untabify.
76    
77    2005-06-30  Bernhard Herzog  <[email protected]>
78    
79            * Extensions/ogr/test/__init__.py: Add missing coding directive
80    
81    2005-06-28  Jan-Oliver Wagner <[email protected]>
82    
83            * Thuban/UI/renderer.py (ScreenRenderer.draw_selection_incrementally):
84            Use the default size for rendering selected items of default type.
85            Fixes part 2 of https://intevation.de/rt/webrt?serial_num=3149
86    
87    2005-06-28  Jan-Oliver Wagner <[email protected]>
88    
89            * Extensions/importAPR/apr.py (APR_BShSym): Extend by 'Stripple'.
90            (APR_TClr.GetThubanColor): Fix bug in color interpretation.
91            Thanks to Frank Koormann who identified this problem.
92    
93            * Extensions/importAPR/importAPR.py (APR_VShSym): New. Just
94            another symbol identified.
95    
96    2005-06-27  Jan-Oliver Wagner <[email protected]>
97    
98            * Doc/manual/thuban-manual-de.xml: More translations.
99    
100    2005-05-12  Jonathan Coles <[email protected]>
101            
102            * Thuban/UI/projdialog.py: Add missing import, which led to an
103            exception when opening a layer's projection.
104    
105    2005-05-09  Bernhard Herzog  <[email protected]>
106    
107            * test/support.py (FileLoadTestCase.filename): Fix doc-string.
108    
109    2005-05-09  Bernhard Herzog  <[email protected]>
110    
111            * Thuban/Model/postgisdb.py (PostGISConnection.connect): Set the
112            connection to autoconnect.  Fixes RT#3148.
113    
114            * test/test_postgis_db.py
115            (TestPostGISSpecialCases.test_simple_error_handling): New test
116            that attempts to reproduce RT#3148.
117    
118    2005-05-06  Jonathan Coles <[email protected]>
119    
120            Add support for saving and loading the opacity and mask type
121            properties of RasterLayers. Also add support for proper use
122            of alpha information while drawing images not in 'RAW' format.
123            If transparency in an image format (e.g, PNG) is supported by
124            wxWidgets then the image would previously have been draw with
125            transparent regions, but the opaque regions would have been
126            unaffected by a change in the layer's opacity. This patch
127            corrects the problem.
128    
129            * Thuban/Model/layer.py (RasterLayer): Added opacity and
130            masktype parameters to the constructor, and set the
131            appropriate variables to those values.
132    
133            * Thuban/Model/load.py (SessionLoader.start_rasterlayer): Added
134            code to read the opacity and mask type of the layer and construct
135            a new layer with the additional parameters.
136    
137            * Thuban/Model/save.py (SessionSaver.write_layer): Added code
138            to save the opacity and mask type of a layer.
139    
140            * Thuban/UI/baserenderer.py (BaseRenderer.draw_raster_layer): Pass
141            the opacity of the layer to draw_raster_data rather than the layer.
142            (BaseRenderer.draw_raster_data): Remove the layer parameter because
143            the function doesn't need to know about the layer. Add the optional
144            opacity parameter whose default is 1.0. Add 'PNG' as a supported
145            graphics format.
146    
147            * Thuban/UI/renderer.py (MapRenderer.draw_raster_data): Fixed
148            signature to match that in BaseRenderer. Use the new opacity argument
149            in place of calling layer.Opacity(). In the case where the
150            format is not 'RAW', alpha_data is None and the loaded image has
151            alpha information, use the file's alpha information. This is
152            still subject to the layer's opacity setting.
153    
154            * test/test_baserenderer.py (SimpleRenderer.draw_raster_data):
155            Fixed signature to match that in BaseRenderer.
156    
157            * test/test_load.py (TestRasterLayer): Change file_contents to
158            include opacity and masktype variables.
159            (TestRasterLayer.test): Include tests for opacity and masktype
160            changes.
161    
162            * test/test_save.py (SaveSessionTest.testRasterLayer): Restructure
163            test to cover a variety of combinations of masktype and opacity
164            settings.
165    
166  2005-05-02  Jan-Oliver Wagner <[email protected]>  2005-05-02  Jan-Oliver Wagner <[email protected]>
167    
168          * debian/rules: add --use-wx-python-swig-hack          * debian/rules: add --use-wx-python-swig-hack
# Line 63  Line 228 
228    
229  2005-04-23  Russell Nelson  <[email protected]>  2005-04-23  Russell Nelson  <[email protected]>
230    
231          * Changed the way the previous tool is remembered, so that          * Thuban/UI/view.py (MapCanvas.OnMiddle{Up,Down}): Changed the
232          middle-button panning works even if you haven't selected a tool.          way the previous tool is remembered, so that middle-button
233            panning works even if you haven't selected a tool.
234    
235  2005-04-11  Bernhard Herzog  <[email protected]>  2005-04-11  Bernhard Herzog  <[email protected]>
236    

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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26