/[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 1894 by bh, Thu Oct 30 18:17:17 2003 UTC revision 1922 by bh, Mon Nov 3 18:42:35 2003 UTC
# Line 1  Line 1 
1    2003-11-03  Bernhard Herzog  <[email protected]>
2    
3            * Thuban/Model/data.py (ShapefileStore.ShapesInRegion): Bind some
4            globals to locals so that it's a bit faster
5    
6    2003-11-03  Bernhard Herzog  <[email protected]>
7    
8            * Thuban/UI/baserenderer.py
9            (BaseRenderer.draw_shape_layer_incrementally): Use the ReadValue
10            method. ReadValue is faster than ReadRowAsDict since it only reads
11            one cell especially now that the dbf file objects actually
12            implement it.
13    
14            * Thuban/Model/table.py (DBFTable.ReadValue): Use the new
15            read_attribute method of the dbf objects
16    
17    2003-11-03  Bernhard Herzog  <[email protected]>
18    
19            * Extensions/profiling/profiling.py (popup_dialog_box): New config
20            variable to indicate whether the result should be shown in a
21            dialog box
22            (profile_screen_renderer, time_screen_renderer): Only show a
23            dialog box if popup_dialog_box is true.
24            (profile_screen_renderer): Flush stdout after the printing the
25            first part of the "profiling..." message
26    
27            * Thuban/UI/baserenderer.py
28            (BaseRenderer.draw_shape_layer_incrementally): Cache the pens and
29            brushes for the groups so that they're not created over and over
30            again
31    
32            * Thuban/Model/classification.py (Classification.__getattr__)
33            (Classification._compile_classification)
34            (Classification._clear_compiled_classification): New. Methods to
35            manage a 'compiled' representation of the classification groups
36            which is created on demand
37            (Classification.InsertGroup, Classification.RemoveGroup)
38            (Classification.ReplaceGroup): reset the compiled representation
39            (Classification.FindGroup): Use the compiled representation to
40            find the matching group
41            (ClassGroupRange.GetRangeTuple): New. Return the range as a tuple
42    
43    2003-10-31  Bernhard Herzog  <[email protected]>
44    
45            * Thuban/Model/classification.py (Classification.SetDefaultGroup):
46            Send a CLASS_CHANGED message
47            (Classification.RemoveGroup): Send a CLASS_CHANGED message and do
48            not return the removed group since it wasn't used.
49    
50            * test/test_classification.py
51            (TestClassification.test_set_default_group): New. Test the
52            SetDefaultGroup method
53            (TestClassification.test_insert_group): New. Test the InsertGroup
54            method
55            (TestClassification.test_remove_group): New. Test the RemoveGroup
56            method
57            (TestClassification.test_replace_group): New. Test the
58            ReplaceGroup method
59    
60    2003-10-31  Bernhard Herzog  <[email protected]>
61    
62            * test/test_classification.py (TestClassification.setUp):
63            Subscribe to the CLASS_CHANGED messages
64            (TestClassification.tearDown): New. Destroy the classification
65            properly
66            (TestClassification.test_defaults): Add tests for the default line
67            width and whether no messages were sent yet
68            (TestClassification.test_set_default_properties): Add tests for
69            messages and setting the default line width
70            (TestClassification.test_add_singleton)
71            (TestClassification.test_add_range)
72            (TestClassification.test_multiple_groups): Add tests for messages
73    
74    2003-10-31  Bernhard Herzog  <[email protected]>
75    
76            Some more refactoring in preparation for new tests:
77    
78            * test/test_classification.py (TestClassification.setUp): New.
79            Instantiate the classification here. Update the test methods
80            accordingly.
81            (TestClassification.test_multiple_groups): Make sure that the two
82            singletons matching 1 are considered different.
83    
84    2003-10-31  Bernhard Herzog  <[email protected]>
85    
86            * test/test_classification.py (red, green, blue): New. These
87            constants were used in several cases. Update the relevant methods.
88            (TestClassification.test_defaults)
89            (TestClassification.test_set_default_properties)
90            (TestClassification.test_add_singleton)
91            (TestClassification.test_add_range)
92            (TestClassification.test_multiple_groups)
93            (TestClassification.test_deepcopy): New. These were formerly all
94            part of the single method test.
95            (TestClassification.test_deepcopy): Removed.
96            (TestClassIterator): Removed. The test case is now a method of
97            TestClassification since it tests part of the public interface of
98            Classification
99            (TestClassification.test_iterator): New. Used to be
100            TestClassIterator effectively
101    
102    2003-10-31  Jan-Oliver Wagner <[email protected]>
103    
104            GUIfied the functions of the profiling extension.
105    
106            * /Extensions/profiling/__init__.py: New: Init to make this
107            directory a package.
108    
109            * Extensions/profiling/profiling.py: Moved menu entries to
110            the Extensions menu. Applied _() for strings.
111            (profile_screen_renderer): Catch the detailed printout and present
112            it in a dialog.
113            (time_screen_renderer): Raise a dialog to present the result instead
114            of printing it to stdout.
115    
116    2003-10-31  Bernhard Herzog  <[email protected]>
117    
118            * test/test_classification.py (TestClassGroupProperties)
119            (TestClassGroup, TestClassGroupDefault, TestClassGroupRange)
120            (TestClassGroupSingleton, TestClassIterator, TestClassification):
121            Split TestClassification into several classes, one for each class
122            being tested. TestClassification itself now only tests
123            Classification. This split makes changes to the tests a bit easier
124    
125    2003-10-31  Bernhard Herzog  <[email protected]>
126    
127            * Extensions/profiling/profiling.py: New. Extension to measure
128            Thuban performance
129    
130    2003-10-31  Frank Koormann <[email protected]>
131    
132            Added two items to legend popup menu: Remove Layer and Show Layer Table
133    
134            * Thuban/UI/legend.py (LegendPanel._OnRemoveLayer,
135            LegendPanel._OnShowTable): New event handlers, call the corresponding
136            mainwindow methods.
137            (LegendTree._OnRightClick): Added items to popup menu.
138    
139  2003-10-30  Bernhard Herzog  <[email protected]>  2003-10-30  Bernhard Herzog  <[email protected]>
140    
141          * Thuban/UI/dialogs.py (ThubanFrame.__init__): Handle          * Thuban/UI/dialogs.py (ThubanFrame.__init__): Handle

Legend:
Removed from v.1894  
changed lines
  Added in v.1922

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26