/[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 1873 by bh, Mon Oct 27 17:11:35 2003 UTC revision 1916 by bh, Mon Nov 3 14:19:54 2003 UTC
# Line 1  Line 1 
1    2003-11-03  Bernhard Herzog  <[email protected]>
2    
3            * Extensions/profiling/profiling.py (popup_dialog_box): New config
4            variable to indicate whether the result should be shown in a
5            dialog box
6            (profile_screen_renderer, time_screen_renderer): Only show a
7            dialog box if popup_dialog_box is true.
8            (profile_screen_renderer): Flush stdout after the printing the
9            first part of the "profiling..." message
10    
11            * Thuban/UI/baserenderer.py
12            (BaseRenderer.draw_shape_layer_incrementally): Cache the pens and
13            brushes for the groups so that they're not created over and over
14            again
15    
16            * Thuban/Model/classification.py (Classification.__getattr__)
17            (Classification._compile_classification)
18            (Classification._clear_compiled_classification): New. Methods to
19            manage a 'compiled' representation of the classification groups
20            which is created on demand
21            (Classification.InsertGroup, Classification.RemoveGroup)
22            (Classification.ReplaceGroup): reset the compiled representation
23            (Classification.FindGroup): Use the compiled representation to
24            find the matching group
25            (ClassGroupRange.GetRangeTuple): New. Return the range as a tuple
26    
27    2003-10-31  Bernhard Herzog  <[email protected]>
28    
29            * Thuban/Model/classification.py (Classification.SetDefaultGroup):
30            Send a CLASS_CHANGED message
31            (Classification.RemoveGroup): Send a CLASS_CHANGED message and do
32            not return the removed group since it wasn't used.
33    
34            * test/test_classification.py
35            (TestClassification.test_set_default_group): New. Test the
36            SetDefaultGroup method
37            (TestClassification.test_insert_group): New. Test the InsertGroup
38            method
39            (TestClassification.test_remove_group): New. Test the RemoveGroup
40            method
41            (TestClassification.test_replace_group): New. Test the
42            ReplaceGroup method
43    
44    2003-10-31  Bernhard Herzog  <[email protected]>
45    
46            * test/test_classification.py (TestClassification.setUp):
47            Subscribe to the CLASS_CHANGED messages
48            (TestClassification.tearDown): New. Destroy the classification
49            properly
50            (TestClassification.test_defaults): Add tests for the default line
51            width and whether no messages were sent yet
52            (TestClassification.test_set_default_properties): Add tests for
53            messages and setting the default line width
54            (TestClassification.test_add_singleton)
55            (TestClassification.test_add_range)
56            (TestClassification.test_multiple_groups): Add tests for messages
57    
58    2003-10-31  Bernhard Herzog  <[email protected]>
59    
60            Some more refactoring in preparation for new tests:
61    
62            * test/test_classification.py (TestClassification.setUp): New.
63            Instantiate the classification here. Update the test methods
64            accordingly.
65            (TestClassification.test_multiple_groups): Make sure that the two
66            singletons matching 1 are considered different.
67    
68    2003-10-31  Bernhard Herzog  <[email protected]>
69    
70            * test/test_classification.py (red, green, blue): New. These
71            constants were used in several cases. Update the relevant methods.
72            (TestClassification.test_defaults)
73            (TestClassification.test_set_default_properties)
74            (TestClassification.test_add_singleton)
75            (TestClassification.test_add_range)
76            (TestClassification.test_multiple_groups)
77            (TestClassification.test_deepcopy): New. These were formerly all
78            part of the single method test.
79            (TestClassification.test_deepcopy): Removed.
80            (TestClassIterator): Removed. The test case is now a method of
81            TestClassification since it tests part of the public interface of
82            Classification
83            (TestClassification.test_iterator): New. Used to be
84            TestClassIterator effectively
85    
86    2003-10-31  Jan-Oliver Wagner <[email protected]>
87    
88            GUIfied the functions of the profiling extension.
89    
90            * /Extensions/profiling/__init__.py: New: Init to make this
91            directory a package.
92    
93            * Extensions/profiling/profiling.py: Moved menu entries to
94            the Extensions menu. Applied _() for strings.
95            (profile_screen_renderer): Catch the detailed printout and present
96            it in a dialog.
97            (time_screen_renderer): Raise a dialog to present the result instead
98            of printing it to stdout.
99    
100    2003-10-31  Bernhard Herzog  <[email protected]>
101    
102            * test/test_classification.py (TestClassGroupProperties)
103            (TestClassGroup, TestClassGroupDefault, TestClassGroupRange)
104            (TestClassGroupSingleton, TestClassIterator, TestClassification):
105            Split TestClassification into several classes, one for each class
106            being tested. TestClassification itself now only tests
107            Classification. This split makes changes to the tests a bit easier
108    
109    2003-10-31  Bernhard Herzog  <[email protected]>
110    
111            * Extensions/profiling/profiling.py: New. Extension to measure
112            Thuban performance
113    
114    2003-10-31  Frank Koormann <[email protected]>
115    
116            Added two items to legend popup menu: Remove Layer and Show Layer Table
117    
118            * Thuban/UI/legend.py (LegendPanel._OnRemoveLayer,
119            LegendPanel._OnShowTable): New event handlers, call the corresponding
120            mainwindow methods.
121            (LegendTree._OnRightClick): Added items to popup menu.
122    
123    2003-10-30  Bernhard Herzog  <[email protected]>
124    
125            * Thuban/UI/dialogs.py (ThubanFrame.__init__): Handle
126            EVT_WINDOW_DESTROY
127            (ThubanFrame.OnDestroy): New. Handler for EVT_WINDOW_DESTROY. Does
128            nothing but is convenient for the derived classes.
129    
130            * Thuban/UI/tableview.py
131            (TableFrame.OnDestroy, LayerTableFrame.OnDestroy): New.
132            Unsubscribe the messages here not in OnClose because that might
133            get called multiple times. Fixes RT #2196
134            (TableFrame.OnClose, LayerTableFrame.OnClose): Removed. Not needed
135            anymore.
136    
137            * README: Update the minimum requirement for wxPython. Since we
138            now use the EVT_WINDOW_DESTROY event, we need at least 2.4.0.4,
139            the version in which that was introduced for all platforms
140    
141    2003-10-30  Frank Koormann <[email protected]>
142    
143            * Thuban/UI/join.py (JoinDialog.OnJoin): Wrapped the major parts of
144            the join process in a ThubanBeginBusyCursor, ThubanEndBusyCursor
145            frame.
146    
147    2003-10-30  Jan-Oliver Wagner <[email protected]>
148    
149            Improved APR import extension, added further EPSG definitions
150            and some cleanup regarding string class.
151    
152            * test/test_proj.py (TestProjection.test_get_projection_units_geo):
153            Added test for alias 'longlat'.
154    
155            * Resources/Projections/epsg-deprecated.proj: New. Contains
156            deprecated EPSG definitions.
157    
158            * Extensions/importAPR/odb.py (ODBBaseObject.TreeInfo): Added
159            the variable names for objects.
160    
161            * Extensions/importAPR/apr.py (APR_BLnSym, APR_BMkSym, APR_BShSym): New.
162            Copied from importAPR and provided with documentation.
163    
164            * Extensions/importAPR/importAPR.py (APR_BLnSym, APR_BMkSym, APR_BShSym):
165            Moved to apr.py.
166            (APR_View): Added object ref 'ITheme'.
167    
168            * Thuban/Lib/fileutil.py, Thuban/UI/proj4dialog.py: Replaced string
169            split function by corresponding use of the string class method.
170    
171            * Thuban/Model/xmlwriter.py: Replaced string replace function by
172            corresponding string method.
173    
174    2003-10-29  Bernhard Herzog  <[email protected]>
175    
176            * Thuban/UI/baserenderer.py
177            (BaseRenderer.draw_shape_layer_incrementally): Speed up the
178            special case of a classification that only has the default group
179    
180    2003-10-27  Bernhard Herzog  <[email protected]>
181    
182            * po/fr.po, po/es.po: Updated translations from Daniel Calvelo
183    
184            * po/de.po: Update.
185    
186            * Thuban/UI/application.py
187            (ThubanApplication.ShowExceptionDialog): Handle translation of the
188            dialog message properly
189    
190  2003-10-27  Bernhard Herzog  <[email protected]>  2003-10-27  Bernhard Herzog  <[email protected]>
191    
192          Rework how localization works so that we use wx's translation          Rework how localization works so that we use wx's translation

Legend:
Removed from v.1873  
changed lines
  Added in v.1916

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26