/[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 425 by bh, Mon Feb 24 14:17:19 2003 UTC revision 527 by jonathan, Wed Mar 12 19:54:04 2003 UTC
# Line 1  Line 1 
1    2003-03-11  Jonathan Coles   <[email protected]>
2    
3            * Thuban/Model/load.py: Temporary fix so that the xml reader
4            doesn't cause Thuban to crash.
5    
6            * Thuban/Model/layer.py: Handle the cyclic references between
7            a layer and its classification better, and be sure to disconnect
8            the classification from the layer when the layer is destroyed
9            so that we don't maintain a cyclic reference that may not be
10            garbage collected.
11    
12            * Thuban/Model/classification.py: See comment for layer.py.
13    
14    2003-03-12  Jan-Oliver Wagner <[email protected]>
15    
16            * HOWTO-Release: New. Information on the steps for releasing
17            a new version of Thuban.
18    
19    2003-03-11  Jonathan Coles   <[email protected]>
20    
21            * Thuban/UI/classifier.py: Add normal border to SelectPropertiesDialog.
22            Use True instead of true.
23            (Classifier): Should have a single panel in which all the controls lie.
24    
25            * Thuban/UI/proj4dialog.py: Add normal border.
26    
27            * Thuban/UI/tree.py: Fixed problem with bad item images under Windows.
28    
29            * Thuban/UI/mainwindow.py: Use True instead of true.
30    
31            * setup.py: Update some definitions to use wxWindows2.4 files
32    
33            * Data/iceland_sample_class.thuban: Fixed file so that the
34            field_type information is present.
35    
36    2003-03-10  Jonathan Coles   <[email protected]>
37    
38            * Thuban/UI/classifier.py (Classifier.__init__): Make the
39            field type label grow so that when the text changes the
40            size is updated correctly. This may be a wxWindows bug.
41    
42    2003-03-10  Jonathan Coles   <[email protected]>
43    
44            * Thuban/UI/application.py: Changed SESSION_CHANGED to
45            SESSION_REPLACED.
46    
47            * Thuban/UI/classifier.py: Wrap text with _().
48            (ClassGrid.CreateTable): Set dimensions and size hints here,
49            instead of in Reset, so we only set the size once.
50    
51            * Thuban/UI/dialogs.py: Don't need Shutdown(); just use Close()!
52    
53            * Thuban/UI/mainwindow.py (MainWindow.prepare_new_session):
54            Call Close() instead of Shutdown().
55    
56            * Thuban/UI/messages.py: Changed SESSION_CHANGED to SESSION_REPLACED.
57    
58            * Thuban/UI/tree.py: Changed SESSION_CHANGED to SESSION_REPLACED.
59            Go back to using OnClose() instead of Shutdown().
60    
61    2003-03-10  Jonathan Coles   <[email protected]>
62    
63            * Thuban/UI/classifier.py (Classifier): SelectField() needed
64            to know the old field index as well as the new one.
65    
66    2003-03-10  Jonathan Coles   <[email protected]>
67    
68            * Thuban/UI/classifier.py (Classifier): Use __SelectField()
69            to correctly set the table information and call this from
70            __init__ and from _OnFieldSelect so that all the information
71            is up to date when the dialog opens and when a field is changed.
72    
73    2003-03-10  Jonathan Coles   <[email protected]>
74    
75            * Thuban/Model/classification.py (Classification): Don't use
76            layer's message function directly, use the ClassChanged() method
77            when then classification changes. SetField/SetFieldType/SetLayer
78            must keep the information about field name and field type in
79            sync when an owning layer is set or removed.
80    
81            * Thuban/Model/layer.py: Added ClassChanged() so that the
82            classification can tell the layer when its data has changed.
83            (Layer.SetClassification): Accepts None as an arguement to
84            remove the current classification and correctly handles
85            adding a new classification.
86    
87            * Thuban/Model/load.py: Comment out print statement
88    
89            * test/test_classification.py, test/test_save.py: New and
90            improved tests.
91    
92    2003-03-07  Jonathan Coles   <[email protected]>
93    
94            * Thuban/Model/classification.py: Implemented __copy__ and
95            __deepcopy__ for ClassGroup* and ClassGroupProperites so
96            they can easily be copied by the classifier dialog.
97            (ClassGroupProperites.__init__): The default line color should
98            have been Color.Black.
99    
100            * Thuban/UI/classifier.py: Setting and Getting table values now
101            uses a consistent set of functions.
102            (Classifier): Now non-modal. Has field type label which changes
103            as the field changes. Keep track of buttons in a list so that
104            we can enable/disable the buttons when the None field is selected.
105            (SelectPropertiesDialog): Add buttons to make the colors transparent.
106    
107            * Thuban/UI/dialogs.py (NonModalDialog.Shutdown): New method which
108            does what OnClose did, but can be called by the application to
109            close a window. Needed when a session changes, and we have to
110            close the classifier windows.
111    
112            * Thuban/UI/mainwindow.py (MainWindow.prepare_new_session):
113            Shuts down open dialogs. Used when a new session is created
114            or a session is opened.
115            (MainWindow.SaveSession): Should only call application.SaveSession()
116            if we don't call SaveSessionAs first.
117            (MainWindow.Classify): Allow different classifier dialogs for
118            different layers.
119    
120            * Thuban/UI/tree.py (SessionTreeView): Remove OnClose and let
121            the parent class handle it. Add Shutdown() to unsubscibe from
122            event notification and call the parent Shutdown(). This was
123            necessary so the application can close the tree window.
124    
125    2003-03-06  Jonathan Coles   <[email protected]>
126    
127            * Thuban/Model/classification.py: Minor documentation changes,
128            Addition of __eq__ and __ne__ methods.
129            (Classification.SetLayer): prevent recursion between this method
130            and Layer.SetClassification().
131    
132            * Thuban/Model/color.py: Addition of __eq__ and __ne__ methods.
133    
134            * Thuban/Model/layer.py (SetClassification): prevent recursion
135            between this method and Classification.SetLayer().
136    
137            * test/test_classification.py, test/test_load.py,
138            test/test_session.py: Fixed and added tests for the classification
139            classes.
140    
141    2003-03-06  Bernhard Herzog  <[email protected]>
142    
143            * Thuban/UI/classifier.py (ClassGrid.__init__)
144            (ClassGrid.CreateTable): Move the SetSelectionMode call to
145            CreateTable because otherwise it triggers an assertion in
146            wxPython/wxGTK 2.4.
147    
148    2003-03-05  Jonathan Coles   <[email protected]>
149    
150            * Thuban/common.py: Move FIELDTYPE constants back to table.py.
151    
152            * Thuban/Model/load.py: import FIELDTYPE constants from table.
153    
154            * Thuban/UI/classifier.py: import FIELDTYPE constants from table.
155    
156            * Thuban/Model/table.py: Put FIELDTYPE constants back.
157    
158    2003-03-05  Jonathan Coles   <[email protected]>
159    
160            * Thuban/UI/classifier.py: Added class documentation.
161            Fixed RTbug #1713, #1714. Added Move[Up|Down] buttons.
162            Store just the groups in the table and generate the other
163            column information when it is requested. Add "None" field
164            to pull-down to select no classification.
165    
166            * Thuban/common.py: Moved FIELDTYPE constants from table.py
167            (Str2Num): Only catch ValueError exceptions.
168    
169            * Thuban/Model/classification.py: Class documentation. Renaming
170            of methods with Stroke to Line. Groups are stored in a single
171            list with the default as the first element. Groups are searched
172            in the order they appear in the list.
173    
174            * Thuban/Model/color.py: Documentation.
175    
176            * Thuban/Model/layer.py (Layer): Add GetFieldType to retreive
177            the kind of data represented by a field.
178    
179            * Thuban/Model/load.py (ProcessSession): Use proper string
180            conversion function; fixes RTbug #1713.
181    
182            * Thuban/Model/save.py (Saver): Store field type information.
183    
184            * Thuban/Model/table.py: Put FIELDTYPE constants in common.py.
185            (Table): Add field_info_by_name() to retrieve field information
186            by specifying the field name, not the number.
187    
188            * Thuban/UI/mainwindow.py: Function name changes.
189    
190            * Thuban/UI/renderer.py (MapRenderer.draw_shape_layer): Only
191            get the layer classification once. Don't try to classify
192            values when the field is None: just use the default properties.
193    
194            * Thuban/UI/view.py: Function name changes.
195    
196            * Doc/thuban.dtd: Add field_type attribute to a classification.
197    
198    2003-03-04  Bernhard Herzog  <[email protected]>
199    
200            * Doc/thuban.dtd: Use correct syntax for optional attributes. Make
201            the fill and stroke layer attributes optional with suitable
202            default values. Add the stroke_width layer attribute. Use correct
203            syntax for empty elements. Make the attribute list for labels
204            refer to the label element.
205    
206    2003-03-04  Bernhard Herzog  <[email protected]>
207    
208            * setup.py (thuban_build_py.build): Add a comment about distutils in
209            Python 2.3 containing some of the functionality we implement in
210            setup.py ourselves.
211    
212            * Thuban/UI/classifier.py (ClassGrid.__init__): Set the table
213            before the selection mode. Doing it the other way round triggers
214            an assertion in wxWindows.
215    
216            * Thuban/Model/save.py (escape): Fix typo in doc-string
217    
218            * Thuban/Model/classification.py: Remove unnecessary wxPython
219            import
220    
221    2003-03-04  Jonathan Coles   <[email protected]>
222    
223            * Thuban/Model/classification.py (ClassGroupRange.GetProperties):
224            Parameter 'value' should default to None.
225    
226            * Thuban/UI/mainwindow.py: Use Layer.GetClassification() since
227            the class attribute __classification is now private.
228    
229            * Thuban/UI/classifier.py (ClassGrid): Moved OnCellDClick() from
230            Classifier to ClassGrid. Added support for removing selected rows,
231            which including code for keeping track of when cells are selected,
232            and deselected.
233            (ClassTable): Support for added/removing rows. Fixed a problem
234            with __ParseInput whereby it would not allow strings (only numbers)
235            to be entered.
236            (Classifier): Added button and supporting code for removing
237            selected rows.
238    
239    2003-02-27  Jonathan Coles   <[email protected]>
240    
241            * Thuban/common.py: Moved color conversion functions into
242            Thuban/UI/common.py.
243            (Str2Num): Now converts the float (not the string) to a long/int
244            so that an exception isn't thrown.
245    
246            * Thuban/UI/common.py: Common functions used in several UI modules
247    
248            * Thuban/Model/classification.py: Changed the class hierarchy
249            so that a Classification consists of Groups which return
250            Properties when a value matches a Group.
251    
252            * Thuban/Model/layer.py: Fixed name resolution problem.
253    
254            * Thuban/Model/load.py: Use new Classification and Group functions.
255    
256            * Thuban/Model/save.py (Saver.write_attribs): Fixes a test case
257            failure.
258            (Saver.write_classification): Use new Classification and Group
259            functions.
260    
261            * Thuban/UI/classifier.py: Changes to use new Classification and Group
262            functions. Fix to create a tuple with a single value instead of
263            simply returning the value.
264    
265            * Thuban/UI/renderer.py: Use new Classification and Group functions.
266            Use common.py functions.
267    
268            * Thuban/UI/tree.py: Use common.py functions.
269            
270            * test/test_classification.py: Use new Classification and Group
271            classes.
272    
273    2003-02-24  Jonathan Coles   <[email protected]>
274    
275            * Thuban/common.py (Color2wxColour, wxColour2Color): Conversion
276            functions from Thuban color objects to wxWindow colour objects.
277    
278            * Thuban/Model/classification.py (Classification): Renamed
279            GetProperties() to GetClassData(). Used the new iterator
280            in TreeInfo().
281            (ClassIterator): Iterator implementation to iterate over the
282            ClassData objects in a classification object.
283    
284            * Thuban/Model/save.py (Saver.write_classificaton): Uses
285            the new iterator to save the classification information.
286    
287            * Thuban/UI/classifier.py (SelectPropertiesDialog): Support
288            for changing the stroke and fill colors and previewing the
289            changes.
290    
291            * Thuban/UI/mainwindow.py (MainWindow.OpenSession,
292            MainWindow.SaveSessionAs): Text string changes so the dialogs
293            have more meaningful titles.
294    
295            * Thuban/UI/renderer.py (MapRenderer.draw_shape_layer): Change
296            Classification method name from GetProperties to GetClassData.
297    
298            * Thuban/UI/view.py (MapCanvas.find_shape_at): Use method calls
299            instead of accessing now non-existent class variables.
300    
301  2003-02-24  Bernhard Herzog  <[email protected]>  2003-02-24  Bernhard Herzog  <[email protected]>
302    
303          * Thuban/UI/renderer.py (MapRenderer.draw_shape_layer): Remove          * Thuban/UI/renderer.py (MapRenderer.draw_shape_layer): Remove

Legend:
Removed from v.425  
changed lines
  Added in v.527

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26