/[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 1965 by bh, Wed Nov 19 19:48:59 2003 UTC revision 2115 by joey, Thu Mar 18 17:58:25 2004 UTC
# Line 1  Line 1 
1    2004-03-18  Martin Schulze  <[email protected]>
2    
3            * Extensions/wms/test/test_parser.py: Added another test for
4            checking whether the WMS XML parser (to be implemented) returns
5            the information we expect.  This requires a sample WMS WML file
6            (sample.xml) which has been extracted from the frida server and
7            "improved" manually.
8    
9            * Extensions/wms/test/test_ogclib.py: Added legacy code to add the
10            main Thuban directory to the path in order to be able to import
11            random modules.  Adjusted the PyOGCLib detection to reuse the
12            information gathered.  Also added a note about the PYTHONPATH
13            environment variable.
14    
15            * Extensions/wms/test/test_ogclib.py: The format specification is
16            a mime-type, not a graphic format, hence image/jpeg wou ld be the
17            proper format and not JPEG.  We'll also have to take care of the
18            encoding of / as %2F.
19    
20    2004-03-16  Martin Schulze  <[email protected]>
21    
22            * Extensions/wms/test/test_ogclib.py: Added a (hopefully)
23            comprehensive test for the getMapURL method, built compare URLs
24            according to the documentation in OGC 01-068r3
25    
26            * Extensions/wms/capabilities.py (WMSCapabilities): Added the
27            class WMSCapabilities to manage capabilites, will incorporate
28            parsing the capabilities response and provide details for other
29            classes.
30    
31    2004-03-12  Bernhard Herzog  <[email protected]>
32    
33            Support views in addition to normal tables in the postgis
34            shapestore
35    
36            * Thuban/Model/postgisdb.py
37            (PostGISShapeStore._fetch_table_information): Add a fallback for
38            the case where the table name is not in the geometry_columns
39            table.  This is usually the case for views.  Also, set
40            self.shapestore here.
41            (PostGISShapeStore.ShapeType): No need to query the database all
42            the time.  The shape type is now determined in
43            _fetch_table_information
44    
45            * test/postgissupport.py (PostgreSQLServer.new_postgis_db)
46            (PostgreSQLServer.get_static_data_db, PostGISDatabase.__init__):
47            New parameter to specify views.
48            (PostGISDatabase.has_data): Also compare the views.  New views
49            parameter
50            (PostGISDatabase.initdb): Create the views.
51            (PostgreSQLServer.get_default_static_data_db): Add the v_landmarks
52            view
53    
54            * test/test_postgis_db.py
55            (TestPostGISShapestorePointFromViews): New.  Test a
56            PostGISShapeStore with a view
57            (TestPostGISShapestorePointOIDAsGIDColumn.setUp): Pass the name of
58            the geometry_column explicitly to test whether that works
59    
60    2004-03-12  Bernhard Herzog  <[email protected]>
61    
62            Final step for explicit id/geometry columns: Loading and saving
63    
64            * Resources/XML/thuban-1.1.dtd: New.  Derived from thuban-1.0.dtd
65            with the following changes:
66            (dbshapesource): Two new attributes id_column and geometry_column
67    
68            * Thuban/Model/save.py (SessionSaver.write): Use the new dtd
69            (SessionSaver.write_session): Use the new namespace
70            (SessionSaver.write_data_containers): Write the new dbshapesource
71            parameters
72    
73            * Thuban/Model/load.py (SessionLoader.__init__): New namespace for
74            the new file format version
75            (SessionLoader.start_dbshapesource): Handle the new db parameters
76    
77            * test/test_save.py: Update to the new dtd and namespace
78            (SaveSessionTest.test_save_postgis): Update the NonConnectionStore
79            mock object to provide a working IDColumn method.
80    
81            * test/test_load_1_0.py: New.  Copy of the test_load.py before
82            today's changes but with the round-trip tests removed.
83    
84            * test/test_load_0_9.py: Update doc-string.
85    
86            * test/test_load.py: Update all .thuban files to the new dtd and
87            namespace.
88            (TestPostGISLayer.file_contents): Add the new dbshapesource
89            paramters
90    
91    2004-03-11  Bernhard Herzog  <[email protected]>
92    
93            Next step for explicit id/geometry columns: User interaction
94    
95            * Thuban/UI/dbdialog.py (ChooseDBTableDialog.__init__): Rework how
96            the dialog is constructed. Add combo boxes to select id and
97            geometry column.  Rename some instance variables.
98            (ChooseDBTableDialog.GetTable): Return id and geometry column
99            names
100            (ChooseDBTableDialog.OnTableSelect): New. Event handler for
101            selections in the table list
102    
103            * Thuban/UI/mainwindow.py (MainWindow.AddDBLayer): Use id_column
104            and geometry_column
105    
106            * Thuban/Model/session.py (Session.OpenDBShapeStore): Add the new
107            parameters for id_column and geometry column of PostGISShapeStore
108            here as well.
109    
110            * Thuban/Model/postgisdb.py (type_map): Add ROWID psycog type.
111            (_raw_type_map): New. Map raw PostgreSQL type ints to thuban types
112            (PostGISConnection.GeometryTables): Use a better query to
113            determine which relations in the database might be usable for
114            shapestores.  Now supports views as well but is more PostgreSQL
115            specific
116            (PostGISConnection.table_columns): New. Somewhat experimental
117            method to let the db dialogs provide lists of columns to users so
118            that they can select id and geometry columns.
119            (PostGISTable.__init__): The default value of the id_column
120            parameter is now None it still means "gid" effectively, though.
121            (PostGISTable.IDColumn): New introspection method to return a
122            column object for the id column
123            (PostGISShapeStore.GeometryColumn): New introspection method to
124            return a column object for the geometry column
125    
126            * test/test_postgis_db.py
127            (TestPostGISConnection.test_gis_tables_non_empty):
128            Removed. Subsumed by the new:
129            (TestPostGISConnection.test_gis_tables_with_views_and_tables):
130            New. Tes the GeometryTables and table_columns methods with actual
131            tables and views.
132            (PointTests.test_id_column, PointTests.test_geometry_column):
133            New. tests for the new methods.
134            (TestPostGISShapestorePoint.setUp)
135            (TestPostGISShapestorePointSRID.setUp)
136            (TestPostGISShapestorePointExplicitGIDColumn.setUp): Fill the
137            instance variables needed by the new tests
138    
139    2004-03-11  Bernhard Herzog  <[email protected]>
140    
141            * Thuban/UI/classgen.py (GenQuantilesPanel.GetList): The row
142            numbers given to ReadValue are ordinals.
143    
144    2004-03-11  Bernhard Herzog  <[email protected]>
145    
146            Elimiate the requirement for PostGIS tables to have a column
147            called "gid".
148    
149            * Thuban/Model/postgisdb.py (PostGISTable.__init__): New parameter
150            id_column to specify which column to use to identify rows.  Also
151            new instance variables id_column and quoted_id_column
152            (PostGISTable.RowIdToOrdinal, PostGISTable.RowOrdinalToId)
153            (PostGISTable.ReadRowAsDict, PostGISTable.ReadValue)
154            (PostGISTable.SimpleQuery): Use the id column name provided to the
155            constructor instead of "gid"
156            (PostGISShapeStore.__init__): New parameter id_column analogously
157            to PostGISTable.__init__.  This parameter is simply passed through
158            to the base class constructor
159            (PostGISShapeStore._create_col_from_description): Fix typo in
160            doc-string
161            (PostGISShapeStore.Shape, PostGISShapeStore.AllShapes)
162            (PostGISShapeStore.ShapesInRegion): Use the id column name
163            provided to the constructor instead of "gid"
164    
165            * test/postgissupport.py
166            (PostgreSQLServer.get_default_static_data_db): New static table
167            landmarks_point_id with an id column != "gid.  Update the comments
168            a bit.
169            (skip_if_addgeometrycolumn_does_not_use_quote_ident): Fix typo in
170            doc-
171            (upload_shapefile): New parameter gid_column to use a name other
172            than "gid" for the column to store the shape ids
173    
174            * test/test_postgis_db.py (TableTests): New.  Mixin-class
175            containing all tests previously in TestPostGISTable.  The actual
176            tests are the same but the code is a bit more configurable to
177            allow for different id columns etc.
178            (TestPostGISTable): Derive from TableTests now for the actual
179            tests.
180            (TestPostGISTableExplicitGIDColumn): New. Like TestPostGISTable
181            except that it the landmarks_point_id table to test the id_column
182            parameter
183            (PointTests): Extend the doc-string
184            (TestPostGISShapestorePointExplicitGIDColumn)
185            (TestPostGISShapestorePointOIDAsGIDColumn): New classes derived
186            from PointTests to test the explicit id_column parameter.  One
187            tests with the name of the column holding the shape ids, the other
188            uses PostgreSQL's OID column.  For the latter a number of methods
189            have to be overwritten to make them independent of the actual id
190            values.
191    
192    2004-03-08  Silke Reimer  <[email protected]>
193    
194            Update debian directory:
195    
196            * debian/changelog: Added new version.
197            * deiban/rules: Updated management of patches (with cbds)
198            * debian/control: Added cbds to dependencies
199            * debian/patches/*: New. Adds better support for patches of thuban in
200                            debian
201            * debian/menu: Syntax of menu changed slightly
202            * debian/setup.py.patch: removed because it has been moved to
203                            debian/patechs/setup.py.patch
204            
205    
206    2004-02-26  Bernhard Herzog  <[email protected]>
207    
208            Create the Doc/technotes directory for text files with information
209            for developers
210    
211            * Doc/technotes/README: New. README for the technotes
212    
213            * Doc/technotes/coding_guidelines.txt: New. Coding guidelines for
214            Thuban
215    
216            * Doc/technotes/release_process.txt: New. Used to be
217            HOWTO-Release.  Now slightly adapted to technote formatting style.
218    
219            * HOWTO-Release: Removed.  It's contents are now in
220            Doc/technotes/release_process.txt
221    
222    2004-02-25  Bernhard Herzog  <[email protected]>
223    
224            * libraries/thuban/wxproj.cpp (get_wx_version): New.  Return the
225            version of wxWindows the module was compiled with so we can check
226            that against the wxPython version.
227    
228            * Thuban/version.py (thuban_branch, thuban_release): New variables
229            controlling which and how Thuban versions are shown.  See the
230            comments for details.
231            (verify_versions): Also check that the wx version that wxproj is
232            compiled against matches that of the wxPython we use at runtime
233    
234    2004-02-20  Bernhard Herzog  <[email protected]>
235    
236            * Extensions/wms/wms.py (epsg_code_to_projection): Use
237            get_system_proj_file to read the epsg projections.  The old way
238            depended on the current directory being the top Thuban directory.
239    
240    2004-02-20  Bernhard Herzog  <[email protected]>
241    
242            * Extensions/svgexport/test/test_svgmapwriter.py
243            (TestVirtualDC.test_clippath): Remove a debug print
244    
245    2004-02-20  Bernhard Herzog  <[email protected]>
246    
247            * Extensions/svgexport/__init__.py: New.  Turn
248            Extensions/svgexport into a package.
249    
250            * Extensions/svgexport/svgmapwriter.py: Reorder the imports and
251            doc-string a bit.  The doc-string must come first, otherwise it's
252            not a doc-string.  The __future__ import must be the first thing
253            after the doc-string.  Use only double quotes in doc-strings.
254            Single quotes trip up emacs syntax highlighting if the text
255            contains apostrophes.
256    
257    2004-02-20  Bernhard Herzog  <[email protected]>
258    
259            * Extensions/svgexport/test/__init__.py,
260            Extensions/svgexport/test/test_svgmapwriter.py: New. Initial test
261            suite for svgexport
262    
263            * test/runtests.py (find_test_modules): New. Function with the
264            module finding code from main.
265            (main): Use find_test_modules to figure out the default test
266            modules and take modules from Extensions.svgexport.test too.
267    
268    2004-02-19  Bernhard Herzog  <[email protected]>
269    
270            * Thuban/UI/application.py (ThubanApplication.OnInit): Make sure
271            the mainwindow has a reference to the map of the initial session.
272            This fixes a bug introduced with the fix for RT#2245
273    
274    2004-02-19  Bernhard Herzog  <[email protected]>
275    
276            * Extensions/svgexport/svgsaver.py,
277            Extensions/svgexport/svgmapwriter.py,
278            Extensions/svgexport/maplegend.py: Added again.  This time in the
279            correct place.
280    
281    2004-02-17  Bernhard Herzog  <[email protected]>
282    
283            Fix for RT#2245
284    
285            * Thuban/UI/application.py (ThubanApplication.OnInit): Initialize
286            instance variables before trying to create any windows.  Creating
287            windows can start an event loop if e.g. message boxes are popped
288            up for some reason, and event handlers, especially EVT_UPDATE_UI
289            may want to access things from the application.
290            (ThubanApplication.maps_changed): The mainwindow may not have been
291            created yet, so check whether it has been created before calling
292            its methods
293    
294            * Thuban/UI/view.py (MapCanvas.OnIdle): Only try to redraw if we
295            have a map
296    
297    2004-02-17  Bernhard Herzog  <[email protected]>
298    
299            * test/test_svgmapwriter.py, Extensions/svgsaver.py,
300            Extensions/svgmapwriter.py, Extensions/maplegend.py,
301            extensions/svgexport/svgsaver.py,
302            extensions/svgexport/svgmapwriter.py,
303            extensions/svgexport/maplegend.py: Removed.  These files were in
304            the wrong places or didn't work at all.
305    
306    2004-02-16  Bernhard Herzog  <[email protected]>
307    
308            * Thuban/UI/view.py (MapCanvas.Export): Remove accidentally added
309            line
310    
311    2004-02-16  Bernhard Herzog  <[email protected]>
312    
313            * Thuban/UI/view.py (MapCanvas.Export): Avoid UnboundLocalError.
314    
315    2004-02-15  Markus Rechtien  <[email protected]>
316            
317            * Extensions/svgexport/svgmapwriter.py: New. Adds the capability
318            to write a session to a file in SVG format.
319            * Extensions/svgexport/svgsaver.py: New. Uses svgmapwriter.py
320            to write a SVG map of a session.
321            * Extensions/svgexport/maplegend: New. Writes a basic maplegend
322            in SVG format for the current session.
323    
324    2004-02-13  Bernhard Herzog  <[email protected]>
325    
326            * Thuban/UI/mainwindow.py (MainWindow.AddDBLayer): When the layer
327            can't be created, return immediately after displaying the error
328            message.
329    
330    2004-02-11  Bernhard Herzog  <[email protected]>
331    
332            Handle postgis tables with more than one geometry column.
333    
334            * Thuban/Model/postgisdb.py
335            (PostGISTable._fetch_table_information): Delegate the creation of
336            column objects to a different method so that we can extend that in
337            derived classes
338            (PostGISTable._create_col_from_description): New. Column object
339            creation part of _fetch_table_information
340            (PostGISShapeStore._create_col_from_description): New. Extend
341            inherited method to handle geometry columns
342            (PostGISShapeStore.__init__): New parameter geometry_column to
343            specify which geometry column to use.  Optional but mandatory for
344            tables with more than one geometry column
345            (PostGISShapeStore._fetch_table_information): Also use the name of
346            the geometry column when looking for the srid
347            (PostGISShapeStore.ShapeType): Also use the name of the geometry
348            column when looking for the shape type
349    
350            * test/test_save.py (SaveSessionTest.test_save_postgis): Adapt
351            NonConnectionStore to changes in the PostGISShapeStore
352    
353            * test/test_postgis_db.py
354            (TestPostGISSpecialCases.test_shapestore_two_geom_cols): Test
355            PostGISShapeStore with tables having two geometry columns.
356    
357    2004-02-10  Bernhard Herzog  <[email protected]>
358    
359            Fix some postgis problems.  What remains to be done is real
360            handling of SRIDs as they affect how reprojection is done
361    
362            * Thuban/Model/postgisdb.py (quote_identifier): Fix typo in
363            doc-string
364            (PostGISShapeStore._fetch_table_information): New. Extend
365            inherited method to retrieve srid
366            (PostGISShapeStore.BoundingBox): Handle tables without data.
367            extent yields NULL for those
368            (PostGISShapeStore.ShapesInRegion): Use the srid of the table.
369    
370            * test/test_postgis_db.py
371            (TestPostGISSpecialCases.test_shapestore_empty_table): New test
372            for the special case of a table without any data
373            (TestPostGISShapestorePointSRID): New class with tests for a table
374            that uses srids
375            (PolygonTests): Fix a doc-string typo
376    
377            * test/postgissupport.py (PostGISDatabase.__init__): New parameter
378            reference_systems with a specification of spacial reference
379            systems to create in the new db.
380            (PostgreSQLServer.new_postgis_db)
381            (PostgreSQLServer.get_static_data_db): New parameter
382            reference_systems to be passed through ultimately to
383            PostGISDatabase.  In new_postgis_db also check whether an existing
384            db already has the right srids
385            (PostgreSQLServer.get_default_static_data_db): Add srids and a
386            table that uses srids
387            (PostGISDatabase.initdb): Create the entries for the reference
388            systems
389            (PostGISDatabase.has_data): Add reference_systems parameter to
390            check for those too
391            (upload_shapefile): New parameter srid to create tables with a
392            specific srid
393    
394    2004-02-06  Frank Koormann  <[email protected]>
395    
396            * po/pt_BR.po: Fixed charset
397    
398    2004-02-05  Frank Koormann  <[email protected]>
399    
400            * po/pt_BR.po: Fixed format string for error message, missing %s
401            added (Thuban/UI/application.py:273)
402    
403    2004-02-03  Frank Koormann  <[email protected]>
404            
405            First version of Portuguese (Brazilian) translation
406    
407            * po/pt_BR.po: New, translation of pot (2004-01-15 16:07+0300) for
408            Brazilian Portuguese by Eduardo Patto Kanegae.
409    
410            * Thuban/UI/about.py (About.__init.py__): Added Eduardo to the list of
411            translators.
412    
413    
414    2004-01-22  Frank Koormann  <[email protected]>
415    
416            * Doc/manual/thuban-manual.xml: Added section on installation of
417            Thuban under Win32 systems. Fixed image path references in the postgis
418            section. Some minor source formattings.
419    
420    2004-01-21  Frank Koormann  <[email protected]>
421    
422            Make Thuban remember path selections (at least for one application run).
423    
424            * Thuban/UI/application.py (Application.OnInit): Initialize path as a
425            attribute of application object. Path is a dictionary of
426            strings, currently with the items "data" and "projection".  
427            (Application.SetPath): New, stores path for the specified item.
428            (Application.Path): New, return path for the specified item.
429    
430            * Thuban/UI/mainwindow.py
431            (MainWindow.OpenSession, MainWindow.SaveSessionAs,
432            MainWindow.AddLayer, MainWindow.AddRasterLayer,
433            MainWindow.TableOpen): Access "data" path information of the
434            application.
435            
436            * Thuban/UI/projdialog.py (ProjFrame._OnImport, ProjFrame._OnExport):
437            Access "projection" path information of the application.
438    
439    2004-01-05  Bernhard Herzog  <[email protected]>
440    
441            * po/ru.po: Updated translations from Alex Shevlakov
442    
443    2004-01-05  Bernhard Herzog  <[email protected]>
444    
445            * po/Makefile, po/README: Move the description of how to generate
446            the translation statistics to the README.
447    
448    2003-12-23  Bernhard Herzog  <[email protected]>
449    
450            * NEWS: Update for 1.0.0
451    
452            * po/it.po: Another update from Maurizio Napolitano
453    
454    2003-12-23  Bernhard Herzog  <[email protected]>
455    
456            * po/it.po: Updated translation from Maurizio Napolitano
457    
458    2003-12-23  Bernhard Herzog  <[email protected]>
459    
460            * Thuban/UI/join.py (JoinDialog.__init__): Mark one more string
461            for translation
462    
463            * Thuban/UI/mainwindow.py (MainWindow.TableRename)
464            (MainWindow.RenameMap, MainWindow.RenameLayer): Mark some more
465            strings for translation
466    
467            * po/de.po: Update with the newly marked strings.
468    
469    2003-12-22  Bernhard Herzog  <[email protected]>
470    
471            * HOWTO-Release: Fix the places where version numbers have to be
472            updated
473    
474    2003-12-22  Bernhard Herzog  <[email protected]>
475    
476            * setup.py (setup call): 1.0.0, yeah!
477    
478            * Thuban/version.py (longversion): 1.0.0, yeah!
479    
480            * Thuban/Model/load.py (SessionLoader.__init__): Accept the
481            1.0.0 namespace too
482    
483            * Thuban/Model/save.py (SessionSaver.write_session): Save with
484            1.0.0 namespace
485    
486            * test/test_load.py (LoadSessionTest.dtd)
487            (TestSingleLayer.file_contents)
488            (TestNonAsciiColumnName.file_contents)
489            (TestLayerVisibility.file_contents)
490            (TestClassification.file_contents, TestLabels.file_contents)
491            (TestLayerProjection.file_contents)
492            (TestRasterLayer.file_contents, TestJoinedTable.file_contents)
493            (TestLabelLayer.file_contents, TestPostGISLayer.file_contents)
494            (TestPostGISLayerPassword.file_contents)
495            (TestLoadError.file_contents, TestLoadError.test): Update for
496            1.0.0 namespace
497    
498            * test/test_save.py (SaveSessionTest.dtd)
499            (SaveSessionTest.testEmptySession)
500            (SaveSessionTest.testSingleLayer)
501            (SaveSessionTest.testLayerProjection)
502            (SaveSessionTest.testRasterLayer)
503            (SaveSessionTest.testClassifiedLayer)
504            (SaveSessionTest.test_dbf_table)
505            (SaveSessionTest.test_joined_table)
506            (SaveSessionTest.test_save_postgis): Update for 1.0.0 namespace
507    
508    2003-12-22  Bernhard Herzog  <[email protected]>
509    
510            * Thuban/Model/load.py (SessionLoader.start_label): Make sure the
511            alignment flags are byte strings not unicode and that they have
512            valid values
513    
514            * test/test_load.py (TestLabelLayer): New. Test loading (and
515            indirectly saving) of maps with labels.
516    
517    2003-12-22  Bernhard Herzog  <[email protected]>
518    
519            * Thuban/UI/tableview.py (TableGrid.OnDestroy)
520            (TableGrid.__init__): Handle EVT_WINDOW_DESTROY in the grid to
521            unsubscribe all subscribers.
522            (LayerTableFrame.OnDestroy): Do not unsubscribe any messages from
523            self.grid since it may already have been destroyed.
524            Fixes RT #2256
525    
526    2003-12-19  Bernhard Herzog  <[email protected]>
527    
528            * po/fr.po, po/es.po: Updated translations from Daniel Calvelo
529    
530    2003-12-16  Bernhard Herzog  <[email protected]>
531            
532            * debian/bitmappath.patch, debian/setup.py.patch:
533                    added to ensure compliance with FHS for debian
534            * debian/rules, debian/changelog:
535                added patches in rules to ensure compliance with FHS for debian
536    
537    2003-12-16  Bernhard Herzog  <[email protected]>
538    
539            * po/Makefile (mo): Make the output a bit nicer so that it prints
540            statistics about the translations. Add a comment how produce even
541            nicer statistics with sed.
542    
543    2003-12-09  Frank Koormann   <[email protected]>
544    
545            * Resources/Projections/defaults.proj:
546            French projection sample with correct accents (UNICODE).
547    
548    2003-12-05  Bernhard Herzog  <[email protected]>
549    
550            * MANIFEST.in: Add the devtools directory
551    
552            * setup.py (setup call): Use license instead of licence. This
553            silences a deprecation warning on Python 2.3
554    
555    2003-12-05  Frank Koormann   <[email protected]>
556    
557            Documentation synced with 1.0rc1
558    
559            * Doc/manual/thuban-manual.xml:
560            Minor formatting changes and references to database layers .
561            Introduction.Internationalization: New section on i18n.
562            MapManagement.AddingandRemovingLayers: Added item on database layers.  
563            MapManagement.TheLegend: Added section and screenshot on popup menu.
564            ProjectionManagement: Updated screenshot and sentence on EPSG.
565            Appendix.SupportedDataSources: Added PostGIS.
566            Appendix.WorkingwithPostGIS: New section.
567    
568            * Doc/manual/images/6_projection.png: Updated screenshot including
569            EPSG checkboxes.
570    
571            * Doc/manual/images/3_5_popup_menu.png: New, popup menu screenshot.
572    
573            * Doc/manual/images/app_postgis_add_layer.png,
574            Doc/manual/images/app_postgis_db_add.png,
575            Doc/manual/images/app_postgis_db_management.png:
576            New screenshots focussing on database layers
577    
578    2003-12-05  Frank Koormann   <[email protected]>
579    
580            * Thuban/UI/projdialog.py (load_user_proj): If user.proj is missing
581            write warning to stderr instead of rising a warning dialog
582    
583    2003-12-03  Bernhard Herzog  <[email protected]>
584    
585            Fix for RT #2243
586    
587            * Thuban/UI/mainwindow.py (MainWindow.has_selected_shape_layer):
588            New. Like has_selected_layer but for shape layers only
589            (_has_selected_shape_layer): New. Like _has_selected_layer but for
590            shape layers only
591            (layer_show_table command, layer_jointable command): Use these
592            commands should only be available for shape layers
593    
594    2003-12-03  Bernhard Herzog  <[email protected]>
595    
596            * Thuban/UI/mainwindow.py (MainWindow.Unsubscribe): Deal with
597            publishers that are wx objects and may have been destroyed by wx
598            already. Fixes RT #2242.
599    
600    2003-12-03  Bernhard Herzog  <[email protected]>
601    
602            * po/ru.po: Updates from Alex Shevlakov
603    
604    2003-12-03  Silke Reimer <silkeintevation.de>
605    
606            * debian/control, debian/changelog: Added gdal-support to
607                    debian package, updated to new thuban version
608    
609    
610    2003-12-03  Bernhard Herzog  <[email protected]>
611    
612            * Thuban/Lib/version.py: New. Module for version number
613            manipulations. The version of make_tuple here also deals better
614            with more unusual version number strings, such as e.g.
615            "1.2+cvs20031111"
616    
617            * Thuban/version.py (make_tuple): Removed. It's now in
618            Thuban.Lib.version. Use that implementation instead.
619    
620            * test/test_lib_version.py: New. Tests for Thuban/Lib/version.py
621    
622    2003-12-02  Bernhard Herzog  <[email protected]>
623    
624            * MANIFEST.in: Add debian files
625    
626            * setup.py (setup call): Add packages for the Extensions so that
627            they're installed too
628            (data_files): Add READMEs and sample data from some Extensions
629    
630            * NEWS: Add note about the extensions in binary packages
631    
632    2003-12-02  Bernhard Herzog  <[email protected]>
633    
634            * Thuban/Model/save.py (SessionSaver.write_session): Save files
635            with the thuban-1.0rc1
636    
637            * Thuban/Model/load.py (SessionLoader.__init__): Recognize the
638            thuban-1.0rc1 namespace too
639    
640            * test/test_save.py (SaveSessionTest.dtd)
641            (SaveSessionTest.testEmptySession)
642            (SaveSessionTest.testSingleLayer)
643            (SaveSessionTest.testLayerProjection)
644            (SaveSessionTest.testRasterLayer)
645            (SaveSessionTest.testClassifiedLayer)
646            (SaveSessionTest.test_dbf_table)
647            (SaveSessionTest.test_joined_table)
648            (SaveSessionTest.test_save_postgis): Update to thuban-1.0rc1
649            namespace
650    
651            * test/test_load.py (LoadSessionTest.dtd): Update to thuban-1.0rc1
652            namespace
653            (TestSingleLayer.file_contents)
654            (TestNonAsciiColumnName.file_contents)
655            (TestLayerVisibility.file_contents)
656            (TestClassification.file_contents, TestLabels.file_contents)
657            (TestLayerProjection.file_contents)
658            (TestRasterLayer.file_contents, TestJoinedTable.file_contents)
659            (TestPostGISLayer.file_contents)
660            (TestPostGISLayerPassword.file_contents)
661            (TestLoadError.file_contents, TestLoadError.test): Update to
662            thuban-1.0rc1 namespace
663    
664    2003-12-01  Bernhard Herzog  <[email protected]>
665    
666            * setup.py (proj4_prefix, wx_prefix, gdal_prefix): Fix these for
667            nt to better match Intevation's current w32 setup
668    
669            * HOWTO-Release: Add note about updating MANIFEST.in
670    
671            * MANIFEST.in: Add the Extensions
672    
673            * NEWS: Update for 1.0rc1
674    
675    2003-12-01  Bernhard Herzog  <[email protected]>
676    
677            * Thuban/UI/mainwindow.py (MainWindow.AddLayer): Change the wild
678            cards for the dialog so that shapefiles ending in all uppercase
679            SHP are listed too
680    
681    2003-11-28  Bernhard Herzog  <[email protected]>
682    
683            * Thuban/version.py (longversion): Update to 1.0rc1
684    
685            * setup.py (setup call): Update version to 1.0rc1. Use the
686            [email protected] email address as author email instead of my
687            personal one.
688    
689    2003-11-28  Bernhard Herzog  <[email protected]>
690    
691            * po/de.po: Update german translation.
692    
693    2003-11-28  Bernhard Herzog  <[email protected]>
694    
695            Unify the filenames stored in .thuban files so that the .thuban
696            files are more platform independend
697    
698            * Thuban/Model/save.py (unify_filename): New. Unify filenames so
699            that they can be used on both windows and unix
700            (SessionSaver.prepare_filename): New. Handle all filename
701            transformations for filenames stored in the thuban file
702            (SessionSaver.write_data_containers, SessionSaver.write_layer):
703            Use prepare_filename
704    
705            * test/test_save.py (SaveSessionTest.testSingleLayer)
706            (SaveSessionTest.testLayerProjection)
707            (SaveSessionTest.testRasterLayer)
708            (SaveSessionTest.testClassifiedLayer)
709            (SaveSessionTest.test_dbf_table)
710            (SaveSessionTest.test_joined_table): Filenames are always stored
711            with slashes on all currently supported platforms so adapt all
712            tests to this
713    
714            * test/test_load.py (LoadSessionTest.filenames): With the new
715            filename scheme the filenames in the tests should be
716            understandable on all currently supported platforms so we turn
717            this into an empty list because we don't have to normalize them
718            anymore
719    
720    2003-11-28  Bernhard Herzog  <[email protected]>
721    
722            * test/test_layer.py (TestLayer.test_arc_layer_with_projection):
723            Add the ellipsoid to the projection since some Proj versions
724            complain if it's missing.
725    
726    2003-11-27  Bernhard Herzog  <[email protected]>
727    
728            Corect some bounding box projection problems
729    
730            * Thuban/Model/proj.py (Projection.InverseBBox): New. Inverse
731            version of ForwardBBox
732            (Projection._transform_bbox): New. common implementation of
733            ForwardBBox and InverseBBox
734            (Projection.ForwardBBox): Use _transform_bbox.
735    
736            * test/test_proj.py (TestProjection.test): Add test for
737            InverseBBox
738    
739            * Thuban/Model/layer.py (Layer.LatLongBoundingBox)
740            (Layer.ShapesBoundingBox, RasterLayer.LatLongBoundingBox): Use the
741            new InverseBBox method to determine the unprojected bounding box
742            (Layer.ShapesInRegion): Use the ForwardBBox method to project the
743            bbox.
744    
745            * test/test_layer.py (TestLayer.test_point_layer_with_projection):
746            Removed.
747            (TestLayer.test_arc_layer_with_projection): New. This test is
748            better able to test whether bounding boxes are projected correctly
749            than test_point_layer_with_projection
750    
751            * Thuban/UI/viewport.py (ViewPort.map_projection_changed): Use
752            InverseBBox to unproject bboxes
753    
754    2003-11-25  Bernhard Herzog  <[email protected]>
755    
756            * Thuban/UI/about.py (About.__init__): Make sure we have ASCII
757            source code.
758    
759    2003-11-25  Bernhard Herzog  <[email protected]>
760    
761            * Thuban/Model/layer.py (Layer.__getattr__): Removed. It was only
762            there for backwards compatibility and all code relying on that
763            should have been updated by now.
764    
765    2003-11-25  Bernhard Herzog  <[email protected]>
766    
767            * test/test_load.py (TestClassification.test): Add the missing
768            round trip test.
769            (TestClassification.file_contents): Update to the newest file
770            format
771    
772    2003-11-25  Bernhard Herzog  <[email protected]>
773    
774            Add very experimental (and possibly dangerous) extension to draw
775            polygons:
776    
777            * Extensions/drawshape/README: New. Brief installation
778            instructions
779    
780            * Extensions/drawshape/drawshape.py: New. Implementation of the
781            drawshape extensions
782    
783            * Extensions/drawshape/patch.diff: Patch to apply before the
784            extension can be used.
785    
786    2003-11-24  Bernhard Herzog  <[email protected]>
787    
788            * Thuban/Model/data.py (ShapefileStore._open_shapefile)
789            (ShapefileStore.__init__): Factor opening the shapefile into a
790            separate method (the new _open_shapefile). This makes the code a
791            bit more readable but the real reason is that it makes some evil
792            hacks easier. :-)
793    
794    2003-11-24  Bernhard Herzog  <[email protected]>
795    
796            * Thuban/Model/load.py (SessionLoader.check_attrs): If no
797            converter is specified for an attribute assume it's a string
798            containing only Latin1 characters. Update doc-string accordingly.
799            This change should fix many places where unicode objects might
800            accidentally enter Thuban.
801    
802            * test/test_load.py (TestNonAsciiColumnName): New test to check
803            what happens with column names in DBF files that contain non-ascii
804            characters
805    
806    2003-11-21  Bernhard Herzog  <[email protected]>
807    
808            Enable the experimental attribute editing again and introduce a
809            command line switch to actually activate it
810    
811            * Thuban/UI/main.py (options): New. Container for options set on
812            the commmand line
813            (main): Add the --enable-attribute-editing flag.
814    
815            * Thuban/UI/identifyview.py (IdentifyView.__init__): If attribute
816            editing is enabled use the grid ctrl which allows editing of the
817            values
818    
819            * Thuban/Model/transientdb.py (AutoTransientTable.write_record):
820            New. Just delegate this to the underlying table.
821    
822    2003-11-20  Bernhard Herzog  <[email protected]>
823    
824            * test/test_proj.py (ProjFileReadTests.test_read_unreadable_file):
825            Skip this test if run under non-posix systems since it only works
826            there
827    
828  2003-11-19  Bernhard Herzog  <[email protected]>  2003-11-19  Bernhard Herzog  <[email protected]>
829    
830          * Thuban/Model/resource.py: Rework the way gdal support is          * Thuban/Model/resource.py: Rework the way gdal support is

Legend:
Removed from v.1965  
changed lines
  Added in v.2115

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26