/[thuban]/branches/greater-ms3/thuban/ChangeLog
ViewVC logotype

Diff of /branches/greater-ms3/thuban/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 361 by bh, Mon Dec 9 10:34:37 2002 UTC revision 425 by bh, Mon Feb 24 14:17:19 2003 UTC
# Line 1  Line 1 
1    2003-02-24  Bernhard Herzog  <[email protected]>
2    
3            * Thuban/UI/renderer.py (MapRenderer.draw_shape_layer): Remove
4            unneeded Shape() call. Rendering is substantially faster without
5            it and it avoids some problems with broken shape files.
6    
7    2003-02-20  Frank Koormann   <[email protected]>
8    
9            Force minimal size of identify and label dialogs. The autosizing
10            looked too ugly.
11    
12            * Thuban/UI/controls.py (RecordListCtrl): Set minimal width for columns.
13            * Thuban/UI/labeldialog.py (LabelDialog.dialog_layout):
14            Set size of listctrl.
15            * Thuban/UI/identifyview.py (IdentifyView.__init__):
16            Set size of dialog.
17    
18    2003-02-19  Jonathan Coles   <[email protected]>
19    
20            * test/test_classification.py, test/test_layer.py,
21            test/test_load.py, test/test_map.py, test/test_session.py:
22            Updated the tests to use the new functions that are in the
23            respective classes.
24    
25            * Thuban/Model/classification.py (Classification):
26            Uses the new ClassData* classes. Modification messages are
27            passed up to the parent layer (if it exists).
28            (ClassData): New class to encapsulate the common data in each
29            classification property.
30            (ClassDataDefault): Represents the Default class. data.
31            (ClassDataPoint): Represents a single class. data point
32            (ClassDataRange): Represents a class. range
33            (ClassDataMap): Represents a class. map (unused).
34    
35            * Thuban/Model/color.py: Added Color.None to represent something
36            with no color. Color.Black represents the color black.
37            (NoColor): Helper class derived from Color to represent something
38            with no color.
39    
40            * Thuban/Model/layer.py (Layer): Removed references to fill, stroke,
41            stroke_width attributes. Made the 'classification' attribute private.
42            New methods for setting/getting the classification.
43    
44            * Thuban/Model/load.py (ProcessSession): Use new methods on Layer
45            to get the classifcation and use the new ClassData* classes to
46            hold the classification data. Use Str2Num to convert numbers
47            properly.
48    
49            * Thuban/Model/save.py (Saver): Use new Color and Classification
50            methods
51    
52            * Thuban/UI/classifier.py (ClassGrid): New class to represent a
53            custom grid.
54            (ClassTable): Support for editing Values and Labels and for
55            changing what type (point or range) of data is stored in each
56            property based on how the user enters the data.
57            (Classifier): Support for saving the new classifications and
58            launching the dialog to edit a property.
59            (SelectPropertiesDialog): New class for editing the visual
60            properties of a classification (stroke color, width, and fill color)
61            (ClassPreviewer): Took the Draw method from ClassRenderer and
62            made most of it into this new class. Intend to use this class in
63            the SelectPropertiesDialog for previewing changes.
64    
65            * Thuban/UI/renderer.py: Use new Color and Classification methods.
66    
67            * Thuban/UI/tree.py: Formatting changes.
68    
69            * Doc/thuban.dtd: Add 'label' element
70    
71            * Thuban/common.py: New. Contains common routines used throughout
72            the code.
73            (Str2Num): Takes a string and converts it to the "best" type of
74            number.
75    
76    2003-02-14  Bernhard Herzog  <[email protected]>
77    
78            * Thuban/UI/view.py (MapCanvas.OnLeftUp): Make sure that the
79            dragging flag is always set to 0 even when the tool implementation
80            raises an exception
81    
82    2003-02-11  Bernhard Herzog  <[email protected]>
83    
84            * Thuban/UI/application.py (ThubanApplication.splash_screen): New
85            method to create a splash screen.
86            (ThubanApplication.ShowMainWindow): New. Show the main window.
87            Needed so the splash screen can display the mainwindow
88            (ThubanApplication.OnInit): Call the
89            new splash_screen method to determine whether the application
90            should display a splash screen. If it displays a splash screen do
91            not immediately show the main window.
92    
93    2003-02-11  Jonathan Coles  <[email protected]>
94    
95            * Thuban/Model/classification.py: Added import line to fix
96            feature conflicts between running on python2.2 and python2.1.
97    
98            * Thuban/UI/classifier.py (ClassTable): Didn't need to hang
99            onto the clinfo parameter, so removed the deepcopy().
100    
101    2003-02-10  Jonathan Coles  <[email protected]>
102    
103            * Thuban/Model/save.py (Saver.open_element, Saver.close_element):
104            Added element_open variable to track opening and closing of tags
105            so that tags that don't span more than one line are closed with
106            /> instead of </tag_name>. Use the GetDefault*() methods of
107            the Classification class.
108    
109            * Thuban/Model/classification.py (Classificaton): Added set and
110            get methods for the default data. The class also takes a layer
111            reference so that modification messages can be sent. Fixed the
112            methods to use the new ClassData class.
113            (ClassData): New class to encapsulate the classification data
114    
115            * Thuban/Model/layer.py (Layer): Remove the
116            Set[Fill|Stroke|StrokeWidth]() methods. Code should call the
117            SetDefault*() methods on the layer's classification object.
118            (Layer.__init__): Use the new SetDefault*() methods in the
119            Classification class.
120    
121            * Thuban/Model/load.py (ProcessSession): Use the new ClassData
122            object instead of a dictionary.
123    
124            * Thuban/UI/classifier.py (ClassRenderer): New class to
125            draw the classifications in the dialog box's table.
126            (Classifier): Modified to use the ClassRenderer class.
127    
128            * Thuban/UI/mainwindow.py (MainWindow): Use the SetDefault*()
129            methods of the Classification class.
130    
131            * Thuban/UI/renderer.py (MapRenderer): Use the Get*() methods
132            of the ClassData class.
133    
134            * test/test_classification.py, test/test_layer.py,
135            test/test_map.py, test/test_session.py: Fix the tests to work
136            with the above code changes.
137    
138    2003-02-03  Jonathan Coles  <[email protected]>
139    
140            * Thuban/Model/classification.py (Classification): Added getNull()
141            to return the NullData reference
142    
143            * Thuban/Model/layer.py (Layer.SetFill, Layer.SetStroke,
144            Layer.SetStrokeWidth): Modified these functions to change the
145            null data in the classification rather than keep these values
146            directly in the Layer class. Menu options to change these values
147            work again.
148    
149    2003-01-28  Jonathan Coles  <[email protected]>
150    
151            * Thuban/UI/classifier.py (Classifier): Resolved merging conflicts.
152            Fixed crashing problem on some systems. Dialog box shows
153            classification data.
154    
155            * Thuban/UI/tree.py (SessionTreeCtrl.add_items): Handle drawing
156            Colors in the tree view.
157    
158            * Thuban/Model/layer.py (Layer.TreeInfo): Added a call to build
159            the tree info for classifications. Commented out unnecessary lines.
160    
161            * Thuban/Model/classification.py (Classification.TreeInfo): New
162            function to add information about the classification into the
163            tree view.
164    
165    2003-01-27  Jan-Oliver Wagner <[email protected]>
166    
167            * Thuban/__init__.py (_): New.
168    
169            * Thuban/Model/classification.py, Thuban/Model/extension.py,
170            Thuban/Model/layer.py, Thuban/Model/load.py, Thuban/Model/map.py,
171            Thuban/Model/session.py, Thuban/UI/application.py,
172            Thuban/UI/classifier.py, Thuban/UI/context.py, Thuban/UI/controls.py,
173            Thuban/UI/identifyview.py, Thuban/UI/labeldialog.py,
174            Thuban/UI/mainwindow.py, Thuban/UI/menu.py, Thuban/UI/proj4dialog.py,
175            Thuban/UI/renderer.py, Thuban/UI/tree.py, Thuban/Lib/connector.py,
176            Thuban/Lib/fileutil.py: Replace user string by _() for i18n.
177    
178    2003-01-27  Jonathan Coles  <[email protected]>
179    
180            * Thuban/Model/layer.py: Classification initialization calls.
181    
182            * Thuban/Model/classification.py: Created class to encapsulate
183            a layer classification. Supports specific data points and
184            ranges.
185    
186            * Thuban/Model/load.py: Added support for loading classification
187            information.
188    
189            * Thuban/Model/save.py: Added support for saving classification
190            information.
191    
192            * Thuban/UI/classifier.py: Initial class for a dialog box for
193            specifying classification information.
194    
195            * Thuban/UI/mainwindows.py: Support for opening the classifier
196            dialog.
197    
198            * Thuban/UI/renderer.py: Support for drawing a layer with the
199            classification information.
200    
201            * Data/iceland_sample_class.thuban: iceland_sample with
202            classification data.
203    
204            * test/test_classification: Tests for the Classification class.
205    
206  2002-12-09  Bernhard Herzog  <[email protected]>  2002-12-09  Bernhard Herzog  <[email protected]>
207    
208          * test/test_command.py: New. Tests for the command classes.          * test/test_command.py: New. Tests for the command classes.
# Line 32  Line 237 
237          * Thuban/UI/mainwindow.py: Altered the order of tools in the          * Thuban/UI/mainwindow.py: Altered the order of tools in the
238          toolbar: First now are all navigation tools (Zoom In/Out, Pan,          toolbar: First now are all navigation tools (Zoom In/Out, Pan,
239          Full Extent).          Full Extent).
240        
241  2002-10-23  Bernhard Herzog  <[email protected]>  2002-10-23  Bernhard Herzog  <[email protected]>
242    
243          * setup.py (setup call): version now 0.1.3          * setup.py (setup call): version now 0.1.3
# Line 143  Line 348 
348          * Thuban/UI/mainwindow.py (MainWindow.OnClose): Unsubscribe          * Thuban/UI/mainwindow.py (MainWindow.OnClose): Unsubscribe
349          VIEW_POSITION          VIEW_POSITION
350    
351  2002-09-04  Frank Koormann   <[email protected]>  2002-09-04  Frank Koormann  <[email protected]>
352    
353          * Resources/Bitmaps/fullextent.xpm: Updated Icon (removed "potatoe")          * Resources/Bitmaps/fullextent.xpm: Updated Icon (removed "potatoe")
354    
# Line 230  Line 435 
435    
436          * Thuban/Model/table.py (Table.write_record): New method to write          * Thuban/Model/table.py (Table.write_record): New method to write
437          records.          records.
438          (Table.__init__): Open the DBF file for writing too.          (Table.__init__): Open the DBF file for writing too.
439    
440          * Thuban/UI/controls.py (RecordTable.SetValue): Write the value          * Thuban/UI/controls.py (RecordTable.SetValue): Write the value
441          into the underlying table.          into the underlying table.
# Line 268  Line 473 
473          * setup.py (ThubanInstall.run): Don't repr install_lib_orig          * setup.py (ThubanInstall.run): Don't repr install_lib_orig
474          because thubaninit_contents will do it for us.          because thubaninit_contents will do it for us.
475    
476  2002-08-16      Jan-Oliver Wagner <[email protected]>  2002-08-16  Jan-Oliver Wagner <[email protected]>
477    
478          * Thuban/UI/mainwindow.py: menu item 'show session tree' now disable if          * Thuban/UI/mainwindow.py: menu item 'show session tree' now disable if
479          tree window already open          tree window already open
# Line 396  Line 601 
601          * Thuban/UI/tree.py: We can now simply subscribe to the session's          * Thuban/UI/tree.py: We can now simply subscribe to the session's
602          CHANGED channel to be informed of changes.          CHANGED channel to be informed of changes.
603          (SessionTreeCtrl.session_channels): Not needed any longer.          (SessionTreeCtrl.session_channels): Not needed any longer.
604          (SessionTreeCtrl.unsubscribe_all, SessionTreeCtrl.session_changed):          (SessionTreeCtrl.unsubscribe_all, SessionTreeCtrl.session_changed):
605          Only have to (un)subscribe CHANGED          Only have to (un)subscribe CHANGED
606    
607          * Thuban/Model/map.py (Map.TreeInfo): Deal better with empty maps.          * Thuban/Model/map.py (Map.TreeInfo): Deal better with empty maps.
# Line 457  Line 662 
662          * Thuban/Model/layer.py (Layer.TreeInfo),          * Thuban/Model/layer.py (Layer.TreeInfo),
663          Thuban/Model/extension.py (Extension.TreeInfo),          Thuban/Model/extension.py (Extension.TreeInfo),
664          Thuban/Model/map.py (Map.TreeInfo),          Thuban/Model/map.py (Map.TreeInfo),
665          Thuban/Model/session.py (Session.TreeInfo):          Thuban/Model/session.py (Session.TreeInfo):
666          Add TreeInfo methods to implement the new tree view update scheme          Add TreeInfo methods to implement the new tree view update scheme
667    
668  2002-07-16  Bernhard Herzog  <[email protected]>  2002-07-16  Bernhard Herzog  <[email protected]>
# Line 538  Line 743 
743          * setup.py: In the setup call, make sure that the library          * setup.py: In the setup call, make sure that the library
744          directories are under $prefix/lib not directly under $prefix.          directories are under $prefix/lib not directly under $prefix.
745    
746  2002-06-20      Jan-Oliver Wagner <[email protected]>  2002-06-20  Jan-Oliver Wagner <[email protected]>
747    
748          * Thuban/Model/extension.py: new module to handle extension objects.          * Thuban/Model/extension.py: new module to handle extension objects.
749          * Thuban/Model/messages.py: new messages for extensions.          * Thuban/Model/messages.py: new messages for extensions.
# Line 767  Line 972 
972          * Thuban/UI/messages.py (VIEW_POSITION): New message for the          * Thuban/UI/messages.py (VIEW_POSITION): New message for the
973          position in the statusbar          position in the statusbar
974    
975  2002-04-26      Frank Koormann <[email protected]>  2002-04-26  Frank Koormann <[email protected]>
976    
977          * Thuban/UI/mainwindow.py: AddLayer, Dialog title s/session/data          * Thuban/UI/mainwindow.py: AddLayer, Dialog title s/session/data
978    
979  2002-04-24      Frank Koormann <[email protected]>  2002-04-24  Frank Koormann <[email protected]>
980            
981          * Resources/Bitmaps/identify.xpm: shadow added          * Resources/Bitmaps/identify.xpm: shadow added
982    
983          * Resources/Bitmaps/fullextent.xpm: new          * Resources/Bitmaps/fullextent.xpm: new
           
 2002-04-22      Jan-Oliver Wagner <[email protected]>  
984    
985          * Thuban/UI/tree.py (update_tree): added test for None on map bounding box  2002-04-22  Jan-Oliver Wagner <[email protected]>
986    
987  2002-04-21      Jan-Oliver Wagner <[email protected]>          * Thuban/UI/tree.py (update_tree): added test for None on map bounding
988            box
989    
990    2002-04-21  Jan-Oliver Wagner <[email protected]>
991    
992          * Thuban/UI/proj4dialog.py (UTMProposeZoneDialog): new          * Thuban/UI/proj4dialog.py (UTMProposeZoneDialog): new
993    
994          * Thuban/UI/tree.py (update_tree): added added map extent          * Thuban/UI/tree.py (update_tree): added added map extent
995    
996          * Thuban/UI/mainwindow.py (_method_command): extended by parameter          * Thuban/UI/mainwindow.py (_method_command): extended by parameter
997          icon; added map_full_extend as tool          icon; added map_full_extend as tool
998    
999  2002-04-19      Jan-Oliver Wagner <[email protected]>  2002-04-19  Jan-Oliver Wagner <[email protected]>
1000    
1001          * Thuban/UI/mainwindow.py (SaveSession): launch save as dialog for          * Thuban/UI/mainwindow.py (SaveSession): launch save as dialog for
1002          saving _new_ sessions          saving _new_ sessions
# Line 892  Line 1098 
1098    
1099          * setup.py: increase version number to 0.1          * setup.py: increase version number to 0.1
1100          (data_dist): New command class for data distribution          (data_dist): New command class for data distribution
           
1101    
1102  2001-09-14  Bernhard Herzog  <[email protected]>  2001-09-14  Bernhard Herzog  <[email protected]>
1103    
1104          * Thuban/UI/identifyview.py (IdentifyListCtrl.selected_shape):          * Thuban/UI/identifyview.py (IdentifyListCtrl.selected_shape):
1105          Handle the case of no layer (i.e. layer is None) properly.          Handle the case of no layer (i.e. layer is None) properly.
1106    
1107          * Thuban/UI/proj4dialog.py (UTMDialog.__init__, Proj4Dialog.__init__):          * Thuban/UI/proj4dialog.py (UTMDialog.__init__, Proj4Dialog.__init__):
1108          Set the initial selection of the combo boxes to reflect the          Set the initial selection of the combo boxes to reflect the
1109          projection we're starting with in a way that works on windows,          projection we're starting with in a way that works on windows,
1110          too.          too.
# Line 1009  Line 1214 
1214          (MainWindow.identify_view_on_demand): Store the interactor in an          (MainWindow.identify_view_on_demand): Store the interactor in an
1215          instvar and use that reference instead of going through main.app          instvar and use that reference instead of going through main.app
1216    
1217          * Thuban/UI/mainwindow.py (MainWindow.ShowSessionTree):          * Thuban/UI/mainwindow.py (MainWindow.ShowSessionTree):
1218          * Thuban/UI/application.py (ThubanApplication.OnInit):          * Thuban/UI/application.py (ThubanApplication.OnInit):
1219          * Thuban/UI/main.py (main): Create the session tree view in main          * Thuban/UI/main.py (main): Create the session tree view in main
1220          with the new mainwindow method ShowSessionTree and not directly          with the new mainwindow method ShowSessionTree and not directly
1221          the application's OnInit method          the application's OnInit method
# Line 1026  Line 1231 
1231          layer to the tableview dialog.          layer to the tableview dialog.
1232    
1233          * Thuban/UI/tableview.py: Add some doc-strings          * Thuban/UI/tableview.py: Add some doc-strings
1234          (TableGrid):          (TableGrid):
1235          (TableGrid.OnRangeSelect):          (TableGrid.OnRangeSelect):
1236          (TableGrid.OnSelectCell):          (TableGrid.OnSelectCell):
1237          (TableFrame.__init__):          (TableFrame.__init__):
# Line 1093  Line 1298 
1298  2001-09-05  Bernhard Herzog  <[email protected]>  2001-09-05  Bernhard Herzog  <[email protected]>
1299    
1300          * Thuban/UI/view.py (MapCanvas.__init__): New argument, interactor.          * Thuban/UI/view.py (MapCanvas.__init__): New argument, interactor.
1301            
1302          * Thuban/UI/mainwindow.py (MainWindow.__init__): New argument          * Thuban/UI/mainwindow.py (MainWindow.__init__): New argument
1303          interactor to pass through to the MapCanvas          interactor to pass through to the MapCanvas
1304            
1305          * Thuban/UI/application.py (ThubanApplication.OnInit): Use the new          * Thuban/UI/application.py (ThubanApplication.OnInit): Use the new
1306          argument to the MainWindow constructor to get rid of the ugly hack          argument to the MainWindow constructor to get rid of the ugly hack
1307          that made main.app available early just so that the mapcanvas          that made main.app available early just so that the mapcanvas
# Line 1143  Line 1348 
1348          (ThubanInstall.run): Remove the leading install root from the          (ThubanInstall.run): Remove the leading install root from the
1349          script filename if an install root was specified and use the new          script filename if an install root was specified and use the new
1350          link_file method          link_file method
1351            
1352          * Thuban/UI/mainwindow.py (MainWindow.AddLayer): Fit the map to          * Thuban/UI/mainwindow.py (MainWindow.AddLayer): Fit the map to
1353          the window when the first layer is added to the map.          the window when the first layer is added to the map.
1354    
# Line 1180  Line 1385 
1385          (InnoIconItem): Helper class for bdist_inno          (InnoIconItem): Helper class for bdist_inno
1386          (thuban_bdist_inno): Thuban specific version of bdist_inno. Added          (thuban_bdist_inno): Thuban specific version of bdist_inno. Added
1387          this together with the appropriate parameters, to the setup call.          this together with the appropriate parameters, to the setup call.
1388            
1389          * setup.cfg (bdist_inno): added new section for the inno setup          * setup.cfg (bdist_inno): added new section for the inno setup
1390          installer          installer
1391    

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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26