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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26