/[thuban]/branches
ViewVC logotype

Log of /branches

View Directory Listing Directory Listing


Sticky Revision:

Revision 2890 - Directory Listing
Modified Sun Sep 27 20:38:23 2009 UTC (15 years, 5 months ago) by bramz
removing reintegrated feature branch

Revision 2887 - Directory Listing
Modified Thu Sep 17 18:57:48 2009 UTC (15 years, 5 months ago) by bramz
- forward porting shapelib to 1.3.0-a2 with snprintf patch
- add delete_field if DBFDeleteField is available in shapefil.h


Revision 2886 - Directory Listing
Modified Tue Aug 18 20:04:10 2009 UTC (15 years, 6 months ago) by bramz
Forward porting trunk (2864:2885] to WIP-pyshapelib-Unicode branch.

Revision 2884 - Directory Listing
Modified Sat Aug 15 16:09:34 2009 UTC (15 years, 6 months ago) by bramz
* setup.py: add compiler flags to suppress a spurious warning
* dbflibmodule.c: out of index reads raise IndexError
* testdbf.py: moving dbflib test to here in unittest format (with unicode test)

Revision 2865 - Directory Listing
Modified Fri Sep 5 19:45:58 2008 UTC (16 years, 5 months ago) by bramz
Forward porting trunk rev (2834:2864] to WIP-pyshapelib-Unicode branch.

Revision 2839 - Directory Listing
Modified Thu Feb 14 00:19:14 2008 UTC (17 years ago) by bernhard
* Thuban/Model/table.py: Using internal_from_unicode() when reading
dbflib column names and unicode_from_internal() when writing them.

* test/test_load.py(TestNonAsciiColumnName), applied change rev2838 from
  test/test_load_1_0.py(TestNonAsciiColumnName),


Revision 2838 - Directory Listing
Modified Wed Feb 13 23:47:20 2008 UTC (17 years ago) by bernhard
* test/test_load_1_0.py( TestNonAsciiColumnName): Compare result
of layer.GetClassificationColumn() with string in internal encoding,
this makes this test work with --internal-encoding=uncode.
Given that the new dbflib should deal with unicode objects,
call dbf.add_field with an unicode object.


Revision 2836 - Directory Listing
Modified Mon Feb 4 18:31:30 2008 UTC (17 years, 1 month ago) by bramz
removing obsolete WIP-pyshapelib-bramz branch.

Revision 2835 - Directory Listing
Modified Mon Feb 4 18:06:58 2008 UTC (17 years, 1 month ago) by bramz
Forward porting trunk (2819:2834] to WIP-pyshapelib-Unicode branch.

Revision 2820 - Directory Listing
Modified Tue Jan 29 19:08:21 2008 UTC (17 years, 1 month ago) by bramz
Forward porting trunk r(2807:2819] to WIP-pyshapelib-Unicode branch

Revision 2810 - Directory Listing
Modified Thu Jan 17 21:42:29 2008 UTC (17 years, 1 month ago) by bramz
fixing compiler warnings (gcc 3.3.5)


Revision 2809 - Directory Listing
Modified Wed Jan 16 20:27:53 2008 UTC (17 years, 1 month ago) by bramz
updated shapelib from cvs.maptools.org.
pyshapelib: only use PyOs_ascii_atof if available.

Revision 2808 - Directory Listing
Modified Wed Jan 16 15:37:58 2008 UTC (17 years, 1 month ago) by bramz
Forward porting trunk (2801:2807] to WIP-pyshapelib-Unicode branch. (previous merge was (2793:2801] instead of (2793:2793].

Revision 2807 - Directory Listing
Modified Tue Jan 15 20:20:10 2008 UTC (17 years, 1 month ago) by bramz
In shapefile_write_object, use PyArg_ParseTuple to
check type of object instead of running our own test.

Revision 2806 - Directory Listing
Modified Fri Jan 11 17:39:52 2008 UTC (17 years, 1 month ago) by bramz
dbflibmodule.c: dbfopen.c returns integers with width > 10 as FTDouble
to avoid overflow in C int. Also, all integers are read as doubles anyway
(dbfopen.c casts integers to int on the very last moment).  Use 
PyLong_FromDouble to convert all things with 0 decimals to long integers.

Revision 2803 - Directory Listing
Modified Wed Jan 9 00:21:05 2008 UTC (17 years, 1 month ago) by bramz
had some typos in my last commit. sorry, won't do it again =)

Revision 2802 - Directory Listing
Modified Wed Jan 9 00:05:40 2008 UTC (17 years, 1 month ago) by bramz
forward ported trunk rev (2793:2793] to WIP-pyshapelib-Unicode branch

Revision 2801 - Directory Listing
Modified Tue Jan 8 23:32:59 2008 UTC (17 years, 1 month ago) by bramz
- various changes to pyshapelib (see libraries/pyshapelib/ChangeLog)
- forward porting shapelib
- updating setup.py for pyshapelib
- Thuban/Model/table.py creates LDID_ESRI_ANSI dbf files by default

Revision 2799 - Directory Listing
Modified Thu Jan 3 00:49:09 2008 UTC (17 years, 2 months ago) by bramz
added support for UTF-8 filenames to shapelib (currently 
Thuban specific, but this should go upstream soon), and applied
it to pyshapelib.  Removed the HAVE_CODE_PAGE macro and 
assume it's always true. See libraries/pyshapelib/ChangeLog.

Revision 2798 - Directory Listing
Modified Tue Dec 18 18:51:33 2007 UTC (17 years, 2 months ago) by bramz
shapelib now has a hook to set your own atof function.
Before opening or creating a DBF file, atof is now set to PyOS_ascii_atof
See libaries/pyshapelib/ChangeLog

Revision 2797 - Directory Listing
Modified Sat Dec 15 20:40:22 2007 UTC (17 years, 2 months ago) by bramz
start of pyshapelib Unicode support mark II.  It now also reads the .CPG file so that UTF-8 encodings can be used.  Thuban will now create UTF-8 DBF files by default.  See ChangeLogs

Revision 2796 - Directory Listing
Modified Wed Dec 12 22:32:34 2007 UTC (17 years, 2 months ago) by bramz
Porting shapelib from maptools source cvs.maptools.org.  
Currently, this will have no support for code pages and wide 
character filenames (Win32), and might miss some bugfixes 
from our side, but we'll get that back in later.  See ChangeLog.


Revision 2795 - Directory Listing
Modified Wed Dec 12 20:35:20 2007 UTC (17 years, 2 months ago) by bramz
ported rev (2734:2755] from WIP-pyshapelib-bramz branch

Revision 2794 - Directory Listing
Modified Wed Dec 12 20:23:04 2007 UTC (17 years, 2 months ago) by bramz
ported rev (2789:2793] from trunk (practicing merging =)

Revision 2789 - Directory Listing
Modified Wed Dec 5 18:59:32 2007 UTC (17 years, 3 months ago) by bramz
made a copy

Revision 2755 - Directory Listing
Modified Thu Apr 12 09:21:58 2007 UTC (17 years, 10 months ago) by dpinte
2007-04-12 Didrik Pinte <dpinte@itae.be>

   * Removed workaround for file encoding in the Thuban code



Revision 2754 - Directory Listing
Modified Wed Apr 11 19:04:12 2007 UTC (17 years, 10 months ago) by bramz
Bug fix: in dbffile_add_field, the exception must be cleared if the first PyArg_ParseTuple fails.

Revision 2753 - Directory Listing
Modified Wed Apr 11 18:57:04 2007 UTC (17 years, 10 months ago) by bramz
Expanded Unicode support to field names (formely it was only available for string values in the records.  
Renamed the write_field function to write_attribute to be symmetric with the read_attribute function that already existed.

Revision 2752 - Directory Listing
Modified Tue Apr 10 23:45:00 2007 UTC (17 years, 10 months ago) by bramz
attempt to add support for Unicode and Language Driver ID (LDID) support in dbflib

Revision 2751 - Directory Listing
Modified Wed Mar 28 23:30:15 2007 UTC (17 years, 11 months ago) by bramz
Added support for Win32 wide character file API.  Unicode filenames are now fully supported on the windows platform: for example exotic filenames like the greek letter pi (u"\u03c0").  However, this needed unofficial modifications in the C++ shapelib library.

Revision 2750 - Directory Listing
Modified Thu Mar 22 20:35:08 2007 UTC (17 years, 11 months ago) by bramz
commit function was incorrectly pointing to dbflib_read_record. fixed!

Revision 2749 - Directory Listing
Modified Thu Mar 22 19:03:27 2007 UTC (17 years, 11 months ago) by bramz
in __init__ of ShapeFile and DBFFile, throw proper IOError if opening of file failed.

Revision 2748 - Directory Listing
Modified Tue Mar 20 23:18:34 2007 UTC (17 years, 11 months ago) by bramz
bugger, must test _before_ I commit, even for one line fixes =)

Revision 2747 - Directory Listing
Modified Tue Mar 20 23:12:45 2007 UTC (17 years, 11 months ago) by bramz
dbfopen.c: fixing bug in DBFClose, checks for NULL handle now.
shptreemodule.c: restoring something that shouldn't have been committed in the first place.

Revision 2745 - Directory Listing
Modified Thu Mar 15 22:27:02 2007 UTC (17 years, 11 months ago) by bramz
Added FTLogical support to dbflib.  Accept None as no-data for M values.  Added name and mode keywords to mimic Python's file behaviour where appropriate.  Added unpack_vertex() to lift some load of shpobject_init().

Revision 2744 - Directory Listing
Modified Thu Mar 15 13:48:58 2007 UTC (17 years, 11 months ago) by bramz
shapelibmodule.c, dbflibmodule.c: added some Unicode support for the filenames (no internal encoding for DBFFile yet).  It now should similar Unicode support Python's file() (concerning the filename, that is).

Revision 2743 - Directory Listing
Modified Wed Mar 14 20:53:53 2007 UTC (17 years, 11 months ago) by bramz
added support for shapetypes with Z and M values in shapelib

Revision 2742 - Directory Listing
Modified Wed Mar 14 16:26:14 2007 UTC (17 years, 11 months ago) by bramz
pyshapelib: rewritten dbflib to use hand-crafted Python bindings instead of SWIG generated ones.


Revision 2741 - Directory Listing
Modified Tue Mar 13 23:30:41 2007 UTC (17 years, 11 months ago) by bramz
Added part_types() to SHPObject to return tuple of part types. Added __repr__ operators to return a string that can reconstruct the object using eval()

Revision 2737 - Directory Listing
Modified Tue Mar 13 22:55:33 2007 UTC (17 years, 11 months ago) by dpinte
2007-03-12 Didrik Pinte <dpinte@itae.be>

    * setup.py : updated in order to use the new pyshapelib C module in place
    of the old SWIG one



Revision 2735 - Directory Listing
Modified Mon Mar 12 23:24:35 2007 UTC (17 years, 11 months ago) by bramz
rewritten shapelib to use hand-crafted Python bindings instead of SWIG generated ones.

Revision 2734 - Directory Listing
Modified Thu Mar 1 12:42:59 2007 UTC (18 years ago) by bramz
made a copy

Revision 2662 - Directory Listing
Modified Mon Aug 8 15:58:35 2005 UTC (19 years, 6 months ago) by jan
translation fixes for german.


Revision 2661 - Directory Listing
Modified Mon Aug 8 15:36:09 2005 UTC (19 years, 6 months ago) by jan
String fixes. This fixes Debian bug #313843.


Revision 2634 - Directory Listing
Modified Mon Jun 27 21:58:11 2005 UTC (19 years, 8 months ago) by jan
backport from head


Revision 2633 - Directory Listing
Modified Mon Jun 27 21:57:37 2005 UTC (19 years, 8 months ago) by jan
(APR_VShSym): New. Just another symbol identified.


Revision 2632 - Directory Listing
Modified Mon Jun 27 21:56:30 2005 UTC (19 years, 8 months ago) by jan
(APR_BShSym): Extend by 'Stripple'.
(APR_TClr.GetThubanColor): Fix bug in color interpretation.
Thanks to Frank Koormann who identified this problem.


Revision 2594 - Directory Listing
Modified Tue Apr 5 21:25:26 2005 UTC (19 years, 11 months ago) by jan
Backport from HEAD for PostGIS.


Revision 2593 - Directory Listing
Modified Tue Apr 5 21:24:50 2005 UTC (19 years, 11 months ago) by jan
Backport from HEAD:
(find_postgis_sql): Added yet another
potential location for (lw)postgis.sql because the file has moved
again in postgis 1.0.0 rc4.


Revision 2579 - Directory Listing
Modified Thu Mar 10 07:52:15 2005 UTC (19 years, 11 months ago) by jan
fix Debian bug #298403


Revision 2578 - Directory Listing
Modified Thu Mar 10 07:51:43 2005 UTC (19 years, 11 months ago) by jan
(MFILENAME): Fixed macro
to compile on amd64 with gcc4 (int/long). Thanks to Andreas Jochens
for submitting this patch. This fixes Debian bug #298403.


Revision 2568 - Directory Listing
Modified Wed Feb 16 23:22:28 2005 UTC (20 years ago) by jan
Backport from HEAD: Docstring improvements and minor fixes for labellayer.


Revision 2567 - Directory Listing
Modified Wed Feb 16 23:21:47 2005 UTC (20 years ago) by jan
(Map, Map.Destroy, Map.RemoveLayer, Map.ClearLayers,
Map.Layers, Map.HasLayers, Map.MoveLayerToTop,
Map.RaiseLayer, Map.LowerLayer, Map.MoveLayerToBottom,
Map.ProjectedBoundingBox, Map.GetProjection): Improved/added
doc string.
(Map.BoundingBox): Removed superfluous test for label_layer
and improved doc string.
(Map.TreeInfo): Added label_layer and improved sdo string.


Revision 2566 - Directory Listing
Modified Wed Feb 16 23:21:11 2005 UTC (20 years ago) by jan
Added import of _.
(Label, Label.__init__): Improved/added doc string.
(LabelLayer, LabelLayer.__init__, LabelLayer.Labels,
LabelLayer.RemoveLabel, LabelLayer.ClearLabels):
Improved/added doc string.
(LabelLayer.AddLabel): Use already defined names for
align strings and improved doc string.
(LabelLayer.TreeInfo): New. Return the object data for
the tree view.


Revision 2557 - Directory Listing
Modified Mon Feb 7 14:09:36 2005 UTC (20 years ago) by bernhard
	* Thuban/UI/classifier.py (ClassGrid.DeleteSelectedRows):
	Enable translation for message string.


Revision 2546 - Directory Listing
Modified Tue Jan 25 09:31:59 2005 UTC (20 years, 1 month ago) by jan
backport from HEAD: Update for postgis-1.0.0-rc1


Revision 2545 - Directory Listing
Modified Tue Jan 25 09:31:18 2005 UTC (20 years, 1 month ago) by jan
Backport from HEAD:
(PostGISDatabase.__init__): Tweak doc-string
(find_postgis_sql): Update for postgis-1.0.0-rc1, which uses a
different name for the initialization SQL file.


Revision 2541 - Directory Listing
Modified Fri Jan 21 14:18:54 2005 UTC (20 years, 1 month ago) by jan
backport MacOS work around from head.


Revision 2540 - Directory Listing
Modified Fri Jan 21 14:18:06 2005 UTC (20 years, 1 month ago) by jan
(GenQuantilesPanel.OnRetrieve):
Backport from HEAD:
Add a OnRangeText(0) to work around a different in wx Behaviour noticed
on MacOSX, thanks to Lorenzo Moretti and Daniel Calvelo for the fix.


Revision 2539 - Directory Listing
Modified Fri Jan 21 14:04:01 2005 UTC (20 years, 1 month ago) by jan
backported missing projection info workaround.


Revision 2538 - Directory Listing
Modified Fri Jan 21 14:03:07 2005 UTC (20 years, 1 month ago) by jan
(view_position_changed):
Backport from HEAD: Warn user about
misprojected layers when their lat/lon bounding
box exceeds rational lat/lon values.


Revision 2536 - Directory Listing
Modified Fri Jan 21 13:23:00 2005 UTC (20 years, 1 month ago) by bernhard
	* Resources/Projections/defaults.proj:
	Temporary fix from HEAD added:
	Ruin the spelling of the
	Lambert-93 projection so it doesn't run into the wx UTF-8 bug.
	It's the wrong thing to do in the long run, but it's necessary for
	those users until that bug is fixed.  Otherwise the projection
	dialog segfaults.  Better to annoy some Lambert-93 users with a
	spelling mistake than many Fedora Core 3 users.


Revision 2519 - Directory Listing
Modified Mon Jan 10 17:09:48 2005 UTC (20 years, 1 month ago) by jan
BugFix for RT #2901


Revision 2518 - Directory Listing
Modified Mon Jan 10 17:08:50 2005 UTC (20 years, 1 month ago) by jan
Backport from HEAD:
BugFix for RT #2901: Explicitly copy layers ClassificationColumn since it
is not part of the layers Classification.


Revision 2504 - Directory Listing
Modified Thu Dec 23 15:07:56 2004 UTC (20 years, 2 months ago) by jan
Tiny fix.


Revision 2503 - Directory Listing
Modified Thu Dec 23 15:07:38 2004 UTC (20 years, 2 months ago) by jan
(ProjFrame.load_user_proj): Added a
\n to stderr after the warnings. Thanks to Russell Nelson.


Revision 2501 - Directory Listing
Modified Mon Dec 20 17:22:34 2004 UTC (20 years, 2 months ago) by bh
* po/hu.po, po/it.po, po/pt_BR.po, po/ru.po: Simple msgmerge
update to bring at least the msgid up to 1.0.1 and make it easier
for translators


Revision 2500 - Directory Listing
Modified Mon Dec 20 17:20:24 2004 UTC (20 years, 2 months ago) by bh
And some more: I forgot some translation updates.


Revision 2499 - Directory Listing
Modified Mon Dec 20 17:15:02 2004 UTC (20 years, 2 months ago) by bh
More updates for 1.0.1: Mention the svgexport plugin.  Add
more details to the list of other fixes


Revision 2498 - Directory Listing
Modified Mon Dec 20 16:31:57 2004 UTC (20 years, 2 months ago) by bh
* NEWS: Update for 1.0.1

* MANIFEST.in: Add some missing files


Revision 2497 - Directory Listing
Modified Mon Dec 20 15:14:23 2004 UTC (20 years, 2 months ago) by bh
*po/de.po: Updated.


Revision 2496 - Directory Listing
Modified Mon Dec 20 15:10:17 2004 UTC (20 years, 2 months ago) by jan
small improvement of about information


Revision 2495 - Directory Listing
Modified Mon Dec 20 15:09:31 2004 UTC (20 years, 2 months ago) by jan
(About.__init__): Added years of contribution for each contributor.


Revision 2494 - Directory Listing
Modified Mon Dec 20 15:00:31 2004 UTC (20 years, 2 months ago) by bh
* po/fr.po, po/es.po: Updates from Daniel Calvelo Aros.  The
updates were done for HEAD so I backported them to
thuban-1-0-branch.


Revision 2492 - Directory Listing
Modified Mon Dec 20 11:34:14 2004 UTC (20 years, 2 months ago) by bh
Prepare for a 1.0.1 release

* Thuban/version.py (thuban_release): Set to "1"

* setup.py (setup call): version 1.0.1

* setup.cfg (copyright): extend to 2004


Revision 2491 - Directory Listing
Modified Mon Dec 20 11:27:47 2004 UTC (20 years, 2 months ago) by bh
(bdist_inno.user_options): New options
compression-method and compression-solid to control how Innosetup
compresses.
(bdist_inno.initialize_options): Initilize the new options
(bdist_inno.generate_iss): Use the new otions if they were given


Revision 2477 - Directory Listing
Modified Fri Dec 17 17:51:48 2004 UTC (20 years, 2 months ago) by bh
windows build: Removed the absolute path names and
made all prfixes relative to the directory containing setup.py.
Makes it a little easier to adapt to a different system.


Revision 2476 - Directory Listing
Modified Fri Dec 17 15:54:23 2004 UTC (20 years, 2 months ago) by bh
(unicodeToLocale): Use getdefaultlocale
instead of getlocale because it yields a usable encoding name on
a german windows 2000


Revision 2475 - Directory Listing
Modified Thu Dec 16 20:34:03 2004 UTC (20 years, 2 months ago) by bh
* test/postgissupport.py (find_postgis_sql): Different postgis
versions put the postgis.sql file into slightly different places
so we have to look in both.  The updated doc string describes this
is more detail.

* test/test_postgis_db.py
(TestPostGISSpecialCases.test_column_name_quoting): The return
value of UniqueValues is unsorted, so it has to be sorted for
comparison.


Revision 2474 - Directory Listing
Modified Thu Dec 16 19:21:53 2004 UTC (20 years, 2 months ago) by bh
(PostgreSQLServer.is_running)
(skip_if_addgeometrycolumn_does_not_use_quote_ident): Doc-string
fixes backported from HEAD


Revision 2473 - Directory Listing
Modified Thu Dec 16 19:17:51 2004 UTC (20 years, 2 months ago) by bh
Add support for PostGIS tables with LINESTRING geomentries.
Fixes RT#2299

* Thuban/Model/postgisdb.py (shapetype_map): Add LINESTRING

* test/postgissupport.py
(PostgreSQLServer.get_default_static_data_db): Rename the "roads"
table to "roads-multi" because it now uses MULTILINESTRING
geometries and introduce a new "roads" table that uses LINESTRING
(coords_to_multilinestring): Make the doc string more precise
(coords_to_linestring): New.  Create a LINESTRING WKT
representatin
(wkt_converter): Add coords_to_linestring
(upload_shapefile): Rephrase the doc-string a bit.

* test/test_postgis_db.py (TestPostGISShapestoreArc)
(LineStringTests)
(TestPostGISShapestoreLineString)
(TestPostGISShapestoreMultiLineString): Split
TestPostGISShapestoreArc into a base class LineStringTests and two
derived classes TestPostGISShapestoreLineString for LINESTRING
geometries and TestPostGISShapestoreMultiLineString for
MULTILINESTRING geometries.  Most test methods are in the base
class with the exception of tests that explicitly check the raw
format.


Revision 2469 - Directory Listing
Modified Thu Dec 16 10:56:17 2004 UTC (20 years, 2 months ago) by bh
(ProjFrame._show_proj_panel): If the
panel to be shown is the UnknownProjPanel disable the OK and Try
buttons.  Otherwise enable them.
(ProjFrame.__GetProjection): The UnknownProjPanel returns None for
the parameters.  In that case __GetProjection also returns None
now.


Revision 2468 - Directory Listing
Modified Thu Dec 16 01:07:16 2004 UTC (20 years, 2 months ago) by jan
Some fixes of gns2shp extension.


Revision 2467 - Directory Listing
Modified Thu Dec 16 01:06:33 2004 UTC (20 years, 2 months ago) by jan
(gns2shp): Fixed doc-string, fixed some dimensions of fields according
to the GNS documentation which seems to change undocumented.
Now killing trailing \n and/or \r from MODIFY_DATE.
This fixes RT#2453.


Revision 2466 - Directory Listing
Modified Thu Dec 16 01:00:20 2004 UTC (20 years, 2 months ago) by jan
Simplified description how to test.


Revision 2465 - Directory Listing
Modified Thu Dec 16 00:59:01 2004 UTC (20 years, 2 months ago) by jan
Add some import paths dynamically.


Revision 2464 - Directory Listing
Modified Thu Dec 16 00:57:08 2004 UTC (20 years, 2 months ago) by jan
Make this directory a package.


Revision 2463 - Directory Listing
Modified Wed Dec 15 16:45:30 2004 UTC (20 years, 2 months ago) by bh
(GenQuantilesPanel.__init__): Set the
minimum number of classes to 2.  The calculate_quantiles needs at
least two and raises an exception otherwise.
Fixes RT#2549


Revision 2461 - Directory Listing
Modified Wed Dec 15 14:49:55 2004 UTC (20 years, 2 months ago) by bh
Backports from HEAD

* Thuban/UI/about.py (About.__init__): Add the
thuban@intevation.de address and rephrase the email address
section as in HEAD

* Thuban/UI/exceptiondialog.py (ExceptionDialog.dialog_layout):
Improved button string to stronger clearify that Thuban will be
closed when hitting the button.

* Thuban/UI/multiplechoicedialog.py: Add missing import of
wxPython.wx itself (as opposed to the contents of wxPython.wx).
For some reason wxPython.wx is available as wxPython.wx.wx in at
least some 2.4 releases.  Fixes RT#2482 wrt. wxPython 2.4.

* Thuban/UI/viewport.py (ViewPort.map_projection_changed): Only
try to keep the same region visible when the map actually contains
something

* test/test_viewport.py
(ViewPortTest.test_changing_map_projection): Check that changing
the projection of an empty map shown in a viewport doesn't lead to
exceptions in the viewport's handler for the
MAP_PROJECTION_CHANGED messages


Revision 2455 - Directory Listing
Modified Mon Dec 13 19:02:06 2004 UTC (20 years, 2 months ago) by bh
Backport from HEAD: Make sure the region used to determine which
shapes are visible actually matches the region on the printed
page.  If this isn't done properly some shapes might not be
printed.
Fixes RT #2692

* Thuban/UI/view.py (MapPrintout.draw_on_dc): The region for the
renderer has to be at the same position as the mapregion

* Thuban/UI/renderer.py (ExportRenderer.RenderMap): self.region
has to be moved by (self.shiftx, self.shifty) too.


Revision 2427 - Directory Listing
Modified Sat Nov 27 21:31:07 2004 UTC (20 years, 3 months ago) by jan
New translation and backport of encoding unicode/locale.


Revision 2426 - Directory Listing
Modified Sat Nov 27 21:30:38 2004 UTC (20 years, 3 months ago) by jan
(About.__init__): Added unicode2Locale use.
Added author for Hungarian translation.
(unicodeToLocale): New. Convert Unicode to Locale encoding.


Revision 2424 - Directory Listing
Modified Sat Nov 27 13:00:31 2004 UTC (20 years, 3 months ago) by jan
added hungarian translation


Revision 2423 - Directory Listing
Modified Sat Nov 27 12:59:51 2004 UTC (20 years, 3 months ago) by jan
Hungarian translation. Contributed by Norbert Solymosi.


Revision 2421 - Directory Listing
Modified Sat Nov 27 12:54:55 2004 UTC (20 years, 3 months ago) by (unknown author)
This commit was manufactured by cvs2svn to create branch
'thuban-1-0-branch'.

Revision 2360 - Directory Listing
Modified Tue Sep 28 20:21:53 2004 UTC (20 years, 5 months ago) by jan
a bug fix


Revision 2359 - Directory Listing
Modified Tue Sep 28 20:21:34 2004 UTC (20 years, 5 months ago) by jan
(GenQuantilesPanel.GetList): Fixed a missing-bracket bug.


Revision 2325 - Directory Listing
Modified Fri Aug 6 18:12:51 2004 UTC (20 years, 7 months ago) by bh
update ChangeLog


Revision 2324 - Directory Listing
Modified Fri Aug 6 18:12:39 2004 UTC (20 years, 7 months ago) by bh
Backport some fixes from HEAD:

Fix some typos in comments and doc-strings
(BaseRenderer.render_map_incrementally): Fix a logic bug in the
optimization that tries not to draw layers under a raster layer.  The
bug was harmless.  All it effectively did was to produce strange
messages about not being able to draw Layer instances for all vector
layers below a raster layer.  Those layers would be invisible anyway
because the raster layer currently always covers the entire window


Revision 2231 - Directory Listing
Modified Thu Jun 3 15:29:16 2004 UTC (20 years, 9 months ago) by bh
Backport some fixes from HEAD:

* Thuban/Model/layer.py (Layer.TreeInfo): Convert the bounding box
to a tuple before using it as arguments to the % operator.  This
fixes the formatting issue filed in RT#2239 on 2004-01-13 and
reported today on thuban-list by Jan Schüngel

* test/test_layer.py (TestLayerModification.setUp): Save the
filename as an instance variable so we can refer to it in tests
(TestLayerModification.test_tree_info): Uncomment this method
again and make it work.  This tests for the formatting issue
filed in RT#2239 on 2004-01-13


Revision 2219 - Directory Listing
Modified Tue May 18 21:23:58 2004 UTC (20 years, 9 months ago) by jan
Fixed a bug in Extension gns2shp


Revision 2218 - Directory Listing
Modified Tue May 18 21:22:25 2004 UTC (20 years, 9 months ago) by jan
(gns2shp): Fixed a bug by increasing a field size.


Revision 2195 - Directory Listing
Modified Thu Apr 22 15:52:13 2004 UTC (20 years, 10 months ago) by bh
* Thuban/UI/classgen.py (GenQuantilesPanel.GetList): The row
numbers given to ReadValue are ordinals. Backport from HEAD


Revision 2194 - Directory Listing
Modified Thu Apr 22 15:48:46 2004 UTC (20 years, 10 months ago) by jan
i18n bug fix


Revision 2193 - Directory Listing
Modified Thu Apr 22 15:48:02 2004 UTC (20 years, 10 months ago) by jan
(GenUniquePanel.__init__): Fixed two strings to be i18n now.


Revision 2190 - Directory Listing
Modified Mon Apr 19 07:28:17 2004 UTC (20 years, 10 months ago) by jan
Fixed a bug


Revision 2189 - Directory Listing
Modified Mon Apr 19 07:27:55 2004 UTC (20 years, 10 months ago) by jan
(LegendTree._OnRightClick): Grey out popup
menu item Show Table if the corresponding layer has no table.


Revision 2098 - Directory Listing
Modified Thu Mar 11 15:54:48 2004 UTC (20 years, 11 months ago) by silke
        Update debian directory:

        * debian/changelog: Added new version.
        * debian/rules: Updated management of patches (with cbds)
        * debian/control: Added cbds to dependencies
        * debian/patches/*: New. Adds better support for patches of thuban in
                        debian
        * debian/menu: Syntax of menu changed slightly
        * debian/setup.py.patch: removed because it has been moved to
                        debian/patches/setup.py.patch


Revision 2097 - Directory Listing
Modified Thu Mar 11 15:54:48 2004 UTC (20 years, 11 months ago) by (unknown author)
This commit was manufactured by cvs2svn to create branch
'thuban-1-0-branch'.

Revision 2092 - Directory Listing
Modified Wed Feb 25 10:47:21 2004 UTC (21 years ago) by bh
update ChangeLog


Revision 2091 - Directory Listing
Modified Wed Feb 25 10:46:59 2004 UTC (21 years ago) by bh
* libraries/thuban/wxproj.cpp (get_wx_version): New.  Return the
version of wxWindows the module was compiled with so we can check
that against the wxPython version.

* Thuban/version.py (thuban_branch, thuban_release): New variables
controlling which and how Thuban versions are shown.  See the
comments for details.
(verify_versions): Also check that the wx version that wxproj is
compiled against matches that of the wxPython we use at runtime


Revision 2090 - Directory Listing
Modified Wed Feb 25 10:46:59 2004 UTC (21 years ago) by (unknown author)
This commit was manufactured by cvs2svn to create branch
'thuban-1-0-branch'.

Revision 1765 - Directory Listing
Modified Tue Sep 30 13:17:11 2003 UTC (21 years, 5 months ago) by frank
Thuban/UI/tableview.py (TableGrid.__init__):
    Set FormattedFloatRenderer to '%.4g'


Revision 1764 - Directory Listing
Modified Tue Sep 30 13:11:45 2003 UTC (21 years, 5 months ago) by frank
Thuban/version.py: Version information update.


Revision 1758 - Directory Listing
Modified Fri Sep 26 14:43:56 2003 UTC (21 years, 5 months ago) by frank
Thuban/UI/renderer.py (ExportRenderer.RenderMap),
Thuban/UI/view.py (MapPrintout.draw_on_dc, MapCanvase.Export):
	Added mainwindow title to export/printout as caption.


Revision 1753 - Directory Listing
Modified Thu Sep 25 13:07:17 2003 UTC (21 years, 5 months ago) by bh
update ChangeLog


Revision 1752 - Directory Listing
Modified Thu Sep 25 13:07:04 2003 UTC (21 years, 5 months ago) by bh
(FormattedFloatRenderer): New custom
float renderer that gives more control over the formatting of the
numbers than the normal wx float renderer.
(TableGrid.__init__): use the new FormattedFloatRenderer so that
floats are always shown with 3 significant digits and scientific
notation when applicable


Revision 1749 - Directory Listing
Modified Wed Sep 24 15:46:07 2003 UTC (21 years, 5 months ago) by bh
update ChangeLog


Revision 1748 - Directory Listing
Modified Wed Sep 24 15:45:48 2003 UTC (21 years, 5 months ago) by bh
(ExportRenderer.render_legend): Do not
modify the list returned by map.Layers() in place since it is the
actual list of layers used by the map.


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, 7 months ago) by bh
update ChangeLog


Revision 1383 - Directory Listing
Modified Tue Jul 8 16:43:09 2003 UTC (21 years, 7 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