/[thuban]/branches
ViewVC logotype

Log of /branches

View Directory Listing Directory Listing


Sticky Revision:

Revision 1747 - Directory Listing
Modified Wed Sep 24 14:00:08 2003 UTC (21 years, 5 months ago) by bh
New. Test cases for wxproj.so. One test
implicitly tests for the fix to RT#2096


Revision 1746 - Directory Listing
Modified Wed Sep 24 14:00:03 2003 UTC (21 years, 5 months ago) by bh
(project_point): if there's an
inverse but no forward projection, convert to degrees after
applying the inverse projection. Fixes RT#2096


Revision 1741 - Directory Listing
Modified Tue Sep 23 12:26:19 2003 UTC (21 years, 5 months ago) by (unknown author)
This commit was manufactured by cvs2svn to create branch 'greater-ms3'.

Revision 1709 - Directory Listing
Modified Wed Sep 3 08:51:29 2003 UTC (21 years, 6 months ago) by jan
Backport from HEAD: Identify dialog now allows to stop
identify mode. This resolves issue #2030:
https://intevation.de/rt/webrt?serial_num=2030


Revision 1708 - Directory Listing
Modified Wed Sep 3 08:50:13 2003 UTC (21 years, 6 months ago) by jan
(IdentifyView.ID_STOP): New.
(IdentifyView.__init__): Added another button that allows to
stop the identify mode.
(IdentifyView.OnStop): New. Stops the identify mode.


Revision 1487 - Directory Listing
Modified Fri Jul 25 10:43:06 2003 UTC (21 years, 7 months ago) by frank
Backport from HEAD: More comfortable tableview.


Revision 1486 - Directory Listing
Modified Fri Jul 25 10:42:24 2003 UTC (21 years, 7 months ago) by frank
Backport from HEAD: More comfortable table view:

(table_to_dbf, table_to_csv):
	Added 'rows' parameter which is a list of records that restricts which
        records are saved. Fixes RTbug #1997.
(_find_dbf_column_names): New. Helper function for table_to_dbf
(table_to_dbf): Deal with names longer than the 10 character limit


Revision 1485 - Directory Listing
Modified Fri Jul 25 10:41:46 2003 UTC (21 years, 7 months ago) by frank
Backport from HEAD: More comfortable table view:

(ThubanBeginBusyCursor, ThubanEndBusyCursor):
        New. Wrappers around the wxWindows functions that allow us to
        make additional calls such as wxYield which gives the native
        system a chance to update the cursor correctly.
(ThubanBeginBusyCursor): Call wxSafeYield
        to make sure that we don't create reentrant possibilities with
        wxYield.


Revision 1484 - Directory Listing
Modified Fri Jul 25 10:41:08 2003 UTC (21 years, 7 months ago) by frank
	Use Thuban[Begin|End]BusyCursor()
        instead of a direct call to wx[Begin|End]CusyCursor().
(QueryTableFrame.__init__):
	Create a status bar. Fixes RTbug #1942.
        Explicitly set which items are selected in the operator choice and
        action choice so there is always a valid selection. Fixes RTbug #1941.
        Subscribe to grid cell selection events so we can update the
        status bar.
	Add an Export Selection button and
	move the export buttons underneath the table.
	Use the panel as the parent window for all the controls.
	Reparent the grid so that the panel is the parent.
	Call UpdateStatusText() to correctly initialize the status bar.
(QueryTableFrame.UpdateStatusText): Update the status bar with
        how many rows are in the grid, how many columns, and how many
        rows are selected.
	Added event argument so
        that it can respond to grid selection events. The status text
        is now updated even when the table is not associated with a
        layer as was previously assumed.
	(QueryTableFrame.OnSaveAs): Renamed to doExport.
	(QueryTableFrame.doExport): Helper function that saves the
        entire table, or selected rows, to a file.
(QueryTableFrame.OnExport, QueryTableFrame.OnExportSel): New.
        Respond to export button events and call doExport.
	(QueryTableFrame.OnQuery): Use the string value in the value
        combo if either the selected item index is 0 or if the string
        cannot be found in the predefined list (this happens if the
        user changes the text). Fixes RTbug #1940.
        Only turn off the grid event listeners if there a query comes
        back with a none empty list of ids. in the case that the list
        is empty this causes a grid.ClearSelection() call to actually
        clear the grid selection which causes the selected items in
        the map to be deselected. Fixes RTbug #1939.
(LayerTableGrid.select_shapes): Don't use deprecated layer instance
	variables
(TableFrame): Inherit from ThubanFrame so we can have a
        status bar and control buttons.
(TableFrame.__init__): Add a panel object that can be used by
	derived classes to place any controls (including the grid) onto.
(TableGrid.__init__): Create an
        instance variable to keep track of how many rows are selected.
        Subscribe once to the the events we are interested in.
(ThubanGrid.OnRangeSelect): Only handle event if event handling
        hasn't been turned off.
(ThubanGrid.OnSelectCell): Only handle event if event handling
        hasn't been turned off.
(ThubanGrid.ToggleEventListeners): Rather than subscribe None
        as an event listener (which changes the event handler stack)
        simply set an instance variable to False. This is checked in
        the event handlers.
(ThubanGrid.GetNumberSelected): Return the number of currently
        selected rows.


Revision 1472 - Directory Listing
Modified Thu Jul 24 07:48:16 2003 UTC (21 years, 7 months ago) by frank
UI update


Revision 1471 - Directory Listing
Modified Thu Jul 24 07:47:58 2003 UTC (21 years, 7 months ago) by frank
Set CHOICE_WIDTH to 300.


Revision 1444 - Directory Listing
Modified Wed Jul 16 15:15:20 2003 UTC (21 years, 7 months ago) by bh
update ChangeLog


Revision 1443 - Directory Listing
Modified Wed Jul 16 15:15:05 2003 UTC (21 years, 7 months ago) by bh
* Thuban/UI/messages.py (MAP_REPLACED): New message.

* Thuban/UI/view.py (MapCanvas.SetMap): Issue MAP_REPLACED after
the new map has been assigned

* Thuban/UI/mainwindow.py (MainWindow.delegated_messages):
Delegate MAP_REPLACED to the canvas too

* Thuban/UI/classifier.py (Classifier.__init__): Subscribe to
MAP_REPLACED so that we can close the dialog if a new map is set.
(Classifier.unsubscribe_messages): Unsubscribe from MAP_REPLACED
(Classifier.map_replaced): Handle MAP_REPLACED by closing the
dialog


Revision 1414 - Directory Listing
Modified Mon Jul 14 10:19:25 2003 UTC (21 years, 7 months ago) by frank
Bugfix #2013


Revision 1413 - Directory Listing
Modified Mon Jul 14 10:19:05 2003 UTC (21 years, 7 months ago) by frank
(TestUnicodeStrings): New, test load of
	unicode strings from session file: session title, map title and
	projection name.


Revision 1412 - Directory Listing
Modified Mon Jul 14 10:18:41 2003 UTC (21 years, 7 months ago) by frank
(SessionLoader.start_map): Encode map
	title to latin1.  Fixes https://intevation.de/rt/webrt?serial_num=2013


Revision 1407 - Directory Listing
Modified Mon Jul 14 08:41:23 2003 UTC (21 years, 7 months ago) by frank
ChangeLog Update


Revision 1384 - Directory Listing
Modified Tue Jul 8 16:43:27 2003 UTC (21 years, 8 months ago) by bh
update ChangeLog


Revision 1383 - Directory Listing
Modified Tue Jul 8 16:43:09 2003 UTC (21 years, 8 months ago) by bh
* Thuban/Model/transientdb.py (TransientTableBase.Width): The type
constants in the column objects are the standard ones defined in
the table module.

* test/test_transientdb.py
(TestTransientTable.test_transienttable_to_dbf): New. Test whether
exporting transient tables as DBF works. This should catch the bug
just fixed in TransientTableBase.Width.


Revision 1374 - Directory Listing
Modified Fri Jul 4 18:30:21 2003 UTC (21 years, 8 months ago) by bh
update ChangeLog


Revision 1373 - Directory Listing
Modified Fri Jul 4 18:30:05 2003 UTC (21 years, 8 months ago) by bh
Backport from HEAD

* Thuban/Model/table.py (_find_dbf_column_names): New. Helper
function for table_to_dbf
(table_to_dbf): Deal with names longer than the 10 character limit

* test/test_dbf_table.py (TestTableToDBF.test_table_to_dbf): Add
doc-string
(TestTableToDBF.test_table_to_dbf_long_col_names): New test for
long column names


Revision 1366 - Directory Listing
Modified Thu Jul 3 13:24:28 2003 UTC (21 years, 8 months ago) by bh
* Thuban/Model/transientdb.py (TransientJoinedTable.__init__):
Update doc-string
(TransientJoinedTable.create): Do not modify the column objects of
the input tables in place and copy all columns of the input tables
into the joined table after all.

* test/test_transientdb.py
(TestTransientTable.test_transient_joined_table_same_column_name):
Update to reflect the new behavior
(TestTransientTable.test_transient_joined_table_with_equal_column_names):
Update to reflect the new behavior
(TestTransientTable.test_transient_joined_table_name_collisions_dont_modify_in_place):
New test case for a bug which modified the column objects in place


Revision 1331 - Directory Listing
Modified Tue Jul 1 15:29:02 2003 UTC (21 years, 8 months ago) by frank
(TransientJoinedTable.create): Make
	sure to use the right internal names even when joining on field
	with the same names in both tables. Also, detect duplicate names
	in the joined table correctly.
	If duplicates are found, append '_' (underscores) to the name
	until it is unique.
	Create always new internal names for the resulting table and reference
	columns in the join statement with <table>.<column>


Revision 1330 - Directory Listing
Modified Tue Jul 1 15:28:28 2003 UTC (21 years, 8 months ago) by frank
(TestTransientTable.test_transient_joined_table_same_column_name):
	New. Test whether joining on columns with the same names in both
	tables works.
(TestTransientTable.test_transient_joined_table_with_equal_column_names):
	New. Test join of two tables with partly equal column names.


Revision 1327 - Directory Listing
Modified Tue Jul 1 09:45:06 2003 UTC (21 years, 8 months ago) by frank
Bugfix #1963


Revision 1326 - Directory Listing
Modified Tue Jul 1 09:44:45 2003 UTC (21 years, 8 months ago) by frank
(ExportRenderer.render_legend):
	Reverse List of layers to render in same order as in desktop legend.


Revision 1301 - Directory Listing
Modified Wed Jun 25 09:18:45 2003 UTC (21 years, 8 months ago) by jonathan
upated ChangeLog


Revision 1300 - Directory Listing
Modified Wed Jun 25 09:18:29 2003 UTC (21 years, 8 months ago) by jonathan
updated ChangeLog


Revision 1228 - Directory Listing
Modified Wed Jun 18 07:35:54 2003 UTC (21 years, 8 months ago) by frank
Projection update


Revision 1227 - Directory Listing
Modified Wed Jun 18 07:34:47 2003 UTC (21 years, 8 months ago) by frank
(ScaleBar.DrawScaleBar): Apply conversion to scale if projection is latlong
	to get better estimate.


Revision 1226 - Directory Listing
Modified Tue Jun 17 15:42:06 2003 UTC (21 years, 8 months ago) by jonathan
updated ChangeLog


Revision 1225 - Directory Listing
Modified Tue Jun 17 15:41:25 2003 UTC (21 years, 8 months ago) by jonathan
(MapCanvas.__init__): New instance variable
        current_map_proj to remember the current map projection so that
        when the projection changes we know what the previous projection
        was.
(MapCanvas.SetMap): Unsubscribe and subscribe to
        LAYER_PROJECTION_CHANGED events.
(MapCanvas.projection_changed): Split into two methods that respond
        to map and layer projection changes.
(MapCanvas.map_projection_changed): New. Takes the current view and
        projects it using the new projection. This does not cause the
        map to be redrawn at full extent.
(MapCanvas.layer_projection_changed): New. Cause a redraw which
        will draw each layer in its new projection.


Revision 1218 - Directory Listing
Modified Mon Jun 16 16:37:53 2003 UTC (21 years, 8 months ago) by frank
Win32 Dialog raise Problem fixed


Revision 1217 - Directory Listing
Modified Mon Jun 16 16:37:19 2003 UTC (21 years, 8 months ago) by frank
(LegendTree.__init__): Instance variable
	raiseProperties initialized to prevent endless loops
(LegendTree._OnItemActivated): Depending on self.raiseProperties
	simply raise the properties or open the dialog and issue a second
	event.


Revision 1216 - Directory Listing
Modified Mon Jun 16 14:14:33 2003 UTC (21 years, 8 months ago) by frank
GREAT-ER ZoomIn Fix


Revision 1215 - Directory Listing
Modified Mon Jun 16 14:14:13 2003 UTC (21 years, 8 months ago) by frank
(MapCanvas.set_view_transform): Set max_scale to
	2147483648.0 / max_len (which is sufficient for GREAT-ER).
	For HEAD in the future a more flexible concept has to be developed
        determining the rendering of "large" objects.


Revision 1214 - Directory Listing
Modified Mon Jun 16 12:31:46 2003 UTC (21 years, 8 months ago) by jonathan
updated ChangeLog


Revision 1213 - Directory Listing
Modified Mon Jun 16 12:31:36 2003 UTC (21 years, 8 months ago) by jonathan
(LegendTree.__init__): Add instance variable
        preventExpandCollapse and subscribe to expanding and collapsing
        events.
(LegendTree.OnItemExpandCollapse): New. Responds to expanding and
        collapsing events and will veto the event if it has been triggered
        by the user double clicking on a layer.
(LegendTree._OnItemActivated): Set preventExpandCollapse to indicate
        that an expanding/collapsing event should be vetoed.


Revision 1210 - Directory Listing
Modified Fri Jun 13 18:22:30 2003 UTC (21 years, 8 months ago) by bh
update ChangeLog


Revision 1209 - Directory Listing
Modified Fri Jun 13 18:22:25 2003 UTC (21 years, 8 months ago) by bh
(Classifier.map_layers_removed)
(Classifier.layer_shapestore_replaced, Classifier.OnClose):
Unsubscribe the messages in OnClose and not in map_layers_removed
or layer_shapestore_replaced to make sure it always happens when
the dialog is closed.


Revision 1206 - Directory Listing
Modified Fri Jun 13 16:35:25 2003 UTC (21 years, 8 months ago) by jonathan
updated ChangeLog


Revision 1205 - Directory Listing
Modified Fri Jun 13 16:35:13 2003 UTC (21 years, 8 months ago) by jonathan
(TableFrame.__init__): Add a panel
    object that can be used by derived classes to place any
    controls (including the grid) onto.
(QueryTableFrame.__init__): Use the panel as the parent window
    for all the controls. Reparent the grid so that the panel is
    the parent. Call UpdateStatusText() to correctly initialize
    the status bar.

(TableGrid.__init__): Create an
    instance variable to keep track of how many rows are selected.
    Subscribe once to the the events we are interested in.
(ThubanGrid.OnRangeSelect): Only handle event if event handling
    hasn't been turned off.
(ThubanGrid.OnSelectCell): Only handle event if event handling
    hasn't been turned off.
(ThubanGrid.ToggleEventListeners): Rather than subscribe None
    as an event listener (which changes the event handler stack)
    simply set an instance variable to False. This is checked in
    the event handlers.
(ThubanGrid.GetNumberSelected): Return the number of currently
    selected rows.
(TableFrame): Inherit from ThubanFrame so we can have a
    status bar and control buttons.
(QueryTableFrame.__init__): Create a status bar. Fixes RTbug #1942.
    Explicitly set which items are selected in the operator choice and
    action choice so there is always a valid selection. Fixes RTbug #1941.
    Subscribe to grid cell selection events so we can update the
    status bar.
(QueryTableFrame.UpdateStatusText): Update the status bar with
    how many rows are in the grid, how many columns, and how many
    rows are selected.
(QueryTableFrame.OnGridSelectRange, QueryTableFrame.OnGridSelectCell):
    Call UpdateStatusText when cells are (de)selected.
(QueryTableFrame.OnQuery): Use the string value in the value
    combo if either the selected item index is 0 or if the string
    cannot be found in the predefined list (this happens if the
    user changes the text). Fixes RTbug #1940.
    Only turn off the grid event listeners if there a query comes
    back with a none empty list of ids. in the case that the list
    is empty this causes a grid.ClearSelection() call to actually
    clear the grid selection which causes the selected items in
    the map to be deselected. Fixes RTbug #1939.


Revision 1204 - Directory Listing
Modified Fri Jun 13 16:34:05 2003 UTC (21 years, 8 months ago) by jonathan
(ThubanFrame): New: a class that inherits
    from wxFrame (as opposed to wxDialog like the other classes)
    but otherwise behaves like the other classes. This is needed
    for the TableView which isn't really a dialog and needs to
    have a status bar and control buttons.


Revision 1197 - Directory Listing
Modified Fri Jun 13 13:13:14 2003 UTC (21 years, 8 months ago) by bh
update ChangeLog


Revision 1196 - Directory Listing
Modified Fri Jun 13 13:12:56 2003 UTC (21 years, 8 months ago) by bh
(IdentifyView.__init__): Call
self.selected_shape with the current selection to make sure the
contents of the dialog are up to date when it's shown for the
first time.
The dialog used to work without this by luck. The recent fix to
the connector module 'broke' a 'feature' the identify view was
relying on, i.e that subscribing to a message in response to
receiving a message of that type would mean that the new
subscriber would also be called for the same message.


Revision 1187 - Directory Listing
Modified Thu Jun 12 16:49:22 2003 UTC (21 years, 8 months ago) by jonathan
(ProjFrame.__DoOnProjAvail): projfilepath should also be cleared if
        no projection is selected.


Revision 1186 - Directory Listing
Modified Thu Jun 12 16:46:37 2003 UTC (21 years, 8 months ago) by jonathan
updated ChangeLog


Revision 1185 - Directory Listing
Modified Thu Jun 12 16:46:27 2003 UTC (21 years, 8 months ago) by jonathan
(ProjFrame.__DoOnProjAvail): Set the
        projfilepath label to just the basename of the projection file
        rather than include the entire path.


Revision 1184 - Directory Listing
Modified Thu Jun 12 16:46:03 2003 UTC (21 years, 8 months ago) by jonathan
(ScaleBarBitmap.__SetScale): Don't draw
        the scalebar if the current map has no projection set.:


Revision 1183 - Directory Listing
Modified Thu Jun 12 16:46:03 2003 UTC (21 years, 8 months ago) by (unknown author)
This commit was manufactured by cvs2svn to create branch 'greater-ms3'.

Revision 3 - Directory Listing
Modified Fri Aug 17 12:15:16 2001 UTC (23 years, 6 months ago) by (unknown author)
This commit was manufactured by cvs2svn to create branch 'INTEVATION'.

Revision 1 - Directory Listing
Added Fri Aug 17 12:15:16 2001 UTC (23 years, 6 months ago) by (unknown author)
New repository initialized by cvs2svn.

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26