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

Legend:
Removed from v.1403  
changed lines
  Added in v.1531

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26