/[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 2021 by bh, Wed Dec 3 18:57:06 2003 UTC revision 2083 by bh, Fri Feb 20 14:33:35 2004 UTC
# Line 1  Line 1 
1    2004-02-20  Bernhard Herzog  <[email protected]>
2    
3            * Extensions/svgexport/__init__.py: New.  Turn
4            Extensions/svgexport into a package.
5    
6            * Extensions/svgexport/svgmapwriter.py: Reorder the imports and
7            doc-string a bit.  The doc-string must come first, otherwise it's
8            not a doc-string.  The __future__ import must be the first thing
9            after the doc-string.  Use only double quotes in doc-strings.
10            Single quotes trip up emacs syntax highlighting if the text
11            contains apostrophes.
12    
13    2004-02-20  Bernhard Herzog  <[email protected]>
14    
15            * Extensions/svgexport/test/__init__.py,
16            Extensions/svgexport/test/test_svgmapwriter.py: New. Initial test
17            suite for svgexport
18    
19            * test/runtests.py (find_test_modules): New. Function with the
20            module finding code from main.
21            (main): Use find_test_modules to figure out the default test
22            modules and take modules from Extensions.svgexport.test too.
23    
24    2004-02-19  Bernhard Herzog  <[email protected]>
25    
26            * Thuban/UI/application.py (ThubanApplication.OnInit): Make sure
27            the mainwindow has a reference to the map of the initial session.
28            This fixes a bug introduced with the fix for RT#2245
29    
30    2004-02-19  Bernhard Herzog  <[email protected]>
31    
32            * Extensions/svgexport/svgsaver.py,
33            Extensions/svgexport/svgmapwriter.py,
34            Extensions/svgexport/maplegend.py: Added again.  This time in the
35            correct place.
36    
37    2004-02-17  Bernhard Herzog  <[email protected]>
38    
39            Fix for RT#2245
40    
41            * Thuban/UI/application.py (ThubanApplication.OnInit): Initialize
42            instance variables before trying to create any windows.  Creating
43            windows can start an event loop if e.g. message boxes are popped
44            up for some reason, and event handlers, especially EVT_UPDATE_UI
45            may want to access things from the application.
46            (ThubanApplication.maps_changed): The mainwindow may not have been
47            created yet, so check whether it has been created before calling
48            its methods
49    
50            * Thuban/UI/view.py (MapCanvas.OnIdle): Only try to redraw if we
51            have a map
52    
53    2004-02-17  Bernhard Herzog  <[email protected]>
54    
55            * test/test_svgmapwriter.py, Extensions/svgsaver.py,
56            Extensions/svgmapwriter.py, Extensions/maplegend.py,
57            extensions/svgexport/svgsaver.py,
58            extensions/svgexport/svgmapwriter.py,
59            extensions/svgexport/maplegend.py: Removed.  These files were in
60            the wrong places or didn't work at all.
61    
62    2004-02-16  Bernhard Herzog  <[email protected]>
63    
64            * Thuban/UI/view.py (MapCanvas.Export): Remove accidentally added
65            line
66    
67    2004-02-16  Bernhard Herzog  <[email protected]>
68    
69            * Thuban/UI/view.py (MapCanvas.Export): Avoid UnboundLocalError.
70    
71    2004-02-15  Markus Rechtien  <[email protected]>
72            
73            * Extensions/svgexport/svgmapwriter.py: New. Adds the capability
74            to write a session to a file in SVG format.
75            * Extensions/svgexport/svgsaver.py: New. Uses svgmapwriter.py
76            to write a SVG map of a session.
77            * Extensions/svgexport/maplegend: New. Writes a basic maplegend
78            in SVG format for the current session.
79    
80    2004-02-13  Bernhard Herzog  <[email protected]>
81    
82            * Thuban/UI/mainwindow.py (MainWindow.AddDBLayer): When the layer
83            can't be created, return immediately after displaying the error
84            message.
85    
86    2004-02-11  Bernhard Herzog  <[email protected]>
87    
88            Handle postgis tables with more than one geometry column.
89    
90            * Thuban/Model/postgisdb.py
91            (PostGISTable._fetch_table_information): Delegate the creation of
92            column objects to a different method so that we can extend that in
93            derived classes
94            (PostGISTable._create_col_from_description): New. Column object
95            creation part of _fetch_table_information
96            (PostGISShapeStore._create_col_from_description): New. Extend
97            inherited method to handle geometry columns
98            (PostGISShapeStore.__init__): New parameter geometry_column to
99            specify which geometry column to use.  Optional but mandatory for
100            tables with more than one geometry column
101            (PostGISShapeStore._fetch_table_information): Also use the name of
102            the geometry column when looking for the srid
103            (PostGISShapeStore.ShapeType): Also use the name of the geometry
104            column when looking for the shape type
105    
106            * test/test_save.py (SaveSessionTest.test_save_postgis): Adapt
107            NonConnectionStore to changes in the PostGISShapeStore
108    
109            * test/test_postgis_db.py
110            (TestPostGISSpecialCases.test_shapestore_two_geom_cols): Test
111            PostGISShapeStore with tables having two geometry columns.
112    
113    2004-02-10  Bernhard Herzog  <[email protected]>
114    
115            Fix some postgis problems.  What remains to be done is real
116            handling of SRIDs as they affect how reprojection is done
117    
118            * Thuban/Model/postgisdb.py (quote_identifier): Fix typo in
119            doc-string
120            (PostGISShapeStore._fetch_table_information): New. Extend
121            inherited method to retrieve srid
122            (PostGISShapeStore.BoundingBox): Handle tables without data.
123            extent yields NULL for those
124            (PostGISShapeStore.ShapesInRegion): Use the srid of the table.
125    
126            * test/test_postgis_db.py
127            (TestPostGISSpecialCases.test_shapestore_empty_table): New test
128            for the special case of a table without any data
129            (TestPostGISShapestorePointSRID): New class with tests for a table
130            that uses srids
131            (PolygonTests): Fix a doc-string typo
132    
133            * test/postgissupport.py (PostGISDatabase.__init__): New parameter
134            reference_systems with a specification of spacial reference
135            systems to create in the new db.
136            (PostgreSQLServer.new_postgis_db)
137            (PostgreSQLServer.get_static_data_db): New parameter
138            reference_systems to be passed through ultimately to
139            PostGISDatabase.  In new_postgis_db also check whether an existing
140            db already has the right srids
141            (PostgreSQLServer.get_default_static_data_db): Add srids and a
142            table that uses srids
143            (PostGISDatabase.initdb): Create the entries for the reference
144            systems
145            (PostGISDatabase.has_data): Add reference_systems parameter to
146            check for those too
147            (upload_shapefile): New parameter srid to create tables with a
148            specific srid
149    
150    2004-02-06  Frank Koormann  <[email protected]>
151    
152            * po/pt_BR.po: Fixed charset
153    
154    2004-02-05  Frank Koormann  <[email protected]>
155    
156            * po/pt_BR.po: Fixed format string for error message, missing %s
157            added (Thuban/UI/application.py:273)
158    
159    2004-02-03  Frank Koormann  <[email protected]>
160            
161            First version of Portuguese (Brazilian) translation
162    
163            * po/pt_BR.po: New, translation of pot (2004-01-15 16:07+0300) for
164            Brazilian Portuguese by Eduardo Patto Kanegae.
165    
166            * Thuban/UI/about.py (About.__init.py__): Added Eduardo to the list of
167            translators.
168    
169    
170    2004-01-22  Frank Koormann  <[email protected]>
171    
172            * Doc/manual/thuban-manual.xml: Added section on installation of
173            Thuban under Win32 systems. Fixed image path references in the postgis
174            section. Some minor source formattings.
175    
176    2004-01-21  Frank Koormann  <[email protected]>
177    
178            Make Thuban remember path selections (at least for one application run).
179    
180            * Thuban/UI/application.py (Application.OnInit): Initialize path as a
181            attribute of application object. Path is a dictionary of
182            strings, currently with the items "data" and "projection".  
183            (Application.SetPath): New, stores path for the specified item.
184            (Application.Path): New, return path for the specified item.
185    
186            * Thuban/UI/mainwindow.py
187            (MainWindow.OpenSession, MainWindow.SaveSessionAs,
188            MainWindow.AddLayer, MainWindow.AddRasterLayer,
189            MainWindow.TableOpen): Access "data" path information of the
190            application.
191            
192            * Thuban/UI/projdialog.py (ProjFrame._OnImport, ProjFrame._OnExport):
193            Access "projection" path information of the application.
194    
195    2004-01-05  Bernhard Herzog  <[email protected]>
196    
197            * po/ru.po: Updated translations from Alex Shevlakov
198    
199    2004-01-05  Bernhard Herzog  <[email protected]>
200    
201            * po/Makefile, po/README: Move the description of how to generate
202            the translation statistics to the README.
203    
204    2003-12-23  Bernhard Herzog  <[email protected]>
205    
206            * NEWS: Update for 1.0.0
207    
208            * po/it.po: Another update from Maurizio Napolitano
209    
210    2003-12-23  Bernhard Herzog  <[email protected]>
211    
212            * po/it.po: Updated translation from Maurizio Napolitano
213    
214    2003-12-23  Bernhard Herzog  <[email protected]>
215    
216            * Thuban/UI/join.py (JoinDialog.__init__): Mark one more string
217            for translation
218    
219            * Thuban/UI/mainwindow.py (MainWindow.TableRename)
220            (MainWindow.RenameMap, MainWindow.RenameLayer): Mark some more
221            strings for translation
222    
223            * po/de.po: Update with the newly marked strings.
224    
225    2003-12-22  Bernhard Herzog  <[email protected]>
226    
227            * HOWTO-Release: Fix the places where version numbers have to be
228            updated
229    
230    2003-12-22  Bernhard Herzog  <[email protected]>
231    
232            * setup.py (setup call): 1.0.0, yeah!
233    
234            * Thuban/version.py (longversion): 1.0.0, yeah!
235    
236            * Thuban/Model/load.py (SessionLoader.__init__): Accept the
237            1.0.0 namespace too
238    
239            * Thuban/Model/save.py (SessionSaver.write_session): Save with
240            1.0.0 namespace
241    
242            * test/test_load.py (LoadSessionTest.dtd)
243            (TestSingleLayer.file_contents)
244            (TestNonAsciiColumnName.file_contents)
245            (TestLayerVisibility.file_contents)
246            (TestClassification.file_contents, TestLabels.file_contents)
247            (TestLayerProjection.file_contents)
248            (TestRasterLayer.file_contents, TestJoinedTable.file_contents)
249            (TestLabelLayer.file_contents, TestPostGISLayer.file_contents)
250            (TestPostGISLayerPassword.file_contents)
251            (TestLoadError.file_contents, TestLoadError.test): Update for
252            1.0.0 namespace
253    
254            * test/test_save.py (SaveSessionTest.dtd)
255            (SaveSessionTest.testEmptySession)
256            (SaveSessionTest.testSingleLayer)
257            (SaveSessionTest.testLayerProjection)
258            (SaveSessionTest.testRasterLayer)
259            (SaveSessionTest.testClassifiedLayer)
260            (SaveSessionTest.test_dbf_table)
261            (SaveSessionTest.test_joined_table)
262            (SaveSessionTest.test_save_postgis): Update for 1.0.0 namespace
263    
264    2003-12-22  Bernhard Herzog  <[email protected]>
265    
266            * Thuban/Model/load.py (SessionLoader.start_label): Make sure the
267            alignment flags are byte strings not unicode and that they have
268            valid values
269    
270            * test/test_load.py (TestLabelLayer): New. Test loading (and
271            indirectly saving) of maps with labels.
272    
273    2003-12-22  Bernhard Herzog  <[email protected]>
274    
275            * Thuban/UI/tableview.py (TableGrid.OnDestroy)
276            (TableGrid.__init__): Handle EVT_WINDOW_DESTROY in the grid to
277            unsubscribe all subscribers.
278            (LayerTableFrame.OnDestroy): Do not unsubscribe any messages from
279            self.grid since it may already have been destroyed.
280            Fixes RT #2256
281    
282    2003-12-19  Bernhard Herzog  <[email protected]>
283    
284            * po/fr.po, po/es.po: Updated translations from Daniel Calvelo
285    
286    2003-12-16  Bernhard Herzog  <[email protected]>
287            
288            * debian/bitmappath.patch, debian/setup.py.patch:
289                    added to ensure compliance with FHS for debian
290            * debian/rules, debian/changelog:
291                added patches in rules to ensure compliance with FHS for debian
292    
293    2003-12-16  Bernhard Herzog  <[email protected]>
294    
295            * po/Makefile (mo): Make the output a bit nicer so that it prints
296            statistics about the translations. Add a comment how produce even
297            nicer statistics with sed.
298    
299    2003-12-09  Frank Koormann   <[email protected]>
300    
301            * Resources/Projections/defaults.proj:
302            French projection sample with correct accents (UNICODE).
303    
304    2003-12-05  Bernhard Herzog  <[email protected]>
305    
306            * MANIFEST.in: Add the devtools directory
307    
308            * setup.py (setup call): Use license instead of licence. This
309            silences a deprecation warning on Python 2.3
310    
311    2003-12-05  Frank Koormann   <[email protected]>
312    
313            Documentation synced with 1.0rc1
314    
315            * Doc/manual/thuban-manual.xml:
316            Minor formatting changes and references to database layers .
317            Introduction.Internationalization: New section on i18n.
318            MapManagement.AddingandRemovingLayers: Added item on database layers.  
319            MapManagement.TheLegend: Added section and screenshot on popup menu.
320            ProjectionManagement: Updated screenshot and sentence on EPSG.
321            Appendix.SupportedDataSources: Added PostGIS.
322            Appendix.WorkingwithPostGIS: New section.
323    
324            * Doc/manual/images/6_projection.png: Updated screenshot including
325            EPSG checkboxes.
326    
327            * Doc/manual/images/3_5_popup_menu.png: New, popup menu screenshot.
328    
329            * Doc/manual/images/app_postgis_add_layer.png,
330            Doc/manual/images/app_postgis_db_add.png,
331            Doc/manual/images/app_postgis_db_management.png:
332            New screenshots focussing on database layers
333    
334    2003-12-05  Frank Koormann   <[email protected]>
335    
336            * Thuban/UI/projdialog.py (load_user_proj): If user.proj is missing
337            write warning to stderr instead of rising a warning dialog
338    
339  2003-12-03  Bernhard Herzog  <[email protected]>  2003-12-03  Bernhard Herzog  <[email protected]>
340    
341          Fix for RT #2243          Fix for RT #2243

Legend:
Removed from v.2021  
changed lines
  Added in v.2083

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26