/[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 2506 by jan, Thu Dec 23 15:10:58 2004 UTC revision 2544 by bh, Mon Jan 24 11:19:53 2005 UTC
# Line 1  Line 1 
1    2005-01-24  Bernhard Herzog  <[email protected]>
2    
3            Rework the status bar updates a bit to make sure the message about
4            the projections is produced at the right times.
5    
6            * Thuban/UI/mainwindow.py (MainWindow.update_status_bar_messages):
7            New class variable with messages that may require a status bar
8            update.
9            (MainWindow.view_position_changed)
10            (MainWindow.update_status_bar): Rename from view_position_changed
11            to update_status_bar.  It's meaning has changed now that it may
12            also generate messages about problems with projection settings.
13            (MainWindow.__init__): Use the new update_status_bar_messages
14            class variable to subscribe update_status_bar
15            (MainWindow.set_position_text): Update doc-string.  This method
16            has to be renamed at some point.  See doc-string and comments.
17            (MainWindow.OnClose): Unsubscribe update_status_bar from all
18            messages in update_status_bar_messages
19    
20            * Thuban/UI/viewport.py (ViewPort.forwarded_map_messages): New
21            class attribute.  map messages to be forwarded by the viewport.
22            (ViewPort._subscribe_map, ViewPort._unsubscribe_map): (un)subscribe
23            the messages in forwarded_map_messages
24    
25    2005-01-21  Bernhard Herzog  <[email protected]>
26    
27            * test/postgissupport.py (PostGISDatabase.__init__): Tweak
28            doc-string
29            (find_postgis_sql): Update for postgis-1.0.0-rc1, which uses a
30            different name for the initialization SQL file.
31    
32    2005-01-21  Jonathan Coles <[email protected]>
33    
34            * Thuban/UI/baserenderer.py (proj_params_to_str): New. Takes
35            a projection and returns a formatted string representing the
36            parameters to feed to gdalwarp. This function eliminates
37            redundancy in draw_raster_layer().
38            (BaseRenderer.render_map_incrementally): Removed the optimization which
39            drew the top most raster layer first and then only those vector-
40            based layers that are above it. With the support for transparency
41            this optimization breaks correct behaviour.
42            (BaseRenderer.draw_raster_layer): Reorganize code to support possible
43            future enhancements to raster layer bounding box. The old behaviour has
44            not changed. Also, change calling parameters to draw_raster_data()
45            to specify new RAW data format and mask.
46            (BaseRenderer.draw_raster_data): Change signature to include an optional
47            parameter for mask information. Change documentation to mention
48            support for new parameter and added option for RAW data format.
49            The data argument is now a list of [width, height, data].
50    
51            * Thuban/UI/renderer.py (MapRenderer.draw_raster_data): Add new optional
52            mask parameter. Add new condition for RAW format, which
53            significantly reduces rendering time. Add condition for
54            mask parameter.
55    
56            * libraries/thuban/gdalwarp.cpp (GetImageData): New. Creates a
57            data array of RGB values from the projected image returned from
58            the gdal warping functions. In the case of palette based images, it
59            converts the NO_DATA index to the mask color.
60            (ProjectRasterFile): Removed all custom memory driver references
61            and replaced it with the standard in-memory dataset provided
62            by gdal. The return data is no longer a BMP file, but an array
63            of RGB values, one set triple per pixel.
64    
65            * libraries/thuban/bmpdataset.cpp: Removed. Unnecessary.
66            * libraries/thuban/cpl_mfile.h: Removed. Unnecessary.
67            * libraries/thuban/cpl_mfile.cpp: Removed. Unnecessary.
68    
69            * setup.py (thuban_build_ext.finalize_options): Removed mention
70            of cpl_mfile.cpp and bmpdataset.cpp files in the list of source
71            files. These are obsolete with the new version of gdalwarp.cpp
72    
73            * test/test_baserenderer.py (SimpleRenderer.draw_raster_data):
74            Updated signature.
75            (TestBaseRenderer.test_raster_no_projection): Changed the test
76            data to be data in the uncompressed RAW format returned from
77            ProjectRasterFile.
78    
79    2005-01-21  Jan-Oliver Wagner <[email protected]>
80    
81            * Thuban/UI/mainwindow.py (MainWindow.view_position_changed): Made
82            string available for i18n.
83    
84    2005-01-20  Russell Nelson  <[email protected]>
85    
86            * Resources/Projections/defaults.proj: Ruin the speling of the
87            Lambert-93 projection so it doesn't run into the wx UTF-8 bug.
88            It's the wrong thing to do in the long run, but it's necessary for
89            those users until that bug is fixed.  Otherwise the projection
90            dialog segfaults.  Better to annoy some Lambert-93 users with a
91            spelling mistake than every Fedora Core 3 user of Thuban-CVS.
92    
93    2005-01-20  Bernhard Reiter <[email protected]>
94    
95            * Thuban/UI/mainwindow.py (MainWindow.view_position_changed): Added
96            docstring and comment that the warning code here is a hack.
97    
98    2005-01-20  Russell Nelson  <[email protected]>
99    
100            * Thuban/UI/mainwindow.py (MainWindow.view_position_changed): Warn
101            user about misprojected layers when their lat/lon bounding
102            box exceeds rational lat/lon values.
103    
104    2005-01-20  Bernhard Reiter <[email protected]>
105    
106            * Thuban/UI/about.py (unicodeToLocale): Improved:
107            Use 'ascii' and then 'replace' for other characters
108            when getdefaultlocale returns None. Thanks to Bernhard H. .
109    
110    2005-01-20  Bernhard Reiter <[email protected]>
111    
112            * Thuban/UI/classgen.py (GenQuantilesPanel.OnRetrieve): Added a comment
113            that OnRangeText might be called twice and using None as argument.
114    
115    2005-01-20  Bernhard Reiter <[email protected]>
116    
117            * Thuban/UI/classgen.py (GenQuantilesPanel.OnRetrieve): Add a
118            OnRangeText(0) to work around a different in wx Behaviour noticed
119            on MacOSX, thanks to Lorenzo Moretti and Daniel Calvelo for the fix.
120    
121    2005-01-20  Bernhard Reiter <[email protected]>
122    
123            * Thuban/UI/about.py: take iso-8859-15 when getdefaultlocale returns
124            None. (Fixes rt#2910.)
125            
126    2005-01-18  Frank Koormann <[email protected]>
127    
128            New Extension: mouseposition
129            Tool to collect mouse click positions (map coordinates) in a dialog.
130    
131            * Extensions/mouseposition/__init__.py: New, extension registration
132    
133            * Extensions/mouseposition/mouseposition.py: New, implements the
134            dialog and adds a tool to Thuban mainwindow.
135    
136            * Extensions/mouseposition/position.xpm: New, icon for tool.
137    
138    2005-01-14  Jan-Oliver Wagner <[email protected]>
139    
140            * Doc/manual/thuban-manual-de.xml: More translations.
141    
142    2005-01-11  Frank Koormann <[email protected]>
143    
144            * Thuban/UI/mainwindow.py (MainWindow.DuplicateLayer):
145            Fix indention bug.
146    
147    2005-01-09  Frank Koormann <[email protected]>
148    
149            * Thuban/UI/mainwindow.py (MainWindow.DuplicateLayer):
150            BugFix 2901: Explicitly copy layers ClassificationColumn since it
151            is not part of the layers Classification.
152    
153    2005-01-03  Frank Koormann <[email protected]>
154    
155            * Thuban/UI/renderer.py (ScreenRendererdraw_selection_incrementally):
156            BugFix 2883: Former implementation only worked on classified point
157            layers: KeyError was raised, now use the default size if field is None.
158    
159    2004-12-27  Bernhard Reiter <[email protected]>
160    
161            svgexport 1.0.0cvs: Fixed label export.
162    
163            * Extensions/svgexport/test/test_svgmapwriter.py:
164            class TestSVGRenderer(): New class; new test test_label_font().
165    
166            * Extensions/svgexport/svgmapwriter.py
167            (SVGRenderer.label_font()): initialised Font size with self.factor now,
168            makes test_label_font happy.
169    
170            * Extensions/svgexport/TODO: crossed out fixed label export item.
171            Added item for options.
172    
173            * Extensions/svgexport/__init__.py: Bumped version to 1.0.0cvs.
174    
175    2004-12-27  Russell Nelson  <[email protected]>
176    
177            Middle mouse button pans.
178    
179            * Thuban/UI/view.py (MapCanvas.__init__): Subscribe also
180            OnMiddleDown and OnMiddleUp events.
181            (MapCanvas.OnMiddleDown): New. Activate the pan tool and remember the
182            previously used tool.
183            (MapCanvas.OnMiddleUp): New. Reactivate the remebered tool used before
184            pressing the middle mouse button.
185    
186    2004-12-27  Jan-Oliver Wagner <[email protected]>
187    
188            * Doc/manual/thuban-manual-de.xml: More translations.
189    
190  2004-12-23  Jan-Oliver Wagner <[email protected]>  2004-12-23  Jan-Oliver Wagner <[email protected]>
191    
192          * Thuban/UI/projdialog.py (ProjFrame.load_user_proj): Added a          * Thuban/UI/projdialog.py (ProjFrame.load_user_proj): Added a
# Line 80  Line 269 
269          * Doc/manual/thuban-manual-de.xml: Copied English section about          * Doc/manual/thuban-manual-de.xml: Copied English section about
270          svexport over.          svexport over.
271    
272          * Extensions/svgexport/__init__.py: Bumped version number to 1.0.0.          * Extensions/svgexport/__init__.py: Bumped version number to 1.0.0.
273    
274          * Extensions/svgexport/svgsaver.py,maplegend.py:          * Extensions/svgexport/svgsaver.py,maplegend.py:
275          Moved from experimental to stable extension menu.          Moved from experimental to stable extension menu.

Legend:
Removed from v.2506  
changed lines
  Added in v.2544

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26