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

Legend:
Removed from v.2590  
changed lines
  Added in v.2690

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26