/[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 254 by bh, Wed Aug 14 13:39:08 2002 UTC revision 349 by bh, Wed Oct 23 14:46:18 2002 UTC
# Line 1  Line 1 
1    2002-10-23  Bernhard Herzog  <[email protected]>
2    
3            * setup.py (setup call): version now 0.1.3
4    
5            * MANIFEST.in: Add the files in test/
6    
7            * test/README: Add note about tests requiring the iceland data
8    
9            * Thuban/UI/mainwindow.py (MainWindow.About): Add 2002 to
10            copyright notice.
11    
12    2002-10-18  Bernhard Herzog  <[email protected]>
13    
14            * test/test_map.py
15            (TestMapWithContents.test_projected_bounding_box): Use an explicit
16            epsilon.
17    
18            * test/support.py (FloatComparisonMixin.assertFloatEqual)
19            (FloatComparisonMixin.assertFloatSeqEqual): give a more useful
20            message if the assertion fails and don't return the return value
21            of self.assert_. In assertFloatSeqEqual the return meant that not
22            all items of the sequence were compared.
23    
24    2002-09-20  Bernhard Herzog  <[email protected]>
25    
26            * test/test_fileutil.py: New. Test cases for Thuban.Lib.fileutil
27    
28            * Thuban/Lib/fileutil.py: Fixup some whitespace and typos
29    
30            * test/test_map.py (TestMapWithContents.test_tree_info): Create
31            the string with the bounding box on the fly because of platform
32            differences in the way %g is handled.
33    
34            * test/test_layer.py (TestLayer.test_empty_layer): Create an empty
35            DBFfile too because Thuban layers can't yet cope missing DBF
36            files.
37    
38    2002-09-20  Bernhard Herzog  <[email protected]>
39    
40            * test/test_menu.py: Use initthuban instead of
41            add_thuban_dir_to_path to initialize Thuban.
42    
43            * test/support.py (FloatComparisonMixin.assertFloatEqual): New.
44            Mixin class for float comparisons
45            (SubscriberMixin): New. Mixin class to test messages sent through
46            the Connector class
47    
48            * test/README: Fix a typo and add the -v flag to the command for
49            individual tests
50    
51            * test/test_session.py: New. Test cases for Thuban.Model.session
52    
53            * test/test_proj.py: New. Test cases for Thuban.Model.proj
54    
55            * test/test_map.py: New. Test cases for Thuban.Model.map
56    
57            * test/test_layer.py: New. Test cases for Thuban.Model.layer
58    
59            * test/test_label.py: New. Test cases for Thuban.Model.label
60    
61            * test/test_connector.py: New. Test cases for Thuban.Lib.connector
62    
63            * test/test_color.py: New. Test cases for Thuban.Model.color
64    
65            * test/test_base.py: New. Test cases for Thuban.Model.base
66    
67    2002-09-13  Bernhard Herzog  <[email protected]>
68    
69            * Thuban/Model/session.py (Session.forwarded_channels): Forward
70            the CHANGED channel too.
71    
72            * Thuban/Model/map.py (Map.forwarded_channels): Forward the
73            CHANGED channel too.
74            (Map.__init__): Call the Modifiable constructor as well.
75    
76            * Thuban/Model/base.py (Modifiable.UnsetModified): Issue a CHANGED
77            event if the modified flag changes.
78            (Modifiable.changed): Tweak the doc-string.
79    
80            * Thuban/UI/mainwindow.py (MainWindow.view_position_changed)
81            (MainWindow.set_position_text): Put the code that puts the text
82            with the mouse position into the status bar into the new method
83            set_position_text so that it can overwritten in derived classes.
84    
85    2002-09-12  Bernhard Herzog  <[email protected]>
86    
87            * Thuban/UI/mainwindow.py (MainWindow.RunMessageBox): Center the
88            message box on the main window.
89    
90    2002-09-11  Bernhard Herzog  <[email protected]>
91    
92            * Thuban/UI/mainwindow.py: Underline the 'x' in "Exit" instead of
93            the 'E' because it's less likely to interfere with other menu
94            entries.
95            (MainWindow.build_menu): remove an incorrect comment.
96    
97    2002-09-10  Bernhard Herzog  <[email protected]>
98    
99            * Thuban/UI/mainwindow.py (MainWindow.Map): New.
100            (_tool_command): Add sensitive parameter
101            (_has_visible_map): Sensitivity callback to tools and other
102            commands that require a visible map. Use it in map_zoom_in_tool,
103            map_zoom_out_tool, map_pan_tool, map_identify_tool, map_label_tool
104            and map_full_extent
105    
106    2002-09-06  Bernhard Herzog  <[email protected]>
107    
108            * Thuban/UI/mainwindow.py (MainWindow.OnClose): Unsubscribe
109            VIEW_POSITION
110    
111    2002-09-04  Frank Koormann   <[email protected]>
112    
113            * Resources/Bitmaps/fullextent.xpm: Updated Icon (removed "potatoe")
114    
115    2002-09-02  Bernhard Herzog  <[email protected]>
116    
117            * Thuban/UI/view.py: Get rid of the idle redraw. This is done by
118            wxWindows already and our implementation doesn't work correctly
119            with wxGTK 2.3:
120            (MapCanvas.__init__): Remove the instance variable
121            (MapCanvas.OnPaint): Always call do_redraw when there's a map to
122            be drawin
123            (MapCanvas.OnIdle): Removed.
124    
125            * Thuban/UI/view.py (MapCanvas.unprojected_rect_around_point): Add
126            a parameter to determine the size of the rectangle.
127            (MapCanvas.find_shape_at): Create the box around the point on a
128            layer by layer basis and make the size depend on the shape type.
129            This solves a problem with the selection of point shapes at the
130            border of the layer's bounding box
131    
132    2002-08-30  Bernhard Herzog  <[email protected]>
133    
134            * Thuban/UI/mainwindow.py (MainWindow.CanRemoveLayer): New method
135            for the sensitivity  of remove layer.
136            (_can_remove_layer): New. Sensitivity callback for remove layer
137            (Command layer_remove): Use _can_remove_layer
138    
139            * Thuban/Model/map.py (Map.CanRemoveLayer): New method to
140            determine whether a given layer can be deleted.
141    
142            * Thuban/UI/view.py (MapCanvas.__init__, MapCanvas.OnPaint)
143            (MapCanvas.do_redraw): Get rid of the unused update_region
144            instance variable
145    
146            * Thuban/UI/view.py: Add/update some doc-strings.
147    
148            * test/: new subdirectory with a bunch of unit tests.
149    
150            * test/README, test/test_table.py, test/test_save.py,
151            test/test_menu.py, test/test_load.py: Initial set of tests and
152            brief instructions on how to run them
153    
154    2002-08-29  Bernhard Herzog  <[email protected]>
155    
156            * Thuban/UI/renderer.py (ScreenRenderer.draw_shape_layer): Handle
157            arcs with multiple parts.
158    
159            * Thuban/UI/view.py (ZoomInTool.MouseUp, ZoomOutTool.MouseUp):
160            Handle degenrate rectangles.
161    
162            * Thuban/Model/table.py: Make writing records work correctly:
163            (Table.__init__): Keep track of whether the DBF is open for
164            writing
165            (Table.write_record): Open the DBF file for writing when necessary
166    
167    2002-08-27  Bernhard Herzog  <[email protected]>
168    
169            * Thuban/Model/table.py (Table.write_record, Table.__init__): Open
170            dbf files only for reading by default. Use a new writable dbf
171            object for writing.
172    
173    2002-08-26  Bernhard Herzog  <[email protected]>
174    
175            * Thuban/UI/mainwindow.py: Refactor the context creation:
176            (MainWindow.Context): New method to return a context
177            (MainWindow.invoke_command, MainWindow.update_command_ui): Use the
178            new method
179    
180            * Thuban/UI/tableview.py (TableGrid, LayerTableGrid): Split the
181            layer table specific code from TableGrid into LayerTableGrid
182            (TableFrame, LayerTableFrame): Split the layer table specific code
183            from TableFrame into LayerTableFrame
184            (LayerTableGrid.select_shape): Remove a debug print
185    
186            * Thuban/UI/mainwindow.py (MainWindow.LayerShowTable): Use the
187            LayerTableFrame
188    
189    2002-08-23  Bernhard Herzog  <[email protected]>
190    
191            * Thuban/Model/layer.py (Layer.__init__): Make sure we have an
192            absolute filename.
193    
194    2002-08-22  Bernhard Herzog  <[email protected]>
195    
196            * Thuban/Model/table.py (Table.write_record): New method to write
197            records.
198            (Table.__init__): Open the DBF file for writing too.
199    
200            * Thuban/UI/controls.py (RecordTable.SetValue): Write the value
201            into the underlying table.
202    
203            * extensions/shapelib/shapefil.h (DBFCommit),
204            extensions/shapelib/dbfopen.c (DBFCommit): New API function to
205            commit any changes made to the DBF file.
206    
207            * Thuban/UI/mainwindow.py (make_check_current_tool)
208            (_tool_command): Put the code that generates the "checked"
209            callback into a separate function so that we can reuse it
210            elsewhere
211    
212            * Thuban/Model/save.py (Saver): New class to handle serializing a
213            session into an XML file. The main reason to introduce a class is
214            that applications built on Thuban can derive from it so that they
215            can save additional information in a session file.
216            (save_session): Delegate almost all the work to the Saver class.
217            Rename the filename argument to file because it may be a file like
218            object now.
219    
220            * Thuban/Model/load.py: Get rid of the Python 1.5.2 compatibility
221            code. Remove the little test code which would be executed when the
222            module is run as a script which didn't work anymore since it can't
223            import the other Thuban modules.
224            (ProcessSession, load_session): Refactor the ProcessSession to
225            have one method for each element start and end tag so that derived
226            classes can easily override the processing of individual tags.
227            Also, always parse with namespaces enabled because applications
228            built on top of Thuban will likely use namespaces if they extend
229            the session file format.
230    
231    2002-08-21  Bernhard Herzog  <[email protected]>
232    
233            * setup.py (ThubanInstall.run): Don't repr install_lib_orig
234            because thubaninit_contents will do it for us.
235    
236    2002-08-16      Jan-Oliver Wagner <[email protected]>
237    
238            * Thuban/UI/mainwindow.py: menu item 'show session tree' now disable if
239            tree window already open
240    
241    2002-08-15  Bernhard Herzog  <[email protected]>
242    
243            * Thuban/Model/layer.py (Layer.Destroy): Call the unboundd method
244            with self.
245    
246            * Thuban/UI/view.py (MapCanvas.OnLeftUp): Only release the mouse
247            when we have actually captured it.
248    
249            * Thuban/Model/layer.py (Layer.Destroy): New. Explicitly close the
250            shapefile and destroy the table.
251    
252            * Thuban/Model/table.py (Table.Destroy): New. Close the DBF file.
253    
254  2002-08-14  Bernhard Herzog  <[email protected]>  2002-08-14  Bernhard Herzog  <[email protected]>
255    
256            * Thuban/UI/controls.py (RecordTable.__init__): Remove the unused
257            instance variable columns
258            (RecordTable.GetTypeName): row and col may be negative in some
259            cases.
260    
261          * setup.py (InstallLocal.initialize_options)          * setup.py (InstallLocal.initialize_options)
262          (InstallLocal.finalize_options, InstallLocal.user_options): New          (InstallLocal.finalize_options, InstallLocal.user_options): New
263          option create-init-file to build a thubaninit.py when running          option create-init-file to build a thubaninit.py when running

Legend:
Removed from v.254  
changed lines
  Added in v.349

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26