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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26