/[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 1418 by bh, Tue Jul 15 08:44:20 2003 UTC revision 1524 by bh, Wed Jul 30 13:10:45 2003 UTC
# Line 1  Line 1 
1    2003-07-30  Bernhard Herzog  <[email protected]>
2    
3            * Thuban/Lib/connector.py (QueueingPublisher): Removed. This class
4            was never used in Thuban.
5    
6    2003-07-30  Bernhard Herzog  <[email protected]>
7    
8            * Thuban/UI/join.py (JoinDialog.__init__): Use the table's Title()
9            method directly instead of going through the transient_table
10            method. This faster because transient_table may force the copy of
11            a DBF file into the transient database and setting a table's title
12            doesnm't affect the title of the associated transient table, so
13            this fixes RT #2042
14    
15            * Thuban/UI/main.py (__version__): Don't import the already
16            removed show_exception_dialog.
17    
18    2003-07-29  Jonathan Coles   <[email protected]>
19    
20            * Thuban/UI/application.py (ThubanApplication.ShowExceptionDialog):
21            Put back this method and remove the equivalent function since we
22            are setting the exception hook from within this class (OnInit).
23    
24    2003-07-29  Jonathan Coles   <[email protected]>
25    
26            * Doc/manual/images/5_2_custom_ramp.png,
27            Doc/manual/images/5_2_quantiles.png,
28            Doc/manual/images/5_2_uniform_dist.png,
29            Doc/manual/images/5_2_unique_values.png,
30            Doc/manual/images/8_int_error.png: New screen shots.
31    
32            * Doc/manual/thuban-manual.xml: Fixed typos and wording, clarified
33            some points, and added more screen shots.
34    
35    2003-07-29  Bernhard Herzog  <[email protected]>
36    
37            * Thuban/Model/data.py: Remove the now unused import of warnings
38    
39    2003-07-29  Bernhard Herzog  <[email protected]>
40    
41            * Thuban/Model/data.py (SimpleStore): Removed. This class has been
42            deprecated since before the 0.8 release and isn't used in Thuban
43            itself anymore.
44    
45            * Thuban/Model/transientdb.py: Remove some unnecessary imports
46    
47    2003-07-29  Jonathan Coles   <[email protected]>
48    
49            * Thuban/UI/application.py (ThubanApplication.OnInit): set the
50            python exception hook here so that we are sure to catch any
51            Thuban exception that happen during initialization.
52    
53            * Thuban/UI/main.py (main): Don't set the exception hook here,
54            it will get set in ThubanApplication.OnInit.
55    
56    2003-07-29  Jonathan Coles   <[email protected]>
57                                                                                
58            * Thuban/UI/application.py (ThubanApplication.ShowExceptionDialog):
59            Removed and called it show_exception_dialog() so that the exception
60            handler can be set before the class is created.
61                                                                                
62            * Thuban/UI/main.py (main): Install the exception handler before
63            a ThubanApplication is created.
64                                                                                    
65    2003-07-29  Bernhard Herzog  <[email protected]>
66    
67            * po/it.po: New. Italian translation by Maurizio Napolitano
68    
69            * po/ru.po: New. Russian translation by Alex Shevlakov
70    
71    2003-07-29  Frank Koormann   <[email protected]>
72    
73            * Doc/manual/thuban-manual.xml: Extended section on supported
74            projections.
75            
76    2003-07-29  Frank Koormann   <[email protected]>
77    
78            * Doc/manual/thuban-manual.xml: gaspell-checked.
79    
80    2003-07-29  Jonathan Coles   <[email protected]>
81    
82            * Doc/manual/images/3_5_legend.png: Added border to improve look
83            on white background.
84    
85    2003-07-29  Jonathan Coles   <[email protected]>
86    
87            * Doc/manual/thuban-manual.xml: Fixed grammar and typos. Added
88            descriptions for the legend toolbar.
89    
90            * Doc/manual/images/4_2_raster_layer_properties.png: Removed
91            cursor from dialog box.
92    
93    2003-07-28  Jonathan Coles   <[email protected]>
94    
95            * Doc/manual/thuban-manual.xml: More screenshots and more chapters.
96    
97            * Doc/manual/images/2_4_session_tree.png,
98            Doc/manual/images/3_5_legend.png, Doc/manual/images/3_rename_map.png,
99            Doc/manual/images/4_2_layer_properties.png,
100            Doc/manual/images/4_2_raster_layer_properties.png,
101            Doc/manual/images/5_3_genclass.png,
102            Doc/manual/images/5_classification.png,
103            Doc/manual/images/6_projection.png,
104            Doc/manual/images/7_1_table_view.png,
105            Doc/manual/images/7_2_5_join.png: New screenshots.
106    
107    2003-07-24  Jonathan Coles   <[email protected]>
108    
109            * Doc/manual/thuban-manual.xml: Chapter on Projection Management.
110    
111    2003-07-24  Jonathan Coles   <[email protected]>
112    
113            * Doc/manual/thuban-manual.xml: Added EPS images and wrote
114            chapter on Layer Management.
115    
116            * Doc/manual/Makefile: New. Makefile to generate all formats for the
117            manual and images.
118    
119    2003-07-24  Bernhard Herzog  <[email protected]>
120    
121            * Thuban/Model/range.py, Thuban/version.py: Remove the #! line as
122            it annoys lintian which warns about these files not being
123            executable. The #1 isn't necessary here since if you absolutely
124            must execute them you can always say "python <filename>".
125    
126            * Thuban/UI/renderer.py (ScreenRenderer.draw_shape_layer): Remove
127            superfluous code to set brush and pen for point shapes
128    
129            * Thuban/UI/viewport.py: Remove commented out code that wouldn't
130            belong in viewport anyway
131    
132    2003-07-24  Frank Koormann   <[email protected]>
133    
134            * Doc/manual/thuban-manual.xml: Added section on table management.
135    
136    2003-07-24  Bernhard Herzog  <[email protected]>
137    
138            * test/runtests.py (main): Recognize the long "verbose" option
139            correctly.
140    
141    2003-07-22  Jonathan Coles   <[email protected]>
142    
143            * Doc/manual/thuban-manual.xml: Continue to write first revision
144            of the manual.
145    
146            * Thuban/UI/renderer.py (MapRenderer.render_map): Wrap method
147            with Begin/EndDrawing() calls to ensure we aren't doing to
148            many updates to the dc during rendering.
149            (ScreenRenderer.draw_shape_layer): self.draw_point_shape takes
150            a pen and brush argument so they need to be passed to the function.
151    
152            * Thuban/UI/viewport.py (ViewPort.calc_min_max_scales): New.
153            Calculates the minimum and maximum scale values. Factored out
154            of set_view_transform so that it could be used to zoom all the
155            way into a single point.
156            (ViewPort.set_view_transform): Call calc_min_max_scales().
157            (ViewPort.FitSelectedToWindow): Zoom to the maximum scale
158            if only a single point is selected.
159    
160            * Doc/manual/images/1_2_legend_close.png,
161            Doc/manual/images/1_2_legend_dock.png,
162            Doc/manual/images/1_2_mainwindow.png,
163            Doc/manual/images/1_2_mainwindow.ps,
164            Doc/manual/images/1_2_mainwindow.sk,
165            Doc/manual/images/3_2_fullextent.png,
166            Doc/manual/images/3_2_fulllayerextent.png,
167            Doc/manual/images/3_2_fullshapeextent.png,
168            Doc/manual/images/3_2_pan.png,
169            Doc/manual/images/3_2_zoomin.png,
170            Doc/manual/images/3_2_zoomout.png,
171            Doc/manual/images/3_3_identify.png,
172            Doc/manual/images/3_3_label.png,
173            Doc/manual/images/3_5_invisible.png,
174            Doc/manual/images/3_5_movedown.png,
175            Doc/manual/images/3_5_moveup.png,
176            Doc/manual/images/3_5_props.png,
177            Doc/manual/images/3_5_tobottom.png,
178            Doc/manual/images/3_5_totop.png,
179            Doc/manual/images/3_5_visible.png: New. Images for the documentation.
180    
181    2003-07-18  Bernhard Herzog  <[email protected]>
182    
183            * Thuban/UI/messages.py (MAP_REPLACED): New message.
184    
185            * Thuban/UI/viewport.py (ViewPort.SetMap): Issue MAP_REPLACED
186            after the new map has been assigned
187    
188            * Thuban/UI/mainwindow.py (MainWindow.delegated_messages):
189            Delegate MAP_REPLACED to the canvas too
190            (MainWindow.prepare_new_session): Removed. Thanks to the new
191            MAP_REPLACED message it's no longer needed
192            (MainWindow.OpenSession, MainWindow.NewSession):
193            prepare_new_session has been removed.
194    
195            * Thuban/UI/classifier.py (Classifier.__init__): Subscribe to
196            MAP_REPLACED so that we can close the dialog if a new map is set.
197            (Classifier.unsubscribe_messages): Unsubscribe from MAP_REPLACED
198            (Classifier.map_replaced): Handle MAP_REPLACED by closing the
199            dialog
200    
201            * test/test_viewport.py (SimpleViewPortTest)
202            (SimpleViewPortTest.test_default_size): Add doc-strings
203            (ViewPortTest.setUp): Bind map to self.map so we can use it in
204            tests. Subscribe to MAP_REPLACED messages too.
205            (ViewPortTest.tearDown): No need to explicitly unsubscribe
206            (ViewPortTest.test_set_map): New test for the SetMap method.
207    
208    2003-07-18  Bernhard Herzog  <[email protected]>
209    
210            * test/test_viewport.py (SimpleViewPortTest.test_default_size):
211            Move this test from ViewPortTest.setUp to this new separate test
212            case. setUp is not the place for the actual tests.
213            (ViewPortTest.test_inital_settings, ViewPortTest.setUp): Move some
214            more of the test from setUp to the new test test_inital_settings.
215            (ViewPortTest.test_win_to_proj, ViewPortTest.test_proj_to_win)
216            (ViewPortTest.test_proj_conv): Split test_proj_conv into
217            test_win_to_proj and test_proj_to_win and make the tests easier to
218            understand
219            (ViewPortTest.testFitRectToWindow, ViewPortTest.testZoomFactor)
220            (ViewPortTest.testZoomOutToRect, ViewPortTest.testTranslate)
221            (ViewPortTest.test_unprojected_rect_around_point)
222            (ViewPortTest.test_find_shape_at, ViewPortTest.testTools):
223            Reformat to increase readability.
224    
225    2003-07-18  Bernhard Herzog  <[email protected]>
226    
227            * Thuban/UI/view.py (MapCanvas.OnLeftDown): Capture the mouse.
228    
229    2003-07-18  Bernhard Herzog  <[email protected]>
230    
231            * test/runtests.py: The test suite can now be run without an X
232            connection. To make sure this remains true, remove the DISPLAY
233            environment variable so that an error occurs if the wxGTK is
234            imported accidentally
235    
236    2003-07-18  Bernhard Herzog  <[email protected]>
237    
238            * Thuban/UI/viewport.py: Remove unused imports
239    
240            * Thuban/UI/view.py: Remove unused imports
241    
242    2003-07-18  Bernhard Herzog  <[email protected]>
243    
244            * test/test_export.py Remove unused imports. The OutputTransform
245            function is now in viewport.py and is called output_transform
246            (TestScalebar.test_output_transform)
247            (TestScalebar.test_OutputTransform): Renamed to
248            test_output_transform and updated to use output_transform instead
249            of OutputTransform
250    
251            * Thuban/UI/view.py (OutputTransform): Moved to viewport.py and
252            renamed.
253            (MapCanvas.Export, MapPrintout.draw_on_dc): OutputTransform was
254            renamed to output_transform
255    
256            * Thuban/UI/viewport.py (OutputTransform, output_transform):
257            Rename to output_transform
258    
259    2003-07-18  Bernhard Herzog  <[email protected]>
260    
261            * Thuban/Model/layer.py (Layer.__init__): Rename
262            classificationField to classificatin_column and init it here so
263            that it can be used in SetClassificationColumn
264            (Layer.GetClassificationColumn, Layer.GetClassificationField):
265            Rename to GetClassificationColumn.
266            (Layer.SetClassificationColumn, Layer.SetClassificationField):
267            Rename to SetClassificationColumn and issue a LAYER_CHANGED
268            message if the column changes.
269            (Layer._classification_changed, Layer.ClassChanged): Rename to
270            _classification_changed. Update the callers.
271            (Layer.SetShapeStore): Further field->column renames.
272    
273            * Thuban/Model/load.py (SessionLoader.start_classification)
274            (SessionLoader.start_clpoint): Updates because of
275            field->column method name changes in the Layer class
276    
277            * Thuban/Model/save.py (SessionSaver.write_classification): Updates
278            because of field->column method name changes in the Layer class
279    
280            * Thuban/UI/classifier.py (Classifier.__init__)
281            (Classifier._OnTry, Classifier._OnRevert): Updates because of
282            field->column method name changes in the Layer class
283    
284            * Thuban/UI/renderer.py (MapRenderer.draw_shape_layer): Updates
285            because of field->column method name changes in the Layer class
286    
287            * Thuban/UI/viewport.py (ViewPort.find_shape_at): Updates because
288            of field->column method name changes in the Layer class
289    
290            * test/test_save.py (SaveSessionTest.testClassifiedLayer)
291            (SaveSessionTest.testClassifiedLayer): Update because of
292            field->column method name changes in the Layer class
293    
294            * test/test_layer.py (SetShapeStoreTests.setUp)
295            (SetShapeStoreTests.test_sanity): Update because of field->column
296            method name changes in the Layer class
297            (TestLayerModification.setUp): Subscribe to LAYER_CHANGED as well
298            (TestLayerModification.test_sanity)
299            (TestLayerModification.test_initial_settings): remove unsued code
300            and rename to test_sanity.
301            (TestLayerModification.test_set_classification): New test for
302            SetClassification and SetClassificationField.
303    
304    2003-07-18  Bernhard Herzog  <[email protected]>
305    
306            * test/test_classgen.py (TestFixedRamp.test): Extend test to check
307            the non-fixed values as well. The old test would have accepted a
308            fixed ramp that only returnes the fixed properties
309    
310    2003-07-17  Jonathan Coles   <[email protected]>
311    
312            * Doc/manual/mainwindow.png, Doc/manual/mainwindow.xcf: Screen
313            shots for the manual. The XCF file is the source image and
314            has additional layers to support changes.
315    
316            * Doc/manual/thuban-manual.xml: Wrote an initial Introduction.
317    
318            * Thuban/UI/classifier.py (Classifier.__BuildClassification):
319            Return both the new class and the field name.
320    
321            * Thuban/UI/mainwindow.py (MainWindow.ToggleLegend): Don't
322            fit the map to the window as this changes any zoom level that
323            the user may have set.
324    
325    2003-07-16  Jonathan Coles   <[email protected]>
326    
327            * Thuban/Model/classgen.py (generate_singletons,
328            generate_uniform_distribution, generate_quantiles): Remove
329            fixes parameter, but maintain the same functionality by having
330            the calling function pass a FixedRamp object for the ramp.
331            (FixedRamp): New. Adapts a ramp to have fixed property values.
332    
333            * Thuban/Model/classification.py: Use new CLASS_CHANGED message.
334            (Classification): Inherit from Publisher.
335            (Classification.__init__): Remove the layer parameter.
336            Classifications no longer need to have a parent layer.
337            (Classification.GetField, Classification.GetFieldType,
338            Classification.SetFieldInfo): Removed. The field name is stored
339            in the layer, and the type can be retreived by calling
340            Layer.GetFieldType().
341            (Classification._set_layer, Classification.GetLayer): Removed.
342            Classifications no longer have a parent layer.
343    
344            * Thuban/Model/layer.py (Layer.Destroy): Unsubscribe from the
345            classification.
346            (Layer.SetShapeStore): Reset the classification first while
347            we still have the old shape store to work with.
348            (Layer.GetClassificationField, Layer.SetClassificationField):
349            New. Method for getting/setting the field to classify on.
350            (Layer.SetClassification): Simplified now that the layer
351            simply has to hold a reference to the classification and not
352            tell the classification who owns it.
353            Fixes RTbug #2023.
354    
355            * Thuban/Model/load.py (SessionLoader.start_classification):
356            Set the field name on the layer, not the classification.
357    
358            * Thuban/Model/messages.py: Add CLASS_CHANGED for when a
359            classification is modified.
360    
361            * Thuban/Model/save.py (SessionSaver.write_classification):
362            Get the field name and type from the layer.
363    
364            * Thuban/Model/table.py (table_to_dbf, table_to_csv): Renamed
365            parameter records to rows and add docstring. Fixes RTbug #1997.
366    
367            * Thuban/UI/classgen.py (ClassGenDialog.OnOK): Use a fixed
368            ramp when we need to fix certain values of a ramp rather than
369            using the old fixes parameter. Fixes RTbug #2024.
370    
371            * Thuban/UI/classifier.py (ClassGrid.CreateTable): Add fieldType
372            parameter.
373            (ClassTable.Reset): Add fieldType parameter and use it, rather
374            than asking the classification.
375            (Classifier.__init__): Remember the original class's field
376            and ask the layer for the field type, rather than the classification.
377            (Classifier.__SetGridTable): Retrieve the field and field type
378            for the table because they are not in the classification.
379            (Classifier._OnTry, Classifier._OnRevert): Set the classification
380            field on the layer in addition to the classification itself.
381    
382            * Thuban/UI/renderer.py (MapRenderer.draw_shape_layer): Get the
383            classification field from layer.
384    
385            * Thuban/UI/viewport.py (ViewPort.find_shape_at): Get the
386            classification field from layer. Split up tests and remove
387            *-imports. Fixes RTbug #1992.
388    
389            * test/test_classgen.py (TestFixedRamp): Test for the FixedRamp class.
390    
391            * test/test_classification.py
392            (TestClassification.test_classification): Remove tests for methods
393            that no longer exist.
394    
395            * test/test_layer.py (SetShapeStoreTests.setUp): Classification
396            __init__ no longer has a field parameter, use SetClassificationField.
397            (SetShapeStoreTests.test_sanity): Use layer object to get class
398            field info.
399    
400            * test/test_save.py (SaveSessionTest.testClassifiedLayer): Use
401            SetClassificationField on layer to set class field info.
402    
403            * test/test_viewport.py: Renamed from test/test_view.py.
404    
405    2003-07-16  Jan-Oliver Wagner <[email protected]>
406    
407            * Doc/manual/thuban-manual.xml: Added authors and an initial
408            coarse structure.
409    
410    2003-07-15  Bernhard Herzog  <[email protected]>
411    
412            * test/support.py (FloatComparisonMixin): This is a mix-in class
413            and therefore should not be derived from any other class.
414    
415            * test/test_range.py (RangeTest): FloatComparisonMixin is a
416            mix-in, so derive from TestCase as well.
417    
418    2003-07-15  Bernhard Herzog  <[email protected]>
419    
420            * Thuban/UI/renderer.py (MapRenderer.draw_shape_layer): Rework the
421            draw_func handling a bit to remove one layer of indirection. This
422            makes the renderer about 10% faster in the non-classifying case
423            and the code a bit cleaner
424            (MapRenderer.draw_point_shape): Add the pen and brush parameters
425            and set them in the dc. Now the draw_point_shape method and
426            wxproj's draw_polygon_shape function have basically the same
427            signature so that both can be directly used as draw_func
428    
429  2003-07-15  Bernhard Herzog  <[email protected]>  2003-07-15  Bernhard Herzog  <[email protected]>
430    
431          * Thuban/Model/save.py (SessionSaver.write_classification): Encode          * Thuban/Model/save.py (SessionSaver.write_classification): Encode

Legend:
Removed from v.1418  
changed lines
  Added in v.1524

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26